@testspectra/react 1.3.5 → 1.3.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/setup.js CHANGED
@@ -1,28 +1,28 @@
1
- var Wb=Object.create;var qa=Object.defineProperty;var zb=Object.getOwnPropertyDescriptor;var Kb=Object.getOwnPropertyNames;var Gb=Object.getPrototypeOf,Xb=Object.prototype.hasOwnProperty;var p=(e,t)=>()=>{try{return t||e((t={exports:{}}).exports,t),t.exports}catch(r){throw t=0,r}},Yb=(e,t)=>{for(var r in t)qa(e,r,{get:t[r],enumerable:!0})},Qb=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of Kb(t))!Xb.call(e,o)&&o!==r&&qa(e,o,{get:()=>t[o],enumerable:!(n=zb(t,o))||n.enumerable});return e};var Aa=(e,t,r)=>(r=e!=null?Wb(Gb(e)):{},Qb(t||!e||!e.__esModule?qa(r,"default",{value:e,enumerable:!0}):r,e));var Ga=p((gM,Ql)=>{"use strict";var Xl=(e=0)=>t=>`\x1B[${38+e};5;${t}m`,Yl=(e=0)=>(t,r,n)=>`\x1B[${38+e};2;${t};${r};${n}m`;function vv(){let e=new Map,t={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]}};t.color.gray=t.color.blackBright,t.bgColor.bgGray=t.bgColor.bgBlackBright,t.color.grey=t.color.blackBright,t.bgColor.bgGrey=t.bgColor.bgBlackBright;for(let[r,n]of Object.entries(t)){for(let[o,i]of Object.entries(n))t[o]={open:`\x1B[${i[0]}m`,close:`\x1B[${i[1]}m`},n[o]=t[o],e.set(i[0],i[1]);Object.defineProperty(t,r,{value:n,enumerable:!1})}return Object.defineProperty(t,"codes",{value:e,enumerable:!1}),t.color.close="\x1B[39m",t.bgColor.close="\x1B[49m",t.color.ansi256=Xl(),t.color.ansi16m=Yl(),t.bgColor.ansi256=Xl(10),t.bgColor.ansi16m=Yl(10),Object.defineProperties(t,{rgbToAnsi256:{value:(r,n,o)=>r===n&&n===o?r<8?16:r>248?231:Math.round((r-8)/247*24)+232:16+36*Math.round(r/255*5)+6*Math.round(n/255*5)+Math.round(o/255*5),enumerable:!1},hexToRgb:{value:r=>{let n=/(?<colorString>[a-f\d]{6}|[a-f\d]{3})/i.exec(r.toString(16));if(!n)return[0,0,0];let{colorString:o}=n.groups;o.length===3&&(o=o.split("").map(a=>a+a).join(""));let i=Number.parseInt(o,16);return[i>>16&255,i>>8&255,i&255]},enumerable:!1},hexToAnsi256:{value:r=>t.rgbToAnsi256(...t.hexToRgb(r)),enumerable:!1}}),t}Object.defineProperty(Ql,"exports",{enumerable:!0,get:vv})});var $t=p(gt=>{"use strict";Object.defineProperty(gt,"__esModule",{value:!0});gt.printIteratorEntries=hv;gt.printIteratorValues=gv;gt.printListItems=Ev;gt.printObjectProperties=wv;var yv=(e,t)=>{let r=Object.keys(e).sort(t);return Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(e).forEach(n=>{Object.getOwnPropertyDescriptor(e,n).enumerable&&r.push(n)}),r};function hv(e,t,r,n,o,i,a=": "){let s="",l=e.next();if(!l.done){s+=t.spacingOuter;let u=r+t.indent;for(;!l.done;){let c=i(l.value[0],t,u,n,o),d=i(l.value[1],t,u,n,o);s+=u+c+a+d,l=e.next(),l.done?t.min||(s+=","):s+=","+t.spacingInner}s+=t.spacingOuter+r}return s}function gv(e,t,r,n,o,i){let a="",s=e.next();if(!s.done){a+=t.spacingOuter;let l=r+t.indent;for(;!s.done;)a+=l+i(s.value,t,l,n,o),s=e.next(),s.done?t.min||(a+=","):a+=","+t.spacingInner;a+=t.spacingOuter+r}return a}function Ev(e,t,r,n,o,i){let a="";if(e.length){a+=t.spacingOuter;let s=r+t.indent;for(let l=0;l<e.length;l++)a+=s,l in e&&(a+=i(e[l],t,s,n,o)),l<e.length-1?a+=","+t.spacingInner:t.min||(a+=",");a+=t.spacingOuter+r}return a}function wv(e,t,r,n,o,i){let a="",s=yv(e,t.compareKeys);if(s.length){a+=t.spacingOuter;let l=r+t.indent;for(let u=0;u<s.length;u++){let c=s[u],d=i(c,t,l,n,o),m=i(e[c],t,l,n,o);a+=l+d+": "+m,u<s.length-1?a+=","+t.spacingInner:t.min||(a+=",")}a+=t.spacingOuter+r}return a}});var tu=p(Fe=>{"use strict";Object.defineProperty(Fe,"__esModule",{value:!0});Fe.test=Fe.serialize=Fe.default=void 0;var Jl=$t(),Hr=(function(){return typeof globalThis<"u"?globalThis:typeof Hr<"u"?Hr:typeof self<"u"?self:typeof window<"u"?window:Function("return this")()})(),Xa=Hr["jest-symbol-do-not-touch"]||Hr.Symbol,_v=typeof Xa=="function"&&Xa.for?Xa.for("jest.asymmetricMatcher"):1267621,jr=" ",Zl=(e,t,r,n,o,i)=>{let a=e.toString();return a==="ArrayContaining"||a==="ArrayNotContaining"?++n>t.maxDepth?"["+a+"]":a+jr+"["+(0,Jl.printListItems)(e.sample,t,r,n,o,i)+"]":a==="ObjectContaining"||a==="ObjectNotContaining"?++n>t.maxDepth?"["+a+"]":a+jr+"{"+(0,Jl.printObjectProperties)(e.sample,t,r,n,o,i)+"}":a==="StringMatching"||a==="StringNotMatching"||a==="StringContaining"||a==="StringNotContaining"?a+jr+i(e.sample,t,r,n,o):e.toAsymmetricMatcher()};Fe.serialize=Zl;var eu=e=>e&&e.$$typeof===_v;Fe.test=eu;var Cv={serialize:Zl,test:eu},Pv=Cv;Fe.default=Pv});var nu=p((_M,ru)=>{"use strict";ru.exports=({onlyFirst:e=!1}={})=>{let 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")}});var lu=p(Ue=>{"use strict";Object.defineProperty(Ue,"__esModule",{value:!0});Ue.test=Ue.serialize=Ue.default=void 0;var ou=iu(nu()),U=iu(Ga());function iu(e){return e&&e.__esModule?e:{default:e}}var Tv=e=>e.replace((0,ou.default)(),t=>{switch(t){case U.default.red.close:case U.default.green.close:case U.default.cyan.close:case U.default.gray.close:case U.default.white.close:case U.default.yellow.close:case U.default.bgRed.close:case U.default.bgGreen.close:case U.default.bgYellow.close:case U.default.inverse.close:case U.default.dim.close:case U.default.bold.close:case U.default.reset.open:case U.default.reset.close:return"</>";case U.default.red.open:return"<red>";case U.default.green.open:return"<green>";case U.default.cyan.open:return"<cyan>";case U.default.gray.open:return"<gray>";case U.default.white.open:return"<white>";case U.default.yellow.open:return"<yellow>";case U.default.bgRed.open:return"<bgRed>";case U.default.bgGreen.open:return"<bgGreen>";case U.default.bgYellow.open:return"<bgYellow>";case U.default.inverse.open:return"<inverse>";case U.default.dim.open:return"<dim>";case U.default.bold.open:return"<bold>";default:return""}}),au=e=>typeof e=="string"&&!!e.match((0,ou.default)());Ue.test=au;var su=(e,t,r,n,o,i)=>i(Tv(e),t,r,n,o);Ue.serialize=su;var Rv={serialize:su,test:au},Sv=Rv;Ue.default=Sv});var fu=p($e=>{"use strict";Object.defineProperty($e,"__esModule",{value:!0});$e.test=$e.serialize=$e.default=void 0;var uu=$t(),xv=" ",cu=["DOMStringMap","NamedNodeMap"],qv=/^(HTML\w*Collection|NodeList)$/,Av=e=>cu.indexOf(e)!==-1||qv.test(e),du=e=>e&&e.constructor&&!!e.constructor.name&&Av(e.constructor.name);$e.test=du;var Mv=e=>e.constructor.name==="NamedNodeMap",pu=(e,t,r,n,o,i)=>{let a=e.constructor.name;return++n>t.maxDepth?"["+a+"]":(t.min?"":a+xv)+(cu.indexOf(a)!==-1?"{"+(0,uu.printObjectProperties)(Mv(e)?Array.from(e).reduce((s,l)=>(s[l.name]=l.value,s),{}):{...e},t,r,n,o,i)+"}":"["+(0,uu.printListItems)(Array.from(e),t,r,n,o,i)+"]")};$e.serialize=pu;var kv={serialize:pu,test:du},Ov=kv;$e.default=Ov});var mu=p(Ya=>{"use strict";Object.defineProperty(Ya,"__esModule",{value:!0});Ya.default=Iv;function Iv(e){return e.replace(/</g,"&lt;").replace(/>/g,"&gt;")}});var Vr=p(ae=>{"use strict";Object.defineProperty(ae,"__esModule",{value:!0});ae.printText=ae.printProps=ae.printElementAsLeaf=ae.printElement=ae.printComment=ae.printChildren=void 0;var bu=Nv(mu());function Nv(e){return e&&e.__esModule?e:{default:e}}var Lv=(e,t,r,n,o,i,a)=>{let s=n+r.indent,l=r.colors;return e.map(u=>{let c=t[u],d=a(c,r,s,o,i);return typeof c!="string"&&(d.indexOf(`
2
- `)!==-1&&(d=r.spacingOuter+s+d+r.spacingOuter+n),d="{"+d+"}"),r.spacingInner+n+l.prop.open+u+l.prop.close+"="+l.value.open+d+l.value.close}).join("")};ae.printProps=Lv;var Dv=(e,t,r,n,o,i)=>e.map(a=>t.spacingOuter+r+(typeof a=="string"?vu(a,t):i(a,t,r,n,o))).join("");ae.printChildren=Dv;var vu=(e,t)=>{let r=t.colors.content;return r.open+(0,bu.default)(e)+r.close};ae.printText=vu;var Bv=(e,t)=>{let r=t.colors.comment;return r.open+"<!--"+(0,bu.default)(e)+"-->"+r.close};ae.printComment=Bv;var Fv=(e,t,r,n,o)=>{let i=n.colors.tag;return i.open+"<"+e+(t&&i.close+t+n.spacingOuter+o+i.open)+(r?">"+i.close+r+n.spacingOuter+o+i.open+"</"+e:(t&&!n.min?"":" ")+"/")+">"+i.close};ae.printElement=Fv;var Uv=(e,t)=>{let r=t.colors.tag;return r.open+"<"+e+r.close+" \u2026"+r.open+" />"+r.close};ae.printElementAsLeaf=Uv});var _u=p(je=>{"use strict";Object.defineProperty(je,"__esModule",{value:!0});je.test=je.serialize=je.default=void 0;var Et=Vr(),$v=1,yu=3,hu=8,gu=11,jv=/^((HTML|SVG)\w*)?Element$/,Hv=e=>{try{return typeof e.hasAttribute=="function"&&e.hasAttribute("is")}catch{return!1}},Vv=e=>{let t=e.constructor.name,{nodeType:r,tagName:n}=e,o=typeof n=="string"&&n.includes("-")||Hv(e);return r===$v&&(jv.test(t)||o)||r===yu&&t==="Text"||r===hu&&t==="Comment"||r===gu&&t==="DocumentFragment"},Eu=e=>{var t;return(e==null||(t=e.constructor)===null||t===void 0?void 0:t.name)&&Vv(e)};je.test=Eu;function Wv(e){return e.nodeType===yu}function zv(e){return e.nodeType===hu}function Qa(e){return e.nodeType===gu}var wu=(e,t,r,n,o,i)=>{if(Wv(e))return(0,Et.printText)(e.data,t);if(zv(e))return(0,Et.printComment)(e.data,t);let a=Qa(e)?"DocumentFragment":e.tagName.toLowerCase();return++n>t.maxDepth?(0,Et.printElementAsLeaf)(a,t):(0,Et.printElement)(a,(0,Et.printProps)(Qa(e)?[]:Array.from(e.attributes).map(s=>s.name).sort(),Qa(e)?{}:Array.from(e.attributes).reduce((s,l)=>(s[l.name]=l.value,s),{}),t,r+t.indent,n,o,i),(0,Et.printChildren)(Array.prototype.slice.call(e.childNodes||e.children),t,r+t.indent,n,o,i),t,r)};je.serialize=wu;var Kv={serialize:wu,test:Eu},Gv=Kv;je.default=Gv});var Su=p(He=>{"use strict";Object.defineProperty(He,"__esModule",{value:!0});He.test=He.serialize=He.default=void 0;var jt=$t(),Xv="@@__IMMUTABLE_ITERABLE__@@",Yv="@@__IMMUTABLE_LIST__@@",Qv="@@__IMMUTABLE_KEYED__@@",Jv="@@__IMMUTABLE_MAP__@@",Cu="@@__IMMUTABLE_ORDERED__@@",Zv="@@__IMMUTABLE_RECORD__@@",ey="@@__IMMUTABLE_SEQ__@@",ty="@@__IMMUTABLE_SET__@@",ry="@@__IMMUTABLE_STACK__@@",wt=e=>"Immutable."+e,Wr=e=>"["+e+"]",Ht=" ",Pu="\u2026",ny=(e,t,r,n,o,i,a)=>++n>t.maxDepth?Wr(wt(a)):wt(a)+Ht+"{"+(0,jt.printIteratorEntries)(e.entries(),t,r,n,o,i)+"}";function oy(e){let t=0;return{next(){if(t<e._keys.length){let r=e._keys[t++];return{done:!1,value:[r,e.get(r)]}}return{done:!0,value:void 0}}}}var iy=(e,t,r,n,o,i)=>{let a=wt(e._name||"Record");return++n>t.maxDepth?Wr(a):a+Ht+"{"+(0,jt.printIteratorEntries)(oy(e),t,r,n,o,i)+"}"},ay=(e,t,r,n,o,i)=>{let a=wt("Seq");return++n>t.maxDepth?Wr(a):e[Qv]?a+Ht+"{"+(e._iter||e._object?(0,jt.printIteratorEntries)(e.entries(),t,r,n,o,i):Pu)+"}":a+Ht+"["+(e._iter||e._array||e._collection||e._iterable?(0,jt.printIteratorValues)(e.values(),t,r,n,o,i):Pu)+"]"},Ja=(e,t,r,n,o,i,a)=>++n>t.maxDepth?Wr(wt(a)):wt(a)+Ht+"["+(0,jt.printIteratorValues)(e.values(),t,r,n,o,i)+"]",Tu=(e,t,r,n,o,i)=>e[Jv]?ny(e,t,r,n,o,i,e[Cu]?"OrderedMap":"Map"):e[Yv]?Ja(e,t,r,n,o,i,"List"):e[ty]?Ja(e,t,r,n,o,i,e[Cu]?"OrderedSet":"Set"):e[ry]?Ja(e,t,r,n,o,i,"Stack"):e[ey]?ay(e,t,r,n,o,i):iy(e,t,r,n,o,i);He.serialize=Tu;var Ru=e=>e&&(e[Xv]===!0||e[Zv]===!0);He.test=Ru;var sy={serialize:Tu,test:Ru},ly=sy;He.default=ly});var Ou=p(B=>{"use strict";var zr=60103,Kr=60106,Vt=60107,Wt=60108,zt=60114,Kt=60109,Gt=60110,Xt=60112,Yt=60113,Za=60120,Qt=60115,Jt=60116,xu=60121,qu=60122,Au=60117,Mu=60129,ku=60131;typeof Symbol=="function"&&Symbol.for&&(J=Symbol.for,zr=J("react.element"),Kr=J("react.portal"),Vt=J("react.fragment"),Wt=J("react.strict_mode"),zt=J("react.profiler"),Kt=J("react.provider"),Gt=J("react.context"),Xt=J("react.forward_ref"),Yt=J("react.suspense"),Za=J("react.suspense_list"),Qt=J("react.memo"),Jt=J("react.lazy"),xu=J("react.block"),qu=J("react.server.block"),Au=J("react.fundamental"),Mu=J("react.debug_trace_mode"),ku=J("react.legacy_hidden"));var J;function ye(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case zr:switch(e=e.type,e){case Vt:case zt:case Wt:case Yt:case Za:return e;default:switch(e=e&&e.$$typeof,e){case Gt:case Xt:case Jt:case Qt:case Kt:return e;default:return t}}case Kr:return t}}}var uy=Kt,cy=zr,dy=Xt,py=Vt,fy=Jt,my=Qt,by=Kr,vy=zt,yy=Wt,hy=Yt;B.ContextConsumer=Gt;B.ContextProvider=uy;B.Element=cy;B.ForwardRef=dy;B.Fragment=py;B.Lazy=fy;B.Memo=my;B.Portal=by;B.Profiler=vy;B.StrictMode=yy;B.Suspense=hy;B.isAsyncMode=function(){return!1};B.isConcurrentMode=function(){return!1};B.isContextConsumer=function(e){return ye(e)===Gt};B.isContextProvider=function(e){return ye(e)===Kt};B.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===zr};B.isForwardRef=function(e){return ye(e)===Xt};B.isFragment=function(e){return ye(e)===Vt};B.isLazy=function(e){return ye(e)===Jt};B.isMemo=function(e){return ye(e)===Qt};B.isPortal=function(e){return ye(e)===Kr};B.isProfiler=function(e){return ye(e)===zt};B.isStrictMode=function(e){return ye(e)===Wt};B.isSuspense=function(e){return ye(e)===Yt};B.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===Vt||e===zt||e===Mu||e===Wt||e===Yt||e===Za||e===ku||typeof e=="object"&&e!==null&&(e.$$typeof===Jt||e.$$typeof===Qt||e.$$typeof===Kt||e.$$typeof===Gt||e.$$typeof===Xt||e.$$typeof===Au||e.$$typeof===xu||e[0]===qu)};B.typeOf=ye});var Nu=p((AM,Iu)=>{"use strict";Iu.exports=Ou()});var $u=p(Ve=>{"use strict";Object.defineProperty(Ve,"__esModule",{value:!0});Ve.test=Ve.serialize=Ve.default=void 0;var rt=gy(Nu()),Gr=Vr();function Du(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,r=new WeakMap;return(Du=function(n){return n?r:t})(e)}function gy(e,t){if(!t&&e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var r=Du(t);if(r&&r.has(e))return r.get(e);var n={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(i!=="default"&&Object.prototype.hasOwnProperty.call(e,i)){var a=o?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(n,i,a):n[i]=e[i]}return n.default=e,r&&r.set(e,n),n}var Bu=(e,t=[])=>(Array.isArray(e)?e.forEach(r=>{Bu(r,t)}):e!=null&&e!==!1&&t.push(e),t),Lu=e=>{let t=e.type;if(typeof t=="string")return t;if(typeof t=="function")return t.displayName||t.name||"Unknown";if(rt.isFragment(e))return"React.Fragment";if(rt.isSuspense(e))return"React.Suspense";if(typeof t=="object"&&t!==null){if(rt.isContextProvider(e))return"Context.Provider";if(rt.isContextConsumer(e))return"Context.Consumer";if(rt.isForwardRef(e)){if(t.displayName)return t.displayName;let r=t.render.displayName||t.render.name||"";return r!==""?"ForwardRef("+r+")":"ForwardRef"}if(rt.isMemo(e)){let r=t.displayName||t.type.displayName||t.type.name||"";return r!==""?"Memo("+r+")":"Memo"}}return"UNDEFINED"},Ey=e=>{let{props:t}=e;return Object.keys(t).filter(r=>r!=="children"&&t[r]!==void 0).sort()},Fu=(e,t,r,n,o,i)=>++n>t.maxDepth?(0,Gr.printElementAsLeaf)(Lu(e),t):(0,Gr.printElement)(Lu(e),(0,Gr.printProps)(Ey(e),e.props,t,r+t.indent,n,o,i),(0,Gr.printChildren)(Bu(e.props.children),t,r+t.indent,n,o,i),t,r);Ve.serialize=Fu;var Uu=e=>e!=null&&rt.isElement(e);Ve.test=Uu;var wy={serialize:Fu,test:Uu},_y=wy;Ve.default=_y});var Vu=p(We=>{"use strict";Object.defineProperty(We,"__esModule",{value:!0});We.test=We.serialize=We.default=void 0;var Xr=Vr(),Yr=(function(){return typeof globalThis<"u"?globalThis:typeof Yr<"u"?Yr:typeof self<"u"?self:typeof window<"u"?window:Function("return this")()})(),es=Yr["jest-symbol-do-not-touch"]||Yr.Symbol,Cy=typeof es=="function"&&es.for?es.for("react.test.json"):245830487,Py=e=>{let{props:t}=e;return t?Object.keys(t).filter(r=>t[r]!==void 0).sort():[]},ju=(e,t,r,n,o,i)=>++n>t.maxDepth?(0,Xr.printElementAsLeaf)(e.type,t):(0,Xr.printElement)(e.type,e.props?(0,Xr.printProps)(Py(e),e.props,t,r+t.indent,n,o,i):"",e.children?(0,Xr.printChildren)(e.children,t,r+t.indent,n,o,i):"",t,r);We.serialize=ju;var Hu=e=>e&&e.$$typeof===Cy;We.test=Hu;var Ty={serialize:ju,test:Hu},Ry=Ty;We.default=Ry});var ac=p(xe=>{"use strict";Object.defineProperty(xe,"__esModule",{value:!0});xe.default=xe.DEFAULT_OPTIONS=void 0;xe.format=ic;xe.plugins=void 0;var Sy=Ke(Ga()),Zt=$t(),xy=Ke(tu()),qy=Ke(lu()),Ay=Ke(fu()),My=Ke(_u()),ky=Ke(Su()),Oy=Ke($u()),Iy=Ke(Vu());function Ke(e){return e&&e.__esModule?e:{default:e}}var Yu=Object.prototype.toString,Ny=Date.prototype.toISOString,Ly=Error.prototype.toString,Wu=RegExp.prototype.toString,ts=e=>typeof e.constructor=="function"&&e.constructor.name||"Object",Dy=e=>typeof window<"u"&&e===window,By=/^Symbol\((.*)\)(.*)$/,Fy=/\n/gi,Qr=class extends Error{constructor(t,r){super(t),this.stack=r,this.name=this.constructor.name}};function Uy(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 $y(e){return Object.is(e,-0)?"-0":String(e)}function jy(e){return`${e}n`}function zu(e,t){return t?"[Function "+(e.name||"anonymous")+"]":"[Function]"}function Ku(e){return String(e).replace(By,"Symbol($1)")}function Gu(e){return"["+Ly.call(e)+"]"}function Qu(e,t,r,n){if(e===!0||e===!1)return""+e;if(e===void 0)return"undefined";if(e===null)return"null";let o=typeof e;if(o==="number")return $y(e);if(o==="bigint")return jy(e);if(o==="string")return n?'"'+e.replace(/"|\\/g,"\\$&")+'"':'"'+e+'"';if(o==="function")return zu(e,t);if(o==="symbol")return Ku(e);let i=Yu.call(e);return i==="[object WeakMap]"?"WeakMap {}":i==="[object WeakSet]"?"WeakSet {}":i==="[object Function]"||i==="[object GeneratorFunction]"?zu(e,t):i==="[object Symbol]"?Ku(e):i==="[object Date]"?isNaN(+e)?"Date { NaN }":Ny.call(e):i==="[object Error]"?Gu(e):i==="[object RegExp]"?r?Wu.call(e).replace(/[\\^$*+?.()|[\]{}]/g,"\\$&"):Wu.call(e):e instanceof Error?Gu(e):null}function Ju(e,t,r,n,o,i){if(o.indexOf(e)!==-1)return"[Circular]";o=o.slice(),o.push(e);let a=++n>t.maxDepth,s=t.min;if(t.callToJSON&&!a&&e.toJSON&&typeof e.toJSON=="function"&&!i)return ze(e.toJSON(),t,r,n,o,!0);let l=Yu.call(e);return l==="[object Arguments]"?a?"[Arguments]":(s?"":"Arguments ")+"["+(0,Zt.printListItems)(e,t,r,n,o,ze)+"]":Uy(l)?a?"["+e.constructor.name+"]":(s||!t.printBasicPrototype&&e.constructor.name==="Array"?"":e.constructor.name+" ")+"["+(0,Zt.printListItems)(e,t,r,n,o,ze)+"]":l==="[object Map]"?a?"[Map]":"Map {"+(0,Zt.printIteratorEntries)(e.entries(),t,r,n,o,ze," => ")+"}":l==="[object Set]"?a?"[Set]":"Set {"+(0,Zt.printIteratorValues)(e.values(),t,r,n,o,ze)+"}":a||Dy(e)?"["+ts(e)+"]":(s||!t.printBasicPrototype&&ts(e)==="Object"?"":ts(e)+" ")+"{"+(0,Zt.printObjectProperties)(e,t,r,n,o,ze)+"}"}function Hy(e){return e.serialize!=null}function Zu(e,t,r,n,o,i){let a;try{a=Hy(e)?e.serialize(t,r,n,o,i,ze):e.print(t,s=>ze(s,r,n,o,i),s=>{let l=n+r.indent;return l+s.replace(Fy,`
3
- `+l)},{edgeSpacing:r.spacingOuter,min:r.min,spacing:r.spacingInner},r.colors)}catch(s){throw new Qr(s.message,s.stack)}if(typeof a!="string")throw new Error(`pretty-format: Plugin must return type "string" but instead returned "${typeof a}".`);return a}function ec(e,t){for(let r=0;r<e.length;r++)try{if(e[r].test(t))return e[r]}catch(n){throw new Qr(n.message,n.stack)}return null}function ze(e,t,r,n,o,i){let a=ec(t.plugins,e);if(a!==null)return Zu(a,e,t,r,n,o);let s=Qu(e,t.printFunctionName,t.escapeRegex,t.escapeString);return s!==null?s:Ju(e,t,r,n,o,i)}var rs={comment:"gray",content:"reset",prop:"yellow",tag:"cyan",value:"green"},tc=Object.keys(rs),he={callToJSON:!0,compareKeys:void 0,escapeRegex:!1,escapeString:!0,highlight:!1,indent:2,maxDepth:1/0,min:!1,plugins:[],printBasicPrototype:!0,printFunctionName:!0,theme:rs};xe.DEFAULT_OPTIONS=he;function Vy(e){if(Object.keys(e).forEach(t=>{if(!he.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}".`)}}var Wy=e=>tc.reduce((t,r)=>{let n=e.theme&&e.theme[r]!==void 0?e.theme[r]:rs[r],o=n&&Sy.default[n];if(o&&typeof o.close=="string"&&typeof o.open=="string")t[r]=o;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)),zy=()=>tc.reduce((e,t)=>(e[t]={close:"",open:""},e),Object.create(null)),rc=e=>e&&e.printFunctionName!==void 0?e.printFunctionName:he.printFunctionName,nc=e=>e&&e.escapeRegex!==void 0?e.escapeRegex:he.escapeRegex,oc=e=>e&&e.escapeString!==void 0?e.escapeString:he.escapeString,Xu=e=>{var t;return{callToJSON:e&&e.callToJSON!==void 0?e.callToJSON:he.callToJSON,colors:e&&e.highlight?Wy(e):zy(),compareKeys:e&&typeof e.compareKeys=="function"?e.compareKeys:he.compareKeys,escapeRegex:nc(e),escapeString:oc(e),indent:e&&e.min?"":Ky(e&&e.indent!==void 0?e.indent:he.indent),maxDepth:e&&e.maxDepth!==void 0?e.maxDepth:he.maxDepth,min:e&&e.min!==void 0?e.min:he.min,plugins:e&&e.plugins!==void 0?e.plugins:he.plugins,printBasicPrototype:(t=e?.printBasicPrototype)!==null&&t!==void 0?t:!0,printFunctionName:rc(e),spacingInner:e&&e.min?" ":`
1
+ var Kb=Object.create;var Aa=Object.defineProperty;var Gb=Object.getOwnPropertyDescriptor;var Xb=Object.getOwnPropertyNames;var Jb=Object.getPrototypeOf,Yb=Object.prototype.hasOwnProperty;var p=(e,t)=>()=>{try{return t||e((t={exports:{}}).exports,t),t.exports}catch(r){throw t=0,r}},Qb=(e,t)=>{for(var r in t)Aa(e,r,{get:t[r],enumerable:!0})},Zb=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of Xb(t))!Yb.call(e,o)&&o!==r&&Aa(e,o,{get:()=>t[o],enumerable:!(n=Gb(t,o))||n.enumerable});return e};var Ma=(e,t,r)=>(r=e!=null?Kb(Jb(e)):{},Zb(t||!e||!e.__esModule?Aa(r,"default",{value:e,enumerable:!0}):r,e));var Xa=p((_M,Zl)=>{"use strict";var Yl=(e=0)=>t=>`\x1B[${38+e};5;${t}m`,Ql=(e=0)=>(t,r,n)=>`\x1B[${38+e};2;${t};${r};${n}m`;function hv(){let e=new Map,t={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]}};t.color.gray=t.color.blackBright,t.bgColor.bgGray=t.bgColor.bgBlackBright,t.color.grey=t.color.blackBright,t.bgColor.bgGrey=t.bgColor.bgBlackBright;for(let[r,n]of Object.entries(t)){for(let[o,i]of Object.entries(n))t[o]={open:`\x1B[${i[0]}m`,close:`\x1B[${i[1]}m`},n[o]=t[o],e.set(i[0],i[1]);Object.defineProperty(t,r,{value:n,enumerable:!1})}return Object.defineProperty(t,"codes",{value:e,enumerable:!1}),t.color.close="\x1B[39m",t.bgColor.close="\x1B[49m",t.color.ansi256=Yl(),t.color.ansi16m=Ql(),t.bgColor.ansi256=Yl(10),t.bgColor.ansi16m=Ql(10),Object.defineProperties(t,{rgbToAnsi256:{value:(r,n,o)=>r===n&&n===o?r<8?16:r>248?231:Math.round((r-8)/247*24)+232:16+36*Math.round(r/255*5)+6*Math.round(n/255*5)+Math.round(o/255*5),enumerable:!1},hexToRgb:{value:r=>{let n=/(?<colorString>[a-f\d]{6}|[a-f\d]{3})/i.exec(r.toString(16));if(!n)return[0,0,0];let{colorString:o}=n.groups;o.length===3&&(o=o.split("").map(a=>a+a).join(""));let i=Number.parseInt(o,16);return[i>>16&255,i>>8&255,i&255]},enumerable:!1},hexToAnsi256:{value:r=>t.rgbToAnsi256(...t.hexToRgb(r)),enumerable:!1}}),t}Object.defineProperty(Zl,"exports",{enumerable:!0,get:hv})});var Ht=p(wt=>{"use strict";Object.defineProperty(wt,"__esModule",{value:!0});wt.printIteratorEntries=Ev;wt.printIteratorValues=wv;wt.printListItems=_v;wt.printObjectProperties=Cv;var gv=(e,t)=>{let r=Object.keys(e).sort(t);return Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(e).forEach(n=>{Object.getOwnPropertyDescriptor(e,n).enumerable&&r.push(n)}),r};function Ev(e,t,r,n,o,i,a=": "){let s="",l=e.next();if(!l.done){s+=t.spacingOuter;let u=r+t.indent;for(;!l.done;){let c=i(l.value[0],t,u,n,o),d=i(l.value[1],t,u,n,o);s+=u+c+a+d,l=e.next(),l.done?t.min||(s+=","):s+=","+t.spacingInner}s+=t.spacingOuter+r}return s}function wv(e,t,r,n,o,i){let a="",s=e.next();if(!s.done){a+=t.spacingOuter;let l=r+t.indent;for(;!s.done;)a+=l+i(s.value,t,l,n,o),s=e.next(),s.done?t.min||(a+=","):a+=","+t.spacingInner;a+=t.spacingOuter+r}return a}function _v(e,t,r,n,o,i){let a="";if(e.length){a+=t.spacingOuter;let s=r+t.indent;for(let l=0;l<e.length;l++)a+=s,l in e&&(a+=i(e[l],t,s,n,o)),l<e.length-1?a+=","+t.spacingInner:t.min||(a+=",");a+=t.spacingOuter+r}return a}function Cv(e,t,r,n,o,i){let a="",s=gv(e,t.compareKeys);if(s.length){a+=t.spacingOuter;let l=r+t.indent;for(let u=0;u<s.length;u++){let c=s[u],d=i(c,t,l,n,o),m=i(e[c],t,l,n,o);a+=l+d+": "+m,u<s.length-1?a+=","+t.spacingInner:t.min||(a+=",")}a+=t.spacingOuter+r}return a}});var nu=p(Fe=>{"use strict";Object.defineProperty(Fe,"__esModule",{value:!0});Fe.test=Fe.serialize=Fe.default=void 0;var eu=Ht(),Vr=(function(){return typeof globalThis<"u"?globalThis:typeof Vr<"u"?Vr:typeof self<"u"?self:typeof window<"u"?window:Function("return this")()})(),Ja=Vr["jest-symbol-do-not-touch"]||Vr.Symbol,Tv=typeof Ja=="function"&&Ja.for?Ja.for("jest.asymmetricMatcher"):1267621,Hr=" ",tu=(e,t,r,n,o,i)=>{let a=e.toString();return a==="ArrayContaining"||a==="ArrayNotContaining"?++n>t.maxDepth?"["+a+"]":a+Hr+"["+(0,eu.printListItems)(e.sample,t,r,n,o,i)+"]":a==="ObjectContaining"||a==="ObjectNotContaining"?++n>t.maxDepth?"["+a+"]":a+Hr+"{"+(0,eu.printObjectProperties)(e.sample,t,r,n,o,i)+"}":a==="StringMatching"||a==="StringNotMatching"||a==="StringContaining"||a==="StringNotContaining"?a+Hr+i(e.sample,t,r,n,o):e.toAsymmetricMatcher()};Fe.serialize=tu;var ru=e=>e&&e.$$typeof===Tv;Fe.test=ru;var Pv={serialize:tu,test:ru},Rv=Pv;Fe.default=Rv});var iu=p((PM,ou)=>{"use strict";ou.exports=({onlyFirst:e=!1}={})=>{let 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")}});var cu=p(Ue=>{"use strict";Object.defineProperty(Ue,"__esModule",{value:!0});Ue.test=Ue.serialize=Ue.default=void 0;var au=su(iu()),U=su(Xa());function su(e){return e&&e.__esModule?e:{default:e}}var Sv=e=>e.replace((0,au.default)(),t=>{switch(t){case U.default.red.close:case U.default.green.close:case U.default.cyan.close:case U.default.gray.close:case U.default.white.close:case U.default.yellow.close:case U.default.bgRed.close:case U.default.bgGreen.close:case U.default.bgYellow.close:case U.default.inverse.close:case U.default.dim.close:case U.default.bold.close:case U.default.reset.open:case U.default.reset.close:return"</>";case U.default.red.open:return"<red>";case U.default.green.open:return"<green>";case U.default.cyan.open:return"<cyan>";case U.default.gray.open:return"<gray>";case U.default.white.open:return"<white>";case U.default.yellow.open:return"<yellow>";case U.default.bgRed.open:return"<bgRed>";case U.default.bgGreen.open:return"<bgGreen>";case U.default.bgYellow.open:return"<bgYellow>";case U.default.inverse.open:return"<inverse>";case U.default.dim.open:return"<dim>";case U.default.bold.open:return"<bold>";default:return""}}),lu=e=>typeof e=="string"&&!!e.match((0,au.default)());Ue.test=lu;var uu=(e,t,r,n,o,i)=>i(Sv(e),t,r,n,o);Ue.serialize=uu;var xv={serialize:uu,test:lu},qv=xv;Ue.default=qv});var bu=p($e=>{"use strict";Object.defineProperty($e,"__esModule",{value:!0});$e.test=$e.serialize=$e.default=void 0;var du=Ht(),Av=" ",pu=["DOMStringMap","NamedNodeMap"],Mv=/^(HTML\w*Collection|NodeList)$/,kv=e=>pu.indexOf(e)!==-1||Mv.test(e),fu=e=>e&&e.constructor&&!!e.constructor.name&&kv(e.constructor.name);$e.test=fu;var Ov=e=>e.constructor.name==="NamedNodeMap",mu=(e,t,r,n,o,i)=>{let a=e.constructor.name;return++n>t.maxDepth?"["+a+"]":(t.min?"":a+Av)+(pu.indexOf(a)!==-1?"{"+(0,du.printObjectProperties)(Ov(e)?Array.from(e).reduce((s,l)=>(s[l.name]=l.value,s),{}):{...e},t,r,n,o,i)+"}":"["+(0,du.printListItems)(Array.from(e),t,r,n,o,i)+"]")};$e.serialize=mu;var Iv={serialize:mu,test:fu},Nv=Iv;$e.default=Nv});var vu=p(Ya=>{"use strict";Object.defineProperty(Ya,"__esModule",{value:!0});Ya.default=Lv;function Lv(e){return e.replace(/</g,"&lt;").replace(/>/g,"&gt;")}});var Wr=p(ae=>{"use strict";Object.defineProperty(ae,"__esModule",{value:!0});ae.printText=ae.printProps=ae.printElementAsLeaf=ae.printElement=ae.printComment=ae.printChildren=void 0;var yu=Dv(vu());function Dv(e){return e&&e.__esModule?e:{default:e}}var Bv=(e,t,r,n,o,i,a)=>{let s=n+r.indent,l=r.colors;return e.map(u=>{let c=t[u],d=a(c,r,s,o,i);return typeof c!="string"&&(d.indexOf(`
2
+ `)!==-1&&(d=r.spacingOuter+s+d+r.spacingOuter+n),d="{"+d+"}"),r.spacingInner+n+l.prop.open+u+l.prop.close+"="+l.value.open+d+l.value.close}).join("")};ae.printProps=Bv;var Fv=(e,t,r,n,o,i)=>e.map(a=>t.spacingOuter+r+(typeof a=="string"?hu(a,t):i(a,t,r,n,o))).join("");ae.printChildren=Fv;var hu=(e,t)=>{let r=t.colors.content;return r.open+(0,yu.default)(e)+r.close};ae.printText=hu;var Uv=(e,t)=>{let r=t.colors.comment;return r.open+"<!--"+(0,yu.default)(e)+"-->"+r.close};ae.printComment=Uv;var $v=(e,t,r,n,o)=>{let i=n.colors.tag;return i.open+"<"+e+(t&&i.close+t+n.spacingOuter+o+i.open)+(r?">"+i.close+r+n.spacingOuter+o+i.open+"</"+e:(t&&!n.min?"":" ")+"/")+">"+i.close};ae.printElement=$v;var jv=(e,t)=>{let r=t.colors.tag;return r.open+"<"+e+r.close+" \u2026"+r.open+" />"+r.close};ae.printElementAsLeaf=jv});var Tu=p(je=>{"use strict";Object.defineProperty(je,"__esModule",{value:!0});je.test=je.serialize=je.default=void 0;var _t=Wr(),Hv=1,gu=3,Eu=8,wu=11,Vv=/^((HTML|SVG)\w*)?Element$/,Wv=e=>{try{return typeof e.hasAttribute=="function"&&e.hasAttribute("is")}catch{return!1}},zv=e=>{let t=e.constructor.name,{nodeType:r,tagName:n}=e,o=typeof n=="string"&&n.includes("-")||Wv(e);return r===Hv&&(Vv.test(t)||o)||r===gu&&t==="Text"||r===Eu&&t==="Comment"||r===wu&&t==="DocumentFragment"},_u=e=>{var t;return(e==null||(t=e.constructor)===null||t===void 0?void 0:t.name)&&zv(e)};je.test=_u;function Kv(e){return e.nodeType===gu}function Gv(e){return e.nodeType===Eu}function Qa(e){return e.nodeType===wu}var Cu=(e,t,r,n,o,i)=>{if(Kv(e))return(0,_t.printText)(e.data,t);if(Gv(e))return(0,_t.printComment)(e.data,t);let a=Qa(e)?"DocumentFragment":e.tagName.toLowerCase();return++n>t.maxDepth?(0,_t.printElementAsLeaf)(a,t):(0,_t.printElement)(a,(0,_t.printProps)(Qa(e)?[]:Array.from(e.attributes).map(s=>s.name).sort(),Qa(e)?{}:Array.from(e.attributes).reduce((s,l)=>(s[l.name]=l.value,s),{}),t,r+t.indent,n,o,i),(0,_t.printChildren)(Array.prototype.slice.call(e.childNodes||e.children),t,r+t.indent,n,o,i),t,r)};je.serialize=Cu;var Xv={serialize:Cu,test:_u},Jv=Xv;je.default=Jv});var qu=p(He=>{"use strict";Object.defineProperty(He,"__esModule",{value:!0});He.test=He.serialize=He.default=void 0;var Vt=Ht(),Yv="@@__IMMUTABLE_ITERABLE__@@",Qv="@@__IMMUTABLE_LIST__@@",Zv="@@__IMMUTABLE_KEYED__@@",ey="@@__IMMUTABLE_MAP__@@",Pu="@@__IMMUTABLE_ORDERED__@@",ty="@@__IMMUTABLE_RECORD__@@",ry="@@__IMMUTABLE_SEQ__@@",ny="@@__IMMUTABLE_SET__@@",oy="@@__IMMUTABLE_STACK__@@",Ct=e=>"Immutable."+e,zr=e=>"["+e+"]",Wt=" ",Ru="\u2026",iy=(e,t,r,n,o,i,a)=>++n>t.maxDepth?zr(Ct(a)):Ct(a)+Wt+"{"+(0,Vt.printIteratorEntries)(e.entries(),t,r,n,o,i)+"}";function ay(e){let t=0;return{next(){if(t<e._keys.length){let r=e._keys[t++];return{done:!1,value:[r,e.get(r)]}}return{done:!0,value:void 0}}}}var sy=(e,t,r,n,o,i)=>{let a=Ct(e._name||"Record");return++n>t.maxDepth?zr(a):a+Wt+"{"+(0,Vt.printIteratorEntries)(ay(e),t,r,n,o,i)+"}"},ly=(e,t,r,n,o,i)=>{let a=Ct("Seq");return++n>t.maxDepth?zr(a):e[Zv]?a+Wt+"{"+(e._iter||e._object?(0,Vt.printIteratorEntries)(e.entries(),t,r,n,o,i):Ru)+"}":a+Wt+"["+(e._iter||e._array||e._collection||e._iterable?(0,Vt.printIteratorValues)(e.values(),t,r,n,o,i):Ru)+"]"},Za=(e,t,r,n,o,i,a)=>++n>t.maxDepth?zr(Ct(a)):Ct(a)+Wt+"["+(0,Vt.printIteratorValues)(e.values(),t,r,n,o,i)+"]",Su=(e,t,r,n,o,i)=>e[ey]?iy(e,t,r,n,o,i,e[Pu]?"OrderedMap":"Map"):e[Qv]?Za(e,t,r,n,o,i,"List"):e[ny]?Za(e,t,r,n,o,i,e[Pu]?"OrderedSet":"Set"):e[oy]?Za(e,t,r,n,o,i,"Stack"):e[ry]?ly(e,t,r,n,o,i):sy(e,t,r,n,o,i);He.serialize=Su;var xu=e=>e&&(e[Yv]===!0||e[ty]===!0);He.test=xu;var uy={serialize:Su,test:xu},cy=uy;He.default=cy});var Nu=p(B=>{"use strict";var Kr=60103,Gr=60106,zt=60107,Kt=60108,Gt=60114,Xt=60109,Jt=60110,Yt=60112,Qt=60113,es=60120,Zt=60115,er=60116,Au=60121,Mu=60122,ku=60117,Ou=60129,Iu=60131;typeof Symbol=="function"&&Symbol.for&&(Q=Symbol.for,Kr=Q("react.element"),Gr=Q("react.portal"),zt=Q("react.fragment"),Kt=Q("react.strict_mode"),Gt=Q("react.profiler"),Xt=Q("react.provider"),Jt=Q("react.context"),Yt=Q("react.forward_ref"),Qt=Q("react.suspense"),es=Q("react.suspense_list"),Zt=Q("react.memo"),er=Q("react.lazy"),Au=Q("react.block"),Mu=Q("react.server.block"),ku=Q("react.fundamental"),Ou=Q("react.debug_trace_mode"),Iu=Q("react.legacy_hidden"));var Q;function ye(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case Kr:switch(e=e.type,e){case zt:case Gt:case Kt:case Qt:case es:return e;default:switch(e=e&&e.$$typeof,e){case Jt:case Yt:case er:case Zt:case Xt:return e;default:return t}}case Gr:return t}}}var dy=Xt,py=Kr,fy=Yt,my=zt,by=er,vy=Zt,yy=Gr,hy=Gt,gy=Kt,Ey=Qt;B.ContextConsumer=Jt;B.ContextProvider=dy;B.Element=py;B.ForwardRef=fy;B.Fragment=my;B.Lazy=by;B.Memo=vy;B.Portal=yy;B.Profiler=hy;B.StrictMode=gy;B.Suspense=Ey;B.isAsyncMode=function(){return!1};B.isConcurrentMode=function(){return!1};B.isContextConsumer=function(e){return ye(e)===Jt};B.isContextProvider=function(e){return ye(e)===Xt};B.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===Kr};B.isForwardRef=function(e){return ye(e)===Yt};B.isFragment=function(e){return ye(e)===zt};B.isLazy=function(e){return ye(e)===er};B.isMemo=function(e){return ye(e)===Zt};B.isPortal=function(e){return ye(e)===Gr};B.isProfiler=function(e){return ye(e)===Gt};B.isStrictMode=function(e){return ye(e)===Kt};B.isSuspense=function(e){return ye(e)===Qt};B.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===zt||e===Gt||e===Ou||e===Kt||e===Qt||e===es||e===Iu||typeof e=="object"&&e!==null&&(e.$$typeof===er||e.$$typeof===Zt||e.$$typeof===Xt||e.$$typeof===Jt||e.$$typeof===Yt||e.$$typeof===ku||e.$$typeof===Au||e[0]===Mu)};B.typeOf=ye});var Du=p((OM,Lu)=>{"use strict";Lu.exports=Nu()});var Hu=p(Ve=>{"use strict";Object.defineProperty(Ve,"__esModule",{value:!0});Ve.test=Ve.serialize=Ve.default=void 0;var ot=wy(Du()),Xr=Wr();function Fu(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,r=new WeakMap;return(Fu=function(n){return n?r:t})(e)}function wy(e,t){if(!t&&e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var r=Fu(t);if(r&&r.has(e))return r.get(e);var n={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(i!=="default"&&Object.prototype.hasOwnProperty.call(e,i)){var a=o?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(n,i,a):n[i]=e[i]}return n.default=e,r&&r.set(e,n),n}var Uu=(e,t=[])=>(Array.isArray(e)?e.forEach(r=>{Uu(r,t)}):e!=null&&e!==!1&&t.push(e),t),Bu=e=>{let t=e.type;if(typeof t=="string")return t;if(typeof t=="function")return t.displayName||t.name||"Unknown";if(ot.isFragment(e))return"React.Fragment";if(ot.isSuspense(e))return"React.Suspense";if(typeof t=="object"&&t!==null){if(ot.isContextProvider(e))return"Context.Provider";if(ot.isContextConsumer(e))return"Context.Consumer";if(ot.isForwardRef(e)){if(t.displayName)return t.displayName;let r=t.render.displayName||t.render.name||"";return r!==""?"ForwardRef("+r+")":"ForwardRef"}if(ot.isMemo(e)){let r=t.displayName||t.type.displayName||t.type.name||"";return r!==""?"Memo("+r+")":"Memo"}}return"UNDEFINED"},_y=e=>{let{props:t}=e;return Object.keys(t).filter(r=>r!=="children"&&t[r]!==void 0).sort()},$u=(e,t,r,n,o,i)=>++n>t.maxDepth?(0,Xr.printElementAsLeaf)(Bu(e),t):(0,Xr.printElement)(Bu(e),(0,Xr.printProps)(_y(e),e.props,t,r+t.indent,n,o,i),(0,Xr.printChildren)(Uu(e.props.children),t,r+t.indent,n,o,i),t,r);Ve.serialize=$u;var ju=e=>e!=null&&ot.isElement(e);Ve.test=ju;var Cy={serialize:$u,test:ju},Ty=Cy;Ve.default=Ty});var zu=p(We=>{"use strict";Object.defineProperty(We,"__esModule",{value:!0});We.test=We.serialize=We.default=void 0;var Jr=Wr(),Yr=(function(){return typeof globalThis<"u"?globalThis:typeof Yr<"u"?Yr:typeof self<"u"?self:typeof window<"u"?window:Function("return this")()})(),ts=Yr["jest-symbol-do-not-touch"]||Yr.Symbol,Py=typeof ts=="function"&&ts.for?ts.for("react.test.json"):245830487,Ry=e=>{let{props:t}=e;return t?Object.keys(t).filter(r=>t[r]!==void 0).sort():[]},Vu=(e,t,r,n,o,i)=>++n>t.maxDepth?(0,Jr.printElementAsLeaf)(e.type,t):(0,Jr.printElement)(e.type,e.props?(0,Jr.printProps)(Ry(e),e.props,t,r+t.indent,n,o,i):"",e.children?(0,Jr.printChildren)(e.children,t,r+t.indent,n,o,i):"",t,r);We.serialize=Vu;var Wu=e=>e&&e.$$typeof===Py;We.test=Wu;var Sy={serialize:Vu,test:Wu},xy=Sy;We.default=xy});var lc=p(xe=>{"use strict";Object.defineProperty(xe,"__esModule",{value:!0});xe.default=xe.DEFAULT_OPTIONS=void 0;xe.format=sc;xe.plugins=void 0;var qy=Ke(Xa()),tr=Ht(),Ay=Ke(nu()),My=Ke(cu()),ky=Ke(bu()),Oy=Ke(Tu()),Iy=Ke(qu()),Ny=Ke(Hu()),Ly=Ke(zu());function Ke(e){return e&&e.__esModule?e:{default:e}}var Qu=Object.prototype.toString,Dy=Date.prototype.toISOString,By=Error.prototype.toString,Ku=RegExp.prototype.toString,rs=e=>typeof e.constructor=="function"&&e.constructor.name||"Object",Fy=e=>typeof window<"u"&&e===window,Uy=/^Symbol\((.*)\)(.*)$/,$y=/\n/gi,Qr=class extends Error{constructor(t,r){super(t),this.stack=r,this.name=this.constructor.name}};function jy(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 Hy(e){return Object.is(e,-0)?"-0":String(e)}function Vy(e){return`${e}n`}function Gu(e,t){return t?"[Function "+(e.name||"anonymous")+"]":"[Function]"}function Xu(e){return String(e).replace(Uy,"Symbol($1)")}function Ju(e){return"["+By.call(e)+"]"}function Zu(e,t,r,n){if(e===!0||e===!1)return""+e;if(e===void 0)return"undefined";if(e===null)return"null";let o=typeof e;if(o==="number")return Hy(e);if(o==="bigint")return Vy(e);if(o==="string")return n?'"'+e.replace(/"|\\/g,"\\$&")+'"':'"'+e+'"';if(o==="function")return Gu(e,t);if(o==="symbol")return Xu(e);let i=Qu.call(e);return i==="[object WeakMap]"?"WeakMap {}":i==="[object WeakSet]"?"WeakSet {}":i==="[object Function]"||i==="[object GeneratorFunction]"?Gu(e,t):i==="[object Symbol]"?Xu(e):i==="[object Date]"?isNaN(+e)?"Date { NaN }":Dy.call(e):i==="[object Error]"?Ju(e):i==="[object RegExp]"?r?Ku.call(e).replace(/[\\^$*+?.()|[\]{}]/g,"\\$&"):Ku.call(e):e instanceof Error?Ju(e):null}function ec(e,t,r,n,o,i){if(o.indexOf(e)!==-1)return"[Circular]";o=o.slice(),o.push(e);let a=++n>t.maxDepth,s=t.min;if(t.callToJSON&&!a&&e.toJSON&&typeof e.toJSON=="function"&&!i)return ze(e.toJSON(),t,r,n,o,!0);let l=Qu.call(e);return l==="[object Arguments]"?a?"[Arguments]":(s?"":"Arguments ")+"["+(0,tr.printListItems)(e,t,r,n,o,ze)+"]":jy(l)?a?"["+e.constructor.name+"]":(s||!t.printBasicPrototype&&e.constructor.name==="Array"?"":e.constructor.name+" ")+"["+(0,tr.printListItems)(e,t,r,n,o,ze)+"]":l==="[object Map]"?a?"[Map]":"Map {"+(0,tr.printIteratorEntries)(e.entries(),t,r,n,o,ze," => ")+"}":l==="[object Set]"?a?"[Set]":"Set {"+(0,tr.printIteratorValues)(e.values(),t,r,n,o,ze)+"}":a||Fy(e)?"["+rs(e)+"]":(s||!t.printBasicPrototype&&rs(e)==="Object"?"":rs(e)+" ")+"{"+(0,tr.printObjectProperties)(e,t,r,n,o,ze)+"}"}function Wy(e){return e.serialize!=null}function tc(e,t,r,n,o,i){let a;try{a=Wy(e)?e.serialize(t,r,n,o,i,ze):e.print(t,s=>ze(s,r,n,o,i),s=>{let l=n+r.indent;return l+s.replace($y,`
3
+ `+l)},{edgeSpacing:r.spacingOuter,min:r.min,spacing:r.spacingInner},r.colors)}catch(s){throw new Qr(s.message,s.stack)}if(typeof a!="string")throw new Error(`pretty-format: Plugin must return type "string" but instead returned "${typeof a}".`);return a}function rc(e,t){for(let r=0;r<e.length;r++)try{if(e[r].test(t))return e[r]}catch(n){throw new Qr(n.message,n.stack)}return null}function ze(e,t,r,n,o,i){let a=rc(t.plugins,e);if(a!==null)return tc(a,e,t,r,n,o);let s=Zu(e,t.printFunctionName,t.escapeRegex,t.escapeString);return s!==null?s:ec(e,t,r,n,o,i)}var ns={comment:"gray",content:"reset",prop:"yellow",tag:"cyan",value:"green"},nc=Object.keys(ns),he={callToJSON:!0,compareKeys:void 0,escapeRegex:!1,escapeString:!0,highlight:!1,indent:2,maxDepth:1/0,min:!1,plugins:[],printBasicPrototype:!0,printFunctionName:!0,theme:ns};xe.DEFAULT_OPTIONS=he;function zy(e){if(Object.keys(e).forEach(t=>{if(!he.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}".`)}}var Ky=e=>nc.reduce((t,r)=>{let n=e.theme&&e.theme[r]!==void 0?e.theme[r]:ns[r],o=n&&qy.default[n];if(o&&typeof o.close=="string"&&typeof o.open=="string")t[r]=o;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)),Gy=()=>nc.reduce((e,t)=>(e[t]={close:"",open:""},e),Object.create(null)),oc=e=>e&&e.printFunctionName!==void 0?e.printFunctionName:he.printFunctionName,ic=e=>e&&e.escapeRegex!==void 0?e.escapeRegex:he.escapeRegex,ac=e=>e&&e.escapeString!==void 0?e.escapeString:he.escapeString,Yu=e=>{var t;return{callToJSON:e&&e.callToJSON!==void 0?e.callToJSON:he.callToJSON,colors:e&&e.highlight?Ky(e):Gy(),compareKeys:e&&typeof e.compareKeys=="function"?e.compareKeys:he.compareKeys,escapeRegex:ic(e),escapeString:ac(e),indent:e&&e.min?"":Xy(e&&e.indent!==void 0?e.indent:he.indent),maxDepth:e&&e.maxDepth!==void 0?e.maxDepth:he.maxDepth,min:e&&e.min!==void 0?e.min:he.min,plugins:e&&e.plugins!==void 0?e.plugins:he.plugins,printBasicPrototype:(t=e?.printBasicPrototype)!==null&&t!==void 0?t:!0,printFunctionName:oc(e),spacingInner:e&&e.min?" ":`
4
4
  `,spacingOuter:e&&e.min?"":`
5
- `}};function Ky(e){return new Array(e+1).join(" ")}function ic(e,t){if(t&&(Vy(t),t.plugins)){let n=ec(t.plugins,e);if(n!==null)return Zu(n,e,Xu(t),"",0,[])}let r=Qu(e,rc(t),nc(t),oc(t));return r!==null?r:Ju(e,Xu(t),"",0,[])}var Gy={AsymmetricMatcher:xy.default,ConvertAnsi:qy.default,DOMCollection:Ay.default,DOMElement:My.default,Immutable:ky.default,ReactElement:Oy.default,ReactTestComponent:Iy.default};xe.plugins=Gy;var Xy=ic;xe.default=Xy});var qc=p(tn=>{"use strict";Object.defineProperty(tn,"__esModule",{value:!0});tn.default=void 0;function Sh(){var e=this,t=0,r={"@@iterator":function(){return r},next:function(){if(t<e.length){var o=e[t];return t=t+1,{done:!1,value:o}}else return{done:!0}}};return r}var xh=Sh;tn.default=xh});var Ct=p(is=>{"use strict";Object.defineProperty(is,"__esModule",{value:!0});is.default=Mh;var qh=Ah(qc());function Ah(e){return e&&e.__esModule?e:{default:e}}function os(e){"@babel/helpers - typeof";return os=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},os(e)}function Mh(e,t){return typeof Symbol=="function"&&os(Symbol.iterator)==="symbol"&&Object.defineProperty(e,Symbol.iterator,{value:qh.default.bind(t)}),e}});var kc=p(rn=>{"use strict";Object.defineProperty(rn,"__esModule",{value:!0});rn.default=void 0;var kh=Oh(Ct());function Oh(e){return e&&e.__esModule?e:{default:e}}function as(e,t){return Lh(e)||Nh(e,t)||Mc(e,t)||Ih()}function Ih(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
6
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Nh(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n=[],o=!0,i=!1,a,s;try{for(r=r.call(e);!(o=(a=r.next()).done)&&(n.push(a.value),!(t&&n.length===t));o=!0);}catch(l){i=!0,s=l}finally{try{!o&&r.return!=null&&r.return()}finally{if(i)throw s}}return n}}function Lh(e){if(Array.isArray(e))return e}function Dh(e,t){var r=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=Mc(e))||t&&e&&typeof e.length=="number"){r&&(e=r);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(u){throw u},f:o}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
7
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var i=!0,a=!1,s;return{s:function(){r=r.call(e)},n:function(){var u=r.next();return i=u.done,u},e:function(u){a=!0,s=u},f:function(){try{!i&&r.return!=null&&r.return()}finally{if(a)throw s}}}}function Mc(e,t){if(e){if(typeof e=="string")return Ac(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 Ac(e,t)}}function Ac(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 Pt=[["aria-activedescendant",{type:"id"}],["aria-atomic",{type:"boolean"}],["aria-autocomplete",{type:"token",values:["inline","list","both","none"]}],["aria-braillelabel",{type:"string"}],["aria-brailleroledescription",{type:"string"}],["aria-busy",{type:"boolean"}],["aria-checked",{type:"tristate"}],["aria-colcount",{type:"integer"}],["aria-colindex",{type:"integer"}],["aria-colspan",{type:"integer"}],["aria-controls",{type:"idlist"}],["aria-current",{type:"token",values:["page","step","location","date","time",!0,!1]}],["aria-describedby",{type:"idlist"}],["aria-description",{type:"string"}],["aria-details",{type:"id"}],["aria-disabled",{type:"boolean"}],["aria-dropeffect",{type:"tokenlist",values:["copy","execute","link","move","none","popup"]}],["aria-errormessage",{type:"id"}],["aria-expanded",{type:"boolean",allowundefined:!0}],["aria-flowto",{type:"idlist"}],["aria-grabbed",{type:"boolean",allowundefined:!0}],["aria-haspopup",{type:"token",values:[!1,!0,"menu","listbox","tree","grid","dialog"]}],["aria-hidden",{type:"boolean",allowundefined:!0}],["aria-invalid",{type:"token",values:["grammar",!1,"spelling",!0]}],["aria-keyshortcuts",{type:"string"}],["aria-label",{type:"string"}],["aria-labelledby",{type:"idlist"}],["aria-level",{type:"integer"}],["aria-live",{type:"token",values:["assertive","off","polite"]}],["aria-modal",{type:"boolean"}],["aria-multiline",{type:"boolean"}],["aria-multiselectable",{type:"boolean"}],["aria-orientation",{type:"token",values:["vertical","undefined","horizontal"]}],["aria-owns",{type:"idlist"}],["aria-placeholder",{type:"string"}],["aria-posinset",{type:"integer"}],["aria-pressed",{type:"tristate"}],["aria-readonly",{type:"boolean"}],["aria-relevant",{type:"tokenlist",values:["additions","all","removals","text"]}],["aria-required",{type:"boolean"}],["aria-roledescription",{type:"string"}],["aria-rowcount",{type:"integer"}],["aria-rowindex",{type:"integer"}],["aria-rowspan",{type:"integer"}],["aria-selected",{type:"boolean",allowundefined:!0}],["aria-setsize",{type:"integer"}],["aria-sort",{type:"token",values:["ascending","descending","none","other"]}],["aria-valuemax",{type:"number"}],["aria-valuemin",{type:"number"}],["aria-valuenow",{type:"number"}],["aria-valuetext",{type:"string"}]],ss={entries:function(){return Pt},forEach:function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,n=Dh(Pt),o;try{for(n.s();!(o=n.n()).done;){var i=as(o.value,2),a=i[0],s=i[1];t.call(r,s,a,Pt)}}catch(l){n.e(l)}finally{n.f()}},get:function(t){var r=Pt.find(function(n){return n[0]===t});return r&&r[1]},has:function(t){return!!ss.get(t)},keys:function(){return Pt.map(function(t){var r=as(t,1),n=r[0];return n})},values:function(){return Pt.map(function(t){var r=as(t,2),n=r[1];return n})}},Bh=(0,kh.default)(ss,ss.entries());rn.default=Bh});var Nc=p(nn=>{"use strict";Object.defineProperty(nn,"__esModule",{value:!0});nn.default=void 0;var Fh=Uh(Ct());function Uh(e){return e&&e.__esModule?e:{default:e}}function ls(e,t){return Hh(e)||jh(e,t)||Ic(e,t)||$h()}function $h(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
8
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function jh(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n=[],o=!0,i=!1,a,s;try{for(r=r.call(e);!(o=(a=r.next()).done)&&(n.push(a.value),!(t&&n.length===t));o=!0);}catch(l){i=!0,s=l}finally{try{!o&&r.return!=null&&r.return()}finally{if(i)throw s}}return n}}function Hh(e){if(Array.isArray(e))return e}function Vh(e,t){var r=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=Ic(e))||t&&e&&typeof e.length=="number"){r&&(e=r);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(u){throw u},f:o}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
9
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var i=!0,a=!1,s;return{s:function(){r=r.call(e)},n:function(){var u=r.next();return i=u.done,u},e:function(u){a=!0,s=u},f:function(){try{!i&&r.return!=null&&r.return()}finally{if(a)throw s}}}}function Ic(e,t){if(e){if(typeof e=="string")return Oc(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 Oc(e,t)}}function Oc(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 Tt=[["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}]],us={entries:function(){return Tt},forEach:function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,n=Vh(Tt),o;try{for(n.s();!(o=n.n()).done;){var i=ls(o.value,2),a=i[0],s=i[1];t.call(r,s,a,Tt)}}catch(l){n.e(l)}finally{n.f()}},get:function(t){var r=Tt.find(function(n){return n[0]===t});return r&&r[1]},has:function(t){return!!us.get(t)},keys:function(){return Tt.map(function(t){var r=ls(t,1),n=r[0];return n})},values:function(){return Tt.map(function(t){var r=ls(t,2),n=r[1];return n})}},Wh=(0,Fh.default)(us,us.entries());nn.default=Wh});var Lc=p(on=>{"use strict";Object.defineProperty(on,"__esModule",{value:!0});on.default=void 0;var zh={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]},Kh=zh;on.default=Kh});var Dc=p(an=>{"use strict";Object.defineProperty(an,"__esModule",{value:!0});an.default=void 0;var Gh={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"]]},Xh=Gh;an.default=Xh});var Bc=p(sn=>{"use strict";Object.defineProperty(sn,"__esModule",{value:!0});sn.default=void 0;var Yh={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"]]},Qh=Yh;sn.default=Qh});var Fc=p(ln=>{"use strict";Object.defineProperty(ln,"__esModule",{value:!0});ln.default=void 0;var Jh={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},Zh=Jh;ln.default=Zh});var Uc=p(un=>{"use strict";Object.defineProperty(un,"__esModule",{value:!0});un.default=void 0;var eg={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"]]},tg=eg;un.default=tg});var $c=p(cn=>{"use strict";Object.defineProperty(cn,"__esModule",{value:!0});cn.default=void 0;var rg={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{"aria-atomic":null,"aria-busy":null,"aria-controls":null,"aria-current":null,"aria-describedby":null,"aria-details":null,"aria-dropeffect":null,"aria-flowto":null,"aria-grabbed":null,"aria-hidden":null,"aria-keyshortcuts":null,"aria-label":null,"aria-labelledby":null,"aria-live":null,"aria-owns":null,"aria-relevant":null,"aria-roledescription":null},relatedConcepts:[{concept:{name:"role"},module:"XHTML"},{concept:{name:"type"},module:"Dublin Core"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[]},ng=rg;cn.default=ng});var jc=p(dn=>{"use strict";Object.defineProperty(dn,"__esModule",{value:!0});dn.default=void 0;var og={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"]]},ig=og;dn.default=ig});var Hc=p(pn=>{"use strict";Object.defineProperty(pn,"__esModule",{value:!0});pn.default=void 0;var ag={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},sg=ag;pn.default=sg});var Vc=p(fn=>{"use strict";Object.defineProperty(fn,"__esModule",{value:!0});fn.default=void 0;var lg={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"]]},ug=lg;fn.default=ug});var Wc=p(mn=>{"use strict";Object.defineProperty(mn,"__esModule",{value:!0});mn.default=void 0;var cg={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]},dg=cg;mn.default=dg});var zc=p(bn=>{"use strict";Object.defineProperty(bn,"__esModule",{value:!0});bn.default=void 0;var pg={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]},fg=pg;bn.default=fg});var Kc=p(vn=>{"use strict";Object.defineProperty(vn,"__esModule",{value:!0});vn.default=void 0;var mg={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-modal":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]},bg=mg;vn.default=bg});var Gc=p(yn=>{"use strict";Object.defineProperty(yn,"__esModule",{value:!0});yn.default=void 0;var vg=fe(Lc()),yg=fe(Dc()),hg=fe(Bc()),gg=fe(Fc()),Eg=fe(Uc()),wg=fe($c()),_g=fe(jc()),Cg=fe(Hc()),Pg=fe(Vc()),Tg=fe(Wc()),Rg=fe(zc()),Sg=fe(Kc());function fe(e){return e&&e.__esModule?e:{default:e}}var xg=[["command",vg.default],["composite",yg.default],["input",hg.default],["landmark",gg.default],["range",Eg.default],["roletype",wg.default],["section",_g.default],["sectionhead",Cg.default],["select",Pg.default],["structure",Tg.default],["widget",Rg.default],["window",Sg.default]],qg=xg;yn.default=qg});var Xc=p(hn=>{"use strict";Object.defineProperty(hn,"__esModule",{value:!0});hn.default=void 0;var Ag={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"]]},Mg=Ag;hn.default=Mg});var Yc=p(gn=>{"use strict";Object.defineProperty(gn,"__esModule",{value:!0});gn.default=void 0;var kg={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"]]},Og=kg;gn.default=Og});var Qc=p(En=>{"use strict";Object.defineProperty(En,"__esModule",{value:!0});En.default=void 0;var Ig={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"]]},Ng=Ig;En.default=Ng});var Jc=p(wn=>{"use strict";Object.defineProperty(wn,"__esModule",{value:!0});wn.default=void 0;var Lg={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"]]},Dg=Lg;wn.default=Dg});var Zc=p(_n=>{"use strict";Object.defineProperty(_n,"__esModule",{value:!0});_n.default=void 0;var Bg={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{constraints:["scoped to the body element"],name:"header"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},Fg=Bg;_n.default=Fg});var ed=p(Cn=>{"use strict";Object.defineProperty(Cn,"__esModule",{value:!0});Cn.default=void 0;var Ug={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"blockquote"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},$g=Ug;Cn.default=$g});var td=p(Pn=>{"use strict";Object.defineProperty(Pn,"__esModule",{value:!0});Pn.default=void 0;var jg={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null,"aria-pressed":null},relatedConcepts:[{concept:{attributes:[{name:"type",value:"button"}],name:"input"},module:"HTML"},{concept:{attributes:[{name:"type",value:"image"}],name:"input"},module:"HTML"},{concept:{attributes:[{name:"type",value:"reset"}],name:"input"},module:"HTML"},{concept:{attributes:[{name:"type",value:"submit"}],name:"input"},module:"HTML"},{concept:{name:"button"},module:"HTML"},{concept:{name:"trigger"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command"]]},Hg=jg;Pn.default=Hg});var rd=p(Tn=>{"use strict";Object.defineProperty(Tn,"__esModule",{value:!0});Tn.default=void 0;var Vg={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"caption"},module:"HTML"}],requireContextRole:["figure","grid","table"],requiredContextRole:["figure","grid","table"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},Wg=Vg;Tn.default=Wg});var nd=p(Rn=>{"use strict";Object.defineProperty(Rn,"__esModule",{value:!0});Rn.default=void 0;var zg={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-colindex":null,"aria-colspan":null,"aria-rowindex":null,"aria-rowspan":null},relatedConcepts:[{concept:{constraints:["ancestor table element has table role"],name:"td"},module:"HTML"}],requireContextRole:["row"],requiredContextRole:["row"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},Kg=zg;Rn.default=Kg});var od=p(Sn=>{"use strict";Object.defineProperty(Sn,"__esModule",{value:!0});Sn.default=void 0;var Gg={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"]]},Xg=Gg;Sn.default=Xg});var id=p(xn=>{"use strict";Object.defineProperty(xn,"__esModule",{value:!0});xn.default=void 0;var Yg={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"code"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},Qg=Yg;xn.default=Qg});var ad=p(qn=>{"use strict";Object.defineProperty(qn,"__esModule",{value:!0});qn.default=void 0;var Jg={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-sort":null},relatedConcepts:[{concept:{name:"th"},module:"HTML"},{concept:{attributes:[{name:"scope",value:"col"}],name:"th"},module:"HTML"},{concept:{attributes:[{name:"scope",value:"colgroup"}],name:"th"},module:"HTML"}],requireContextRole:["row"],requiredContextRole:["row"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","cell"],["roletype","structure","section","cell","gridcell"],["roletype","widget","gridcell"],["roletype","structure","sectionhead"]]},Zg=Jg;qn.default=Zg});var sd=p(An=>{"use strict";Object.defineProperty(An,"__esModule",{value:!0});An.default=void 0;var eE={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-autocomplete":null,"aria-errormessage":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null,"aria-expanded":"false","aria-haspopup":"listbox"},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"email"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"search"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"tel"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"text"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"url"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"url"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"multiple"},{constraints:["undefined"],name:"size"}],constraints:["the multiple attribute is not set and the size attribute does not have a value greater than 1"],name:"select"},module:"HTML"},{concept:{name:"select"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-controls":null,"aria-expanded":"false"},superClass:[["roletype","widget","input"]]},tE=eE;An.default=tE});var ld=p(Mn=>{"use strict";Object.defineProperty(Mn,"__esModule",{value:!0});Mn.default=void 0;var rE={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"aside"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-label"}],constraints:["scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"aside"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-labelledby"}],constraints:["scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"aside"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},nE=rE;Mn.default=nE});var ud=p(kn=>{"use strict";Object.defineProperty(kn,"__esModule",{value:!0});kn.default=void 0;var oE={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{constraints:["scoped to the body element"],name:"footer"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},iE=oE;kn.default=iE});var cd=p(On=>{"use strict";Object.defineProperty(On,"__esModule",{value:!0});On.default=void 0;var aE={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"]]},sE=aE;On.default=sE});var dd=p(In=>{"use strict";Object.defineProperty(In,"__esModule",{value:!0});In.default=void 0;var lE={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"del"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},uE=lE;In.default=uE});var pd=p(Nn=>{"use strict";Object.defineProperty(Nn,"__esModule",{value:!0});Nn.default=void 0;var cE={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"dialog"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","window"]]},dE=cE;Nn.default=dE});var fd=p(Ln=>{"use strict";Object.defineProperty(Ln,"__esModule",{value:!0});Ln.default=void 0;var pE={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{module:"DAISY Guide"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","list"]]},fE=pE;Ln.default=fE});var md=p(Dn=>{"use strict";Object.defineProperty(Dn,"__esModule",{value:!0});Dn.default=void 0;var mE={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"Device Independence Delivery Unit"}},{concept:{name:"html"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},bE=mE;Dn.default=bE});var bd=p(Bn=>{"use strict";Object.defineProperty(Bn,"__esModule",{value:!0});Bn.default=void 0;var vE={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"em"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},yE=vE;Bn.default=yE});var vd=p(Fn=>{"use strict";Object.defineProperty(Fn,"__esModule",{value:!0});Fn.default=void 0;var hE={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["article"]],requiredProps:{},superClass:[["roletype","structure","section","list"]]},gE=hE;Fn.default=gE});var yd=p(Un=>{"use strict";Object.defineProperty(Un,"__esModule",{value:!0});Un.default=void 0;var EE={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"]]},wE=EE;Un.default=wE});var hd=p($n=>{"use strict";Object.defineProperty($n,"__esModule",{value:!0});$n.default=void 0;var _E={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"]]},CE=_E;$n.default=CE});var gd=p(jn=>{"use strict";Object.defineProperty(jn,"__esModule",{value:!0});jn.default=void 0;var PE={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"a"},module:"HTML"},{concept:{name:"area"},module:"HTML"},{concept:{name:"aside"},module:"HTML"},{concept:{name:"b"},module:"HTML"},{concept:{name:"bdo"},module:"HTML"},{concept:{name:"body"},module:"HTML"},{concept:{name:"data"},module:"HTML"},{concept:{name:"div"},module:"HTML"},{concept:{constraints:["scoped to the main element","scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"footer"},module:"HTML"},{concept:{constraints:["scoped to the main element","scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"header"},module:"HTML"},{concept:{name:"hgroup"},module:"HTML"},{concept:{name:"i"},module:"HTML"},{concept:{name:"pre"},module:"HTML"},{concept:{name:"q"},module:"HTML"},{concept:{name:"samp"},module:"HTML"},{concept:{name:"section"},module:"HTML"},{concept:{name:"small"},module:"HTML"},{concept:{name:"span"},module:"HTML"},{concept:{name:"u"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},TE=PE;jn.default=TE});var Ed=p(Hn=>{"use strict";Object.defineProperty(Hn,"__esModule",{value:!0});Hn.default=void 0;var RE={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-multiselectable":null,"aria-readonly":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["row"],["row","rowgroup"]],requiredProps:{},superClass:[["roletype","widget","composite"],["roletype","structure","section","table"]]},SE=RE;Hn.default=SE});var wd=p(Vn=>{"use strict";Object.defineProperty(Vn,"__esModule",{value:!0});Vn.default=void 0;var xE={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null,"aria-selected":null},relatedConcepts:[{concept:{constraints:["ancestor table element has grid role","ancestor table element has treegrid role"],name:"td"},module:"HTML"}],requireContextRole:["row"],requiredContextRole:["row"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","cell"],["roletype","widget"]]},qE=xE;Vn.default=qE});var _d=p(Wn=>{"use strict";Object.defineProperty(Wn,"__esModule",{value:!0});Wn.default=void 0;var AE={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-disabled":null},relatedConcepts:[{concept:{name:"details"},module:"HTML"},{concept:{name:"fieldset"},module:"HTML"},{concept:{name:"optgroup"},module:"HTML"},{concept:{name:"address"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},ME=AE;Wn.default=ME});var Cd=p(zn=>{"use strict";Object.defineProperty(zn,"__esModule",{value:!0});zn.default=void 0;var kE={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"]]},OE=kE;zn.default=OE});var Pd=p(Kn=>{"use strict";Object.defineProperty(Kn,"__esModule",{value:!0});Kn.default=void 0;var IE={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"]]},NE=IE;Kn.default=NE});var Td=p(Gn=>{"use strict";Object.defineProperty(Gn,"__esModule",{value:!0});Gn.default=void 0;var LE={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"ins"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},DE=LE;Gn.default=DE});var Rd=p(Xn=>{"use strict";Object.defineProperty(Xn,"__esModule",{value:!0});Xn.default=void 0;var BE={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"href"}],name:"a"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"href"}],name:"area"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command"]]},FE=BE;Xn.default=FE});var Sd=p(Yn=>{"use strict";Object.defineProperty(Yn,"__esModule",{value:!0});Yn.default=void 0;var UE={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"]]},$E=UE;Yn.default=$E});var xd=p(Qn=>{"use strict";Object.defineProperty(Qn,"__esModule",{value:!0});Qn.default=void 0;var jE={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-expanded":null,"aria-invalid":null,"aria-multiselectable":null,"aria-readonly":null,"aria-required":null,"aria-orientation":"vertical"},relatedConcepts:[{concept:{attributes:[{constraints:[">1"],name:"size"}],constraints:["the size attribute value is greater than 1"],name:"select"},module:"HTML"},{concept:{attributes:[{name:"multiple"}],name:"select"},module:"HTML"},{concept:{name:"datalist"},module:"HTML"},{concept:{name:"list"},module:"ARIA"},{concept:{name:"select"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["option","group"],["option"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]},HE=jE;Qn.default=HE});var qd=p(Jn=>{"use strict";Object.defineProperty(Jn,"__esModule",{value:!0});Jn.default=void 0;var VE={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-level":null,"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{constraints:["direct descendant of ol","direct descendant of ul","direct descendant of menu"],name:"li"},module:"HTML"},{concept:{name:"item"},module:"XForms"}],requireContextRole:["directory","list"],requiredContextRole:["directory","list"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},WE=VE;Jn.default=WE});var Ad=p(Zn=>{"use strict";Object.defineProperty(Zn,"__esModule",{value:!0});Zn.default=void 0;var zE={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-live":"polite"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},KE=zE;Zn.default=KE});var Md=p(eo=>{"use strict";Object.defineProperty(eo,"__esModule",{value:!0});eo.default=void 0;var GE={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"]]},XE=GE;eo.default=XE});var kd=p(to=>{"use strict";Object.defineProperty(to,"__esModule",{value:!0});to.default=void 0;var YE={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:[],props:{"aria-braillelabel":null,"aria-brailleroledescription":null,"aria-description":null},relatedConcepts:[{concept:{name:"mark"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},QE=YE;to.default=QE});var Od=p(ro=>{"use strict";Object.defineProperty(ro,"__esModule",{value:!0});ro.default=void 0;var JE={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},ZE=JE;ro.default=ZE});var Id=p(no=>{"use strict";Object.defineProperty(no,"__esModule",{value:!0});no.default=void 0;var ew={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"]]},tw=ew;no.default=tw});var Nd=p(oo=>{"use strict";Object.defineProperty(oo,"__esModule",{value:!0});oo.default=void 0;var rw={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"]]},nw=rw;oo.default=nw});var Ld=p(io=>{"use strict";Object.defineProperty(io,"__esModule",{value:!0});io.default=void 0;var ow={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"]]},iw=ow;io.default=iw});var Dd=p(ao=>{"use strict";Object.defineProperty(ao,"__esModule",{value:!0});ao.default=void 0;var aw={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null,"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{name:"MENU_ITEM"},module:"JAPI"},{concept:{name:"listitem"},module:"ARIA"},{concept:{name:"option"},module:"ARIA"}],requireContextRole:["group","menu","menubar"],requiredContextRole:["group","menu","menubar"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command"]]},sw=aw;ao.default=sw});var Bd=p(so=>{"use strict";Object.defineProperty(so,"__esModule",{value:!0});so.default=void 0;var lw={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"]]},uw=lw;so.default=uw});var Fd=p(lo=>{"use strict";Object.defineProperty(lo,"__esModule",{value:!0});lo.default=void 0;var cw={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"]]},dw=cw;lo.default=dw});var Ud=p(uo=>{"use strict";Object.defineProperty(uo,"__esModule",{value:!0});uo.default=void 0;var pw={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-valuetext":null,"aria-valuemax":"100","aria-valuemin":"0"},relatedConcepts:[{concept:{name:"meter"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-valuenow":null},superClass:[["roletype","structure","range"]]},fw=pw;uo.default=fw});var $d=p(co=>{"use strict";Object.defineProperty(co,"__esModule",{value:!0});co.default=void 0;var mw={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"]]},bw=mw;co.default=bw});var jd=p(po=>{"use strict";Object.defineProperty(po,"__esModule",{value:!0});po.default=void 0;var vw={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[]},yw=vw;po.default=yw});var Hd=p(fo=>{"use strict";Object.defineProperty(fo,"__esModule",{value:!0});fo.default=void 0;var hw={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},gw=hw;fo.default=gw});var Vd=p(mo=>{"use strict";Object.defineProperty(mo,"__esModule",{value:!0});mo.default=void 0;var Ew={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"]]},ww=Ew;mo.default=ww});var Wd=p(bo=>{"use strict";Object.defineProperty(bo,"__esModule",{value:!0});bo.default=void 0;var _w={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"p"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},Cw=_w;bo.default=Cw});var zd=p(vo=>{"use strict";Object.defineProperty(vo,"__esModule",{value:!0});vo.default=void 0;var Pw={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{attributes:[{name:"alt",value:""}],name:"img"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},Tw=Pw;vo.default=Tw});var Kd=p(yo=>{"use strict";Object.defineProperty(yo,"__esModule",{value:!0});yo.default=void 0;var Rw={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"]]},Sw=Rw;yo.default=Sw});var Gd=p(ho=>{"use strict";Object.defineProperty(ho,"__esModule",{value:!0});ho.default=void 0;var xw={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"]]},qw=xw;ho.default=qw});var Xd=p(go=>{"use strict";Object.defineProperty(go,"__esModule",{value:!0});go.default=void 0;var Aw={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"]]},Mw=Aw;go.default=Mw});var Yd=p(Eo=>{"use strict";Object.defineProperty(Eo,"__esModule",{value:!0});Eo.default=void 0;var kw={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"aria-label"}],name:"section"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-labelledby"}],name:"section"},module:"HTML"},{concept:{name:"Device Independence Glossart perceivable unit"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},Ow=kw;Eo.default=Ow});var Qd=p(wo=>{"use strict";Object.defineProperty(wo,"__esModule",{value:!0});wo.default=void 0;var Iw={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"]]},Nw=Iw;wo.default=Nw});var Jd=p(_o=>{"use strict";Object.defineProperty(_o,"__esModule",{value:!0});_o.default=void 0;var Lw={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"]]},Dw=Lw;_o.default=Dw});var Zd=p(Co=>{"use strict";Object.defineProperty(Co,"__esModule",{value:!0});Co.default=void 0;var Bw={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"]]},Fw=Bw;Co.default=Fw});var ep=p(Po=>{"use strict";Object.defineProperty(Po,"__esModule",{value:!0});Po.default=void 0;var Uw={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"]]},$w=Uw;Po.default=$w});var tp=p(To=>{"use strict";Object.defineProperty(To,"__esModule",{value:!0});To.default=void 0;var jw={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},Hw=jw;To.default=Hw});var rp=p(Ro=>{"use strict";Object.defineProperty(Ro,"__esModule",{value:!0});Ro.default=void 0;var Vw={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"search"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","input","textbox"]]},Ww=Vw;Ro.default=Ww});var np=p(So=>{"use strict";Object.defineProperty(So,"__esModule",{value:!0});So.default=void 0;var zw={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"]]},Kw=zw;So.default=Kw});var op=p(xo=>{"use strict";Object.defineProperty(xo,"__esModule",{value:!0});xo.default=void 0;var Gw={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"]]},Xw=Gw;xo.default=Xw});var ip=p(qo=>{"use strict";Object.defineProperty(qo,"__esModule",{value:!0});qo.default=void 0;var Yw={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"]]},Qw=Yw;qo.default=Qw});var ap=p(Ao=>{"use strict";Object.defineProperty(Ao,"__esModule",{value:!0});Ao.default=void 0;var Jw={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"]]},Zw=Jw;Ao.default=Zw});var sp=p(Mo=>{"use strict";Object.defineProperty(Mo,"__esModule",{value:!0});Mo.default=void 0;var e_={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"strong"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},t_=e_;Mo.default=t_});var lp=p(ko=>{"use strict";Object.defineProperty(ko,"__esModule",{value:!0});ko.default=void 0;var r_={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"sub"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},n_=r_;ko.default=n_});var up=p(Oo=>{"use strict";Object.defineProperty(Oo,"__esModule",{value:!0});Oo.default=void 0;var o_={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"sup"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},i_=o_;Oo.default=i_});var cp=p(Io=>{"use strict";Object.defineProperty(Io,"__esModule",{value:!0});Io.default=void 0;var a_={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"]]},s_=a_;Io.default=s_});var dp=p(No=>{"use strict";Object.defineProperty(No,"__esModule",{value:!0});No.default=void 0;var l_={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"]]},u_=l_;No.default=u_});var pp=p(Lo=>{"use strict";Object.defineProperty(Lo,"__esModule",{value:!0});Lo.default=void 0;var c_={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"]]},d_=c_;Lo.default=d_});var fp=p(Do=>{"use strict";Object.defineProperty(Do,"__esModule",{value:!0});Do.default=void 0;var p_={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"]]},f_=p_;Do.default=f_});var mp=p(Bo=>{"use strict";Object.defineProperty(Bo,"__esModule",{value:!0});Bo.default=void 0;var m_={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},b_=m_;Bo.default=b_});var bp=p(Fo=>{"use strict";Object.defineProperty(Fo,"__esModule",{value:!0});Fo.default=void 0;var v_={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"]]},y_=v_;Fo.default=y_});var vp=p(Uo=>{"use strict";Object.defineProperty(Uo,"__esModule",{value:!0});Uo.default=void 0;var h_={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-autocomplete":null,"aria-errormessage":null,"aria-haspopup":null,"aria-invalid":null,"aria-multiline":null,"aria-placeholder":null,"aria-readonly":null,"aria-required":null},relatedConcepts:[{concept:{attributes:[{constraints:["undefined"],name:"type"},{constraints:["undefined"],name:"list"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"email"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"tel"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"text"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"url"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{name:"input"},module:"XForms"},{concept:{name:"textarea"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","input"]]},g_=h_;Uo.default=g_});var yp=p($o=>{"use strict";Object.defineProperty($o,"__esModule",{value:!0});$o.default=void 0;var E_={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"time"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},w_=E_;$o.default=w_});var hp=p(jo=>{"use strict";Object.defineProperty(jo,"__esModule",{value:!0});jo.default=void 0;var __={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","status"]]},C_=__;jo.default=C_});var gp=p(Ho=>{"use strict";Object.defineProperty(Ho,"__esModule",{value:!0});Ho.default=void 0;var P_={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"]]},T_=P_;Ho.default=T_});var Ep=p(Vo=>{"use strict";Object.defineProperty(Vo,"__esModule",{value:!0});Vo.default=void 0;var R_={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},S_=R_;Vo.default=S_});var wp=p(Wo=>{"use strict";Object.defineProperty(Wo,"__esModule",{value:!0});Wo.default=void 0;var x_={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"]]},q_=x_;Wo.default=q_});var _p=p(zo=>{"use strict";Object.defineProperty(zo,"__esModule",{value:!0});zo.default=void 0;var A_={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"]]},M_=A_;zo.default=M_});var Cp=p(Ko=>{"use strict";Object.defineProperty(Ko,"__esModule",{value:!0});Ko.default=void 0;var k_={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"]]},O_=k_;Ko.default=O_});var Pp=p(Go=>{"use strict";Object.defineProperty(Go,"__esModule",{value:!0});Go.default=void 0;var I_=_(Xc()),N_=_(Yc()),L_=_(Qc()),D_=_(Jc()),B_=_(Zc()),F_=_(ed()),U_=_(td()),$_=_(rd()),j_=_(nd()),H_=_(od()),V_=_(id()),W_=_(ad()),z_=_(sd()),K_=_(ld()),G_=_(ud()),X_=_(cd()),Y_=_(dd()),Q_=_(pd()),J_=_(fd()),Z_=_(md()),eC=_(bd()),tC=_(vd()),rC=_(yd()),nC=_(hd()),oC=_(gd()),iC=_(Ed()),aC=_(wd()),sC=_(_d()),lC=_(Cd()),uC=_(Pd()),cC=_(Td()),dC=_(Rd()),pC=_(Sd()),fC=_(xd()),mC=_(qd()),bC=_(Ad()),vC=_(Md()),yC=_(kd()),hC=_(Od()),gC=_(Id()),EC=_(Nd()),wC=_(Ld()),_C=_(Dd()),CC=_(Bd()),PC=_(Fd()),TC=_(Ud()),RC=_($d()),SC=_(jd()),xC=_(Hd()),qC=_(Vd()),AC=_(Wd()),MC=_(zd()),kC=_(Kd()),OC=_(Gd()),IC=_(Xd()),NC=_(Yd()),LC=_(Qd()),DC=_(Jd()),BC=_(Zd()),FC=_(ep()),UC=_(tp()),$C=_(rp()),jC=_(np()),HC=_(op()),VC=_(ip()),WC=_(ap()),zC=_(sp()),KC=_(lp()),GC=_(up()),XC=_(cp()),YC=_(dp()),QC=_(pp()),JC=_(fp()),ZC=_(mp()),eP=_(bp()),tP=_(vp()),rP=_(yp()),nP=_(hp()),oP=_(gp()),iP=_(Ep()),aP=_(wp()),sP=_(_p()),lP=_(Cp());function _(e){return e&&e.__esModule?e:{default:e}}var uP=[["alert",I_.default],["alertdialog",N_.default],["application",L_.default],["article",D_.default],["banner",B_.default],["blockquote",F_.default],["button",U_.default],["caption",$_.default],["cell",j_.default],["checkbox",H_.default],["code",V_.default],["columnheader",W_.default],["combobox",z_.default],["complementary",K_.default],["contentinfo",G_.default],["definition",X_.default],["deletion",Y_.default],["dialog",Q_.default],["directory",J_.default],["document",Z_.default],["emphasis",eC.default],["feed",tC.default],["figure",rC.default],["form",nC.default],["generic",oC.default],["grid",iC.default],["gridcell",aC.default],["group",sC.default],["heading",lC.default],["img",uC.default],["insertion",cC.default],["link",dC.default],["list",pC.default],["listbox",fC.default],["listitem",mC.default],["log",bC.default],["main",vC.default],["mark",yC.default],["marquee",hC.default],["math",gC.default],["menu",EC.default],["menubar",wC.default],["menuitem",_C.default],["menuitemcheckbox",CC.default],["menuitemradio",PC.default],["meter",TC.default],["navigation",RC.default],["none",SC.default],["note",xC.default],["option",qC.default],["paragraph",AC.default],["presentation",MC.default],["progressbar",kC.default],["radio",OC.default],["radiogroup",IC.default],["region",NC.default],["row",LC.default],["rowgroup",DC.default],["rowheader",BC.default],["scrollbar",FC.default],["search",UC.default],["searchbox",$C.default],["separator",jC.default],["slider",HC.default],["spinbutton",VC.default],["status",WC.default],["strong",zC.default],["subscript",KC.default],["superscript",GC.default],["switch",XC.default],["tab",YC.default],["table",QC.default],["tablist",JC.default],["tabpanel",ZC.default],["term",eP.default],["textbox",tP.default],["time",rP.default],["timer",nP.default],["toolbar",oP.default],["tooltip",iP.default],["tree",aP.default],["treegrid",sP.default],["treeitem",lP.default]],cP=uP;Go.default=cP});var Tp=p(Xo=>{"use strict";Object.defineProperty(Xo,"__esModule",{value:!0});Xo.default=void 0;var dP={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"abstract [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},pP=dP;Xo.default=pP});var Rp=p(Yo=>{"use strict";Object.defineProperty(Yo,"__esModule",{value:!0});Yo.default=void 0;var fP={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"acknowledgments [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},mP=fP;Yo.default=mP});var Sp=p(Qo=>{"use strict";Object.defineProperty(Qo,"__esModule",{value:!0});Qo.default=void 0;var bP={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"afterword [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},vP=bP;Qo.default=vP});var xp=p(Jo=>{"use strict";Object.defineProperty(Jo,"__esModule",{value:!0});Jo.default=void 0;var yP={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"appendix [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},hP=yP;Jo.default=hP});var qp=p(Zo=>{"use strict";Object.defineProperty(Zo,"__esModule",{value:!0});Zo.default=void 0;var gP={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"referrer [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]},EP=gP;Zo.default=EP});var Ap=p(ei=>{"use strict";Object.defineProperty(ei,"__esModule",{value:!0});ei.default=void 0;var wP={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"EPUB biblioentry [EPUB-SSV]"},module:"EPUB"}],requireContextRole:["doc-bibliography"],requiredContextRole:["doc-bibliography"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","listitem"]]},_P=wP;ei.default=_P});var Mp=p(ti=>{"use strict";Object.defineProperty(ti,"__esModule",{value:!0});ti.default=void 0;var CP={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"]]},PP=CP;ti.default=PP});var kp=p(ri=>{"use strict";Object.defineProperty(ri,"__esModule",{value:!0});ri.default=void 0;var TP={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"]]},RP=TP;ri.default=RP});var Op=p(ni=>{"use strict";Object.defineProperty(ni,"__esModule",{value:!0});ni.default=void 0;var SP={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"]]},xP=SP;ni.default=xP});var Ip=p(oi=>{"use strict";Object.defineProperty(oi,"__esModule",{value:!0});oi.default=void 0;var qP={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"colophon [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},AP=qP;oi.default=AP});var Np=p(ii=>{"use strict";Object.defineProperty(ii,"__esModule",{value:!0});ii.default=void 0;var MP={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"conclusion [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},kP=MP;ii.default=kP});var Lp=p(ai=>{"use strict";Object.defineProperty(ai,"__esModule",{value:!0});ai.default=void 0;var OP={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"cover [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","img"]]},IP=OP;ai.default=IP});var Dp=p(si=>{"use strict";Object.defineProperty(si,"__esModule",{value:!0});si.default=void 0;var NP={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"credit [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},LP=NP;si.default=LP});var Bp=p(li=>{"use strict";Object.defineProperty(li,"__esModule",{value:!0});li.default=void 0;var DP={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"credits [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},BP=DP;li.default=BP});var Fp=p(ui=>{"use strict";Object.defineProperty(ui,"__esModule",{value:!0});ui.default=void 0;var FP={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"dedication [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},UP=FP;ui.default=UP});var Up=p(ci=>{"use strict";Object.defineProperty(ci,"__esModule",{value:!0});ci.default=void 0;var $P={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"]]},jP=$P;ci.default=jP});var $p=p(di=>{"use strict";Object.defineProperty(di,"__esModule",{value:!0});di.default=void 0;var HP={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"rearnotes [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["doc-endnote"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},VP=HP;di.default=VP});var jp=p(pi=>{"use strict";Object.defineProperty(pi,"__esModule",{value:!0});pi.default=void 0;var WP={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"]]},zP=WP;pi.default=zP});var Hp=p(fi=>{"use strict";Object.defineProperty(fi,"__esModule",{value:!0});fi.default=void 0;var KP={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"epilogue [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},GP=KP;fi.default=GP});var Vp=p(mi=>{"use strict";Object.defineProperty(mi,"__esModule",{value:!0});mi.default=void 0;var XP={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"errata [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},YP=XP;mi.default=YP});var Wp=p(bi=>{"use strict";Object.defineProperty(bi,"__esModule",{value:!0});bi.default=void 0;var QP={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},JP=QP;bi.default=JP});var zp=p(vi=>{"use strict";Object.defineProperty(vi,"__esModule",{value:!0});vi.default=void 0;var ZP={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"footnote [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},eT=ZP;vi.default=eT});var Kp=p(yi=>{"use strict";Object.defineProperty(yi,"__esModule",{value:!0});yi.default=void 0;var tT={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"]]},rT=tT;yi.default=rT});var Gp=p(hi=>{"use strict";Object.defineProperty(hi,"__esModule",{value:!0});hi.default=void 0;var nT={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"]]},oT=nT;hi.default=oT});var Xp=p(gi=>{"use strict";Object.defineProperty(gi,"__esModule",{value:!0});gi.default=void 0;var iT={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"]]},aT=iT;gi.default=aT});var Yp=p(Ei=>{"use strict";Object.defineProperty(Ei,"__esModule",{value:!0});Ei.default=void 0;var sT={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"]]},lT=sT;Ei.default=lT});var Qp=p(wi=>{"use strict";Object.defineProperty(wi,"__esModule",{value:!0});wi.default=void 0;var uT={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"]]},cT=uT;wi.default=cT});var Jp=p(_i=>{"use strict";Object.defineProperty(_i,"__esModule",{value:!0});_i.default=void 0;var dT={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"]]},pT=dT;_i.default=pT});var Zp=p(Ci=>{"use strict";Object.defineProperty(Ci,"__esModule",{value:!0});Ci.default=void 0;var fT={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"]]},mT=fT;Ci.default=mT});var ef=p(Pi=>{"use strict";Object.defineProperty(Pi,"__esModule",{value:!0});Pi.default=void 0;var bT={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"]]},vT=bT;Pi.default=vT});var tf=p(Ti=>{"use strict";Object.defineProperty(Ti,"__esModule",{value:!0});Ti.default=void 0;var yT={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"]]},hT=yT;Ti.default=hT});var rf=p(Ri=>{"use strict";Object.defineProperty(Ri,"__esModule",{value:!0});Ri.default=void 0;var gT={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"]]},ET=gT;Ri.default=ET});var nf=p(Si=>{"use strict";Object.defineProperty(Si,"__esModule",{value:!0});Si.default=void 0;var wT={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"]]},_T=wT;Si.default=_T});var of=p(xi=>{"use strict";Object.defineProperty(xi,"__esModule",{value:!0});xi.default=void 0;var CT={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"]]},PT=CT;xi.default=PT});var af=p(qi=>{"use strict";Object.defineProperty(qi,"__esModule",{value:!0});qi.default=void 0;var TT={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"]]},RT=TT;qi.default=RT});var sf=p(Ai=>{"use strict";Object.defineProperty(Ai,"__esModule",{value:!0});Ai.default=void 0;var ST={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"]]},xT=ST;Ai.default=xT});var lf=p(Mi=>{"use strict";Object.defineProperty(Mi,"__esModule",{value:!0});Mi.default=void 0;var qT={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"]]},AT=qT;Mi.default=AT});var uf=p(ki=>{"use strict";Object.defineProperty(ki,"__esModule",{value:!0});ki.default=void 0;var MT={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"]]},kT=MT;ki.default=kT});var cf=p(Oi=>{"use strict";Object.defineProperty(Oi,"__esModule",{value:!0});Oi.default=void 0;var OT={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"]]},IT=OT;Oi.default=IT});var df=p(Ii=>{"use strict";Object.defineProperty(Ii,"__esModule",{value:!0});Ii.default=void 0;var NT=k(Tp()),LT=k(Rp()),DT=k(Sp()),BT=k(xp()),FT=k(qp()),UT=k(Ap()),$T=k(Mp()),jT=k(kp()),HT=k(Op()),VT=k(Ip()),WT=k(Np()),zT=k(Lp()),KT=k(Dp()),GT=k(Bp()),XT=k(Fp()),YT=k(Up()),QT=k($p()),JT=k(jp()),ZT=k(Hp()),eR=k(Vp()),tR=k(Wp()),rR=k(zp()),nR=k(Kp()),oR=k(Gp()),iR=k(Xp()),aR=k(Yp()),sR=k(Qp()),lR=k(Jp()),uR=k(Zp()),cR=k(ef()),dR=k(tf()),pR=k(rf()),fR=k(nf()),mR=k(of()),bR=k(af()),vR=k(sf()),yR=k(lf()),hR=k(uf()),gR=k(cf());function k(e){return e&&e.__esModule?e:{default:e}}var ER=[["doc-abstract",NT.default],["doc-acknowledgments",LT.default],["doc-afterword",DT.default],["doc-appendix",BT.default],["doc-backlink",FT.default],["doc-biblioentry",UT.default],["doc-bibliography",$T.default],["doc-biblioref",jT.default],["doc-chapter",HT.default],["doc-colophon",VT.default],["doc-conclusion",WT.default],["doc-cover",zT.default],["doc-credit",KT.default],["doc-credits",GT.default],["doc-dedication",XT.default],["doc-endnote",YT.default],["doc-endnotes",QT.default],["doc-epigraph",JT.default],["doc-epilogue",ZT.default],["doc-errata",eR.default],["doc-example",tR.default],["doc-footnote",rR.default],["doc-foreword",nR.default],["doc-glossary",oR.default],["doc-glossref",iR.default],["doc-index",aR.default],["doc-introduction",sR.default],["doc-noteref",lR.default],["doc-notice",uR.default],["doc-pagebreak",cR.default],["doc-pagelist",dR.default],["doc-part",pR.default],["doc-preface",fR.default],["doc-prologue",mR.default],["doc-pullquote",bR.default],["doc-qna",vR.default],["doc-subtitle",yR.default],["doc-tip",hR.default],["doc-toc",gR.default]],wR=ER;Ii.default=wR});var pf=p(Ni=>{"use strict";Object.defineProperty(Ni,"__esModule",{value:!0});Ni.default=void 0;var _R={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"]]},CR=_R;Ni.default=CR});var ff=p(Li=>{"use strict";Object.defineProperty(Li,"__esModule",{value:!0});Li.default=void 0;var PR={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"]]},TR=PR;Li.default=TR});var mf=p(Di=>{"use strict";Object.defineProperty(Di,"__esModule",{value:!0});Di.default=void 0;var RR={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"]]},SR=RR;Di.default=SR});var bf=p(Bi=>{"use strict";Object.defineProperty(Bi,"__esModule",{value:!0});Bi.default=void 0;var xR=cs(pf()),qR=cs(ff()),AR=cs(mf());function cs(e){return e&&e.__esModule?e:{default:e}}var MR=[["graphics-document",xR.default],["graphics-object",qR.default],["graphics-symbol",AR.default]],kR=MR;Bi.default=kR});var Ui=p(Fi=>{"use strict";Object.defineProperty(Fi,"__esModule",{value:!0});Fi.default=void 0;var OR=ir(Gc()),IR=ir(Pp()),NR=ir(df()),LR=ir(bf()),DR=ir(Ct());function ir(e){return e&&e.__esModule?e:{default:e}}function BR(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ds(e,t){var r=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=yf(e))||t&&e&&typeof e.length=="number"){r&&(e=r);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(u){throw u},f:o}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
10
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var i=!0,a=!1,s;return{s:function(){r=r.call(e)},n:function(){var u=r.next();return i=u.done,u},e:function(u){a=!0,s=u},f:function(){try{!i&&r.return!=null&&r.return()}finally{if(a)throw s}}}}function or(e,t){return $R(e)||UR(e,t)||yf(e,t)||FR()}function FR(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
11
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function yf(e,t){if(e){if(typeof e=="string")return vf(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 vf(e,t)}}function vf(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 UR(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n=[],o=!0,i=!1,a,s;try{for(r=r.call(e);!(o=(a=r.next()).done)&&(n.push(a.value),!(t&&n.length===t));o=!0);}catch(l){i=!0,s=l}finally{try{!o&&r.return!=null&&r.return()}finally{if(i)throw s}}return n}}function $R(e){if(Array.isArray(e))return e}var Ge=[].concat(OR.default,IR.default,NR.default,LR.default);Ge.forEach(function(e){var t=or(e,2),r=t[1],n=ds(r.superClass),o;try{for(n.s();!(o=n.n()).done;){var i=o.value,a=ds(i),s;try{var l=function(){var c=s.value,d=Ge.find(function(T){var f=or(T,1),g=f[0];return g===c});if(d)for(var m=d[1],y=0,P=Object.keys(m.props);y<P.length;y++){var C=P[y];Object.prototype.hasOwnProperty.call(r.props,C)||Object.assign(r.props,BR({},C,m.props[C]))}};for(a.s();!(s=a.n()).done;)l()}catch(u){a.e(u)}finally{a.f()}}}catch(u){n.e(u)}finally{n.f()}});var ps={entries:function(){return Ge},forEach:function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,n=ds(Ge),o;try{for(n.s();!(o=n.n()).done;){var i=or(o.value,2),a=i[0],s=i[1];t.call(r,s,a,Ge)}}catch(l){n.e(l)}finally{n.f()}},get:function(t){var r=Ge.find(function(n){return n[0]===t});return r&&r[1]},has:function(t){return!!ps.get(t)},keys:function(){return Ge.map(function(t){var r=or(t,1),n=r[0];return n})},values:function(){return Ge.map(function(t){var r=or(t,2),n=r[1];return n})}},jR=(0,DR.default)(ps,ps.entries());Fi.default=jR});var Ef=p(gf=>{var hf=Object.prototype.hasOwnProperty;function fs(e,t){var r,n;if(e===t)return!0;if(e&&t&&(r=e.constructor)===t.constructor){if(r===Date)return e.getTime()===t.getTime();if(r===RegExp)return e.toString()===t.toString();if(r===Array){if((n=e.length)===t.length)for(;n--&&fs(e[n],t[n]););return n===-1}if(!r||typeof e=="object"){n=0;for(r in e)if(hf.call(e,r)&&++n&&!hf.call(t,r)||!(r in t)||!fs(e[r],t[r]))return!1;return Object.keys(t).length===n}}return e!==e&&t!==t}gf.dequal=fs});var Sf=p(Wi=>{"use strict";Object.defineProperty(Wi,"__esModule",{value:!0});Wi.default=void 0;var Cf=Ef(),HR=Tf(Ct()),Pf=Tf(Ui());function Tf(e){return e&&e.__esModule?e:{default:e}}function ms(e,t){return zR(e)||WR(e,t)||Rf(e,t)||VR()}function VR(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
12
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function WR(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n=[],o=!0,i=!1,a,s;try{for(r=r.call(e);!(o=(a=r.next()).done)&&(n.push(a.value),!(t&&n.length===t));o=!0);}catch(l){i=!0,s=l}finally{try{!o&&r.return!=null&&r.return()}finally{if(i)throw s}}return n}}function zR(e){if(Array.isArray(e))return e}function KR(e,t){var r=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=Rf(e))||t&&e&&typeof e.length=="number"){r&&(e=r);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(u){throw u},f:o}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
13
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var i=!0,a=!1,s;return{s:function(){r=r.call(e)},n:function(){var u=r.next();return i=u.done,u},e:function(u){a=!0,s=u},f:function(){try{!i&&r.return!=null&&r.return()}finally{if(a)throw s}}}}function Rf(e,t){if(e){if(typeof e=="string")return wf(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 wf(e,t)}}function wf(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 Xe=[],_f=Pf.default.keys();for($i=0;$i<_f.length;$i++)if(ji=_f[$i],Hi=Pf.default.get(ji),Hi)for(bs=[].concat(Hi.baseConcepts,Hi.relatedConcepts),Vi=0;Vi<bs.length;Vi++)vs=bs[Vi],vs.module==="HTML"&&(function(){var e=vs.concept;if(e){var t=Xe.find(function(i){return(0,Cf.dequal)(i,e)}),r;t?r=t[1]:r=[];for(var n=!0,o=0;o<r.length;o++)if(r[o]===ji){n=!1;break}n&&r.push(ji),Xe.push([e,r])}})();var ji,Hi,bs,vs,Vi,$i,ys={entries:function(){return Xe},forEach:function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,n=KR(Xe),o;try{for(n.s();!(o=n.n()).done;){var i=ms(o.value,2),a=i[0],s=i[1];t.call(r,s,a,Xe)}}catch(l){n.e(l)}finally{n.f()}},get:function(t){var r=Xe.find(function(n){return t.name===n[0].name&&(0,Cf.dequal)(t.attributes,n[0].attributes)});return r&&r[1]},has:function(t){return!!ys.get(t)},keys:function(){return Xe.map(function(t){var r=ms(t,1),n=r[0];return n})},values:function(){return Xe.map(function(t){var r=ms(t,2),n=r[1];return n})}},GR=(0,HR.default)(ys,ys.entries());Wi.default=GR});var Of=p(Yi=>{"use strict";Object.defineProperty(Yi,"__esModule",{value:!0});Yi.default=void 0;var XR=Mf(Ct()),Af=Mf(Ui());function Mf(e){return e&&e.__esModule?e:{default:e}}function hs(e,t){return JR(e)||QR(e,t)||kf(e,t)||YR()}function YR(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
14
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function QR(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n=[],o=!0,i=!1,a,s;try{for(r=r.call(e);!(o=(a=r.next()).done)&&(n.push(a.value),!(t&&n.length===t));o=!0);}catch(l){i=!0,s=l}finally{try{!o&&r.return!=null&&r.return()}finally{if(i)throw s}}return n}}function JR(e){if(Array.isArray(e))return e}function ZR(e,t){var r=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=kf(e))||t&&e&&typeof e.length=="number"){r&&(e=r);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(u){throw u},f:o}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
15
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var i=!0,a=!1,s;return{s:function(){r=r.call(e)},n:function(){var u=r.next();return i=u.done,u},e:function(u){a=!0,s=u},f:function(){try{!i&&r.return!=null&&r.return()}finally{if(a)throw s}}}}function kf(e,t){if(e){if(typeof e=="string")return xf(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 xf(e,t)}}function xf(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 nt=[],qf=Af.default.keys();for(zi=0;zi<qf.length;zi++)if(gs=qf[zi],Ki=Af.default.get(gs),Gi=[],Ki){for(Es=[].concat(Ki.baseConcepts,Ki.relatedConcepts),Xi=0;Xi<Es.length;Xi++)ws=Es[Xi],ws.module==="HTML"&&(_s=ws.concept,_s!=null&&Gi.push(_s));Gi.length>0&&nt.push([gs,Gi])}var gs,Ki,Gi,Es,ws,_s,Xi,zi,Cs={entries:function(){return nt},forEach:function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,n=ZR(nt),o;try{for(n.s();!(o=n.n()).done;){var i=hs(o.value,2),a=i[0],s=i[1];t.call(r,s,a,nt)}}catch(l){n.e(l)}finally{n.f()}},get:function(t){var r=nt.find(function(n){return n[0]===t});return r&&r[1]},has:function(t){return!!Cs.get(t)},keys:function(){return nt.map(function(t){var r=hs(t,1),n=r[0];return n})},values:function(){return nt.map(function(t){var r=hs(t,2),n=r[1];return n})}},eS=(0,XR.default)(Cs,Cs.entries());Yi.default=eS});var If=p(me=>{"use strict";Object.defineProperty(me,"__esModule",{value:!0});me.roles=me.roleElements=me.elementRoles=me.dom=me.aria=void 0;var tS=ar(kc()),rS=ar(Nc()),nS=ar(Ui()),oS=ar(Sf()),iS=ar(Of());function ar(e){return e&&e.__esModule?e:{default:e}}var aS=tS.default;me.aria=aS;var sS=rS.default;me.dom=sS;var lS=nS.default;me.roles=lS;var uS=oS.default;me.elementRoles=uS;var cS=iS.default;me.roleElements=cS});var Nf=p((VI,Qi)=>{var Ps=(function(){var e=String.fromCharCode,t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-$",n={};function o(a,s){if(!n[a]){n[a]={};for(var l=0;l<a.length;l++)n[a][a.charAt(l)]=l}return n[a][s]}var i={compressToBase64:function(a){if(a==null)return"";var s=i._compress(a,6,function(l){return t.charAt(l)});switch(s.length%4){default:case 0:return s;case 1:return s+"===";case 2:return s+"==";case 3:return s+"="}},decompressFromBase64:function(a){return a==null?"":a==""?null:i._decompress(a.length,32,function(s){return o(t,a.charAt(s))})},compressToUTF16:function(a){return a==null?"":i._compress(a,15,function(s){return e(s+32)})+" "},decompressFromUTF16:function(a){return a==null?"":a==""?null:i._decompress(a.length,16384,function(s){return a.charCodeAt(s)-32})},compressToUint8Array:function(a){for(var s=i.compress(a),l=new Uint8Array(s.length*2),u=0,c=s.length;u<c;u++){var d=s.charCodeAt(u);l[u*2]=d>>>8,l[u*2+1]=d%256}return l},decompressFromUint8Array:function(a){if(a==null)return i.decompress(a);for(var s=new Array(a.length/2),l=0,u=s.length;l<u;l++)s[l]=a[l*2]*256+a[l*2+1];var c=[];return s.forEach(function(d){c.push(e(d))}),i.decompress(c.join(""))},compressToEncodedURIComponent:function(a){return a==null?"":i._compress(a,6,function(s){return r.charAt(s)})},decompressFromEncodedURIComponent:function(a){return a==null?"":a==""?null:(a=a.replace(/ /g,"+"),i._decompress(a.length,32,function(s){return o(r,a.charAt(s))}))},compress:function(a){return i._compress(a,16,function(s){return e(s)})},_compress:function(a,s,l){if(a==null)return"";var u,c,d={},m={},y="",P="",C="",T=2,f=3,g=2,w=[],h=0,E=0,A;for(A=0;A<a.length;A+=1)if(y=a.charAt(A),Object.prototype.hasOwnProperty.call(d,y)||(d[y]=f++,m[y]=!0),P=C+y,Object.prototype.hasOwnProperty.call(d,P))C=P;else{if(Object.prototype.hasOwnProperty.call(m,C)){if(C.charCodeAt(0)<256){for(u=0;u<g;u++)h=h<<1,E==s-1?(E=0,w.push(l(h)),h=0):E++;for(c=C.charCodeAt(0),u=0;u<8;u++)h=h<<1|c&1,E==s-1?(E=0,w.push(l(h)),h=0):E++,c=c>>1}else{for(c=1,u=0;u<g;u++)h=h<<1|c,E==s-1?(E=0,w.push(l(h)),h=0):E++,c=0;for(c=C.charCodeAt(0),u=0;u<16;u++)h=h<<1|c&1,E==s-1?(E=0,w.push(l(h)),h=0):E++,c=c>>1}T--,T==0&&(T=Math.pow(2,g),g++),delete m[C]}else for(c=d[C],u=0;u<g;u++)h=h<<1|c&1,E==s-1?(E=0,w.push(l(h)),h=0):E++,c=c>>1;T--,T==0&&(T=Math.pow(2,g),g++),d[P]=f++,C=String(y)}if(C!==""){if(Object.prototype.hasOwnProperty.call(m,C)){if(C.charCodeAt(0)<256){for(u=0;u<g;u++)h=h<<1,E==s-1?(E=0,w.push(l(h)),h=0):E++;for(c=C.charCodeAt(0),u=0;u<8;u++)h=h<<1|c&1,E==s-1?(E=0,w.push(l(h)),h=0):E++,c=c>>1}else{for(c=1,u=0;u<g;u++)h=h<<1|c,E==s-1?(E=0,w.push(l(h)),h=0):E++,c=0;for(c=C.charCodeAt(0),u=0;u<16;u++)h=h<<1|c&1,E==s-1?(E=0,w.push(l(h)),h=0):E++,c=c>>1}T--,T==0&&(T=Math.pow(2,g),g++),delete m[C]}else for(c=d[C],u=0;u<g;u++)h=h<<1|c&1,E==s-1?(E=0,w.push(l(h)),h=0):E++,c=c>>1;T--,T==0&&(T=Math.pow(2,g),g++)}for(c=2,u=0;u<g;u++)h=h<<1|c&1,E==s-1?(E=0,w.push(l(h)),h=0):E++,c=c>>1;for(;;)if(h=h<<1,E==s-1){w.push(l(h));break}else E++;return w.join("")},decompress:function(a){return a==null?"":a==""?null:i._decompress(a.length,32768,function(s){return a.charCodeAt(s)})},_decompress:function(a,s,l){var u=[],c,d=4,m=4,y=3,P="",C=[],T,f,g,w,h,E,A,R={val:l(0),position:s,index:1};for(T=0;T<3;T+=1)u[T]=T;for(g=0,h=Math.pow(2,2),E=1;E!=h;)w=R.val&R.position,R.position>>=1,R.position==0&&(R.position=s,R.val=l(R.index++)),g|=(w>0?1:0)*E,E<<=1;switch(c=g){case 0:for(g=0,h=Math.pow(2,8),E=1;E!=h;)w=R.val&R.position,R.position>>=1,R.position==0&&(R.position=s,R.val=l(R.index++)),g|=(w>0?1:0)*E,E<<=1;A=e(g);break;case 1:for(g=0,h=Math.pow(2,16),E=1;E!=h;)w=R.val&R.position,R.position>>=1,R.position==0&&(R.position=s,R.val=l(R.index++)),g|=(w>0?1:0)*E,E<<=1;A=e(g);break;case 2:return""}for(u[3]=A,f=A,C.push(A);;){if(R.index>a)return"";for(g=0,h=Math.pow(2,y),E=1;E!=h;)w=R.val&R.position,R.position>>=1,R.position==0&&(R.position=s,R.val=l(R.index++)),g|=(w>0?1:0)*E,E<<=1;switch(A=g){case 0:for(g=0,h=Math.pow(2,8),E=1;E!=h;)w=R.val&R.position,R.position>>=1,R.position==0&&(R.position=s,R.val=l(R.index++)),g|=(w>0?1:0)*E,E<<=1;u[m++]=e(g),A=m-1,d--;break;case 1:for(g=0,h=Math.pow(2,16),E=1;E!=h;)w=R.val&R.position,R.position>>=1,R.position==0&&(R.position=s,R.val=l(R.index++)),g|=(w>0?1:0)*E,E<<=1;u[m++]=e(g),A=m-1,d--;break;case 2:return C.join("")}if(d==0&&(d=Math.pow(2,y),y++),u[A])P=u[A];else if(A===m)P=f+f.charAt(0);else return null;C.push(P),u[m++]=f+P.charAt(0),d--,f=P,d==0&&(d=Math.pow(2,y),y++)}}};return i})();typeof define=="function"&&define.amd?define(function(){return Ps}):typeof Qi<"u"&&Qi!=null?Qi.exports=Ps:typeof angular<"u"&&angular!=null&&angular.module("LZString",[]).factory("LZString",function(){return Ps})});var Ma=null;function cl(e){Ma=e}function Pe(){if(!Ma)throw new Error("No active driver bound to worker runtime");return Ma}var Ot={activePlatform:"web",configuredBaseUrl:"http://localhost:3000",driverServerUrl:"tcp://127.0.0.1:8200",defaultElementWaitMs:5e3,defaultNavigationWaitMs:1e4,defaultPollIntervalMs:20,defaultReadyPollIntervalMs:50},Ne=null;function It(){if(Ne)return Ne;if(globalThis.__TESTSPECTRA_CONFIG__)return Ne=globalThis.__TESTSPECTRA_CONFIG__,Ne;if(typeof process<"u"&&process.env?.TESTSPECTRA_CONFIG)try{return Ne=JSON.parse(process.env.TESTSPECTRA_CONFIG),Ne}catch{}return Ne={rootDir:typeof process<"u"?process.cwd():"",testFilePath:"",activePlatform:Ot.activePlatform,configuredBaseUrl:Ot.configuredBaseUrl,cdpWsUrl:"",driverServerUrl:Ot.driverServerUrl,manifest:{page_objects:[],fixtures:[],steps:[],actions:[],global_hooks:[],suite_hooks:{}}},Ne}var dl=null;function pl(e,t,r,n){dl&&dl(e,t,r,n)}function qr(){return It().implicitWaitMs??Ot.defaultElementWaitMs}function I(){return Math.min(qr(),2e3)}function Sr(e,t){console.log(`[${e}] ${t}`)}var xr={index:0,label:""},ka;function fl(e){if(e==null)return"";if(typeof e=="string")return e;let t=e;return t.parent?`${t.selector} within ${fl(t.parent)}`:String(t.selector??"")}function Jb(e){let t=typeof process<"u"?process.env?.TESTSPECTRA_DELAY_STEPS:void 0;return t?t.split(",").some(r=>{let[n,o=n]=r.split("-").map(i=>Number(i.trim()));return Number.isFinite(n)&&e>=n&&e<=o}):!0}async function x(e,t,r){let n=It(),o=globalThis.__CURRENT_TEST_TITLE__||globalThis.__CURRENT_TEST_ID__||"",i=globalThis.__TESTSPECTRA_WORKER_ID__;o&&!t.test&&(t.test=o),i!==void 0&&t.workerId===void 0&&(t.workerId=i),xr={index:xr.index+1,label:`${t.key} ${fl(t.target)}`.trim()},t.step=xr.index,ka=void 0,Sr("TESTSPECTRA_STEP_START",JSON.stringify(t));let a=Date.now(),s=()=>(ka&&(t.resolved=ka),JSON.stringify(t));try{let l=await r(),u=Date.now()-a;Sr("TESTSPECTRA_STEP_PASS",`${s()} (${u}ms)`),pl(`step:${t.key}`,e,u,{test:o,target:t.target});let c=n.stepDelayMs||0;return c>0&&Jb(xr.index)&&await new Promise(d=>setTimeout(d,c)),l}catch(l){let u=Date.now()-a;throw Sr("TESTSPECTRA_STEP_FAIL",`${s()} (${u}ms)`),pl(`step:${t.key}`,e,u,{test:o,target:t.target,failed:!0}),Sr("TESTSPECTRA_TEST_ERROR",l?.message||String(l)),l}}async function M(e,t,r=15){let n=t??qr(),o=Date.now();for(;Date.now()-o<n;){try{if(await e())return!0}catch{}await new Promise(i=>setTimeout(i,r))}try{return await e()}catch{return!1}}function ml(e,t,r){let n=()=>Pe(),o=typeof e=="string"?e:e.selector;async function i(b){return x("assertion",{type:"assertion",key:"be.visible",target:e,args:[]},async()=>{if(!await M(()=>r.isVisible(),b?.timeoutMs??I()))throw new Error(`Expected element "${o}" to be visible`)})}async function a(b){return x("assertion",{type:"assertion",key:"not.be.visible",target:e,args:[]},async()=>{if(!await M(async()=>!await r.isVisible(),b?.timeoutMs??I()))throw new Error(`Expected element "${o}" not to be visible`)})}async function s(b){return x("assertion",{type:"assertion",key:"exist",target:e,args:[]},async()=>{if(!await M(()=>r.isExisting(),b?.timeoutMs??I()))throw new Error(`Expected element "${o}" to exist in DOM`)})}async function l(b){return x("assertion",{type:"assertion",key:"not.exist",target:e,args:[]},async()=>{if(!await M(async()=>!await r.isExisting(),b?.timeoutMs??I()))throw new Error(`Expected element "${o}" not to exist in DOM`)})}async function u(b){return x("assertion",{type:"assertion",key:"be.enabled",target:e,args:[]},async()=>{if(!await M(()=>r.isEnabled(),b?.timeoutMs??I()))throw new Error(`Expected element "${o}" to be enabled`)})}async function c(b){return x("assertion",{type:"assertion",key:"be.disabled",target:e,args:[]},async()=>{if(!await M(async()=>!await r.isEnabled(),b?.timeoutMs??I()))throw new Error(`Expected element "${o}" to be disabled`)})}async function d(b){return x("assertion",{type:"assertion",key:"be.clickable",target:e,args:[]},async()=>{if(!await M(()=>n().isClickable(e,t),b?.timeoutMs??I()))throw new Error(`Expected element "${o}" to be clickable`)})}async function m(b){return x("assertion",{type:"assertion",key:"not.be.clickable",target:e,args:[]},async()=>{if(!await M(async()=>!await n().isClickable(e,t),b?.timeoutMs??I()))throw new Error(`Expected element "${o}" not to be clickable`)})}async function y(b){return x("assertion",{type:"assertion",key:"be.checked",target:e,args:[]},async()=>{if(!await M(()=>r.isChecked(),b?.timeoutMs??I()))throw new Error(`Expected element "${o}" to be checked`)})}async function P(b){return x("assertion",{type:"assertion",key:"not.be.checked",target:e,args:[]},async()=>{if(!await M(async()=>!await r.isChecked(),b?.timeoutMs??I()))throw new Error(`Expected element "${o}" not to be checked`)})}async function C(b){return x("assertion",{type:"assertion",key:"be.focused",target:e,args:[]},async()=>{if(!await M(()=>r.isFocused(),b?.timeoutMs??I()))throw new Error(`Expected element "${o}" to be focused`)})}async function T(b){return x("assertion",{type:"assertion",key:"not.be.focused",target:e,args:[]},async()=>{if(!await M(async()=>!await r.isFocused(),b?.timeoutMs??I()))throw new Error(`Expected element "${o}" not to be focused`)})}async function f(b,v){return x("assertion",{type:"assertion",key:"have.value",target:e,args:[b]},async()=>{let S="";if(!await M(async()=>(S=await r.getValue(),S===String(b)),v?.timeoutMs??I()))throw new Error(`Expected element "${o}" to have value "${b}", but got "${S}"`)})}async function g(b,v){return x("assertion",{type:"assertion",key:"not.have.value",target:e,args:[b]},async()=>{if(!await M(async()=>await r.getValue()!==String(b),v?.timeoutMs??I()))throw new Error(`Expected element "${o}" not to have value "${b}"`)})}async function w(b,v){return x("assertion",{type:"assertion",key:"contain.value",target:e,args:[b]},async()=>{let S="";if(!await M(async()=>(S=await r.getValue(),S.includes(String(b))),v?.timeoutMs??I()))throw new Error(`Expected element "${o}" to contain value "${b}", but got "${S}"`)})}async function h(b,v){return x("assertion",{type:"assertion",key:"not.contain.value",target:e,args:[b]},async()=>{if(!await M(async()=>!(await r.getValue()).includes(String(b)),v?.timeoutMs??I()))throw new Error(`Expected element "${o}" not to contain value "${b}"`)})}async function E(b,v){return x("assertion",{type:"assertion",key:"have.text",target:e,args:[b]},async()=>{let S="";if(!await M(async()=>(S=await r.getText(),b instanceof RegExp?b.test(S):S===String(b)||S.trim()===String(b).trim()),v?.timeoutMs??I()))throw b instanceof RegExp?new Error(`Expected element "${o}" text to match ${b}, but got "${S}"`):new Error(`Expected element "${o}" to have text "${b}", but got "${S}"`)})}async function A(b,v){return x("assertion",{type:"assertion",key:"not.have.text",target:e,args:[b]},async()=>{let S="";if(!await M(async()=>await r.isExisting()?(S=await r.getText(),b instanceof RegExp?!b.test(S):S!==String(b)&&S.trim()!==String(b).trim()):!1,v?.timeoutMs??I()))throw b instanceof RegExp?new Error(`Expected element "${o}" text not to match ${b}`):new Error(`Expected element "${o}" not to have text "${b}"`)})}async function R(b,v){return x("assertion",{type:"assertion",key:"contain.text",target:e,args:[b]},async()=>{let S="";if(!await M(async()=>(S=await r.getText(),S.includes(String(b))),v?.timeoutMs??I()))throw new Error(`Expected element "${o}" to contain text "${b}", but got "${S}"`)})}async function H(b,v){return x("assertion",{type:"assertion",key:"not.contain.text",target:e,args:[b]},async()=>{if(!await M(async()=>!(await r.getText()).includes(String(b)),v?.timeoutMs??I()))throw new Error(`Expected element "${o}" not to contain text "${b}"`)})}async function F(b,v){return x("assertion",{type:"assertion",key:"have.class",target:e,args:[b]},async()=>{if(!await M(()=>n().hasClass(e,b,t),v?.timeoutMs??I()))throw new Error(`Expected element "${o}" to have class "${b}"`)})}async function W(b,v){return x("assertion",{type:"assertion",key:"not.have.class",target:e,args:[b]},async()=>{if(!await M(async()=>!await n().hasClass(e,b,t),v?.timeoutMs??I()))throw new Error(`Expected element "${o}" not to have class "${b}"`)})}async function K(b,v,S){return x("assertion",{type:"assertion",key:"have.attr",target:e,args:v!==void 0?[b,v]:[b]},async()=>{let D=null;if(!await M(async()=>(D=await r.getAttribute(b),v!==void 0?D===String(v):D!==null),S?.timeoutMs??I()))throw v!==void 0?new Error(`Expected element "${o}" to have attribute "${b}" = "${v}", but got "${D}"`):new Error(`Expected element "${o}" to have attribute "${b}"`)})}async function O(b,v){return x("assertion",{type:"assertion",key:"not.have.attr",target:e,args:[b]},async()=>{if(!await M(async()=>await r.getAttribute(b)===null,v?.timeoutMs??I()))throw new Error(`Expected element "${o}" not to have attribute "${b}"`)})}async function G(b,v,S){return x("assertion",{type:"assertion",key:"have.css",target:e,args:[b,v]},async()=>{let D=le=>String(le??"").replace(/\s+/g,"").replace(/rgba\((.+?),1\)/,"rgb($1)").toLowerCase(),L="";if(!await M(async()=>(L=(await r.getCSSProperty(b)).value,D(L)===D(v)),S?.timeoutMs??I()))throw new Error(`Expected element "${o}" to have CSS "${b}" = "${v}", but got "${L}"`)})}async function Q(b,v,S){return x("assertion",{type:"assertion",key:"not.have.css",target:e,args:[b,v]},async()=>{let D=pe=>String(pe??"").replace(/\s+/g,"").replace(/rgba\((.+?),1\)/,"rgb($1)").toLowerCase();if(!await M(async()=>{let pe=await r.getCSSProperty(b);return D(pe.value)!==D(v)},S?.timeoutMs??I()))throw new Error(`Expected element "${o}" not to have CSS "${b}" = "${v}"`)})}return{shouldBeVisible:i,shouldNotBeVisible:a,shouldExist:s,shouldNotExist:l,shouldBeEnabled:u,shouldBeDisabled:c,shouldBeClickable:d,shouldNotBeClickable:m,shouldBeChecked:y,shouldNotBeChecked:P,shouldBeFocused:C,shouldNotBeFocused:T,shouldHaveValue:f,shouldNotHaveValue:g,shouldContainValue:w,shouldNotContainValue:h,shouldHaveText:E,shouldNotHaveText:A,shouldContainText:R,shouldNotContainText:H,shouldHaveClass:F,shouldNotHaveClass:W,shouldHaveAttribute:K,shouldNotHaveAttribute:O,shouldHaveCss:G,shouldNotHaveCss:Q}}var bl=new Map;function vl(e,t){bl.set(e,t)}function yl(){return bl.entries()}var hl=Symbol("testspectra.elementScope");function gl(e,t){Object.defineProperty(e,hl,{value:t,enumerable:!1})}function Oa(e){if(!(e===null||typeof e!="object"))return e[hl]}function El(e,t){let r=()=>Pe(),n=typeof e=="string"?e:e.selector;async function o(){return await r().getText(e,t)}async function i(){return await r().getValue(e,t)}async function a(){return await r().isDisplayed(e,t)}async function s(){return await a()}async function l(){return await r().isExisting(e,t)}async function u(){return await r().isEnabled(e,t)}async function c(){return await r().isClickable(e,t)}async function d(){return await r().isSelected(e,t)}async function m(){return await d()}async function y(){return await r().isFocused(e,t)}async function P(g){return await r().getAttribute(e,g,t)}async function C(g){return await r().getCSSProperty(e,g,t)}async function T(g){let w=g??qr();if(await M(async()=>r().isExisting(e,t),w))return!0;throw new Error("Element not found: "+JSON.stringify(n))}async function f(g={}){let w=g.timeout||5e3,h=Date.now();for(;Date.now()-h<w;){if(await r().isDisplayed(e,t))return!0;await new Promise(E=>setTimeout(E,20))}throw new Error(`Element ${n} not displayed after ${w}ms`)}return{getText:o,getValue:i,isDisplayed:a,isVisible:s,isExisting:l,isEnabled:u,isClickable:c,isSelected:d,isChecked:m,isFocused:y,getAttribute:P,getCSSProperty:C,waitForElement:T,waitForDisplayed:f}}function wl(e){return typeof e=="string"?e:e.selector}function Ia(e,t){return typeof e=="string"?{selector:e,index:t,parent:void 0}:e}function ue(e,t=null){let r=wl(e),n=typeof e=="string"?t:e.index,o=_l(e,t),i=El(e,t),a=ml(e,t,i),s={selector:r,index:n,...o,...i,...a,get(u,c=null){return ue({selector:u,index:c,parent:Ia(e,t)},null)},getAll(u){return Te({selector:u,index:null,parent:Ia(e,t)})}};gl(s,Ia(e,t));let l=s;for(let[u,c]of yl())u in l||(l[u]=(...d)=>c.apply(s,d));return s}function Te(e){let t=()=>Pe(),r=wl(e),n=i=>typeof e=="string"?[e,i]:[{...e,index:i},null];return{selector:r,async count(){return await t().count(e)},get length(){return this.count()},first(){return ue(...n(0))},last(){return ue(...n(-1))},nth(i){return ue(...n(i))},async shouldHaveLength(i,a){return x("assertion",{type:"assertion",key:"have.length",target:e,args:[i]},async()=>{let s=0;if(!await M(async()=>(s=await this.count(),s===i),a?.timeoutMs??I()))throw new Error(`Expected collection "${r}" count to equal ${i}, but got ${s}`)})},async shouldNotHaveLength(i,a){return x("assertion",{type:"assertion",key:"not.have.length",target:e,args:[i]},async()=>{let s=0;if(!await M(async()=>(s=await this.count(),s!==i),a?.timeoutMs??I()))throw new Error(`Expected collection "${r}" count not to equal ${i}`)})},async shouldHaveLengthGreaterThan(i,a){return x("assertion",{type:"assertion",key:"have.length.greaterThan",target:e,args:[i]},async()=>{let s=0;if(!await M(async()=>(s=await this.count(),s>i),a?.timeoutMs??I()))throw new Error(`Expected collection "${r}" count to be greater than ${i}, but got ${s}`)})},async shouldHaveLengthLessThan(i,a){return x("assertion",{type:"assertion",key:"have.length.lessThan",target:e,args:[i]},async()=>{let s=0;if(!await M(async()=>(s=await this.count(),s<i),a?.timeoutMs??I()))throw new Error(`Expected collection "${r}" count to be less than ${i}, but got ${s}`)})},async shouldBeEmpty(i){return x("assertion",{type:"assertion",key:"be.empty",target:e,args:[]},async()=>{let a=0;if(!await M(async()=>(a=await this.count(),a===0),i?.timeoutMs??I()))throw new Error(`Expected collection "${r}" to be empty, but got ${a}`)})},async shouldNotBeEmpty(i){return x("assertion",{type:"assertion",key:"not.be.empty",target:e,args:[]},async()=>{let a=0;if(!await M(async()=>(a=await this.count(),a>0),i?.timeoutMs??I()))throw new Error(`Expected collection "${r}" not to be empty`)})}}}function ne(e){if(typeof e=="string")return ue(e,null);if(e&&typeof e=="object"&&"selector"in e)return e;throw new Error(`Invalid element target: ${String(e)}`)}function Cl(e){return typeof e=="string"?e:e.selector}function _l(e,t){let r=()=>Pe();async function n(v){return x("action",{type:"action",key:"click",target:e,args:[]},async()=>{await r().click(e,t)})}async function o(){return x("action",{type:"action",key:"doubleClick",target:e,args:[]},async()=>{await r().doubleClick(e,t)})}async function i(){return x("action",{type:"action",key:"rightClick",target:e,args:[]},async()=>{await r().rightClick(e,t)})}async function a(v){return x("action",{type:"action",key:"type",target:e,args:[v]},async()=>{await r().setValue(e,v,t)})}async function s(v,S){S?.clearFirst&&await l();let D=r();if(typeof D.typeText!="function"){await a(v);return}return x("action",{type:"action",key:"type",target:e,args:[v]},async()=>{await D.typeText(e,v,t)})}async function l(){return x("action",{type:"action",key:"clear",target:e,args:[]},async()=>{await r().clearValue(e,t)})}async function u(){await l()}async function c(v){return x("action",{type:"action",key:"select",target:e,args:[v]},async()=>{await r().select(e,v,t)})}async function d(v){await c(v)}async function m(){return x("action",{type:"action",key:"hover",target:e,args:[]},async()=>{await r().hover(e,t)})}async function y(){return x("action",{type:"action",key:"focus",target:e,args:[]},async()=>{await r().focus(e,t)})}async function P(){return x("action",{type:"action",key:"blur",target:e,args:[]},async()=>{await r().blur(e,t)})}async function C(v){return x("action",{type:"action",key:"waitForElementRemoved",target:e,args:[v??5e3]},async()=>{if(!await M(async()=>!await r().isExisting(e,t),v??5e3))throw new Error("Element still exists after timeout: "+JSON.stringify(Cl(e)))})}async function T(v){return x("action",{type:"action",key:"waitForUndisplayed",target:e,args:[v?.timeout??5e3]},async()=>{if(!await M(async()=>!await r().isDisplayed(e,t),v?.timeout??5e3))throw new Error("Element still displayed after timeout: "+JSON.stringify(Cl(e)))})}async function f(v){return x("action",{type:"action",key:"waitForClickable",target:e,args:[v?.timeout??5e3]},async()=>await M(async()=>await r().isClickable(e,t),v?.timeout??5e3))}async function g(){return x("action",{type:"action",key:"getBounds",target:e,args:[]},async()=>await r().getBounds(e,t))}function w(){let v=typeof e=="string"?e:e.selector,S=typeof e=="string"?t:e.index;return S==null?v:`${v}::nth(${S})`}function h(){return ue(w()+"::parent",null)}async function E(v){return x("action",{type:"action",key:"closest",target:e,args:[v]},async()=>await r().closest(e,v,t)?ue(`${w()}::closest(${v})`,null):null)}function A(v){return Te(`${w()}::children(${v??""})`)}function R(v){return Te(`${w()}::siblings(${v??""})`)}function H(v){return ue(`${w()}::next(${v??""})`,null)}async function F(){await m()}async function W(v){let S=typeof v=="string"?v:v?.selector||String(v);return x("action",{type:"action",key:"dragDrop",target:e,args:[S]},async()=>{await r().dragDrop(e,S,t)})}async function K(v){await W(v)}async function O(v){let S=typeof v=="number"?v:v?.duration||1e3;return x("action",{type:"action",key:"longPress",target:e,args:[S]},async()=>{await r().longPress(e,S,t)})}async function G(){return x("action",{type:"action",key:"scrollIntoView",target:e,args:[]},async()=>{await r().scrollIntoView(e,t)})}async function Q(v){return x("action",{type:"action",key:"upload",target:e,args:[v]},async()=>{await r().upload(e,v,t)})}async function b(v){await Q(v)}return{click:n,doubleClick:o,rightClick:i,setValue:a,type:s,clearValue:l,clear:u,select:c,selectByVisibleText:d,hover:m,focus:y,blur:P,waitForElementRemoved:C,waitForUndisplayed:T,waitForClickable:f,getBounds:g,parent:h,closest:E,children:A,siblings:R,next:H,moveTo:F,dragDrop:W,dragAndDrop:K,longPress:O,scrollIntoView:G,upload:Q,uploadFile:b}}var Tl=["number","date","time","color","file","range"],Pl=e=>e.replace(/[^\p{L}\p{N}]/gu,"");function Ar(e,t,r){return t===null||r===null?!0:t===e||t!==r||Pl(t)===Pl(e)}function Na(e,t,r,n){let o=n?` (${n})`:"";return new Error(`Typed text did not reach element "${e}": expected "${t}", got "${r}"${o}`)}var Zb={Backspace:{code:"Backspace",windowsVirtualKeyCode:8},Tab:{code:"Tab",windowsVirtualKeyCode:9},Enter:{code:"Enter",windowsVirtualKeyCode:13,text:"\r"},Escape:{code:"Escape",windowsVirtualKeyCode:27},Delete:{code:"Delete",windowsVirtualKeyCode:46},ArrowLeft:{code:"ArrowLeft",windowsVirtualKeyCode:37},ArrowUp:{code:"ArrowUp",windowsVirtualKeyCode:38},ArrowRight:{code:"ArrowRight",windowsVirtualKeyCode:39},ArrowDown:{code:"ArrowDown",windowsVirtualKeyCode:40},Home:{code:"Home",windowsVirtualKeyCode:36},End:{code:"End",windowsVirtualKeyCode:35},PageUp:{code:"PageUp",windowsVirtualKeyCode:33},PageDown:{code:"PageDown",windowsVirtualKeyCode:34}};function Rl(e){if(typeof e!="string")return null;let t=Zb[e];return t?{key:e,...t}:null}function Da(e,t){if(!e||e==="*"||e==="**"||e==="ALL")return!0;if(e.startsWith("/")&&e.endsWith("/"))try{return new RegExp(e.slice(1,-1)).test(t)}catch{}if(e.includes("*")){let r=e.replace(/[.+?^${}()|[\]\\]/g,"\\$&").replace(/\*/g,".*");try{return new RegExp(`^${r}(?:[?#].*)?$`,"i").test(t)}catch{}}return t.toLowerCase().includes(e.toLowerCase())}function Mr(e,t){let r=!1,n={unroute:()=>{r||(r=!0,t?.())},respondWith:async(i,a={})=>{let s=i;e.response=s&&s.body!==void 0?s.body:i;let l=La(s)?.statusCode;(a.statusCode||s&&s.statusCode||l)&&(e.statusCode=a.statusCode||s?.statusCode||l||200),(a.headers||s&&s.headers)&&(e.headers=a.headers||s?.headers),(a.delayMs!==void 0||s&&s.delayMs!==void 0)&&(e.delayMs=a.delayMs??s?.delayMs),e.aborted=!1},respondOnce:async(i,a={})=>{let s=i,l=s&&s.body!==void 0?s.body:i,u=a.statusCode||s&&s.statusCode||La(s)?.statusCode||e.statusCode||200,c=a.headers||s&&s.headers||e.headers,d=a.delayMs??(s&&s.delayMs)??e.delayMs;e.respondOnceQueue.push({response:l,statusCode:u,headers:c,delayMs:d}),e.aborted=!1},abort:async(i="Failed")=>{e.aborted=!0,e.abortReason=i},waitForCall:async(i={})=>{let a=i.count??1,s=i.timeout??5e3;return e.calls.length>=a?e.calls[a-1]:new Promise((l,u)=>{let c=setTimeout(()=>{let d=e.waitResolvers.findIndex(m=>m.resolve===l);d!==-1&&e.waitResolvers.splice(d,1),u(new Error(`Spectra.intercept waitForCall timed out after ${s}ms (expected at least ${a} call(s), received ${e.calls.length})`))},s);e.waitResolvers.push({count:a,resolve:d=>{clearTimeout(c),l(d)}})})}};n.shouldHaveCallCount=(i,a={})=>x("assertion",{type:"assertion",key:"have.callCount",target:`intercept ${e.method} ${e.pattern}`,args:[i]},async()=>{if(!await M(()=>e.callCount===i,a.timeout??I())){let l=e.calls.map(u=>`${u.method} ${u.url}`).join(", ");throw new Error(`Expected intercept '${e.pattern}' (${e.method}) to have answered ${i} request(s), but it answered ${e.callCount}${l?`: ${l}`:""}`)}});let o=()=>e.callCount;return n.callCount=Object.assign(o,{valueOf:()=>e.callCount,[Symbol.toPrimitive]:()=>e.callCount}),Object.defineProperty(n,"calls",{get:()=>e.calls,enumerable:!0}),n}function kr(e,t,r,n){let o,i,a,s,l,u;if(typeof e=="object"&&e!==null)o=e.url||e.pattern||"*",i=(e.method||"GET").toUpperCase(),a=e.response!==void 0?e.response:typeof t=="object"&&t!==null?t:r,s=e.statusCode||n&&n.statusCode||200,l=e.headers||n&&n.headers,u=e.delayMs??(n&&n.delayMs);else if(o=String(e||"*"),typeof t=="string"&&["GET","POST","PUT","DELETE","PATCH","HEAD","OPTIONS","ALL"].includes(t.toUpperCase())){i=t.toUpperCase();let c=r;a=c&&c.body!==void 0?c.body:r,s=n&&n.statusCode||c&&c.statusCode||200,l=n&&n.headers||c&&c.headers,u=(n&&n.delayMs)??(c&&c.delayMs)}else{i="GET";let c=t;a=c&&c.body!==void 0?c.body:t,s=r&&r.statusCode||c&&c.statusCode||200,l=r&&r.headers||c&&c.headers,u=(r&&r.delayMs)??(c&&c.delayMs)}return{pattern:o,method:i,response:a,statusCode:s,headers:l,delayMs:u,callCount:0,respondOnceQueue:[],calls:[],waitResolvers:[]}}function Nt(e,t,r){for(let n of e)if(Da(n.pattern,t)&&(!n.method||n.method==="ALL"||n.method.toUpperCase()===r.toUpperCase()))return n;return null}function Lt(e,t){e.calls.push(t),e.callCount++;for(let r=e.waitResolvers.length-1;r>=0;r--){let n=e.waitResolvers[r];e.callCount>=n.count&&(e.waitResolvers.splice(r,1),n.resolve(t))}return t}var ev=new Set(["status","statusCode","headers","body","delayMs"]);function La(e){if(typeof e!="object"||e===null||Array.isArray(e))return null;let t=e,r=Object.keys(t);if(r.length===0||!r.every(o=>ev.has(o)))return null;let n=typeof t.status=="number"?t.status:t.statusCode;return!("body"in t)&&typeof n!="number"?null:{body:t.body??"",statusCode:n,headers:t.headers,delayMs:t.delayMs}}async function Ba(e,t){let r=Fa(e),n=typeof r.body=="function"?await r.body(t):r.body,o=La(n);return o?{body:o.body,statusCode:o.statusCode??r.statusCode,headers:{...r.headers,...o.headers},delayMs:o.delayMs??r.delayMs}:{...r,body:n}}function Fa(e){if(e.respondOnceQueue.length>0){let t=e.respondOnceQueue.shift();return{body:t.response,statusCode:t.statusCode||e.statusCode||200,headers:{...e.headers,...t.headers},delayMs:t.delayMs??e.delayMs}}return{body:e.response,statusCode:e.statusCode||200,headers:{...e.headers},delayMs:e.delayMs}}var tv={"Content-Type":"application/json; charset=utf-8","Access-Control-Allow-Origin":"*","Access-Control-Allow-Methods":"GET, POST, PUT, DELETE, PATCH, OPTIONS","Access-Control-Allow-Headers":"*"};function Or(e){let t=new Map;for(let[r,n]of Object.entries(tv))t.set(r.toLowerCase(),{name:r,value:n});for(let[r,n]of Object.entries(e||{}))t.set(r.toLowerCase(),{name:r,value:String(n)});return[...t.values()]}function Dt(e){return typeof e=="string"?e:typeof e=="object"&&e!==null?JSON.stringify(e):String(e??"")}function Sl(e){let t=/^(.*)::nth\((-?\d+)\)$/.exec(e);if(t)return{kind:"nth",base:t[1],arg:t[2]};let r=/^(.*)::closest\((.+)\)$/.exec(e);if(r)return{kind:"closest",base:r[1],arg:r[2]};let n=/^(.*)::children\((.*)\)$/.exec(e);if(n)return{kind:"children",base:n[1],arg:n[2].trim()||null};let o=/^(.*)::children$/.exec(e);if(o)return{kind:"children",base:o[1],arg:null};let i=/^(.*)::siblings\((.*)\)$/.exec(e);if(i)return{kind:"siblings",base:i[1],arg:i[2].trim()||null};let a=/^(.*)::siblings$/.exec(e);if(a)return{kind:"siblings",base:a[1],arg:null};let s=/^(.*)::next\((.*)\)$/.exec(e);if(s)return{kind:"next",base:s[1],arg:s[2].trim()||null};let l=/^(.*)::next$/.exec(e);if(l)return{kind:"next",base:l[1],arg:null};let u=/^(.*)::parent$/.exec(e);return u?{kind:"parent",base:u[1]}:null}function Ua(e){let t=e.trim();if(!t.startsWith("~"))return null;let r=t.slice(1),n=r.indexOf("[");return n!==-1?{name:r.slice(0,n),chainSuffix:r.slice(n)}:{name:r,chainSuffix:""}}function xl(e){let t=Ua(e);if(!t)return null;let{name:r,chainSuffix:n}=t,o=JSON.stringify(r);return`:is([aria-label=${o}], [title=${o}])${n}`}function ql(e,t,r){let o=Array.from(t.querySelectorAll("[aria-labelledby]")).filter(i=>(i.getAttribute("aria-labelledby")??"").trim().split(/\s+/).map(l=>{let u=document.getElementById(l);return u?(u.textContent??"").trim():""}).filter(Boolean).join(" ").trim()===e);return r===null?o[0]??null:r>=0?o[r]??null:o[o.length+r]??null}var rv=new Set(["mount","unmount","registerCommand","registerCommands"]),nv=/^[A-Za-z_$][A-Za-z0-9_$]*$/;function Al(){let e=()=>Pe(),t={get:r=>ne(r),getAll:r=>Te(r),navigate:r=>e().navigate(r),back:()=>e().back(),forward:()=>e().forward(),refresh:()=>e().refresh(),setViewport:(r,n)=>e().setViewport(r,n),wait:r=>e().pause(r),click:async(r,n)=>{await ne(r).click()},clickAt:async(r,n)=>{await e().clickAt(r,n)},doubleClick:async r=>{await ne(r).doubleClick()},rightClick:async r=>{await ne(r).rightClick()},type:async(r,n,o)=>{await ne(r).type(n,o)},clear:async r=>{await ne(r).clear()},select:async(r,n)=>{await ne(r).select(n)},hover:async r=>{await ne(r).hover()},focus:async r=>{await ne(r).focus()},blur:async r=>{await ne(r).blur()},dragDrop:async(r,n)=>{await ne(r).dragDrop(n)},scrollIntoView:async r=>{await ne(r).scrollIntoView()},scroll:async r=>{await e().scroll(r)},swipe:async r=>{await e().swipe(r)},longPress:async(r,n)=>{await ne(r).longPress(n)},pressKey:async r=>{await e().pressKey(r)},grantPermission:async r=>{await e().grantPermission(r)},waitForElement:async(r,n)=>{await ne(r).waitForElement(n)},intercept:async(r,n,o,i)=>await e().intercept(r,n,o,i),clearMocks:()=>{e().clearMocks()},sleep:r=>new Promise(n=>setTimeout(n,r)),onConsole:r=>{let n=e();return typeof n.onConsole=="function"?n.onConsole(r):()=>{}},get browser(){return e()},get env(){return It().environmentVariables||{}}};return t.registerCommand=(r,n)=>{if(typeof n!="function")throw new Error(`[TestSpectra] Custom command "${r}" must be a function.`);if(!nv.test(r))throw new Error(`[TestSpectra] Invalid custom command name "${r}"; must be a valid identifier.`);if(rv.has(r)||r in t)throw new Error(`[TestSpectra] Custom command "${r}" collides with a built-in Spectra method.`);t[r]=n,vl(r,n)},t.registerCommands=r=>{for(let[n,o]of Object.entries(r))t.registerCommand(n,o)},t}function Ml(){return typeof globalThis.__TESTSPECTRA_STEP_DELAY_MS__=="number"?globalThis.__TESTSPECTRA_STEP_DELAY_MS__:typeof window<"u"&&typeof window.__TESTSPECTRA_STEP_DELAY_MS__=="number"?window.__TESTSPECTRA_STEP_DELAY_MS__:0}var ov=5e3;function Ir(e,t){(typeof globalThis.__TESTSPECTRA_SEMANTIC_REPORTER__=="boolean"?globalThis.__TESTSPECTRA_SEMANTIC_REPORTER__:!(typeof window<"u"&&typeof window.__TESTSPECTRA_SEMANTIC_REPORTER__=="boolean")||window.__TESTSPECTRA_SEMANTIC_REPORTER__)&&console.log(`[${e}] ${t}`)}function $a(){return ov}function iv(){return Math.min($a(),2e3)}async function av(e,t,r){let n=globalThis.__CURRENT_TEST_TITLE__;n&&!t.test&&(t.test=n);let o=JSON.stringify(t);Ir("TESTSPECTRA_STEP_START",o);let i=Date.now();try{let a=await r(),s=Date.now()-i;Ir("TESTSPECTRA_STEP_PASS",`${o} (${s}ms)`);let l=Ml();return l>0&&await new Promise(u=>setTimeout(u,l)),a}catch(a){let s=Date.now()-i;throw Ir("TESTSPECTRA_STEP_FAIL",`${o} (${s}ms)`),a}}async function sv(e,t,r=15){let n=t??$a(),o=Date.now();for(;Date.now()-o<n;){try{if(await e())return!0}catch{}await new Promise(i=>setTimeout(i,r))}try{return await e()}catch{return!1}}globalThis.__TESTSPECTRA_CONFIG__={rootDir:"",activePlatform:"web",configuredBaseUrl:"",cdpWsUrl:"",driverServerUrl:"",stepDelayMs:Ml()};globalThis.__TS_RUNTIME__={activeDriver:null,mobileMockRules:[],lastFocusedSelector:null,emitEvent:Ir,trackStep:av,pollCondition:sv,getImplicitWaitMs:$a,getAssertionTimeoutMs:iv,matchesUrlPattern:Da,createMockHandle:Mr,parseMockRule:kr,findMatchingRule:Nt,recordMockCall:Lt,consumeMockResponse:Fa,mergeMockResponseHeaders:Or,mockResponseBodyText:Dt,createElementProxy:ue,createCollectionProxy:Te,beforeHook:null,afterHook:null,beforeEachHook:null,afterEachHook:null,suiteBeforeEachHooks:{},suiteAfterEachHooks:{}};var kl=new Set;async function Ol(e,t=[],r,n={platform:"web"}){for(let o of t)if(!kl.has(o))try{let i=await r(o),a=i?.default??i?.plugin??i;typeof a=="function"?await a(e,n):a&&typeof a.setup=="function"?await a.setup(e,n):console.error(`[TestSpectra] Plugin "${o}" has no default export function or setup() method \u2014 skipping.`),kl.add(o)}catch(i){console.error(`[TestSpectra] Failed to load plugin "${o}": ${i?.stack||i?.message||i}`)}}function lv(){let e=globalThis,t;try{t=e.__TESTSPECTRA_AUTO_IMPORT_MANIFEST__}catch{}if(!t&&typeof window<"u"&&(t=window.__TESTSPECTRA_AUTO_IMPORT_MANIFEST__),!t)return null;if(typeof t=="string")try{return JSON.parse(t)}catch{return null}return t}var Il=new Map;async function Nr(e){let t=Il.get(e);if(t)return t;let r,o=typeof globalThis.__vitest_browser_runner__<"u"||typeof globalThis.__vitest_worker__<"u"?`/@fs/${e.replace(/\\/g,"/")}`.replace(/\/@fs\/\//g,"/@fs/"):`/test?file=${encodeURIComponent(e)}`;if(e.endsWith(".json"))try{let i=await fetch(o);if(i.ok)r=await i.json();else throw new Error(`Failed to fetch JSON fixture: ${i.status}`)}catch{r=await new Function("specifier",'return import(specifier, { with: { type: "json" } })')(o)}else r=await new Function("specifier","return import(specifier)")(o);return Il.set(e,r),r}async function ja(e){let t=e??lv();if(!t)return;let r=t.pageObjects??t.page_objects??[];for(let l of r){let u=l.path??l.file_path;if(u){let c=await Nr(u);globalThis[l.name]=c.default??c}}let n={},o=t.fixtures??[];for(let l of o){let u=l.path??l.file_path;if(u){let c=u.split("/").pop()?.split("\\").pop()||`${l.name}.bin`;try{let d=await Nr(u),m=d?.default!==void 0?d.default:d??u;typeof m=="string"&&m.startsWith("data:")&&!m.includes("name=")&&(m=m.replace(/^data:([^;,]+)/,y=>`${y};name=${encodeURIComponent(c)}`)),n[l.name]=m}catch{n[l.name]=u}}}globalThis.Fixture=n;let i={},a=t.steps??[];for(let l of a){let u=l.path??l.file_path;if(u){let c=await Nr(u);i[l.name]=c.default??c}}globalThis.Step=i;let s=uv();if(s.length>0&&globalThis.Spectra){let l=globalThis.__TS_RUNTIME__;await Ol(globalThis.Spectra,s,Nr,{platform:"web",config:{baseUrl:"",implicitWaitMs:typeof l?.getImplicitWaitMs=="function"?l.getImplicitWaitMs():void 0,env:{}}})}}function uv(){let e=globalThis,t;try{t=e.__TESTSPECTRA_PLUGINS__}catch{}if(!t&&typeof window<"u"&&(t=window.__TESTSPECTRA_PLUGINS__),!t)return[];if(Array.isArray(t))return t.filter(r=>typeof r=="string");if(typeof t=="string")try{let r=JSON.parse(t);return Array.isArray(r)?r.filter(n=>typeof n=="string"):[]}catch{return[]}return[]}globalThis.__bootstrapAutoImports=ja;function q(e,t,r){return e.namespaceURI&&e.namespaceURI!=="http://www.w3.org/1999/xhtml"||(t=Array.isArray(t)?t:[t],!t.includes(e.tagName.toLowerCase()))?!1:r?Object.entries(r).every(([n,o])=>e[n]===o):!0}function V(e){var t;if(cv(e)&&e.defaultView)return e.defaultView;if(!((t=e.ownerDocument)===null||t===void 0)&&t.defaultView)return e.ownerDocument.defaultView;throw new Error(`Could not determine window of node. Node was ${dv(e)}`)}function cv(e){return e.nodeType===9}function dv(e){return typeof e=="function"?`function ${e.name}`:e===null?"null":String(e)}function Ha(e,t){return new Promise((r,n)=>{let o=new t;o.onerror=n,o.onabort=n,o.onload=()=>{r(String(o.result))},o.readAsText(e)})}function Bt(e,t){let r={...t,length:t.length,item:n=>r[n],[Symbol.iterator]:function*(){for(let o=0;o<r.length;o++)yield r[o]}};return r.constructor=e.FileList,e.FileList&&Object.setPrototypeOf(r,e.FileList.prototype),Object.freeze(r),r}function Le(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Ft=class{getAsFile(){return this.file}getAsString(t){typeof this.data=="string"&&t(this.data)}webkitGetAsEntry(){throw new Error("not implemented")}constructor(t,r){Le(this,"kind",void 0),Le(this,"type",void 0),Le(this,"file",null),Le(this,"data",void 0),typeof t=="string"?(this.kind="string",this.type=String(r),this.data=t):(this.kind="file",this.type=t.type,this.file=t)}};function Nl(e){return e.replace(/[A-Z]/g,t=>t.toLowerCase())}var Wa=class extends Array{add(...t){let r=typeof t[0]=="string"?new Ft(t[0],Nl(t[1])):new Ft(t[0]);return this.push(r),r}clear(){this.splice(0,this.length)}remove(t){this.splice(t,1)}};function Va(e){let t=Nl(e);return t==="text"?"text/plain":t==="url"?"text/uri-list":t}function Lr(e,t){let[r,n]=e.split("/"),o=!n||n==="*";return i=>t?i.type===(o?r:e):o?i.type.startsWith(`${r}/`):i.type===r}function pv(e){return new class{getData(r){var n;let o=Va(r),i=(n=this.items.find(Lr(o,!0)))!==null&&n!==void 0?n:this.items.find(Lr(o,!1)),a="";return i?.getAsString(s=>{a=s}),a}setData(r,n){let o=Va(r),i=this.items.findIndex(Lr(o,!0)),a=new Ft(n,o);i>=0?this.items.splice(i,1,a):this.items.push(a)}clearData(r){if(r){let n=Va(r),o=this.items.findIndex(Lr(n,!0));o>=0&&this.items.remove(o)}else this.items.clear()}get types(){let r=[];return this.files.length&&r.push("Files"),this.items.forEach(n=>r.push(n.type)),Object.freeze(r),r}setDragImage(){}constructor(){Le(this,"dropEffect","none"),Le(this,"effectAllowed","uninitialized"),Le(this,"items",new Wa),Le(this,"files",Bt(e,[]))}}}function vt(e,t=[]){let r=typeof e.DataTransfer>"u"?pv(e):new e.DataTransfer;return Object.defineProperty(r,"files",{get:()=>Bt(e,t)}),r}async function Ll(e,t){return t.kind==="file"?t.getAsFile():new e.Blob([await new Promise(r=>t.getAsString(r))],{type:t.type})}function Bl(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Fl(e,...t){let r=Object.fromEntries(t.map(n=>[typeof n=="string"?"text/plain":n.type,Promise.resolve(n)]));return typeof e.ClipboardItem<"u"?new e.ClipboardItem(r):new class{get types(){return Array.from(Object.keys(this.data))}async getType(o){let i=await this.data[o];if(!i)throw new Error(`${o} is not one of the available MIME types on this item.`);return i instanceof e.Blob?i:new e.Blob([i],{type:o})}constructor(o){Bl(this,"data",void 0),this.data=o}}(r)}var yt=Symbol("Manage ClipboardSub");function Dl(e,t){return Object.assign(new class extends e.EventTarget{async read(){return Array.from(this.items)}async readText(){let n="";for(let o of this.items){let i=o.types.includes("text/plain")?"text/plain":o.types.find(a=>a.startsWith("text/"));i&&(n+=await o.getType(i).then(a=>Ha(a,e.FileReader)))}return n}async write(n){this.items=n}async writeText(n){this.items=[Fl(e,n)]}constructor(...n){super(...n),Bl(this,"items",[])}},{[yt]:t})}function za(e){return!!e?.[yt]}function Ul(e){if(za(e.navigator.clipboard))return e.navigator.clipboard[yt];let t=Object.getOwnPropertyDescriptor(e.navigator,"clipboard"),r,n={resetClipboardStub:()=>{r=Dl(e,n)},detachClipboardStub:()=>{t?Object.defineProperty(e.navigator,"clipboard",t):Object.defineProperty(e.navigator,"clipboard",{value:void 0,configurable:!0})}};return r=Dl(e,n),Object.defineProperty(e.navigator,"clipboard",{get:()=>r,configurable:!0}),r[yt]}function fv(e){za(e.navigator.clipboard)&&e.navigator.clipboard[yt].resetClipboardStub()}function mv(e){za(e.navigator.clipboard)&&e.navigator.clipboard[yt].detachClipboardStub()}async function $l(e){let t=e.defaultView,r=t?.navigator.clipboard,n=r&&await r.read();if(!n)throw new Error("The Clipboard API is unavailable.");let o=vt(t);for(let i of n)for(let a of i.types)o.setData(a,await i.getType(a).then(s=>Ha(s,t.FileReader)));return o}async function Br(e,t){let r=V(e),n=r.navigator.clipboard,o=[];for(let a=0;a<t.items.length;a++){let s=t.items[a],l=await Ll(r,s);o.push(Fl(r,l))}if(!(n&&await n.write(o).then(()=>!0,()=>!1)))throw new Error("The Clipboard API is unavailable.")}var Dr=globalThis;typeof Dr.afterEach=="function"&&Dr.afterEach(()=>{typeof globalThis.window<"u"&&fv(globalThis.window)});typeof Dr.afterAll=="function"&&Dr.afterAll(()=>{typeof globalThis.window<"u"&&mv(globalThis.window)});var Fr=["input:not([type=hidden]):not([disabled])","button:not([disabled])","select:not([disabled])","textarea:not([disabled])",'[contenteditable=""]','[contenteditable="true"]',"a[href]","[tabindex]:not([disabled])","details > summary"].join(", ");function Ut(e){return e.matches(Fr)}function jl(e){return new e.constructor(e.type,e)}function te(e){for(let r=e;r;r=r.parentElement)if(q(r,["button","input","select","textarea","optgroup","option"])){if(r.hasAttribute("disabled"))return!0}else if(q(r,"fieldset")){var t;if(r.hasAttribute("disabled")&&!(!((t=r.querySelector(":scope > legend"))===null||t===void 0)&&t.contains(e)))return!0}else if(r.tagName.includes("-")&&r.constructor.formAssociated&&r.hasAttribute("disabled"))return!0;return!1}function De(e){let t=e.activeElement;if(t?.shadowRoot){let r=De(t.shadowRoot);if(r)return r}else if(t&&q(t,"iframe")){let r=t.contentDocument;if(r)return De(r)}return te(t)?e.ownerDocument?e.ownerDocument.body:e.body:t}function ht(e){var t;return(t=De(e))!==null&&t!==void 0?t:e.body}function Hl(e,t){let r=e;do{if(t(r))return r;r=r.parentElement}while(r&&r!==e.ownerDocument.body)}function ce(e){return e.hasAttribute("contenteditable")&&(e.getAttribute("contenteditable")=="true"||e.getAttribute("contenteditable")=="")}function Be(e){let t=bv(e);return t&&(t.closest('[contenteditable=""]')||t.closest('[contenteditable="true"]'))}function bv(e){return e.nodeType===1?e:e.parentElement}var Vl=(function(e){return e.button="button",e.color="color",e.file="file",e.image="image",e.reset="reset",e.submit="submit",e.checkbox="checkbox",e.radio="radio",e})(Vl||{});function Ur(e){return q(e,"button")||q(e,"input")&&e.type in Vl}function ve(e){return Ka(e)&&!e.readOnly||ce(e)}var Wl=(function(e){return 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",e})(Wl||{});function Ka(e){return q(e,"textarea")||q(e,"input")&&e.type in Wl}function X(e){return Kl(e)&&Ka(e)}function zl(e){return Kl(e)&&Ur(e)}function Kl(e){return e.nodeType===1}function Gl(e){let t=e.ownerDocument.getSelection();if(t?.focusNode&&X(e)){let n=Be(t.focusNode);if(n){if(!t.isCollapsed){var r;let o=((r=n.firstChild)===null||r===void 0?void 0:r.nodeType)===3?n.firstChild:n;t.setBaseAndExtent(o,0,o,0)}}else t.setBaseAndExtent(e,0,e,0)}}function $r(e,t){if(e==null)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.indexOf(n)!==-1)continue;r[n]=e[n]}return r}var oa=Aa(ac());var Yy=Object.prototype.toString;function sc(e){return typeof e=="function"||Yy.call(e)==="[object Function]"}function Qy(e){var t=Number(e);return isNaN(t)?0:t===0||!isFinite(t)?t:(t>0?1:-1)*Math.floor(Math.abs(t))}var Jy=Math.pow(2,53)-1;function Zy(e){var t=Qy(e);return Math.min(Math.max(t,0),Jy)}function de(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"&&!sc(t))throw new TypeError("Array.from: when provided, the second argument must be a function");for(var o=Zy(n.length),i=sc(r)?Object(new r(o)):new Array(o),a=0,s;a<o;)s=n[a],t?i[a]=t(s,a):i[a]=s,a+=1;return i.length=o,i}function er(e){"@babel/helpers - typeof";return er=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},er(e)}function eh(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function lc(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,uc(n.key),n)}}function th(e,t,r){return t&&lc(e.prototype,t),r&&lc(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function rh(e,t,r){return t=uc(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function uc(e){var t=nh(e,"string");return er(t)==="symbol"?t:String(t)}function nh(e,t){if(er(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(er(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var oh=(function(){function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];eh(this,e),rh(this,"items",void 0),this.items=t}return th(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(o){return o!==r}),n!==this.items.length}},{key:"forEach",value:function(r){var n=this;this.items.forEach(function(o){r(o,o,n)})}},{key:"has",value:function(r){return this.items.indexOf(r)!==-1}},{key:"size",get:function(){return this.items.length}}]),e})(),cc=typeof Set>"u"?Set:oh;function Y(e){var t;return(t=e.localName)!==null&&t!==void 0?t:e.tagName.toLowerCase()}var ih={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"},ah={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 sh(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=ah[t])!==null&&n!==void 0&&n.has(r))})}function dc(e,t){return sh(e,t)}function Jr(e){var t=uh(e);if(t===null||t==="presentation"){var r=lh(e);if(t!=="presentation"||dc(e,r||""))return r}return t}function lh(e){var t=ih[Y(e)];if(t!==void 0)return t;switch(Y(e)){case"a":case"area":case"link":if(e.hasAttribute("href"))return"link";break;case"img":return e.getAttribute("alt")===""&&!dc(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 uh(e){var t=e.getAttribute("role");if(t!==null){var r=t.trim().split(" ")[0];if(r.length>0)return r}return null}function j(e){return e!==null&&e.nodeType===e.ELEMENT_NODE}function ns(e){return j(e)&&Y(e)==="caption"}function tr(e){return j(e)&&Y(e)==="input"}function pc(e){return j(e)&&Y(e)==="optgroup"}function fc(e){return j(e)&&Y(e)==="select"}function mc(e){return j(e)&&Y(e)==="table"}function bc(e){return j(e)&&Y(e)==="textarea"}function vc(e){var t=e.ownerDocument===null?e:e.ownerDocument,r=t.defaultView;if(r===null)throw new TypeError("no window available");return r}function yc(e){return j(e)&&Y(e)==="fieldset"}function hc(e){return j(e)&&Y(e)==="legend"}function gc(e){return j(e)&&Y(e)==="slot"}function ch(e){return j(e)&&e.ownerSVGElement!==void 0}function Ec(e){return j(e)&&Y(e)==="svg"}function wc(e){return ch(e)&&Y(e)==="title"}function _t(e,t){if(j(e)&&e.hasAttribute(t)){var r=e.getAttribute(t).split(" "),n=e.getRootNode?e.getRootNode():e.ownerDocument;return r.map(function(o){return n.getElementById(o)}).filter(function(o){return o!==null})}return[]}function ge(e,t){return j(e)?t.indexOf(Jr(e))!==-1:!1}function dh(e){return e.trim().replace(/\s\s+/g," ")}function ph(e,t){if(!j(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 fh(e){return ge(e,["button","combobox","listbox","textbox"])||Pc(e,"range")}function Pc(e,t){if(!j(e))return!1;if(t==="range")return ge(e,["meter","progressbar","scrollbar","slider","spinbutton"]);throw new TypeError("No knowledge about abstract role '".concat(t,"'. This is likely a bug :("))}function _c(e,t){var r=de(e.querySelectorAll(t));return _t(e,"aria-owns").forEach(function(n){r.push.apply(r,de(n.querySelectorAll(t)))}),r}function mh(e){return fc(e)?e.selectedOptions||_c(e,"[selected]"):_c(e,'[aria-selected="true"]')}function bh(e){return ge(e,["none","presentation"])}function vh(e){return ns(e)}function yh(e){return ge(e,["button","cell","checkbox","columnheader","gridcell","heading","label","legend","link","menuitem","menuitemcheckbox","menuitemradio","option","radio","row","rowheader","switch","tab","tooltip","treeitem"])}function hh(e){return!1}function gh(e){return tr(e)||bc(e)?e.value:e.textContent||""}function Cc(e){var t=e.getPropertyValue("content");return/^["'].*["']$/.test(t)?t.slice(1,-1):""}function Tc(e){var t=Y(e);return t==="button"||t==="input"&&e.getAttribute("type")!=="hidden"||t==="meter"||t==="output"||t==="progress"||t==="select"||t==="textarea"}function Rc(e){if(Tc(e))return e;var t=null;return e.childNodes.forEach(function(r){if(t===null&&j(r)){var n=Rc(r);n!==null&&(t=n)}}),t}function Eh(e){if(e.control!==void 0)return e.control;var t=e.getAttribute("for");return t!==null?e.ownerDocument.getElementById(t):Rc(e)}function wh(e){var t=e.labels;if(t===null)return t;if(t!==void 0)return de(t);if(!Tc(e))return null;var r=e.ownerDocument;return de(r.querySelectorAll("label")).filter(function(n){return Eh(n)===e})}function _h(e){var t=e.assignedNodes();return t.length===0?de(e.childNodes):t}function Zr(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=new cc,n=vc(e),o=t.compute,i=o===void 0?"name":o,a=t.computedStyleSupportsPseudoElements,s=a===void 0?t.getComputedStyle!==void 0:a,l=t.getComputedStyle,u=l===void 0?n.getComputedStyle.bind(n):l,c=t.hidden,d=c===void 0?!1:c;function m(f,g){var w="";if(j(f)&&s){var h=u(f,"::before"),E=Cc(h);w="".concat(E," ").concat(w)}var A=gc(f)?_h(f):de(f.childNodes).concat(_t(f,"aria-owns"));if(A.forEach(function(F){var W=T(F,{isEmbeddedInLabel:g.isEmbeddedInLabel,isReferenced:!1,recursion:!0}),K=j(F)?u(F).getPropertyValue("display"):"inline",O=K!=="inline"?" ":"";w+="".concat(O).concat(W).concat(O)}),j(f)&&s){var R=u(f,"::after"),H=Cc(R);w="".concat(w," ").concat(H)}return w.trim()}function y(f,g){var w=f.getAttributeNode(g);return w!==null&&!r.has(w)&&w.value.trim()!==""?(r.add(w),w.value):null}function P(f){return j(f)?y(f,"title"):null}function C(f){if(!j(f))return null;if(yc(f)){r.add(f);for(var g=de(f.childNodes),w=0;w<g.length;w+=1){var h=g[w];if(hc(h))return T(h,{isEmbeddedInLabel:!1,isReferenced:!1,recursion:!1})}}else if(mc(f)){r.add(f);for(var E=de(f.childNodes),A=0;A<E.length;A+=1){var R=E[A];if(ns(R))return T(R,{isEmbeddedInLabel:!1,isReferenced:!1,recursion:!1})}}else if(Ec(f)){r.add(f);for(var H=de(f.childNodes),F=0;F<H.length;F+=1){var W=H[F];if(wc(W))return W.textContent}return null}else if(Y(f)==="img"||Y(f)==="area"){var K=y(f,"alt");if(K!==null)return K}else if(pc(f)){var O=y(f,"label");if(O!==null)return O}if(tr(f)&&(f.type==="button"||f.type==="submit"||f.type==="reset")){var G=y(f,"value");if(G!==null)return G;if(f.type==="submit")return"Submit";if(f.type==="reset")return"Reset"}var Q=wh(f);if(Q!==null&&Q.length!==0)return r.add(f),de(Q).map(function(D){return T(D,{isEmbeddedInLabel:!0,isReferenced:!1,recursion:!0})}).filter(function(D){return D.length>0}).join(" ");if(tr(f)&&f.type==="image"){var b=y(f,"alt");if(b!==null)return b;var v=y(f,"title");return v!==null?v:"Submit Query"}if(ge(f,["button"])){var S=m(f,{isEmbeddedInLabel:!1,isReferenced:!1});if(S!=="")return S}return null}function T(f,g){if(r.has(f))return"";if(!d&&ph(f,u)&&!g.isReferenced)return r.add(f),"";var w=j(f)?f.getAttributeNode("aria-labelledby"):null,h=w!==null&&!r.has(w)?_t(f,"aria-labelledby"):[];if(i==="name"&&!g.isReferenced&&h.length>0)return r.add(w),h.map(function(K){return T(K,{isEmbeddedInLabel:g.isEmbeddedInLabel,isReferenced:!0,recursion:!1})}).join(" ");var E=g.recursion&&fh(f)&&i==="name";if(!E){var A=(j(f)&&f.getAttribute("aria-label")||"").trim();if(A!==""&&i==="name")return r.add(f),A;if(!bh(f)){var R=C(f);if(R!==null)return r.add(f),R}}if(ge(f,["menu"]))return r.add(f),"";if(E||g.isEmbeddedInLabel||g.isReferenced){if(ge(f,["combobox","listbox"])){r.add(f);var H=mh(f);return H.length===0?tr(f)?f.value:"":de(H).map(function(K){return T(K,{isEmbeddedInLabel:g.isEmbeddedInLabel,isReferenced:!1,recursion:!0})}).join(" ")}if(Pc(f,"range"))return r.add(f),f.hasAttribute("aria-valuetext")?f.getAttribute("aria-valuetext"):f.hasAttribute("aria-valuenow")?f.getAttribute("aria-valuenow"):f.getAttribute("value")||"";if(ge(f,["textbox"]))return r.add(f),gh(f)}if(yh(f)||j(f)&&g.isReferenced||vh(f)||hh(f)){var F=m(f,{isEmbeddedInLabel:g.isEmbeddedInLabel,isReferenced:!1});if(F!=="")return r.add(f),F}if(f.nodeType===f.TEXT_NODE)return r.add(f),f.textContent||"";if(g.recursion)return r.add(f),m(f,{isEmbeddedInLabel:g.isEmbeddedInLabel,isReferenced:!1});var W=P(f);return W!==null?(r.add(f),W):(r.add(f),"")}return dh(T(e,{isEmbeddedInLabel:!1,isReferenced:i==="description",recursion:!1}))}function rr(e){"@babel/helpers - typeof";return rr=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},rr(e)}function Sc(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function xc(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Sc(Object(r),!0).forEach(function(n){Ch(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Sc(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function Ch(e,t,r){return t=Ph(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ph(e){var t=Th(e,"string");return rr(t)==="symbol"?t:String(t)}function Th(e,t){if(rr(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(rr(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function en(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=_t(e,"aria-describedby").map(function(o){return Zr(o,xc(xc({},t),{},{compute:"description"}))}).join(" ");if(r===""){var n=e.getAttribute("title");r=n===null?"":n}return r}function Rh(e){return ge(e,["caption","code","deletion","emphasis","generic","insertion","paragraph","presentation","strong","subscript","superscript"])}function nr(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return Rh(e)?"":Zr(e,t)}var oe=Aa(If()),jf=Aa(Nf());function Hf(e){return e.replace(/</g,"&lt;").replace(/>/g,"&gt;")}var dS=(e,t,r,n,o,i,a)=>{let s=n+r.indent,l=r.colors;return e.map(u=>{let c=t[u],d=a(c,r,s,o,i);return typeof c!="string"&&(d.indexOf(`
16
- `)!==-1&&(d=r.spacingOuter+s+d+r.spacingOuter+n),d="{"+d+"}"),r.spacingInner+n+l.prop.open+u+l.prop.close+"="+l.value.open+d+l.value.close}).join("")},pS=3,fS=(e,t,r,n,o,i)=>e.map(a=>{let s=typeof a=="string"?Vf(a,t):i(a,t,r,n,o);return s===""&&typeof a=="object"&&a!==null&&a.nodeType!==pS?"":t.spacingOuter+r+s}).join(""),Vf=(e,t)=>{let r=t.colors.content;return r.open+Hf(e)+r.close},mS=(e,t)=>{let r=t.colors.comment;return r.open+"<!--"+Hf(e)+"-->"+r.close},bS=(e,t,r,n,o)=>{let i=n.colors.tag;return i.open+"<"+e+(t&&i.close+t+n.spacingOuter+o+i.open)+(r?">"+i.close+r+n.spacingOuter+o+i.open+"</"+e:(t&&!n.min?"":" ")+"/")+">"+i.close},vS=(e,t)=>{let r=t.colors.tag;return r.open+"<"+e+r.close+" \u2026"+r.open+" />"+r.close},yS=1,Wf=3,zf=8,Kf=11,hS=/^((HTML|SVG)\w*)?Element$/,Gf=e=>{let t=e.tagName;return!!(typeof t=="string"&&t.includes("-")||typeof e.hasAttribute=="function"&&e.hasAttribute("is"))},gS=e=>{let t=e.constructor.name,r=e.nodeType;return r===yS&&(hS.test(t)||Gf(e))||r===Wf&&t==="Text"||r===zf&&t==="Comment"||r===Kf&&t==="DocumentFragment"};function ES(e){return e.nodeType===Wf}function wS(e){return e.nodeType===zf}function Ts(e){return e.nodeType===Kf}function _S(e){return{test:t=>{var r;return((t==null||(r=t.constructor)==null?void 0:r.name)||Gf(t))&&gS(t)},serialize:(t,r,n,o,i,a)=>{if(ES(t))return Vf(t.data,r);if(wS(t))return mS(t.data,r);let s=Ts(t)?"DocumentFragment":t.tagName.toLowerCase();return++o>r.maxDepth?vS(s,r):bS(s,dS(Ts(t)?[]:Array.from(t.attributes).map(l=>l.name).sort(),Ts(t)?{}:Array.from(t.attributes).reduce((l,u)=>(l[u.name]=u.value,l),{}),r,n+r.indent,o,i,a),fS(Array.prototype.slice.call(t.childNodes||t.children).filter(e),r,n+r.indent,o,i,a),r,n)}}}var Xf=null,Bs=null,Fs=null;try{let e=module&&module.require;Bs=e.call(module,"fs").readFileSync,Fs=e.call(module,"@babel/code-frame").codeFrameColumns,Xf=e.call(module,"picocolors")}catch{}function CS(e){let t=e.indexOf("(")+1,r=e.indexOf(")"),n=e.slice(t,r),o=n.split(":"),i=[o[0],parseInt(o[1],10),parseInt(o[2],10)],a=i[0],s=i[1],l=i[2],u="";try{u=Bs(a,"utf-8")}catch{return""}let c=Fs(u,{start:{line:s,column:l}},{highlightCode:!0,linesBelow:0});return Xf.dim(n)+`
5
+ `}};function Xy(e){return new Array(e+1).join(" ")}function sc(e,t){if(t&&(zy(t),t.plugins)){let n=rc(t.plugins,e);if(n!==null)return tc(n,e,Yu(t),"",0,[])}let r=Zu(e,oc(t),ic(t),ac(t));return r!==null?r:ec(e,Yu(t),"",0,[])}var Jy={AsymmetricMatcher:Ay.default,ConvertAnsi:My.default,DOMCollection:ky.default,DOMElement:Oy.default,Immutable:Iy.default,ReactElement:Ny.default,ReactTestComponent:Ly.default};xe.plugins=Jy;var Yy=sc;xe.default=Yy});var Mc=p(rn=>{"use strict";Object.defineProperty(rn,"__esModule",{value:!0});rn.default=void 0;function qh(){var e=this,t=0,r={"@@iterator":function(){return r},next:function(){if(t<e.length){var o=e[t];return t=t+1,{done:!1,value:o}}else return{done:!0}}};return r}var Ah=qh;rn.default=Ah});var Pt=p(as=>{"use strict";Object.defineProperty(as,"__esModule",{value:!0});as.default=Oh;var Mh=kh(Mc());function kh(e){return e&&e.__esModule?e:{default:e}}function is(e){"@babel/helpers - typeof";return is=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},is(e)}function Oh(e,t){return typeof Symbol=="function"&&is(Symbol.iterator)==="symbol"&&Object.defineProperty(e,Symbol.iterator,{value:Mh.default.bind(t)}),e}});var Ic=p(nn=>{"use strict";Object.defineProperty(nn,"__esModule",{value:!0});nn.default=void 0;var Ih=Nh(Pt());function Nh(e){return e&&e.__esModule?e:{default:e}}function ss(e,t){return Bh(e)||Dh(e,t)||Oc(e,t)||Lh()}function Lh(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
6
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Dh(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n=[],o=!0,i=!1,a,s;try{for(r=r.call(e);!(o=(a=r.next()).done)&&(n.push(a.value),!(t&&n.length===t));o=!0);}catch(l){i=!0,s=l}finally{try{!o&&r.return!=null&&r.return()}finally{if(i)throw s}}return n}}function Bh(e){if(Array.isArray(e))return e}function Fh(e,t){var r=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=Oc(e))||t&&e&&typeof e.length=="number"){r&&(e=r);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(u){throw u},f:o}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
7
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var i=!0,a=!1,s;return{s:function(){r=r.call(e)},n:function(){var u=r.next();return i=u.done,u},e:function(u){a=!0,s=u},f:function(){try{!i&&r.return!=null&&r.return()}finally{if(a)throw s}}}}function Oc(e,t){if(e){if(typeof e=="string")return kc(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 kc(e,t)}}function kc(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 Rt=[["aria-activedescendant",{type:"id"}],["aria-atomic",{type:"boolean"}],["aria-autocomplete",{type:"token",values:["inline","list","both","none"]}],["aria-braillelabel",{type:"string"}],["aria-brailleroledescription",{type:"string"}],["aria-busy",{type:"boolean"}],["aria-checked",{type:"tristate"}],["aria-colcount",{type:"integer"}],["aria-colindex",{type:"integer"}],["aria-colspan",{type:"integer"}],["aria-controls",{type:"idlist"}],["aria-current",{type:"token",values:["page","step","location","date","time",!0,!1]}],["aria-describedby",{type:"idlist"}],["aria-description",{type:"string"}],["aria-details",{type:"id"}],["aria-disabled",{type:"boolean"}],["aria-dropeffect",{type:"tokenlist",values:["copy","execute","link","move","none","popup"]}],["aria-errormessage",{type:"id"}],["aria-expanded",{type:"boolean",allowundefined:!0}],["aria-flowto",{type:"idlist"}],["aria-grabbed",{type:"boolean",allowundefined:!0}],["aria-haspopup",{type:"token",values:[!1,!0,"menu","listbox","tree","grid","dialog"]}],["aria-hidden",{type:"boolean",allowundefined:!0}],["aria-invalid",{type:"token",values:["grammar",!1,"spelling",!0]}],["aria-keyshortcuts",{type:"string"}],["aria-label",{type:"string"}],["aria-labelledby",{type:"idlist"}],["aria-level",{type:"integer"}],["aria-live",{type:"token",values:["assertive","off","polite"]}],["aria-modal",{type:"boolean"}],["aria-multiline",{type:"boolean"}],["aria-multiselectable",{type:"boolean"}],["aria-orientation",{type:"token",values:["vertical","undefined","horizontal"]}],["aria-owns",{type:"idlist"}],["aria-placeholder",{type:"string"}],["aria-posinset",{type:"integer"}],["aria-pressed",{type:"tristate"}],["aria-readonly",{type:"boolean"}],["aria-relevant",{type:"tokenlist",values:["additions","all","removals","text"]}],["aria-required",{type:"boolean"}],["aria-roledescription",{type:"string"}],["aria-rowcount",{type:"integer"}],["aria-rowindex",{type:"integer"}],["aria-rowspan",{type:"integer"}],["aria-selected",{type:"boolean",allowundefined:!0}],["aria-setsize",{type:"integer"}],["aria-sort",{type:"token",values:["ascending","descending","none","other"]}],["aria-valuemax",{type:"number"}],["aria-valuemin",{type:"number"}],["aria-valuenow",{type:"number"}],["aria-valuetext",{type:"string"}]],ls={entries:function(){return Rt},forEach:function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,n=Fh(Rt),o;try{for(n.s();!(o=n.n()).done;){var i=ss(o.value,2),a=i[0],s=i[1];t.call(r,s,a,Rt)}}catch(l){n.e(l)}finally{n.f()}},get:function(t){var r=Rt.find(function(n){return n[0]===t});return r&&r[1]},has:function(t){return!!ls.get(t)},keys:function(){return Rt.map(function(t){var r=ss(t,1),n=r[0];return n})},values:function(){return Rt.map(function(t){var r=ss(t,2),n=r[1];return n})}},Uh=(0,Ih.default)(ls,ls.entries());nn.default=Uh});var Dc=p(on=>{"use strict";Object.defineProperty(on,"__esModule",{value:!0});on.default=void 0;var $h=jh(Pt());function jh(e){return e&&e.__esModule?e:{default:e}}function us(e,t){return Wh(e)||Vh(e,t)||Lc(e,t)||Hh()}function Hh(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
8
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Vh(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n=[],o=!0,i=!1,a,s;try{for(r=r.call(e);!(o=(a=r.next()).done)&&(n.push(a.value),!(t&&n.length===t));o=!0);}catch(l){i=!0,s=l}finally{try{!o&&r.return!=null&&r.return()}finally{if(i)throw s}}return n}}function Wh(e){if(Array.isArray(e))return e}function zh(e,t){var r=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=Lc(e))||t&&e&&typeof e.length=="number"){r&&(e=r);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(u){throw u},f:o}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
9
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var i=!0,a=!1,s;return{s:function(){r=r.call(e)},n:function(){var u=r.next();return i=u.done,u},e:function(u){a=!0,s=u},f:function(){try{!i&&r.return!=null&&r.return()}finally{if(a)throw s}}}}function Lc(e,t){if(e){if(typeof e=="string")return Nc(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 Nc(e,t)}}function Nc(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 St=[["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}]],cs={entries:function(){return St},forEach:function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,n=zh(St),o;try{for(n.s();!(o=n.n()).done;){var i=us(o.value,2),a=i[0],s=i[1];t.call(r,s,a,St)}}catch(l){n.e(l)}finally{n.f()}},get:function(t){var r=St.find(function(n){return n[0]===t});return r&&r[1]},has:function(t){return!!cs.get(t)},keys:function(){return St.map(function(t){var r=us(t,1),n=r[0];return n})},values:function(){return St.map(function(t){var r=us(t,2),n=r[1];return n})}},Kh=(0,$h.default)(cs,cs.entries());on.default=Kh});var Bc=p(an=>{"use strict";Object.defineProperty(an,"__esModule",{value:!0});an.default=void 0;var Gh={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]},Xh=Gh;an.default=Xh});var Fc=p(sn=>{"use strict";Object.defineProperty(sn,"__esModule",{value:!0});sn.default=void 0;var Jh={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"]]},Yh=Jh;sn.default=Yh});var Uc=p(ln=>{"use strict";Object.defineProperty(ln,"__esModule",{value:!0});ln.default=void 0;var Qh={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"]]},Zh=Qh;ln.default=Zh});var $c=p(un=>{"use strict";Object.defineProperty(un,"__esModule",{value:!0});un.default=void 0;var eg={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},tg=eg;un.default=tg});var jc=p(cn=>{"use strict";Object.defineProperty(cn,"__esModule",{value:!0});cn.default=void 0;var rg={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"]]},ng=rg;cn.default=ng});var Hc=p(dn=>{"use strict";Object.defineProperty(dn,"__esModule",{value:!0});dn.default=void 0;var og={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{"aria-atomic":null,"aria-busy":null,"aria-controls":null,"aria-current":null,"aria-describedby":null,"aria-details":null,"aria-dropeffect":null,"aria-flowto":null,"aria-grabbed":null,"aria-hidden":null,"aria-keyshortcuts":null,"aria-label":null,"aria-labelledby":null,"aria-live":null,"aria-owns":null,"aria-relevant":null,"aria-roledescription":null},relatedConcepts:[{concept:{name:"role"},module:"XHTML"},{concept:{name:"type"},module:"Dublin Core"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[]},ig=og;dn.default=ig});var Vc=p(pn=>{"use strict";Object.defineProperty(pn,"__esModule",{value:!0});pn.default=void 0;var ag={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"]]},sg=ag;pn.default=sg});var Wc=p(fn=>{"use strict";Object.defineProperty(fn,"__esModule",{value:!0});fn.default=void 0;var lg={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},ug=lg;fn.default=ug});var zc=p(mn=>{"use strict";Object.defineProperty(mn,"__esModule",{value:!0});mn.default=void 0;var cg={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"]]},dg=cg;mn.default=dg});var Kc=p(bn=>{"use strict";Object.defineProperty(bn,"__esModule",{value:!0});bn.default=void 0;var pg={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]},fg=pg;bn.default=fg});var Gc=p(vn=>{"use strict";Object.defineProperty(vn,"__esModule",{value:!0});vn.default=void 0;var mg={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]},bg=mg;vn.default=bg});var Xc=p(yn=>{"use strict";Object.defineProperty(yn,"__esModule",{value:!0});yn.default=void 0;var vg={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-modal":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]},yg=vg;yn.default=yg});var Jc=p(hn=>{"use strict";Object.defineProperty(hn,"__esModule",{value:!0});hn.default=void 0;var hg=fe(Bc()),gg=fe(Fc()),Eg=fe(Uc()),wg=fe($c()),_g=fe(jc()),Cg=fe(Hc()),Tg=fe(Vc()),Pg=fe(Wc()),Rg=fe(zc()),Sg=fe(Kc()),xg=fe(Gc()),qg=fe(Xc());function fe(e){return e&&e.__esModule?e:{default:e}}var Ag=[["command",hg.default],["composite",gg.default],["input",Eg.default],["landmark",wg.default],["range",_g.default],["roletype",Cg.default],["section",Tg.default],["sectionhead",Pg.default],["select",Rg.default],["structure",Sg.default],["widget",xg.default],["window",qg.default]],Mg=Ag;hn.default=Mg});var Yc=p(gn=>{"use strict";Object.defineProperty(gn,"__esModule",{value:!0});gn.default=void 0;var kg={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"]]},Og=kg;gn.default=Og});var Qc=p(En=>{"use strict";Object.defineProperty(En,"__esModule",{value:!0});En.default=void 0;var Ig={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"]]},Ng=Ig;En.default=Ng});var Zc=p(wn=>{"use strict";Object.defineProperty(wn,"__esModule",{value:!0});wn.default=void 0;var Lg={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"]]},Dg=Lg;wn.default=Dg});var ed=p(_n=>{"use strict";Object.defineProperty(_n,"__esModule",{value:!0});_n.default=void 0;var Bg={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"]]},Fg=Bg;_n.default=Fg});var td=p(Cn=>{"use strict";Object.defineProperty(Cn,"__esModule",{value:!0});Cn.default=void 0;var Ug={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{constraints:["scoped to the body element"],name:"header"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},$g=Ug;Cn.default=$g});var rd=p(Tn=>{"use strict";Object.defineProperty(Tn,"__esModule",{value:!0});Tn.default=void 0;var jg={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"blockquote"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},Hg=jg;Tn.default=Hg});var nd=p(Pn=>{"use strict";Object.defineProperty(Pn,"__esModule",{value:!0});Pn.default=void 0;var Vg={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null,"aria-pressed":null},relatedConcepts:[{concept:{attributes:[{name:"type",value:"button"}],name:"input"},module:"HTML"},{concept:{attributes:[{name:"type",value:"image"}],name:"input"},module:"HTML"},{concept:{attributes:[{name:"type",value:"reset"}],name:"input"},module:"HTML"},{concept:{attributes:[{name:"type",value:"submit"}],name:"input"},module:"HTML"},{concept:{name:"button"},module:"HTML"},{concept:{name:"trigger"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command"]]},Wg=Vg;Pn.default=Wg});var od=p(Rn=>{"use strict";Object.defineProperty(Rn,"__esModule",{value:!0});Rn.default=void 0;var zg={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"caption"},module:"HTML"}],requireContextRole:["figure","grid","table"],requiredContextRole:["figure","grid","table"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},Kg=zg;Rn.default=Kg});var id=p(Sn=>{"use strict";Object.defineProperty(Sn,"__esModule",{value:!0});Sn.default=void 0;var Gg={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-colindex":null,"aria-colspan":null,"aria-rowindex":null,"aria-rowspan":null},relatedConcepts:[{concept:{constraints:["ancestor table element has table role"],name:"td"},module:"HTML"}],requireContextRole:["row"],requiredContextRole:["row"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},Xg=Gg;Sn.default=Xg});var ad=p(xn=>{"use strict";Object.defineProperty(xn,"__esModule",{value:!0});xn.default=void 0;var Jg={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"]]},Yg=Jg;xn.default=Yg});var sd=p(qn=>{"use strict";Object.defineProperty(qn,"__esModule",{value:!0});qn.default=void 0;var Qg={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"code"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},Zg=Qg;qn.default=Zg});var ld=p(An=>{"use strict";Object.defineProperty(An,"__esModule",{value:!0});An.default=void 0;var eE={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-sort":null},relatedConcepts:[{concept:{name:"th"},module:"HTML"},{concept:{attributes:[{name:"scope",value:"col"}],name:"th"},module:"HTML"},{concept:{attributes:[{name:"scope",value:"colgroup"}],name:"th"},module:"HTML"}],requireContextRole:["row"],requiredContextRole:["row"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","cell"],["roletype","structure","section","cell","gridcell"],["roletype","widget","gridcell"],["roletype","structure","sectionhead"]]},tE=eE;An.default=tE});var ud=p(Mn=>{"use strict";Object.defineProperty(Mn,"__esModule",{value:!0});Mn.default=void 0;var rE={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-autocomplete":null,"aria-errormessage":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null,"aria-expanded":"false","aria-haspopup":"listbox"},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"email"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"search"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"tel"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"text"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"url"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"url"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"multiple"},{constraints:["undefined"],name:"size"}],constraints:["the multiple attribute is not set and the size attribute does not have a value greater than 1"],name:"select"},module:"HTML"},{concept:{name:"select"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-controls":null,"aria-expanded":"false"},superClass:[["roletype","widget","input"]]},nE=rE;Mn.default=nE});var cd=p(kn=>{"use strict";Object.defineProperty(kn,"__esModule",{value:!0});kn.default=void 0;var oE={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"aside"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-label"}],constraints:["scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"aside"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-labelledby"}],constraints:["scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"aside"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},iE=oE;kn.default=iE});var dd=p(On=>{"use strict";Object.defineProperty(On,"__esModule",{value:!0});On.default=void 0;var aE={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{constraints:["scoped to the body element"],name:"footer"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},sE=aE;On.default=sE});var pd=p(In=>{"use strict";Object.defineProperty(In,"__esModule",{value:!0});In.default=void 0;var lE={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"]]},uE=lE;In.default=uE});var fd=p(Nn=>{"use strict";Object.defineProperty(Nn,"__esModule",{value:!0});Nn.default=void 0;var cE={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"del"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},dE=cE;Nn.default=dE});var md=p(Ln=>{"use strict";Object.defineProperty(Ln,"__esModule",{value:!0});Ln.default=void 0;var pE={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"dialog"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","window"]]},fE=pE;Ln.default=fE});var bd=p(Dn=>{"use strict";Object.defineProperty(Dn,"__esModule",{value:!0});Dn.default=void 0;var mE={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{module:"DAISY Guide"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","list"]]},bE=mE;Dn.default=bE});var vd=p(Bn=>{"use strict";Object.defineProperty(Bn,"__esModule",{value:!0});Bn.default=void 0;var vE={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"Device Independence Delivery Unit"}},{concept:{name:"html"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},yE=vE;Bn.default=yE});var yd=p(Fn=>{"use strict";Object.defineProperty(Fn,"__esModule",{value:!0});Fn.default=void 0;var hE={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"em"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},gE=hE;Fn.default=gE});var hd=p(Un=>{"use strict";Object.defineProperty(Un,"__esModule",{value:!0});Un.default=void 0;var EE={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["article"]],requiredProps:{},superClass:[["roletype","structure","section","list"]]},wE=EE;Un.default=wE});var gd=p($n=>{"use strict";Object.defineProperty($n,"__esModule",{value:!0});$n.default=void 0;var _E={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"]]},CE=_E;$n.default=CE});var Ed=p(jn=>{"use strict";Object.defineProperty(jn,"__esModule",{value:!0});jn.default=void 0;var TE={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"]]},PE=TE;jn.default=PE});var wd=p(Hn=>{"use strict";Object.defineProperty(Hn,"__esModule",{value:!0});Hn.default=void 0;var RE={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"a"},module:"HTML"},{concept:{name:"area"},module:"HTML"},{concept:{name:"aside"},module:"HTML"},{concept:{name:"b"},module:"HTML"},{concept:{name:"bdo"},module:"HTML"},{concept:{name:"body"},module:"HTML"},{concept:{name:"data"},module:"HTML"},{concept:{name:"div"},module:"HTML"},{concept:{constraints:["scoped to the main element","scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"footer"},module:"HTML"},{concept:{constraints:["scoped to the main element","scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"header"},module:"HTML"},{concept:{name:"hgroup"},module:"HTML"},{concept:{name:"i"},module:"HTML"},{concept:{name:"pre"},module:"HTML"},{concept:{name:"q"},module:"HTML"},{concept:{name:"samp"},module:"HTML"},{concept:{name:"section"},module:"HTML"},{concept:{name:"small"},module:"HTML"},{concept:{name:"span"},module:"HTML"},{concept:{name:"u"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},SE=RE;Hn.default=SE});var _d=p(Vn=>{"use strict";Object.defineProperty(Vn,"__esModule",{value:!0});Vn.default=void 0;var xE={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-multiselectable":null,"aria-readonly":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["row"],["row","rowgroup"]],requiredProps:{},superClass:[["roletype","widget","composite"],["roletype","structure","section","table"]]},qE=xE;Vn.default=qE});var Cd=p(Wn=>{"use strict";Object.defineProperty(Wn,"__esModule",{value:!0});Wn.default=void 0;var AE={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null,"aria-selected":null},relatedConcepts:[{concept:{constraints:["ancestor table element has grid role","ancestor table element has treegrid role"],name:"td"},module:"HTML"}],requireContextRole:["row"],requiredContextRole:["row"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","cell"],["roletype","widget"]]},ME=AE;Wn.default=ME});var Td=p(zn=>{"use strict";Object.defineProperty(zn,"__esModule",{value:!0});zn.default=void 0;var kE={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-disabled":null},relatedConcepts:[{concept:{name:"details"},module:"HTML"},{concept:{name:"fieldset"},module:"HTML"},{concept:{name:"optgroup"},module:"HTML"},{concept:{name:"address"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},OE=kE;zn.default=OE});var Pd=p(Kn=>{"use strict";Object.defineProperty(Kn,"__esModule",{value:!0});Kn.default=void 0;var IE={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"]]},NE=IE;Kn.default=NE});var Rd=p(Gn=>{"use strict";Object.defineProperty(Gn,"__esModule",{value:!0});Gn.default=void 0;var LE={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"]]},DE=LE;Gn.default=DE});var Sd=p(Xn=>{"use strict";Object.defineProperty(Xn,"__esModule",{value:!0});Xn.default=void 0;var BE={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"ins"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},FE=BE;Xn.default=FE});var xd=p(Jn=>{"use strict";Object.defineProperty(Jn,"__esModule",{value:!0});Jn.default=void 0;var UE={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"href"}],name:"a"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"href"}],name:"area"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command"]]},$E=UE;Jn.default=$E});var qd=p(Yn=>{"use strict";Object.defineProperty(Yn,"__esModule",{value:!0});Yn.default=void 0;var jE={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"]]},HE=jE;Yn.default=HE});var Ad=p(Qn=>{"use strict";Object.defineProperty(Qn,"__esModule",{value:!0});Qn.default=void 0;var VE={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-expanded":null,"aria-invalid":null,"aria-multiselectable":null,"aria-readonly":null,"aria-required":null,"aria-orientation":"vertical"},relatedConcepts:[{concept:{attributes:[{constraints:[">1"],name:"size"}],constraints:["the size attribute value is greater than 1"],name:"select"},module:"HTML"},{concept:{attributes:[{name:"multiple"}],name:"select"},module:"HTML"},{concept:{name:"datalist"},module:"HTML"},{concept:{name:"list"},module:"ARIA"},{concept:{name:"select"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["option","group"],["option"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]},WE=VE;Qn.default=WE});var Md=p(Zn=>{"use strict";Object.defineProperty(Zn,"__esModule",{value:!0});Zn.default=void 0;var zE={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-level":null,"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{constraints:["direct descendant of ol","direct descendant of ul","direct descendant of menu"],name:"li"},module:"HTML"},{concept:{name:"item"},module:"XForms"}],requireContextRole:["directory","list"],requiredContextRole:["directory","list"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},KE=zE;Zn.default=KE});var kd=p(eo=>{"use strict";Object.defineProperty(eo,"__esModule",{value:!0});eo.default=void 0;var GE={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-live":"polite"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},XE=GE;eo.default=XE});var Od=p(to=>{"use strict";Object.defineProperty(to,"__esModule",{value:!0});to.default=void 0;var JE={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"]]},YE=JE;to.default=YE});var Id=p(ro=>{"use strict";Object.defineProperty(ro,"__esModule",{value:!0});ro.default=void 0;var QE={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:[],props:{"aria-braillelabel":null,"aria-brailleroledescription":null,"aria-description":null},relatedConcepts:[{concept:{name:"mark"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},ZE=QE;ro.default=ZE});var Nd=p(no=>{"use strict";Object.defineProperty(no,"__esModule",{value:!0});no.default=void 0;var ew={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},tw=ew;no.default=tw});var Ld=p(oo=>{"use strict";Object.defineProperty(oo,"__esModule",{value:!0});oo.default=void 0;var rw={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"]]},nw=rw;oo.default=nw});var Dd=p(io=>{"use strict";Object.defineProperty(io,"__esModule",{value:!0});io.default=void 0;var ow={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"]]},iw=ow;io.default=iw});var Bd=p(ao=>{"use strict";Object.defineProperty(ao,"__esModule",{value:!0});ao.default=void 0;var aw={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"]]},sw=aw;ao.default=sw});var Fd=p(so=>{"use strict";Object.defineProperty(so,"__esModule",{value:!0});so.default=void 0;var lw={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null,"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{name:"MENU_ITEM"},module:"JAPI"},{concept:{name:"listitem"},module:"ARIA"},{concept:{name:"option"},module:"ARIA"}],requireContextRole:["group","menu","menubar"],requiredContextRole:["group","menu","menubar"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command"]]},uw=lw;so.default=uw});var Ud=p(lo=>{"use strict";Object.defineProperty(lo,"__esModule",{value:!0});lo.default=void 0;var cw={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"]]},dw=cw;lo.default=dw});var $d=p(uo=>{"use strict";Object.defineProperty(uo,"__esModule",{value:!0});uo.default=void 0;var pw={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"]]},fw=pw;uo.default=fw});var jd=p(co=>{"use strict";Object.defineProperty(co,"__esModule",{value:!0});co.default=void 0;var mw={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-valuetext":null,"aria-valuemax":"100","aria-valuemin":"0"},relatedConcepts:[{concept:{name:"meter"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-valuenow":null},superClass:[["roletype","structure","range"]]},bw=mw;co.default=bw});var Hd=p(po=>{"use strict";Object.defineProperty(po,"__esModule",{value:!0});po.default=void 0;var vw={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"]]},yw=vw;po.default=yw});var Vd=p(fo=>{"use strict";Object.defineProperty(fo,"__esModule",{value:!0});fo.default=void 0;var hw={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[]},gw=hw;fo.default=gw});var Wd=p(mo=>{"use strict";Object.defineProperty(mo,"__esModule",{value:!0});mo.default=void 0;var Ew={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},ww=Ew;mo.default=ww});var zd=p(bo=>{"use strict";Object.defineProperty(bo,"__esModule",{value:!0});bo.default=void 0;var _w={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"]]},Cw=_w;bo.default=Cw});var Kd=p(vo=>{"use strict";Object.defineProperty(vo,"__esModule",{value:!0});vo.default=void 0;var Tw={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"p"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},Pw=Tw;vo.default=Pw});var Gd=p(yo=>{"use strict";Object.defineProperty(yo,"__esModule",{value:!0});yo.default=void 0;var Rw={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{attributes:[{name:"alt",value:""}],name:"img"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},Sw=Rw;yo.default=Sw});var Xd=p(ho=>{"use strict";Object.defineProperty(ho,"__esModule",{value:!0});ho.default=void 0;var xw={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"]]},qw=xw;ho.default=qw});var Jd=p(go=>{"use strict";Object.defineProperty(go,"__esModule",{value:!0});go.default=void 0;var Aw={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"]]},Mw=Aw;go.default=Mw});var Yd=p(Eo=>{"use strict";Object.defineProperty(Eo,"__esModule",{value:!0});Eo.default=void 0;var kw={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"]]},Ow=kw;Eo.default=Ow});var Qd=p(wo=>{"use strict";Object.defineProperty(wo,"__esModule",{value:!0});wo.default=void 0;var Iw={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"aria-label"}],name:"section"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-labelledby"}],name:"section"},module:"HTML"},{concept:{name:"Device Independence Glossart perceivable unit"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},Nw=Iw;wo.default=Nw});var Zd=p(_o=>{"use strict";Object.defineProperty(_o,"__esModule",{value:!0});_o.default=void 0;var Lw={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"]]},Dw=Lw;_o.default=Dw});var ep=p(Co=>{"use strict";Object.defineProperty(Co,"__esModule",{value:!0});Co.default=void 0;var Bw={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"]]},Fw=Bw;Co.default=Fw});var tp=p(To=>{"use strict";Object.defineProperty(To,"__esModule",{value:!0});To.default=void 0;var Uw={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"]]},$w=Uw;To.default=$w});var rp=p(Po=>{"use strict";Object.defineProperty(Po,"__esModule",{value:!0});Po.default=void 0;var jw={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"]]},Hw=jw;Po.default=Hw});var np=p(Ro=>{"use strict";Object.defineProperty(Ro,"__esModule",{value:!0});Ro.default=void 0;var Vw={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},Ww=Vw;Ro.default=Ww});var op=p(So=>{"use strict";Object.defineProperty(So,"__esModule",{value:!0});So.default=void 0;var zw={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"search"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","input","textbox"]]},Kw=zw;So.default=Kw});var ip=p(xo=>{"use strict";Object.defineProperty(xo,"__esModule",{value:!0});xo.default=void 0;var Gw={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"]]},Xw=Gw;xo.default=Xw});var ap=p(qo=>{"use strict";Object.defineProperty(qo,"__esModule",{value:!0});qo.default=void 0;var Jw={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"]]},Yw=Jw;qo.default=Yw});var sp=p(Ao=>{"use strict";Object.defineProperty(Ao,"__esModule",{value:!0});Ao.default=void 0;var Qw={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"]]},Zw=Qw;Ao.default=Zw});var lp=p(Mo=>{"use strict";Object.defineProperty(Mo,"__esModule",{value:!0});Mo.default=void 0;var e_={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"]]},t_=e_;Mo.default=t_});var up=p(ko=>{"use strict";Object.defineProperty(ko,"__esModule",{value:!0});ko.default=void 0;var r_={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"strong"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},n_=r_;ko.default=n_});var cp=p(Oo=>{"use strict";Object.defineProperty(Oo,"__esModule",{value:!0});Oo.default=void 0;var o_={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"sub"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},i_=o_;Oo.default=i_});var dp=p(Io=>{"use strict";Object.defineProperty(Io,"__esModule",{value:!0});Io.default=void 0;var a_={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"sup"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},s_=a_;Io.default=s_});var pp=p(No=>{"use strict";Object.defineProperty(No,"__esModule",{value:!0});No.default=void 0;var l_={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"]]},u_=l_;No.default=u_});var fp=p(Lo=>{"use strict";Object.defineProperty(Lo,"__esModule",{value:!0});Lo.default=void 0;var c_={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"]]},d_=c_;Lo.default=d_});var mp=p(Do=>{"use strict";Object.defineProperty(Do,"__esModule",{value:!0});Do.default=void 0;var p_={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"]]},f_=p_;Do.default=f_});var bp=p(Bo=>{"use strict";Object.defineProperty(Bo,"__esModule",{value:!0});Bo.default=void 0;var m_={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"]]},b_=m_;Bo.default=b_});var vp=p(Fo=>{"use strict";Object.defineProperty(Fo,"__esModule",{value:!0});Fo.default=void 0;var v_={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},y_=v_;Fo.default=y_});var yp=p(Uo=>{"use strict";Object.defineProperty(Uo,"__esModule",{value:!0});Uo.default=void 0;var h_={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"]]},g_=h_;Uo.default=g_});var hp=p($o=>{"use strict";Object.defineProperty($o,"__esModule",{value:!0});$o.default=void 0;var E_={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-autocomplete":null,"aria-errormessage":null,"aria-haspopup":null,"aria-invalid":null,"aria-multiline":null,"aria-placeholder":null,"aria-readonly":null,"aria-required":null},relatedConcepts:[{concept:{attributes:[{constraints:["undefined"],name:"type"},{constraints:["undefined"],name:"list"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"email"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"tel"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"text"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"url"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{name:"input"},module:"XForms"},{concept:{name:"textarea"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","input"]]},w_=E_;$o.default=w_});var gp=p(jo=>{"use strict";Object.defineProperty(jo,"__esModule",{value:!0});jo.default=void 0;var __={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"time"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},C_=__;jo.default=C_});var Ep=p(Ho=>{"use strict";Object.defineProperty(Ho,"__esModule",{value:!0});Ho.default=void 0;var T_={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","status"]]},P_=T_;Ho.default=P_});var wp=p(Vo=>{"use strict";Object.defineProperty(Vo,"__esModule",{value:!0});Vo.default=void 0;var R_={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"]]},S_=R_;Vo.default=S_});var _p=p(Wo=>{"use strict";Object.defineProperty(Wo,"__esModule",{value:!0});Wo.default=void 0;var x_={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},q_=x_;Wo.default=q_});var Cp=p(zo=>{"use strict";Object.defineProperty(zo,"__esModule",{value:!0});zo.default=void 0;var A_={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"]]},M_=A_;zo.default=M_});var Tp=p(Ko=>{"use strict";Object.defineProperty(Ko,"__esModule",{value:!0});Ko.default=void 0;var k_={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"]]},O_=k_;Ko.default=O_});var Pp=p(Go=>{"use strict";Object.defineProperty(Go,"__esModule",{value:!0});Go.default=void 0;var I_={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"]]},N_=I_;Go.default=N_});var Rp=p(Xo=>{"use strict";Object.defineProperty(Xo,"__esModule",{value:!0});Xo.default=void 0;var L_=_(Yc()),D_=_(Qc()),B_=_(Zc()),F_=_(ed()),U_=_(td()),$_=_(rd()),j_=_(nd()),H_=_(od()),V_=_(id()),W_=_(ad()),z_=_(sd()),K_=_(ld()),G_=_(ud()),X_=_(cd()),J_=_(dd()),Y_=_(pd()),Q_=_(fd()),Z_=_(md()),eC=_(bd()),tC=_(vd()),rC=_(yd()),nC=_(hd()),oC=_(gd()),iC=_(Ed()),aC=_(wd()),sC=_(_d()),lC=_(Cd()),uC=_(Td()),cC=_(Pd()),dC=_(Rd()),pC=_(Sd()),fC=_(xd()),mC=_(qd()),bC=_(Ad()),vC=_(Md()),yC=_(kd()),hC=_(Od()),gC=_(Id()),EC=_(Nd()),wC=_(Ld()),_C=_(Dd()),CC=_(Bd()),TC=_(Fd()),PC=_(Ud()),RC=_($d()),SC=_(jd()),xC=_(Hd()),qC=_(Vd()),AC=_(Wd()),MC=_(zd()),kC=_(Kd()),OC=_(Gd()),IC=_(Xd()),NC=_(Jd()),LC=_(Yd()),DC=_(Qd()),BC=_(Zd()),FC=_(ep()),UC=_(tp()),$C=_(rp()),jC=_(np()),HC=_(op()),VC=_(ip()),WC=_(ap()),zC=_(sp()),KC=_(lp()),GC=_(up()),XC=_(cp()),JC=_(dp()),YC=_(pp()),QC=_(fp()),ZC=_(mp()),eT=_(bp()),tT=_(vp()),rT=_(yp()),nT=_(hp()),oT=_(gp()),iT=_(Ep()),aT=_(wp()),sT=_(_p()),lT=_(Cp()),uT=_(Tp()),cT=_(Pp());function _(e){return e&&e.__esModule?e:{default:e}}var dT=[["alert",L_.default],["alertdialog",D_.default],["application",B_.default],["article",F_.default],["banner",U_.default],["blockquote",$_.default],["button",j_.default],["caption",H_.default],["cell",V_.default],["checkbox",W_.default],["code",z_.default],["columnheader",K_.default],["combobox",G_.default],["complementary",X_.default],["contentinfo",J_.default],["definition",Y_.default],["deletion",Q_.default],["dialog",Z_.default],["directory",eC.default],["document",tC.default],["emphasis",rC.default],["feed",nC.default],["figure",oC.default],["form",iC.default],["generic",aC.default],["grid",sC.default],["gridcell",lC.default],["group",uC.default],["heading",cC.default],["img",dC.default],["insertion",pC.default],["link",fC.default],["list",mC.default],["listbox",bC.default],["listitem",vC.default],["log",yC.default],["main",hC.default],["mark",gC.default],["marquee",EC.default],["math",wC.default],["menu",_C.default],["menubar",CC.default],["menuitem",TC.default],["menuitemcheckbox",PC.default],["menuitemradio",RC.default],["meter",SC.default],["navigation",xC.default],["none",qC.default],["note",AC.default],["option",MC.default],["paragraph",kC.default],["presentation",OC.default],["progressbar",IC.default],["radio",NC.default],["radiogroup",LC.default],["region",DC.default],["row",BC.default],["rowgroup",FC.default],["rowheader",UC.default],["scrollbar",$C.default],["search",jC.default],["searchbox",HC.default],["separator",VC.default],["slider",WC.default],["spinbutton",zC.default],["status",KC.default],["strong",GC.default],["subscript",XC.default],["superscript",JC.default],["switch",YC.default],["tab",QC.default],["table",ZC.default],["tablist",eT.default],["tabpanel",tT.default],["term",rT.default],["textbox",nT.default],["time",oT.default],["timer",iT.default],["toolbar",aT.default],["tooltip",sT.default],["tree",lT.default],["treegrid",uT.default],["treeitem",cT.default]],pT=dT;Xo.default=pT});var Sp=p(Jo=>{"use strict";Object.defineProperty(Jo,"__esModule",{value:!0});Jo.default=void 0;var fT={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"]]},mT=fT;Jo.default=mT});var xp=p(Yo=>{"use strict";Object.defineProperty(Yo,"__esModule",{value:!0});Yo.default=void 0;var bT={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"]]},vT=bT;Yo.default=vT});var qp=p(Qo=>{"use strict";Object.defineProperty(Qo,"__esModule",{value:!0});Qo.default=void 0;var yT={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"]]},hT=yT;Qo.default=hT});var Ap=p(Zo=>{"use strict";Object.defineProperty(Zo,"__esModule",{value:!0});Zo.default=void 0;var gT={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"]]},ET=gT;Zo.default=ET});var Mp=p(ei=>{"use strict";Object.defineProperty(ei,"__esModule",{value:!0});ei.default=void 0;var wT={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"referrer [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]},_T=wT;ei.default=_T});var kp=p(ti=>{"use strict";Object.defineProperty(ti,"__esModule",{value:!0});ti.default=void 0;var CT={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"]]},TT=CT;ti.default=TT});var Op=p(ri=>{"use strict";Object.defineProperty(ri,"__esModule",{value:!0});ri.default=void 0;var PT={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"]]},RT=PT;ri.default=RT});var Ip=p(ni=>{"use strict";Object.defineProperty(ni,"__esModule",{value:!0});ni.default=void 0;var ST={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"]]},xT=ST;ni.default=xT});var Np=p(oi=>{"use strict";Object.defineProperty(oi,"__esModule",{value:!0});oi.default=void 0;var qT={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"]]},AT=qT;oi.default=AT});var Lp=p(ii=>{"use strict";Object.defineProperty(ii,"__esModule",{value:!0});ii.default=void 0;var MT={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"]]},kT=MT;ii.default=kT});var Dp=p(ai=>{"use strict";Object.defineProperty(ai,"__esModule",{value:!0});ai.default=void 0;var OT={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"]]},IT=OT;ai.default=IT});var Bp=p(si=>{"use strict";Object.defineProperty(si,"__esModule",{value:!0});si.default=void 0;var NT={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"]]},LT=NT;si.default=LT});var Fp=p(li=>{"use strict";Object.defineProperty(li,"__esModule",{value:!0});li.default=void 0;var DT={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"]]},BT=DT;li.default=BT});var Up=p(ui=>{"use strict";Object.defineProperty(ui,"__esModule",{value:!0});ui.default=void 0;var FT={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"]]},UT=FT;ui.default=UT});var $p=p(ci=>{"use strict";Object.defineProperty(ci,"__esModule",{value:!0});ci.default=void 0;var $T={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"]]},jT=$T;ci.default=jT});var jp=p(di=>{"use strict";Object.defineProperty(di,"__esModule",{value:!0});di.default=void 0;var HT={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"]]},VT=HT;di.default=VT});var Hp=p(pi=>{"use strict";Object.defineProperty(pi,"__esModule",{value:!0});pi.default=void 0;var WT={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"]]},zT=WT;pi.default=zT});var Vp=p(fi=>{"use strict";Object.defineProperty(fi,"__esModule",{value:!0});fi.default=void 0;var KT={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"]]},GT=KT;fi.default=GT});var Wp=p(mi=>{"use strict";Object.defineProperty(mi,"__esModule",{value:!0});mi.default=void 0;var XT={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"]]},JT=XT;mi.default=JT});var zp=p(bi=>{"use strict";Object.defineProperty(bi,"__esModule",{value:!0});bi.default=void 0;var YT={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"]]},QT=YT;bi.default=QT});var Kp=p(vi=>{"use strict";Object.defineProperty(vi,"__esModule",{value:!0});vi.default=void 0;var ZT={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"]]},eP=ZT;vi.default=eP});var Gp=p(yi=>{"use strict";Object.defineProperty(yi,"__esModule",{value:!0});yi.default=void 0;var tP={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"]]},rP=tP;yi.default=rP});var Xp=p(hi=>{"use strict";Object.defineProperty(hi,"__esModule",{value:!0});hi.default=void 0;var nP={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"foreword [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},oP=nP;hi.default=oP});var Jp=p(gi=>{"use strict";Object.defineProperty(gi,"__esModule",{value:!0});gi.default=void 0;var iP={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"]]},aP=iP;gi.default=aP});var Yp=p(Ei=>{"use strict";Object.defineProperty(Ei,"__esModule",{value:!0});Ei.default=void 0;var sP={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"]]},lP=sP;Ei.default=lP});var Qp=p(wi=>{"use strict";Object.defineProperty(wi,"__esModule",{value:!0});wi.default=void 0;var uP={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"]]},cP=uP;wi.default=cP});var Zp=p(_i=>{"use strict";Object.defineProperty(_i,"__esModule",{value:!0});_i.default=void 0;var dP={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"introduction [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},pP=dP;_i.default=pP});var ef=p(Ci=>{"use strict";Object.defineProperty(Ci,"__esModule",{value:!0});Ci.default=void 0;var fP={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"]]},mP=fP;Ci.default=mP});var tf=p(Ti=>{"use strict";Object.defineProperty(Ti,"__esModule",{value:!0});Ti.default=void 0;var bP={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"notice [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","note"]]},vP=bP;Ti.default=vP});var rf=p(Pi=>{"use strict";Object.defineProperty(Pi,"__esModule",{value:!0});Pi.default=void 0;var yP={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"]]},hP=yP;Pi.default=hP});var nf=p(Ri=>{"use strict";Object.defineProperty(Ri,"__esModule",{value:!0});Ri.default=void 0;var gP={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"page-list [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]},EP=gP;Ri.default=EP});var of=p(Si=>{"use strict";Object.defineProperty(Si,"__esModule",{value:!0});Si.default=void 0;var wP={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"part [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},_P=wP;Si.default=_P});var af=p(xi=>{"use strict";Object.defineProperty(xi,"__esModule",{value:!0});xi.default=void 0;var CP={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"]]},TP=CP;xi.default=TP});var sf=p(qi=>{"use strict";Object.defineProperty(qi,"__esModule",{value:!0});qi.default=void 0;var PP={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"prologue [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},RP=PP;qi.default=RP});var lf=p(Ai=>{"use strict";Object.defineProperty(Ai,"__esModule",{value:!0});Ai.default=void 0;var SP={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"]]},xP=SP;Ai.default=xP});var uf=p(Mi=>{"use strict";Object.defineProperty(Mi,"__esModule",{value:!0});Mi.default=void 0;var qP={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"qna [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},AP=qP;Mi.default=AP});var cf=p(ki=>{"use strict";Object.defineProperty(ki,"__esModule",{value:!0});ki.default=void 0;var MP={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"subtitle [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","sectionhead"]]},kP=MP;ki.default=kP});var df=p(Oi=>{"use strict";Object.defineProperty(Oi,"__esModule",{value:!0});Oi.default=void 0;var OP={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"help [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","note"]]},IP=OP;Oi.default=IP});var pf=p(Ii=>{"use strict";Object.defineProperty(Ii,"__esModule",{value:!0});Ii.default=void 0;var NP={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"toc [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]},LP=NP;Ii.default=LP});var ff=p(Ni=>{"use strict";Object.defineProperty(Ni,"__esModule",{value:!0});Ni.default=void 0;var DP=k(Sp()),BP=k(xp()),FP=k(qp()),UP=k(Ap()),$P=k(Mp()),jP=k(kp()),HP=k(Op()),VP=k(Ip()),WP=k(Np()),zP=k(Lp()),KP=k(Dp()),GP=k(Bp()),XP=k(Fp()),JP=k(Up()),YP=k($p()),QP=k(jp()),ZP=k(Hp()),eR=k(Vp()),tR=k(Wp()),rR=k(zp()),nR=k(Kp()),oR=k(Gp()),iR=k(Xp()),aR=k(Jp()),sR=k(Yp()),lR=k(Qp()),uR=k(Zp()),cR=k(ef()),dR=k(tf()),pR=k(rf()),fR=k(nf()),mR=k(of()),bR=k(af()),vR=k(sf()),yR=k(lf()),hR=k(uf()),gR=k(cf()),ER=k(df()),wR=k(pf());function k(e){return e&&e.__esModule?e:{default:e}}var _R=[["doc-abstract",DP.default],["doc-acknowledgments",BP.default],["doc-afterword",FP.default],["doc-appendix",UP.default],["doc-backlink",$P.default],["doc-biblioentry",jP.default],["doc-bibliography",HP.default],["doc-biblioref",VP.default],["doc-chapter",WP.default],["doc-colophon",zP.default],["doc-conclusion",KP.default],["doc-cover",GP.default],["doc-credit",XP.default],["doc-credits",JP.default],["doc-dedication",YP.default],["doc-endnote",QP.default],["doc-endnotes",ZP.default],["doc-epigraph",eR.default],["doc-epilogue",tR.default],["doc-errata",rR.default],["doc-example",nR.default],["doc-footnote",oR.default],["doc-foreword",iR.default],["doc-glossary",aR.default],["doc-glossref",sR.default],["doc-index",lR.default],["doc-introduction",uR.default],["doc-noteref",cR.default],["doc-notice",dR.default],["doc-pagebreak",pR.default],["doc-pagelist",fR.default],["doc-part",mR.default],["doc-preface",bR.default],["doc-prologue",vR.default],["doc-pullquote",yR.default],["doc-qna",hR.default],["doc-subtitle",gR.default],["doc-tip",ER.default],["doc-toc",wR.default]],CR=_R;Ni.default=CR});var mf=p(Li=>{"use strict";Object.defineProperty(Li,"__esModule",{value:!0});Li.default=void 0;var TR={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"]]},PR=TR;Li.default=PR});var bf=p(Di=>{"use strict";Object.defineProperty(Di,"__esModule",{value:!0});Di.default=void 0;var RR={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"]]},SR=RR;Di.default=SR});var vf=p(Bi=>{"use strict";Object.defineProperty(Bi,"__esModule",{value:!0});Bi.default=void 0;var xR={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"]]},qR=xR;Bi.default=qR});var yf=p(Fi=>{"use strict";Object.defineProperty(Fi,"__esModule",{value:!0});Fi.default=void 0;var AR=ds(mf()),MR=ds(bf()),kR=ds(vf());function ds(e){return e&&e.__esModule?e:{default:e}}var OR=[["graphics-document",AR.default],["graphics-object",MR.default],["graphics-symbol",kR.default]],IR=OR;Fi.default=IR});var $i=p(Ui=>{"use strict";Object.defineProperty(Ui,"__esModule",{value:!0});Ui.default=void 0;var NR=sr(Jc()),LR=sr(Rp()),DR=sr(ff()),BR=sr(yf()),FR=sr(Pt());function sr(e){return e&&e.__esModule?e:{default:e}}function UR(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ps(e,t){var r=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=gf(e))||t&&e&&typeof e.length=="number"){r&&(e=r);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(u){throw u},f:o}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
10
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var i=!0,a=!1,s;return{s:function(){r=r.call(e)},n:function(){var u=r.next();return i=u.done,u},e:function(u){a=!0,s=u},f:function(){try{!i&&r.return!=null&&r.return()}finally{if(a)throw s}}}}function ar(e,t){return HR(e)||jR(e,t)||gf(e,t)||$R()}function $R(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
11
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function gf(e,t){if(e){if(typeof e=="string")return hf(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 hf(e,t)}}function hf(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 jR(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n=[],o=!0,i=!1,a,s;try{for(r=r.call(e);!(o=(a=r.next()).done)&&(n.push(a.value),!(t&&n.length===t));o=!0);}catch(l){i=!0,s=l}finally{try{!o&&r.return!=null&&r.return()}finally{if(i)throw s}}return n}}function HR(e){if(Array.isArray(e))return e}var Ge=[].concat(NR.default,LR.default,DR.default,BR.default);Ge.forEach(function(e){var t=ar(e,2),r=t[1],n=ps(r.superClass),o;try{for(n.s();!(o=n.n()).done;){var i=o.value,a=ps(i),s;try{var l=function(){var c=s.value,d=Ge.find(function(P){var f=ar(P,1),g=f[0];return g===c});if(d)for(var m=d[1],y=0,T=Object.keys(m.props);y<T.length;y++){var C=T[y];Object.prototype.hasOwnProperty.call(r.props,C)||Object.assign(r.props,UR({},C,m.props[C]))}};for(a.s();!(s=a.n()).done;)l()}catch(u){a.e(u)}finally{a.f()}}}catch(u){n.e(u)}finally{n.f()}});var fs={entries:function(){return Ge},forEach:function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,n=ps(Ge),o;try{for(n.s();!(o=n.n()).done;){var i=ar(o.value,2),a=i[0],s=i[1];t.call(r,s,a,Ge)}}catch(l){n.e(l)}finally{n.f()}},get:function(t){var r=Ge.find(function(n){return n[0]===t});return r&&r[1]},has:function(t){return!!fs.get(t)},keys:function(){return Ge.map(function(t){var r=ar(t,1),n=r[0];return n})},values:function(){return Ge.map(function(t){var r=ar(t,2),n=r[1];return n})}},VR=(0,FR.default)(fs,fs.entries());Ui.default=VR});var _f=p(wf=>{var Ef=Object.prototype.hasOwnProperty;function ms(e,t){var r,n;if(e===t)return!0;if(e&&t&&(r=e.constructor)===t.constructor){if(r===Date)return e.getTime()===t.getTime();if(r===RegExp)return e.toString()===t.toString();if(r===Array){if((n=e.length)===t.length)for(;n--&&ms(e[n],t[n]););return n===-1}if(!r||typeof e=="object"){n=0;for(r in e)if(Ef.call(e,r)&&++n&&!Ef.call(t,r)||!(r in t)||!ms(e[r],t[r]))return!1;return Object.keys(t).length===n}}return e!==e&&t!==t}wf.dequal=ms});var qf=p(zi=>{"use strict";Object.defineProperty(zi,"__esModule",{value:!0});zi.default=void 0;var Pf=_f(),WR=Sf(Pt()),Rf=Sf($i());function Sf(e){return e&&e.__esModule?e:{default:e}}function bs(e,t){return GR(e)||KR(e,t)||xf(e,t)||zR()}function zR(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
12
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function KR(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n=[],o=!0,i=!1,a,s;try{for(r=r.call(e);!(o=(a=r.next()).done)&&(n.push(a.value),!(t&&n.length===t));o=!0);}catch(l){i=!0,s=l}finally{try{!o&&r.return!=null&&r.return()}finally{if(i)throw s}}return n}}function GR(e){if(Array.isArray(e))return e}function XR(e,t){var r=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=xf(e))||t&&e&&typeof e.length=="number"){r&&(e=r);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(u){throw u},f:o}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
13
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var i=!0,a=!1,s;return{s:function(){r=r.call(e)},n:function(){var u=r.next();return i=u.done,u},e:function(u){a=!0,s=u},f:function(){try{!i&&r.return!=null&&r.return()}finally{if(a)throw s}}}}function xf(e,t){if(e){if(typeof e=="string")return Cf(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Cf(e,t)}}function Cf(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var Xe=[],Tf=Rf.default.keys();for(ji=0;ji<Tf.length;ji++)if(Hi=Tf[ji],Vi=Rf.default.get(Hi),Vi)for(vs=[].concat(Vi.baseConcepts,Vi.relatedConcepts),Wi=0;Wi<vs.length;Wi++)ys=vs[Wi],ys.module==="HTML"&&(function(){var e=ys.concept;if(e){var t=Xe.find(function(i){return(0,Pf.dequal)(i,e)}),r;t?r=t[1]:r=[];for(var n=!0,o=0;o<r.length;o++)if(r[o]===Hi){n=!1;break}n&&r.push(Hi),Xe.push([e,r])}})();var Hi,Vi,vs,ys,Wi,ji,hs={entries:function(){return Xe},forEach:function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,n=XR(Xe),o;try{for(n.s();!(o=n.n()).done;){var i=bs(o.value,2),a=i[0],s=i[1];t.call(r,s,a,Xe)}}catch(l){n.e(l)}finally{n.f()}},get:function(t){var r=Xe.find(function(n){return t.name===n[0].name&&(0,Pf.dequal)(t.attributes,n[0].attributes)});return r&&r[1]},has:function(t){return!!hs.get(t)},keys:function(){return Xe.map(function(t){var r=bs(t,1),n=r[0];return n})},values:function(){return Xe.map(function(t){var r=bs(t,2),n=r[1];return n})}},JR=(0,WR.default)(hs,hs.entries());zi.default=JR});var Nf=p(Yi=>{"use strict";Object.defineProperty(Yi,"__esModule",{value:!0});Yi.default=void 0;var YR=Of(Pt()),kf=Of($i());function Of(e){return e&&e.__esModule?e:{default:e}}function gs(e,t){return eS(e)||ZR(e,t)||If(e,t)||QR()}function QR(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
14
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function ZR(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n=[],o=!0,i=!1,a,s;try{for(r=r.call(e);!(o=(a=r.next()).done)&&(n.push(a.value),!(t&&n.length===t));o=!0);}catch(l){i=!0,s=l}finally{try{!o&&r.return!=null&&r.return()}finally{if(i)throw s}}return n}}function eS(e){if(Array.isArray(e))return e}function tS(e,t){var r=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=If(e))||t&&e&&typeof e.length=="number"){r&&(e=r);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(u){throw u},f:o}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
15
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var i=!0,a=!1,s;return{s:function(){r=r.call(e)},n:function(){var u=r.next();return i=u.done,u},e:function(u){a=!0,s=u},f:function(){try{!i&&r.return!=null&&r.return()}finally{if(a)throw s}}}}function If(e,t){if(e){if(typeof e=="string")return Af(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 Af(e,t)}}function Af(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 it=[],Mf=kf.default.keys();for(Ki=0;Ki<Mf.length;Ki++)if(Es=Mf[Ki],Gi=kf.default.get(Es),Xi=[],Gi){for(ws=[].concat(Gi.baseConcepts,Gi.relatedConcepts),Ji=0;Ji<ws.length;Ji++)_s=ws[Ji],_s.module==="HTML"&&(Cs=_s.concept,Cs!=null&&Xi.push(Cs));Xi.length>0&&it.push([Es,Xi])}var Es,Gi,Xi,ws,_s,Cs,Ji,Ki,Ts={entries:function(){return it},forEach:function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,n=tS(it),o;try{for(n.s();!(o=n.n()).done;){var i=gs(o.value,2),a=i[0],s=i[1];t.call(r,s,a,it)}}catch(l){n.e(l)}finally{n.f()}},get:function(t){var r=it.find(function(n){return n[0]===t});return r&&r[1]},has:function(t){return!!Ts.get(t)},keys:function(){return it.map(function(t){var r=gs(t,1),n=r[0];return n})},values:function(){return it.map(function(t){var r=gs(t,2),n=r[1];return n})}},rS=(0,YR.default)(Ts,Ts.entries());Yi.default=rS});var Lf=p(me=>{"use strict";Object.defineProperty(me,"__esModule",{value:!0});me.roles=me.roleElements=me.elementRoles=me.dom=me.aria=void 0;var nS=lr(Ic()),oS=lr(Dc()),iS=lr($i()),aS=lr(qf()),sS=lr(Nf());function lr(e){return e&&e.__esModule?e:{default:e}}var lS=nS.default;me.aria=lS;var uS=oS.default;me.dom=uS;var cS=iS.default;me.roles=cS;var dS=aS.default;me.elementRoles=dS;var pS=sS.default;me.roleElements=pS});var Df=p((KI,Qi)=>{var Ps=(function(){var e=String.fromCharCode,t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-$",n={};function o(a,s){if(!n[a]){n[a]={};for(var l=0;l<a.length;l++)n[a][a.charAt(l)]=l}return n[a][s]}var i={compressToBase64:function(a){if(a==null)return"";var s=i._compress(a,6,function(l){return t.charAt(l)});switch(s.length%4){default:case 0:return s;case 1:return s+"===";case 2:return s+"==";case 3:return s+"="}},decompressFromBase64:function(a){return a==null?"":a==""?null:i._decompress(a.length,32,function(s){return o(t,a.charAt(s))})},compressToUTF16:function(a){return a==null?"":i._compress(a,15,function(s){return e(s+32)})+" "},decompressFromUTF16:function(a){return a==null?"":a==""?null:i._decompress(a.length,16384,function(s){return a.charCodeAt(s)-32})},compressToUint8Array:function(a){for(var s=i.compress(a),l=new Uint8Array(s.length*2),u=0,c=s.length;u<c;u++){var d=s.charCodeAt(u);l[u*2]=d>>>8,l[u*2+1]=d%256}return l},decompressFromUint8Array:function(a){if(a==null)return i.decompress(a);for(var s=new Array(a.length/2),l=0,u=s.length;l<u;l++)s[l]=a[l*2]*256+a[l*2+1];var c=[];return s.forEach(function(d){c.push(e(d))}),i.decompress(c.join(""))},compressToEncodedURIComponent:function(a){return a==null?"":i._compress(a,6,function(s){return r.charAt(s)})},decompressFromEncodedURIComponent:function(a){return a==null?"":a==""?null:(a=a.replace(/ /g,"+"),i._decompress(a.length,32,function(s){return o(r,a.charAt(s))}))},compress:function(a){return i._compress(a,16,function(s){return e(s)})},_compress:function(a,s,l){if(a==null)return"";var u,c,d={},m={},y="",T="",C="",P=2,f=3,g=2,w=[],h=0,E=0,A;for(A=0;A<a.length;A+=1)if(y=a.charAt(A),Object.prototype.hasOwnProperty.call(d,y)||(d[y]=f++,m[y]=!0),T=C+y,Object.prototype.hasOwnProperty.call(d,T))C=T;else{if(Object.prototype.hasOwnProperty.call(m,C)){if(C.charCodeAt(0)<256){for(u=0;u<g;u++)h=h<<1,E==s-1?(E=0,w.push(l(h)),h=0):E++;for(c=C.charCodeAt(0),u=0;u<8;u++)h=h<<1|c&1,E==s-1?(E=0,w.push(l(h)),h=0):E++,c=c>>1}else{for(c=1,u=0;u<g;u++)h=h<<1|c,E==s-1?(E=0,w.push(l(h)),h=0):E++,c=0;for(c=C.charCodeAt(0),u=0;u<16;u++)h=h<<1|c&1,E==s-1?(E=0,w.push(l(h)),h=0):E++,c=c>>1}P--,P==0&&(P=Math.pow(2,g),g++),delete m[C]}else for(c=d[C],u=0;u<g;u++)h=h<<1|c&1,E==s-1?(E=0,w.push(l(h)),h=0):E++,c=c>>1;P--,P==0&&(P=Math.pow(2,g),g++),d[T]=f++,C=String(y)}if(C!==""){if(Object.prototype.hasOwnProperty.call(m,C)){if(C.charCodeAt(0)<256){for(u=0;u<g;u++)h=h<<1,E==s-1?(E=0,w.push(l(h)),h=0):E++;for(c=C.charCodeAt(0),u=0;u<8;u++)h=h<<1|c&1,E==s-1?(E=0,w.push(l(h)),h=0):E++,c=c>>1}else{for(c=1,u=0;u<g;u++)h=h<<1|c,E==s-1?(E=0,w.push(l(h)),h=0):E++,c=0;for(c=C.charCodeAt(0),u=0;u<16;u++)h=h<<1|c&1,E==s-1?(E=0,w.push(l(h)),h=0):E++,c=c>>1}P--,P==0&&(P=Math.pow(2,g),g++),delete m[C]}else for(c=d[C],u=0;u<g;u++)h=h<<1|c&1,E==s-1?(E=0,w.push(l(h)),h=0):E++,c=c>>1;P--,P==0&&(P=Math.pow(2,g),g++)}for(c=2,u=0;u<g;u++)h=h<<1|c&1,E==s-1?(E=0,w.push(l(h)),h=0):E++,c=c>>1;for(;;)if(h=h<<1,E==s-1){w.push(l(h));break}else E++;return w.join("")},decompress:function(a){return a==null?"":a==""?null:i._decompress(a.length,32768,function(s){return a.charCodeAt(s)})},_decompress:function(a,s,l){var u=[],c,d=4,m=4,y=3,T="",C=[],P,f,g,w,h,E,A,R={val:l(0),position:s,index:1};for(P=0;P<3;P+=1)u[P]=P;for(g=0,h=Math.pow(2,2),E=1;E!=h;)w=R.val&R.position,R.position>>=1,R.position==0&&(R.position=s,R.val=l(R.index++)),g|=(w>0?1:0)*E,E<<=1;switch(c=g){case 0:for(g=0,h=Math.pow(2,8),E=1;E!=h;)w=R.val&R.position,R.position>>=1,R.position==0&&(R.position=s,R.val=l(R.index++)),g|=(w>0?1:0)*E,E<<=1;A=e(g);break;case 1:for(g=0,h=Math.pow(2,16),E=1;E!=h;)w=R.val&R.position,R.position>>=1,R.position==0&&(R.position=s,R.val=l(R.index++)),g|=(w>0?1:0)*E,E<<=1;A=e(g);break;case 2:return""}for(u[3]=A,f=A,C.push(A);;){if(R.index>a)return"";for(g=0,h=Math.pow(2,y),E=1;E!=h;)w=R.val&R.position,R.position>>=1,R.position==0&&(R.position=s,R.val=l(R.index++)),g|=(w>0?1:0)*E,E<<=1;switch(A=g){case 0:for(g=0,h=Math.pow(2,8),E=1;E!=h;)w=R.val&R.position,R.position>>=1,R.position==0&&(R.position=s,R.val=l(R.index++)),g|=(w>0?1:0)*E,E<<=1;u[m++]=e(g),A=m-1,d--;break;case 1:for(g=0,h=Math.pow(2,16),E=1;E!=h;)w=R.val&R.position,R.position>>=1,R.position==0&&(R.position=s,R.val=l(R.index++)),g|=(w>0?1:0)*E,E<<=1;u[m++]=e(g),A=m-1,d--;break;case 2:return C.join("")}if(d==0&&(d=Math.pow(2,y),y++),u[A])T=u[A];else if(A===m)T=f+f.charAt(0);else return null;C.push(T),u[m++]=f+T.charAt(0),d--,f=T,d==0&&(d=Math.pow(2,y),y++)}}};return i})();typeof define=="function"&&define.amd?define(function(){return Ps}):typeof Qi<"u"&&Qi!=null?Qi.exports=Ps:typeof angular<"u"&&angular!=null&&angular.module("LZString",[]).factory("LZString",function(){return Ps})});var ka=null;function dl(e){ka=e}function Te(){if(!ka)throw new Error("No active driver bound to worker runtime");return ka}var Nt={activePlatform:"web",configuredBaseUrl:"http://localhost:3000",driverServerUrl:"tcp://127.0.0.1:8200",defaultElementWaitMs:5e3,defaultNavigationWaitMs:1e4,defaultPollIntervalMs:20,defaultReadyPollIntervalMs:50},Ne=null;function Lt(){if(Ne)return Ne;if(globalThis.__TESTSPECTRA_CONFIG__)return Ne=globalThis.__TESTSPECTRA_CONFIG__,Ne;if(typeof process<"u"&&process.env?.TESTSPECTRA_CONFIG)try{return Ne=JSON.parse(process.env.TESTSPECTRA_CONFIG),Ne}catch{}return Ne={rootDir:typeof process<"u"?process.cwd():"",testFilePath:"",activePlatform:Nt.activePlatform,configuredBaseUrl:Nt.configuredBaseUrl,cdpWsUrl:"",driverServerUrl:Nt.driverServerUrl,manifest:{page_objects:[],fixtures:[],steps:[],actions:[],global_hooks:[],suite_hooks:{}}},Ne}var pl=null;function fl(e,t,r,n){pl&&pl(e,t,r,n)}function Ar(){return Lt().implicitWaitMs??Nt.defaultElementWaitMs}function I(){return Math.min(Ar(),2e3)}function rt(e,t){console.log(`[${e}] ${t}`)}var qr={index:0,label:""},nt=[],Oa;async function ml(e,t){let r=globalThis.__CURRENT_TEST_TITLE__||globalThis.__CURRENT_TEST_ID__||"",n=globalThis.__TESTSPECTRA_WORKER_ID__,o={title:e,path:[...nt,e],depth:nt.length};r&&(o.test=r),n!==void 0&&(o.workerId=n),rt("TESTSPECTRA_GROUP_START",JSON.stringify(o)),nt.push(e);let i=Date.now();try{let a=await t();return rt("TESTSPECTRA_GROUP_PASS",`${JSON.stringify(o)} (${Date.now()-i}ms)`),a}catch(a){throw rt("TESTSPECTRA_GROUP_FAIL",`${JSON.stringify(o)} (${Date.now()-i}ms)`),a}finally{nt.pop()}}function bl(e){if(e==null)return"";if(typeof e=="string")return e;let t=e;return t.parent?`${t.selector} within ${bl(t.parent)}`:String(t.selector??"")}function ev(e){let t=typeof process<"u"?process.env?.TESTSPECTRA_DELAY_STEPS:void 0;return t?t.split(",").some(r=>{let[n,o=n]=r.split("-").map(i=>Number(i.trim()));return Number.isFinite(n)&&e>=n&&e<=o}):!0}async function x(e,t,r){let n=Lt(),o=globalThis.__CURRENT_TEST_TITLE__||globalThis.__CURRENT_TEST_ID__||"",i=globalThis.__TESTSPECTRA_WORKER_ID__;o&&!t.test&&(t.test=o),i!==void 0&&t.workerId===void 0&&(t.workerId=i);let a=nt[nt.length-1];qr={index:qr.index+1,label:`${t.key} ${bl(t.target)}`.trim(),group:a},t.step=qr.index,a!==void 0&&(t.group=a,t.groupPath=[...nt]),Oa=void 0,rt("TESTSPECTRA_STEP_START",JSON.stringify(t));let s=Date.now(),l=()=>(Oa&&(t.resolved=Oa),JSON.stringify(t));try{let u=await r(),c=Date.now()-s;rt("TESTSPECTRA_STEP_PASS",`${l()} (${c}ms)`),fl(`step:${t.key}`,e,c,{test:o,target:t.target});let d=n.stepDelayMs||0;return d>0&&ev(qr.index)&&await new Promise(m=>setTimeout(m,d)),u}catch(u){let c=Date.now()-s;throw rt("TESTSPECTRA_STEP_FAIL",`${l()} (${c}ms)`),fl(`step:${t.key}`,e,c,{test:o,target:t.target,failed:!0}),rt("TESTSPECTRA_TEST_ERROR",u?.message||String(u)),u}}async function M(e,t,r=15){let n=t??Ar(),o=Date.now();for(;Date.now()-o<n;){try{if(await e())return!0}catch{}await new Promise(i=>setTimeout(i,r))}try{return await e()}catch{return!1}}function vl(e,t,r){let n=()=>Te(),o=typeof e=="string"?e:e.selector;async function i(b){return x("assertion",{type:"assertion",key:"be.visible",target:e,args:[]},async()=>{if(!await M(()=>r.isVisible(),b?.timeoutMs??I()))throw new Error(`Expected element "${o}" to be visible`)})}async function a(b){return x("assertion",{type:"assertion",key:"not.be.visible",target:e,args:[]},async()=>{if(!await M(async()=>!await r.isVisible(),b?.timeoutMs??I()))throw new Error(`Expected element "${o}" not to be visible`)})}async function s(b){return x("assertion",{type:"assertion",key:"exist",target:e,args:[]},async()=>{if(!await M(()=>r.isExisting(),b?.timeoutMs??I()))throw new Error(`Expected element "${o}" to exist in DOM`)})}async function l(b){return x("assertion",{type:"assertion",key:"not.exist",target:e,args:[]},async()=>{if(!await M(async()=>!await r.isExisting(),b?.timeoutMs??I()))throw new Error(`Expected element "${o}" not to exist in DOM`)})}async function u(b){return x("assertion",{type:"assertion",key:"be.enabled",target:e,args:[]},async()=>{if(!await M(()=>r.isEnabled(),b?.timeoutMs??I()))throw new Error(`Expected element "${o}" to be enabled`)})}async function c(b){return x("assertion",{type:"assertion",key:"be.disabled",target:e,args:[]},async()=>{if(!await M(async()=>!await r.isEnabled(),b?.timeoutMs??I()))throw new Error(`Expected element "${o}" to be disabled`)})}async function d(b){return x("assertion",{type:"assertion",key:"be.clickable",target:e,args:[]},async()=>{if(!await M(()=>n().isClickable(e,t),b?.timeoutMs??I()))throw new Error(`Expected element "${o}" to be clickable`)})}async function m(b){return x("assertion",{type:"assertion",key:"not.be.clickable",target:e,args:[]},async()=>{if(!await M(async()=>!await n().isClickable(e,t),b?.timeoutMs??I()))throw new Error(`Expected element "${o}" not to be clickable`)})}async function y(b){return x("assertion",{type:"assertion",key:"be.checked",target:e,args:[]},async()=>{if(!await M(()=>r.isChecked(),b?.timeoutMs??I()))throw new Error(`Expected element "${o}" to be checked`)})}async function T(b){return x("assertion",{type:"assertion",key:"not.be.checked",target:e,args:[]},async()=>{if(!await M(async()=>!await r.isChecked(),b?.timeoutMs??I()))throw new Error(`Expected element "${o}" not to be checked`)})}async function C(b){return x("assertion",{type:"assertion",key:"be.focused",target:e,args:[]},async()=>{if(!await M(()=>r.isFocused(),b?.timeoutMs??I()))throw new Error(`Expected element "${o}" to be focused`)})}async function P(b){return x("assertion",{type:"assertion",key:"not.be.focused",target:e,args:[]},async()=>{if(!await M(async()=>!await r.isFocused(),b?.timeoutMs??I()))throw new Error(`Expected element "${o}" not to be focused`)})}async function f(b,v){return x("assertion",{type:"assertion",key:"have.value",target:e,args:[b]},async()=>{let S="";if(!await M(async()=>(S=await r.getValue(),S===String(b)),v?.timeoutMs??I()))throw new Error(`Expected element "${o}" to have value "${b}", but got "${S}"`)})}async function g(b,v){return x("assertion",{type:"assertion",key:"not.have.value",target:e,args:[b]},async()=>{if(!await M(async()=>await r.getValue()!==String(b),v?.timeoutMs??I()))throw new Error(`Expected element "${o}" not to have value "${b}"`)})}async function w(b,v){return x("assertion",{type:"assertion",key:"contain.value",target:e,args:[b]},async()=>{let S="";if(!await M(async()=>(S=await r.getValue(),S.includes(String(b))),v?.timeoutMs??I()))throw new Error(`Expected element "${o}" to contain value "${b}", but got "${S}"`)})}async function h(b,v){return x("assertion",{type:"assertion",key:"not.contain.value",target:e,args:[b]},async()=>{if(!await M(async()=>!(await r.getValue()).includes(String(b)),v?.timeoutMs??I()))throw new Error(`Expected element "${o}" not to contain value "${b}"`)})}async function E(b,v){return x("assertion",{type:"assertion",key:"have.text",target:e,args:[b]},async()=>{let S="";if(!await M(async()=>(S=await r.getText(),b instanceof RegExp?b.test(S):S===String(b)||S.trim()===String(b).trim()),v?.timeoutMs??I()))throw b instanceof RegExp?new Error(`Expected element "${o}" text to match ${b}, but got "${S}"`):new Error(`Expected element "${o}" to have text "${b}", but got "${S}"`)})}async function A(b,v){return x("assertion",{type:"assertion",key:"not.have.text",target:e,args:[b]},async()=>{let S="";if(!await M(async()=>await r.isExisting()?(S=await r.getText(),b instanceof RegExp?!b.test(S):S!==String(b)&&S.trim()!==String(b).trim()):!1,v?.timeoutMs??I()))throw b instanceof RegExp?new Error(`Expected element "${o}" text not to match ${b}`):new Error(`Expected element "${o}" not to have text "${b}"`)})}async function R(b,v){return x("assertion",{type:"assertion",key:"contain.text",target:e,args:[b]},async()=>{let S="";if(!await M(async()=>(S=await r.getText(),S.includes(String(b))),v?.timeoutMs??I()))throw new Error(`Expected element "${o}" to contain text "${b}", but got "${S}"`)})}async function H(b,v){return x("assertion",{type:"assertion",key:"not.contain.text",target:e,args:[b]},async()=>{if(!await M(async()=>!(await r.getText()).includes(String(b)),v?.timeoutMs??I()))throw new Error(`Expected element "${o}" not to contain text "${b}"`)})}async function F(b,v){return x("assertion",{type:"assertion",key:"have.class",target:e,args:[b]},async()=>{if(!await M(()=>n().hasClass(e,b,t),v?.timeoutMs??I()))throw new Error(`Expected element "${o}" to have class "${b}"`)})}async function W(b,v){return x("assertion",{type:"assertion",key:"not.have.class",target:e,args:[b]},async()=>{if(!await M(async()=>!await n().hasClass(e,b,t),v?.timeoutMs??I()))throw new Error(`Expected element "${o}" not to have class "${b}"`)})}async function K(b,v,S){return x("assertion",{type:"assertion",key:"have.attr",target:e,args:v!==void 0?[b,v]:[b]},async()=>{let D=null;if(!await M(async()=>(D=await r.getAttribute(b),v!==void 0?D===String(v):D!==null),S?.timeoutMs??I()))throw v!==void 0?new Error(`Expected element "${o}" to have attribute "${b}" = "${v}", but got "${D}"`):new Error(`Expected element "${o}" to have attribute "${b}"`)})}async function O(b,v){return x("assertion",{type:"assertion",key:"not.have.attr",target:e,args:[b]},async()=>{if(!await M(async()=>await r.getAttribute(b)===null,v?.timeoutMs??I()))throw new Error(`Expected element "${o}" not to have attribute "${b}"`)})}async function G(b,v,S){return x("assertion",{type:"assertion",key:"have.css",target:e,args:[b,v]},async()=>{let D=le=>String(le??"").replace(/\s+/g,"").replace(/rgba\((.+?),1\)/,"rgb($1)").toLowerCase(),L="";if(!await M(async()=>(L=(await r.getCSSProperty(b)).value,D(L)===D(v)),S?.timeoutMs??I()))throw new Error(`Expected element "${o}" to have CSS "${b}" = "${v}", but got "${L}"`)})}async function Y(b,v,S){return x("assertion",{type:"assertion",key:"not.have.css",target:e,args:[b,v]},async()=>{let D=pe=>String(pe??"").replace(/\s+/g,"").replace(/rgba\((.+?),1\)/,"rgb($1)").toLowerCase();if(!await M(async()=>{let pe=await r.getCSSProperty(b);return D(pe.value)!==D(v)},S?.timeoutMs??I()))throw new Error(`Expected element "${o}" not to have CSS "${b}" = "${v}"`)})}return{shouldBeVisible:i,shouldNotBeVisible:a,shouldExist:s,shouldNotExist:l,shouldBeEnabled:u,shouldBeDisabled:c,shouldBeClickable:d,shouldNotBeClickable:m,shouldBeChecked:y,shouldNotBeChecked:T,shouldBeFocused:C,shouldNotBeFocused:P,shouldHaveValue:f,shouldNotHaveValue:g,shouldContainValue:w,shouldNotContainValue:h,shouldHaveText:E,shouldNotHaveText:A,shouldContainText:R,shouldNotContainText:H,shouldHaveClass:F,shouldNotHaveClass:W,shouldHaveAttribute:K,shouldNotHaveAttribute:O,shouldHaveCss:G,shouldNotHaveCss:Y}}var yl=new Map;function hl(e,t){yl.set(e,t)}function gl(){return yl.entries()}var El=Symbol("testspectra.elementScope");function wl(e,t){Object.defineProperty(e,El,{value:t,enumerable:!1})}function Ia(e){if(!(e===null||typeof e!="object"))return e[El]}function _l(e,t){let r=()=>Te(),n=typeof e=="string"?e:e.selector;async function o(){return await r().getText(e,t)}async function i(){return await r().getValue(e,t)}async function a(){return await r().isDisplayed(e,t)}async function s(){return await a()}async function l(){return await r().isExisting(e,t)}async function u(){return await r().isEnabled(e,t)}async function c(){return await r().isClickable(e,t)}async function d(){return await r().isSelected(e,t)}async function m(){return await d()}async function y(){return await r().isFocused(e,t)}async function T(g){return await r().getAttribute(e,g,t)}async function C(g){return await r().getCSSProperty(e,g,t)}async function P(g){let w=g??Ar();if(await M(async()=>r().isExisting(e,t),w))return!0;throw new Error("Element not found: "+JSON.stringify(n))}async function f(g={}){let w=g.timeout||5e3,h=Date.now();for(;Date.now()-h<w;){if(await r().isDisplayed(e,t))return!0;await new Promise(E=>setTimeout(E,20))}throw new Error(`Element ${n} not displayed after ${w}ms`)}return{getText:o,getValue:i,isDisplayed:a,isVisible:s,isExisting:l,isEnabled:u,isClickable:c,isSelected:d,isChecked:m,isFocused:y,getAttribute:T,getCSSProperty:C,waitForElement:P,waitForDisplayed:f}}function Cl(e){return typeof e=="string"?e:e.selector}function Na(e,t){return typeof e=="string"?{selector:e,index:t,parent:void 0}:e}function ue(e,t=null){let r=Cl(e),n=typeof e=="string"?t:e.index,o=Tl(e,t),i=_l(e,t),a=vl(e,t,i),s={selector:r,index:n,...o,...i,...a,get(u,c=null){return ue({selector:u,index:c,parent:Na(e,t)},null)},getAll(u){return Pe({selector:u,index:null,parent:Na(e,t)})}};wl(s,Na(e,t));let l=s;for(let[u,c]of gl())u in l||(l[u]=(...d)=>c.apply(s,d));return s}function Pe(e){let t=()=>Te(),r=Cl(e),n=i=>typeof e=="string"?[e,i]:[{...e,index:i},null];return{selector:r,async count(){return await t().count(e)},get length(){return this.count()},first(){return ue(...n(0))},last(){return ue(...n(-1))},nth(i){return ue(...n(i))},async shouldHaveLength(i,a){return x("assertion",{type:"assertion",key:"have.length",target:e,args:[i]},async()=>{let s=0;if(!await M(async()=>(s=await this.count(),s===i),a?.timeoutMs??I()))throw new Error(`Expected collection "${r}" count to equal ${i}, but got ${s}`)})},async shouldNotHaveLength(i,a){return x("assertion",{type:"assertion",key:"not.have.length",target:e,args:[i]},async()=>{let s=0;if(!await M(async()=>(s=await this.count(),s!==i),a?.timeoutMs??I()))throw new Error(`Expected collection "${r}" count not to equal ${i}`)})},async shouldHaveLengthGreaterThan(i,a){return x("assertion",{type:"assertion",key:"have.length.greaterThan",target:e,args:[i]},async()=>{let s=0;if(!await M(async()=>(s=await this.count(),s>i),a?.timeoutMs??I()))throw new Error(`Expected collection "${r}" count to be greater than ${i}, but got ${s}`)})},async shouldHaveLengthLessThan(i,a){return x("assertion",{type:"assertion",key:"have.length.lessThan",target:e,args:[i]},async()=>{let s=0;if(!await M(async()=>(s=await this.count(),s<i),a?.timeoutMs??I()))throw new Error(`Expected collection "${r}" count to be less than ${i}, but got ${s}`)})},async shouldBeEmpty(i){return x("assertion",{type:"assertion",key:"be.empty",target:e,args:[]},async()=>{let a=0;if(!await M(async()=>(a=await this.count(),a===0),i?.timeoutMs??I()))throw new Error(`Expected collection "${r}" to be empty, but got ${a}`)})},async shouldNotBeEmpty(i){return x("assertion",{type:"assertion",key:"not.be.empty",target:e,args:[]},async()=>{let a=0;if(!await M(async()=>(a=await this.count(),a>0),i?.timeoutMs??I()))throw new Error(`Expected collection "${r}" not to be empty`)})}}}function ne(e){if(typeof e=="string")return ue(e,null);if(e&&typeof e=="object"&&"selector"in e)return e;throw new Error(`Invalid element target: ${String(e)}`)}function Pl(e){return typeof e=="string"?e:e.selector}function Tl(e,t){let r=()=>Te();async function n(v){return x("action",{type:"action",key:"click",target:e,args:[]},async()=>{await r().click(e,t)})}async function o(){return x("action",{type:"action",key:"doubleClick",target:e,args:[]},async()=>{await r().doubleClick(e,t)})}async function i(){return x("action",{type:"action",key:"rightClick",target:e,args:[]},async()=>{await r().rightClick(e,t)})}async function a(v){return x("action",{type:"action",key:"type",target:e,args:[v]},async()=>{await r().setValue(e,v,t)})}async function s(v,S){S?.clearFirst&&await l();let D=r();if(typeof D.typeText!="function"){await a(v);return}return x("action",{type:"action",key:"type",target:e,args:[v]},async()=>{await D.typeText(e,v,t)})}async function l(){return x("action",{type:"action",key:"clear",target:e,args:[]},async()=>{await r().clearValue(e,t)})}async function u(){await l()}async function c(v){return x("action",{type:"action",key:"select",target:e,args:[v]},async()=>{await r().select(e,v,t)})}async function d(v){await c(v)}async function m(){return x("action",{type:"action",key:"hover",target:e,args:[]},async()=>{await r().hover(e,t)})}async function y(){return x("action",{type:"action",key:"focus",target:e,args:[]},async()=>{await r().focus(e,t)})}async function T(){return x("action",{type:"action",key:"blur",target:e,args:[]},async()=>{await r().blur(e,t)})}async function C(v){return x("action",{type:"action",key:"waitForElementRemoved",target:e,args:[v??5e3]},async()=>{if(!await M(async()=>!await r().isExisting(e,t),v??5e3))throw new Error("Element still exists after timeout: "+JSON.stringify(Pl(e)))})}async function P(v){return x("action",{type:"action",key:"waitForUndisplayed",target:e,args:[v?.timeout??5e3]},async()=>{if(!await M(async()=>!await r().isDisplayed(e,t),v?.timeout??5e3))throw new Error("Element still displayed after timeout: "+JSON.stringify(Pl(e)))})}async function f(v){return x("action",{type:"action",key:"waitForClickable",target:e,args:[v?.timeout??5e3]},async()=>await M(async()=>await r().isClickable(e,t),v?.timeout??5e3))}async function g(){return x("action",{type:"action",key:"getBounds",target:e,args:[]},async()=>await r().getBounds(e,t))}function w(){let v=typeof e=="string"?e:e.selector,S=typeof e=="string"?t:e.index;return S==null?v:`${v}::nth(${S})`}function h(){return ue(w()+"::parent",null)}async function E(v){return x("action",{type:"action",key:"closest",target:e,args:[v]},async()=>await r().closest(e,v,t)?ue(`${w()}::closest(${v})`,null):null)}function A(v){return Pe(`${w()}::children(${v??""})`)}function R(v){return Pe(`${w()}::siblings(${v??""})`)}function H(v){return ue(`${w()}::next(${v??""})`,null)}async function F(){await m()}async function W(v){let S=typeof v=="string"?v:v?.selector||String(v);return x("action",{type:"action",key:"dragDrop",target:e,args:[S]},async()=>{await r().dragDrop(e,S,t)})}async function K(v){await W(v)}async function O(v){let S=typeof v=="number"?v:v?.duration||1e3;return x("action",{type:"action",key:"longPress",target:e,args:[S]},async()=>{await r().longPress(e,S,t)})}async function G(){return x("action",{type:"action",key:"scrollIntoView",target:e,args:[]},async()=>{await r().scrollIntoView(e,t)})}async function Y(v){return x("action",{type:"action",key:"upload",target:e,args:[v]},async()=>{await r().upload(e,v,t)})}async function b(v){await Y(v)}return{click:n,doubleClick:o,rightClick:i,setValue:a,type:s,clearValue:l,clear:u,select:c,selectByVisibleText:d,hover:m,focus:y,blur:T,waitForElementRemoved:C,waitForUndisplayed:P,waitForClickable:f,getBounds:g,parent:h,closest:E,children:A,siblings:R,next:H,moveTo:F,dragDrop:W,dragAndDrop:K,longPress:O,scrollIntoView:G,upload:Y,uploadFile:b}}var Sl=["number","date","time","color","file","range"],Rl=e=>e.replace(/[^\p{L}\p{N}]/gu,"");function Mr(e,t,r){return t===null||r===null?!0:t===e||t!==r||Rl(t)===Rl(e)}function La(e,t,r,n){let o=n?` (${n})`:"";return new Error(`Typed text did not reach element "${e}": expected "${t}", got "${r}"${o}`)}var tv={Backspace:{code:"Backspace",windowsVirtualKeyCode:8},Tab:{code:"Tab",windowsVirtualKeyCode:9},Enter:{code:"Enter",windowsVirtualKeyCode:13,text:"\r"},Escape:{code:"Escape",windowsVirtualKeyCode:27},Delete:{code:"Delete",windowsVirtualKeyCode:46},ArrowLeft:{code:"ArrowLeft",windowsVirtualKeyCode:37},ArrowUp:{code:"ArrowUp",windowsVirtualKeyCode:38},ArrowRight:{code:"ArrowRight",windowsVirtualKeyCode:39},ArrowDown:{code:"ArrowDown",windowsVirtualKeyCode:40},Home:{code:"Home",windowsVirtualKeyCode:36},End:{code:"End",windowsVirtualKeyCode:35},PageUp:{code:"PageUp",windowsVirtualKeyCode:33},PageDown:{code:"PageDown",windowsVirtualKeyCode:34}};function xl(e){if(typeof e!="string")return null;let t=tv[e];return t?{key:e,...t}:null}function Ba(e,t){if(!e||e==="*"||e==="**"||e==="ALL")return!0;if(e.startsWith("/")&&e.endsWith("/"))try{return new RegExp(e.slice(1,-1)).test(t)}catch{}if(e.includes("*")){let r=e.replace(/[.+?^${}()|[\]\\]/g,"\\$&").replace(/\*/g,".*");try{return new RegExp(`^${r}(?:[?#].*)?$`,"i").test(t)}catch{}}return t.toLowerCase().includes(e.toLowerCase())}function kr(e,t){let r=!1,n={unroute:()=>{r||(r=!0,t?.())},respondWith:async(i,a={})=>{let s=i;e.response=s&&s.body!==void 0?s.body:i;let l=Da(s)?.statusCode;(a.statusCode||s&&s.statusCode||l)&&(e.statusCode=a.statusCode||s?.statusCode||l||200),(a.headers||s&&s.headers)&&(e.headers=a.headers||s?.headers),(a.delayMs!==void 0||s&&s.delayMs!==void 0)&&(e.delayMs=a.delayMs??s?.delayMs),e.aborted=!1},respondOnce:async(i,a={})=>{let s=i,l=s&&s.body!==void 0?s.body:i,u=a.statusCode||s&&s.statusCode||Da(s)?.statusCode||e.statusCode||200,c=a.headers||s&&s.headers||e.headers,d=a.delayMs??(s&&s.delayMs)??e.delayMs;e.respondOnceQueue.push({response:l,statusCode:u,headers:c,delayMs:d}),e.aborted=!1},abort:async(i="Failed")=>{e.aborted=!0,e.abortReason=i},waitForCall:async(i={})=>{let a=i.count??1,s=i.timeout??5e3;return e.calls.length>=a?e.calls[a-1]:new Promise((l,u)=>{let c=setTimeout(()=>{let d=e.waitResolvers.findIndex(m=>m.resolve===l);d!==-1&&e.waitResolvers.splice(d,1),u(new Error(`Spectra.intercept waitForCall timed out after ${s}ms (expected at least ${a} call(s), received ${e.calls.length})`))},s);e.waitResolvers.push({count:a,resolve:d=>{clearTimeout(c),l(d)}})})}};n.shouldHaveCallCount=(i,a={})=>x("assertion",{type:"assertion",key:"have.callCount",target:`intercept ${e.method} ${e.pattern}`,args:[i]},async()=>{if(!await M(()=>e.callCount===i,a.timeout??I())){let l=e.calls.map(u=>`${u.method} ${u.url}`).join(", ");throw new Error(`Expected intercept '${e.pattern}' (${e.method}) to have answered ${i} request(s), but it answered ${e.callCount}${l?`: ${l}`:""}`)}});let o=()=>e.callCount;return n.callCount=Object.assign(o,{valueOf:()=>e.callCount,[Symbol.toPrimitive]:()=>e.callCount}),Object.defineProperty(n,"calls",{get:()=>e.calls,enumerable:!0}),n}function Or(e,t,r,n){let o,i,a,s,l,u;if(typeof e=="object"&&e!==null)o=e.url||e.pattern||"*",i=(e.method||"GET").toUpperCase(),a=e.response!==void 0?e.response:typeof t=="object"&&t!==null?t:r,s=e.statusCode||n&&n.statusCode||200,l=e.headers||n&&n.headers,u=e.delayMs??(n&&n.delayMs);else if(o=String(e||"*"),typeof t=="string"&&["GET","POST","PUT","DELETE","PATCH","HEAD","OPTIONS","ALL"].includes(t.toUpperCase())){i=t.toUpperCase();let c=r;a=c&&c.body!==void 0?c.body:r,s=n&&n.statusCode||c&&c.statusCode||200,l=n&&n.headers||c&&c.headers,u=(n&&n.delayMs)??(c&&c.delayMs)}else{i="GET";let c=t;a=c&&c.body!==void 0?c.body:t,s=r&&r.statusCode||c&&c.statusCode||200,l=r&&r.headers||c&&c.headers,u=(r&&r.delayMs)??(c&&c.delayMs)}return{pattern:o,method:i,response:a,statusCode:s,headers:l,delayMs:u,callCount:0,respondOnceQueue:[],calls:[],waitResolvers:[]}}function Dt(e,t,r){for(let n of e)if(Ba(n.pattern,t)&&(!n.method||n.method==="ALL"||n.method.toUpperCase()===r.toUpperCase()))return n;return null}function Bt(e,t){e.calls.push(t),e.callCount++;for(let r=e.waitResolvers.length-1;r>=0;r--){let n=e.waitResolvers[r];e.callCount>=n.count&&(e.waitResolvers.splice(r,1),n.resolve(t))}return t}var rv=new Set(["status","statusCode","headers","body","delayMs"]);function Da(e){if(typeof e!="object"||e===null||Array.isArray(e))return null;let t=e,r=Object.keys(t);if(r.length===0||!r.every(o=>rv.has(o)))return null;let n=typeof t.status=="number"?t.status:t.statusCode;return!("body"in t)&&typeof n!="number"?null:{body:t.body??"",statusCode:n,headers:t.headers,delayMs:t.delayMs}}async function Fa(e,t){let r=Ua(e),n=typeof r.body=="function"?await r.body(t):r.body,o=Da(n);return o?{body:o.body,statusCode:o.statusCode??r.statusCode,headers:{...r.headers,...o.headers},delayMs:o.delayMs??r.delayMs}:{...r,body:n}}function Ua(e){if(e.respondOnceQueue.length>0){let t=e.respondOnceQueue.shift();return{body:t.response,statusCode:t.statusCode||e.statusCode||200,headers:{...e.headers,...t.headers},delayMs:t.delayMs??e.delayMs}}return{body:e.response,statusCode:e.statusCode||200,headers:{...e.headers},delayMs:e.delayMs}}var nv={"Content-Type":"application/json; charset=utf-8","Access-Control-Allow-Origin":"*","Access-Control-Allow-Methods":"GET, POST, PUT, DELETE, PATCH, OPTIONS","Access-Control-Allow-Headers":"*"};function Ir(e){let t=new Map;for(let[r,n]of Object.entries(nv))t.set(r.toLowerCase(),{name:r,value:n});for(let[r,n]of Object.entries(e||{}))t.set(r.toLowerCase(),{name:r,value:String(n)});return[...t.values()]}function Ft(e){return typeof e=="string"?e:typeof e=="object"&&e!==null?JSON.stringify(e):String(e??"")}function ql(e){let t=/^(.*)::nth\((-?\d+)\)$/.exec(e);if(t)return{kind:"nth",base:t[1],arg:t[2]};let r=/^(.*)::closest\((.+)\)$/.exec(e);if(r)return{kind:"closest",base:r[1],arg:r[2]};let n=/^(.*)::children\((.*)\)$/.exec(e);if(n)return{kind:"children",base:n[1],arg:n[2].trim()||null};let o=/^(.*)::children$/.exec(e);if(o)return{kind:"children",base:o[1],arg:null};let i=/^(.*)::siblings\((.*)\)$/.exec(e);if(i)return{kind:"siblings",base:i[1],arg:i[2].trim()||null};let a=/^(.*)::siblings$/.exec(e);if(a)return{kind:"siblings",base:a[1],arg:null};let s=/^(.*)::next\((.*)\)$/.exec(e);if(s)return{kind:"next",base:s[1],arg:s[2].trim()||null};let l=/^(.*)::next$/.exec(e);if(l)return{kind:"next",base:l[1],arg:null};let u=/^(.*)::parent$/.exec(e);return u?{kind:"parent",base:u[1]}:null}function $a(e){let t=e.trim();if(!t.startsWith("~"))return null;let r=t.slice(1),n=r.indexOf("[");return n!==-1?{name:r.slice(0,n),chainSuffix:r.slice(n)}:{name:r,chainSuffix:""}}function Al(e){let t=$a(e);if(!t)return null;let{name:r,chainSuffix:n}=t,o=JSON.stringify(r);return`:is([aria-label=${o}], [title=${o}])${n}`}function Ml(e,t,r){let o=Array.from(t.querySelectorAll("[aria-labelledby]")).filter(i=>(i.getAttribute("aria-labelledby")??"").trim().split(/\s+/).map(l=>{let u=document.getElementById(l);return u?(u.textContent??"").trim():""}).filter(Boolean).join(" ").trim()===e);return r===null?o[0]??null:r>=0?o[r]??null:o[o.length+r]??null}var ov=new Set(["mount","unmount","registerCommand","registerCommands"]),iv=/^[A-Za-z_$][A-Za-z0-9_$]*$/;function kl(){let e=()=>Te(),t={get:r=>ne(r),getAll:r=>Pe(r),navigate:r=>e().navigate(r),back:()=>e().back(),forward:()=>e().forward(),refresh:()=>e().refresh(),setViewport:(r,n)=>e().setViewport(r,n),wait:r=>e().pause(r),click:async(r,n)=>{await ne(r).click()},clickAt:async(r,n)=>{await e().clickAt(r,n)},doubleClick:async r=>{await ne(r).doubleClick()},rightClick:async r=>{await ne(r).rightClick()},type:async(r,n,o)=>{await ne(r).type(n,o)},clear:async r=>{await ne(r).clear()},select:async(r,n)=>{await ne(r).select(n)},hover:async r=>{await ne(r).hover()},focus:async r=>{await ne(r).focus()},blur:async r=>{await ne(r).blur()},dragDrop:async(r,n)=>{await ne(r).dragDrop(n)},scrollIntoView:async r=>{await ne(r).scrollIntoView()},scroll:async r=>{await e().scroll(r)},swipe:async r=>{await e().swipe(r)},longPress:async(r,n)=>{await ne(r).longPress(n)},pressKey:async r=>{await e().pressKey(r)},grantPermission:async r=>{await e().grantPermission(r)},waitForElement:async(r,n)=>{await ne(r).waitForElement(n)},intercept:async(r,n,o,i)=>await e().intercept(r,n,o,i),clearMocks:()=>{e().clearMocks()},step:(r,n)=>ml(r,n),sleep:r=>new Promise(n=>setTimeout(n,r)),onConsole:r=>{let n=e();return typeof n.onConsole=="function"?n.onConsole(r):()=>{}},get browser(){return e()},get env(){return Lt().environmentVariables||{}}};return t.registerCommand=(r,n)=>{if(typeof n!="function")throw new Error(`[TestSpectra] Custom command "${r}" must be a function.`);if(!iv.test(r))throw new Error(`[TestSpectra] Invalid custom command name "${r}"; must be a valid identifier.`);if(ov.has(r)||r in t)throw new Error(`[TestSpectra] Custom command "${r}" collides with a built-in Spectra method.`);t[r]=n,hl(r,n)},t.registerCommands=r=>{for(let[n,o]of Object.entries(r))t.registerCommand(n,o)},t}function Ol(){return typeof globalThis.__TESTSPECTRA_STEP_DELAY_MS__=="number"?globalThis.__TESTSPECTRA_STEP_DELAY_MS__:typeof window<"u"&&typeof window.__TESTSPECTRA_STEP_DELAY_MS__=="number"?window.__TESTSPECTRA_STEP_DELAY_MS__:0}var av=5e3;function Nr(e,t){(typeof globalThis.__TESTSPECTRA_SEMANTIC_REPORTER__=="boolean"?globalThis.__TESTSPECTRA_SEMANTIC_REPORTER__:!(typeof window<"u"&&typeof window.__TESTSPECTRA_SEMANTIC_REPORTER__=="boolean")||window.__TESTSPECTRA_SEMANTIC_REPORTER__)&&console.log(`[${e}] ${t}`)}function ja(){return av}function sv(){return Math.min(ja(),2e3)}async function lv(e,t,r){let n=globalThis.__CURRENT_TEST_TITLE__;n&&!t.test&&(t.test=n);let o=JSON.stringify(t);Nr("TESTSPECTRA_STEP_START",o);let i=Date.now();try{let a=await r(),s=Date.now()-i;Nr("TESTSPECTRA_STEP_PASS",`${o} (${s}ms)`);let l=Ol();return l>0&&await new Promise(u=>setTimeout(u,l)),a}catch(a){let s=Date.now()-i;throw Nr("TESTSPECTRA_STEP_FAIL",`${o} (${s}ms)`),a}}async function uv(e,t,r=15){let n=t??ja(),o=Date.now();for(;Date.now()-o<n;){try{if(await e())return!0}catch{}await new Promise(i=>setTimeout(i,r))}try{return await e()}catch{return!1}}globalThis.__TESTSPECTRA_CONFIG__={rootDir:"",activePlatform:"web",configuredBaseUrl:"",cdpWsUrl:"",driverServerUrl:"",stepDelayMs:Ol()};globalThis.__TS_RUNTIME__={activeDriver:null,mobileMockRules:[],lastFocusedSelector:null,emitEvent:Nr,trackStep:lv,pollCondition:uv,getImplicitWaitMs:ja,getAssertionTimeoutMs:sv,matchesUrlPattern:Ba,createMockHandle:kr,parseMockRule:Or,findMatchingRule:Dt,recordMockCall:Bt,consumeMockResponse:Ua,mergeMockResponseHeaders:Ir,mockResponseBodyText:Ft,createElementProxy:ue,createCollectionProxy:Pe,beforeHook:null,afterHook:null,beforeEachHook:null,afterEachHook:null,suiteBeforeEachHooks:{},suiteAfterEachHooks:{}};var Il=new Set;async function Nl(e,t=[],r,n={platform:"web"}){for(let o of t)if(!Il.has(o))try{let i=await r(o),a=i?.default??i?.plugin??i;typeof a=="function"?await a(e,n):a&&typeof a.setup=="function"?await a.setup(e,n):console.error(`[TestSpectra] Plugin "${o}" has no default export function or setup() method \u2014 skipping.`),Il.add(o)}catch(i){console.error(`[TestSpectra] Failed to load plugin "${o}": ${i?.stack||i?.message||i}`)}}function cv(){let e=globalThis,t;try{t=e.__TESTSPECTRA_AUTO_IMPORT_MANIFEST__}catch{}if(!t&&typeof window<"u"&&(t=window.__TESTSPECTRA_AUTO_IMPORT_MANIFEST__),!t)return null;if(typeof t=="string")try{return JSON.parse(t)}catch{return null}return t}var Ll=new Map;async function Lr(e){let t=Ll.get(e);if(t)return t;let r,o=typeof globalThis.__vitest_browser_runner__<"u"||typeof globalThis.__vitest_worker__<"u"?`/@fs/${e.replace(/\\/g,"/")}`.replace(/\/@fs\/\//g,"/@fs/"):`/test?file=${encodeURIComponent(e)}`;if(e.endsWith(".json"))try{let i=await fetch(o);if(i.ok)r=await i.json();else throw new Error(`Failed to fetch JSON fixture: ${i.status}`)}catch{r=await new Function("specifier",'return import(specifier, { with: { type: "json" } })')(o)}else r=await new Function("specifier","return import(specifier)")(o);return Ll.set(e,r),r}async function Ha(e){let t=e??cv();if(!t)return;let r=t.pageObjects??t.page_objects??[];for(let l of r){let u=l.path??l.file_path;if(u){let c=await Lr(u);globalThis[l.name]=c.default??c}}let n={},o=t.fixtures??[];for(let l of o){let u=l.path??l.file_path;if(u){let c=u.split("/").pop()?.split("\\").pop()||`${l.name}.bin`;try{let d=await Lr(u),m=d?.default!==void 0?d.default:d??u;typeof m=="string"&&m.startsWith("data:")&&!m.includes("name=")&&(m=m.replace(/^data:([^;,]+)/,y=>`${y};name=${encodeURIComponent(c)}`)),n[l.name]=m}catch{n[l.name]=u}}}globalThis.Fixture=n;let i={},a=t.steps??[];for(let l of a){let u=l.path??l.file_path;if(u){let c=await Lr(u);i[l.name]=c.default??c}}globalThis.Step=i;let s=dv();if(s.length>0&&globalThis.Spectra){let l=globalThis.__TS_RUNTIME__;await Nl(globalThis.Spectra,s,Lr,{platform:"web",config:{baseUrl:"",implicitWaitMs:typeof l?.getImplicitWaitMs=="function"?l.getImplicitWaitMs():void 0,env:{}}})}}function dv(){let e=globalThis,t;try{t=e.__TESTSPECTRA_PLUGINS__}catch{}if(!t&&typeof window<"u"&&(t=window.__TESTSPECTRA_PLUGINS__),!t)return[];if(Array.isArray(t))return t.filter(r=>typeof r=="string");if(typeof t=="string")try{let r=JSON.parse(t);return Array.isArray(r)?r.filter(n=>typeof n=="string"):[]}catch{return[]}return[]}globalThis.__bootstrapAutoImports=Ha;function q(e,t,r){return e.namespaceURI&&e.namespaceURI!=="http://www.w3.org/1999/xhtml"||(t=Array.isArray(t)?t:[t],!t.includes(e.tagName.toLowerCase()))?!1:r?Object.entries(r).every(([n,o])=>e[n]===o):!0}function V(e){var t;if(pv(e)&&e.defaultView)return e.defaultView;if(!((t=e.ownerDocument)===null||t===void 0)&&t.defaultView)return e.ownerDocument.defaultView;throw new Error(`Could not determine window of node. Node was ${fv(e)}`)}function pv(e){return e.nodeType===9}function fv(e){return typeof e=="function"?`function ${e.name}`:e===null?"null":String(e)}function Va(e,t){return new Promise((r,n)=>{let o=new t;o.onerror=n,o.onabort=n,o.onload=()=>{r(String(o.result))},o.readAsText(e)})}function Ut(e,t){let r={...t,length:t.length,item:n=>r[n],[Symbol.iterator]:function*(){for(let o=0;o<r.length;o++)yield r[o]}};return r.constructor=e.FileList,e.FileList&&Object.setPrototypeOf(r,e.FileList.prototype),Object.freeze(r),r}function Le(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var $t=class{getAsFile(){return this.file}getAsString(t){typeof this.data=="string"&&t(this.data)}webkitGetAsEntry(){throw new Error("not implemented")}constructor(t,r){Le(this,"kind",void 0),Le(this,"type",void 0),Le(this,"file",null),Le(this,"data",void 0),typeof t=="string"?(this.kind="string",this.type=String(r),this.data=t):(this.kind="file",this.type=t.type,this.file=t)}};function Dl(e){return e.replace(/[A-Z]/g,t=>t.toLowerCase())}var za=class extends Array{add(...t){let r=typeof t[0]=="string"?new $t(t[0],Dl(t[1])):new $t(t[0]);return this.push(r),r}clear(){this.splice(0,this.length)}remove(t){this.splice(t,1)}};function Wa(e){let t=Dl(e);return t==="text"?"text/plain":t==="url"?"text/uri-list":t}function Dr(e,t){let[r,n]=e.split("/"),o=!n||n==="*";return i=>t?i.type===(o?r:e):o?i.type.startsWith(`${r}/`):i.type===r}function mv(e){return new class{getData(r){var n;let o=Wa(r),i=(n=this.items.find(Dr(o,!0)))!==null&&n!==void 0?n:this.items.find(Dr(o,!1)),a="";return i?.getAsString(s=>{a=s}),a}setData(r,n){let o=Wa(r),i=this.items.findIndex(Dr(o,!0)),a=new $t(n,o);i>=0?this.items.splice(i,1,a):this.items.push(a)}clearData(r){if(r){let n=Wa(r),o=this.items.findIndex(Dr(n,!0));o>=0&&this.items.remove(o)}else this.items.clear()}get types(){let r=[];return this.files.length&&r.push("Files"),this.items.forEach(n=>r.push(n.type)),Object.freeze(r),r}setDragImage(){}constructor(){Le(this,"dropEffect","none"),Le(this,"effectAllowed","uninitialized"),Le(this,"items",new za),Le(this,"files",Ut(e,[]))}}}function ht(e,t=[]){let r=typeof e.DataTransfer>"u"?mv(e):new e.DataTransfer;return Object.defineProperty(r,"files",{get:()=>Ut(e,t)}),r}async function Bl(e,t){return t.kind==="file"?t.getAsFile():new e.Blob([await new Promise(r=>t.getAsString(r))],{type:t.type})}function Ul(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function $l(e,...t){let r=Object.fromEntries(t.map(n=>[typeof n=="string"?"text/plain":n.type,Promise.resolve(n)]));return typeof e.ClipboardItem<"u"?new e.ClipboardItem(r):new class{get types(){return Array.from(Object.keys(this.data))}async getType(o){let i=await this.data[o];if(!i)throw new Error(`${o} is not one of the available MIME types on this item.`);return i instanceof e.Blob?i:new e.Blob([i],{type:o})}constructor(o){Ul(this,"data",void 0),this.data=o}}(r)}var gt=Symbol("Manage ClipboardSub");function Fl(e,t){return Object.assign(new class extends e.EventTarget{async read(){return Array.from(this.items)}async readText(){let n="";for(let o of this.items){let i=o.types.includes("text/plain")?"text/plain":o.types.find(a=>a.startsWith("text/"));i&&(n+=await o.getType(i).then(a=>Va(a,e.FileReader)))}return n}async write(n){this.items=n}async writeText(n){this.items=[$l(e,n)]}constructor(...n){super(...n),Ul(this,"items",[])}},{[gt]:t})}function Ka(e){return!!e?.[gt]}function jl(e){if(Ka(e.navigator.clipboard))return e.navigator.clipboard[gt];let t=Object.getOwnPropertyDescriptor(e.navigator,"clipboard"),r,n={resetClipboardStub:()=>{r=Fl(e,n)},detachClipboardStub:()=>{t?Object.defineProperty(e.navigator,"clipboard",t):Object.defineProperty(e.navigator,"clipboard",{value:void 0,configurable:!0})}};return r=Fl(e,n),Object.defineProperty(e.navigator,"clipboard",{get:()=>r,configurable:!0}),r[gt]}function bv(e){Ka(e.navigator.clipboard)&&e.navigator.clipboard[gt].resetClipboardStub()}function vv(e){Ka(e.navigator.clipboard)&&e.navigator.clipboard[gt].detachClipboardStub()}async function Hl(e){let t=e.defaultView,r=t?.navigator.clipboard,n=r&&await r.read();if(!n)throw new Error("The Clipboard API is unavailable.");let o=ht(t);for(let i of n)for(let a of i.types)o.setData(a,await i.getType(a).then(s=>Va(s,t.FileReader)));return o}async function Fr(e,t){let r=V(e),n=r.navigator.clipboard,o=[];for(let a=0;a<t.items.length;a++){let s=t.items[a],l=await Bl(r,s);o.push($l(r,l))}if(!(n&&await n.write(o).then(()=>!0,()=>!1)))throw new Error("The Clipboard API is unavailable.")}var Br=globalThis;typeof Br.afterEach=="function"&&Br.afterEach(()=>{typeof globalThis.window<"u"&&bv(globalThis.window)});typeof Br.afterAll=="function"&&Br.afterAll(()=>{typeof globalThis.window<"u"&&vv(globalThis.window)});var Ur=["input:not([type=hidden]):not([disabled])","button:not([disabled])","select:not([disabled])","textarea:not([disabled])",'[contenteditable=""]','[contenteditable="true"]',"a[href]","[tabindex]:not([disabled])","details > summary"].join(", ");function jt(e){return e.matches(Ur)}function Vl(e){return new e.constructor(e.type,e)}function te(e){for(let r=e;r;r=r.parentElement)if(q(r,["button","input","select","textarea","optgroup","option"])){if(r.hasAttribute("disabled"))return!0}else if(q(r,"fieldset")){var t;if(r.hasAttribute("disabled")&&!(!((t=r.querySelector(":scope > legend"))===null||t===void 0)&&t.contains(e)))return!0}else if(r.tagName.includes("-")&&r.constructor.formAssociated&&r.hasAttribute("disabled"))return!0;return!1}function De(e){let t=e.activeElement;if(t?.shadowRoot){let r=De(t.shadowRoot);if(r)return r}else if(t&&q(t,"iframe")){let r=t.contentDocument;if(r)return De(r)}return te(t)?e.ownerDocument?e.ownerDocument.body:e.body:t}function Et(e){var t;return(t=De(e))!==null&&t!==void 0?t:e.body}function Wl(e,t){let r=e;do{if(t(r))return r;r=r.parentElement}while(r&&r!==e.ownerDocument.body)}function ce(e){return e.hasAttribute("contenteditable")&&(e.getAttribute("contenteditable")=="true"||e.getAttribute("contenteditable")=="")}function Be(e){let t=yv(e);return t&&(t.closest('[contenteditable=""]')||t.closest('[contenteditable="true"]'))}function yv(e){return e.nodeType===1?e:e.parentElement}var zl=(function(e){return e.button="button",e.color="color",e.file="file",e.image="image",e.reset="reset",e.submit="submit",e.checkbox="checkbox",e.radio="radio",e})(zl||{});function $r(e){return q(e,"button")||q(e,"input")&&e.type in zl}function ve(e){return Ga(e)&&!e.readOnly||ce(e)}var Kl=(function(e){return 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",e})(Kl||{});function Ga(e){return q(e,"textarea")||q(e,"input")&&e.type in Kl}function X(e){return Xl(e)&&Ga(e)}function Gl(e){return Xl(e)&&$r(e)}function Xl(e){return e.nodeType===1}function Jl(e){let t=e.ownerDocument.getSelection();if(t?.focusNode&&X(e)){let n=Be(t.focusNode);if(n){if(!t.isCollapsed){var r;let o=((r=n.firstChild)===null||r===void 0?void 0:r.nodeType)===3?n.firstChild:n;t.setBaseAndExtent(o,0,o,0)}}else t.setBaseAndExtent(e,0,e,0)}}function jr(e,t){if(e==null)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.indexOf(n)!==-1)continue;r[n]=e[n]}return r}var ia=Ma(lc());var Qy=Object.prototype.toString;function uc(e){return typeof e=="function"||Qy.call(e)==="[object Function]"}function Zy(e){var t=Number(e);return isNaN(t)?0:t===0||!isFinite(t)?t:(t>0?1:-1)*Math.floor(Math.abs(t))}var eh=Math.pow(2,53)-1;function th(e){var t=Zy(e);return Math.min(Math.max(t,0),eh)}function de(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"&&!uc(t))throw new TypeError("Array.from: when provided, the second argument must be a function");for(var o=th(n.length),i=uc(r)?Object(new r(o)):new Array(o),a=0,s;a<o;)s=n[a],t?i[a]=t(s,a):i[a]=s,a+=1;return i.length=o,i}function rr(e){"@babel/helpers - typeof";return rr=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},rr(e)}function rh(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function cc(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,dc(n.key),n)}}function nh(e,t,r){return t&&cc(e.prototype,t),r&&cc(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function oh(e,t,r){return t=dc(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function dc(e){var t=ih(e,"string");return rr(t)==="symbol"?t:String(t)}function ih(e,t){if(rr(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(rr(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var ah=(function(){function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];rh(this,e),oh(this,"items",void 0),this.items=t}return nh(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(o){return o!==r}),n!==this.items.length}},{key:"forEach",value:function(r){var n=this;this.items.forEach(function(o){r(o,o,n)})}},{key:"has",value:function(r){return this.items.indexOf(r)!==-1}},{key:"size",get:function(){return this.items.length}}]),e})(),pc=typeof Set>"u"?Set:ah;function J(e){var t;return(t=e.localName)!==null&&t!==void 0?t:e.tagName.toLowerCase()}var sh={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"},lh={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 uh(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=lh[t])!==null&&n!==void 0&&n.has(r))})}function fc(e,t){return uh(e,t)}function Zr(e){var t=dh(e);if(t===null||t==="presentation"){var r=ch(e);if(t!=="presentation"||fc(e,r||""))return r}return t}function ch(e){var t=sh[J(e)];if(t!==void 0)return t;switch(J(e)){case"a":case"area":case"link":if(e.hasAttribute("href"))return"link";break;case"img":return e.getAttribute("alt")===""&&!fc(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 dh(e){var t=e.getAttribute("role");if(t!==null){var r=t.trim().split(" ")[0];if(r.length>0)return r}return null}function j(e){return e!==null&&e.nodeType===e.ELEMENT_NODE}function os(e){return j(e)&&J(e)==="caption"}function nr(e){return j(e)&&J(e)==="input"}function mc(e){return j(e)&&J(e)==="optgroup"}function bc(e){return j(e)&&J(e)==="select"}function vc(e){return j(e)&&J(e)==="table"}function yc(e){return j(e)&&J(e)==="textarea"}function hc(e){var t=e.ownerDocument===null?e:e.ownerDocument,r=t.defaultView;if(r===null)throw new TypeError("no window available");return r}function gc(e){return j(e)&&J(e)==="fieldset"}function Ec(e){return j(e)&&J(e)==="legend"}function wc(e){return j(e)&&J(e)==="slot"}function ph(e){return j(e)&&e.ownerSVGElement!==void 0}function _c(e){return j(e)&&J(e)==="svg"}function Cc(e){return ph(e)&&J(e)==="title"}function Tt(e,t){if(j(e)&&e.hasAttribute(t)){var r=e.getAttribute(t).split(" "),n=e.getRootNode?e.getRootNode():e.ownerDocument;return r.map(function(o){return n.getElementById(o)}).filter(function(o){return o!==null})}return[]}function ge(e,t){return j(e)?t.indexOf(Zr(e))!==-1:!1}function fh(e){return e.trim().replace(/\s\s+/g," ")}function mh(e,t){if(!j(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 bh(e){return ge(e,["button","combobox","listbox","textbox"])||Rc(e,"range")}function Rc(e,t){if(!j(e))return!1;if(t==="range")return ge(e,["meter","progressbar","scrollbar","slider","spinbutton"]);throw new TypeError("No knowledge about abstract role '".concat(t,"'. This is likely a bug :("))}function Tc(e,t){var r=de(e.querySelectorAll(t));return Tt(e,"aria-owns").forEach(function(n){r.push.apply(r,de(n.querySelectorAll(t)))}),r}function vh(e){return bc(e)?e.selectedOptions||Tc(e,"[selected]"):Tc(e,'[aria-selected="true"]')}function yh(e){return ge(e,["none","presentation"])}function hh(e){return os(e)}function gh(e){return ge(e,["button","cell","checkbox","columnheader","gridcell","heading","label","legend","link","menuitem","menuitemcheckbox","menuitemradio","option","radio","row","rowheader","switch","tab","tooltip","treeitem"])}function Eh(e){return!1}function wh(e){return nr(e)||yc(e)?e.value:e.textContent||""}function Pc(e){var t=e.getPropertyValue("content");return/^["'].*["']$/.test(t)?t.slice(1,-1):""}function Sc(e){var t=J(e);return t==="button"||t==="input"&&e.getAttribute("type")!=="hidden"||t==="meter"||t==="output"||t==="progress"||t==="select"||t==="textarea"}function xc(e){if(Sc(e))return e;var t=null;return e.childNodes.forEach(function(r){if(t===null&&j(r)){var n=xc(r);n!==null&&(t=n)}}),t}function _h(e){if(e.control!==void 0)return e.control;var t=e.getAttribute("for");return t!==null?e.ownerDocument.getElementById(t):xc(e)}function Ch(e){var t=e.labels;if(t===null)return t;if(t!==void 0)return de(t);if(!Sc(e))return null;var r=e.ownerDocument;return de(r.querySelectorAll("label")).filter(function(n){return _h(n)===e})}function Th(e){var t=e.assignedNodes();return t.length===0?de(e.childNodes):t}function en(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=new pc,n=hc(e),o=t.compute,i=o===void 0?"name":o,a=t.computedStyleSupportsPseudoElements,s=a===void 0?t.getComputedStyle!==void 0:a,l=t.getComputedStyle,u=l===void 0?n.getComputedStyle.bind(n):l,c=t.hidden,d=c===void 0?!1:c;function m(f,g){var w="";if(j(f)&&s){var h=u(f,"::before"),E=Pc(h);w="".concat(E," ").concat(w)}var A=wc(f)?Th(f):de(f.childNodes).concat(Tt(f,"aria-owns"));if(A.forEach(function(F){var W=P(F,{isEmbeddedInLabel:g.isEmbeddedInLabel,isReferenced:!1,recursion:!0}),K=j(F)?u(F).getPropertyValue("display"):"inline",O=K!=="inline"?" ":"";w+="".concat(O).concat(W).concat(O)}),j(f)&&s){var R=u(f,"::after"),H=Pc(R);w="".concat(w," ").concat(H)}return w.trim()}function y(f,g){var w=f.getAttributeNode(g);return w!==null&&!r.has(w)&&w.value.trim()!==""?(r.add(w),w.value):null}function T(f){return j(f)?y(f,"title"):null}function C(f){if(!j(f))return null;if(gc(f)){r.add(f);for(var g=de(f.childNodes),w=0;w<g.length;w+=1){var h=g[w];if(Ec(h))return P(h,{isEmbeddedInLabel:!1,isReferenced:!1,recursion:!1})}}else if(vc(f)){r.add(f);for(var E=de(f.childNodes),A=0;A<E.length;A+=1){var R=E[A];if(os(R))return P(R,{isEmbeddedInLabel:!1,isReferenced:!1,recursion:!1})}}else if(_c(f)){r.add(f);for(var H=de(f.childNodes),F=0;F<H.length;F+=1){var W=H[F];if(Cc(W))return W.textContent}return null}else if(J(f)==="img"||J(f)==="area"){var K=y(f,"alt");if(K!==null)return K}else if(mc(f)){var O=y(f,"label");if(O!==null)return O}if(nr(f)&&(f.type==="button"||f.type==="submit"||f.type==="reset")){var G=y(f,"value");if(G!==null)return G;if(f.type==="submit")return"Submit";if(f.type==="reset")return"Reset"}var Y=Ch(f);if(Y!==null&&Y.length!==0)return r.add(f),de(Y).map(function(D){return P(D,{isEmbeddedInLabel:!0,isReferenced:!1,recursion:!0})}).filter(function(D){return D.length>0}).join(" ");if(nr(f)&&f.type==="image"){var b=y(f,"alt");if(b!==null)return b;var v=y(f,"title");return v!==null?v:"Submit Query"}if(ge(f,["button"])){var S=m(f,{isEmbeddedInLabel:!1,isReferenced:!1});if(S!=="")return S}return null}function P(f,g){if(r.has(f))return"";if(!d&&mh(f,u)&&!g.isReferenced)return r.add(f),"";var w=j(f)?f.getAttributeNode("aria-labelledby"):null,h=w!==null&&!r.has(w)?Tt(f,"aria-labelledby"):[];if(i==="name"&&!g.isReferenced&&h.length>0)return r.add(w),h.map(function(K){return P(K,{isEmbeddedInLabel:g.isEmbeddedInLabel,isReferenced:!0,recursion:!1})}).join(" ");var E=g.recursion&&bh(f)&&i==="name";if(!E){var A=(j(f)&&f.getAttribute("aria-label")||"").trim();if(A!==""&&i==="name")return r.add(f),A;if(!yh(f)){var R=C(f);if(R!==null)return r.add(f),R}}if(ge(f,["menu"]))return r.add(f),"";if(E||g.isEmbeddedInLabel||g.isReferenced){if(ge(f,["combobox","listbox"])){r.add(f);var H=vh(f);return H.length===0?nr(f)?f.value:"":de(H).map(function(K){return P(K,{isEmbeddedInLabel:g.isEmbeddedInLabel,isReferenced:!1,recursion:!0})}).join(" ")}if(Rc(f,"range"))return r.add(f),f.hasAttribute("aria-valuetext")?f.getAttribute("aria-valuetext"):f.hasAttribute("aria-valuenow")?f.getAttribute("aria-valuenow"):f.getAttribute("value")||"";if(ge(f,["textbox"]))return r.add(f),wh(f)}if(gh(f)||j(f)&&g.isReferenced||hh(f)||Eh(f)){var F=m(f,{isEmbeddedInLabel:g.isEmbeddedInLabel,isReferenced:!1});if(F!=="")return r.add(f),F}if(f.nodeType===f.TEXT_NODE)return r.add(f),f.textContent||"";if(g.recursion)return r.add(f),m(f,{isEmbeddedInLabel:g.isEmbeddedInLabel,isReferenced:!1});var W=T(f);return W!==null?(r.add(f),W):(r.add(f),"")}return fh(P(e,{isEmbeddedInLabel:!1,isReferenced:i==="description",recursion:!1}))}function or(e){"@babel/helpers - typeof";return or=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},or(e)}function qc(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function Ac(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?qc(Object(r),!0).forEach(function(n){Ph(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):qc(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function Ph(e,t,r){return t=Rh(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Rh(e){var t=Sh(e,"string");return or(t)==="symbol"?t:String(t)}function Sh(e,t){if(or(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(or(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function tn(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=Tt(e,"aria-describedby").map(function(o){return en(o,Ac(Ac({},t),{},{compute:"description"}))}).join(" ");if(r===""){var n=e.getAttribute("title");r=n===null?"":n}return r}function xh(e){return ge(e,["caption","code","deletion","emphasis","generic","insertion","paragraph","presentation","strong","subscript","superscript"])}function ir(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return xh(e)?"":en(e,t)}var oe=Ma(Lf()),Vf=Ma(Df());function Wf(e){return e.replace(/</g,"&lt;").replace(/>/g,"&gt;")}var fS=(e,t,r,n,o,i,a)=>{let s=n+r.indent,l=r.colors;return e.map(u=>{let c=t[u],d=a(c,r,s,o,i);return typeof c!="string"&&(d.indexOf(`
16
+ `)!==-1&&(d=r.spacingOuter+s+d+r.spacingOuter+n),d="{"+d+"}"),r.spacingInner+n+l.prop.open+u+l.prop.close+"="+l.value.open+d+l.value.close}).join("")},mS=3,bS=(e,t,r,n,o,i)=>e.map(a=>{let s=typeof a=="string"?zf(a,t):i(a,t,r,n,o);return s===""&&typeof a=="object"&&a!==null&&a.nodeType!==mS?"":t.spacingOuter+r+s}).join(""),zf=(e,t)=>{let r=t.colors.content;return r.open+Wf(e)+r.close},vS=(e,t)=>{let r=t.colors.comment;return r.open+"<!--"+Wf(e)+"-->"+r.close},yS=(e,t,r,n,o)=>{let i=n.colors.tag;return i.open+"<"+e+(t&&i.close+t+n.spacingOuter+o+i.open)+(r?">"+i.close+r+n.spacingOuter+o+i.open+"</"+e:(t&&!n.min?"":" ")+"/")+">"+i.close},hS=(e,t)=>{let r=t.colors.tag;return r.open+"<"+e+r.close+" \u2026"+r.open+" />"+r.close},gS=1,Kf=3,Gf=8,Xf=11,ES=/^((HTML|SVG)\w*)?Element$/,Jf=e=>{let t=e.tagName;return!!(typeof t=="string"&&t.includes("-")||typeof e.hasAttribute=="function"&&e.hasAttribute("is"))},wS=e=>{let t=e.constructor.name,r=e.nodeType;return r===gS&&(ES.test(t)||Jf(e))||r===Kf&&t==="Text"||r===Gf&&t==="Comment"||r===Xf&&t==="DocumentFragment"};function _S(e){return e.nodeType===Kf}function CS(e){return e.nodeType===Gf}function Rs(e){return e.nodeType===Xf}function TS(e){return{test:t=>{var r;return((t==null||(r=t.constructor)==null?void 0:r.name)||Jf(t))&&wS(t)},serialize:(t,r,n,o,i,a)=>{if(_S(t))return zf(t.data,r);if(CS(t))return vS(t.data,r);let s=Rs(t)?"DocumentFragment":t.tagName.toLowerCase();return++o>r.maxDepth?hS(s,r):yS(s,fS(Rs(t)?[]:Array.from(t.attributes).map(l=>l.name).sort(),Rs(t)?{}:Array.from(t.attributes).reduce((l,u)=>(l[u.name]=u.value,l),{}),r,n+r.indent,o,i,a),bS(Array.prototype.slice.call(t.childNodes||t.children).filter(e),r,n+r.indent,o,i,a),r,n)}}}var Yf=null,Fs=null,Us=null;try{let e=module&&module.require;Fs=e.call(module,"fs").readFileSync,Us=e.call(module,"@babel/code-frame").codeFrameColumns,Yf=e.call(module,"picocolors")}catch{}function PS(e){let t=e.indexOf("(")+1,r=e.indexOf(")"),n=e.slice(t,r),o=n.split(":"),i=[o[0],parseInt(o[1],10),parseInt(o[2],10)],a=i[0],s=i[1],l=i[2],u="";try{u=Fs(a,"utf-8")}catch{return""}let c=Us(u,{start:{line:s,column:l}},{highlightCode:!0,linesBelow:0});return Yf.dim(n)+`
17
17
  `+c+`
18
- `}function PS(){if(!Bs||!Fs)return"";let t=new Error().stack.split(`
19
- `).slice(1).find(r=>!r.includes("node_modules/"));return CS(t)}var Yf=3;function Rs(){return typeof jest<"u"&&jest!==null?setTimeout._isMockFunction===!0||Object.prototype.hasOwnProperty.call(setTimeout,"clock"):!1}function Us(){if(typeof window>"u")throw new Error("Could not find default container");return window.document}function Qf(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 Ae(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}}var TS=["filterNode"],RS=()=>{if(typeof process>"u")return!1;let e;try{var t;let r=(t=process.env)==null?void 0:t.COLORS;r&&(e=JSON.parse(r))}catch{}return typeof e=="boolean"?e:process.versions!==void 0&&process.versions.node!==void 0},SS=oa.plugins.DOMCollection,xS=1,qS=8;function AS(e){return e.nodeType!==qS&&(e.nodeType!==xS||!e.matches(N().defaultIgnore))}function Zi(e,t,r){if(r===void 0&&(r={}),e||(e=Us().body),typeof t!="number"&&(t=typeof process<"u"&&typeof process.env<"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);let o=r,i=o.filterNode,a=i===void 0?AS:i,s=$r(o,TS),l=oa.format(e,{plugins:[_S(a),SS],printFunctionName:!1,highlight:RS(),...s});return t!==void 0&&e.outerHTML.length>t?l.slice(0,t)+"...":l}var Lf=function(){let e=PS();console.log(e?Zi(...arguments)+`
18
+ `}function RS(){if(!Fs||!Us)return"";let t=new Error().stack.split(`
19
+ `).slice(1).find(r=>!r.includes("node_modules/"));return PS(t)}var Qf=3;function Ss(){return typeof jest<"u"&&jest!==null?setTimeout._isMockFunction===!0||Object.prototype.hasOwnProperty.call(setTimeout,"clock"):!1}function $s(){if(typeof window>"u")throw new Error("Could not find default container");return window.document}function Zf(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 Ae(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}}var SS=["filterNode"],xS=()=>{if(typeof process>"u")return!1;let e;try{var t;let r=(t=process.env)==null?void 0:t.COLORS;r&&(e=JSON.parse(r))}catch{}return typeof e=="boolean"?e:process.versions!==void 0&&process.versions.node!==void 0},qS=ia.plugins.DOMCollection,AS=1,MS=8;function kS(e){return e.nodeType!==MS&&(e.nodeType!==AS||!e.matches(N().defaultIgnore))}function ea(e,t,r){if(r===void 0&&(r={}),e||(e=$s().body),typeof t!="number"&&(t=typeof process<"u"&&typeof process.env<"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);let o=r,i=o.filterNode,a=i===void 0?kS:i,s=jr(o,SS),l=ia.format(e,{plugins:[TS(a),qS],printFunctionName:!1,highlight:xS(),...s});return t!==void 0&&e.outerHTML.length>t?l.slice(0,t)+"...":l}var Bf=function(){let e=RS();console.log(e?ea(...arguments)+`
20
20
 
21
- `+e:Zi(...arguments))},ea={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){let r=Zi(t),n=new Error([e,"Ignored nodes: comments, "+ea.defaultIgnore+`
21
+ `+e:ea(...arguments))},ta={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){let r=ea(t),n=new Error([e,"Ignored nodes: comments, "+ta.defaultIgnore+`
22
22
  `+r].filter(Boolean).join(`
23
23
 
24
- `));return n.name="TestingLibraryElementError",n},_disableExpensiveErrorDiagnostics:!1,computedStyleSupportsPseudoElements:!1};function MS(e){try{return ea._disableExpensiveErrorDiagnostics=!0,e()}finally{ea._disableExpensiveErrorDiagnostics=!1}}function N(){return ea}var kS=["button","meter","output","progress","select","textarea","input"];function Jf(e){return kS.includes(e.nodeName.toLowerCase())?"":e.nodeType===Yf?e.textContent:Array.from(e.childNodes).map(t=>Jf(t)).join("")}function xs(e){let t;return e.tagName.toLowerCase()==="label"?t=Jf(e):t=e.value||e.textContent,t}function Zf(e){if(e.labels!==void 0){var t;return(t=e.labels)!=null?t:[]}if(!OS(e))return[];let r=e.ownerDocument.querySelectorAll("label");return Array.from(r).filter(n=>n.control===e)}function OS(e){return/BUTTON|METER|OUTPUT|PROGRESS|SELECT|TEXTAREA/.test(e.tagName)||e.tagName==="INPUT"&&e.getAttribute("type")!=="hidden"}function em(e,t,r){let n=r===void 0?{}:r,o=n.selector,i=o===void 0?"*":o,a=t.getAttribute("aria-labelledby"),s=a?a.split(" "):[];return s.length?s.map(l=>{let u=e.querySelector('[id="'+l+'"]');return u?{content:xs(u),formControl:null}:{content:"",formControl:null}}):Array.from(Zf(t)).map(l=>{let u=xs(l),d=Array.from(l.querySelectorAll("button, input, meter, output, progress, select, textarea")).filter(m=>m.matches(i))[0];return{content:u,formControl:d}})}function tm(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 St(e,t,r,n){if(typeof e!="string")return!1;tm(r);let o=n(e);return typeof r=="string"||typeof r=="number"?o.toLowerCase().includes(r.toString().toLowerCase()):typeof r=="function"?r(o,t):nm(r,o)}function qe(e,t,r,n){if(typeof e!="string")return!1;tm(r);let o=n(e);return r instanceof Function?r(o,t):r instanceof RegExp?nm(r,o):o===String(r)}function rm(e){let t=e===void 0?{}:e,r=t.trim,n=r===void 0?!0:r,o=t.collapseWhitespace,i=o===void 0?!0:o;return a=>{let s=a;return s=n?s.trim():s,s=i?s.replace(/\s+/g," "):s,s}}function it(e){let t=e.trim,r=e.collapseWhitespace,n=e.normalizer;if(!n)return rm({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 nm(e,t){let 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 ia(e){return e.matches("input[type=submit], input[type=button], input[type=reset]")?e.value:Array.from(e.childNodes).filter(t=>t.nodeType===Yf&&!!t.textContent).map(t=>t.textContent).join("")}var IS=NS(oe.elementRoles);function om(e){return e.hidden===!0||e.getAttribute("aria-hidden")==="true"||e.ownerDocument.defaultView.getComputedStyle(e).display==="none"}function $s(e,t){t===void 0&&(t={});let r=t,n=r.isSubtreeInaccessible,o=n===void 0?om:n;if(e.ownerDocument.defaultView.getComputedStyle(e).visibility==="hidden")return!0;let a=e;for(;a;){if(o(a))return!0;a=a.parentElement}return!1}function js(e){for(let t of IS){let r=t.match,n=t.roles;if(r(e))return[...n]}return[]}function NS(e){function t(a){let s=a.name,l=a.attributes;return""+s+l.map(u=>{let c=u.name,d=u.value,m=u.constraints,y=m===void 0?[]:m,P=y.indexOf("undefined")!==-1,C=y.indexOf("set")!==-1;return typeof d<"u"?"["+c+'="'+d+'"]':P?":not(["+c+"])":C?"["+c+"]:not(["+c+'=""])':"["+c+"]"}).join("")}function r(a){let s=a.attributes;return(s===void 0?[]:s).length}function n(a,s){let l=a.specificity;return s.specificity-l}function o(a){let s=a.attributes,l=s===void 0?[]:s,u=l.findIndex(d=>d.value&&d.name==="type"&&d.value==="text");u>=0&&(l=[...l.slice(0,u),...l.slice(u+1)]);let c=t({...a,attributes:l});return d=>u>=0&&d.type!=="text"?!1:d.matches(c)}let i=[];for(let a of e.entries()){let s=a[0],l=a[1];i=[...i,{match:o(s),roles:Array.from(l),specificity:r(s)}]}return i.sort(n)}function LS(e,t){let r=t===void 0?{}:t,n=r.hidden,o=n===void 0?!1:n;function i(a){return[a,...Array.from(a.children).reduce((s,l)=>[...s,...i(l)],[])]}return i(e).filter(a=>o===!1?$s(a)===!1:!0).reduce((a,s)=>{let l=[];return s.hasAttribute("role")?l=s.getAttribute("role").split(" ").slice(0,1):l=js(s),l.reduce((u,c)=>Array.isArray(u[c])?{...u,[c]:[...u[c],s]}:{...u,[c]:[s]},a)},{})}function DS(e,t){let r=t.hidden,n=t.includeDescription,o=LS(e,{hidden:r});return Object.entries(o).filter(i=>i[0]!=="generic").map(i=>{let a=i[0],s=i[1],l="-".repeat(50),u=s.map(c=>{let d='Name "'+nr(c,{computedStyleSupportsPseudoElements:N().computedStyleSupportsPseudoElements})+`":
25
- `,m=Zi(c.cloneNode(!1));if(n){let y='Description "'+en(c,{computedStyleSupportsPseudoElements:N().computedStyleSupportsPseudoElements})+`":
24
+ `));return n.name="TestingLibraryElementError",n},_disableExpensiveErrorDiagnostics:!1,computedStyleSupportsPseudoElements:!1};function OS(e){try{return ta._disableExpensiveErrorDiagnostics=!0,e()}finally{ta._disableExpensiveErrorDiagnostics=!1}}function N(){return ta}var IS=["button","meter","output","progress","select","textarea","input"];function em(e){return IS.includes(e.nodeName.toLowerCase())?"":e.nodeType===Qf?e.textContent:Array.from(e.childNodes).map(t=>em(t)).join("")}function qs(e){let t;return e.tagName.toLowerCase()==="label"?t=em(e):t=e.value||e.textContent,t}function tm(e){if(e.labels!==void 0){var t;return(t=e.labels)!=null?t:[]}if(!NS(e))return[];let r=e.ownerDocument.querySelectorAll("label");return Array.from(r).filter(n=>n.control===e)}function NS(e){return/BUTTON|METER|OUTPUT|PROGRESS|SELECT|TEXTAREA/.test(e.tagName)||e.tagName==="INPUT"&&e.getAttribute("type")!=="hidden"}function rm(e,t,r){let n=r===void 0?{}:r,o=n.selector,i=o===void 0?"*":o,a=t.getAttribute("aria-labelledby"),s=a?a.split(" "):[];return s.length?s.map(l=>{let u=e.querySelector('[id="'+l+'"]');return u?{content:qs(u),formControl:null}:{content:"",formControl:null}}):Array.from(tm(t)).map(l=>{let u=qs(l),d=Array.from(l.querySelectorAll("button, input, meter, output, progress, select, textarea")).filter(m=>m.matches(i))[0];return{content:u,formControl:d}})}function nm(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 qt(e,t,r,n){if(typeof e!="string")return!1;nm(r);let o=n(e);return typeof r=="string"||typeof r=="number"?o.toLowerCase().includes(r.toString().toLowerCase()):typeof r=="function"?r(o,t):im(r,o)}function qe(e,t,r,n){if(typeof e!="string")return!1;nm(r);let o=n(e);return r instanceof Function?r(o,t):r instanceof RegExp?im(r,o):o===String(r)}function om(e){let t=e===void 0?{}:e,r=t.trim,n=r===void 0?!0:r,o=t.collapseWhitespace,i=o===void 0?!0:o;return a=>{let s=a;return s=n?s.trim():s,s=i?s.replace(/\s+/g," "):s,s}}function st(e){let t=e.trim,r=e.collapseWhitespace,n=e.normalizer;if(!n)return om({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 im(e,t){let 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 aa(e){return e.matches("input[type=submit], input[type=button], input[type=reset]")?e.value:Array.from(e.childNodes).filter(t=>t.nodeType===Qf&&!!t.textContent).map(t=>t.textContent).join("")}var LS=DS(oe.elementRoles);function am(e){return e.hidden===!0||e.getAttribute("aria-hidden")==="true"||e.ownerDocument.defaultView.getComputedStyle(e).display==="none"}function js(e,t){t===void 0&&(t={});let r=t,n=r.isSubtreeInaccessible,o=n===void 0?am:n;if(e.ownerDocument.defaultView.getComputedStyle(e).visibility==="hidden")return!0;let a=e;for(;a;){if(o(a))return!0;a=a.parentElement}return!1}function Hs(e){for(let t of LS){let r=t.match,n=t.roles;if(r(e))return[...n]}return[]}function DS(e){function t(a){let s=a.name,l=a.attributes;return""+s+l.map(u=>{let c=u.name,d=u.value,m=u.constraints,y=m===void 0?[]:m,T=y.indexOf("undefined")!==-1,C=y.indexOf("set")!==-1;return typeof d<"u"?"["+c+'="'+d+'"]':T?":not(["+c+"])":C?"["+c+"]:not(["+c+'=""])':"["+c+"]"}).join("")}function r(a){let s=a.attributes;return(s===void 0?[]:s).length}function n(a,s){let l=a.specificity;return s.specificity-l}function o(a){let s=a.attributes,l=s===void 0?[]:s,u=l.findIndex(d=>d.value&&d.name==="type"&&d.value==="text");u>=0&&(l=[...l.slice(0,u),...l.slice(u+1)]);let c=t({...a,attributes:l});return d=>u>=0&&d.type!=="text"?!1:d.matches(c)}let i=[];for(let a of e.entries()){let s=a[0],l=a[1];i=[...i,{match:o(s),roles:Array.from(l),specificity:r(s)}]}return i.sort(n)}function BS(e,t){let r=t===void 0?{}:t,n=r.hidden,o=n===void 0?!1:n;function i(a){return[a,...Array.from(a.children).reduce((s,l)=>[...s,...i(l)],[])]}return i(e).filter(a=>o===!1?js(a)===!1:!0).reduce((a,s)=>{let l=[];return s.hasAttribute("role")?l=s.getAttribute("role").split(" ").slice(0,1):l=Hs(s),l.reduce((u,c)=>Array.isArray(u[c])?{...u,[c]:[...u[c],s]}:{...u,[c]:[s]},a)},{})}function FS(e,t){let r=t.hidden,n=t.includeDescription,o=BS(e,{hidden:r});return Object.entries(o).filter(i=>i[0]!=="generic").map(i=>{let a=i[0],s=i[1],l="-".repeat(50),u=s.map(c=>{let d='Name "'+ir(c,{computedStyleSupportsPseudoElements:N().computedStyleSupportsPseudoElements})+`":
25
+ `,m=ea(c.cloneNode(!1));if(n){let y='Description "'+tn(c,{computedStyleSupportsPseudoElements:N().computedStyleSupportsPseudoElements})+`":
26
26
  `;return""+d+y+m}return""+d+m}).join(`
27
27
 
28
28
  `);return a+`:
@@ -30,19 +30,19 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
30
30
  `+u+`
31
31
 
32
32
  `+l}).join(`
33
- `)}function BS(e){return e.tagName==="OPTION"?e.selected:lr(e,"aria-selected")}function FS(e){return e.getAttribute("aria-busy")==="true"}function US(e){if(!("indeterminate"in e&&e.indeterminate))return"checked"in e?e.checked:lr(e,"aria-checked")}function $S(e){return lr(e,"aria-pressed")}function jS(e){var t,r;return(t=(r=lr(e,"aria-current"))!=null?r:e.getAttribute("aria-current"))!=null?t:!1}function HS(e){return lr(e,"aria-expanded")}function lr(e,t){let r=e.getAttribute(t);if(r==="true")return!0;if(r==="false")return!1}function VS(e){let 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 WS(e){let t=e.getAttribute("aria-valuenow");return t===null?void 0:+t}function zS(e){let t=e.getAttribute("aria-valuemax");return t===null?void 0:+t}function KS(e){let t=e.getAttribute("aria-valuemin");return t===null?void 0:+t}function GS(e){let t=e.getAttribute("aria-valuetext");return t===null?void 0:t}var Df=rm();function XS(e){return e.replace(/[.*+\-?^${}()|[\]\\]/g,"\\$&")}function Bf(e){return new RegExp(XS(e.toLowerCase()),"i")}function Ye(e,t,r,n){let o=n.variant,i=n.name,a="",s={},l=[["Role","TestId"].includes(e)?r:Bf(r)];i&&(s.name=Bf(i)),e==="Role"&&$s(t)&&(s.hidden=!0,a=`Element is inaccessible. This means that the element and all its children are invisible to screen readers.
33
+ `)}function US(e){return e.tagName==="OPTION"?e.selected:cr(e,"aria-selected")}function $S(e){return e.getAttribute("aria-busy")==="true"}function jS(e){if(!("indeterminate"in e&&e.indeterminate))return"checked"in e?e.checked:cr(e,"aria-checked")}function HS(e){return cr(e,"aria-pressed")}function VS(e){var t,r;return(t=(r=cr(e,"aria-current"))!=null?r:e.getAttribute("aria-current"))!=null?t:!1}function WS(e){return cr(e,"aria-expanded")}function cr(e,t){let r=e.getAttribute(t);if(r==="true")return!0;if(r==="false")return!1}function zS(e){let 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 KS(e){let t=e.getAttribute("aria-valuenow");return t===null?void 0:+t}function GS(e){let t=e.getAttribute("aria-valuemax");return t===null?void 0:+t}function XS(e){let t=e.getAttribute("aria-valuemin");return t===null?void 0:+t}function JS(e){let t=e.getAttribute("aria-valuetext");return t===null?void 0:t}var Ff=om();function YS(e){return e.replace(/[.*+\-?^${}()|[\]\\]/g,"\\$&")}function Uf(e){return new RegExp(YS(e.toLowerCase()),"i")}function Je(e,t,r,n){let o=n.variant,i=n.name,a="",s={},l=[["Role","TestId"].includes(e)?r:Uf(r)];i&&(s.name=Uf(i)),e==="Role"&&js(t)&&(s.hidden=!0,a=`Element is inaccessible. This means that the element and all its children are invisible to screen readers.
34
34
  If you are using the aria-hidden prop, make sure this is the right choice for your case.
35
- `),Object.keys(s).length>0&&l.push(s);let u=o+"By"+e;return{queryName:e,queryMethod:u,queryArgs:l,variant:o,warning:a,toString(){a&&console.warn(a);let c=l[0],d=l[1];return c=typeof c=="string"?"'"+c+"'":c,d=d?", { "+Object.entries(d).map(m=>{let y=m[0],P=m[1];return y+": "+P}).join(", ")+" }":"",u+"("+c+d+")"}}}function Qe(e,t,r){return r&&(!t||t.toLowerCase()===e.toLowerCase())}function qs(e,t,r){var n,o;if(t===void 0&&(t="get"),e.matches(N().defaultIgnore))return;let i=(n=e.getAttribute("role"))!=null?n:(o=js(e))==null?void 0:o[0];if(i!=="generic"&&Qe("Role",r,i))return Ye("Role",e,i,{variant:t,name:nr(e,{computedStyleSupportsPseudoElements:N().computedStyleSupportsPseudoElements})});let a=em(document,e).map(m=>m.content).join(" ");if(Qe("LabelText",r,a))return Ye("LabelText",e,a,{variant:t});let s=e.getAttribute("placeholder");if(Qe("PlaceholderText",r,s))return Ye("PlaceholderText",e,s,{variant:t});let l=Df(ia(e));if(Qe("Text",r,l))return Ye("Text",e,l,{variant:t});if(Qe("DisplayValue",r,e.value))return Ye("DisplayValue",e,Df(e.value),{variant:t});let u=e.getAttribute("alt");if(Qe("AltText",r,u))return Ye("AltText",e,u,{variant:t});let c=e.getAttribute("title");if(Qe("Title",r,c))return Ye("Title",e,c,{variant:t});let d=e.getAttribute(N().testIdAttribute);if(Qe("TestId",r,d))return Ye("TestId",e,d,{variant:t})}function Ji(e,t){e.stack=t.stack.replace(t.message,e.message)}function YS(e,t){let r=t.container,n=r===void 0?Us():r,o=t.timeout,i=o===void 0?N().asyncUtilTimeout:o,a=t.showOriginalStackTrace,s=a===void 0?N().showOriginalStackTrace:a,l=t.stackTraceError,u=t.interval,c=u===void 0?50:u,d=t.onTimeout,m=d===void 0?C=>(Object.defineProperty(C,"message",{value:N().getElementError(C.message,n).message}),C):d,y=t.mutationObserverOptions,P=y===void 0?{subtree:!0,childList:!0,attributes:!0,characterData:!0}:y;if(typeof e!="function")throw new TypeError("Received `callback` arg must be a function");return new Promise(async(C,T)=>{let f,g,w,h=!1,E="idle",A=setTimeout(K,i),R=Rs();if(R){let O=N(),G=O.unstable_advanceTimersWrapper;for(W();!h;){if(!Rs()){let Q=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");s||Ji(Q,l),T(Q);return}if(await G(async()=>{jest.advanceTimersByTime(c)}),h)break;W()}}else{try{Ae(n)}catch(Q){T(Q);return}g=setInterval(F,c);let O=Qf(n),G=O.MutationObserver;w=new G(F),w.observe(n,P),W()}function H(O,G){h=!0,clearTimeout(A),R||(clearInterval(g),w.disconnect()),O?T(O):C(G)}function F(){if(Rs()){let 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 s||Ji(O,l),T(O)}else return W()}function W(){if(E!=="pending")try{let O=MS(e);typeof O?.then=="function"?(E="pending",O.then(G=>{E="resolved",H(null,G)},G=>{E="rejected",f=G})):H(null,O)}catch(O){f=O}}function K(){let O;f?(O=f,!s&&O.name==="TestingLibraryElementError"&&Ji(O,l)):(O=new Error("Timed out in waitFor."),s||Ji(O,l)),H(m(O),null)}})}function QS(e,t){let r=new Error("STACK_TRACE_MESSAGE");return N().asyncWrapper(()=>YS(e,{stackTraceError:r,...t}))}function im(e,t){return N().getElementError(e,t)}function JS(e,t){return im(e+"\n\n(If this is intentional, then use the `*AllBy*` variant of the query (like `queryAllByText`, `getAllByText`, or `findAllByText`)).",t)}function aa(e,t,r,n){let o=n===void 0?{}:n,i=o.exact,a=i===void 0?!0:i,s=o.collapseWhitespace,l=o.trim,u=o.normalizer,c=a?qe:St,d=it({collapseWhitespace:s,trim:l,normalizer:u});return Array.from(t.querySelectorAll("["+e+"]")).filter(m=>c(m.getAttribute(e),m,r,d))}function ta(e,t){return function(r){for(var n=arguments.length,o=new Array(n>1?n-1:0),i=1;i<n;i++)o[i-1]=arguments[i];let a=e(r,...o);if(a.length>1){let s=a.map(l=>im(null,l).message).join(`
35
+ `),Object.keys(s).length>0&&l.push(s);let u=o+"By"+e;return{queryName:e,queryMethod:u,queryArgs:l,variant:o,warning:a,toString(){a&&console.warn(a);let c=l[0],d=l[1];return c=typeof c=="string"?"'"+c+"'":c,d=d?", { "+Object.entries(d).map(m=>{let y=m[0],T=m[1];return y+": "+T}).join(", ")+" }":"",u+"("+c+d+")"}}}function Ye(e,t,r){return r&&(!t||t.toLowerCase()===e.toLowerCase())}function As(e,t,r){var n,o;if(t===void 0&&(t="get"),e.matches(N().defaultIgnore))return;let i=(n=e.getAttribute("role"))!=null?n:(o=Hs(e))==null?void 0:o[0];if(i!=="generic"&&Ye("Role",r,i))return Je("Role",e,i,{variant:t,name:ir(e,{computedStyleSupportsPseudoElements:N().computedStyleSupportsPseudoElements})});let a=rm(document,e).map(m=>m.content).join(" ");if(Ye("LabelText",r,a))return Je("LabelText",e,a,{variant:t});let s=e.getAttribute("placeholder");if(Ye("PlaceholderText",r,s))return Je("PlaceholderText",e,s,{variant:t});let l=Ff(aa(e));if(Ye("Text",r,l))return Je("Text",e,l,{variant:t});if(Ye("DisplayValue",r,e.value))return Je("DisplayValue",e,Ff(e.value),{variant:t});let u=e.getAttribute("alt");if(Ye("AltText",r,u))return Je("AltText",e,u,{variant:t});let c=e.getAttribute("title");if(Ye("Title",r,c))return Je("Title",e,c,{variant:t});let d=e.getAttribute(N().testIdAttribute);if(Ye("TestId",r,d))return Je("TestId",e,d,{variant:t})}function Zi(e,t){e.stack=t.stack.replace(t.message,e.message)}function QS(e,t){let r=t.container,n=r===void 0?$s():r,o=t.timeout,i=o===void 0?N().asyncUtilTimeout:o,a=t.showOriginalStackTrace,s=a===void 0?N().showOriginalStackTrace:a,l=t.stackTraceError,u=t.interval,c=u===void 0?50:u,d=t.onTimeout,m=d===void 0?C=>(Object.defineProperty(C,"message",{value:N().getElementError(C.message,n).message}),C):d,y=t.mutationObserverOptions,T=y===void 0?{subtree:!0,childList:!0,attributes:!0,characterData:!0}:y;if(typeof e!="function")throw new TypeError("Received `callback` arg must be a function");return new Promise(async(C,P)=>{let f,g,w,h=!1,E="idle",A=setTimeout(K,i),R=Ss();if(R){let O=N(),G=O.unstable_advanceTimersWrapper;for(W();!h;){if(!Ss()){let Y=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");s||Zi(Y,l),P(Y);return}if(await G(async()=>{jest.advanceTimersByTime(c)}),h)break;W()}}else{try{Ae(n)}catch(Y){P(Y);return}g=setInterval(F,c);let O=Zf(n),G=O.MutationObserver;w=new G(F),w.observe(n,T),W()}function H(O,G){h=!0,clearTimeout(A),R||(clearInterval(g),w.disconnect()),O?P(O):C(G)}function F(){if(Ss()){let 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 s||Zi(O,l),P(O)}else return W()}function W(){if(E!=="pending")try{let O=OS(e);typeof O?.then=="function"?(E="pending",O.then(G=>{E="resolved",H(null,G)},G=>{E="rejected",f=G})):H(null,O)}catch(O){f=O}}function K(){let O;f?(O=f,!s&&O.name==="TestingLibraryElementError"&&Zi(O,l)):(O=new Error("Timed out in waitFor."),s||Zi(O,l)),H(m(O),null)}})}function ZS(e,t){let r=new Error("STACK_TRACE_MESSAGE");return N().asyncWrapper(()=>QS(e,{stackTraceError:r,...t}))}function sm(e,t){return N().getElementError(e,t)}function e0(e,t){return sm(e+"\n\n(If this is intentional, then use the `*AllBy*` variant of the query (like `queryAllByText`, `getAllByText`, or `findAllByText`)).",t)}function sa(e,t,r,n){let o=n===void 0?{}:n,i=o.exact,a=i===void 0?!0:i,s=o.collapseWhitespace,l=o.trim,u=o.normalizer,c=a?qe:qt,d=st({collapseWhitespace:s,trim:l,normalizer:u});return Array.from(t.querySelectorAll("["+e+"]")).filter(m=>c(m.getAttribute(e),m,r,d))}function ra(e,t){return function(r){for(var n=arguments.length,o=new Array(n>1?n-1:0),i=1;i<n;i++)o[i-1]=arguments[i];let a=e(r,...o);if(a.length>1){let s=a.map(l=>sm(null,l).message).join(`
36
36
 
37
- `);throw JS(t(r,...o)+`
37
+ `);throw e0(t(r,...o)+`
38
38
 
39
39
  Here are the matching elements:
40
40
 
41
- `+s,r)}return a[0]||null}}function am(e,t){return N().getElementError(`A better query is available, try this:
41
+ `+s,r)}return a[0]||null}}function lm(e,t){return N().getElementError(`A better query is available, try this:
42
42
  `+e.toString()+`
43
- `,t)}function ZS(e,t){return function(r){for(var n=arguments.length,o=new Array(n>1?n-1:0),i=1;i<n;i++)o[i-1]=arguments[i];let a=e(r,...o);if(!a.length)throw N().getElementError(t(r,...o),r);return a}}function ra(e){return(t,r,n,o)=>QS(()=>e(t,r,n),{container:t,...o})}var Rt=(e,t,r)=>function(n){for(var o=arguments.length,i=new Array(o>1?o-1:0),a=1;a<o;a++)i[a-1]=arguments[a];let s=e(n,...i),l=i.slice(-1),u=l[0],c=u===void 0?{}:u,d=c.suggest,m=d===void 0?N().throwSuggestions:d;if(s&&m){let y=qs(s,r);if(y&&!t.endsWith(y.queryName))throw am(y.toString(),n)}return s},be=(e,t,r)=>function(n){for(var o=arguments.length,i=new Array(o>1?o-1:0),a=1;a<o;a++)i[a-1]=arguments[a];let s=e(n,...i),l=i.slice(-1),u=l[0],c=u===void 0?{}:u,d=c.suggest,m=d===void 0?N().throwSuggestions:d;if(s.length&&m){let y=[...new Set(s.map(P=>{var C;return(C=qs(P,r))==null?void 0:C.toString()}))];if(y.length===1&&!t.endsWith(qs(s[0],r).queryName))throw am(y[0],n)}return s};function at(e,t,r){let n=Rt(ta(e,t),e.name,"query"),o=ZS(e,r),i=ta(o,t),a=Rt(i,e.name,"get"),s=be(o,e.name.replace("query","get"),"getAll"),l=ra(be(o,e.name,"findAll")),u=ra(Rt(i,e.name,"find"));return[n,s,a,l,u]}function e0(e){return Array.from(e.querySelectorAll("label,input")).map(t=>({node:t,textToMatch:xs(t)})).filter(t=>t.textToMatch!==null)}var t0=function(e,t,r){let n=r===void 0?{}:r,o=n.exact,i=o===void 0?!0:o,a=n.trim,s=n.collapseWhitespace,l=n.normalizer,u=i?qe:St,c=it({collapseWhitespace:s,trim:a,normalizer:l});return e0(e).filter(m=>{let y=m.node,P=m.textToMatch;return u(P,y,t,c)}).map(m=>m.node)},sr=function(e,t,r){let n=r===void 0?{}:r,o=n.selector,i=o===void 0?"*":o,a=n.exact,s=a===void 0?!0:a,l=n.collapseWhitespace,u=n.trim,c=n.normalizer;Ae(e);let d=s?qe:St,m=it({collapseWhitespace:l,trim:u,normalizer:c}),y=Array.from(e.querySelectorAll("*")).filter(P=>Zf(P).length||P.hasAttribute("aria-labelledby")).reduce((P,C)=>{let T=em(e,C,{selector:i});T.filter(g=>!!g.formControl).forEach(g=>{d(g.content,g.formControl,t,m)&&g.formControl&&P.push(g.formControl)});let f=T.filter(g=>!!g.content).map(g=>g.content);return d(f.join(" "),C,t,m)&&P.push(C),f.length>1&&f.forEach((g,w)=>{d(g,C,t,m)&&P.push(C);let h=[...f];h.splice(w,1),h.length>1&&d(h.join(" "),C,t,m)&&P.push(C)}),P},[]).concat(aa("aria-label",e,t,{exact:s,normalizer:m}));return Array.from(new Set(y)).filter(P=>P.matches(i))},ot=function(e,t){for(var r=arguments.length,n=new Array(r>2?r-2:0),o=2;o<r;o++)n[o-2]=arguments[o];let i=sr(e,t,...n);if(!i.length){let a=t0(e,t,...n);if(a.length){let s=a.map(l=>r0(e,l)).filter(l=>!!l);throw s.length?N().getElementError(s.map(l=>"Found a label with the text of: "+t+", however the element associated with this label (<"+l+" />) is non-labellable [https://html.spec.whatwg.org/multipage/forms.html#category-label]. If you really need to label a <"+l+" />, you can use aria-label or aria-labelledby instead.").join(`
43
+ `,t)}function t0(e,t){return function(r){for(var n=arguments.length,o=new Array(n>1?n-1:0),i=1;i<n;i++)o[i-1]=arguments[i];let a=e(r,...o);if(!a.length)throw N().getElementError(t(r,...o),r);return a}}function na(e){return(t,r,n,o)=>ZS(()=>e(t,r,n),{container:t,...o})}var xt=(e,t,r)=>function(n){for(var o=arguments.length,i=new Array(o>1?o-1:0),a=1;a<o;a++)i[a-1]=arguments[a];let s=e(n,...i),l=i.slice(-1),u=l[0],c=u===void 0?{}:u,d=c.suggest,m=d===void 0?N().throwSuggestions:d;if(s&&m){let y=As(s,r);if(y&&!t.endsWith(y.queryName))throw lm(y.toString(),n)}return s},be=(e,t,r)=>function(n){for(var o=arguments.length,i=new Array(o>1?o-1:0),a=1;a<o;a++)i[a-1]=arguments[a];let s=e(n,...i),l=i.slice(-1),u=l[0],c=u===void 0?{}:u,d=c.suggest,m=d===void 0?N().throwSuggestions:d;if(s.length&&m){let y=[...new Set(s.map(T=>{var C;return(C=As(T,r))==null?void 0:C.toString()}))];if(y.length===1&&!t.endsWith(As(s[0],r).queryName))throw lm(y[0],n)}return s};function lt(e,t,r){let n=xt(ra(e,t),e.name,"query"),o=t0(e,r),i=ra(o,t),a=xt(i,e.name,"get"),s=be(o,e.name.replace("query","get"),"getAll"),l=na(be(o,e.name,"findAll")),u=na(xt(i,e.name,"find"));return[n,s,a,l,u]}function r0(e){return Array.from(e.querySelectorAll("label,input")).map(t=>({node:t,textToMatch:qs(t)})).filter(t=>t.textToMatch!==null)}var n0=function(e,t,r){let n=r===void 0?{}:r,o=n.exact,i=o===void 0?!0:o,a=n.trim,s=n.collapseWhitespace,l=n.normalizer,u=i?qe:qt,c=st({collapseWhitespace:s,trim:a,normalizer:l});return r0(e).filter(m=>{let y=m.node,T=m.textToMatch;return u(T,y,t,c)}).map(m=>m.node)},ur=function(e,t,r){let n=r===void 0?{}:r,o=n.selector,i=o===void 0?"*":o,a=n.exact,s=a===void 0?!0:a,l=n.collapseWhitespace,u=n.trim,c=n.normalizer;Ae(e);let d=s?qe:qt,m=st({collapseWhitespace:l,trim:u,normalizer:c}),y=Array.from(e.querySelectorAll("*")).filter(T=>tm(T).length||T.hasAttribute("aria-labelledby")).reduce((T,C)=>{let P=rm(e,C,{selector:i});P.filter(g=>!!g.formControl).forEach(g=>{d(g.content,g.formControl,t,m)&&g.formControl&&T.push(g.formControl)});let f=P.filter(g=>!!g.content).map(g=>g.content);return d(f.join(" "),C,t,m)&&T.push(C),f.length>1&&f.forEach((g,w)=>{d(g,C,t,m)&&T.push(C);let h=[...f];h.splice(w,1),h.length>1&&d(h.join(" "),C,t,m)&&T.push(C)}),T},[]).concat(sa("aria-label",e,t,{exact:s,normalizer:m}));return Array.from(new Set(y)).filter(T=>T.matches(i))},at=function(e,t){for(var r=arguments.length,n=new Array(r>2?r-2:0),o=2;o<r;o++)n[o-2]=arguments[o];let i=ur(e,t,...n);if(!i.length){let a=n0(e,t,...n);if(a.length){let s=a.map(l=>o0(e,l)).filter(l=>!!l);throw s.length?N().getElementError(s.map(l=>"Found a label with the text of: "+t+", however the element associated with this label (<"+l+" />) is non-labellable [https://html.spec.whatwg.org/multipage/forms.html#category-label]. If you really need to label a <"+l+" />, you can use aria-label or aria-labelledby instead.").join(`
44
44
 
45
- `),e):N().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 N().getElementError("Unable to find a label with the text of: "+t,e)}return i};function r0(e,t){let r=t.getAttribute("for");if(!r)return null;let n=e.querySelector('[id="'+r+'"]');return n?n.tagName.toLowerCase():null}var sm=(e,t)=>"Found multiple elements with the text of: "+t,n0=Rt(ta(sr,sm),sr.name,"query"),lm=ta(ot,sm),o0=ra(be(ot,ot.name,"findAll")),i0=ra(Rt(lm,ot.name,"find")),a0=be(ot,ot.name,"getAll"),s0=Rt(lm,ot.name,"get"),l0=be(sr,sr.name,"queryAll"),As=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return Ae(t[0]),aa("placeholder",...t)},u0=(e,t)=>"Found multiple elements with the placeholder text of: "+t,c0=(e,t)=>"Unable to find an element with the placeholder text of: "+t,d0=be(As,As.name,"queryAll"),ur=at(As,u0,c0),p0=ur[0],f0=ur[1],m0=ur[2],b0=ur[3],v0=ur[4],Ms=function(e,t,r){let n=r===void 0?{}:r,o=n.selector,i=o===void 0?"*":o,a=n.exact,s=a===void 0?!0:a,l=n.collapseWhitespace,u=n.trim,c=n.ignore,d=c===void 0?N().defaultIgnore:c,m=n.normalizer;Ae(e);let y=s?qe:St,P=it({collapseWhitespace:l,trim:u,normalizer:m}),C=[];return typeof e.matches=="function"&&e.matches(i)&&(C=[e]),[...C,...Array.from(e.querySelectorAll(i))].filter(T=>!d||!T.matches(d)).filter(T=>y(ia(T),T,t,P))},y0=(e,t)=>"Found multiple elements with the text: "+t,h0=function(e,t,r){r===void 0&&(r={});let n=r,o=n.collapseWhitespace,i=n.trim,a=n.normalizer,s=n.selector,u=it({collapseWhitespace:o,trim:i,normalizer:a})(t.toString()),c=u!==t.toString(),d=(s??"*")!=="*";return"Unable to find an element with the text: "+(c?u+" (normalized from '"+t+"')":t)+(d?", 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."},g0=be(Ms,Ms.name,"queryAll"),cr=at(Ms,y0,h0),E0=cr[0],w0=cr[1],_0=cr[2],C0=cr[3],P0=cr[4],ks=function(e,t,r){let n=r===void 0?{}:r,o=n.exact,i=o===void 0?!0:o,a=n.collapseWhitespace,s=n.trim,l=n.normalizer;Ae(e);let u=i?qe:St,c=it({collapseWhitespace:a,trim:s,normalizer:l});return Array.from(e.querySelectorAll("input,textarea,select")).filter(d=>d.tagName==="SELECT"?Array.from(d.options).filter(y=>y.selected).some(y=>u(ia(y),y,t,c)):u(d.value,d,t,c))},T0=(e,t)=>"Found multiple elements with the display value: "+t+".",R0=(e,t)=>"Unable to find an element with the display value: "+t+".",S0=be(ks,ks.name,"queryAll"),dr=at(ks,T0,R0),x0=dr[0],q0=dr[1],A0=dr[2],M0=dr[3],k0=dr[4],O0=/^(img|input|area|.+-.+)$/i,Os=function(e,t,r){return r===void 0&&(r={}),Ae(e),aa("alt",e,t,r).filter(n=>O0.test(n.tagName))},I0=(e,t)=>"Found multiple elements with the alt text: "+t,N0=(e,t)=>"Unable to find an element with the alt text: "+t,L0=be(Os,Os.name,"queryAll"),pr=at(Os,I0,N0),D0=pr[0],B0=pr[1],F0=pr[2],U0=pr[3],$0=pr[4],j0=e=>{var t;return e.tagName.toLowerCase()==="title"&&((t=e.parentElement)==null?void 0:t.tagName.toLowerCase())==="svg"},Is=function(e,t,r){let n=r===void 0?{}:r,o=n.exact,i=o===void 0?!0:o,a=n.collapseWhitespace,s=n.trim,l=n.normalizer;Ae(e);let u=i?qe:St,c=it({collapseWhitespace:a,trim:s,normalizer:l});return Array.from(e.querySelectorAll("[title], svg > title")).filter(d=>u(d.getAttribute("title"),d,t,c)||j0(d)&&u(ia(d),d,t,c))},H0=(e,t)=>"Found multiple elements with the title: "+t+".",V0=(e,t)=>"Unable to find an element with the title: "+t+".",W0=be(Is,Is.name,"queryAll"),fr=at(Is,H0,V0),z0=fr[0],K0=fr[1],G0=fr[2],X0=fr[3],Y0=fr[4],Ns=function(e,t,r){let n=r===void 0?{}:r,o=n.hidden,i=o===void 0?N().defaultHidden:o,a=n.name,s=n.description,l=n.queryFallbacks,u=l===void 0?!1:l,c=n.selected,d=n.busy,m=n.checked,y=n.pressed,P=n.current,C=n.level,T=n.expanded,f=n.value,g=f===void 0?{}:f,w=g.now,h=g.min,E=g.max,A=g.text;if(Ae(e),c!==void 0){var R;if(((R=oe.roles.get(t))==null?void 0:R.props["aria-selected"])===void 0)throw new Error('"aria-selected" is not supported on role "'+t+'".')}if(d!==void 0){var H;if(((H=oe.roles.get(t))==null?void 0:H.props["aria-busy"])===void 0)throw new Error('"aria-busy" is not supported on role "'+t+'".')}if(m!==void 0){var F;if(((F=oe.roles.get(t))==null?void 0:F.props["aria-checked"])===void 0)throw new Error('"aria-checked" is not supported on role "'+t+'".')}if(y!==void 0){var W;if(((W=oe.roles.get(t))==null?void 0:W.props["aria-pressed"])===void 0)throw new Error('"aria-pressed" is not supported on role "'+t+'".')}if(P!==void 0){var K;if(((K=oe.roles.get(t))==null?void 0:K.props["aria-current"])===void 0)throw new Error('"aria-current" is not supported on role "'+t+'".')}if(C!==void 0&&t!=="heading")throw new Error('Role "'+t+'" cannot have "level" property.');if(w!==void 0){var O;if(((O=oe.roles.get(t))==null?void 0:O.props["aria-valuenow"])===void 0)throw new Error('"aria-valuenow" is not supported on role "'+t+'".')}if(E!==void 0){var G;if(((G=oe.roles.get(t))==null?void 0:G.props["aria-valuemax"])===void 0)throw new Error('"aria-valuemax" is not supported on role "'+t+'".')}if(h!==void 0){var Q;if(((Q=oe.roles.get(t))==null?void 0:Q.props["aria-valuemin"])===void 0)throw new Error('"aria-valuemin" is not supported on role "'+t+'".')}if(A!==void 0){var b;if(((b=oe.roles.get(t))==null?void 0:b.props["aria-valuetext"])===void 0)throw new Error('"aria-valuetext" is not supported on role "'+t+'".')}if(T!==void 0){var v;if(((v=oe.roles.get(t))==null?void 0:v.props["aria-expanded"])===void 0)throw new Error('"aria-expanded" is not supported on role "'+t+'".')}let S=new WeakMap;function D(L){return S.has(L)||S.set(L,om(L)),S.get(L)}return Array.from(e.querySelectorAll(Q0(t))).filter(L=>{if(L.hasAttribute("role")){let bt=L.getAttribute("role");return u?bt.split(" ").filter(Boolean).some(Vb=>Vb===t):bt.split(" ")[0]===t}return js(L).some(bt=>bt===t)}).filter(L=>{if(c!==void 0)return c===BS(L);if(d!==void 0)return d===FS(L);if(m!==void 0)return m===US(L);if(y!==void 0)return y===$S(L);if(P!==void 0)return P===jS(L);if(T!==void 0)return T===HS(L);if(C!==void 0)return C===VS(L);if(w!==void 0||E!==void 0||h!==void 0||A!==void 0){let le=!0;if(w!==void 0&&le&&(le=w===WS(L)),E!==void 0&&le&&(le=E===zS(L)),h!==void 0&&le&&(le=h===KS(L)),A!==void 0){var pe;le&&(le=qe((pe=GS(L))!=null?pe:null,L,A,bt=>bt))}return le}return!0}).filter(L=>a===void 0?!0:qe(nr(L,{computedStyleSupportsPseudoElements:N().computedStyleSupportsPseudoElements}),L,a,pe=>pe)).filter(L=>s===void 0?!0:qe(en(L,{computedStyleSupportsPseudoElements:N().computedStyleSupportsPseudoElements}),L,s,pe=>pe)).filter(L=>i===!1?$s(L,{isSubtreeInaccessible:D})===!1:!0)};function Q0(e){var t;let r='*[role~="'+e+'"]',n=(t=oe.roleElements.get(e))!=null?t:new Set,o=new Set(Array.from(n).map(i=>i.name));return[r].concat(Array.from(o)).join(",")}var um=e=>{let t="";return e===void 0?t="":typeof e=="string"?t=' and name "'+e+'"':t=" and name `"+e+"`",t},J0=function(e,t,r){let n=r===void 0?{}:r,o=n.name;return'Found multiple elements with the role "'+t+'"'+um(o)},Z0=function(e,t,r){let n=r===void 0?{}:r,o=n.hidden,i=o===void 0?N().defaultHidden:o,a=n.name,s=n.description;if(N()._disableExpensiveErrorDiagnostics)return'Unable to find role="'+t+'"'+um(a);let l="";Array.from(e.children).forEach(m=>{l+=DS(m,{hidden:i,includeDescription:s!==void 0})});let u;l.length===0?i===!1?u="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":u="There are no available roles.":u=(`
45
+ `),e):N().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 N().getElementError("Unable to find a label with the text of: "+t,e)}return i};function o0(e,t){let r=t.getAttribute("for");if(!r)return null;let n=e.querySelector('[id="'+r+'"]');return n?n.tagName.toLowerCase():null}var um=(e,t)=>"Found multiple elements with the text of: "+t,i0=xt(ra(ur,um),ur.name,"query"),cm=ra(at,um),a0=na(be(at,at.name,"findAll")),s0=na(xt(cm,at.name,"find")),l0=be(at,at.name,"getAll"),u0=xt(cm,at.name,"get"),c0=be(ur,ur.name,"queryAll"),Ms=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return Ae(t[0]),sa("placeholder",...t)},d0=(e,t)=>"Found multiple elements with the placeholder text of: "+t,p0=(e,t)=>"Unable to find an element with the placeholder text of: "+t,f0=be(Ms,Ms.name,"queryAll"),dr=lt(Ms,d0,p0),m0=dr[0],b0=dr[1],v0=dr[2],y0=dr[3],h0=dr[4],ks=function(e,t,r){let n=r===void 0?{}:r,o=n.selector,i=o===void 0?"*":o,a=n.exact,s=a===void 0?!0:a,l=n.collapseWhitespace,u=n.trim,c=n.ignore,d=c===void 0?N().defaultIgnore:c,m=n.normalizer;Ae(e);let y=s?qe:qt,T=st({collapseWhitespace:l,trim:u,normalizer:m}),C=[];return typeof e.matches=="function"&&e.matches(i)&&(C=[e]),[...C,...Array.from(e.querySelectorAll(i))].filter(P=>!d||!P.matches(d)).filter(P=>y(aa(P),P,t,T))},g0=(e,t)=>"Found multiple elements with the text: "+t,E0=function(e,t,r){r===void 0&&(r={});let n=r,o=n.collapseWhitespace,i=n.trim,a=n.normalizer,s=n.selector,u=st({collapseWhitespace:o,trim:i,normalizer:a})(t.toString()),c=u!==t.toString(),d=(s??"*")!=="*";return"Unable to find an element with the text: "+(c?u+" (normalized from '"+t+"')":t)+(d?", 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."},w0=be(ks,ks.name,"queryAll"),pr=lt(ks,g0,E0),_0=pr[0],C0=pr[1],T0=pr[2],P0=pr[3],R0=pr[4],Os=function(e,t,r){let n=r===void 0?{}:r,o=n.exact,i=o===void 0?!0:o,a=n.collapseWhitespace,s=n.trim,l=n.normalizer;Ae(e);let u=i?qe:qt,c=st({collapseWhitespace:a,trim:s,normalizer:l});return Array.from(e.querySelectorAll("input,textarea,select")).filter(d=>d.tagName==="SELECT"?Array.from(d.options).filter(y=>y.selected).some(y=>u(aa(y),y,t,c)):u(d.value,d,t,c))},S0=(e,t)=>"Found multiple elements with the display value: "+t+".",x0=(e,t)=>"Unable to find an element with the display value: "+t+".",q0=be(Os,Os.name,"queryAll"),fr=lt(Os,S0,x0),A0=fr[0],M0=fr[1],k0=fr[2],O0=fr[3],I0=fr[4],N0=/^(img|input|area|.+-.+)$/i,Is=function(e,t,r){return r===void 0&&(r={}),Ae(e),sa("alt",e,t,r).filter(n=>N0.test(n.tagName))},L0=(e,t)=>"Found multiple elements with the alt text: "+t,D0=(e,t)=>"Unable to find an element with the alt text: "+t,B0=be(Is,Is.name,"queryAll"),mr=lt(Is,L0,D0),F0=mr[0],U0=mr[1],$0=mr[2],j0=mr[3],H0=mr[4],V0=e=>{var t;return e.tagName.toLowerCase()==="title"&&((t=e.parentElement)==null?void 0:t.tagName.toLowerCase())==="svg"},Ns=function(e,t,r){let n=r===void 0?{}:r,o=n.exact,i=o===void 0?!0:o,a=n.collapseWhitespace,s=n.trim,l=n.normalizer;Ae(e);let u=i?qe:qt,c=st({collapseWhitespace:a,trim:s,normalizer:l});return Array.from(e.querySelectorAll("[title], svg > title")).filter(d=>u(d.getAttribute("title"),d,t,c)||V0(d)&&u(aa(d),d,t,c))},W0=(e,t)=>"Found multiple elements with the title: "+t+".",z0=(e,t)=>"Unable to find an element with the title: "+t+".",K0=be(Ns,Ns.name,"queryAll"),br=lt(Ns,W0,z0),G0=br[0],X0=br[1],J0=br[2],Y0=br[3],Q0=br[4],Ls=function(e,t,r){let n=r===void 0?{}:r,o=n.hidden,i=o===void 0?N().defaultHidden:o,a=n.name,s=n.description,l=n.queryFallbacks,u=l===void 0?!1:l,c=n.selected,d=n.busy,m=n.checked,y=n.pressed,T=n.current,C=n.level,P=n.expanded,f=n.value,g=f===void 0?{}:f,w=g.now,h=g.min,E=g.max,A=g.text;if(Ae(e),c!==void 0){var R;if(((R=oe.roles.get(t))==null?void 0:R.props["aria-selected"])===void 0)throw new Error('"aria-selected" is not supported on role "'+t+'".')}if(d!==void 0){var H;if(((H=oe.roles.get(t))==null?void 0:H.props["aria-busy"])===void 0)throw new Error('"aria-busy" is not supported on role "'+t+'".')}if(m!==void 0){var F;if(((F=oe.roles.get(t))==null?void 0:F.props["aria-checked"])===void 0)throw new Error('"aria-checked" is not supported on role "'+t+'".')}if(y!==void 0){var W;if(((W=oe.roles.get(t))==null?void 0:W.props["aria-pressed"])===void 0)throw new Error('"aria-pressed" is not supported on role "'+t+'".')}if(T!==void 0){var K;if(((K=oe.roles.get(t))==null?void 0:K.props["aria-current"])===void 0)throw new Error('"aria-current" is not supported on role "'+t+'".')}if(C!==void 0&&t!=="heading")throw new Error('Role "'+t+'" cannot have "level" property.');if(w!==void 0){var O;if(((O=oe.roles.get(t))==null?void 0:O.props["aria-valuenow"])===void 0)throw new Error('"aria-valuenow" is not supported on role "'+t+'".')}if(E!==void 0){var G;if(((G=oe.roles.get(t))==null?void 0:G.props["aria-valuemax"])===void 0)throw new Error('"aria-valuemax" is not supported on role "'+t+'".')}if(h!==void 0){var Y;if(((Y=oe.roles.get(t))==null?void 0:Y.props["aria-valuemin"])===void 0)throw new Error('"aria-valuemin" is not supported on role "'+t+'".')}if(A!==void 0){var b;if(((b=oe.roles.get(t))==null?void 0:b.props["aria-valuetext"])===void 0)throw new Error('"aria-valuetext" is not supported on role "'+t+'".')}if(P!==void 0){var v;if(((v=oe.roles.get(t))==null?void 0:v.props["aria-expanded"])===void 0)throw new Error('"aria-expanded" is not supported on role "'+t+'".')}let S=new WeakMap;function D(L){return S.has(L)||S.set(L,am(L)),S.get(L)}return Array.from(e.querySelectorAll(Z0(t))).filter(L=>{if(L.hasAttribute("role")){let yt=L.getAttribute("role");return u?yt.split(" ").filter(Boolean).some(zb=>zb===t):yt.split(" ")[0]===t}return Hs(L).some(yt=>yt===t)}).filter(L=>{if(c!==void 0)return c===US(L);if(d!==void 0)return d===$S(L);if(m!==void 0)return m===jS(L);if(y!==void 0)return y===HS(L);if(T!==void 0)return T===VS(L);if(P!==void 0)return P===WS(L);if(C!==void 0)return C===zS(L);if(w!==void 0||E!==void 0||h!==void 0||A!==void 0){let le=!0;if(w!==void 0&&le&&(le=w===KS(L)),E!==void 0&&le&&(le=E===GS(L)),h!==void 0&&le&&(le=h===XS(L)),A!==void 0){var pe;le&&(le=qe((pe=JS(L))!=null?pe:null,L,A,yt=>yt))}return le}return!0}).filter(L=>a===void 0?!0:qe(ir(L,{computedStyleSupportsPseudoElements:N().computedStyleSupportsPseudoElements}),L,a,pe=>pe)).filter(L=>s===void 0?!0:qe(tn(L,{computedStyleSupportsPseudoElements:N().computedStyleSupportsPseudoElements}),L,s,pe=>pe)).filter(L=>i===!1?js(L,{isSubtreeInaccessible:D})===!1:!0)};function Z0(e){var t;let r='*[role~="'+e+'"]',n=(t=oe.roleElements.get(e))!=null?t:new Set,o=new Set(Array.from(n).map(i=>i.name));return[r].concat(Array.from(o)).join(",")}var dm=e=>{let t="";return e===void 0?t="":typeof e=="string"?t=' and name "'+e+'"':t=" and name `"+e+"`",t},ex=function(e,t,r){let n=r===void 0?{}:r,o=n.name;return'Found multiple elements with the role "'+t+'"'+dm(o)},tx=function(e,t,r){let n=r===void 0?{}:r,o=n.hidden,i=o===void 0?N().defaultHidden:o,a=n.name,s=n.description;if(N()._disableExpensiveErrorDiagnostics)return'Unable to find role="'+t+'"'+dm(a);let l="";Array.from(e.children).forEach(m=>{l+=FS(m,{hidden:i,includeDescription:s!==void 0})});let u;l.length===0?i===!1?u="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":u="There are no available roles.":u=(`
46
46
  Here are the `+(i===!1?"accessible":"available")+` roles:
47
47
 
48
48
  `+l.replace(/\n/g,`
@@ -52,15 +52,15 @@ Here are the `+(i===!1?"accessible":"available")+` roles:
52
52
  `).trim();let c="";a===void 0?c="":typeof a=="string"?c=' and name "'+a+'"':c=" and name `"+a+"`";let d="";return s===void 0?d="":typeof s=="string"?d=' and description "'+s+'"':d=" and description `"+s+"`",(`
53
53
  Unable to find an `+(i===!1?"accessible ":"")+'element with the role "'+t+'"'+c+d+`
54
54
 
55
- `+u).trim()},ex=be(Ns,Ns.name,"queryAll"),mr=at(Ns,J0,Z0),tx=mr[0],rx=mr[1],nx=mr[2],ox=mr[3],ix=mr[4],Hs=()=>N().testIdAttribute,Ls=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return Ae(t[0]),aa(Hs(),...t)},ax=(e,t)=>"Found multiple elements by: ["+Hs()+'="'+t+'"]',sx=(e,t)=>"Unable to find an element by: ["+Hs()+'="'+t+'"]',lx=be(Ls,Ls.name,"queryAll"),br=at(Ls,ax,sx),ux=br[0],cx=br[1],dx=br[2],px=br[3],fx=br[4],Ds=Object.freeze({__proto__:null,queryAllByLabelText:l0,queryByLabelText:n0,getAllByLabelText:a0,getByLabelText:s0,findAllByLabelText:o0,findByLabelText:i0,queryByPlaceholderText:p0,queryAllByPlaceholderText:d0,getByPlaceholderText:m0,getAllByPlaceholderText:f0,findAllByPlaceholderText:b0,findByPlaceholderText:v0,queryByText:E0,queryAllByText:g0,getByText:_0,getAllByText:w0,findAllByText:C0,findByText:P0,queryByDisplayValue:x0,queryAllByDisplayValue:S0,getByDisplayValue:A0,getAllByDisplayValue:q0,findAllByDisplayValue:M0,findByDisplayValue:k0,queryByAltText:D0,queryAllByAltText:L0,getByAltText:F0,getAllByAltText:B0,findAllByAltText:U0,findByAltText:$0,queryByTitle:z0,queryAllByTitle:W0,getByTitle:G0,getAllByTitle:K0,findAllByTitle:X0,findByTitle:Y0,queryByRole:tx,queryAllByRole:ex,getAllByRole:rx,getByRole:nx,findAllByRole:ox,findByRole:ix,queryByTestId:ux,queryAllByTestId:lx,getByTestId:dx,getAllByTestId:cx,findAllByTestId:px,findByTestId:fx});function mx(e,t,r){return t===void 0&&(t=Ds),r===void 0&&(r={}),Object.keys(t).reduce((n,o)=>{let i=t[o];return n[o]=i.bind(null,e),n},r)}var Ff={copy:{EventType:"ClipboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},cut:{EventType:"ClipboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},paste:{EventType:"ClipboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},compositionEnd:{EventType:"CompositionEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},compositionStart:{EventType:"CompositionEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},compositionUpdate:{EventType:"CompositionEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},keyDown:{EventType:"KeyboardEvent",defaultInit:{bubbles:!0,cancelable:!0,charCode:0,composed:!0}},keyPress:{EventType:"KeyboardEvent",defaultInit:{bubbles:!0,cancelable:!0,charCode:0,composed:!0}},keyUp:{EventType:"KeyboardEvent",defaultInit:{bubbles:!0,cancelable:!0,charCode:0,composed:!0}},focus:{EventType:"FocusEvent",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},blur:{EventType:"FocusEvent",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},focusIn:{EventType:"FocusEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},focusOut:{EventType:"FocusEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},change:{EventType:"Event",defaultInit:{bubbles:!0,cancelable:!1}},input:{EventType:"InputEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},invalid:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!0}},submit:{EventType:"Event",defaultInit:{bubbles:!0,cancelable:!0}},reset:{EventType:"Event",defaultInit:{bubbles:!0,cancelable:!0}},click:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,button:0,composed:!0}},contextMenu:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},dblClick:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},drag:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},dragEnd:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},dragEnter:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},dragExit:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},dragLeave:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},dragOver:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},dragStart:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},drop:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseDown:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseEnter:{EventType:"MouseEvent",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},mouseLeave:{EventType:"MouseEvent",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},mouseMove:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseOut:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseOver:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseUp:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},select:{EventType:"Event",defaultInit:{bubbles:!0,cancelable:!1}},touchCancel:{EventType:"TouchEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},touchEnd:{EventType:"TouchEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},touchMove:{EventType:"TouchEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},touchStart:{EventType:"TouchEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},resize:{EventType:"UIEvent",defaultInit:{bubbles:!1,cancelable:!1}},scroll:{EventType:"UIEvent",defaultInit:{bubbles:!1,cancelable:!1}},wheel:{EventType:"WheelEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},abort:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},canPlay:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},canPlayThrough:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},durationChange:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},emptied:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},encrypted:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},ended:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},loadedData:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},loadedMetadata:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},loadStart:{EventType:"ProgressEvent",defaultInit:{bubbles:!1,cancelable:!1}},pause:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},play:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},playing:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},progress:{EventType:"ProgressEvent",defaultInit:{bubbles:!1,cancelable:!1}},rateChange:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},seeked:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},seeking:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},stalled:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},suspend:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},timeUpdate:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},volumeChange:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},waiting:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},load:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},error:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},animationStart:{EventType:"AnimationEvent",defaultInit:{bubbles:!0,cancelable:!1}},animationEnd:{EventType:"AnimationEvent",defaultInit:{bubbles:!0,cancelable:!1}},animationIteration:{EventType:"AnimationEvent",defaultInit:{bubbles:!0,cancelable:!1}},transitionCancel:{EventType:"TransitionEvent",defaultInit:{bubbles:!0,cancelable:!1}},transitionEnd:{EventType:"TransitionEvent",defaultInit:{bubbles:!0,cancelable:!0}},transitionRun:{EventType:"TransitionEvent",defaultInit:{bubbles:!0,cancelable:!1}},transitionStart:{EventType:"TransitionEvent",defaultInit:{bubbles:!0,cancelable:!1}},pointerOver:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerEnter:{EventType:"PointerEvent",defaultInit:{bubbles:!1,cancelable:!1}},pointerDown:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerMove:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerUp:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerCancel:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},pointerOut:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerLeave:{EventType:"PointerEvent",defaultInit:{bubbles:!1,cancelable:!1}},gotPointerCapture:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},lostPointerCapture:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},popState:{EventType:"PopStateEvent",defaultInit:{bubbles:!0,cancelable:!1}},offline:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},online:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},pageHide:{EventType:"PageTransitionEvent",defaultInit:{bubbles:!0,cancelable:!0}},pageShow:{EventType:"PageTransitionEvent",defaultInit:{bubbles:!0,cancelable:!0}}},Uf={doubleClick:"dblClick"},bx=["value","files"],vx=["bubbles","cancelable","detail"];function na(e,t){return N().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 Ss(e,t,r,n){let o=n===void 0?{}:n,i=o.EventType,a=i===void 0?"Event":i,s=o.defaultInit,l=s===void 0?{}:s;if(!t)throw new Error('Unable to fire a "'+e+'" event - please provide a DOM element.');let u={...l,...r},c=u.target,d=c===void 0?{}:c,m=d.value,y=d.files,P=$r(d,bx);m!==void 0&&yx(t,m),y!==void 0&&Object.defineProperty(t,"files",{configurable:!0,enumerable:!0,writable:!0,value:y}),Object.assign(t,P);let C=Qf(t),T=C[a]||C.Event,f;if(typeof T=="function")f=new T(e,u);else{f=C.document.createEvent(a);let w=u.bubbles,h=u.cancelable,E=u.detail,A=$r(u,vx);f.initEvent(e,w,h,E),Object.keys(A).forEach(R=>{f[R]=A[R]})}return["dataTransfer","clipboardData"].forEach(w=>{let h=u[w];typeof h=="object"&&(typeof C.DataTransfer=="function"?Object.defineProperty(f,w,{value:Object.getOwnPropertyNames(h).reduce((E,A)=>(Object.defineProperty(E,A,{value:h[A]}),E),new C.DataTransfer)}):Object.defineProperty(f,w,{value:h}))}),f}Object.keys(Ff).forEach(e=>{let t=Ff[e],r=t.EventType,n=t.defaultInit,o=e.toLowerCase();Ss[e]=(i,a)=>Ss(o,i,a,{EventType:r,defaultInit:n}),na[e]=(i,a)=>na(i,Ss[e](i,a))});function yx(e,t){let r=Object.getOwnPropertyDescriptor(e,"value")||{},n=r.set,o=Object.getPrototypeOf(e),i=Object.getOwnPropertyDescriptor(o,"value")||{},a=i.set;if(a&&n!==a)a.call(e,t);else if(n)n.call(e,t);else throw new Error("The given element does not have a value setter")}Object.keys(Uf).forEach(e=>{let t=Uf[e];na[e]=function(){return na[t](...arguments)}});function hx(e){return e.replace(/[ \t]*[\n][ \t]*/g,`
56
- `)}function gx(e){return jf.default.compressToEncodedURIComponent(hx(e))}function Ex(e){return"https://testing-playground.com/#markup="+gx(e)}var wx=(e,t,r)=>Array.isArray(e)?e.forEach(n=>Lf(n,t,r)):Lf(e,t,r),_x=function(e){if(e===void 0&&(e=Us().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}let t=Ex(e.innerHTML);return console.log(`Open this URL in your browser
55
+ `+u).trim()},rx=be(Ls,Ls.name,"queryAll"),vr=lt(Ls,ex,tx),nx=vr[0],ox=vr[1],ix=vr[2],ax=vr[3],sx=vr[4],Vs=()=>N().testIdAttribute,Ds=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return Ae(t[0]),sa(Vs(),...t)},lx=(e,t)=>"Found multiple elements by: ["+Vs()+'="'+t+'"]',ux=(e,t)=>"Unable to find an element by: ["+Vs()+'="'+t+'"]',cx=be(Ds,Ds.name,"queryAll"),yr=lt(Ds,lx,ux),dx=yr[0],px=yr[1],fx=yr[2],mx=yr[3],bx=yr[4],Bs=Object.freeze({__proto__:null,queryAllByLabelText:c0,queryByLabelText:i0,getAllByLabelText:l0,getByLabelText:u0,findAllByLabelText:a0,findByLabelText:s0,queryByPlaceholderText:m0,queryAllByPlaceholderText:f0,getByPlaceholderText:v0,getAllByPlaceholderText:b0,findAllByPlaceholderText:y0,findByPlaceholderText:h0,queryByText:_0,queryAllByText:w0,getByText:T0,getAllByText:C0,findAllByText:P0,findByText:R0,queryByDisplayValue:A0,queryAllByDisplayValue:q0,getByDisplayValue:k0,getAllByDisplayValue:M0,findAllByDisplayValue:O0,findByDisplayValue:I0,queryByAltText:F0,queryAllByAltText:B0,getByAltText:$0,getAllByAltText:U0,findAllByAltText:j0,findByAltText:H0,queryByTitle:G0,queryAllByTitle:K0,getByTitle:J0,getAllByTitle:X0,findAllByTitle:Y0,findByTitle:Q0,queryByRole:nx,queryAllByRole:rx,getAllByRole:ox,getByRole:ix,findAllByRole:ax,findByRole:sx,queryByTestId:dx,queryAllByTestId:cx,getByTestId:fx,getAllByTestId:px,findAllByTestId:mx,findByTestId:bx});function vx(e,t,r){return t===void 0&&(t=Bs),r===void 0&&(r={}),Object.keys(t).reduce((n,o)=>{let i=t[o];return n[o]=i.bind(null,e),n},r)}var $f={copy:{EventType:"ClipboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},cut:{EventType:"ClipboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},paste:{EventType:"ClipboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},compositionEnd:{EventType:"CompositionEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},compositionStart:{EventType:"CompositionEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},compositionUpdate:{EventType:"CompositionEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},keyDown:{EventType:"KeyboardEvent",defaultInit:{bubbles:!0,cancelable:!0,charCode:0,composed:!0}},keyPress:{EventType:"KeyboardEvent",defaultInit:{bubbles:!0,cancelable:!0,charCode:0,composed:!0}},keyUp:{EventType:"KeyboardEvent",defaultInit:{bubbles:!0,cancelable:!0,charCode:0,composed:!0}},focus:{EventType:"FocusEvent",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},blur:{EventType:"FocusEvent",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},focusIn:{EventType:"FocusEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},focusOut:{EventType:"FocusEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},change:{EventType:"Event",defaultInit:{bubbles:!0,cancelable:!1}},input:{EventType:"InputEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},invalid:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!0}},submit:{EventType:"Event",defaultInit:{bubbles:!0,cancelable:!0}},reset:{EventType:"Event",defaultInit:{bubbles:!0,cancelable:!0}},click:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,button:0,composed:!0}},contextMenu:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},dblClick:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},drag:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},dragEnd:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},dragEnter:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},dragExit:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},dragLeave:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},dragOver:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},dragStart:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},drop:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseDown:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseEnter:{EventType:"MouseEvent",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},mouseLeave:{EventType:"MouseEvent",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},mouseMove:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseOut:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseOver:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseUp:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},select:{EventType:"Event",defaultInit:{bubbles:!0,cancelable:!1}},touchCancel:{EventType:"TouchEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},touchEnd:{EventType:"TouchEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},touchMove:{EventType:"TouchEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},touchStart:{EventType:"TouchEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},resize:{EventType:"UIEvent",defaultInit:{bubbles:!1,cancelable:!1}},scroll:{EventType:"UIEvent",defaultInit:{bubbles:!1,cancelable:!1}},wheel:{EventType:"WheelEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},abort:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},canPlay:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},canPlayThrough:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},durationChange:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},emptied:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},encrypted:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},ended:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},loadedData:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},loadedMetadata:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},loadStart:{EventType:"ProgressEvent",defaultInit:{bubbles:!1,cancelable:!1}},pause:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},play:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},playing:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},progress:{EventType:"ProgressEvent",defaultInit:{bubbles:!1,cancelable:!1}},rateChange:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},seeked:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},seeking:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},stalled:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},suspend:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},timeUpdate:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},volumeChange:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},waiting:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},load:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},error:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},animationStart:{EventType:"AnimationEvent",defaultInit:{bubbles:!0,cancelable:!1}},animationEnd:{EventType:"AnimationEvent",defaultInit:{bubbles:!0,cancelable:!1}},animationIteration:{EventType:"AnimationEvent",defaultInit:{bubbles:!0,cancelable:!1}},transitionCancel:{EventType:"TransitionEvent",defaultInit:{bubbles:!0,cancelable:!1}},transitionEnd:{EventType:"TransitionEvent",defaultInit:{bubbles:!0,cancelable:!0}},transitionRun:{EventType:"TransitionEvent",defaultInit:{bubbles:!0,cancelable:!1}},transitionStart:{EventType:"TransitionEvent",defaultInit:{bubbles:!0,cancelable:!1}},pointerOver:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerEnter:{EventType:"PointerEvent",defaultInit:{bubbles:!1,cancelable:!1}},pointerDown:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerMove:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerUp:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerCancel:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},pointerOut:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerLeave:{EventType:"PointerEvent",defaultInit:{bubbles:!1,cancelable:!1}},gotPointerCapture:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},lostPointerCapture:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},popState:{EventType:"PopStateEvent",defaultInit:{bubbles:!0,cancelable:!1}},offline:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},online:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},pageHide:{EventType:"PageTransitionEvent",defaultInit:{bubbles:!0,cancelable:!0}},pageShow:{EventType:"PageTransitionEvent",defaultInit:{bubbles:!0,cancelable:!0}}},jf={doubleClick:"dblClick"},yx=["value","files"],hx=["bubbles","cancelable","detail"];function oa(e,t){return N().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 xs(e,t,r,n){let o=n===void 0?{}:n,i=o.EventType,a=i===void 0?"Event":i,s=o.defaultInit,l=s===void 0?{}:s;if(!t)throw new Error('Unable to fire a "'+e+'" event - please provide a DOM element.');let u={...l,...r},c=u.target,d=c===void 0?{}:c,m=d.value,y=d.files,T=jr(d,yx);m!==void 0&&gx(t,m),y!==void 0&&Object.defineProperty(t,"files",{configurable:!0,enumerable:!0,writable:!0,value:y}),Object.assign(t,T);let C=Zf(t),P=C[a]||C.Event,f;if(typeof P=="function")f=new P(e,u);else{f=C.document.createEvent(a);let w=u.bubbles,h=u.cancelable,E=u.detail,A=jr(u,hx);f.initEvent(e,w,h,E),Object.keys(A).forEach(R=>{f[R]=A[R]})}return["dataTransfer","clipboardData"].forEach(w=>{let h=u[w];typeof h=="object"&&(typeof C.DataTransfer=="function"?Object.defineProperty(f,w,{value:Object.getOwnPropertyNames(h).reduce((E,A)=>(Object.defineProperty(E,A,{value:h[A]}),E),new C.DataTransfer)}):Object.defineProperty(f,w,{value:h}))}),f}Object.keys($f).forEach(e=>{let t=$f[e],r=t.EventType,n=t.defaultInit,o=e.toLowerCase();xs[e]=(i,a)=>xs(o,i,a,{EventType:r,defaultInit:n}),oa[e]=(i,a)=>oa(i,xs[e](i,a))});function gx(e,t){let r=Object.getOwnPropertyDescriptor(e,"value")||{},n=r.set,o=Object.getPrototypeOf(e),i=Object.getOwnPropertyDescriptor(o,"value")||{},a=i.set;if(a&&n!==a)a.call(e,t);else if(n)n.call(e,t);else throw new Error("The given element does not have a value setter")}Object.keys(jf).forEach(e=>{let t=jf[e];oa[e]=function(){return oa[t](...arguments)}});function Ex(e){return e.replace(/[ \t]*[\n][ \t]*/g,`
56
+ `)}function wx(e){return Vf.default.compressToEncodedURIComponent(Ex(e))}function _x(e){return"https://testing-playground.com/#markup="+wx(e)}var Cx=(e,t,r)=>Array.isArray(e)?e.forEach(n=>Bf(n,t,r)):Bf(e,t,r),Tx=function(e){if(e===void 0&&(e=$s().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}let t=_x(e.innerHTML);return console.log(`Open this URL in your browser
57
57
 
58
- `+t),t},$f={debug:wx,logTestingPlaygroundURL:_x},KI=typeof document<"u"&&document.body?mx(document.body,Ds,$f):Object.keys(Ds).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),$f);function Je(e,t){return N().eventWrapper(e)}function se(e){let t=Hl(e,Ut),r=De(e.ownerDocument);(t??e.ownerDocument.body)!==r&&(t?Je(()=>t.focus()):Je(()=>r?.blur()),Gl(t??e.ownerDocument.body))}function cm(e){!Ut(e)||!(De(e.ownerDocument)===e)||Je(()=>e.blur())}var ie={};ie.click=(e,t,r)=>{let n=t.closest("button,input,label,select,textarea"),o=n&&q(n,"label")&&n.control;if(o&&o!==t)return()=>{Ut(o)&&(se(o),r.dispatchEvent(o,jl(e)))};if(q(t,"input",{type:"file"}))return()=>{cm(t),t.dispatchEvent(new(V(t)).Event("fileDialog")),se(t)}};var xt=Symbol("Displayed value in UI"),Me=Symbol("Displayed selection in UI"),sa=Symbol("Initial value to compare on blur");function dm(e){return typeof e=="object"&&xt in e}function pm(e){return!!e&&typeof e=="object"&&Me in e}function fm(e,t){e[sa]===void 0&&(e[sa]=e.value),e[xt]=t,e.value=Object.assign(new String(t),{[xt]:!0})}function Z(e){return e[xt]===void 0?e.value:String(e[xt])}function vr(e){e[xt]=void 0}function la(e){e[sa]=void 0}function mm(e){return e[sa]}function bm(e,t){e[Me]=t}function Ee(e,{focusOffset:t,anchorOffset:r=t},n="replace"){let o=Z(e).length,i=d=>Math.max(0,Math.min(o,d)),a=n==="replace"||e[Me]===void 0?i(r):e[Me].anchorOffset,s=i(t),l=Math.min(a,s),u=Math.max(a,s);if(e[Me]={anchorOffset:a,focusOffset:s},e.selectionStart===l&&e.selectionEnd===u)return;let c=Object.assign(new Number(l),{[Me]:!0});try{e.setSelectionRange(c,u)}catch{}}function ke(e){var t,r,n;let o=(t=e[Me])!==null&&t!==void 0?t:{anchorOffset:(r=e.selectionStart)!==null&&r!==void 0?r:0,focusOffset:(n=e.selectionEnd)!==null&&n!==void 0?n:0};return{...o,startOffset:Math.min(o.anchorOffset,o.focusOffset),endOffset:Math.max(o.anchorOffset,o.focusOffset)}}function vm(e){return!!e[Me]}function yr(e){e[Me]=void 0}var ua=globalThis.parseInt;function hm(e){let t=e.replace(/\D/g,"");if(t.length<2)return e;let r=ua(t[0],10),n=ua(t[1],10);if(r>=3||r===2&&n>=4){let o;return r>=3?o=1:o=2,ym(t,o)}return e.length===2?e:ym(t,2)}function ym(e,t){let r=e.slice(0,t),n=Math.min(ua(r,10),23),o=e.slice(t),i=ua(o,10),a=Math.min(i,59);return`${n.toString().padStart(2,"0")}:${a.toString().padStart(2,"0")}`}function Vs(e,t){let r=e.cloneNode();return r.value=t,r.value===t}var gm=(function(e){return e.email="email",e.password="password",e.search="search",e.telephone="telephone",e.text="text",e.url="url",e})(gm||{});function Em(e){var t;let r=(t=e.getAttribute("maxlength"))!==null&&t!==void 0?t:"";return/^\d+$/.test(r)&&Number(r)>=0?Number(r):void 0}function wm(e){return q(e,"textarea")||q(e,"input")&&e.type in gm}function pa(e,t,r,n){if(da(e)&&t+r>=0&&t+r<=e.nodeValue.length)return{node:e,offset:t+r};let o=_m(e,t,r);if(o){if(da(o))return{node:o,offset:r>0?Math.min(1,o.nodeValue.length):Math.max(o.nodeValue.length-1,0)};if(q(o,"br")){let i=_m(o,void 0,r);return i?da(i)?{node:i,offset:r>0?0:i.nodeValue.length}:r<0&&q(i,"br")?{node:o.parentNode,offset:ca(o)}:{node:i.parentNode,offset:ca(i)+(r>0?0:1)}:r<0&&n==="deleteContentBackward"?{node:o.parentNode,offset:ca(o)}:void 0}else return{node:o.parentNode,offset:ca(o)+(r>0?1:0)}}}function _m(e,t,r){let n=Number(t)+(r<0?-1:0);return t!==void 0&&Ws(e)&&n>=0&&n<e.children.length&&(e=e.children[n]),Px(e,r===1?"next":"previous",Cx)}function Cx(e){if(da(e))return!0;if(Ws(e)){if(q(e,["input","textarea"]))return e.type!=="hidden";if(q(e,"br"))return!0}return!1}function ca(e){let t=0;for(;e.previousSibling;)t++,e=e.previousSibling;return t}function Ws(e){return e.nodeType===1}function da(e){return e.nodeType===3}function Px(e,t,r){for(;;){var n;let o=e[`${t}Sibling`];if(o){if(e=Tx(o,t==="next"?"first":"last"),r(e))return e}else if(e.parentNode&&(!Ws(e.parentNode)||!ce(e.parentNode)&&e.parentNode!==((n=e.ownerDocument)===null||n===void 0?void 0:n.body)))e=e.parentNode;else break}}function Tx(e,t){for(;e.hasChildNodes();)e=e[`${t}Child`];return e}var hr=Symbol("Track programmatic changes for React workaround");function Rx(e){return Object.getOwnPropertyNames(e).some(t=>t.startsWith("__react"))&&V(e).REACT_VERSION===17}function Cm(e){Rx(e)&&(e[hr]={previousValue:String(e.value),tracked:[]})}function Pm(e,t){var r,n;(n=e[hr])===null||n===void 0||(r=n.tracked)===null||r===void 0||r.push(t),e[hr]||(vr(e),Ee(e,{focusOffset:t.length}))}function Tm(e,t){var r;let n=e[hr];if(e[hr]=void 0,!(!(n==null||(r=n.tracked)===null||r===void 0)&&r.length))return;let o=n.tracked.length===2&&n.tracked[0]===n.previousValue&&n.tracked[1]===e.value;o||vr(e),vm(e)&&Ee(e,{focusOffset:o?t:e.value.length})}function fa(e){let t=Sx(e);if(t&&X(t))return{type:"input",selection:ke(t)};let r=t?.ownerDocument.getSelection();return{type:Be(e)&&r?.anchorNode&&Be(r.anchorNode)?"contenteditable":"default",selection:r}}function Sx(e){return e.nodeType===1?e:e.parentElement}function Rm(e){let t=fa(e);if(t.type==="input")return t.selection;if(t.type==="contenteditable"){var r;return(r=t.selection)===null||r===void 0?void 0:r.getRangeAt(0)}}function we({focusNode:e,focusOffset:t,anchorNode:r=e,anchorOffset:n=t}){var o,i;if(fa(e).type==="input")return Ee(e,{anchorOffset:n,focusOffset:t});(i=r.ownerDocument)===null||i===void 0||(o=i.getSelection())===null||o===void 0||o.setBaseAndExtent(r,n,e,t)}function xm(e){return q(e,"input")&&["date","time"].includes(e.type)}function _e(e,t,r,n="insertText"){let o=Rm(t);o&&(!xm(t)&&!e.dispatchUIEvent(t,"beforeinput",{inputType:n,data:r})||("startContainer"in o?xx(e,t,o,r,n):qx(e,t,o,r,n)))}function xx(e,t,r,n,o){let i=!1;if(!r.collapsed)i=!0,r.deleteContents();else if(["deleteContentBackward","deleteContentForward"].includes(o)){let a=pa(r.startContainer,r.startOffset,o==="deleteContentBackward"?-1:1,o);if(a){i=!0;let s=r.cloneRange();s.comparePoint(a.node,a.offset)<0?s.setStart(a.node,a.offset):s.setEnd(a.node,a.offset),s.deleteContents()}}if(n)if(r.endContainer.nodeType===3){let a=r.endOffset;r.endContainer.insertData(a,n),r.setStart(r.endContainer,a+n.length),r.setEnd(r.endContainer,a+n.length)}else{let a=t.ownerDocument.createTextNode(n);r.insertNode(a),r.setStart(a,n.length),r.setEnd(a,n.length)}(i||n)&&e.dispatchUIEvent(t,"input",{inputType:o})}function qx(e,t,r,n,o){let i=n;if(wm(t)){let u=Em(t);if(u!==void 0&&n.length>0){let c=r.endOffset-r.startOffset,d=u-t.value.length+c;if(d>0)i=n.substring(0,d);else return}}let{newValue:a,newOffset:s,oldValue:l}=Ax(i,t,r,o);a===l&&s===r.startOffset&&s===r.endOffset||q(t,"input",{type:"number"})&&!Mx(a)||(fm(t,a),we({focusNode:t,anchorOffset:s,focusOffset:s}),xm(t)?Vs(t,a)&&(Sm(e,t,s,{}),e.dispatchUIEvent(t,"change"),la(t)):Sm(e,t,s,{data:n,inputType:o}))}function Ax(e,t,{startOffset:r,endOffset:n},o){let i=Z(t),a=Math.max(0,r===n&&o==="deleteContentBackward"?r-1:r),s=i.substring(0,a),l=Math.min(i.length,r===n&&o==="deleteContentForward"?r+1:n),u=i.substring(l,i.length),c=`${s}${e}${u}`,d=a+e.length;if(q(t,"input",{type:"time"})){let m=hm(c);m!==""&&Vs(t,m)&&(c=m,d=m.length)}return{oldValue:i,newValue:c,newOffset:d}}function Sm(e,t,r,n){e.dispatchUIEvent(t,"input",n),Tm(t,r)}function Mx(e){var t,r;let n=e.split("e",2);return!(/[^\d.\-e]/.test(e)||Number((t=e.match(/-/g))===null||t===void 0?void 0:t.length)>2||Number((r=e.match(/\./g))===null||r===void 0?void 0:r.length)>1||n[1]&&!/^-?\d*$/.test(n[1]))}ie.cut=(e,t,r)=>()=>{ve(t)&&_e(r,t,"","deleteByCut")};function qm(e){return e?ce(e)?e.textContent:Z(e):null}function Am(e){let t=V(e);for(let r=e;r?.ownerDocument;r=r.parentElement){let{display:n,visibility:o}=t.getComputedStyle(r);if(n==="none"||o==="hidden")return!1}return!0}function Mm(e,t){let r=e.ownerDocument,n=r.querySelectorAll(Fr),o=Array.from(n).filter(l=>l===e||!(Number(l.getAttribute("tabindex"))<0||te(l)));Number(e.getAttribute("tabindex"))>=0&&o.sort((l,u)=>{let c=Number(l.getAttribute("tabindex")),d=Number(u.getAttribute("tabindex"));return c===d?0:c===0?1:d===0?-1:c-d});let i={},a=[r.body],s=q(e,"input",{type:"radio"})?e.name:void 0;o.forEach(l=>{let u=l;if(q(u,"input",{type:"radio"})&&u.name){if(u===e){a.push(u);return}else if(u.name===s)return;if(u.checked){a=a.filter(c=>!q(c,"input",{type:"radio",name:u.name})),a.push(u),i[u.name]=u;return}if(typeof i[u.name]<"u")return}a.push(u)});for(let l=a.findIndex(u=>u===e);;)if(l+=t?-1:1,l===a.length?l=0:l===-1&&(l=a.length-1),a[l]===e||a[l]===r.body||Am(a[l]))return a[l]}function zs(e,t){if(X(e)){let r=ke(e);we({focusNode:e,focusOffset:r.startOffset===r.endOffset?r.focusOffset+t:t<0?r.startOffset:r.endOffset})}else{let r=e.ownerDocument.getSelection();if(!r?.focusNode)return;if(r.isCollapsed){let n=pa(r.focusNode,r.focusOffset,t);n&&we({focusNode:n.node,focusOffset:n.offset})}else r[t<0?"collapseToStart":"collapseToEnd"]()}}function ma(e){var t;if(X(e))return we({focusNode:e,anchorOffset:0,focusOffset:Z(e).length});let r=(t=Be(e))!==null&&t!==void 0?t:e.ownerDocument.body;we({focusNode:r,anchorOffset:0,focusOffset:r.childNodes.length})}function km(e){var t;if(X(e))return ke(e).startOffset===0&&ke(e).endOffset===Z(e).length;let r=(t=Be(e))!==null&&t!==void 0?t:e.ownerDocument.body,n=e.ownerDocument.getSelection();return n?.anchorNode===r&&n.focusNode===r&&n.anchorOffset===0&&n.focusOffset===r.childNodes.length}function st(e,t,r){var n;if(X(e))return we({focusNode:e,anchorOffset:t,focusOffset:r});if(ce(e)&&((n=e.firstChild)===null||n===void 0?void 0:n.nodeType)===3)return we({focusNode:e.firstChild,anchorOffset:t,focusOffset:r});throw new Error("Not implemented. The result of this interaction is unreliable.")}function gr(e,t,r){let n=V(t),o=Array.from(t.ownerDocument.querySelectorAll(t.name?`input[type="radio"][name="${n.CSS.escape(t.name)}"]`:'input[type="radio"][name=""], input[type="radio"]:not([name])'));for(let i=o.findIndex(a=>a===t)+r;;i+=r){if(o[i]||(i=r>0?0:o.length-1),o[i]===t)return;if(!te(o[i])){se(o[i]),e.dispatchUIEvent(o[i],"click");return}}}ie.keydown=(e,t,r)=>{var n,o;return(n=(o=Om[e.key])===null||o===void 0?void 0:o.call(Om,e,t,r))!==null&&n!==void 0?n:kx(e,t,r)};var Om={ArrowDown:(e,t,r)=>{if(q(t,"input",{type:"radio"}))return()=>gr(r,t,1)},ArrowLeft:(e,t,r)=>q(t,"input",{type:"radio"})?()=>gr(r,t,-1):()=>zs(t,-1),ArrowRight:(e,t,r)=>q(t,"input",{type:"radio"})?()=>gr(r,t,1):()=>zs(t,1),ArrowUp:(e,t,r)=>{if(q(t,"input",{type:"radio"}))return()=>gr(r,t,-1)},Backspace:(e,t,r)=>{if(ve(t))return()=>{_e(r,t,"","deleteContentBackward")}},Delete:(e,t,r)=>{if(ve(t))return()=>{_e(r,t,"","deleteContentForward")}},End:(e,t)=>{if(q(t,["input","textarea"])||ce(t))return()=>{var r,n;let o=(r=(n=qm(t))===null||n===void 0?void 0:n.length)!==null&&r!==void 0?r:0;st(t,o,o)}},Home:(e,t)=>{if(q(t,["input","textarea"])||ce(t))return()=>{st(t,0,0)}},PageDown:(e,t)=>{if(q(t,["input"]))return()=>{let r=Z(t).length;st(t,r,r)}},PageUp:(e,t)=>{if(q(t,["input"]))return()=>{st(t,0,0)}},Tab:(e,t,r)=>()=>{let n=Mm(ht(r.config.document),r.system.keyboard.modifiers.Shift);se(n),X(n)&&Ee(n,{anchorOffset:0,focusOffset:n.value.length})}},kx=(e,t,r)=>{if(e.code==="KeyA"&&r.system.keyboard.modifiers.Control)return()=>ma(t)};ie.keypress=(e,t,r)=>{if(e.key==="Enter"){if(q(t,"button")||q(t,"input")&&Ox.includes(t.type)||q(t,"a")&&t.href)return()=>{r.dispatchUIEvent(t,"click")};if(q(t,"input")){let n=t.form,o=n?.querySelector('input[type="submit"], button:not([type]), button[type="submit"]');return o?()=>r.dispatchUIEvent(o,"click"):n&&Ix.includes(t.type)&&n.querySelectorAll("input").length===1?()=>r.dispatchUIEvent(n,"submit"):void 0}}if(ve(t)){let n=e.key==="Enter"?ce(t)&&!r.system.keyboard.modifiers.Shift?"insertParagraph":"insertLineBreak":"insertText",o=e.key==="Enter"?`
59
- `:e.key;return()=>_e(r,t,o,n)}};var Ox=["button","color","file","image","reset","submit"],Ix=["email","month","password","search","tel","text","url","week"];ie.keyup=(e,t,r)=>{var n;return(n=Im[e.key])===null||n===void 0?void 0:n.call(Im,e,t,r)};var Im={" ":(e,t,r)=>{if(Ur(t))return()=>r.dispatchUIEvent(t,"click")}};ie.paste=(e,t,r)=>{if(ve(t))return()=>{var n;let o=(n=e.clipboardData)===null||n===void 0?void 0:n.getData("text");o&&_e(r,t,o,"insertFromPaste")}};var Ks={auxclick:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},beforeinput:{EventType:"InputEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},blur:{EventType:"FocusEvent",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},click:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},contextmenu:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},copy:{EventType:"ClipboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},change:{EventType:"Event",defaultInit:{bubbles:!0,cancelable:!1}},cut:{EventType:"ClipboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},dblclick:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},focus:{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}},keydown:{EventType:"KeyboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},keypress:{EventType:"KeyboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},keyup:{EventType:"KeyboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},paste:{EventType:"ClipboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},input:{EventType:"InputEvent",defaultInit:{bubbles:!0,cancelable:!1,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}},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}},submit:{EventType:"Event",defaultInit:{bubbles:!0,cancelable:!0}}};function Nm(e){return Ks[e].EventType}var Nx=["MouseEvent","PointerEvent"];function Lm(e){return Nx.includes(Nm(e))}function Dm(e){return Nm(e)==="KeyboardEvent"}var Lx={ClipboardEvent:[Bx],Event:[],FocusEvent:[Er,Fx],InputEvent:[Er,Ux],MouseEvent:[Er,Gs,Bm],PointerEvent:[Er,Gs,Bm,jx],KeyboardEvent:[Er,Gs,$x]};function Xs(e,t,r){let n=V(t),{EventType:o,defaultInit:i}=Ks[e],a=new(Dx(n))[o](e,i);return Lx[o].forEach(s=>s(a,r??{})),a}function Dx(e){var t,r,n,o,i,a,s,l,u,c,d,m,y,P,C;let T=(t=e.Event)!==null&&t!==void 0?t:class{},f=(r=e.AnimationEvent)!==null&&r!==void 0?r:class extends T{},g=(n=e.ClipboardEvent)!==null&&n!==void 0?n:class extends T{},w=(o=e.PopStateEvent)!==null&&o!==void 0?o:class extends T{},h=(i=e.ProgressEvent)!==null&&i!==void 0?i:class extends T{},E=(a=e.TransitionEvent)!==null&&a!==void 0?a:class extends T{},A=(s=e.UIEvent)!==null&&s!==void 0?s:class extends T{},R=(l=e.CompositionEvent)!==null&&l!==void 0?l:class extends A{},H=(u=e.FocusEvent)!==null&&u!==void 0?u:class extends A{},F=(c=e.InputEvent)!==null&&c!==void 0?c:class extends A{},W=(d=e.KeyboardEvent)!==null&&d!==void 0?d:class extends A{},K=(m=e.MouseEvent)!==null&&m!==void 0?m:class extends A{},O=(y=e.DragEvent)!==null&&y!==void 0?y:class extends K{},G=(P=e.PointerEvent)!==null&&P!==void 0?P:class extends K{},Q=(C=e.TouchEvent)!==null&&C!==void 0?C:class extends A{};return{Event:T,AnimationEvent:f,ClipboardEvent:g,PopStateEvent:w,ProgressEvent:h,TransitionEvent:E,UIEvent:A,CompositionEvent:R,FocusEvent:H,InputEvent:F,KeyboardEvent:W,MouseEvent:K,DragEvent:O,PointerEvent:G,TouchEvent:Q}}function Ze(e,t){for(let[r,n]of Object.entries(t))Object.defineProperty(e,r,{get:()=>n??null})}function z(e){return Number(e??0)}function Bx(e,{clipboardData:t}){Ze(e,{clipboardData:t})}function Fx(e,{relatedTarget:t}){Ze(e,{relatedTarget:t})}function Ux(e,{data:t,inputType:r,isComposing:n}){Ze(e,{data:t,isComposing:!!n,inputType:String(r)})}function Er(e,{view:t,detail:r}){Ze(e,{view:t,detail:z(r??0)})}function Gs(e,{altKey:t,ctrlKey:r,metaKey:n,shiftKey:o,modifierAltGraph:i,modifierCapsLock:a,modifierFn:s,modifierFnLock:l,modifierNumLock:u,modifierScrollLock:c,modifierSymbol:d,modifierSymbolLock:m}){Ze(e,{altKey:!!t,ctrlKey:!!r,metaKey:!!n,shiftKey:!!o,getModifierState(y){return!!{Alt:t,AltGraph:i,CapsLock:a,Control:r,Fn:s,FnLock:l,Meta:n,NumLock:u,ScrollLock:c,Shift:o,Symbol:d,SymbolLock:m}[y]}})}function $x(e,{key:t,code:r,location:n,repeat:o,isComposing:i,charCode:a}){Ze(e,{key:String(t),code:String(r),location:z(n),repeat:!!o,isComposing:!!i,charCode:a})}function Bm(e,{x:t,y:r,screenX:n,screenY:o,clientX:i=t,clientY:a=r,button:s,buttons:l,relatedTarget:u,offsetX:c,offsetY:d,pageX:m,pageY:y}){Ze(e,{screenX:z(n),screenY:z(o),clientX:z(i),x:z(i),clientY:z(a),y:z(a),button:z(s),buttons:z(l),relatedTarget:u,offsetX:z(c),offsetY:z(d),pageX:z(m),pageY:z(y)})}function jx(e,{pointerId:t,width:r,height:n,pressure:o,tangentialPressure:i,tiltX:a,tiltY:s,twist:l,pointerType:u,isPrimary:c,buttons:d}){Ze(e,{pointerId:z(t),width:z(r??1),height:z(n??1),pressure:z(o??(d?.5:0)),tangentialPressure:z(i),tiltX:z(a),tiltY:z(s),twist:z(l),pointerType:String(u??""),isPrimary:!!c})}function Fm(e,t,r,n=!1){(Lm(t)||Dm(t))&&(r={...r,...this.system.getUIEventModifiers()});let o=Xs(t,e,r);return Ys.call(this,e,o,n)}function Ys(e,t,r=!1){var n;let o=t.type,i=r?()=>{}:(n=ie[o])===null||n===void 0?void 0:n.call(ie,t,e,this);if(i){t.preventDefault();let a=!1;return Object.defineProperty(t,"defaultPrevented",{get:()=>a}),Object.defineProperty(t,"preventDefault",{value:()=>{a=t.cancelable}}),Je(()=>e.dispatchEvent(t)),a||i(),!a}return Je(()=>e.dispatchEvent(t))}function Oe(e,t,r){let n=Xs(t,e,r);Je(()=>e.dispatchEvent(n))}var Um=Symbol("patched focus/blur methods");function Qs(e){if(e.prototype[Um])return;let{focus:t,blur:r}=e.prototype;Object.defineProperties(e.prototype,{focus:{configurable:!0,value:o,writable:!0},blur:{configurable:!0,value:i,writable:!0},[Um]:{configurable:!0,get:()=>({focus:t,blur:r})}});let n;function o(a){if(this.ownerDocument.visibilityState!=="hidden")return t.call(this,a);let s=$m(this.ownerDocument);if(s===this)return;let l=Symbol("focus call");n=l,s&&(r.call(s),Oe(s,"blur",{relatedTarget:this}),Oe(s,"focusout",{relatedTarget:n===l?this:null})),n===l&&(t.call(this,a),Oe(this,"focus",{relatedTarget:s})),n===l&&Oe(this,"focusin",{relatedTarget:s})}function i(){if(this.ownerDocument.visibilityState!=="hidden")return r.call(this);let a=$m(this.ownerDocument);if(a!==this)return;n=Symbol("blur call"),r.call(this),Oe(a,"blur",{relatedTarget:null}),Oe(a,"focusout",{relatedTarget:null})}}function $m(e){let t=De(e);return t?.tagName==="BODY"?null:t}var Js=Symbol("Interceptor for programmatical calls");function qt(e,t,r){let n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),o=Object.getOwnPropertyDescriptor(e,t),i=n?.set?"set":"value";if(typeof n?.[i]!="function"||n[i][Js])throw new Error(`Element ${e.tagName} does not implement "${String(t)}".`);function a(...s){let{applyNative:l=!1,realArgs:u,then:c}=r.call(this,...s),d=(!l&&o||n)[i];i==="set"?d.call(this,u):d.call(this,...u),c?.()}a[Js]=Js,Object.defineProperty(e,t,{...o??n,[i]:a})}function jm(e){qt(e,"value",function(r){let n=dm(r);return n&&Cm(this),{applyNative:!!n,realArgs:Hx(this,r),then:n?void 0:()=>Pm(this,String(r))}})}function Hx(e,t){return q(e,"input",{type:"number"})&&String(t)!==""&&!Number.isNaN(Number(t))?String(Number(t)):String(t)}function Hm(e){qt(e,"setSelectionRange",function(r,...n){let o=pm(r);return{applyNative:!!o,realArgs:[Number(r),...n],then:()=>o?void 0:yr(e)}}),qt(e,"selectionStart",function(r){return{realArgs:r,then:()=>yr(e)}}),qt(e,"selectionEnd",function(r){return{realArgs:r,then:()=>yr(e)}}),qt(e,"select",function(){return{realArgs:[],then:()=>bm(e,{anchorOffset:0,focusOffset:Z(e).length})}})}function Vm(e){qt(e,"setRangeText",function(...r){return{realArgs:r,then:()=>{vr(e),yr(e)}}})}var At=Symbol("Node prepared with document state workarounds");function Zs(e){e[At]||(e.addEventListener("focus",t=>{let r=t.target;Wm(r)},{capture:!0,passive:!0}),e.activeElement&&Wm(e.activeElement),e.addEventListener("blur",t=>{let r=t.target,n=mm(r);n!==void 0&&(r.value!==n&&Oe(r,"change"),la(r))},{capture:!0,passive:!0}),e[At]=At)}function Wm(e){e[At]||(q(e,["input","textarea"])&&(jm(e),Hm(e),Vm(e)),e[At]=At)}function zm(e){return Vx(e)?e:e.ownerDocument}function Vx(e){return e.nodeType===9}var re=(function(e){return e[e.Trigger=2]="Trigger",e[e.Call=1]="Call",e})({});function lt(e,t){e.levelRefs[t]={}}function wr(e,t){return e.levelRefs[t]}function Re(e){let t=e.delay;if(typeof t=="number")return Promise.all([new Promise(r=>globalThis.setTimeout(()=>r(),t)),e.advanceTimers(t)])}var ut=(function(e){return e[e.EachTrigger=4]="EachTrigger",e[e.EachApiCall=2]="EachApiCall",e[e.EachTarget=1]="EachTarget",e[e.Never=0]="Never",e})({});function ct(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Ce=(function(e){return e[e.STANDARD=0]="STANDARD",e[e.LEFT=1]="LEFT",e[e.RIGHT=2]="RIGHT",e[e.NUMPAD=3]="NUMPAD",e})({}),Wx=["Alt","AltGraph","Control","Fn","Meta","Shift","Symbol"];function Km(e){return Wx.includes(e)}var zx=["CapsLock","FnLock","NumLock","ScrollLock","SymbolLock"];function Gm(e){return zx.includes(e)}var ba=class{isKeyPressed(t){return this.pressed.has(String(t.code))}getPressedKeys(){return this.pressed.values().map(t=>t.keyDef)}async keydown(t,r,n=!1){let o=String(r.key),i=String(r.code),a=ht(t.config.document);this.setKeydownTarget(a),this.pressed.add(i,r),Km(o)&&(this.modifiers[o]=!0);let s=t.dispatchUIEvent(a,"keydown",{key:o,code:i,repeat:n});Gm(o)&&!this.modifiers[o]&&(this.modifiers[o]=!0,this.modifierLockStart[o]=!0),s&&this.pressed.setUnprevented(i),s&&this.hasKeyPress(o)&&t.dispatchUIEvent(ht(t.config.document),"keypress",{key:o,code:i,charCode:r.key==="Enter"?13:String(r.key).charCodeAt(0)})}async keyup(t,r){let n=String(r.key),o=String(r.code),i=this.pressed.isUnprevented(o);this.pressed.delete(o),Km(n)&&!this.pressed.values().find(a=>a.keyDef.key===n)&&(this.modifiers[n]=!1),t.dispatchUIEvent(ht(t.config.document),"keyup",{key:n,code:o},!i),Gm(n)&&this.modifiers[n]&&(this.modifierLockStart[n]?this.modifierLockStart[n]=!1:this.modifiers[n]=!1)}setKeydownTarget(t){t!==this.lastKeydownTarget&&(this.carryChar=""),this.lastKeydownTarget=t}hasKeyPress(t){return(t.length===1||t==="Enter")&&!this.modifiers.Control&&!this.modifiers.Alt}constructor(t){ct(this,"system",void 0),ct(this,"modifiers",{Alt:!1,AltGraph:!1,CapsLock:!1,Control:!1,Fn:!1,FnLock:!1,Meta:!1,NumLock:!1,ScrollLock:!1,Shift:!1,Symbol:!1,SymbolLock:!1}),ct(this,"pressed",new class{add(r,n){var o,i,a;(a=(o=this.registry)[i=r])!==null&&a!==void 0||(o[i]={keyDef:n,unpreventedDefault:!1})}has(r){return!!this.registry[r]}setUnprevented(r){let n=this.registry[r];n&&(n.unpreventedDefault=!0)}isUnprevented(r){var n;return!!(!((n=this.registry[r])===null||n===void 0)&&n.unpreventedDefault)}delete(r){delete this.registry[r]}values(){return Object.values(this.registry)}constructor(){ct(this,"registry",{})}}),ct(this,"carryChar",""),ct(this,"lastKeydownTarget",void 0),ct(this,"modifierLockStart",{}),this.system=t}};var Xm=[..."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:"BracketLeft",key:"["},{code:"BracketLeft",key:"{",shiftKey:!0},{code:"BracketRight",key:"]"},{code:"BracketRight",key:"}",shiftKey:!0},{code:"Space",key:" "},{code:"AltLeft",key:"Alt",location:Ce.LEFT},{code:"AltRight",key:"Alt",location:Ce.RIGHT},{code:"ShiftLeft",key:"Shift",location:Ce.LEFT},{code:"ShiftRight",key:"Shift",location:Ce.RIGHT},{code:"ControlLeft",key:"Control",location:Ce.LEFT},{code:"ControlRight",key:"Control",location:Ce.RIGHT},{code:"MetaLeft",key:"Meta",location:Ce.LEFT},{code:"MetaRight",key:"Meta",location:Ce.RIGHT},{code:"OSLeft",key:"OS",location:Ce.LEFT},{code:"OSRight",key:"OS",location:Ce.RIGHT},{code:"ContextMenu",key:"ContextMenu"},{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"}];var Ym=[{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"}];function Kx(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Mt=class{getButtons(){let t=0;for(let r of Object.keys(this.pressed))t|=2**Number(r);return t}down(t){let r=el(t.button);if(r in this.pressed){this.pressed[r].push(t);return}return this.pressed[r]=[t],r}up(t){let r=el(t.button);if(r in this.pressed&&(this.pressed[r]=this.pressed[r].filter(n=>n.name!==t.name),this.pressed[r].length===0))return delete this.pressed[r],r}constructor(){Kx(this,"pressed",{})}},Qm={primary:0,secondary:1,auxiliary:2,back:3,X1:3,forward:4,X2:4};function el(e=0){return e in Qm?Qm[e]:Number(e)}var Jm={1:2,2:1};function _r(e){return e=el(e),e in Jm?Jm[e]:e}function Gx(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var va=class{get countPressed(){return this.pressedKeys.size}isPressed(t){return this.pressedKeys.has(t.name)}addPressed(t){return this.pressedKeys.add(t.name)}removePressed(t){return this.pressedKeys.delete(t.name)}constructor(){Gx(this,"pressedKeys",new Set)}};function dt(e,t){let r=[];for(let i=e;i;i=i.parentElement)r.push(i);let n=[];for(let i=t;i;i=i.parentElement)n.push(i);let o=0;for(;!(o>=r.length||o>=n.length||r[r.length-1-o]!==n[n.length-1-o]);o++);return[r.slice(0,r.length-o),n.slice(0,n.length-o),n.slice(n.length-o)]}function Cr({target:e,node:t,offset:r}){return X(e)?{node:e,offset:r??Z(e).length}:t?{node:t,offset:r??(t.nodeType===3?t.nodeValue.length:t.childNodes.length)}:Zm(e,r)}function Zm(e,t,r=!0){let n=t===void 0?e.childNodes.length-1:0,o=t===void 0?-1:1;for(;t===void 0?n>=(r?Math.max(e.childNodes.length-1,0):0):n<=e.childNodes.length;){if(t&&n===e.childNodes.length)throw new Error("The given offset is out of bounds.");let i=e.childNodes.item(n),a=String(i.textContent);if(a.length)if(t!==void 0&&a.length<t)t-=a.length;else{if(i.nodeType===1)return Zm(i,t,!1);if(i.nodeType===3)return{node:i,offset:t??i.nodeValue.length}}n+=o}return{node:e,offset:e.childNodes.length}}function eb({document:e,target:t,clickCount:r,node:n,offset:o}){if(zl(t))return;let i=X(t),a=String(i?Z(t):t.textContent),[s,l]=n?[o,o]:Xx(a,o,r);if(i)return Ee(t,{anchorOffset:s??a.length,focusOffset:l??a.length}),{node:t,start:s??0,end:l??a.length};{let{node:u,offset:c}=Cr({target:t,node:n,offset:s}),{node:d,offset:m}=Cr({target:t,node:n,offset:l}),y=t.ownerDocument.createRange();try{y.setStart(u,c),y.setEnd(d,m)}catch{throw new Error("The given offset is out of bounds.")}let P=e.getSelection();return P?.removeAllRanges(),P?.addRange(y.cloneRange()),y}}function Xx(e,t,r){if(r%3===1||e.length===0)return[t,t];let n=t??e.length;return r%3===2?[n-e.substr(0,t).match(/(\w+|\s+|\W)?$/)[0].length,t===void 0?t:t+e.substr(t).match(/^(\w+|\s+|\W)?/)[0].length]:[n-e.substr(0,t).match(/[^\r\n]*$/)[0].length,t===void 0?t:t+e.substr(t).match(/^[^\r\n]*/)[0].length]}function tb(e,{document:t,target:r,node:n,offset:o}){let i=Cr({target:r,node:n,offset:o});if("node"in e){if(i.node===e.node){let a=i.offset<e.start?e.end:e.start,s=i.offset>e.end||i.offset<e.start?i.offset:e.end;Ee(e.node,{anchorOffset:a,focusOffset:s})}}else{let a=e.cloneRange(),s=a.comparePoint(i.node,i.offset);s<0?a.setStart(i.node,i.offset):s>0&&a.setEnd(i.node,i.offset);let l=t.getSelection();l?.removeAllRanges(),l?.addRange(a.cloneRange())}}function ya(e,t){var r,n,o,i,a,s,l,u,c,d,m,y,P,C,T,f,g,w,h,E,A,R,H,F;return e.target!==t.target||((r=e.coords)===null||r===void 0?void 0:r.x)!==((n=t.coords)===null||n===void 0?void 0:n.x)||((o=e.coords)===null||o===void 0?void 0:o.y)!==((i=t.coords)===null||i===void 0?void 0:i.y)||((a=e.coords)===null||a===void 0?void 0:a.clientX)!==((s=t.coords)===null||s===void 0?void 0:s.clientX)||((l=e.coords)===null||l===void 0?void 0:l.clientY)!==((u=t.coords)===null||u===void 0?void 0:u.clientY)||((c=e.coords)===null||c===void 0?void 0:c.offsetX)!==((d=t.coords)===null||d===void 0?void 0:d.offsetX)||((m=e.coords)===null||m===void 0?void 0:m.offsetY)!==((y=t.coords)===null||y===void 0?void 0:y.offsetY)||((P=e.coords)===null||P===void 0?void 0:P.pageX)!==((C=t.coords)===null||C===void 0?void 0:C.pageX)||((T=e.coords)===null||T===void 0?void 0:T.pageY)!==((f=t.coords)===null||f===void 0?void 0:f.pageY)||((g=e.coords)===null||g===void 0?void 0:g.screenX)!==((w=t.coords)===null||w===void 0?void 0:w.screenX)||((h=e.coords)===null||h===void 0?void 0:h.screenY)!==((E=t.coords)===null||E===void 0?void 0:E.screenY)||((A=e.caret)===null||A===void 0?void 0:A.node)!==((R=t.caret)===null||R===void 0?void 0:R.node)||((H=e.caret)===null||H===void 0?void 0:H.offset)!==((F=t.caret)===null||F===void 0?void 0:F.offset)}function pt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var ha=class{move(t,r,n){let o=this.position,i=this.getTarget(t);if(this.position=r,!ya(o,r))return;let a=this.getTarget(t),s=this.getEventInit("mousemove"),[l,u]=dt(i,a);return{leave:()=>{i!==a&&(t.dispatchUIEvent(i,"mouseout",s),l.forEach(c=>t.dispatchUIEvent(c,"mouseleave",s)))},enter:()=>{i!==a&&(t.dispatchUIEvent(a,"mouseover",s),u.forEach(c=>t.dispatchUIEvent(c,"mouseenter",s)))},move:()=>{n||(t.dispatchUIEvent(a,"mousemove",s),this.modifySelecting(t))}}}down(t,r,n){let o=this.buttons.down(r);if(o===void 0)return;let i=this.getTarget(t);this.buttonDownTarget[o]=i;let a=this.getEventInit("mousedown",r.button),s=te(i);!n&&(s||t.dispatchUIEvent(i,"mousedown",a))&&(this.startSelecting(t,a.detail),se(i)),!s&&_r(r.button)===2&&t.dispatchUIEvent(i,"contextmenu",this.getEventInit("contextmenu",r.button))}up(t,r,n){let o=this.buttons.up(r);if(o===void 0)return;let i=this.getTarget(t);if(!te(i)){if(!n){let s=this.getEventInit("mouseup",r.button);t.dispatchUIEvent(i,"mouseup",s),this.endSelecting()}let a=dt(this.buttonDownTarget[o],i)[2][0];if(a){let s=this.getEventInit("click",r.button);s.detail&&(t.dispatchUIEvent(a,s.button===0?"click":"auxclick",s),s.button===0&&s.detail===2&&t.dispatchUIEvent(a,"dblclick",{...this.getEventInit("dblclick",r.button),detail:s.detail}))}}}resetClickCount(){this.clickCount.reset()}getEventInit(t,r){let n={...this.position.coords};return n.button=_r(r),n.buttons=this.buttons.getButtons(),t==="mousedown"?n.detail=this.clickCount.getOnDown(n.button):t==="mouseup"?n.detail=this.clickCount.getOnUp(n.button):(t==="click"||t==="auxclick")&&(n.detail=this.clickCount.incOnClick(n.button)),n}getTarget(t){var r;return(r=this.position.target)!==null&&r!==void 0?r:t.config.document.body}startSelecting(t,r){var n,o;this.selecting=eb({document:t.config.document,target:this.getTarget(t),node:(n=this.position.caret)===null||n===void 0?void 0:n.node,offset:(o=this.position.caret)===null||o===void 0?void 0:o.offset,clickCount:r})}modifySelecting(t){var r,n;this.selecting&&tb(this.selecting,{document:t.config.document,target:this.getTarget(t),node:(r=this.position.caret)===null||r===void 0?void 0:r.node,offset:(n=this.position.caret)===null||n===void 0?void 0:n.offset})}endSelecting(){this.selecting=void 0}constructor(){pt(this,"position",{}),pt(this,"buttons",new Mt),pt(this,"selecting",void 0),pt(this,"buttonDownTarget",{}),pt(this,"clickCount",new class{incOnClick(t){let r=this.down[t]===void 0?void 0:Number(this.down[t])+1;return this.count=this.count[t]===void 0?{}:{[t]:Number(this.count[t])+1},r}getOnDown(t){var r,n;return this.down={[t]:(r=this.count[t])!==null&&r!==void 0?r:0},this.count={[t]:(n=this.count[t])!==null&&n!==void 0?n:0},Number(this.count[t])+1}getOnUp(t){return this.down[t]===void 0?void 0:Number(this.down[t])+1}reset(){this.count={}}constructor(){pt(this,"down",{}),pt(this,"count",{})}})}};function kt(e,t){var r;return((r=ob(e,t))===null||r===void 0?void 0:r.pointerEvents)!=="none"}function Yx(e){let t=V(e);for(let r=e,n=[];r?.ownerDocument;r=r.parentElement){n.push(r);let o=t.getComputedStyle(r).pointerEvents;if(o&&!["inherit","unset"].includes(o))return{pointerEvents:o,tree:n}}}var rb=Symbol("Last check for pointer-events");function ob(e,t){let r=t[rb];if(!(e.config.pointerEventsCheck!==ut.Never&&(!r||nb(e.config.pointerEventsCheck,ut.EachApiCall)&&r[re.Call]!==wr(e,re.Call)||nb(e.config.pointerEventsCheck,ut.EachTrigger)&&r[re.Trigger]!==wr(e,re.Trigger))))return r?.result;let o=Yx(t);return t[rb]={[re.Call]:wr(e,re.Call),[re.Trigger]:wr(e,re.Trigger),result:o},o}function ft(e,t){let r=ob(e,t);if(r?.pointerEvents==="none")throw new Error([`Unable to perform pointer interaction as the element ${r.tree.length>1?"inherits":"has"} \`pointer-events: none\`:`,"",Qx(r.tree)].join(`
60
- `))}function Qx(e){return e.reverse().map((t,r)=>["".padEnd(r),t.tagName,t.id&&`#${t.id}`,t.hasAttribute("data-testid")&&`(testId=${t.getAttribute("data-testid")})`,Jx(t),e.length>1&&r===0&&" <-- This element declared `pointer-events: none`",e.length>1&&r===e.length-1&&" <-- Asserted pointer events here"].filter(Boolean).join("")).join(`
61
- `)}function Jx(e){var t;let r;if(e.hasAttribute("aria-label"))r=e.getAttribute("aria-label");else if(e.hasAttribute("aria-labelledby")){var n,o;r=(o=e.ownerDocument.getElementById(e.getAttribute("aria-labelledby")))===null||o===void 0||(n=o.textContent)===null||n===void 0?void 0:n.trim()}else if(q(e,["button","input","meter","output","progress","select","textarea"])&&(!((t=e.labels)===null||t===void 0)&&t.length))r=Array.from(e.labels).map(a=>{var s;return(s=a.textContent)===null||s===void 0?void 0:s.trim()}).join("|");else if(q(e,"button")){var i;r=(i=e.textContent)===null||i===void 0?void 0:i.trim()}return r=r?.replace(/\n/g," "),Number(r?.length)>30&&(r=`${r?.substring(0,29)}\u2026`),r?`(label=${r})`:""}function nb(e,t){return(e&t)>0}function Ie(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var ga=class{init(t){let r=this.getTarget(t),[,n]=dt(null,r),o=this.getEventInit();return ft(t,r),t.dispatchUIEvent(r,"pointerover",o),n.forEach(i=>t.dispatchUIEvent(i,"pointerenter",o)),this}move(t,r){let n=this.position,o=this.getTarget(t);if(this.position=r,!ya(n,r))return;let i=this.getTarget(t),a=this.getEventInit(-1),[s,l]=dt(o,i);return{leave:()=>{kt(t,o)&&o!==i&&(t.dispatchUIEvent(o,"pointerout",a),s.forEach(u=>t.dispatchUIEvent(u,"pointerleave",a)))},enter:()=>{ft(t,i),o!==i&&(t.dispatchUIEvent(i,"pointerover",a),l.forEach(u=>t.dispatchUIEvent(u,"pointerenter",a)))},move:()=>{t.dispatchUIEvent(i,"pointermove",a)}}}down(t,r=0){if(this.isDown)return;let n=this.getTarget(t);ft(t,n),this.isDown=!0,this.isPrevented=!t.dispatchUIEvent(n,"pointerdown",this.getEventInit(r))}up(t,r=0){if(!this.isDown)return;let n=this.getTarget(t);ft(t,n),this.isPrevented=!1,this.isDown=!1,t.dispatchUIEvent(n,"pointerup",this.getEventInit(r))}release(t){let r=this.getTarget(t),[n]=dt(r,null),o=this.getEventInit();kt(t,r)&&(t.dispatchUIEvent(r,"pointerout",o),n.forEach(i=>t.dispatchUIEvent(i,"pointerleave",o))),this.isCancelled=!0}getTarget(t){var r;return(r=this.position.target)!==null&&r!==void 0?r:t.config.document.body}getEventInit(t){return{...this.position.coords,pointerId:this.pointerId,pointerType:this.pointerType,isPrimary:this.isPrimary,button:_r(t),buttons:this.buttons.getButtons()}}constructor({pointerId:t,pointerType:r,isPrimary:n},o){Ie(this,"pointerId",void 0),Ie(this,"pointerType",void 0),Ie(this,"isPrimary",void 0),Ie(this,"buttons",void 0),Ie(this,"isMultitouch",!1),Ie(this,"isCancelled",!1),Ie(this,"isDown",!1),Ie(this,"isPrevented",!1),Ie(this,"position",{}),this.pointerId=t,this.pointerType=r,this.isPrimary=n,this.isMultitouch=!n,this.buttons=o}};function et(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Ea=class{isKeyPressed(t){return this.devices.get(t.pointerType).isPressed(t)}async press(t,r,n){this.devices.get(r.pointerType).addPressed(r),this.buttons.down(r);let o=this.getPointerName(r),i=r.pointerType==="touch"?this.pointers.new(o,r.pointerType,this.buttons):this.pointers.get(o);i.position=n,i.pointerType!=="touch"&&(this.mouse.position=n),i.pointerType==="touch"&&i.init(t),i.down(t,r.button),i.pointerType!=="touch"&&this.mouse.down(t,r,i.isPrevented)}async move(t,r,n){let o=this.pointers.get(r),i=o.move(t,n),a=o.pointerType==="touch"?void 0:this.mouse.move(t,n,o.isPrevented);i?.leave(),a?.leave(),i?.enter(),a?.enter(),i?.move(),a?.move()}async release(t,r,n){let o=this.devices.get(r.pointerType);o.removePressed(r),this.buttons.up(r);let i=this.pointers.get(this.getPointerName(r)),a=i.isPrevented;if(i.position=n,i.pointerType!=="touch"&&(this.mouse.position=n),o.countPressed===0&&i.up(t,r.button),i.pointerType==="touch"&&i.release(t),i.pointerType==="touch"&&!i.isMultitouch){let s=this.mouse.move(t,n,a);s?.leave(),s?.enter(),s?.move(),this.mouse.down(t,r,a)}if(!i.isMultitouch){let s=this.mouse.move(t,n,a);s?.leave(),s?.enter(),s?.move(),this.mouse.up(t,r,a)}}getPointerName(t){return t.pointerType==="touch"?t.name:t.pointerType}getPreviousPosition(t){return this.pointers.has(t)?this.pointers.get(t).position:void 0}resetClickCount(){this.mouse.resetClickCount()}getMouseTarget(t){var r;return(r=this.mouse.position.target)!==null&&r!==void 0?r:t.config.document.body}setMousePosition(t){this.mouse.position=t,this.pointers.get("mouse").position=t}constructor(t){et(this,"system",void 0),et(this,"mouse",void 0),et(this,"buttons",void 0),et(this,"devices",new class{get(r){var n,o,i;return(i=(n=this.registry)[o=r])!==null&&i!==void 0?i:n[o]=new va}constructor(){et(this,"registry",{})}}),et(this,"pointers",new class{new(r,n,o){let i=n!=="touch"||!Object.values(this.registry).some(a=>a.pointerType==="touch"&&!a.isCancelled);return i||Object.values(this.registry).forEach(a=>{a.pointerType===n&&!a.isCancelled&&(a.isMultitouch=!0)}),this.registry[r]=new ga({pointerId:this.nextId++,pointerType:n,isPrimary:i},o),this.registry[r]}get(r){if(!this.has(r))throw new Error(`Trying to access pointer "${r}" which does not exist.`);return this.registry[r]}has(r){return r in this.registry}constructor(){et(this,"registry",{}),et(this,"nextId",1)}}),this.system=t,this.buttons=new Mt,this.mouse=new ha,this.pointers.new("mouse","mouse",this.buttons)}};function ib(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Pr=class{getUIEventModifiers(){return{altKey:this.keyboard.modifiers.Alt,ctrlKey:this.keyboard.modifiers.Control,metaKey:this.keyboard.modifiers.Meta,shiftKey:this.keyboard.modifiers.Shift,modifierAltGraph:this.keyboard.modifiers.AltGraph,modifierCapsLock:this.keyboard.modifiers.CapsLock,modifierFn:this.keyboard.modifiers.Fn,modifierFnLock:this.keyboard.modifiers.FnLock,modifierNumLock:this.keyboard.modifiers.NumLock,modifierScrollLock:this.keyboard.modifiers.ScrollLock,modifierSymbol:this.keyboard.modifiers.Symbol,modifierSymbolLock:this.keyboard.modifiers.SymbolLock}}constructor(){ib(this,"keyboard",new ba(this)),ib(this,"pointer",new Ea(this))}};async function ab(e){let t=[];return this.config.skipHover||t.push({target:e}),t.push({keys:"[MouseLeft]",target:e}),this.pointer(t)}async function sb(e){return this.pointer([{target:e},"[MouseLeft][MouseLeft]"])}async function lb(e){return this.pointer([{target:e},"[MouseLeft][MouseLeft][MouseLeft]"])}async function ub(e){return this.pointer({target:e})}async function cb(e){return ft(this,this.system.pointer.getMouseTarget(this)),this.pointer({target:e.ownerDocument.body})}async function db({shift:e}={}){return this.keyboard(e===!0?"{Shift>}{Tab}{/Shift}":e===!1?"[/ShiftLeft][/ShiftRight]{Tab}":"{Tab}")}var pb={"{":"}","[":"]"};function wa(e,t){let r=0,n=e[r]in pb?e[r]:"";r+=n.length;let i=new RegExp(`^\\${n}{2}`).test(e)?"":n;return{type:i,...i===""?Zx(e,r,t):eq(e,r,i,t)}}function Zx(e,t,r){let n=e[t];return fb(n,e,t,r),t+=n.length,{consumedLength:t,descriptor:n,releasePrevious:!1,releaseSelf:!0,repeat:1}}function eq(e,t,r,n){var o,i,a;let s=e[t]==="/"?"/":"";t+=s.length;let l=r==="{"&&e[t]==="\\";t+=Number(l);let u=l?e[t]:(i=e.slice(t).match(r==="{"?/^\w+|^[^}>/]/:/^\w+/))===null||i===void 0?void 0:i[0];fb(u,e,t,n),t+=u.length;let c=(o=(a=e.slice(t).match(/^>\d+/))===null||a===void 0?void 0:a[0])!==null&&o!==void 0?o:"";t+=c.length;let d=e[t]==="/"||!c&&e[t]===">"?e[t]:"";t+=d.length;let m=pb[r],y=e[t]===m?m:"";if(!y)throw new Error(mb([!c&&"repeat modifier",!d&&"release modifier",`"${m}"`].filter(Boolean).join(" or "),e[t],e,n));return t+=y.length,{consumedLength:t,descriptor:u,releasePrevious:!!s,repeat:c?Math.max(Number(c.substr(1)),1):1,releaseSelf:tq(d,c)}}function fb(e,t,r,n){if(!e)throw new Error(mb("key descriptor",t[r],t,n))}function tq(e,t){if(e)return e==="/";if(t)return!1}function mb(e,t,r,n){return`Expected ${e} but found "${t??""}" in "${r}"
58
+ `+t),t},Hf={debug:Cx,logTestingPlaygroundURL:Tx},JI=typeof document<"u"&&document.body?vx(document.body,Bs,Hf):Object.keys(Bs).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),Hf);function Qe(e,t){return N().eventWrapper(e)}function se(e){let t=Wl(e,jt),r=De(e.ownerDocument);(t??e.ownerDocument.body)!==r&&(t?Qe(()=>t.focus()):Qe(()=>r?.blur()),Jl(t??e.ownerDocument.body))}function pm(e){!jt(e)||!(De(e.ownerDocument)===e)||Qe(()=>e.blur())}var ie={};ie.click=(e,t,r)=>{let n=t.closest("button,input,label,select,textarea"),o=n&&q(n,"label")&&n.control;if(o&&o!==t)return()=>{jt(o)&&(se(o),r.dispatchEvent(o,Vl(e)))};if(q(t,"input",{type:"file"}))return()=>{pm(t),t.dispatchEvent(new(V(t)).Event("fileDialog")),se(t)}};var At=Symbol("Displayed value in UI"),Me=Symbol("Displayed selection in UI"),la=Symbol("Initial value to compare on blur");function fm(e){return typeof e=="object"&&At in e}function mm(e){return!!e&&typeof e=="object"&&Me in e}function bm(e,t){e[la]===void 0&&(e[la]=e.value),e[At]=t,e.value=Object.assign(new String(t),{[At]:!0})}function Z(e){return e[At]===void 0?e.value:String(e[At])}function hr(e){e[At]=void 0}function ua(e){e[la]=void 0}function vm(e){return e[la]}function ym(e,t){e[Me]=t}function Ee(e,{focusOffset:t,anchorOffset:r=t},n="replace"){let o=Z(e).length,i=d=>Math.max(0,Math.min(o,d)),a=n==="replace"||e[Me]===void 0?i(r):e[Me].anchorOffset,s=i(t),l=Math.min(a,s),u=Math.max(a,s);if(e[Me]={anchorOffset:a,focusOffset:s},e.selectionStart===l&&e.selectionEnd===u)return;let c=Object.assign(new Number(l),{[Me]:!0});try{e.setSelectionRange(c,u)}catch{}}function ke(e){var t,r,n;let o=(t=e[Me])!==null&&t!==void 0?t:{anchorOffset:(r=e.selectionStart)!==null&&r!==void 0?r:0,focusOffset:(n=e.selectionEnd)!==null&&n!==void 0?n:0};return{...o,startOffset:Math.min(o.anchorOffset,o.focusOffset),endOffset:Math.max(o.anchorOffset,o.focusOffset)}}function hm(e){return!!e[Me]}function gr(e){e[Me]=void 0}var ca=globalThis.parseInt;function Em(e){let t=e.replace(/\D/g,"");if(t.length<2)return e;let r=ca(t[0],10),n=ca(t[1],10);if(r>=3||r===2&&n>=4){let o;return r>=3?o=1:o=2,gm(t,o)}return e.length===2?e:gm(t,2)}function gm(e,t){let r=e.slice(0,t),n=Math.min(ca(r,10),23),o=e.slice(t),i=ca(o,10),a=Math.min(i,59);return`${n.toString().padStart(2,"0")}:${a.toString().padStart(2,"0")}`}function Ws(e,t){let r=e.cloneNode();return r.value=t,r.value===t}var wm=(function(e){return e.email="email",e.password="password",e.search="search",e.telephone="telephone",e.text="text",e.url="url",e})(wm||{});function _m(e){var t;let r=(t=e.getAttribute("maxlength"))!==null&&t!==void 0?t:"";return/^\d+$/.test(r)&&Number(r)>=0?Number(r):void 0}function Cm(e){return q(e,"textarea")||q(e,"input")&&e.type in wm}function fa(e,t,r,n){if(pa(e)&&t+r>=0&&t+r<=e.nodeValue.length)return{node:e,offset:t+r};let o=Tm(e,t,r);if(o){if(pa(o))return{node:o,offset:r>0?Math.min(1,o.nodeValue.length):Math.max(o.nodeValue.length-1,0)};if(q(o,"br")){let i=Tm(o,void 0,r);return i?pa(i)?{node:i,offset:r>0?0:i.nodeValue.length}:r<0&&q(i,"br")?{node:o.parentNode,offset:da(o)}:{node:i.parentNode,offset:da(i)+(r>0?0:1)}:r<0&&n==="deleteContentBackward"?{node:o.parentNode,offset:da(o)}:void 0}else return{node:o.parentNode,offset:da(o)+(r>0?1:0)}}}function Tm(e,t,r){let n=Number(t)+(r<0?-1:0);return t!==void 0&&zs(e)&&n>=0&&n<e.children.length&&(e=e.children[n]),Rx(e,r===1?"next":"previous",Px)}function Px(e){if(pa(e))return!0;if(zs(e)){if(q(e,["input","textarea"]))return e.type!=="hidden";if(q(e,"br"))return!0}return!1}function da(e){let t=0;for(;e.previousSibling;)t++,e=e.previousSibling;return t}function zs(e){return e.nodeType===1}function pa(e){return e.nodeType===3}function Rx(e,t,r){for(;;){var n;let o=e[`${t}Sibling`];if(o){if(e=Sx(o,t==="next"?"first":"last"),r(e))return e}else if(e.parentNode&&(!zs(e.parentNode)||!ce(e.parentNode)&&e.parentNode!==((n=e.ownerDocument)===null||n===void 0?void 0:n.body)))e=e.parentNode;else break}}function Sx(e,t){for(;e.hasChildNodes();)e=e[`${t}Child`];return e}var Er=Symbol("Track programmatic changes for React workaround");function xx(e){return Object.getOwnPropertyNames(e).some(t=>t.startsWith("__react"))&&V(e).REACT_VERSION===17}function Pm(e){xx(e)&&(e[Er]={previousValue:String(e.value),tracked:[]})}function Rm(e,t){var r,n;(n=e[Er])===null||n===void 0||(r=n.tracked)===null||r===void 0||r.push(t),e[Er]||(hr(e),Ee(e,{focusOffset:t.length}))}function Sm(e,t){var r;let n=e[Er];if(e[Er]=void 0,!(!(n==null||(r=n.tracked)===null||r===void 0)&&r.length))return;let o=n.tracked.length===2&&n.tracked[0]===n.previousValue&&n.tracked[1]===e.value;o||hr(e),hm(e)&&Ee(e,{focusOffset:o?t:e.value.length})}function ma(e){let t=qx(e);if(t&&X(t))return{type:"input",selection:ke(t)};let r=t?.ownerDocument.getSelection();return{type:Be(e)&&r?.anchorNode&&Be(r.anchorNode)?"contenteditable":"default",selection:r}}function qx(e){return e.nodeType===1?e:e.parentElement}function xm(e){let t=ma(e);if(t.type==="input")return t.selection;if(t.type==="contenteditable"){var r;return(r=t.selection)===null||r===void 0?void 0:r.getRangeAt(0)}}function we({focusNode:e,focusOffset:t,anchorNode:r=e,anchorOffset:n=t}){var o,i;if(ma(e).type==="input")return Ee(e,{anchorOffset:n,focusOffset:t});(i=r.ownerDocument)===null||i===void 0||(o=i.getSelection())===null||o===void 0||o.setBaseAndExtent(r,n,e,t)}function Am(e){return q(e,"input")&&["date","time"].includes(e.type)}function _e(e,t,r,n="insertText"){let o=xm(t);o&&(!Am(t)&&!e.dispatchUIEvent(t,"beforeinput",{inputType:n,data:r})||("startContainer"in o?Ax(e,t,o,r,n):Mx(e,t,o,r,n)))}function Ax(e,t,r,n,o){let i=!1;if(!r.collapsed)i=!0,r.deleteContents();else if(["deleteContentBackward","deleteContentForward"].includes(o)){let a=fa(r.startContainer,r.startOffset,o==="deleteContentBackward"?-1:1,o);if(a){i=!0;let s=r.cloneRange();s.comparePoint(a.node,a.offset)<0?s.setStart(a.node,a.offset):s.setEnd(a.node,a.offset),s.deleteContents()}}if(n)if(r.endContainer.nodeType===3){let a=r.endOffset;r.endContainer.insertData(a,n),r.setStart(r.endContainer,a+n.length),r.setEnd(r.endContainer,a+n.length)}else{let a=t.ownerDocument.createTextNode(n);r.insertNode(a),r.setStart(a,n.length),r.setEnd(a,n.length)}(i||n)&&e.dispatchUIEvent(t,"input",{inputType:o})}function Mx(e,t,r,n,o){let i=n;if(Cm(t)){let u=_m(t);if(u!==void 0&&n.length>0){let c=r.endOffset-r.startOffset,d=u-t.value.length+c;if(d>0)i=n.substring(0,d);else return}}let{newValue:a,newOffset:s,oldValue:l}=kx(i,t,r,o);a===l&&s===r.startOffset&&s===r.endOffset||q(t,"input",{type:"number"})&&!Ox(a)||(bm(t,a),we({focusNode:t,anchorOffset:s,focusOffset:s}),Am(t)?Ws(t,a)&&(qm(e,t,s,{}),e.dispatchUIEvent(t,"change"),ua(t)):qm(e,t,s,{data:n,inputType:o}))}function kx(e,t,{startOffset:r,endOffset:n},o){let i=Z(t),a=Math.max(0,r===n&&o==="deleteContentBackward"?r-1:r),s=i.substring(0,a),l=Math.min(i.length,r===n&&o==="deleteContentForward"?r+1:n),u=i.substring(l,i.length),c=`${s}${e}${u}`,d=a+e.length;if(q(t,"input",{type:"time"})){let m=Em(c);m!==""&&Ws(t,m)&&(c=m,d=m.length)}return{oldValue:i,newValue:c,newOffset:d}}function qm(e,t,r,n){e.dispatchUIEvent(t,"input",n),Sm(t,r)}function Ox(e){var t,r;let n=e.split("e",2);return!(/[^\d.\-e]/.test(e)||Number((t=e.match(/-/g))===null||t===void 0?void 0:t.length)>2||Number((r=e.match(/\./g))===null||r===void 0?void 0:r.length)>1||n[1]&&!/^-?\d*$/.test(n[1]))}ie.cut=(e,t,r)=>()=>{ve(t)&&_e(r,t,"","deleteByCut")};function Mm(e){return e?ce(e)?e.textContent:Z(e):null}function km(e){let t=V(e);for(let r=e;r?.ownerDocument;r=r.parentElement){let{display:n,visibility:o}=t.getComputedStyle(r);if(n==="none"||o==="hidden")return!1}return!0}function Om(e,t){let r=e.ownerDocument,n=r.querySelectorAll(Ur),o=Array.from(n).filter(l=>l===e||!(Number(l.getAttribute("tabindex"))<0||te(l)));Number(e.getAttribute("tabindex"))>=0&&o.sort((l,u)=>{let c=Number(l.getAttribute("tabindex")),d=Number(u.getAttribute("tabindex"));return c===d?0:c===0?1:d===0?-1:c-d});let i={},a=[r.body],s=q(e,"input",{type:"radio"})?e.name:void 0;o.forEach(l=>{let u=l;if(q(u,"input",{type:"radio"})&&u.name){if(u===e){a.push(u);return}else if(u.name===s)return;if(u.checked){a=a.filter(c=>!q(c,"input",{type:"radio",name:u.name})),a.push(u),i[u.name]=u;return}if(typeof i[u.name]<"u")return}a.push(u)});for(let l=a.findIndex(u=>u===e);;)if(l+=t?-1:1,l===a.length?l=0:l===-1&&(l=a.length-1),a[l]===e||a[l]===r.body||km(a[l]))return a[l]}function Ks(e,t){if(X(e)){let r=ke(e);we({focusNode:e,focusOffset:r.startOffset===r.endOffset?r.focusOffset+t:t<0?r.startOffset:r.endOffset})}else{let r=e.ownerDocument.getSelection();if(!r?.focusNode)return;if(r.isCollapsed){let n=fa(r.focusNode,r.focusOffset,t);n&&we({focusNode:n.node,focusOffset:n.offset})}else r[t<0?"collapseToStart":"collapseToEnd"]()}}function ba(e){var t;if(X(e))return we({focusNode:e,anchorOffset:0,focusOffset:Z(e).length});let r=(t=Be(e))!==null&&t!==void 0?t:e.ownerDocument.body;we({focusNode:r,anchorOffset:0,focusOffset:r.childNodes.length})}function Im(e){var t;if(X(e))return ke(e).startOffset===0&&ke(e).endOffset===Z(e).length;let r=(t=Be(e))!==null&&t!==void 0?t:e.ownerDocument.body,n=e.ownerDocument.getSelection();return n?.anchorNode===r&&n.focusNode===r&&n.anchorOffset===0&&n.focusOffset===r.childNodes.length}function ut(e,t,r){var n;if(X(e))return we({focusNode:e,anchorOffset:t,focusOffset:r});if(ce(e)&&((n=e.firstChild)===null||n===void 0?void 0:n.nodeType)===3)return we({focusNode:e.firstChild,anchorOffset:t,focusOffset:r});throw new Error("Not implemented. The result of this interaction is unreliable.")}function wr(e,t,r){let n=V(t),o=Array.from(t.ownerDocument.querySelectorAll(t.name?`input[type="radio"][name="${n.CSS.escape(t.name)}"]`:'input[type="radio"][name=""], input[type="radio"]:not([name])'));for(let i=o.findIndex(a=>a===t)+r;;i+=r){if(o[i]||(i=r>0?0:o.length-1),o[i]===t)return;if(!te(o[i])){se(o[i]),e.dispatchUIEvent(o[i],"click");return}}}ie.keydown=(e,t,r)=>{var n,o;return(n=(o=Nm[e.key])===null||o===void 0?void 0:o.call(Nm,e,t,r))!==null&&n!==void 0?n:Ix(e,t,r)};var Nm={ArrowDown:(e,t,r)=>{if(q(t,"input",{type:"radio"}))return()=>wr(r,t,1)},ArrowLeft:(e,t,r)=>q(t,"input",{type:"radio"})?()=>wr(r,t,-1):()=>Ks(t,-1),ArrowRight:(e,t,r)=>q(t,"input",{type:"radio"})?()=>wr(r,t,1):()=>Ks(t,1),ArrowUp:(e,t,r)=>{if(q(t,"input",{type:"radio"}))return()=>wr(r,t,-1)},Backspace:(e,t,r)=>{if(ve(t))return()=>{_e(r,t,"","deleteContentBackward")}},Delete:(e,t,r)=>{if(ve(t))return()=>{_e(r,t,"","deleteContentForward")}},End:(e,t)=>{if(q(t,["input","textarea"])||ce(t))return()=>{var r,n;let o=(r=(n=Mm(t))===null||n===void 0?void 0:n.length)!==null&&r!==void 0?r:0;ut(t,o,o)}},Home:(e,t)=>{if(q(t,["input","textarea"])||ce(t))return()=>{ut(t,0,0)}},PageDown:(e,t)=>{if(q(t,["input"]))return()=>{let r=Z(t).length;ut(t,r,r)}},PageUp:(e,t)=>{if(q(t,["input"]))return()=>{ut(t,0,0)}},Tab:(e,t,r)=>()=>{let n=Om(Et(r.config.document),r.system.keyboard.modifiers.Shift);se(n),X(n)&&Ee(n,{anchorOffset:0,focusOffset:n.value.length})}},Ix=(e,t,r)=>{if(e.code==="KeyA"&&r.system.keyboard.modifiers.Control)return()=>ba(t)};ie.keypress=(e,t,r)=>{if(e.key==="Enter"){if(q(t,"button")||q(t,"input")&&Nx.includes(t.type)||q(t,"a")&&t.href)return()=>{r.dispatchUIEvent(t,"click")};if(q(t,"input")){let n=t.form,o=n?.querySelector('input[type="submit"], button:not([type]), button[type="submit"]');return o?()=>r.dispatchUIEvent(o,"click"):n&&Lx.includes(t.type)&&n.querySelectorAll("input").length===1?()=>r.dispatchUIEvent(n,"submit"):void 0}}if(ve(t)){let n=e.key==="Enter"?ce(t)&&!r.system.keyboard.modifiers.Shift?"insertParagraph":"insertLineBreak":"insertText",o=e.key==="Enter"?`
59
+ `:e.key;return()=>_e(r,t,o,n)}};var Nx=["button","color","file","image","reset","submit"],Lx=["email","month","password","search","tel","text","url","week"];ie.keyup=(e,t,r)=>{var n;return(n=Lm[e.key])===null||n===void 0?void 0:n.call(Lm,e,t,r)};var Lm={" ":(e,t,r)=>{if($r(t))return()=>r.dispatchUIEvent(t,"click")}};ie.paste=(e,t,r)=>{if(ve(t))return()=>{var n;let o=(n=e.clipboardData)===null||n===void 0?void 0:n.getData("text");o&&_e(r,t,o,"insertFromPaste")}};var Gs={auxclick:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},beforeinput:{EventType:"InputEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},blur:{EventType:"FocusEvent",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},click:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},contextmenu:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},copy:{EventType:"ClipboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},change:{EventType:"Event",defaultInit:{bubbles:!0,cancelable:!1}},cut:{EventType:"ClipboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},dblclick:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},focus:{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}},keydown:{EventType:"KeyboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},keypress:{EventType:"KeyboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},keyup:{EventType:"KeyboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},paste:{EventType:"ClipboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},input:{EventType:"InputEvent",defaultInit:{bubbles:!0,cancelable:!1,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}},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}},submit:{EventType:"Event",defaultInit:{bubbles:!0,cancelable:!0}}};function Dm(e){return Gs[e].EventType}var Dx=["MouseEvent","PointerEvent"];function Bm(e){return Dx.includes(Dm(e))}function Fm(e){return Dm(e)==="KeyboardEvent"}var Bx={ClipboardEvent:[Ux],Event:[],FocusEvent:[_r,$x],InputEvent:[_r,jx],MouseEvent:[_r,Xs,Um],PointerEvent:[_r,Xs,Um,Vx],KeyboardEvent:[_r,Xs,Hx]};function Js(e,t,r){let n=V(t),{EventType:o,defaultInit:i}=Gs[e],a=new(Fx(n))[o](e,i);return Bx[o].forEach(s=>s(a,r??{})),a}function Fx(e){var t,r,n,o,i,a,s,l,u,c,d,m,y,T,C;let P=(t=e.Event)!==null&&t!==void 0?t:class{},f=(r=e.AnimationEvent)!==null&&r!==void 0?r:class extends P{},g=(n=e.ClipboardEvent)!==null&&n!==void 0?n:class extends P{},w=(o=e.PopStateEvent)!==null&&o!==void 0?o:class extends P{},h=(i=e.ProgressEvent)!==null&&i!==void 0?i:class extends P{},E=(a=e.TransitionEvent)!==null&&a!==void 0?a:class extends P{},A=(s=e.UIEvent)!==null&&s!==void 0?s:class extends P{},R=(l=e.CompositionEvent)!==null&&l!==void 0?l:class extends A{},H=(u=e.FocusEvent)!==null&&u!==void 0?u:class extends A{},F=(c=e.InputEvent)!==null&&c!==void 0?c:class extends A{},W=(d=e.KeyboardEvent)!==null&&d!==void 0?d:class extends A{},K=(m=e.MouseEvent)!==null&&m!==void 0?m:class extends A{},O=(y=e.DragEvent)!==null&&y!==void 0?y:class extends K{},G=(T=e.PointerEvent)!==null&&T!==void 0?T:class extends K{},Y=(C=e.TouchEvent)!==null&&C!==void 0?C:class extends A{};return{Event:P,AnimationEvent:f,ClipboardEvent:g,PopStateEvent:w,ProgressEvent:h,TransitionEvent:E,UIEvent:A,CompositionEvent:R,FocusEvent:H,InputEvent:F,KeyboardEvent:W,MouseEvent:K,DragEvent:O,PointerEvent:G,TouchEvent:Y}}function Ze(e,t){for(let[r,n]of Object.entries(t))Object.defineProperty(e,r,{get:()=>n??null})}function z(e){return Number(e??0)}function Ux(e,{clipboardData:t}){Ze(e,{clipboardData:t})}function $x(e,{relatedTarget:t}){Ze(e,{relatedTarget:t})}function jx(e,{data:t,inputType:r,isComposing:n}){Ze(e,{data:t,isComposing:!!n,inputType:String(r)})}function _r(e,{view:t,detail:r}){Ze(e,{view:t,detail:z(r??0)})}function Xs(e,{altKey:t,ctrlKey:r,metaKey:n,shiftKey:o,modifierAltGraph:i,modifierCapsLock:a,modifierFn:s,modifierFnLock:l,modifierNumLock:u,modifierScrollLock:c,modifierSymbol:d,modifierSymbolLock:m}){Ze(e,{altKey:!!t,ctrlKey:!!r,metaKey:!!n,shiftKey:!!o,getModifierState(y){return!!{Alt:t,AltGraph:i,CapsLock:a,Control:r,Fn:s,FnLock:l,Meta:n,NumLock:u,ScrollLock:c,Shift:o,Symbol:d,SymbolLock:m}[y]}})}function Hx(e,{key:t,code:r,location:n,repeat:o,isComposing:i,charCode:a}){Ze(e,{key:String(t),code:String(r),location:z(n),repeat:!!o,isComposing:!!i,charCode:a})}function Um(e,{x:t,y:r,screenX:n,screenY:o,clientX:i=t,clientY:a=r,button:s,buttons:l,relatedTarget:u,offsetX:c,offsetY:d,pageX:m,pageY:y}){Ze(e,{screenX:z(n),screenY:z(o),clientX:z(i),x:z(i),clientY:z(a),y:z(a),button:z(s),buttons:z(l),relatedTarget:u,offsetX:z(c),offsetY:z(d),pageX:z(m),pageY:z(y)})}function Vx(e,{pointerId:t,width:r,height:n,pressure:o,tangentialPressure:i,tiltX:a,tiltY:s,twist:l,pointerType:u,isPrimary:c,buttons:d}){Ze(e,{pointerId:z(t),width:z(r??1),height:z(n??1),pressure:z(o??(d?.5:0)),tangentialPressure:z(i),tiltX:z(a),tiltY:z(s),twist:z(l),pointerType:String(u??""),isPrimary:!!c})}function $m(e,t,r,n=!1){(Bm(t)||Fm(t))&&(r={...r,...this.system.getUIEventModifiers()});let o=Js(t,e,r);return Ys.call(this,e,o,n)}function Ys(e,t,r=!1){var n;let o=t.type,i=r?()=>{}:(n=ie[o])===null||n===void 0?void 0:n.call(ie,t,e,this);if(i){t.preventDefault();let a=!1;return Object.defineProperty(t,"defaultPrevented",{get:()=>a}),Object.defineProperty(t,"preventDefault",{value:()=>{a=t.cancelable}}),Qe(()=>e.dispatchEvent(t)),a||i(),!a}return Qe(()=>e.dispatchEvent(t))}function Oe(e,t,r){let n=Js(t,e,r);Qe(()=>e.dispatchEvent(n))}var jm=Symbol("patched focus/blur methods");function Qs(e){if(e.prototype[jm])return;let{focus:t,blur:r}=e.prototype;Object.defineProperties(e.prototype,{focus:{configurable:!0,value:o,writable:!0},blur:{configurable:!0,value:i,writable:!0},[jm]:{configurable:!0,get:()=>({focus:t,blur:r})}});let n;function o(a){if(this.ownerDocument.visibilityState!=="hidden")return t.call(this,a);let s=Hm(this.ownerDocument);if(s===this)return;let l=Symbol("focus call");n=l,s&&(r.call(s),Oe(s,"blur",{relatedTarget:this}),Oe(s,"focusout",{relatedTarget:n===l?this:null})),n===l&&(t.call(this,a),Oe(this,"focus",{relatedTarget:s})),n===l&&Oe(this,"focusin",{relatedTarget:s})}function i(){if(this.ownerDocument.visibilityState!=="hidden")return r.call(this);let a=Hm(this.ownerDocument);if(a!==this)return;n=Symbol("blur call"),r.call(this),Oe(a,"blur",{relatedTarget:null}),Oe(a,"focusout",{relatedTarget:null})}}function Hm(e){let t=De(e);return t?.tagName==="BODY"?null:t}var Zs=Symbol("Interceptor for programmatical calls");function Mt(e,t,r){let n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),o=Object.getOwnPropertyDescriptor(e,t),i=n?.set?"set":"value";if(typeof n?.[i]!="function"||n[i][Zs])throw new Error(`Element ${e.tagName} does not implement "${String(t)}".`);function a(...s){let{applyNative:l=!1,realArgs:u,then:c}=r.call(this,...s),d=(!l&&o||n)[i];i==="set"?d.call(this,u):d.call(this,...u),c?.()}a[Zs]=Zs,Object.defineProperty(e,t,{...o??n,[i]:a})}function Vm(e){Mt(e,"value",function(r){let n=fm(r);return n&&Pm(this),{applyNative:!!n,realArgs:Wx(this,r),then:n?void 0:()=>Rm(this,String(r))}})}function Wx(e,t){return q(e,"input",{type:"number"})&&String(t)!==""&&!Number.isNaN(Number(t))?String(Number(t)):String(t)}function Wm(e){Mt(e,"setSelectionRange",function(r,...n){let o=mm(r);return{applyNative:!!o,realArgs:[Number(r),...n],then:()=>o?void 0:gr(e)}}),Mt(e,"selectionStart",function(r){return{realArgs:r,then:()=>gr(e)}}),Mt(e,"selectionEnd",function(r){return{realArgs:r,then:()=>gr(e)}}),Mt(e,"select",function(){return{realArgs:[],then:()=>ym(e,{anchorOffset:0,focusOffset:Z(e).length})}})}function zm(e){Mt(e,"setRangeText",function(...r){return{realArgs:r,then:()=>{hr(e),gr(e)}}})}var kt=Symbol("Node prepared with document state workarounds");function el(e){e[kt]||(e.addEventListener("focus",t=>{let r=t.target;Km(r)},{capture:!0,passive:!0}),e.activeElement&&Km(e.activeElement),e.addEventListener("blur",t=>{let r=t.target,n=vm(r);n!==void 0&&(r.value!==n&&Oe(r,"change"),ua(r))},{capture:!0,passive:!0}),e[kt]=kt)}function Km(e){e[kt]||(q(e,["input","textarea"])&&(Vm(e),Wm(e),zm(e)),e[kt]=kt)}function Gm(e){return zx(e)?e:e.ownerDocument}function zx(e){return e.nodeType===9}var re=(function(e){return e[e.Trigger=2]="Trigger",e[e.Call=1]="Call",e})({});function ct(e,t){e.levelRefs[t]={}}function Cr(e,t){return e.levelRefs[t]}function Re(e){let t=e.delay;if(typeof t=="number")return Promise.all([new Promise(r=>globalThis.setTimeout(()=>r(),t)),e.advanceTimers(t)])}var dt=(function(e){return e[e.EachTrigger=4]="EachTrigger",e[e.EachApiCall=2]="EachApiCall",e[e.EachTarget=1]="EachTarget",e[e.Never=0]="Never",e})({});function pt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Ce=(function(e){return e[e.STANDARD=0]="STANDARD",e[e.LEFT=1]="LEFT",e[e.RIGHT=2]="RIGHT",e[e.NUMPAD=3]="NUMPAD",e})({}),Kx=["Alt","AltGraph","Control","Fn","Meta","Shift","Symbol"];function Xm(e){return Kx.includes(e)}var Gx=["CapsLock","FnLock","NumLock","ScrollLock","SymbolLock"];function Jm(e){return Gx.includes(e)}var va=class{isKeyPressed(t){return this.pressed.has(String(t.code))}getPressedKeys(){return this.pressed.values().map(t=>t.keyDef)}async keydown(t,r,n=!1){let o=String(r.key),i=String(r.code),a=Et(t.config.document);this.setKeydownTarget(a),this.pressed.add(i,r),Xm(o)&&(this.modifiers[o]=!0);let s=t.dispatchUIEvent(a,"keydown",{key:o,code:i,repeat:n});Jm(o)&&!this.modifiers[o]&&(this.modifiers[o]=!0,this.modifierLockStart[o]=!0),s&&this.pressed.setUnprevented(i),s&&this.hasKeyPress(o)&&t.dispatchUIEvent(Et(t.config.document),"keypress",{key:o,code:i,charCode:r.key==="Enter"?13:String(r.key).charCodeAt(0)})}async keyup(t,r){let n=String(r.key),o=String(r.code),i=this.pressed.isUnprevented(o);this.pressed.delete(o),Xm(n)&&!this.pressed.values().find(a=>a.keyDef.key===n)&&(this.modifiers[n]=!1),t.dispatchUIEvent(Et(t.config.document),"keyup",{key:n,code:o},!i),Jm(n)&&this.modifiers[n]&&(this.modifierLockStart[n]?this.modifierLockStart[n]=!1:this.modifiers[n]=!1)}setKeydownTarget(t){t!==this.lastKeydownTarget&&(this.carryChar=""),this.lastKeydownTarget=t}hasKeyPress(t){return(t.length===1||t==="Enter")&&!this.modifiers.Control&&!this.modifiers.Alt}constructor(t){pt(this,"system",void 0),pt(this,"modifiers",{Alt:!1,AltGraph:!1,CapsLock:!1,Control:!1,Fn:!1,FnLock:!1,Meta:!1,NumLock:!1,ScrollLock:!1,Shift:!1,Symbol:!1,SymbolLock:!1}),pt(this,"pressed",new class{add(r,n){var o,i,a;(a=(o=this.registry)[i=r])!==null&&a!==void 0||(o[i]={keyDef:n,unpreventedDefault:!1})}has(r){return!!this.registry[r]}setUnprevented(r){let n=this.registry[r];n&&(n.unpreventedDefault=!0)}isUnprevented(r){var n;return!!(!((n=this.registry[r])===null||n===void 0)&&n.unpreventedDefault)}delete(r){delete this.registry[r]}values(){return Object.values(this.registry)}constructor(){pt(this,"registry",{})}}),pt(this,"carryChar",""),pt(this,"lastKeydownTarget",void 0),pt(this,"modifierLockStart",{}),this.system=t}};var Ym=[..."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:"BracketLeft",key:"["},{code:"BracketLeft",key:"{",shiftKey:!0},{code:"BracketRight",key:"]"},{code:"BracketRight",key:"}",shiftKey:!0},{code:"Space",key:" "},{code:"AltLeft",key:"Alt",location:Ce.LEFT},{code:"AltRight",key:"Alt",location:Ce.RIGHT},{code:"ShiftLeft",key:"Shift",location:Ce.LEFT},{code:"ShiftRight",key:"Shift",location:Ce.RIGHT},{code:"ControlLeft",key:"Control",location:Ce.LEFT},{code:"ControlRight",key:"Control",location:Ce.RIGHT},{code:"MetaLeft",key:"Meta",location:Ce.LEFT},{code:"MetaRight",key:"Meta",location:Ce.RIGHT},{code:"OSLeft",key:"OS",location:Ce.LEFT},{code:"OSRight",key:"OS",location:Ce.RIGHT},{code:"ContextMenu",key:"ContextMenu"},{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"}];var Qm=[{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"}];function Xx(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Ot=class{getButtons(){let t=0;for(let r of Object.keys(this.pressed))t|=2**Number(r);return t}down(t){let r=tl(t.button);if(r in this.pressed){this.pressed[r].push(t);return}return this.pressed[r]=[t],r}up(t){let r=tl(t.button);if(r in this.pressed&&(this.pressed[r]=this.pressed[r].filter(n=>n.name!==t.name),this.pressed[r].length===0))return delete this.pressed[r],r}constructor(){Xx(this,"pressed",{})}},Zm={primary:0,secondary:1,auxiliary:2,back:3,X1:3,forward:4,X2:4};function tl(e=0){return e in Zm?Zm[e]:Number(e)}var eb={1:2,2:1};function Tr(e){return e=tl(e),e in eb?eb[e]:e}function Jx(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var ya=class{get countPressed(){return this.pressedKeys.size}isPressed(t){return this.pressedKeys.has(t.name)}addPressed(t){return this.pressedKeys.add(t.name)}removePressed(t){return this.pressedKeys.delete(t.name)}constructor(){Jx(this,"pressedKeys",new Set)}};function ft(e,t){let r=[];for(let i=e;i;i=i.parentElement)r.push(i);let n=[];for(let i=t;i;i=i.parentElement)n.push(i);let o=0;for(;!(o>=r.length||o>=n.length||r[r.length-1-o]!==n[n.length-1-o]);o++);return[r.slice(0,r.length-o),n.slice(0,n.length-o),n.slice(n.length-o)]}function Pr({target:e,node:t,offset:r}){return X(e)?{node:e,offset:r??Z(e).length}:t?{node:t,offset:r??(t.nodeType===3?t.nodeValue.length:t.childNodes.length)}:tb(e,r)}function tb(e,t,r=!0){let n=t===void 0?e.childNodes.length-1:0,o=t===void 0?-1:1;for(;t===void 0?n>=(r?Math.max(e.childNodes.length-1,0):0):n<=e.childNodes.length;){if(t&&n===e.childNodes.length)throw new Error("The given offset is out of bounds.");let i=e.childNodes.item(n),a=String(i.textContent);if(a.length)if(t!==void 0&&a.length<t)t-=a.length;else{if(i.nodeType===1)return tb(i,t,!1);if(i.nodeType===3)return{node:i,offset:t??i.nodeValue.length}}n+=o}return{node:e,offset:e.childNodes.length}}function rb({document:e,target:t,clickCount:r,node:n,offset:o}){if(Gl(t))return;let i=X(t),a=String(i?Z(t):t.textContent),[s,l]=n?[o,o]:Yx(a,o,r);if(i)return Ee(t,{anchorOffset:s??a.length,focusOffset:l??a.length}),{node:t,start:s??0,end:l??a.length};{let{node:u,offset:c}=Pr({target:t,node:n,offset:s}),{node:d,offset:m}=Pr({target:t,node:n,offset:l}),y=t.ownerDocument.createRange();try{y.setStart(u,c),y.setEnd(d,m)}catch{throw new Error("The given offset is out of bounds.")}let T=e.getSelection();return T?.removeAllRanges(),T?.addRange(y.cloneRange()),y}}function Yx(e,t,r){if(r%3===1||e.length===0)return[t,t];let n=t??e.length;return r%3===2?[n-e.substr(0,t).match(/(\w+|\s+|\W)?$/)[0].length,t===void 0?t:t+e.substr(t).match(/^(\w+|\s+|\W)?/)[0].length]:[n-e.substr(0,t).match(/[^\r\n]*$/)[0].length,t===void 0?t:t+e.substr(t).match(/^[^\r\n]*/)[0].length]}function nb(e,{document:t,target:r,node:n,offset:o}){let i=Pr({target:r,node:n,offset:o});if("node"in e){if(i.node===e.node){let a=i.offset<e.start?e.end:e.start,s=i.offset>e.end||i.offset<e.start?i.offset:e.end;Ee(e.node,{anchorOffset:a,focusOffset:s})}}else{let a=e.cloneRange(),s=a.comparePoint(i.node,i.offset);s<0?a.setStart(i.node,i.offset):s>0&&a.setEnd(i.node,i.offset);let l=t.getSelection();l?.removeAllRanges(),l?.addRange(a.cloneRange())}}function ha(e,t){var r,n,o,i,a,s,l,u,c,d,m,y,T,C,P,f,g,w,h,E,A,R,H,F;return e.target!==t.target||((r=e.coords)===null||r===void 0?void 0:r.x)!==((n=t.coords)===null||n===void 0?void 0:n.x)||((o=e.coords)===null||o===void 0?void 0:o.y)!==((i=t.coords)===null||i===void 0?void 0:i.y)||((a=e.coords)===null||a===void 0?void 0:a.clientX)!==((s=t.coords)===null||s===void 0?void 0:s.clientX)||((l=e.coords)===null||l===void 0?void 0:l.clientY)!==((u=t.coords)===null||u===void 0?void 0:u.clientY)||((c=e.coords)===null||c===void 0?void 0:c.offsetX)!==((d=t.coords)===null||d===void 0?void 0:d.offsetX)||((m=e.coords)===null||m===void 0?void 0:m.offsetY)!==((y=t.coords)===null||y===void 0?void 0:y.offsetY)||((T=e.coords)===null||T===void 0?void 0:T.pageX)!==((C=t.coords)===null||C===void 0?void 0:C.pageX)||((P=e.coords)===null||P===void 0?void 0:P.pageY)!==((f=t.coords)===null||f===void 0?void 0:f.pageY)||((g=e.coords)===null||g===void 0?void 0:g.screenX)!==((w=t.coords)===null||w===void 0?void 0:w.screenX)||((h=e.coords)===null||h===void 0?void 0:h.screenY)!==((E=t.coords)===null||E===void 0?void 0:E.screenY)||((A=e.caret)===null||A===void 0?void 0:A.node)!==((R=t.caret)===null||R===void 0?void 0:R.node)||((H=e.caret)===null||H===void 0?void 0:H.offset)!==((F=t.caret)===null||F===void 0?void 0:F.offset)}function mt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var ga=class{move(t,r,n){let o=this.position,i=this.getTarget(t);if(this.position=r,!ha(o,r))return;let a=this.getTarget(t),s=this.getEventInit("mousemove"),[l,u]=ft(i,a);return{leave:()=>{i!==a&&(t.dispatchUIEvent(i,"mouseout",s),l.forEach(c=>t.dispatchUIEvent(c,"mouseleave",s)))},enter:()=>{i!==a&&(t.dispatchUIEvent(a,"mouseover",s),u.forEach(c=>t.dispatchUIEvent(c,"mouseenter",s)))},move:()=>{n||(t.dispatchUIEvent(a,"mousemove",s),this.modifySelecting(t))}}}down(t,r,n){let o=this.buttons.down(r);if(o===void 0)return;let i=this.getTarget(t);this.buttonDownTarget[o]=i;let a=this.getEventInit("mousedown",r.button),s=te(i);!n&&(s||t.dispatchUIEvent(i,"mousedown",a))&&(this.startSelecting(t,a.detail),se(i)),!s&&Tr(r.button)===2&&t.dispatchUIEvent(i,"contextmenu",this.getEventInit("contextmenu",r.button))}up(t,r,n){let o=this.buttons.up(r);if(o===void 0)return;let i=this.getTarget(t);if(!te(i)){if(!n){let s=this.getEventInit("mouseup",r.button);t.dispatchUIEvent(i,"mouseup",s),this.endSelecting()}let a=ft(this.buttonDownTarget[o],i)[2][0];if(a){let s=this.getEventInit("click",r.button);s.detail&&(t.dispatchUIEvent(a,s.button===0?"click":"auxclick",s),s.button===0&&s.detail===2&&t.dispatchUIEvent(a,"dblclick",{...this.getEventInit("dblclick",r.button),detail:s.detail}))}}}resetClickCount(){this.clickCount.reset()}getEventInit(t,r){let n={...this.position.coords};return n.button=Tr(r),n.buttons=this.buttons.getButtons(),t==="mousedown"?n.detail=this.clickCount.getOnDown(n.button):t==="mouseup"?n.detail=this.clickCount.getOnUp(n.button):(t==="click"||t==="auxclick")&&(n.detail=this.clickCount.incOnClick(n.button)),n}getTarget(t){var r;return(r=this.position.target)!==null&&r!==void 0?r:t.config.document.body}startSelecting(t,r){var n,o;this.selecting=rb({document:t.config.document,target:this.getTarget(t),node:(n=this.position.caret)===null||n===void 0?void 0:n.node,offset:(o=this.position.caret)===null||o===void 0?void 0:o.offset,clickCount:r})}modifySelecting(t){var r,n;this.selecting&&nb(this.selecting,{document:t.config.document,target:this.getTarget(t),node:(r=this.position.caret)===null||r===void 0?void 0:r.node,offset:(n=this.position.caret)===null||n===void 0?void 0:n.offset})}endSelecting(){this.selecting=void 0}constructor(){mt(this,"position",{}),mt(this,"buttons",new Ot),mt(this,"selecting",void 0),mt(this,"buttonDownTarget",{}),mt(this,"clickCount",new class{incOnClick(t){let r=this.down[t]===void 0?void 0:Number(this.down[t])+1;return this.count=this.count[t]===void 0?{}:{[t]:Number(this.count[t])+1},r}getOnDown(t){var r,n;return this.down={[t]:(r=this.count[t])!==null&&r!==void 0?r:0},this.count={[t]:(n=this.count[t])!==null&&n!==void 0?n:0},Number(this.count[t])+1}getOnUp(t){return this.down[t]===void 0?void 0:Number(this.down[t])+1}reset(){this.count={}}constructor(){mt(this,"down",{}),mt(this,"count",{})}})}};function It(e,t){var r;return((r=ab(e,t))===null||r===void 0?void 0:r.pointerEvents)!=="none"}function Qx(e){let t=V(e);for(let r=e,n=[];r?.ownerDocument;r=r.parentElement){n.push(r);let o=t.getComputedStyle(r).pointerEvents;if(o&&!["inherit","unset"].includes(o))return{pointerEvents:o,tree:n}}}var ob=Symbol("Last check for pointer-events");function ab(e,t){let r=t[ob];if(!(e.config.pointerEventsCheck!==dt.Never&&(!r||ib(e.config.pointerEventsCheck,dt.EachApiCall)&&r[re.Call]!==Cr(e,re.Call)||ib(e.config.pointerEventsCheck,dt.EachTrigger)&&r[re.Trigger]!==Cr(e,re.Trigger))))return r?.result;let o=Qx(t);return t[ob]={[re.Call]:Cr(e,re.Call),[re.Trigger]:Cr(e,re.Trigger),result:o},o}function bt(e,t){let r=ab(e,t);if(r?.pointerEvents==="none")throw new Error([`Unable to perform pointer interaction as the element ${r.tree.length>1?"inherits":"has"} \`pointer-events: none\`:`,"",Zx(r.tree)].join(`
60
+ `))}function Zx(e){return e.reverse().map((t,r)=>["".padEnd(r),t.tagName,t.id&&`#${t.id}`,t.hasAttribute("data-testid")&&`(testId=${t.getAttribute("data-testid")})`,eq(t),e.length>1&&r===0&&" <-- This element declared `pointer-events: none`",e.length>1&&r===e.length-1&&" <-- Asserted pointer events here"].filter(Boolean).join("")).join(`
61
+ `)}function eq(e){var t;let r;if(e.hasAttribute("aria-label"))r=e.getAttribute("aria-label");else if(e.hasAttribute("aria-labelledby")){var n,o;r=(o=e.ownerDocument.getElementById(e.getAttribute("aria-labelledby")))===null||o===void 0||(n=o.textContent)===null||n===void 0?void 0:n.trim()}else if(q(e,["button","input","meter","output","progress","select","textarea"])&&(!((t=e.labels)===null||t===void 0)&&t.length))r=Array.from(e.labels).map(a=>{var s;return(s=a.textContent)===null||s===void 0?void 0:s.trim()}).join("|");else if(q(e,"button")){var i;r=(i=e.textContent)===null||i===void 0?void 0:i.trim()}return r=r?.replace(/\n/g," "),Number(r?.length)>30&&(r=`${r?.substring(0,29)}\u2026`),r?`(label=${r})`:""}function ib(e,t){return(e&t)>0}function Ie(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Ea=class{init(t){let r=this.getTarget(t),[,n]=ft(null,r),o=this.getEventInit();return bt(t,r),t.dispatchUIEvent(r,"pointerover",o),n.forEach(i=>t.dispatchUIEvent(i,"pointerenter",o)),this}move(t,r){let n=this.position,o=this.getTarget(t);if(this.position=r,!ha(n,r))return;let i=this.getTarget(t),a=this.getEventInit(-1),[s,l]=ft(o,i);return{leave:()=>{It(t,o)&&o!==i&&(t.dispatchUIEvent(o,"pointerout",a),s.forEach(u=>t.dispatchUIEvent(u,"pointerleave",a)))},enter:()=>{bt(t,i),o!==i&&(t.dispatchUIEvent(i,"pointerover",a),l.forEach(u=>t.dispatchUIEvent(u,"pointerenter",a)))},move:()=>{t.dispatchUIEvent(i,"pointermove",a)}}}down(t,r=0){if(this.isDown)return;let n=this.getTarget(t);bt(t,n),this.isDown=!0,this.isPrevented=!t.dispatchUIEvent(n,"pointerdown",this.getEventInit(r))}up(t,r=0){if(!this.isDown)return;let n=this.getTarget(t);bt(t,n),this.isPrevented=!1,this.isDown=!1,t.dispatchUIEvent(n,"pointerup",this.getEventInit(r))}release(t){let r=this.getTarget(t),[n]=ft(r,null),o=this.getEventInit();It(t,r)&&(t.dispatchUIEvent(r,"pointerout",o),n.forEach(i=>t.dispatchUIEvent(i,"pointerleave",o))),this.isCancelled=!0}getTarget(t){var r;return(r=this.position.target)!==null&&r!==void 0?r:t.config.document.body}getEventInit(t){return{...this.position.coords,pointerId:this.pointerId,pointerType:this.pointerType,isPrimary:this.isPrimary,button:Tr(t),buttons:this.buttons.getButtons()}}constructor({pointerId:t,pointerType:r,isPrimary:n},o){Ie(this,"pointerId",void 0),Ie(this,"pointerType",void 0),Ie(this,"isPrimary",void 0),Ie(this,"buttons",void 0),Ie(this,"isMultitouch",!1),Ie(this,"isCancelled",!1),Ie(this,"isDown",!1),Ie(this,"isPrevented",!1),Ie(this,"position",{}),this.pointerId=t,this.pointerType=r,this.isPrimary=n,this.isMultitouch=!n,this.buttons=o}};function et(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var wa=class{isKeyPressed(t){return this.devices.get(t.pointerType).isPressed(t)}async press(t,r,n){this.devices.get(r.pointerType).addPressed(r),this.buttons.down(r);let o=this.getPointerName(r),i=r.pointerType==="touch"?this.pointers.new(o,r.pointerType,this.buttons):this.pointers.get(o);i.position=n,i.pointerType!=="touch"&&(this.mouse.position=n),i.pointerType==="touch"&&i.init(t),i.down(t,r.button),i.pointerType!=="touch"&&this.mouse.down(t,r,i.isPrevented)}async move(t,r,n){let o=this.pointers.get(r),i=o.move(t,n),a=o.pointerType==="touch"?void 0:this.mouse.move(t,n,o.isPrevented);i?.leave(),a?.leave(),i?.enter(),a?.enter(),i?.move(),a?.move()}async release(t,r,n){let o=this.devices.get(r.pointerType);o.removePressed(r),this.buttons.up(r);let i=this.pointers.get(this.getPointerName(r)),a=i.isPrevented;if(i.position=n,i.pointerType!=="touch"&&(this.mouse.position=n),o.countPressed===0&&i.up(t,r.button),i.pointerType==="touch"&&i.release(t),i.pointerType==="touch"&&!i.isMultitouch){let s=this.mouse.move(t,n,a);s?.leave(),s?.enter(),s?.move(),this.mouse.down(t,r,a)}if(!i.isMultitouch){let s=this.mouse.move(t,n,a);s?.leave(),s?.enter(),s?.move(),this.mouse.up(t,r,a)}}getPointerName(t){return t.pointerType==="touch"?t.name:t.pointerType}getPreviousPosition(t){return this.pointers.has(t)?this.pointers.get(t).position:void 0}resetClickCount(){this.mouse.resetClickCount()}getMouseTarget(t){var r;return(r=this.mouse.position.target)!==null&&r!==void 0?r:t.config.document.body}setMousePosition(t){this.mouse.position=t,this.pointers.get("mouse").position=t}constructor(t){et(this,"system",void 0),et(this,"mouse",void 0),et(this,"buttons",void 0),et(this,"devices",new class{get(r){var n,o,i;return(i=(n=this.registry)[o=r])!==null&&i!==void 0?i:n[o]=new ya}constructor(){et(this,"registry",{})}}),et(this,"pointers",new class{new(r,n,o){let i=n!=="touch"||!Object.values(this.registry).some(a=>a.pointerType==="touch"&&!a.isCancelled);return i||Object.values(this.registry).forEach(a=>{a.pointerType===n&&!a.isCancelled&&(a.isMultitouch=!0)}),this.registry[r]=new Ea({pointerId:this.nextId++,pointerType:n,isPrimary:i},o),this.registry[r]}get(r){if(!this.has(r))throw new Error(`Trying to access pointer "${r}" which does not exist.`);return this.registry[r]}has(r){return r in this.registry}constructor(){et(this,"registry",{}),et(this,"nextId",1)}}),this.system=t,this.buttons=new Ot,this.mouse=new ga,this.pointers.new("mouse","mouse",this.buttons)}};function sb(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Rr=class{getUIEventModifiers(){return{altKey:this.keyboard.modifiers.Alt,ctrlKey:this.keyboard.modifiers.Control,metaKey:this.keyboard.modifiers.Meta,shiftKey:this.keyboard.modifiers.Shift,modifierAltGraph:this.keyboard.modifiers.AltGraph,modifierCapsLock:this.keyboard.modifiers.CapsLock,modifierFn:this.keyboard.modifiers.Fn,modifierFnLock:this.keyboard.modifiers.FnLock,modifierNumLock:this.keyboard.modifiers.NumLock,modifierScrollLock:this.keyboard.modifiers.ScrollLock,modifierSymbol:this.keyboard.modifiers.Symbol,modifierSymbolLock:this.keyboard.modifiers.SymbolLock}}constructor(){sb(this,"keyboard",new va(this)),sb(this,"pointer",new wa(this))}};async function lb(e){let t=[];return this.config.skipHover||t.push({target:e}),t.push({keys:"[MouseLeft]",target:e}),this.pointer(t)}async function ub(e){return this.pointer([{target:e},"[MouseLeft][MouseLeft]"])}async function cb(e){return this.pointer([{target:e},"[MouseLeft][MouseLeft][MouseLeft]"])}async function db(e){return this.pointer({target:e})}async function pb(e){return bt(this,this.system.pointer.getMouseTarget(this)),this.pointer({target:e.ownerDocument.body})}async function fb({shift:e}={}){return this.keyboard(e===!0?"{Shift>}{Tab}{/Shift}":e===!1?"[/ShiftLeft][/ShiftRight]{Tab}":"{Tab}")}var mb={"{":"}","[":"]"};function _a(e,t){let r=0,n=e[r]in mb?e[r]:"";r+=n.length;let i=new RegExp(`^\\${n}{2}`).test(e)?"":n;return{type:i,...i===""?tq(e,r,t):rq(e,r,i,t)}}function tq(e,t,r){let n=e[t];return bb(n,e,t,r),t+=n.length,{consumedLength:t,descriptor:n,releasePrevious:!1,releaseSelf:!0,repeat:1}}function rq(e,t,r,n){var o,i,a;let s=e[t]==="/"?"/":"";t+=s.length;let l=r==="{"&&e[t]==="\\";t+=Number(l);let u=l?e[t]:(i=e.slice(t).match(r==="{"?/^\w+|^[^}>/]/:/^\w+/))===null||i===void 0?void 0:i[0];bb(u,e,t,n),t+=u.length;let c=(o=(a=e.slice(t).match(/^>\d+/))===null||a===void 0?void 0:a[0])!==null&&o!==void 0?o:"";t+=c.length;let d=e[t]==="/"||!c&&e[t]===">"?e[t]:"";t+=d.length;let m=mb[r],y=e[t]===m?m:"";if(!y)throw new Error(vb([!c&&"repeat modifier",!d&&"release modifier",`"${m}"`].filter(Boolean).join(" or "),e[t],e,n));return t+=y.length,{consumedLength:t,descriptor:u,releasePrevious:!!s,repeat:c?Math.max(Number(c.substr(1)),1):1,releaseSelf:nq(d,c)}}function bb(e,t,r,n){if(!e)throw new Error(vb("key descriptor",t[r],t,n))}function nq(e,t){if(e)return e==="/";if(t)return!1}function vb(e,t,r,n){return`Expected ${e} but found "${t??""}" in "${r}"
62
62
  See ${n==="pointer"?"https://testing-library.com/docs/user-event/pointer#pressing-a-button-or-touching-the-screen":"https://testing-library.com/docs/user-event/keyboard"}
63
- for more information about how userEvent parses your input.`}function bb(e,t){let r=[];do{var n;let{type:o,descriptor:i,consumedLength:a,releasePrevious:s,releaseSelf:l=!0,repeat:u}=wa(t,"keyboard"),c=(n=e.find(d=>{if(o==="["){var m;return((m=d.code)===null||m===void 0?void 0:m.toLowerCase())===i.toLowerCase()}else if(o==="{"){var y;return((y=d.key)===null||y===void 0?void 0:y.toLowerCase())===i.toLowerCase()}return d.key===i}))!==null&&n!==void 0?n:{key:"Unknown",code:"Unknown",[o==="["?"code":"key"]:i};r.push({keyDef:c,releasePrevious:s,releaseSelf:l,repeat:u}),t=t.slice(a)}while(t);return r}async function vb(e){let t=bb(this.config.keyboardMap,e);for(let r=0;r<t.length;r++)await Re(this.config),await rq(this,t[r])}async function rq(e,{keyDef:t,releasePrevious:r,releaseSelf:n,repeat:o}){let{system:i}=e;if(i.keyboard.isKeyPressed(t)&&await i.keyboard.keyup(e,t),!r){for(let a=1;a<=o;a++)await i.keyboard.keydown(e,t,a>1),a<o&&await Re(e.config);n&&await i.keyboard.keyup(e,t)}}async function yb(e){for(let t of e.system.keyboard.getPressedKeys())await e.system.keyboard.keyup(e,t)}function _a(e){let t=X(e)?{"text/plain":nq(e)}:{"text/plain":String(e.ownerDocument.getSelection())},r=vt(V(e));for(let n in t)t[n]&&r.setData(n,t[n]);return r}function nq(e){let t=ke(e);return Z(e).substring(t.startOffset,t.endOffset)}async function hb(){var e;let t=this.config.document,r=(e=t.activeElement)!==null&&e!==void 0?e:t.body,n=_a(r);if(n.items.length!==0)return this.dispatchUIEvent(r,"copy",{clipboardData:n})&&this.config.writeToClipboard&&await Br(t,n),n}async function gb(){var e;let t=this.config.document,r=(e=t.activeElement)!==null&&e!==void 0?e:t.body,n=_a(r);if(n.items.length!==0)return this.dispatchUIEvent(r,"cut",{clipboardData:n})&&this.config.writeToClipboard&&await Br(r.ownerDocument,n),n}async function Eb(e){var t,r;let n=this.config.document,o=(t=n.activeElement)!==null&&t!==void 0?t:n.body,i=(r=typeof e=="string"?oq(n,e):e)!==null&&r!==void 0?r:await $l(n).catch(()=>{throw new Error("`userEvent.paste()` without `clipboardData` requires the `ClipboardAPI` to be available.")});this.dispatchUIEvent(o,"paste",{clipboardData:i})}function oq(e,t){let r=vt(V(e));return r.setData("text",t),r}function tl(e,t){let r=[];do{let{descriptor:n,consumedLength:o,releasePrevious:i,releaseSelf:a=!0}=wa(t,"pointer"),s=e.find(l=>l.name===n);s&&r.push({keyDef:s,releasePrevious:i,releaseSelf:a}),t=t.slice(o)}while(t);return r}async function _b(e){let{pointerMap:t}=this.config,r=[];(Array.isArray(e)?e:[e]).forEach(n=>{typeof n=="string"?r.push(...tl(t,n)):"keys"in n?r.push(...tl(t,n.keys).map(o=>({...n,...o}))):r.push(n)});for(let n=0;n<r.length;n++)await Re(this.config),await iq(this,r[n]);this.system.pointer.resetClickCount()}async function iq(e,t){var r,n,o,i,a,s;let l="pointerName"in t&&t.pointerName?t.pointerName:"keyDef"in t?e.system.pointer.getPointerName(t.keyDef):"mouse",u=e.system.pointer.getPreviousPosition(l),c={target:(r=t.target)!==null&&r!==void 0?r:aq(e,u),coords:(n=t.coords)!==null&&n!==void 0?n:u?.coords,caret:{node:(o=t.node)!==null&&o!==void 0?o:wb(t)||u==null||(a=u.caret)===null||a===void 0?void 0:a.node,offset:(i=t.offset)!==null&&i!==void 0?i:wb(t)||u==null||(s=u.caret)===null||s===void 0?void 0:s.offset}};"keyDef"in t?(e.system.pointer.isKeyPressed(t.keyDef)&&(lt(e,re.Trigger),await e.system.pointer.release(e,t.keyDef,c)),t.releasePrevious||(lt(e,re.Trigger),await e.system.pointer.press(e,t.keyDef,c),t.releaseSelf&&(lt(e,re.Trigger),await e.system.pointer.release(e,t.keyDef,c)))):(lt(e,re.Trigger),await e.system.pointer.move(e,l,c))}function wb(e){var t,r;return!!((t=(r=e.target)!==null&&r!==void 0?r:e.node)!==null&&t!==void 0?t:e.offset!==void 0)}function aq(e,t){var r;if(!t)throw new Error("This pointer has no previous position. Provide a target property!");return(r=t.target)!==null&&r!==void 0?r:e.config.document.body}async function Cb(e){if(!ve(e)||te(e))throw new Error("clear()` is only supported on editable elements.");if(se(e),e.ownerDocument.activeElement!==e)throw new Error("The element to be cleared could not be focused.");if(ma(e),!km(e))throw new Error("The element content to be cleared could not be selected.");_e(this,e,"","deleteContentBackward")}async function Pb(e,t){return Rb.call(this,!0,e,t)}async function Tb(e,t){return Rb.call(this,!1,e,t)}async function Rb(e,t,r){if(!e&&!t.multiple)throw N().getElementError("Unable to deselect an option in a non-multiple select. Use selectOptions to change the selection instead.",t);let n=Array.isArray(r)?r:[r],o=Array.from(t.querySelectorAll('option, [role="option"]')),i=n.map(s=>{if(typeof s!="string"&&o.includes(s))return s;{let l=o.find(u=>u.value===s||u.innerHTML===s);if(l)return l;throw N().getElementError(`Value "${String(s)}" not found in options`,t)}}).filter(s=>!te(s));if(te(t)||!i.length)return;let a=s=>{s.selected=e,this.dispatchUIEvent(t,"input",{bubbles:!0,cancelable:!1,composed:!0}),this.dispatchUIEvent(t,"change")};if(q(t,"select"))if(t.multiple)for(let s of i){let l=this.config.pointerEventsCheck===0?!0:kt(this,s);l&&(this.dispatchUIEvent(s,"pointerover"),this.dispatchUIEvent(t,"pointerenter"),this.dispatchUIEvent(s,"mouseover"),this.dispatchUIEvent(t,"mouseenter"),this.dispatchUIEvent(s,"pointermove"),this.dispatchUIEvent(s,"mousemove"),this.dispatchUIEvent(s,"pointerdown"),this.dispatchUIEvent(s,"mousedown")),se(t),l&&(this.dispatchUIEvent(s,"pointerup"),this.dispatchUIEvent(s,"mouseup")),a(s),l&&this.dispatchUIEvent(s,"click"),await Re(this.config)}else if(i.length===1){let s=this.config.pointerEventsCheck===0?!0:kt(this,t);s?await this.click(t):se(t),a(i[0]),s&&(this.dispatchUIEvent(t,"pointerover"),this.dispatchUIEvent(t,"pointerenter"),this.dispatchUIEvent(t,"mouseover"),this.dispatchUIEvent(t,"mouseenter"),this.dispatchUIEvent(t,"pointerup"),this.dispatchUIEvent(t,"mouseup"),this.dispatchUIEvent(t,"click")),await Re(this.config)}else throw N().getElementError("Cannot select multiple options on a non-multiple select",t);else if(t.getAttribute("role")==="listbox")for(let s of i)await this.click(s),await this.unhover(s);else throw N().getElementError("Cannot select options on elements that are neither select nor listbox elements",t)}async function Sb(e,t,{skipClick:r=this.config.skipClick,skipAutoClose:n=this.config.skipAutoClose,initialSelectionStart:o,initialSelectionEnd:i}={}){e.disabled||(r||await this.click(e),o!==void 0&&st(e,o,i??o),await this.keyboard(t),n||await yb(this))}var xb=Symbol("files and value properties are mocked");function rl(e,t,r){r?Object.defineProperty(e,t,r):delete e[t]}function qb(e,t){var r;(r=e[xb])===null||r===void 0||r.restore();let n=Object.getOwnPropertyDescriptor(e,"type"),o=Object.getOwnPropertyDescriptor(e,"value"),i=Object.getOwnPropertyDescriptor(e,"files");function a(){rl(e,"type",n),rl(e,"value",o),rl(e,"files",i)}e[xb]={restore:a},Object.defineProperties(e,{files:{configurable:!0,get:()=>t},value:{configurable:!0,get:()=>t.length?`C:\\fakepath\\${t[0].name}`:"",set(s){if(s==="")a();else{var l;o==null||(l=o.set)===null||l===void 0||l.call(e,s)}}},type:{configurable:!0,get:()=>"file",set(s){s!=="file"&&(a(),e.type=s)}}})}async function Ab(e,t){let r=q(e,"label")?e.control:e;if(!r||!q(r,"input",{type:"file"}))throw new TypeError(`The ${r===e?"given":"associated"} ${r?.tagName} element does not accept file uploads`);if(te(e))return;let n=(Array.isArray(t)?t:[t]).filter(i=>!this.config.applyAccept||sq(i,r.accept)).slice(0,r.multiple?void 0:1),o=()=>{var i;n.length===((i=r.files)===null||i===void 0?void 0:i.length)&&n.every((a,s)=>{var l;return a===((l=r.files)===null||l===void 0?void 0:l.item(s))})||(qb(r,Bt(V(e),n)),this.dispatchUIEvent(r,"input"),this.dispatchUIEvent(r,"change"))};r.addEventListener("fileDialog",o),await this.click(e),r.removeEventListener("fileDialog",o)}function Ca(e){return e.toLowerCase().replace(/(\.|\/)jpg\b/g,"$1jpeg")}function sq(e,t){if(!t)return!0;let r=["audio/*","image/*","video/*"];return Ca(t).trim().split(/\s*,\s*/).some(n=>n.startsWith(".")?Ca(e.name).endsWith(n):r.includes(n)?Ca(e.type).startsWith(n.replace("*","")):Ca(e.type)===n)}var nl={click:ab,dblClick:sb,tripleClick:lb,hover:ub,unhover:cb,tab:db,keyboard:vb,copy:hb,cut:gb,paste:Eb,pointer:_b,clear:Cb,deselectOptions:Tb,selectOptions:Pb,type:Sb,upload:Ab};function Mb(e){return N().asyncWrapper(e)}var kb={applyAccept:!0,autoModify:!0,delay:0,document:globalThis.document,keyboardMap:Xm,pointerMap:Ym,pointerEventsCheck:ut.EachApiCall,skipAutoClose:!1,skipClick:!1,skipHover:!1,writeToClipboard:!1,advanceTimers:()=>Promise.resolve()},lq={...kb,writeToClipboard:!0};function Ob(e={},t=lq,r){let n=dq(e,r,t);return{...t,...e,document:n}}function Ib(e={}){var t;let r=Ob(e);Zs(r.document),Qs(V(r.document).HTMLElement);let n=(t=r.document.defaultView)!==null&&t!==void 0?t:globalThis.window;return Ul(n),ol(r).api}function ee({keyboardState:e,pointerState:t,...r}={},n){var o;let i=Ob(r,kb,n);Zs(i.document),Qs(V(i.document).HTMLElement);let a=(o=t??e)!==null&&o!==void 0?o:new Pr;return{api:ol(i,a).api,system:a}}function uq(e){return ol({...this.config,...e},this.system).api}function cq(e,t){function r(...n){return lt(e,re.Call),Mb(()=>t.apply(e,n).then(async o=>(await Re(e.config),o)))}return Object.defineProperty(r,"name",{get:()=>t.name}),r}function ol(e,t=new Pr){let r={};return Object.assign(r,{config:e,dispatchEvent:Ys.bind(r),dispatchUIEvent:Fm.bind(r),system:t,levelRefs:{},...nl}),{instance:r,api:{...Object.fromEntries(Object.entries(nl).map(([n,o])=>[n,cq(r,o)])),setup:uq.bind(r)}}}function dq(e,t,r){var n,o;return(n=(o=e.document)!==null&&o!==void 0?o:t&&zm(t))!==null&&n!==void 0?n:r.document}var il={};Yb(il,{clear:()=>pq,click:()=>fq,copy:()=>mq,cut:()=>bq,dblClick:()=>vq,deselectOptions:()=>yq,hover:()=>hq,keyboard:()=>gq,paste:()=>wq,pointer:()=>Eq,selectOptions:()=>_q,tab:()=>Sq,tripleClick:()=>Cq,type:()=>Pq,unhover:()=>Tq,upload:()=>Rq});function pq(e){return ee().api.clear(e)}function fq(e,t={}){return ee(t,e).api.click(e)}function mq(e={}){return ee(e).api.copy()}function bq(e={}){return ee(e).api.cut()}function vq(e,t={}){return ee(t).api.dblClick(e)}function yq(e,t,r={}){return ee(r).api.deselectOptions(e,t)}function hq(e,t={}){return ee(t).api.hover(e)}async function gq(e,t={}){let{api:r,system:n}=ee(t);return r.keyboard(e).then(()=>n)}async function Eq(e,t={}){let{api:r,system:n}=ee(t);return r.pointer(e).then(()=>n)}function wq(e,t){return ee(t).api.paste(e)}function _q(e,t,r={}){return ee(r).api.selectOptions(e,t)}function Cq(e,t={}){return ee(t).api.tripleClick(e)}function Pq(e,t,r={}){return ee(r,e).api.type(e,t,r)}function Tq(e,t={}){let{api:r,system:n}=ee(t);return n.pointer.setMousePosition({target:e}),r.unhover(e)}function Rq(e,t,r={}){return ee(r).api.upload(e,t)}function Sq(e={}){return ee().api.tab(e)}var Pa={...il,setup:Ib};var Nb=!1,Lb=!1,al=null;function xq(e){return new Promise(t=>setTimeout(t,e))}function Db(e){try{if(typeof e=="string")return new URL(e,qq()).href;if(e instanceof URL)return e.href;if(typeof Request<"u"&&e instanceof Request)return e.url}catch{}return String(e)}function qq(){try{if(typeof location<"u"&&location.href)return location.href}catch{}return"http://localhost/"}function Aq(e,t){if(t?.method)return String(t.method).toUpperCase();try{if(typeof Request<"u"&&e instanceof Request&&e.method)return String(e.method).toUpperCase()}catch{}return"GET"}function Mq(e,t){let r=t?.body;if(typeof r=="string")return r;try{if(typeof Request<"u"&&e instanceof Request)return}catch{}}function kq(e){let t=Or(e.headers),r={};for(let n of t)r[n.name]=n.value;return new Response(Dt(e.body),{status:e.statusCode,headers:r})}async function Oq(e,t,r){let n=Db(t),o=Aq(t,r),i=Nt(al?.()??[],n,o);if(!i)return e(t,r);let a={url:n,method:o,headers:void 0,postData:Mq(t,r),timestamp:Date.now()};if(Lt(i,a),i.aborted)throw new TypeError(`Spectra.intercept() aborted ${o} ${n} (${i.abortReason||"Failed"})`);let s=await Ba(i,a);return s.delayMs&&s.delayMs>0&&await xq(s.delayMs),kq(s)}function Iq(){let e=globalThis.XMLHttpRequest;function t(){let r=new e,n="GET",o="",i=e.prototype.open.bind(r),a=e.prototype.send.bind(r);return r.open=(s,l,...u)=>{n=String(s).toUpperCase(),o=Db(l);let[c=!0,d,m]=u;return i(s,l,c,d,m)},r.send=s=>{let l=Nt(al?.()??[],o,n);if(!l)return a(s);let u={url:o,method:n,headers:void 0,postData:typeof s=="string"?s:void 0,timestamp:Date.now()};Lt(l,u);let c=()=>{r.dispatchEvent(new Event("error"))};if(l.aborted){setTimeout(c,0);return}let d=m=>{let y=Dt(m.body);Object.defineProperties(r,{status:{value:m.statusCode,configurable:!0},statusText:{value:m.statusCode===200?"OK":`${m.statusCode} Mocked`,configurable:!0},responseText:{value:y,configurable:!0},response:{value:y,configurable:!0},readyState:{value:4,configurable:!0}}),r.dispatchEvent(new Event("readystatechange")),r.dispatchEvent(new Event("load")),r.dispatchEvent(new Event("loadend"))};Ba(l,u).then(m=>{setTimeout(()=>d(m),m.delayMs&&m.delayMs>0?m.delayMs:0)})},r}t.prototype=e.prototype,globalThis.XMLHttpRequest=t}function Bb(e){if(al=e,!Nb&&typeof globalThis.fetch=="function"){let t=globalThis.fetch.bind(globalThis);globalThis.fetch=(r,n)=>Oq(t,r,n),Nb=!0}!Lb&&typeof globalThis.XMLHttpRequest=="function"&&(Iq(),Lb=!0)}function tt(){return Pa.setup({delay:null})}function Ta(e){return xl(e.trim())??e.trim()}function Ub(e,t){let r=Ta(e),o=(()=>{if(t===null)return document.querySelector(r);let a=Array.from(document.querySelectorAll(r));return t>=0?a[t]??null:a[a.length+t]??null})();if(o!==null)return o;let i=Ua(e.trim());return i?ql(i.name,document,t):null}function Se(e){return typeof e=="string"?e:e.selector}function Fb(e,t){return t==null?e[0]??null:t>=0?e[t]??null:e[e.length+t]??null}function sl(e,t){if(!t)return!0;try{return e.matches(t)}catch{return!1}}function Ra(e,t){let r=Sl(e);if(!r)return;if(r.kind==="nth"){let a=$(r.base,Number.parseInt(r.arg,10));return a?[a]:[]}let n=t?{selector:r.base,index:null,parent:t}:r.base,o=$(n,null);if(r.kind==="parent")return o?.parentElement?[o.parentElement]:[];if(r.kind==="closest"){let a=o?.closest(r.arg)??null;return a?[a]:[]}if(!o)return[];if(r.kind==="children")return Array.from(o.children).filter(a=>sl(a,r.arg));if(r.kind==="siblings"){let a=o.parentElement;return a?Array.from(a.children).filter(s=>s!==o&&sl(s,r.arg)):[]}let i=o.nextElementSibling;for(;i&&!sl(i,r.arg);)i=i.nextElementSibling;return i?[i]:[]}function $(e,t){if(typeof e=="string"){let s=Ra(e,void 0);return s!==void 0?Fb(s,t):Ub(e,t)}let r=Ra(e.selector,e.parent);if(r!==void 0)return Fb(r,e.index??t);let n=e.parent?$(e.parent,e.parent.index):document.documentElement;if(!n)return null;let o=Ta(e.selector),i=Array.from(n.querySelectorAll(o)),a=e.index??t;return a==null?i[0]??null:a>=0?i[a]??null:i[i.length+a]??null}function ll(e){let t=e.tagName;return t==="INPUT"||t==="TEXTAREA"||t==="SELECT"}function Tr(e){if(e.tagName!=="INPUT"&&e.tagName!=="TEXTAREA")return null;let t=e;return t.tagName==="INPUT"&&Tl.includes(t.type)?null:typeof t.value=="string"?t.value:null}var Sa=class{mockRules=[];consoleErrors=[];recordedNetwork=[];async waitForScopedEl(t,r){let n=$(t,r);if(n)return n;let o=null;if(!await globalThis.__TS_RUNTIME__.pollCondition(async()=>(o=$(t,r),o!==null),globalThis.__TS_RUNTIME__.getImplicitWaitMs())||!o)throw new Error("Element not found: "+Se(t));return o}async connect(){}async close(){}async navigate(t){throw new Error("Spectra.navigate() is not supported in component testing mode. Use Spectra.mount(<Component />) to render a component tree instead of navigating a URL.")}async setCookies(t,r){let n=Array.isArray(t)?t:[t];for(let o of n)typeof document<"u"&&(document.cookie=o)}async back(){throw new Error("Spectra.back() is not supported in component testing mode.")}async forward(){throw new Error("Spectra.forward() is not supported in component testing mode.")}async refresh(){throw new Error("Spectra.refresh() is not supported in component testing mode.")}async setViewport(t,r){try{window.resizeTo(t,r)}catch{}}async pause(t){await new Promise(r=>setTimeout(r,t))}async click(t,r=null){let n=await this.waitForScopedEl(t,r);await tt().click(n)}async doubleClick(t,r=null){let n=await this.waitForScopedEl(t,r);await tt().dblClick(n)}async rightClick(t,r=null){let n=await this.waitForScopedEl(t,r);await tt().pointer({keys:"[MouseRight]",target:n})}async setValue(t,r,n=null){let o=await this.waitForScopedEl(t,n);if(!ll(o))throw new Error("Element is not a form field: "+Se(t));if(o.tagName==="INPUT"&&o.type==="file")return this.upload(t,r,n);let i=String(r),a=tt();await a.clear(o);let s=Tr(o);if(i.length>0){if(await a.type(o,i),Ar(i,Tr(o),s))return;o.focus(),await a.clear(o),await a.type(o,i);let l=Tr(o);if(!Ar(i,l,s))throw Na(Se(t),i,l??"")}}async typeText(t,r,n=null){let o=await this.waitForScopedEl(t,n);if(!ll(o))throw new Error("Element is not a form field: "+Se(t));let i=String(r??"");if(i.length===0)return;let a=Tr(o);await tt().type(o,i);let s=Tr(o);if(!Ar((a??"")+i,s,a))throw Na(Se(t),i,s??"")}async upload(t,r,n=null){let o=await this.waitForScopedEl(t,n),i=Array.isArray(r)?r:[r],a=[],s={png:"image/png",jpg:"image/jpeg",jpeg:"image/jpeg",gif:"image/gif",svg:"image/svg+xml",webp:"image/webp",pdf:"application/pdf",json:"application/json",txt:"text/plain",csv:"text/csv"};for(let l of i)if(typeof l=="string"){let u="file.bin",c="application/octet-stream",d;if(l.startsWith("data:")){let m=l.indexOf(","),y=l.slice(0,m),P=l.slice(m+1),C=y.match(/data:([^;]+)/);C&&(c=C[1]);let T=y.match(/(?:name|filename)=([^;]+)/i);T?u=decodeURIComponent(T[1]):u=`fixture.${c.split("/")[1]||"bin"}`;try{let f=atob(P),g=new Uint8Array(f.length);for(let w=0;w<f.length;w++)g[w]=f.charCodeAt(w);d=new Blob([g],{type:c})}catch{d=new Blob([P],{type:c})}}else{u=l.split("?")[0].split("#")[0].split("/").pop()?.split("\\").pop()||"fixture.bin";let y=u.split(".").pop()?.toLowerCase()||"";c=s[y]||"application/octet-stream",d=new Blob(["Mock file content for "+u],{type:c})}a.push(new File([d],u,{type:c}))}else if(l instanceof File)a.push(l);else if(l&&typeof l=="object"&&"name"in l){let u=l,c=u.type||"application/octet-stream",d;if(u.base64)try{let m=atob(u.base64),y=new Uint8Array(m.length);for(let P=0;P<m.length;P++)y[P]=m.charCodeAt(P);d=new Blob([y],{type:c})}catch{d=new Blob([u.base64],{type:c})}else d=new Blob([u.content||"Mock content"],{type:c});a.push(new File([d],u.name,{type:c}))}if(a.length>0){let l=new DataTransfer;for(let u of a)l.items.add(u);o.files=l.files,o.dispatchEvent(new Event("input",{bubbles:!0})),o.dispatchEvent(new Event("change",{bubbles:!0}))}}async clearValue(t,r=null){let n=await this.waitForScopedEl(t,r);await tt().clear(n)}async select(t,r,n=null){if(!await globalThis.__TS_RUNTIME__.pollCondition(async()=>{let i=$(t,n);if(!i||i.tagName!=="SELECT")return!1;for(let a=0;a<i.options.length;a++){let s=i.options[a];if(s.text===r||s.value===r)return i.selectedIndex=a,i.dispatchEvent(new Event("change",{bubbles:!0})),!0}return!1}))throw new Error("Select option not found: "+JSON.stringify(r))}async hover(t,r=null){let n=await this.waitForScopedEl(t,r);await tt().hover(n)}async focus(t,r=null){if(!await globalThis.__TS_RUNTIME__.pollCondition(async()=>{let o=$(t,r);return o?(o.focus?.(),!0):!1}))throw new Error("Element not found: "+Se(t))}async blur(t,r=null){if(!await globalThis.__TS_RUNTIME__.pollCondition(async()=>{let o=$(t,r);return o?(o.blur?.(),!0):!1}))throw new Error("Element not found: "+Se(t))}async waitForElementRemoved(t,r=5e3,n=null){if(!await globalThis.__TS_RUNTIME__.pollCondition(async()=>!await this.isExisting(t,n),r))throw new Error("Element still exists after timeout: "+Se(t))}async waitForUndisplayed(t,r,n=null){if(!await globalThis.__TS_RUNTIME__.pollCondition(async()=>!await this.isDisplayed(t,n),r?.timeout??5e3))throw new Error("Element still displayed after timeout: "+Se(t))}async waitForClickable(t,r,n=null){return await globalThis.__TS_RUNTIME__.pollCondition(async()=>this.isClickable(t,n),r?.timeout??5e3)}async getBounds(t,r=null){let n=$(t,r);if(!n)return{x:0,y:0,top:0,right:0,bottom:0,left:0,width:0,height:0};let o=n.getBoundingClientRect();return{x:o.x,y:o.y,top:o.top,right:o.right,bottom:o.bottom,left:o.left,width:o.width,height:o.height}}async closest(t,r,n=null){let o=$(t,n);if(!o)return null;let i=o.closest(r);return i?i.tagName.toLowerCase():null}async clickAt(t,r){document.elementFromPoint(t,r)?.click()}async dragDrop(t,r,n=null){let o=$(t,n),i=Ub(r,null);if(!o||!i)throw new Error("Drag source or destination not found");let a=new DataTransfer;o.dispatchEvent(new DragEvent("dragstart",{bubbles:!0,dataTransfer:a})),i.dispatchEvent(new DragEvent("dragover",{bubbles:!0,dataTransfer:a})),i.dispatchEvent(new DragEvent("drop",{bubbles:!0,dataTransfer:a})),o.dispatchEvent(new DragEvent("dragend",{bubbles:!0,dataTransfer:a}))}async longPress(t,r,n=null){let o=$(t,n);if(!o)throw new Error("Element not found: "+Se(t));o.dispatchEvent(new TouchEvent("touchstart",{bubbles:!0})),await this.pause(r),o.dispatchEvent(new TouchEvent("touchend",{bubbles:!0}))}async scrollIntoView(t,r=null){$(t,r)?.scrollIntoView({block:"center",inline:"center"})}async getText(t,r=null){let n=$(t,r);return n?n.textContent??"":""}async getValue(t,r=null){let n=$(t,r);return n?ll(n)?n.value??"":n.getAttribute("value")||"":""}async isDisplayed(t,r=null){let n=$(t,r);if(!n)return!1;let o=window.getComputedStyle(n);if(o.visibility==="hidden"||o.display==="none"||o.opacity==="0")return!1;let i=n.getBoundingClientRect();return i.width>0&&i.height>0||n.getClientRects().length>0||n.offsetWidth>0&&n.offsetHeight>0}async isExisting(t,r=null){return $(t,r)!==null}async isEnabled(t,r=null){let n=$(t,r);return n?!n.disabled&&!n.hasAttribute("disabled")&&!n.classList.contains("disabled")&&n.getAttribute("aria-disabled")!=="true":!1}async isSelected(t,r=null){let n=$(t,r);return n?!!n.checked||n.getAttribute("aria-checked")==="true"||n.getAttribute("data-state")==="checked":!1}async isFocused(t,r=null){let n=$(t,r);return n?document.activeElement===n||n.matches(":focus"):!1}async isClickable(t,r=null){let n=$(t,r);if(!n)return!1;let o=window.getComputedStyle(n);if(o.visibility==="hidden"||o.display==="none"||o.opacity==="0")return!1;let i=n.getBoundingClientRect();return i.width===0&&i.height===0?!1:!n.disabled&&!n.hasAttribute("disabled")&&!n.classList.contains("disabled")&&n.getAttribute("aria-disabled")!=="true"}async hasClass(t,r,n=null){let o=$(t,n);return o?o.classList.contains(r):!1}async getAttribute(t,r,n=null){let o=$(t,n);return o?o.getAttribute(r):null}async getCSSProperty(t,r,n=null){let o=$(t,n);return{value:o?window.getComputedStyle(o).getPropertyValue(r):""}}async count(t){if(typeof t=="string"){let o=Ra(t,void 0);return o!==void 0?o.length:document.querySelectorAll(Ta(t)).length}let r=Ra(t.selector,t.parent);if(r!==void 0)return r.length;let n=t.parent?$(t.parent,t.parent.index):document.documentElement;return n?n.querySelectorAll(Ta(t.selector)).length:0}async pressKey(t){let r=Rl(t);if(r?.code){await tt().keyboard(`{${r.code}}`);return}let n=document.activeElement||document.body,o=String(t);n.dispatchEvent(new KeyboardEvent("keydown",{key:o,bubbles:!0})),n.dispatchEvent(new KeyboardEvent("keyup",{key:o,bubbles:!0}))}async scroll(t={}){if(t.selector){await this.scrollIntoView(String(t.selector),null);return}let r=t.direction||"down",n=t.pixels||500,o=r==="up"?-n:r==="down"?n:0,i=r==="left"?-n:r==="right"?n:0;window.scrollBy(i,o)}async swipe(t){let r=t.distance||300,n=t.direction==="up"?r:t.direction==="down"?-r:0,o=t.direction==="left"?r:t.direction==="right"?-r:0;window.scrollBy(o,n)}async grantPermission(t){}async getUrl(){return window.location.href}async getTitle(){return document.title}async execute(t,...r){if(typeof t=="function"){let n=r.map(o=>{let i=Oa(o);return i?$(i,null):o});return t(...n)}return new Function(`return (${t});`)()}async evaluate(t){return new Function(`return (${t});`)()}async waitUntil(t,r){let n=await globalThis.__TS_RUNTIME__.pollCondition(t,r?.timeout);if(!n)throw new Error(r?.timeoutMsg||"waitUntil() condition was not met in time");return n}async getLogs(t){return[]}async shouldHaveUrl(t){let r=await this.getUrl();if(r!==t)throw new Error(`Expected browser URL to be "${t}", but got "${r}"`)}async shouldContainUrl(t){let r=await this.getUrl();if(!r.includes(t))throw new Error(`Expected browser URL to contain "${t}", but got "${r}"`)}async shouldHaveTitle(t){let r=await this.getTitle();if(r!==t)throw new Error(`Expected page title to be "${t}", but got "${r}"`)}async shouldContainTitle(t){let r=await this.getTitle();if(!r.includes(t))throw new Error(`Expected page title to contain "${t}", but got "${r}"`)}async shouldBeLoaded(){if(document.readyState!=="complete"&&document.readyState!=="interactive")throw new Error(`Expected document to be loaded, but readyState is "${document.readyState}"`)}async shouldHaveNoConsoleErrors(){if(this.consoleErrors.length>0)throw new Error(`Expected no console errors, but found ${this.consoleErrors.length}: ${this.consoleErrors.join("; ")}`)}async clearCookies(){document.cookie.split(";").forEach(t=>{let r=t.split("=")[0]?.trim();r&&(document.cookie=`${r}=;expires=Thu, 01 Jan 1970 00:00:00 GMT;path=/`)})}async clearLocalStorage(){window.localStorage.clear()}async intercept(t,r,n,o){let i=kr(t,r,n,o);return Bb(()=>this.mockRules),this.mockRules.push(i),Mr(i,()=>{let a=this.mockRules.indexOf(i);a!==-1&&this.mockRules.splice(a,1)})}clearMocks(){this.mockRules=[]}};var xa="spectra-root",mt=null,Rr=null;async function Nq(){if(typeof window<"u"&&window.__TESTSPECTRA_CREATE_ROOT__)return window.__TESTSPECTRA_CREATE_ROOT__;if(Rr)return Rr;try{let e=await import("react-dom/client");if(Rr=e.createRoot||e.default?.createRoot||e.default,Rr)return Rr}catch{}throw new Error("Could not find react-dom/client createRoot. Ensure react-dom is installed in your project.")}function Lq(){let e=document.getElementById(xa);return e||(e=document.createElement("div"),e.id=xa,document.body.appendChild(e)),e}function $b(){if(mt){try{mt.unmount()}catch{try{mt.render(null)}catch{}}mt=null}let e=document.getElementById(xa);e&&(e.innerHTML="")}async function jb(e){let t=Lq();mt||(mt=(await Nq())(t));let r=(typeof e.type=="string"?e.type:e.type?.displayName||e.type?.name)||"component";return globalThis.__TS_RUNTIME__.trackStep("action",{type:"action",key:"mount",target:r,args:[]},async()=>(mt.render(e),await new Promise(n=>setTimeout(n,20)),globalThis.__TS_RUNTIME__.createElementProxy(`#${xa}`)))}var Hb=new Sa;cl(Hb);globalThis.browser=Hb;globalThis.$=function(e){return ue(e)};globalThis.$$=function(e){return Te(e)};var ul=Al();ul.mount=jb;ul.unmount=$b;globalThis.Spectra=ul;(typeof globalThis.__vitest_browser_runner__<"u"||typeof globalThis.__vitest_worker__<"u")&&await ja();typeof beforeEach=="function"&&beforeEach(e=>{let t=e?.task?.name||globalThis.__CURRENT_TEST_TITLE__;t&&(globalThis.__CURRENT_TEST_TITLE__=t,globalThis.__TS_RUNTIME__.emitEvent("TESTSPECTRA_TEST_START",JSON.stringify({title:t})))});typeof document<"u"&&document.addEventListener("click",e=>{e.target?.closest?.("a[href]")&&e.preventDefault()},!0);globalThis.__SPECTRA_READY__=!0;
63
+ for more information about how userEvent parses your input.`}function yb(e,t){let r=[];do{var n;let{type:o,descriptor:i,consumedLength:a,releasePrevious:s,releaseSelf:l=!0,repeat:u}=_a(t,"keyboard"),c=(n=e.find(d=>{if(o==="["){var m;return((m=d.code)===null||m===void 0?void 0:m.toLowerCase())===i.toLowerCase()}else if(o==="{"){var y;return((y=d.key)===null||y===void 0?void 0:y.toLowerCase())===i.toLowerCase()}return d.key===i}))!==null&&n!==void 0?n:{key:"Unknown",code:"Unknown",[o==="["?"code":"key"]:i};r.push({keyDef:c,releasePrevious:s,releaseSelf:l,repeat:u}),t=t.slice(a)}while(t);return r}async function hb(e){let t=yb(this.config.keyboardMap,e);for(let r=0;r<t.length;r++)await Re(this.config),await oq(this,t[r])}async function oq(e,{keyDef:t,releasePrevious:r,releaseSelf:n,repeat:o}){let{system:i}=e;if(i.keyboard.isKeyPressed(t)&&await i.keyboard.keyup(e,t),!r){for(let a=1;a<=o;a++)await i.keyboard.keydown(e,t,a>1),a<o&&await Re(e.config);n&&await i.keyboard.keyup(e,t)}}async function gb(e){for(let t of e.system.keyboard.getPressedKeys())await e.system.keyboard.keyup(e,t)}function Ca(e){let t=X(e)?{"text/plain":iq(e)}:{"text/plain":String(e.ownerDocument.getSelection())},r=ht(V(e));for(let n in t)t[n]&&r.setData(n,t[n]);return r}function iq(e){let t=ke(e);return Z(e).substring(t.startOffset,t.endOffset)}async function Eb(){var e;let t=this.config.document,r=(e=t.activeElement)!==null&&e!==void 0?e:t.body,n=Ca(r);if(n.items.length!==0)return this.dispatchUIEvent(r,"copy",{clipboardData:n})&&this.config.writeToClipboard&&await Fr(t,n),n}async function wb(){var e;let t=this.config.document,r=(e=t.activeElement)!==null&&e!==void 0?e:t.body,n=Ca(r);if(n.items.length!==0)return this.dispatchUIEvent(r,"cut",{clipboardData:n})&&this.config.writeToClipboard&&await Fr(r.ownerDocument,n),n}async function _b(e){var t,r;let n=this.config.document,o=(t=n.activeElement)!==null&&t!==void 0?t:n.body,i=(r=typeof e=="string"?aq(n,e):e)!==null&&r!==void 0?r:await Hl(n).catch(()=>{throw new Error("`userEvent.paste()` without `clipboardData` requires the `ClipboardAPI` to be available.")});this.dispatchUIEvent(o,"paste",{clipboardData:i})}function aq(e,t){let r=ht(V(e));return r.setData("text",t),r}function rl(e,t){let r=[];do{let{descriptor:n,consumedLength:o,releasePrevious:i,releaseSelf:a=!0}=_a(t,"pointer"),s=e.find(l=>l.name===n);s&&r.push({keyDef:s,releasePrevious:i,releaseSelf:a}),t=t.slice(o)}while(t);return r}async function Tb(e){let{pointerMap:t}=this.config,r=[];(Array.isArray(e)?e:[e]).forEach(n=>{typeof n=="string"?r.push(...rl(t,n)):"keys"in n?r.push(...rl(t,n.keys).map(o=>({...n,...o}))):r.push(n)});for(let n=0;n<r.length;n++)await Re(this.config),await sq(this,r[n]);this.system.pointer.resetClickCount()}async function sq(e,t){var r,n,o,i,a,s;let l="pointerName"in t&&t.pointerName?t.pointerName:"keyDef"in t?e.system.pointer.getPointerName(t.keyDef):"mouse",u=e.system.pointer.getPreviousPosition(l),c={target:(r=t.target)!==null&&r!==void 0?r:lq(e,u),coords:(n=t.coords)!==null&&n!==void 0?n:u?.coords,caret:{node:(o=t.node)!==null&&o!==void 0?o:Cb(t)||u==null||(a=u.caret)===null||a===void 0?void 0:a.node,offset:(i=t.offset)!==null&&i!==void 0?i:Cb(t)||u==null||(s=u.caret)===null||s===void 0?void 0:s.offset}};"keyDef"in t?(e.system.pointer.isKeyPressed(t.keyDef)&&(ct(e,re.Trigger),await e.system.pointer.release(e,t.keyDef,c)),t.releasePrevious||(ct(e,re.Trigger),await e.system.pointer.press(e,t.keyDef,c),t.releaseSelf&&(ct(e,re.Trigger),await e.system.pointer.release(e,t.keyDef,c)))):(ct(e,re.Trigger),await e.system.pointer.move(e,l,c))}function Cb(e){var t,r;return!!((t=(r=e.target)!==null&&r!==void 0?r:e.node)!==null&&t!==void 0?t:e.offset!==void 0)}function lq(e,t){var r;if(!t)throw new Error("This pointer has no previous position. Provide a target property!");return(r=t.target)!==null&&r!==void 0?r:e.config.document.body}async function Pb(e){if(!ve(e)||te(e))throw new Error("clear()` is only supported on editable elements.");if(se(e),e.ownerDocument.activeElement!==e)throw new Error("The element to be cleared could not be focused.");if(ba(e),!Im(e))throw new Error("The element content to be cleared could not be selected.");_e(this,e,"","deleteContentBackward")}async function Rb(e,t){return xb.call(this,!0,e,t)}async function Sb(e,t){return xb.call(this,!1,e,t)}async function xb(e,t,r){if(!e&&!t.multiple)throw N().getElementError("Unable to deselect an option in a non-multiple select. Use selectOptions to change the selection instead.",t);let n=Array.isArray(r)?r:[r],o=Array.from(t.querySelectorAll('option, [role="option"]')),i=n.map(s=>{if(typeof s!="string"&&o.includes(s))return s;{let l=o.find(u=>u.value===s||u.innerHTML===s);if(l)return l;throw N().getElementError(`Value "${String(s)}" not found in options`,t)}}).filter(s=>!te(s));if(te(t)||!i.length)return;let a=s=>{s.selected=e,this.dispatchUIEvent(t,"input",{bubbles:!0,cancelable:!1,composed:!0}),this.dispatchUIEvent(t,"change")};if(q(t,"select"))if(t.multiple)for(let s of i){let l=this.config.pointerEventsCheck===0?!0:It(this,s);l&&(this.dispatchUIEvent(s,"pointerover"),this.dispatchUIEvent(t,"pointerenter"),this.dispatchUIEvent(s,"mouseover"),this.dispatchUIEvent(t,"mouseenter"),this.dispatchUIEvent(s,"pointermove"),this.dispatchUIEvent(s,"mousemove"),this.dispatchUIEvent(s,"pointerdown"),this.dispatchUIEvent(s,"mousedown")),se(t),l&&(this.dispatchUIEvent(s,"pointerup"),this.dispatchUIEvent(s,"mouseup")),a(s),l&&this.dispatchUIEvent(s,"click"),await Re(this.config)}else if(i.length===1){let s=this.config.pointerEventsCheck===0?!0:It(this,t);s?await this.click(t):se(t),a(i[0]),s&&(this.dispatchUIEvent(t,"pointerover"),this.dispatchUIEvent(t,"pointerenter"),this.dispatchUIEvent(t,"mouseover"),this.dispatchUIEvent(t,"mouseenter"),this.dispatchUIEvent(t,"pointerup"),this.dispatchUIEvent(t,"mouseup"),this.dispatchUIEvent(t,"click")),await Re(this.config)}else throw N().getElementError("Cannot select multiple options on a non-multiple select",t);else if(t.getAttribute("role")==="listbox")for(let s of i)await this.click(s),await this.unhover(s);else throw N().getElementError("Cannot select options on elements that are neither select nor listbox elements",t)}async function qb(e,t,{skipClick:r=this.config.skipClick,skipAutoClose:n=this.config.skipAutoClose,initialSelectionStart:o,initialSelectionEnd:i}={}){e.disabled||(r||await this.click(e),o!==void 0&&ut(e,o,i??o),await this.keyboard(t),n||await gb(this))}var Ab=Symbol("files and value properties are mocked");function nl(e,t,r){r?Object.defineProperty(e,t,r):delete e[t]}function Mb(e,t){var r;(r=e[Ab])===null||r===void 0||r.restore();let n=Object.getOwnPropertyDescriptor(e,"type"),o=Object.getOwnPropertyDescriptor(e,"value"),i=Object.getOwnPropertyDescriptor(e,"files");function a(){nl(e,"type",n),nl(e,"value",o),nl(e,"files",i)}e[Ab]={restore:a},Object.defineProperties(e,{files:{configurable:!0,get:()=>t},value:{configurable:!0,get:()=>t.length?`C:\\fakepath\\${t[0].name}`:"",set(s){if(s==="")a();else{var l;o==null||(l=o.set)===null||l===void 0||l.call(e,s)}}},type:{configurable:!0,get:()=>"file",set(s){s!=="file"&&(a(),e.type=s)}}})}async function kb(e,t){let r=q(e,"label")?e.control:e;if(!r||!q(r,"input",{type:"file"}))throw new TypeError(`The ${r===e?"given":"associated"} ${r?.tagName} element does not accept file uploads`);if(te(e))return;let n=(Array.isArray(t)?t:[t]).filter(i=>!this.config.applyAccept||uq(i,r.accept)).slice(0,r.multiple?void 0:1),o=()=>{var i;n.length===((i=r.files)===null||i===void 0?void 0:i.length)&&n.every((a,s)=>{var l;return a===((l=r.files)===null||l===void 0?void 0:l.item(s))})||(Mb(r,Ut(V(e),n)),this.dispatchUIEvent(r,"input"),this.dispatchUIEvent(r,"change"))};r.addEventListener("fileDialog",o),await this.click(e),r.removeEventListener("fileDialog",o)}function Ta(e){return e.toLowerCase().replace(/(\.|\/)jpg\b/g,"$1jpeg")}function uq(e,t){if(!t)return!0;let r=["audio/*","image/*","video/*"];return Ta(t).trim().split(/\s*,\s*/).some(n=>n.startsWith(".")?Ta(e.name).endsWith(n):r.includes(n)?Ta(e.type).startsWith(n.replace("*","")):Ta(e.type)===n)}var ol={click:lb,dblClick:ub,tripleClick:cb,hover:db,unhover:pb,tab:fb,keyboard:hb,copy:Eb,cut:wb,paste:_b,pointer:Tb,clear:Pb,deselectOptions:Sb,selectOptions:Rb,type:qb,upload:kb};function Ob(e){return N().asyncWrapper(e)}var Ib={applyAccept:!0,autoModify:!0,delay:0,document:globalThis.document,keyboardMap:Ym,pointerMap:Qm,pointerEventsCheck:dt.EachApiCall,skipAutoClose:!1,skipClick:!1,skipHover:!1,writeToClipboard:!1,advanceTimers:()=>Promise.resolve()},cq={...Ib,writeToClipboard:!0};function Nb(e={},t=cq,r){let n=fq(e,r,t);return{...t,...e,document:n}}function Lb(e={}){var t;let r=Nb(e);el(r.document),Qs(V(r.document).HTMLElement);let n=(t=r.document.defaultView)!==null&&t!==void 0?t:globalThis.window;return jl(n),il(r).api}function ee({keyboardState:e,pointerState:t,...r}={},n){var o;let i=Nb(r,Ib,n);el(i.document),Qs(V(i.document).HTMLElement);let a=(o=t??e)!==null&&o!==void 0?o:new Rr;return{api:il(i,a).api,system:a}}function dq(e){return il({...this.config,...e},this.system).api}function pq(e,t){function r(...n){return ct(e,re.Call),Ob(()=>t.apply(e,n).then(async o=>(await Re(e.config),o)))}return Object.defineProperty(r,"name",{get:()=>t.name}),r}function il(e,t=new Rr){let r={};return Object.assign(r,{config:e,dispatchEvent:Ys.bind(r),dispatchUIEvent:$m.bind(r),system:t,levelRefs:{},...ol}),{instance:r,api:{...Object.fromEntries(Object.entries(ol).map(([n,o])=>[n,pq(r,o)])),setup:dq.bind(r)}}}function fq(e,t,r){var n,o;return(n=(o=e.document)!==null&&o!==void 0?o:t&&Gm(t))!==null&&n!==void 0?n:r.document}var al={};Qb(al,{clear:()=>mq,click:()=>bq,copy:()=>vq,cut:()=>yq,dblClick:()=>hq,deselectOptions:()=>gq,hover:()=>Eq,keyboard:()=>wq,paste:()=>Cq,pointer:()=>_q,selectOptions:()=>Tq,tab:()=>qq,tripleClick:()=>Pq,type:()=>Rq,unhover:()=>Sq,upload:()=>xq});function mq(e){return ee().api.clear(e)}function bq(e,t={}){return ee(t,e).api.click(e)}function vq(e={}){return ee(e).api.copy()}function yq(e={}){return ee(e).api.cut()}function hq(e,t={}){return ee(t).api.dblClick(e)}function gq(e,t,r={}){return ee(r).api.deselectOptions(e,t)}function Eq(e,t={}){return ee(t).api.hover(e)}async function wq(e,t={}){let{api:r,system:n}=ee(t);return r.keyboard(e).then(()=>n)}async function _q(e,t={}){let{api:r,system:n}=ee(t);return r.pointer(e).then(()=>n)}function Cq(e,t){return ee(t).api.paste(e)}function Tq(e,t,r={}){return ee(r).api.selectOptions(e,t)}function Pq(e,t={}){return ee(t).api.tripleClick(e)}function Rq(e,t,r={}){return ee(r,e).api.type(e,t,r)}function Sq(e,t={}){let{api:r,system:n}=ee(t);return n.pointer.setMousePosition({target:e}),r.unhover(e)}function xq(e,t,r={}){return ee(r).api.upload(e,t)}function qq(e={}){return ee().api.tab(e)}var Pa={...al,setup:Lb};var Db=!1,Bb=!1,sl=null;function Aq(e){return new Promise(t=>setTimeout(t,e))}function Fb(e){try{if(typeof e=="string")return new URL(e,Mq()).href;if(e instanceof URL)return e.href;if(typeof Request<"u"&&e instanceof Request)return e.url}catch{}return String(e)}function Mq(){try{if(typeof location<"u"&&location.href)return location.href}catch{}return"http://localhost/"}function kq(e,t){if(t?.method)return String(t.method).toUpperCase();try{if(typeof Request<"u"&&e instanceof Request&&e.method)return String(e.method).toUpperCase()}catch{}return"GET"}function Oq(e,t){let r=t?.body;if(typeof r=="string")return r;try{if(typeof Request<"u"&&e instanceof Request)return}catch{}}function Iq(e){let t=Ir(e.headers),r={};for(let n of t)r[n.name]=n.value;return new Response(Ft(e.body),{status:e.statusCode,headers:r})}async function Nq(e,t,r){let n=Fb(t),o=kq(t,r),i=Dt(sl?.()??[],n,o);if(!i)return e(t,r);let a={url:n,method:o,headers:void 0,postData:Oq(t,r),timestamp:Date.now()};if(Bt(i,a),i.aborted)throw new TypeError(`Spectra.intercept() aborted ${o} ${n} (${i.abortReason||"Failed"})`);let s=await Fa(i,a);return s.delayMs&&s.delayMs>0&&await Aq(s.delayMs),Iq(s)}function Lq(){let e=globalThis.XMLHttpRequest;function t(){let r=new e,n="GET",o="",i=e.prototype.open.bind(r),a=e.prototype.send.bind(r);return r.open=(s,l,...u)=>{n=String(s).toUpperCase(),o=Fb(l);let[c=!0,d,m]=u;return i(s,l,c,d,m)},r.send=s=>{let l=Dt(sl?.()??[],o,n);if(!l)return a(s);let u={url:o,method:n,headers:void 0,postData:typeof s=="string"?s:void 0,timestamp:Date.now()};Bt(l,u);let c=()=>{r.dispatchEvent(new Event("error"))};if(l.aborted){setTimeout(c,0);return}let d=m=>{let y=Ft(m.body);Object.defineProperties(r,{status:{value:m.statusCode,configurable:!0},statusText:{value:m.statusCode===200?"OK":`${m.statusCode} Mocked`,configurable:!0},responseText:{value:y,configurable:!0},response:{value:y,configurable:!0},readyState:{value:4,configurable:!0}}),r.dispatchEvent(new Event("readystatechange")),r.dispatchEvent(new Event("load")),r.dispatchEvent(new Event("loadend"))};Fa(l,u).then(m=>{setTimeout(()=>d(m),m.delayMs&&m.delayMs>0?m.delayMs:0)})},r}t.prototype=e.prototype,globalThis.XMLHttpRequest=t}function Ub(e){if(sl=e,!Db&&typeof globalThis.fetch=="function"){let t=globalThis.fetch.bind(globalThis);globalThis.fetch=(r,n)=>Nq(t,r,n),Db=!0}!Bb&&typeof globalThis.XMLHttpRequest=="function"&&(Lq(),Bb=!0)}function tt(){return Pa.setup({delay:null})}function Ra(e){return Al(e.trim())??e.trim()}function jb(e,t){let r=Ra(e),o=(()=>{if(t===null)return document.querySelector(r);let a=Array.from(document.querySelectorAll(r));return t>=0?a[t]??null:a[a.length+t]??null})();if(o!==null)return o;let i=$a(e.trim());return i?Ml(i.name,document,t):null}function Se(e){return typeof e=="string"?e:e.selector}function $b(e,t){return t==null?e[0]??null:t>=0?e[t]??null:e[e.length+t]??null}function ll(e,t){if(!t)return!0;try{return e.matches(t)}catch{return!1}}function Sa(e,t){let r=ql(e);if(!r)return;if(r.kind==="nth"){let a=$(r.base,Number.parseInt(r.arg,10));return a?[a]:[]}let n=t?{selector:r.base,index:null,parent:t}:r.base,o=$(n,null);if(r.kind==="parent")return o?.parentElement?[o.parentElement]:[];if(r.kind==="closest"){let a=o?.closest(r.arg)??null;return a?[a]:[]}if(!o)return[];if(r.kind==="children")return Array.from(o.children).filter(a=>ll(a,r.arg));if(r.kind==="siblings"){let a=o.parentElement;return a?Array.from(a.children).filter(s=>s!==o&&ll(s,r.arg)):[]}let i=o.nextElementSibling;for(;i&&!ll(i,r.arg);)i=i.nextElementSibling;return i?[i]:[]}function $(e,t){if(typeof e=="string"){let s=Sa(e,void 0);return s!==void 0?$b(s,t):jb(e,t)}let r=Sa(e.selector,e.parent);if(r!==void 0)return $b(r,e.index??t);let n=e.parent?$(e.parent,e.parent.index):document.documentElement;if(!n)return null;let o=Ra(e.selector),i=Array.from(n.querySelectorAll(o)),a=e.index??t;return a==null?i[0]??null:a>=0?i[a]??null:i[i.length+a]??null}function ul(e){let t=e.tagName;return t==="INPUT"||t==="TEXTAREA"||t==="SELECT"}function Sr(e){if(e.tagName!=="INPUT"&&e.tagName!=="TEXTAREA")return null;let t=e;return t.tagName==="INPUT"&&Sl.includes(t.type)?null:typeof t.value=="string"?t.value:null}var xa=class{mockRules=[];consoleErrors=[];recordedNetwork=[];async waitForScopedEl(t,r){let n=$(t,r);if(n)return n;let o=null;if(!await globalThis.__TS_RUNTIME__.pollCondition(async()=>(o=$(t,r),o!==null),globalThis.__TS_RUNTIME__.getImplicitWaitMs())||!o)throw new Error("Element not found: "+Se(t));return o}async connect(){}async close(){}async navigate(t){throw new Error("Spectra.navigate() is not supported in component testing mode. Use Spectra.mount(<Component />) to render a component tree instead of navigating a URL.")}async setCookies(t,r){let n=Array.isArray(t)?t:[t];for(let o of n)typeof document<"u"&&(document.cookie=o)}async back(){throw new Error("Spectra.back() is not supported in component testing mode.")}async forward(){throw new Error("Spectra.forward() is not supported in component testing mode.")}async refresh(){throw new Error("Spectra.refresh() is not supported in component testing mode.")}async setViewport(t,r){try{window.resizeTo(t,r)}catch{}}async pause(t){await new Promise(r=>setTimeout(r,t))}async click(t,r=null){let n=await this.waitForScopedEl(t,r);await tt().click(n)}async doubleClick(t,r=null){let n=await this.waitForScopedEl(t,r);await tt().dblClick(n)}async rightClick(t,r=null){let n=await this.waitForScopedEl(t,r);await tt().pointer({keys:"[MouseRight]",target:n})}async setValue(t,r,n=null){let o=await this.waitForScopedEl(t,n);if(!ul(o))throw new Error("Element is not a form field: "+Se(t));if(o.tagName==="INPUT"&&o.type==="file")return this.upload(t,r,n);let i=String(r),a=tt();await a.clear(o);let s=Sr(o);if(i.length>0){if(await a.type(o,i),Mr(i,Sr(o),s))return;o.focus(),await a.clear(o),await a.type(o,i);let l=Sr(o);if(!Mr(i,l,s))throw La(Se(t),i,l??"")}}async typeText(t,r,n=null){let o=await this.waitForScopedEl(t,n);if(!ul(o))throw new Error("Element is not a form field: "+Se(t));let i=String(r??"");if(i.length===0)return;let a=Sr(o);await tt().type(o,i);let s=Sr(o);if(!Mr((a??"")+i,s,a))throw La(Se(t),i,s??"")}async upload(t,r,n=null){let o=await this.waitForScopedEl(t,n),i=Array.isArray(r)?r:[r],a=[],s={png:"image/png",jpg:"image/jpeg",jpeg:"image/jpeg",gif:"image/gif",svg:"image/svg+xml",webp:"image/webp",pdf:"application/pdf",json:"application/json",txt:"text/plain",csv:"text/csv"};for(let l of i)if(typeof l=="string"){let u="file.bin",c="application/octet-stream",d;if(l.startsWith("data:")){let m=l.indexOf(","),y=l.slice(0,m),T=l.slice(m+1),C=y.match(/data:([^;]+)/);C&&(c=C[1]);let P=y.match(/(?:name|filename)=([^;]+)/i);P?u=decodeURIComponent(P[1]):u=`fixture.${c.split("/")[1]||"bin"}`;try{let f=atob(T),g=new Uint8Array(f.length);for(let w=0;w<f.length;w++)g[w]=f.charCodeAt(w);d=new Blob([g],{type:c})}catch{d=new Blob([T],{type:c})}}else{u=l.split("?")[0].split("#")[0].split("/").pop()?.split("\\").pop()||"fixture.bin";let y=u.split(".").pop()?.toLowerCase()||"";c=s[y]||"application/octet-stream",d=new Blob(["Mock file content for "+u],{type:c})}a.push(new File([d],u,{type:c}))}else if(l instanceof File)a.push(l);else if(l&&typeof l=="object"&&"name"in l){let u=l,c=u.type||"application/octet-stream",d;if(u.base64)try{let m=atob(u.base64),y=new Uint8Array(m.length);for(let T=0;T<m.length;T++)y[T]=m.charCodeAt(T);d=new Blob([y],{type:c})}catch{d=new Blob([u.base64],{type:c})}else d=new Blob([u.content||"Mock content"],{type:c});a.push(new File([d],u.name,{type:c}))}if(a.length>0){let l=new DataTransfer;for(let u of a)l.items.add(u);o.files=l.files,o.dispatchEvent(new Event("input",{bubbles:!0})),o.dispatchEvent(new Event("change",{bubbles:!0}))}}async clearValue(t,r=null){let n=await this.waitForScopedEl(t,r);await tt().clear(n)}async select(t,r,n=null){if(!await globalThis.__TS_RUNTIME__.pollCondition(async()=>{let i=$(t,n);if(!i||i.tagName!=="SELECT")return!1;for(let a=0;a<i.options.length;a++){let s=i.options[a];if(s.text===r||s.value===r)return i.selectedIndex=a,i.dispatchEvent(new Event("change",{bubbles:!0})),!0}return!1}))throw new Error("Select option not found: "+JSON.stringify(r))}async hover(t,r=null){let n=await this.waitForScopedEl(t,r);await tt().hover(n)}async focus(t,r=null){if(!await globalThis.__TS_RUNTIME__.pollCondition(async()=>{let o=$(t,r);return o?(o.focus?.(),!0):!1}))throw new Error("Element not found: "+Se(t))}async blur(t,r=null){if(!await globalThis.__TS_RUNTIME__.pollCondition(async()=>{let o=$(t,r);return o?(o.blur?.(),!0):!1}))throw new Error("Element not found: "+Se(t))}async waitForElementRemoved(t,r=5e3,n=null){if(!await globalThis.__TS_RUNTIME__.pollCondition(async()=>!await this.isExisting(t,n),r))throw new Error("Element still exists after timeout: "+Se(t))}async waitForUndisplayed(t,r,n=null){if(!await globalThis.__TS_RUNTIME__.pollCondition(async()=>!await this.isDisplayed(t,n),r?.timeout??5e3))throw new Error("Element still displayed after timeout: "+Se(t))}async waitForClickable(t,r,n=null){return await globalThis.__TS_RUNTIME__.pollCondition(async()=>this.isClickable(t,n),r?.timeout??5e3)}async getBounds(t,r=null){let n=$(t,r);if(!n)return{x:0,y:0,top:0,right:0,bottom:0,left:0,width:0,height:0};let o=n.getBoundingClientRect();return{x:o.x,y:o.y,top:o.top,right:o.right,bottom:o.bottom,left:o.left,width:o.width,height:o.height}}async closest(t,r,n=null){let o=$(t,n);if(!o)return null;let i=o.closest(r);return i?i.tagName.toLowerCase():null}async clickAt(t,r){document.elementFromPoint(t,r)?.click()}async dragDrop(t,r,n=null){let o=$(t,n),i=jb(r,null);if(!o||!i)throw new Error("Drag source or destination not found");let a=new DataTransfer;o.dispatchEvent(new DragEvent("dragstart",{bubbles:!0,dataTransfer:a})),i.dispatchEvent(new DragEvent("dragover",{bubbles:!0,dataTransfer:a})),i.dispatchEvent(new DragEvent("drop",{bubbles:!0,dataTransfer:a})),o.dispatchEvent(new DragEvent("dragend",{bubbles:!0,dataTransfer:a}))}async longPress(t,r,n=null){let o=$(t,n);if(!o)throw new Error("Element not found: "+Se(t));o.dispatchEvent(new TouchEvent("touchstart",{bubbles:!0})),await this.pause(r),o.dispatchEvent(new TouchEvent("touchend",{bubbles:!0}))}async scrollIntoView(t,r=null){$(t,r)?.scrollIntoView({block:"center",inline:"center"})}async getText(t,r=null){let n=$(t,r);return n?n.textContent??"":""}async getValue(t,r=null){let n=$(t,r);return n?ul(n)?n.value??"":n.getAttribute("value")||"":""}async isDisplayed(t,r=null){let n=$(t,r);if(!n)return!1;let o=window.getComputedStyle(n);if(o.visibility==="hidden"||o.display==="none"||o.opacity==="0")return!1;let i=n.getBoundingClientRect();return i.width>0&&i.height>0||n.getClientRects().length>0||n.offsetWidth>0&&n.offsetHeight>0}async isExisting(t,r=null){return $(t,r)!==null}async isEnabled(t,r=null){let n=$(t,r);return n?!n.disabled&&!n.hasAttribute("disabled")&&!n.classList.contains("disabled")&&n.getAttribute("aria-disabled")!=="true":!1}async isSelected(t,r=null){let n=$(t,r);return n?!!n.checked||n.getAttribute("aria-checked")==="true"||n.getAttribute("data-state")==="checked":!1}async isFocused(t,r=null){let n=$(t,r);return n?document.activeElement===n||n.matches(":focus"):!1}async isClickable(t,r=null){let n=$(t,r);if(!n)return!1;let o=window.getComputedStyle(n);if(o.visibility==="hidden"||o.display==="none"||o.opacity==="0")return!1;let i=n.getBoundingClientRect();return i.width===0&&i.height===0?!1:!n.disabled&&!n.hasAttribute("disabled")&&!n.classList.contains("disabled")&&n.getAttribute("aria-disabled")!=="true"}async hasClass(t,r,n=null){let o=$(t,n);return o?o.classList.contains(r):!1}async getAttribute(t,r,n=null){let o=$(t,n);return o?o.getAttribute(r):null}async getCSSProperty(t,r,n=null){let o=$(t,n);return{value:o?window.getComputedStyle(o).getPropertyValue(r):""}}async count(t){if(typeof t=="string"){let o=Sa(t,void 0);return o!==void 0?o.length:document.querySelectorAll(Ra(t)).length}let r=Sa(t.selector,t.parent);if(r!==void 0)return r.length;let n=t.parent?$(t.parent,t.parent.index):document.documentElement;return n?n.querySelectorAll(Ra(t.selector)).length:0}async pressKey(t){let r=xl(t);if(r?.code){await tt().keyboard(`{${r.code}}`);return}let n=document.activeElement||document.body,o=String(t);n.dispatchEvent(new KeyboardEvent("keydown",{key:o,bubbles:!0})),n.dispatchEvent(new KeyboardEvent("keyup",{key:o,bubbles:!0}))}async scroll(t={}){if(t.selector){await this.scrollIntoView(String(t.selector),null);return}let r=t.direction||"down",n=t.pixels||500,o=r==="up"?-n:r==="down"?n:0,i=r==="left"?-n:r==="right"?n:0;window.scrollBy(i,o)}async swipe(t){let r=t.distance||300,n=t.direction==="up"?r:t.direction==="down"?-r:0,o=t.direction==="left"?r:t.direction==="right"?-r:0;window.scrollBy(o,n)}async grantPermission(t){}async getUrl(){return window.location.href}async getTitle(){return document.title}async execute(t,...r){if(typeof t=="function"){let n=r.map(o=>{let i=Ia(o);return i?$(i,null):o});return t(...n)}return new Function(`return (${t});`)()}async evaluate(t){return new Function(`return (${t});`)()}async waitUntil(t,r){let n=await globalThis.__TS_RUNTIME__.pollCondition(t,r?.timeout);if(!n)throw new Error(r?.timeoutMsg||"waitUntil() condition was not met in time");return n}async getLogs(t){return[]}async shouldHaveUrl(t){let r=await this.getUrl();if(r!==t)throw new Error(`Expected browser URL to be "${t}", but got "${r}"`)}async shouldContainUrl(t){let r=await this.getUrl();if(!r.includes(t))throw new Error(`Expected browser URL to contain "${t}", but got "${r}"`)}async shouldHaveTitle(t){let r=await this.getTitle();if(r!==t)throw new Error(`Expected page title to be "${t}", but got "${r}"`)}async shouldContainTitle(t){let r=await this.getTitle();if(!r.includes(t))throw new Error(`Expected page title to contain "${t}", but got "${r}"`)}async shouldBeLoaded(){if(document.readyState!=="complete"&&document.readyState!=="interactive")throw new Error(`Expected document to be loaded, but readyState is "${document.readyState}"`)}async shouldHaveNoConsoleErrors(){if(this.consoleErrors.length>0)throw new Error(`Expected no console errors, but found ${this.consoleErrors.length}: ${this.consoleErrors.join("; ")}`)}async clearCookies(){document.cookie.split(";").forEach(t=>{let r=t.split("=")[0]?.trim();r&&(document.cookie=`${r}=;expires=Thu, 01 Jan 1970 00:00:00 GMT;path=/`)})}async clearLocalStorage(){window.localStorage.clear()}async intercept(t,r,n,o){let i=Or(t,r,n,o);return Ub(()=>this.mockRules),this.mockRules.push(i),kr(i,()=>{let a=this.mockRules.indexOf(i);a!==-1&&this.mockRules.splice(a,1)})}clearMocks(){this.mockRules=[]}};var qa="spectra-root",vt=null,xr=null;async function Dq(){if(typeof window<"u"&&window.__TESTSPECTRA_CREATE_ROOT__)return window.__TESTSPECTRA_CREATE_ROOT__;if(xr)return xr;try{let e=await import("react-dom/client");if(xr=e.createRoot||e.default?.createRoot||e.default,xr)return xr}catch{}throw new Error("Could not find react-dom/client createRoot. Ensure react-dom is installed in your project.")}function Bq(){let e=document.getElementById(qa);return e||(e=document.createElement("div"),e.id=qa,document.body.appendChild(e)),e}function Hb(){if(vt){try{vt.unmount()}catch{try{vt.render(null)}catch{}}vt=null}let e=document.getElementById(qa);e&&(e.innerHTML="")}async function Vb(e){let t=Bq();vt||(vt=(await Dq())(t));let r=(typeof e.type=="string"?e.type:e.type?.displayName||e.type?.name)||"component";return globalThis.__TS_RUNTIME__.trackStep("action",{type:"action",key:"mount",target:r,args:[]},async()=>(vt.render(e),await new Promise(n=>setTimeout(n,20)),globalThis.__TS_RUNTIME__.createElementProxy(`#${qa}`)))}var Wb=new xa;dl(Wb);globalThis.browser=Wb;globalThis.$=function(e){return ue(e)};globalThis.$$=function(e){return Pe(e)};var cl=kl();cl.mount=Vb;cl.unmount=Hb;globalThis.Spectra=cl;(typeof globalThis.__vitest_browser_runner__<"u"||typeof globalThis.__vitest_worker__<"u")&&await Ha();typeof beforeEach=="function"&&beforeEach(e=>{let t=e?.task?.name||globalThis.__CURRENT_TEST_TITLE__;t&&(globalThis.__CURRENT_TEST_TITLE__=t,globalThis.__TS_RUNTIME__.emitEvent("TESTSPECTRA_TEST_START",JSON.stringify({title:t})))});typeof document<"u"&&document.addEventListener("click",e=>{e.target?.closest?.("a[href]")&&e.preventDefault()},!0);globalThis.__SPECTRA_READY__=!0;
64
64
  /*! Bundled license information:
65
65
 
66
66
  react-is/cjs/react-is.production.min.js: