@testspectra/react 1.3.6 → 1.3.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/setup.js +33 -33
  2. package/package.json +2 -2
package/dist/setup.js CHANGED
@@ -1,28 +1,28 @@
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?" ":`
1
+ var rv=Object.create;var Oa=Object.defineProperty;var nv=Object.getOwnPropertyDescriptor;var ov=Object.getOwnPropertyNames;var iv=Object.getPrototypeOf,av=Object.prototype.hasOwnProperty;var p=(e,t)=>()=>{try{return t||e((t={exports:{}}).exports,t),t.exports}catch(r){throw t=0,r}},sv=(e,t)=>{for(var r in t)Oa(e,r,{get:t[r],enumerable:!0})},lv=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of ov(t))!av.call(e,o)&&o!==r&&Oa(e,o,{get:()=>t[o],enumerable:!(n=nv(t,o))||n.enumerable});return e};var Ia=(e,t,r)=>(r=e!=null?rv(iv(e)):{},lv(t||!e||!e.__esModule?Oa(r,"default",{value:e,enumerable:!0}):r,e));var ts=p((Ik,lu)=>{"use strict";var au=(e=0)=>t=>`\x1B[${38+e};5;${t}m`,su=(e=0)=>(t,r,n)=>`\x1B[${38+e};2;${t};${r};${n}m`;function Av(){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=au(),t.color.ansi16m=su(),t.bgColor.ansi256=au(10),t.bgColor.ansi16m=su(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(lu,"exports",{enumerable:!0,get:Av})});var Vt=p(_t=>{"use strict";Object.defineProperty(_t,"__esModule",{value:!0});_t.printIteratorEntries=Mv;_t.printIteratorValues=Ov;_t.printListItems=Iv;_t.printObjectProperties=Nv;var kv=(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 Mv(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 Ov(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 Iv(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 Nv(e,t,r,n,o,i){let a="",s=kv(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 pu=p(Ue=>{"use strict";Object.defineProperty(Ue,"__esModule",{value:!0});Ue.test=Ue.serialize=Ue.default=void 0;var uu=Vt(),Kr=(function(){return typeof globalThis<"u"?globalThis:typeof Kr<"u"?Kr:typeof self<"u"?self:typeof window<"u"?window:Function("return this")()})(),rs=Kr["jest-symbol-do-not-touch"]||Kr.Symbol,Lv=typeof rs=="function"&&rs.for?rs.for("jest.asymmetricMatcher"):1267621,zr=" ",cu=(e,t,r,n,o,i)=>{let a=e.toString();return a==="ArrayContaining"||a==="ArrayNotContaining"?++n>t.maxDepth?"["+a+"]":a+zr+"["+(0,uu.printListItems)(e.sample,t,r,n,o,i)+"]":a==="ObjectContaining"||a==="ObjectNotContaining"?++n>t.maxDepth?"["+a+"]":a+zr+"{"+(0,uu.printObjectProperties)(e.sample,t,r,n,o,i)+"}":a==="StringMatching"||a==="StringNotMatching"||a==="StringContaining"||a==="StringNotContaining"?a+zr+i(e.sample,t,r,n,o):e.toAsymmetricMatcher()};Ue.serialize=cu;var du=e=>e&&e.$$typeof===Lv;Ue.test=du;var Dv={serialize:cu,test:du},Bv=Dv;Ue.default=Bv});var mu=p((Dk,fu)=>{"use strict";fu.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 gu=p($e=>{"use strict";Object.defineProperty($e,"__esModule",{value:!0});$e.test=$e.serialize=$e.default=void 0;var bu=vu(mu()),U=vu(ts());function vu(e){return e&&e.__esModule?e:{default:e}}var Fv=e=>e.replace((0,bu.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""}}),yu=e=>typeof e=="string"&&!!e.match((0,bu.default)());$e.test=yu;var hu=(e,t,r,n,o,i)=>i(Fv(e),t,r,n,o);$e.serialize=hu;var Uv={serialize:hu,test:yu},$v=Uv;$e.default=$v});var Tu=p(je=>{"use strict";Object.defineProperty(je,"__esModule",{value:!0});je.test=je.serialize=je.default=void 0;var Eu=Vt(),jv=" ",wu=["DOMStringMap","NamedNodeMap"],Hv=/^(HTML\w*Collection|NodeList)$/,Vv=e=>wu.indexOf(e)!==-1||Hv.test(e),_u=e=>e&&e.constructor&&!!e.constructor.name&&Vv(e.constructor.name);je.test=_u;var Wv=e=>e.constructor.name==="NamedNodeMap",Cu=(e,t,r,n,o,i)=>{let a=e.constructor.name;return++n>t.maxDepth?"["+a+"]":(t.min?"":a+jv)+(wu.indexOf(a)!==-1?"{"+(0,Eu.printObjectProperties)(Wv(e)?Array.from(e).reduce((s,l)=>(s[l.name]=l.value,s),{}):{...e},t,r,n,o,i)+"}":"["+(0,Eu.printListItems)(Array.from(e),t,r,n,o,i)+"]")};je.serialize=Cu;var zv={serialize:Cu,test:_u},Kv=zv;je.default=Kv});var Pu=p(ns=>{"use strict";Object.defineProperty(ns,"__esModule",{value:!0});ns.default=Gv;function Gv(e){return e.replace(/</g,"&lt;").replace(/>/g,"&gt;")}});var Gr=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 Ru=Xv(Pu());function Xv(e){return e&&e.__esModule?e:{default:e}}var Jv=(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=Jv;var Yv=(e,t,r,n,o,i)=>e.map(a=>t.spacingOuter+r+(typeof a=="string"?Su(a,t):i(a,t,r,n,o))).join("");ae.printChildren=Yv;var Su=(e,t)=>{let r=t.colors.content;return r.open+(0,Ru.default)(e)+r.close};ae.printText=Su;var Qv=(e,t)=>{let r=t.colors.comment;return r.open+"<!--"+(0,Ru.default)(e)+"-->"+r.close};ae.printComment=Qv;var Zv=(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=Zv;var ey=(e,t)=>{let r=t.colors.tag;return r.open+"<"+e+r.close+" \u2026"+r.open+" />"+r.close};ae.printElementAsLeaf=ey});var Ou=p(He=>{"use strict";Object.defineProperty(He,"__esModule",{value:!0});He.test=He.serialize=He.default=void 0;var Ct=Gr(),ty=1,xu=3,qu=8,Au=11,ry=/^((HTML|SVG)\w*)?Element$/,ny=e=>{try{return typeof e.hasAttribute=="function"&&e.hasAttribute("is")}catch{return!1}},oy=e=>{let t=e.constructor.name,{nodeType:r,tagName:n}=e,o=typeof n=="string"&&n.includes("-")||ny(e);return r===ty&&(ry.test(t)||o)||r===xu&&t==="Text"||r===qu&&t==="Comment"||r===Au&&t==="DocumentFragment"},ku=e=>{var t;return(e==null||(t=e.constructor)===null||t===void 0?void 0:t.name)&&oy(e)};He.test=ku;function iy(e){return e.nodeType===xu}function ay(e){return e.nodeType===qu}function os(e){return e.nodeType===Au}var Mu=(e,t,r,n,o,i)=>{if(iy(e))return(0,Ct.printText)(e.data,t);if(ay(e))return(0,Ct.printComment)(e.data,t);let a=os(e)?"DocumentFragment":e.tagName.toLowerCase();return++n>t.maxDepth?(0,Ct.printElementAsLeaf)(a,t):(0,Ct.printElement)(a,(0,Ct.printProps)(os(e)?[]:Array.from(e.attributes).map(s=>s.name).sort(),os(e)?{}:Array.from(e.attributes).reduce((s,l)=>(s[l.name]=l.value,s),{}),t,r+t.indent,n,o,i),(0,Ct.printChildren)(Array.prototype.slice.call(e.childNodes||e.children),t,r+t.indent,n,o,i),t,r)};He.serialize=Mu;var sy={serialize:Mu,test:ku},ly=sy;He.default=ly});var Bu=p(Ve=>{"use strict";Object.defineProperty(Ve,"__esModule",{value:!0});Ve.test=Ve.serialize=Ve.default=void 0;var Wt=Vt(),uy="@@__IMMUTABLE_ITERABLE__@@",cy="@@__IMMUTABLE_LIST__@@",dy="@@__IMMUTABLE_KEYED__@@",py="@@__IMMUTABLE_MAP__@@",Iu="@@__IMMUTABLE_ORDERED__@@",fy="@@__IMMUTABLE_RECORD__@@",my="@@__IMMUTABLE_SEQ__@@",by="@@__IMMUTABLE_SET__@@",vy="@@__IMMUTABLE_STACK__@@",Tt=e=>"Immutable."+e,Xr=e=>"["+e+"]",zt=" ",Nu="\u2026",yy=(e,t,r,n,o,i,a)=>++n>t.maxDepth?Xr(Tt(a)):Tt(a)+zt+"{"+(0,Wt.printIteratorEntries)(e.entries(),t,r,n,o,i)+"}";function hy(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 gy=(e,t,r,n,o,i)=>{let a=Tt(e._name||"Record");return++n>t.maxDepth?Xr(a):a+zt+"{"+(0,Wt.printIteratorEntries)(hy(e),t,r,n,o,i)+"}"},Ey=(e,t,r,n,o,i)=>{let a=Tt("Seq");return++n>t.maxDepth?Xr(a):e[dy]?a+zt+"{"+(e._iter||e._object?(0,Wt.printIteratorEntries)(e.entries(),t,r,n,o,i):Nu)+"}":a+zt+"["+(e._iter||e._array||e._collection||e._iterable?(0,Wt.printIteratorValues)(e.values(),t,r,n,o,i):Nu)+"]"},is=(e,t,r,n,o,i,a)=>++n>t.maxDepth?Xr(Tt(a)):Tt(a)+zt+"["+(0,Wt.printIteratorValues)(e.values(),t,r,n,o,i)+"]",Lu=(e,t,r,n,o,i)=>e[py]?yy(e,t,r,n,o,i,e[Iu]?"OrderedMap":"Map"):e[cy]?is(e,t,r,n,o,i,"List"):e[by]?is(e,t,r,n,o,i,e[Iu]?"OrderedSet":"Set"):e[vy]?is(e,t,r,n,o,i,"Stack"):e[my]?Ey(e,t,r,n,o,i):gy(e,t,r,n,o,i);Ve.serialize=Lu;var Du=e=>e&&(e[uy]===!0||e[fy]===!0);Ve.test=Du;var wy={serialize:Lu,test:Du},_y=wy;Ve.default=_y});var Vu=p(B=>{"use strict";var Jr=60103,Yr=60106,Kt=60107,Gt=60108,Xt=60114,Jt=60109,Yt=60110,Qt=60112,Zt=60113,as=60120,er=60115,tr=60116,Fu=60121,Uu=60122,$u=60117,ju=60129,Hu=60131;typeof Symbol=="function"&&Symbol.for&&(Q=Symbol.for,Jr=Q("react.element"),Yr=Q("react.portal"),Kt=Q("react.fragment"),Gt=Q("react.strict_mode"),Xt=Q("react.profiler"),Jt=Q("react.provider"),Yt=Q("react.context"),Qt=Q("react.forward_ref"),Zt=Q("react.suspense"),as=Q("react.suspense_list"),er=Q("react.memo"),tr=Q("react.lazy"),Fu=Q("react.block"),Uu=Q("react.server.block"),$u=Q("react.fundamental"),ju=Q("react.debug_trace_mode"),Hu=Q("react.legacy_hidden"));var Q;function ye(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case Jr:switch(e=e.type,e){case Kt:case Xt:case Gt:case Zt:case as:return e;default:switch(e=e&&e.$$typeof,e){case Yt:case Qt:case tr:case er:case Jt:return e;default:return t}}case Yr:return t}}}var Cy=Jt,Ty=Jr,Py=Qt,Ry=Kt,Sy=tr,xy=er,qy=Yr,Ay=Xt,ky=Gt,My=Zt;B.ContextConsumer=Yt;B.ContextProvider=Cy;B.Element=Ty;B.ForwardRef=Py;B.Fragment=Ry;B.Lazy=Sy;B.Memo=xy;B.Portal=qy;B.Profiler=Ay;B.StrictMode=ky;B.Suspense=My;B.isAsyncMode=function(){return!1};B.isConcurrentMode=function(){return!1};B.isContextConsumer=function(e){return ye(e)===Yt};B.isContextProvider=function(e){return ye(e)===Jt};B.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===Jr};B.isForwardRef=function(e){return ye(e)===Qt};B.isFragment=function(e){return ye(e)===Kt};B.isLazy=function(e){return ye(e)===tr};B.isMemo=function(e){return ye(e)===er};B.isPortal=function(e){return ye(e)===Yr};B.isProfiler=function(e){return ye(e)===Xt};B.isStrictMode=function(e){return ye(e)===Gt};B.isSuspense=function(e){return ye(e)===Zt};B.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===Kt||e===Xt||e===ju||e===Gt||e===Zt||e===as||e===Hu||typeof e=="object"&&e!==null&&(e.$$typeof===tr||e.$$typeof===er||e.$$typeof===Jt||e.$$typeof===Yt||e.$$typeof===Qt||e.$$typeof===$u||e.$$typeof===Fu||e[0]===Uu)};B.typeOf=ye});var zu=p((Wk,Wu)=>{"use strict";Wu.exports=Vu()});var Qu=p(We=>{"use strict";Object.defineProperty(We,"__esModule",{value:!0});We.test=We.serialize=We.default=void 0;var it=Oy(zu()),Qr=Gr();function Gu(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,r=new WeakMap;return(Gu=function(n){return n?r:t})(e)}function Oy(e,t){if(!t&&e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var r=Gu(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 Xu=(e,t=[])=>(Array.isArray(e)?e.forEach(r=>{Xu(r,t)}):e!=null&&e!==!1&&t.push(e),t),Ku=e=>{let t=e.type;if(typeof t=="string")return t;if(typeof t=="function")return t.displayName||t.name||"Unknown";if(it.isFragment(e))return"React.Fragment";if(it.isSuspense(e))return"React.Suspense";if(typeof t=="object"&&t!==null){if(it.isContextProvider(e))return"Context.Provider";if(it.isContextConsumer(e))return"Context.Consumer";if(it.isForwardRef(e)){if(t.displayName)return t.displayName;let r=t.render.displayName||t.render.name||"";return r!==""?"ForwardRef("+r+")":"ForwardRef"}if(it.isMemo(e)){let r=t.displayName||t.type.displayName||t.type.name||"";return r!==""?"Memo("+r+")":"Memo"}}return"UNDEFINED"},Iy=e=>{let{props:t}=e;return Object.keys(t).filter(r=>r!=="children"&&t[r]!==void 0).sort()},Ju=(e,t,r,n,o,i)=>++n>t.maxDepth?(0,Qr.printElementAsLeaf)(Ku(e),t):(0,Qr.printElement)(Ku(e),(0,Qr.printProps)(Iy(e),e.props,t,r+t.indent,n,o,i),(0,Qr.printChildren)(Xu(e.props.children),t,r+t.indent,n,o,i),t,r);We.serialize=Ju;var Yu=e=>e!=null&&it.isElement(e);We.test=Yu;var Ny={serialize:Ju,test:Yu},Ly=Ny;We.default=Ly});var tc=p(ze=>{"use strict";Object.defineProperty(ze,"__esModule",{value:!0});ze.test=ze.serialize=ze.default=void 0;var Zr=Gr(),en=(function(){return typeof globalThis<"u"?globalThis:typeof en<"u"?en:typeof self<"u"?self:typeof window<"u"?window:Function("return this")()})(),ss=en["jest-symbol-do-not-touch"]||en.Symbol,Dy=typeof ss=="function"&&ss.for?ss.for("react.test.json"):245830487,By=e=>{let{props:t}=e;return t?Object.keys(t).filter(r=>t[r]!==void 0).sort():[]},Zu=(e,t,r,n,o,i)=>++n>t.maxDepth?(0,Zr.printElementAsLeaf)(e.type,t):(0,Zr.printElement)(e.type,e.props?(0,Zr.printProps)(By(e),e.props,t,r+t.indent,n,o,i):"",e.children?(0,Zr.printChildren)(e.children,t,r+t.indent,n,o,i):"",t,r);ze.serialize=Zu;var ec=e=>e&&e.$$typeof===Dy;ze.test=ec;var Fy={serialize:Zu,test:ec},Uy=Fy;ze.default=Uy});var yc=p(xe=>{"use strict";Object.defineProperty(xe,"__esModule",{value:!0});xe.default=xe.DEFAULT_OPTIONS=void 0;xe.format=vc;xe.plugins=void 0;var $y=Ge(ts()),rr=Vt(),jy=Ge(pu()),Hy=Ge(gu()),Vy=Ge(Tu()),Wy=Ge(Ou()),zy=Ge(Bu()),Ky=Ge(Qu()),Gy=Ge(tc());function Ge(e){return e&&e.__esModule?e:{default:e}}var sc=Object.prototype.toString,Xy=Date.prototype.toISOString,Jy=Error.prototype.toString,rc=RegExp.prototype.toString,ls=e=>typeof e.constructor=="function"&&e.constructor.name||"Object",Yy=e=>typeof window<"u"&&e===window,Qy=/^Symbol\((.*)\)(.*)$/,Zy=/\n/gi,tn=class extends Error{constructor(t,r){super(t),this.stack=r,this.name=this.constructor.name}};function eh(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 th(e){return Object.is(e,-0)?"-0":String(e)}function rh(e){return`${e}n`}function nc(e,t){return t?"[Function "+(e.name||"anonymous")+"]":"[Function]"}function oc(e){return String(e).replace(Qy,"Symbol($1)")}function ic(e){return"["+Jy.call(e)+"]"}function lc(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 th(e);if(o==="bigint")return rh(e);if(o==="string")return n?'"'+e.replace(/"|\\/g,"\\$&")+'"':'"'+e+'"';if(o==="function")return nc(e,t);if(o==="symbol")return oc(e);let i=sc.call(e);return i==="[object WeakMap]"?"WeakMap {}":i==="[object WeakSet]"?"WeakSet {}":i==="[object Function]"||i==="[object GeneratorFunction]"?nc(e,t):i==="[object Symbol]"?oc(e):i==="[object Date]"?isNaN(+e)?"Date { NaN }":Xy.call(e):i==="[object Error]"?ic(e):i==="[object RegExp]"?r?rc.call(e).replace(/[\\^$*+?.()|[\]{}]/g,"\\$&"):rc.call(e):e instanceof Error?ic(e):null}function uc(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 Ke(e.toJSON(),t,r,n,o,!0);let l=sc.call(e);return l==="[object Arguments]"?a?"[Arguments]":(s?"":"Arguments ")+"["+(0,rr.printListItems)(e,t,r,n,o,Ke)+"]":eh(l)?a?"["+e.constructor.name+"]":(s||!t.printBasicPrototype&&e.constructor.name==="Array"?"":e.constructor.name+" ")+"["+(0,rr.printListItems)(e,t,r,n,o,Ke)+"]":l==="[object Map]"?a?"[Map]":"Map {"+(0,rr.printIteratorEntries)(e.entries(),t,r,n,o,Ke," => ")+"}":l==="[object Set]"?a?"[Set]":"Set {"+(0,rr.printIteratorValues)(e.values(),t,r,n,o,Ke)+"}":a||Yy(e)?"["+ls(e)+"]":(s||!t.printBasicPrototype&&ls(e)==="Object"?"":ls(e)+" ")+"{"+(0,rr.printObjectProperties)(e,t,r,n,o,Ke)+"}"}function nh(e){return e.serialize!=null}function cc(e,t,r,n,o,i){let a;try{a=nh(e)?e.serialize(t,r,n,o,i,Ke):e.print(t,s=>Ke(s,r,n,o,i),s=>{let l=n+r.indent;return l+s.replace(Zy,`
3
+ `+l)},{edgeSpacing:r.spacingOuter,min:r.min,spacing:r.spacingInner},r.colors)}catch(s){throw new tn(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 dc(e,t){for(let r=0;r<e.length;r++)try{if(e[r].test(t))return e[r]}catch(n){throw new tn(n.message,n.stack)}return null}function Ke(e,t,r,n,o,i){let a=dc(t.plugins,e);if(a!==null)return cc(a,e,t,r,n,o);let s=lc(e,t.printFunctionName,t.escapeRegex,t.escapeString);return s!==null?s:uc(e,t,r,n,o,i)}var us={comment:"gray",content:"reset",prop:"yellow",tag:"cyan",value:"green"},pc=Object.keys(us),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:us};xe.DEFAULT_OPTIONS=he;function oh(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 ih=e=>pc.reduce((t,r)=>{let n=e.theme&&e.theme[r]!==void 0?e.theme[r]:us[r],o=n&&$y.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)),ah=()=>pc.reduce((e,t)=>(e[t]={close:"",open:""},e),Object.create(null)),fc=e=>e&&e.printFunctionName!==void 0?e.printFunctionName:he.printFunctionName,mc=e=>e&&e.escapeRegex!==void 0?e.escapeRegex:he.escapeRegex,bc=e=>e&&e.escapeString!==void 0?e.escapeString:he.escapeString,ac=e=>{var t;return{callToJSON:e&&e.callToJSON!==void 0?e.callToJSON:he.callToJSON,colors:e&&e.highlight?ih(e):ah(),compareKeys:e&&typeof e.compareKeys=="function"?e.compareKeys:he.compareKeys,escapeRegex:mc(e),escapeString:bc(e),indent:e&&e.min?"":sh(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:fc(e),spacingInner:e&&e.min?" ":`
4
4
  `,spacingOuter:e&&e.min?"":`
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)+`
5
+ `}};function sh(e){return new Array(e+1).join(" ")}function vc(e,t){if(t&&(oh(t),t.plugins)){let n=dc(t.plugins,e);if(n!==null)return cc(n,e,ac(t),"",0,[])}let r=lc(e,fc(t),mc(t),bc(t));return r!==null?r:uc(e,ac(t),"",0,[])}var lh={AsymmetricMatcher:jy.default,ConvertAnsi:Hy.default,DOMCollection:Vy.default,DOMElement:Wy.default,Immutable:zy.default,ReactElement:Ky.default,ReactTestComponent:Gy.default};xe.plugins=lh;var uh=vc;xe.default=uh});var Uc=p(an=>{"use strict";Object.defineProperty(an,"__esModule",{value:!0});an.default=void 0;function $h(){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 jh=$h;an.default=jh});var Rt=p(ps=>{"use strict";Object.defineProperty(ps,"__esModule",{value:!0});ps.default=Wh;var Hh=Vh(Uc());function Vh(e){return e&&e.__esModule?e:{default:e}}function ds(e){"@babel/helpers - typeof";return ds=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},ds(e)}function Wh(e,t){return typeof Symbol=="function"&&ds(Symbol.iterator)==="symbol"&&Object.defineProperty(e,Symbol.iterator,{value:Hh.default.bind(t)}),e}});var Hc=p(sn=>{"use strict";Object.defineProperty(sn,"__esModule",{value:!0});sn.default=void 0;var zh=Kh(Rt());function Kh(e){return e&&e.__esModule?e:{default:e}}function fs(e,t){return Jh(e)||Xh(e,t)||jc(e,t)||Gh()}function Gh(){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 Xh(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 Jh(e){if(Array.isArray(e))return e}function Yh(e,t){var r=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=jc(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 jc(e,t){if(e){if(typeof e=="string")return $c(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 $c(e,t)}}function $c(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=[["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"}]],ms={entries:function(){return St},forEach:function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,n=Yh(St),o;try{for(n.s();!(o=n.n()).done;){var i=fs(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!!ms.get(t)},keys:function(){return St.map(function(t){var r=fs(t,1),n=r[0];return n})},values:function(){return St.map(function(t){var r=fs(t,2),n=r[1];return n})}},Qh=(0,zh.default)(ms,ms.entries());sn.default=Qh});var zc=p(ln=>{"use strict";Object.defineProperty(ln,"__esModule",{value:!0});ln.default=void 0;var Zh=eg(Rt());function eg(e){return e&&e.__esModule?e:{default:e}}function bs(e,t){return ng(e)||rg(e,t)||Wc(e,t)||tg()}function tg(){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 rg(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 ng(e){if(Array.isArray(e))return e}function og(e,t){var r=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=Wc(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 Wc(e,t){if(e){if(typeof e=="string")return Vc(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 Vc(e,t)}}function Vc(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 xt=[["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}]],vs={entries:function(){return xt},forEach:function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,n=og(xt),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,xt)}}catch(l){n.e(l)}finally{n.f()}},get:function(t){var r=xt.find(function(n){return n[0]===t});return r&&r[1]},has:function(t){return!!vs.get(t)},keys:function(){return xt.map(function(t){var r=bs(t,1),n=r[0];return n})},values:function(){return xt.map(function(t){var r=bs(t,2),n=r[1];return n})}},ig=(0,Zh.default)(vs,vs.entries());ln.default=ig});var Kc=p(un=>{"use strict";Object.defineProperty(un,"__esModule",{value:!0});un.default=void 0;var ag={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]},sg=ag;un.default=sg});var Gc=p(cn=>{"use strict";Object.defineProperty(cn,"__esModule",{value:!0});cn.default=void 0;var lg={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"]]},ug=lg;cn.default=ug});var Xc=p(dn=>{"use strict";Object.defineProperty(dn,"__esModule",{value:!0});dn.default=void 0;var cg={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"]]},dg=cg;dn.default=dg});var Jc=p(pn=>{"use strict";Object.defineProperty(pn,"__esModule",{value:!0});pn.default=void 0;var pg={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},fg=pg;pn.default=fg});var Yc=p(fn=>{"use strict";Object.defineProperty(fn,"__esModule",{value:!0});fn.default=void 0;var mg={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"]]},bg=mg;fn.default=bg});var Qc=p(mn=>{"use strict";Object.defineProperty(mn,"__esModule",{value:!0});mn.default=void 0;var vg={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:[]},yg=vg;mn.default=yg});var Zc=p(bn=>{"use strict";Object.defineProperty(bn,"__esModule",{value:!0});bn.default=void 0;var hg={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"]]},gg=hg;bn.default=gg});var ed=p(vn=>{"use strict";Object.defineProperty(vn,"__esModule",{value:!0});vn.default=void 0;var Eg={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},wg=Eg;vn.default=wg});var td=p(yn=>{"use strict";Object.defineProperty(yn,"__esModule",{value:!0});yn.default=void 0;var _g={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"]]},Cg=_g;yn.default=Cg});var rd=p(hn=>{"use strict";Object.defineProperty(hn,"__esModule",{value:!0});hn.default=void 0;var Tg={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]},Pg=Tg;hn.default=Pg});var nd=p(gn=>{"use strict";Object.defineProperty(gn,"__esModule",{value:!0});gn.default=void 0;var Rg={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]},Sg=Rg;gn.default=Sg});var od=p(En=>{"use strict";Object.defineProperty(En,"__esModule",{value:!0});En.default=void 0;var xg={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-modal":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]},qg=xg;En.default=qg});var id=p(wn=>{"use strict";Object.defineProperty(wn,"__esModule",{value:!0});wn.default=void 0;var Ag=fe(Kc()),kg=fe(Gc()),Mg=fe(Xc()),Og=fe(Jc()),Ig=fe(Yc()),Ng=fe(Qc()),Lg=fe(Zc()),Dg=fe(ed()),Bg=fe(td()),Fg=fe(rd()),Ug=fe(nd()),$g=fe(od());function fe(e){return e&&e.__esModule?e:{default:e}}var jg=[["command",Ag.default],["composite",kg.default],["input",Mg.default],["landmark",Og.default],["range",Ig.default],["roletype",Ng.default],["section",Lg.default],["sectionhead",Dg.default],["select",Bg.default],["structure",Fg.default],["widget",Ug.default],["window",$g.default]],Hg=jg;wn.default=Hg});var ad=p(_n=>{"use strict";Object.defineProperty(_n,"__esModule",{value:!0});_n.default=void 0;var Vg={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"]]},Wg=Vg;_n.default=Wg});var sd=p(Cn=>{"use strict";Object.defineProperty(Cn,"__esModule",{value:!0});Cn.default=void 0;var zg={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"]]},Kg=zg;Cn.default=Kg});var ld=p(Tn=>{"use strict";Object.defineProperty(Tn,"__esModule",{value:!0});Tn.default=void 0;var Gg={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"]]},Xg=Gg;Tn.default=Xg});var ud=p(Pn=>{"use strict";Object.defineProperty(Pn,"__esModule",{value:!0});Pn.default=void 0;var Jg={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"]]},Yg=Jg;Pn.default=Yg});var cd=p(Rn=>{"use strict";Object.defineProperty(Rn,"__esModule",{value:!0});Rn.default=void 0;var Qg={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"]]},Zg=Qg;Rn.default=Zg});var dd=p(Sn=>{"use strict";Object.defineProperty(Sn,"__esModule",{value:!0});Sn.default=void 0;var eE={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"]]},tE=eE;Sn.default=tE});var pd=p(xn=>{"use strict";Object.defineProperty(xn,"__esModule",{value:!0});xn.default=void 0;var rE={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"]]},nE=rE;xn.default=nE});var fd=p(qn=>{"use strict";Object.defineProperty(qn,"__esModule",{value:!0});qn.default=void 0;var oE={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"]]},iE=oE;qn.default=iE});var md=p(An=>{"use strict";Object.defineProperty(An,"__esModule",{value:!0});An.default=void 0;var aE={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"]]},sE=aE;An.default=sE});var bd=p(kn=>{"use strict";Object.defineProperty(kn,"__esModule",{value:!0});kn.default=void 0;var lE={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"]]},uE=lE;kn.default=uE});var vd=p(Mn=>{"use strict";Object.defineProperty(Mn,"__esModule",{value:!0});Mn.default=void 0;var cE={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"]]},dE=cE;Mn.default=dE});var yd=p(On=>{"use strict";Object.defineProperty(On,"__esModule",{value:!0});On.default=void 0;var pE={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"]]},fE=pE;On.default=fE});var hd=p(In=>{"use strict";Object.defineProperty(In,"__esModule",{value:!0});In.default=void 0;var mE={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"]]},bE=mE;In.default=bE});var gd=p(Nn=>{"use strict";Object.defineProperty(Nn,"__esModule",{value:!0});Nn.default=void 0;var vE={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"]]},yE=vE;Nn.default=yE});var Ed=p(Ln=>{"use strict";Object.defineProperty(Ln,"__esModule",{value:!0});Ln.default=void 0;var hE={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"]]},gE=hE;Ln.default=gE});var wd=p(Dn=>{"use strict";Object.defineProperty(Dn,"__esModule",{value:!0});Dn.default=void 0;var EE={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"]]},wE=EE;Dn.default=wE});var _d=p(Bn=>{"use strict";Object.defineProperty(Bn,"__esModule",{value:!0});Bn.default=void 0;var _E={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"]]},CE=_E;Bn.default=CE});var Cd=p(Fn=>{"use strict";Object.defineProperty(Fn,"__esModule",{value:!0});Fn.default=void 0;var TE={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"dialog"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","window"]]},PE=TE;Fn.default=PE});var Td=p(Un=>{"use strict";Object.defineProperty(Un,"__esModule",{value:!0});Un.default=void 0;var RE={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{module:"DAISY Guide"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","list"]]},SE=RE;Un.default=SE});var Pd=p($n=>{"use strict";Object.defineProperty($n,"__esModule",{value:!0});$n.default=void 0;var xE={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"]]},qE=xE;$n.default=qE});var Rd=p(jn=>{"use strict";Object.defineProperty(jn,"__esModule",{value:!0});jn.default=void 0;var AE={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"]]},kE=AE;jn.default=kE});var Sd=p(Hn=>{"use strict";Object.defineProperty(Hn,"__esModule",{value:!0});Hn.default=void 0;var ME={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["article"]],requiredProps:{},superClass:[["roletype","structure","section","list"]]},OE=ME;Hn.default=OE});var xd=p(Vn=>{"use strict";Object.defineProperty(Vn,"__esModule",{value:!0});Vn.default=void 0;var IE={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"]]},NE=IE;Vn.default=NE});var qd=p(Wn=>{"use strict";Object.defineProperty(Wn,"__esModule",{value:!0});Wn.default=void 0;var LE={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"]]},DE=LE;Wn.default=DE});var Ad=p(zn=>{"use strict";Object.defineProperty(zn,"__esModule",{value:!0});zn.default=void 0;var BE={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"]]},FE=BE;zn.default=FE});var kd=p(Kn=>{"use strict";Object.defineProperty(Kn,"__esModule",{value:!0});Kn.default=void 0;var UE={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"]]},$E=UE;Kn.default=$E});var Md=p(Gn=>{"use strict";Object.defineProperty(Gn,"__esModule",{value:!0});Gn.default=void 0;var jE={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"]]},HE=jE;Gn.default=HE});var Od=p(Xn=>{"use strict";Object.defineProperty(Xn,"__esModule",{value:!0});Xn.default=void 0;var VE={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"]]},WE=VE;Xn.default=WE});var Id=p(Jn=>{"use strict";Object.defineProperty(Jn,"__esModule",{value:!0});Jn.default=void 0;var zE={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"]]},KE=zE;Jn.default=KE});var Nd=p(Yn=>{"use strict";Object.defineProperty(Yn,"__esModule",{value:!0});Yn.default=void 0;var GE={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"]]},XE=GE;Yn.default=XE});var Ld=p(Qn=>{"use strict";Object.defineProperty(Qn,"__esModule",{value:!0});Qn.default=void 0;var JE={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"]]},YE=JE;Qn.default=YE});var Dd=p(Zn=>{"use strict";Object.defineProperty(Zn,"__esModule",{value:!0});Zn.default=void 0;var QE={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"]]},ZE=QE;Zn.default=ZE});var Bd=p(eo=>{"use strict";Object.defineProperty(eo,"__esModule",{value:!0});eo.default=void 0;var ew={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"]]},tw=ew;eo.default=tw});var Fd=p(to=>{"use strict";Object.defineProperty(to,"__esModule",{value:!0});to.default=void 0;var rw={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"]]},nw=rw;to.default=nw});var Ud=p(ro=>{"use strict";Object.defineProperty(ro,"__esModule",{value:!0});ro.default=void 0;var ow={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"]]},iw=ow;ro.default=iw});var $d=p(no=>{"use strict";Object.defineProperty(no,"__esModule",{value:!0});no.default=void 0;var aw={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-live":"polite"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},sw=aw;no.default=sw});var jd=p(oo=>{"use strict";Object.defineProperty(oo,"__esModule",{value:!0});oo.default=void 0;var lw={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"]]},uw=lw;oo.default=uw});var Hd=p(io=>{"use strict";Object.defineProperty(io,"__esModule",{value:!0});io.default=void 0;var cw={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"]]},dw=cw;io.default=dw});var Vd=p(ao=>{"use strict";Object.defineProperty(ao,"__esModule",{value:!0});ao.default=void 0;var pw={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},fw=pw;ao.default=fw});var Wd=p(so=>{"use strict";Object.defineProperty(so,"__esModule",{value:!0});so.default=void 0;var mw={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"]]},bw=mw;so.default=bw});var zd=p(lo=>{"use strict";Object.defineProperty(lo,"__esModule",{value:!0});lo.default=void 0;var vw={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"]]},yw=vw;lo.default=yw});var Kd=p(uo=>{"use strict";Object.defineProperty(uo,"__esModule",{value:!0});uo.default=void 0;var hw={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"]]},gw=hw;uo.default=gw});var Gd=p(co=>{"use strict";Object.defineProperty(co,"__esModule",{value:!0});co.default=void 0;var Ew={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"]]},ww=Ew;co.default=ww});var Xd=p(po=>{"use strict";Object.defineProperty(po,"__esModule",{value:!0});po.default=void 0;var _w={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"]]},Cw=_w;po.default=Cw});var Jd=p(fo=>{"use strict";Object.defineProperty(fo,"__esModule",{value:!0});fo.default=void 0;var Tw={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"]]},Pw=Tw;fo.default=Pw});var Yd=p(mo=>{"use strict";Object.defineProperty(mo,"__esModule",{value:!0});mo.default=void 0;var Rw={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"]]},Sw=Rw;mo.default=Sw});var Qd=p(bo=>{"use strict";Object.defineProperty(bo,"__esModule",{value:!0});bo.default=void 0;var xw={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"]]},qw=xw;bo.default=qw});var Zd=p(vo=>{"use strict";Object.defineProperty(vo,"__esModule",{value:!0});vo.default=void 0;var Aw={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[]},kw=Aw;vo.default=kw});var ep=p(yo=>{"use strict";Object.defineProperty(yo,"__esModule",{value:!0});yo.default=void 0;var Mw={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},Ow=Mw;yo.default=Ow});var tp=p(ho=>{"use strict";Object.defineProperty(ho,"__esModule",{value:!0});ho.default=void 0;var Iw={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"]]},Nw=Iw;ho.default=Nw});var rp=p(go=>{"use strict";Object.defineProperty(go,"__esModule",{value:!0});go.default=void 0;var Lw={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"]]},Dw=Lw;go.default=Dw});var np=p(Eo=>{"use strict";Object.defineProperty(Eo,"__esModule",{value:!0});Eo.default=void 0;var Bw={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"]]},Fw=Bw;Eo.default=Fw});var op=p(wo=>{"use strict";Object.defineProperty(wo,"__esModule",{value:!0});wo.default=void 0;var Uw={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"]]},$w=Uw;wo.default=$w});var ip=p(_o=>{"use strict";Object.defineProperty(_o,"__esModule",{value:!0});_o.default=void 0;var jw={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"]]},Hw=jw;_o.default=Hw});var ap=p(Co=>{"use strict";Object.defineProperty(Co,"__esModule",{value:!0});Co.default=void 0;var Vw={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"]]},Ww=Vw;Co.default=Ww});var sp=p(To=>{"use strict";Object.defineProperty(To,"__esModule",{value:!0});To.default=void 0;var zw={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"]]},Kw=zw;To.default=Kw});var lp=p(Po=>{"use strict";Object.defineProperty(Po,"__esModule",{value:!0});Po.default=void 0;var Gw={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"]]},Xw=Gw;Po.default=Xw});var up=p(Ro=>{"use strict";Object.defineProperty(Ro,"__esModule",{value:!0});Ro.default=void 0;var Jw={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"]]},Yw=Jw;Ro.default=Yw});var cp=p(So=>{"use strict";Object.defineProperty(So,"__esModule",{value:!0});So.default=void 0;var Qw={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"]]},Zw=Qw;So.default=Zw});var dp=p(xo=>{"use strict";Object.defineProperty(xo,"__esModule",{value:!0});xo.default=void 0;var e_={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"]]},t_=e_;xo.default=t_});var pp=p(qo=>{"use strict";Object.defineProperty(qo,"__esModule",{value:!0});qo.default=void 0;var r_={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},n_=r_;qo.default=n_});var fp=p(Ao=>{"use strict";Object.defineProperty(Ao,"__esModule",{value:!0});Ao.default=void 0;var o_={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"]]},i_=o_;Ao.default=i_});var mp=p(ko=>{"use strict";Object.defineProperty(ko,"__esModule",{value:!0});ko.default=void 0;var a_={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"]]},s_=a_;ko.default=s_});var bp=p(Mo=>{"use strict";Object.defineProperty(Mo,"__esModule",{value:!0});Mo.default=void 0;var l_={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"]]},u_=l_;Mo.default=u_});var vp=p(Oo=>{"use strict";Object.defineProperty(Oo,"__esModule",{value:!0});Oo.default=void 0;var c_={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"]]},d_=c_;Oo.default=d_});var yp=p(Io=>{"use strict";Object.defineProperty(Io,"__esModule",{value:!0});Io.default=void 0;var p_={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"]]},f_=p_;Io.default=f_});var hp=p(No=>{"use strict";Object.defineProperty(No,"__esModule",{value:!0});No.default=void 0;var m_={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"]]},b_=m_;No.default=b_});var gp=p(Lo=>{"use strict";Object.defineProperty(Lo,"__esModule",{value:!0});Lo.default=void 0;var v_={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"]]},y_=v_;Lo.default=y_});var Ep=p(Do=>{"use strict";Object.defineProperty(Do,"__esModule",{value:!0});Do.default=void 0;var h_={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"]]},g_=h_;Do.default=g_});var wp=p(Bo=>{"use strict";Object.defineProperty(Bo,"__esModule",{value:!0});Bo.default=void 0;var E_={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"]]},w_=E_;Bo.default=w_});var _p=p(Fo=>{"use strict";Object.defineProperty(Fo,"__esModule",{value:!0});Fo.default=void 0;var __={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"]]},C_=__;Fo.default=C_});var Cp=p(Uo=>{"use strict";Object.defineProperty(Uo,"__esModule",{value:!0});Uo.default=void 0;var T_={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"]]},P_=T_;Uo.default=P_});var Tp=p($o=>{"use strict";Object.defineProperty($o,"__esModule",{value:!0});$o.default=void 0;var R_={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"]]},S_=R_;$o.default=S_});var Pp=p(jo=>{"use strict";Object.defineProperty(jo,"__esModule",{value:!0});jo.default=void 0;var x_={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},q_=x_;jo.default=q_});var Rp=p(Ho=>{"use strict";Object.defineProperty(Ho,"__esModule",{value:!0});Ho.default=void 0;var A_={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"]]},k_=A_;Ho.default=k_});var Sp=p(Vo=>{"use strict";Object.defineProperty(Vo,"__esModule",{value:!0});Vo.default=void 0;var M_={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"]]},O_=M_;Vo.default=O_});var xp=p(Wo=>{"use strict";Object.defineProperty(Wo,"__esModule",{value:!0});Wo.default=void 0;var I_={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"]]},N_=I_;Wo.default=N_});var qp=p(zo=>{"use strict";Object.defineProperty(zo,"__esModule",{value:!0});zo.default=void 0;var L_={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","status"]]},D_=L_;zo.default=D_});var Ap=p(Ko=>{"use strict";Object.defineProperty(Ko,"__esModule",{value:!0});Ko.default=void 0;var B_={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"]]},F_=B_;Ko.default=F_});var kp=p(Go=>{"use strict";Object.defineProperty(Go,"__esModule",{value:!0});Go.default=void 0;var U_={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},$_=U_;Go.default=$_});var Mp=p(Xo=>{"use strict";Object.defineProperty(Xo,"__esModule",{value:!0});Xo.default=void 0;var j_={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"]]},H_=j_;Xo.default=H_});var Op=p(Jo=>{"use strict";Object.defineProperty(Jo,"__esModule",{value:!0});Jo.default=void 0;var V_={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"]]},W_=V_;Jo.default=W_});var Ip=p(Yo=>{"use strict";Object.defineProperty(Yo,"__esModule",{value:!0});Yo.default=void 0;var z_={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"]]},K_=z_;Yo.default=K_});var Np=p(Qo=>{"use strict";Object.defineProperty(Qo,"__esModule",{value:!0});Qo.default=void 0;var G_=_(ad()),X_=_(sd()),J_=_(ld()),Y_=_(ud()),Q_=_(cd()),Z_=_(dd()),eC=_(pd()),tC=_(fd()),rC=_(md()),nC=_(bd()),oC=_(vd()),iC=_(yd()),aC=_(hd()),sC=_(gd()),lC=_(Ed()),uC=_(wd()),cC=_(_d()),dC=_(Cd()),pC=_(Td()),fC=_(Pd()),mC=_(Rd()),bC=_(Sd()),vC=_(xd()),yC=_(qd()),hC=_(Ad()),gC=_(kd()),EC=_(Md()),wC=_(Od()),_C=_(Id()),CC=_(Nd()),TC=_(Ld()),PC=_(Dd()),RC=_(Bd()),SC=_(Fd()),xC=_(Ud()),qC=_($d()),AC=_(jd()),kC=_(Hd()),MC=_(Vd()),OC=_(Wd()),IC=_(zd()),NC=_(Kd()),LC=_(Gd()),DC=_(Xd()),BC=_(Jd()),FC=_(Yd()),UC=_(Qd()),$C=_(Zd()),jC=_(ep()),HC=_(tp()),VC=_(rp()),WC=_(np()),zC=_(op()),KC=_(ip()),GC=_(ap()),XC=_(sp()),JC=_(lp()),YC=_(up()),QC=_(cp()),ZC=_(dp()),eT=_(pp()),tT=_(fp()),rT=_(mp()),nT=_(bp()),oT=_(vp()),iT=_(yp()),aT=_(hp()),sT=_(gp()),lT=_(Ep()),uT=_(wp()),cT=_(_p()),dT=_(Cp()),pT=_(Tp()),fT=_(Pp()),mT=_(Rp()),bT=_(Sp()),vT=_(xp()),yT=_(qp()),hT=_(Ap()),gT=_(kp()),ET=_(Mp()),wT=_(Op()),_T=_(Ip());function _(e){return e&&e.__esModule?e:{default:e}}var CT=[["alert",G_.default],["alertdialog",X_.default],["application",J_.default],["article",Y_.default],["banner",Q_.default],["blockquote",Z_.default],["button",eC.default],["caption",tC.default],["cell",rC.default],["checkbox",nC.default],["code",oC.default],["columnheader",iC.default],["combobox",aC.default],["complementary",sC.default],["contentinfo",lC.default],["definition",uC.default],["deletion",cC.default],["dialog",dC.default],["directory",pC.default],["document",fC.default],["emphasis",mC.default],["feed",bC.default],["figure",vC.default],["form",yC.default],["generic",hC.default],["grid",gC.default],["gridcell",EC.default],["group",wC.default],["heading",_C.default],["img",CC.default],["insertion",TC.default],["link",PC.default],["list",RC.default],["listbox",SC.default],["listitem",xC.default],["log",qC.default],["main",AC.default],["mark",kC.default],["marquee",MC.default],["math",OC.default],["menu",IC.default],["menubar",NC.default],["menuitem",LC.default],["menuitemcheckbox",DC.default],["menuitemradio",BC.default],["meter",FC.default],["navigation",UC.default],["none",$C.default],["note",jC.default],["option",HC.default],["paragraph",VC.default],["presentation",WC.default],["progressbar",zC.default],["radio",KC.default],["radiogroup",GC.default],["region",XC.default],["row",JC.default],["rowgroup",YC.default],["rowheader",QC.default],["scrollbar",ZC.default],["search",eT.default],["searchbox",tT.default],["separator",rT.default],["slider",nT.default],["spinbutton",oT.default],["status",iT.default],["strong",aT.default],["subscript",sT.default],["superscript",lT.default],["switch",uT.default],["tab",cT.default],["table",dT.default],["tablist",pT.default],["tabpanel",fT.default],["term",mT.default],["textbox",bT.default],["time",vT.default],["timer",yT.default],["toolbar",hT.default],["tooltip",gT.default],["tree",ET.default],["treegrid",wT.default],["treeitem",_T.default]],TT=CT;Qo.default=TT});var Lp=p(Zo=>{"use strict";Object.defineProperty(Zo,"__esModule",{value:!0});Zo.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:"abstract [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},RT=PT;Zo.default=RT});var Dp=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:"acknowledgments [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},xT=ST;ei.default=xT});var Bp=p(ti=>{"use strict";Object.defineProperty(ti,"__esModule",{value:!0});ti.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:"afterword [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},AT=qT;ti.default=AT});var Fp=p(ri=>{"use strict";Object.defineProperty(ri,"__esModule",{value:!0});ri.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:"appendix [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},MT=kT;ri.default=MT});var Up=p(ni=>{"use strict";Object.defineProperty(ni,"__esModule",{value:!0});ni.default=void 0;var OT={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"]]},IT=OT;ni.default=IT});var $p=p(oi=>{"use strict";Object.defineProperty(oi,"__esModule",{value:!0});oi.default=void 0;var NT={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"]]},LT=NT;oi.default=LT});var jp=p(ii=>{"use strict";Object.defineProperty(ii,"__esModule",{value:!0});ii.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:"bibliography [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["doc-biblioentry"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},BT=DT;ii.default=BT});var Hp=p(ai=>{"use strict";Object.defineProperty(ai,"__esModule",{value:!0});ai.default=void 0;var FT={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"]]},UT=FT;ai.default=UT});var Vp=p(si=>{"use strict";Object.defineProperty(si,"__esModule",{value:!0});si.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:"chapter [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},jT=$T;si.default=jT});var Wp=p(li=>{"use strict";Object.defineProperty(li,"__esModule",{value:!0});li.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:"colophon [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},VT=HT;li.default=VT});var zp=p(ui=>{"use strict";Object.defineProperty(ui,"__esModule",{value:!0});ui.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:"conclusion [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},zT=WT;ui.default=zT});var Kp=p(ci=>{"use strict";Object.defineProperty(ci,"__esModule",{value:!0});ci.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:"cover [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","img"]]},GT=KT;ci.default=GT});var Gp=p(di=>{"use strict";Object.defineProperty(di,"__esModule",{value:!0});di.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:"credit [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},JT=XT;di.default=JT});var Xp=p(pi=>{"use strict";Object.defineProperty(pi,"__esModule",{value:!0});pi.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:"credits [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},QT=YT;pi.default=QT});var Jp=p(fi=>{"use strict";Object.defineProperty(fi,"__esModule",{value:!0});fi.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:[{concept:{name:"dedication [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},eP=ZT;fi.default=eP});var Yp=p(mi=>{"use strict";Object.defineProperty(mi,"__esModule",{value:!0});mi.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:"rearnote [EPUB-SSV]"},module:"EPUB"}],requireContextRole:["doc-endnotes"],requiredContextRole:["doc-endnotes"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","listitem"]]},rP=tP;mi.default=rP});var Qp=p(bi=>{"use strict";Object.defineProperty(bi,"__esModule",{value:!0});bi.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:"rearnotes [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["doc-endnote"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},oP=nP;bi.default=oP});var Zp=p(vi=>{"use strict";Object.defineProperty(vi,"__esModule",{value:!0});vi.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:"epigraph [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},aP=iP;vi.default=aP});var ef=p(yi=>{"use strict";Object.defineProperty(yi,"__esModule",{value:!0});yi.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:"epilogue [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},lP=sP;yi.default=lP});var tf=p(hi=>{"use strict";Object.defineProperty(hi,"__esModule",{value:!0});hi.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:"errata [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},cP=uP;hi.default=cP});var rf=p(gi=>{"use strict";Object.defineProperty(gi,"__esModule",{value:!0});gi.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:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},pP=dP;gi.default=pP});var nf=p(Ei=>{"use strict";Object.defineProperty(Ei,"__esModule",{value:!0});Ei.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:"footnote [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},mP=fP;Ei.default=mP});var of=p(wi=>{"use strict";Object.defineProperty(wi,"__esModule",{value:!0});wi.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:"foreword [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},vP=bP;wi.default=vP});var af=p(_i=>{"use strict";Object.defineProperty(_i,"__esModule",{value:!0});_i.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:"glossary [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["definition"],["term"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},hP=yP;_i.default=hP});var sf=p(Ci=>{"use strict";Object.defineProperty(Ci,"__esModule",{value:!0});Ci.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:"glossref [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]},EP=gP;Ci.default=EP});var lf=p(Ti=>{"use strict";Object.defineProperty(Ti,"__esModule",{value:!0});Ti.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:"index [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]},_P=wP;Ti.default=_P});var uf=p(Pi=>{"use strict";Object.defineProperty(Pi,"__esModule",{value:!0});Pi.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:"introduction [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},TP=CP;Pi.default=TP});var cf=p(Ri=>{"use strict";Object.defineProperty(Ri,"__esModule",{value:!0});Ri.default=void 0;var PP={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"]]},RP=PP;Ri.default=RP});var df=p(Si=>{"use strict";Object.defineProperty(Si,"__esModule",{value:!0});Si.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:"notice [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","note"]]},xP=SP;Si.default=xP});var pf=p(xi=>{"use strict";Object.defineProperty(xi,"__esModule",{value:!0});xi.default=void 0;var qP={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"]]},AP=qP;xi.default=AP});var ff=p(qi=>{"use strict";Object.defineProperty(qi,"__esModule",{value:!0});qi.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:"page-list [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]},MP=kP;qi.default=MP});var mf=p(Ai=>{"use strict";Object.defineProperty(Ai,"__esModule",{value:!0});Ai.default=void 0;var OP={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"]]},IP=OP;Ai.default=IP});var bf=p(ki=>{"use strict";Object.defineProperty(ki,"__esModule",{value:!0});ki.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:"preface [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},LP=NP;ki.default=LP});var vf=p(Mi=>{"use strict";Object.defineProperty(Mi,"__esModule",{value:!0});Mi.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:"prologue [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},BP=DP;Mi.default=BP});var yf=p(Oi=>{"use strict";Object.defineProperty(Oi,"__esModule",{value:!0});Oi.default=void 0;var FP={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"]]},UP=FP;Oi.default=UP});var hf=p(Ii=>{"use strict";Object.defineProperty(Ii,"__esModule",{value:!0});Ii.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:"qna [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},jP=$P;Ii.default=jP});var gf=p(Ni=>{"use strict";Object.defineProperty(Ni,"__esModule",{value:!0});Ni.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:"subtitle [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","sectionhead"]]},VP=HP;Ni.default=VP});var Ef=p(Li=>{"use strict";Object.defineProperty(Li,"__esModule",{value:!0});Li.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:"help [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","note"]]},zP=WP;Li.default=zP});var wf=p(Di=>{"use strict";Object.defineProperty(Di,"__esModule",{value:!0});Di.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:"toc [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]},GP=KP;Di.default=GP});var _f=p(Bi=>{"use strict";Object.defineProperty(Bi,"__esModule",{value:!0});Bi.default=void 0;var XP=M(Lp()),JP=M(Dp()),YP=M(Bp()),QP=M(Fp()),ZP=M(Up()),eR=M($p()),tR=M(jp()),rR=M(Hp()),nR=M(Vp()),oR=M(Wp()),iR=M(zp()),aR=M(Kp()),sR=M(Gp()),lR=M(Xp()),uR=M(Jp()),cR=M(Yp()),dR=M(Qp()),pR=M(Zp()),fR=M(ef()),mR=M(tf()),bR=M(rf()),vR=M(nf()),yR=M(of()),hR=M(af()),gR=M(sf()),ER=M(lf()),wR=M(uf()),_R=M(cf()),CR=M(df()),TR=M(pf()),PR=M(ff()),RR=M(mf()),SR=M(bf()),xR=M(vf()),qR=M(yf()),AR=M(hf()),kR=M(gf()),MR=M(Ef()),OR=M(wf());function M(e){return e&&e.__esModule?e:{default:e}}var IR=[["doc-abstract",XP.default],["doc-acknowledgments",JP.default],["doc-afterword",YP.default],["doc-appendix",QP.default],["doc-backlink",ZP.default],["doc-biblioentry",eR.default],["doc-bibliography",tR.default],["doc-biblioref",rR.default],["doc-chapter",nR.default],["doc-colophon",oR.default],["doc-conclusion",iR.default],["doc-cover",aR.default],["doc-credit",sR.default],["doc-credits",lR.default],["doc-dedication",uR.default],["doc-endnote",cR.default],["doc-endnotes",dR.default],["doc-epigraph",pR.default],["doc-epilogue",fR.default],["doc-errata",mR.default],["doc-example",bR.default],["doc-footnote",vR.default],["doc-foreword",yR.default],["doc-glossary",hR.default],["doc-glossref",gR.default],["doc-index",ER.default],["doc-introduction",wR.default],["doc-noteref",_R.default],["doc-notice",CR.default],["doc-pagebreak",TR.default],["doc-pagelist",PR.default],["doc-part",RR.default],["doc-preface",SR.default],["doc-prologue",xR.default],["doc-pullquote",qR.default],["doc-qna",AR.default],["doc-subtitle",kR.default],["doc-tip",MR.default],["doc-toc",OR.default]],NR=IR;Bi.default=NR});var Cf=p(Fi=>{"use strict";Object.defineProperty(Fi,"__esModule",{value:!0});Fi.default=void 0;var LR={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"]]},DR=LR;Fi.default=DR});var Tf=p(Ui=>{"use strict";Object.defineProperty(Ui,"__esModule",{value:!0});Ui.default=void 0;var BR={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"]]},FR=BR;Ui.default=FR});var Pf=p($i=>{"use strict";Object.defineProperty($i,"__esModule",{value:!0});$i.default=void 0;var UR={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"]]},$R=UR;$i.default=$R});var Rf=p(ji=>{"use strict";Object.defineProperty(ji,"__esModule",{value:!0});ji.default=void 0;var jR=ys(Cf()),HR=ys(Tf()),VR=ys(Pf());function ys(e){return e&&e.__esModule?e:{default:e}}var WR=[["graphics-document",jR.default],["graphics-object",HR.default],["graphics-symbol",VR.default]],zR=WR;ji.default=zR});var Vi=p(Hi=>{"use strict";Object.defineProperty(Hi,"__esModule",{value:!0});Hi.default=void 0;var KR=lr(id()),GR=lr(Np()),XR=lr(_f()),JR=lr(Rf()),YR=lr(Rt());function lr(e){return e&&e.__esModule?e:{default:e}}function QR(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function hs(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.
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 sr(e,t){return tS(e)||eS(e,t)||xf(e,t)||ZR()}function ZR(){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 xf(e,t){if(e){if(typeof e=="string")return Sf(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Sf(e,t)}}function Sf(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function eS(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 tS(e){if(Array.isArray(e))return e}var Xe=[].concat(KR.default,GR.default,XR.default,JR.default);Xe.forEach(function(e){var t=sr(e,2),r=t[1],n=hs(r.superClass),o;try{for(n.s();!(o=n.n()).done;){var i=o.value,a=hs(i),s;try{var l=function(){var c=s.value,d=Xe.find(function(P){var f=sr(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,QR({},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 gs={entries:function(){return Xe},forEach:function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,n=hs(Xe),o;try{for(n.s();!(o=n.n()).done;){var i=sr(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 n[0]===t});return r&&r[1]},has:function(t){return!!gs.get(t)},keys:function(){return Xe.map(function(t){var r=sr(t,1),n=r[0];return n})},values:function(){return Xe.map(function(t){var r=sr(t,2),n=r[1];return n})}},rS=(0,YR.default)(gs,gs.entries());Hi.default=rS});var kf=p(Af=>{var qf=Object.prototype.hasOwnProperty;function Es(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--&&Es(e[n],t[n]););return n===-1}if(!r||typeof e=="object"){n=0;for(r in e)if(qf.call(e,r)&&++n&&!qf.call(t,r)||!(r in t)||!Es(e[r],t[r]))return!1;return Object.keys(t).length===n}}return e!==e&&t!==t}Af.dequal=Es});var Bf=p(Xi=>{"use strict";Object.defineProperty(Xi,"__esModule",{value:!0});Xi.default=void 0;var If=kf(),nS=Lf(Rt()),Nf=Lf(Vi());function Lf(e){return e&&e.__esModule?e:{default:e}}function ws(e,t){return aS(e)||iS(e,t)||Df(e,t)||oS()}function oS(){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 iS(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 aS(e){if(Array.isArray(e))return e}function sS(e,t){var r=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=Df(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 Df(e,t){if(e){if(typeof e=="string")return Mf(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 Mf(e,t)}}function Mf(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 Je=[],Of=Nf.default.keys();for(Wi=0;Wi<Of.length;Wi++)if(zi=Of[Wi],Ki=Nf.default.get(zi),Ki)for(_s=[].concat(Ki.baseConcepts,Ki.relatedConcepts),Gi=0;Gi<_s.length;Gi++)Cs=_s[Gi],Cs.module==="HTML"&&(function(){var e=Cs.concept;if(e){var t=Je.find(function(i){return(0,If.dequal)(i,e)}),r;t?r=t[1]:r=[];for(var n=!0,o=0;o<r.length;o++)if(r[o]===zi){n=!1;break}n&&r.push(zi),Je.push([e,r])}})();var zi,Ki,_s,Cs,Gi,Wi,Ts={entries:function(){return Je},forEach:function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,n=sS(Je),o;try{for(n.s();!(o=n.n()).done;){var i=ws(o.value,2),a=i[0],s=i[1];t.call(r,s,a,Je)}}catch(l){n.e(l)}finally{n.f()}},get:function(t){var r=Je.find(function(n){return t.name===n[0].name&&(0,If.dequal)(t.attributes,n[0].attributes)});return r&&r[1]},has:function(t){return!!Ts.get(t)},keys:function(){return Je.map(function(t){var r=ws(t,1),n=r[0];return n})},values:function(){return Je.map(function(t){var r=ws(t,2),n=r[1];return n})}},lS=(0,nS.default)(Ts,Ts.entries());Xi.default=lS});var Vf=p(ea=>{"use strict";Object.defineProperty(ea,"__esModule",{value:!0});ea.default=void 0;var uS=jf(Rt()),$f=jf(Vi());function jf(e){return e&&e.__esModule?e:{default:e}}function Ps(e,t){return pS(e)||dS(e,t)||Hf(e,t)||cS()}function cS(){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 dS(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 pS(e){if(Array.isArray(e))return e}function fS(e,t){var r=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=Hf(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 Hf(e,t){if(e){if(typeof e=="string")return Ff(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 Ff(e,t)}}function Ff(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 at=[],Uf=$f.default.keys();for(Ji=0;Ji<Uf.length;Ji++)if(Rs=Uf[Ji],Yi=$f.default.get(Rs),Qi=[],Yi){for(Ss=[].concat(Yi.baseConcepts,Yi.relatedConcepts),Zi=0;Zi<Ss.length;Zi++)xs=Ss[Zi],xs.module==="HTML"&&(qs=xs.concept,qs!=null&&Qi.push(qs));Qi.length>0&&at.push([Rs,Qi])}var Rs,Yi,Qi,Ss,xs,qs,Zi,Ji,As={entries:function(){return at},forEach:function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,n=fS(at),o;try{for(n.s();!(o=n.n()).done;){var i=Ps(o.value,2),a=i[0],s=i[1];t.call(r,s,a,at)}}catch(l){n.e(l)}finally{n.f()}},get:function(t){var r=at.find(function(n){return n[0]===t});return r&&r[1]},has:function(t){return!!As.get(t)},keys:function(){return at.map(function(t){var r=Ps(t,1),n=r[0];return n})},values:function(){return at.map(function(t){var r=Ps(t,2),n=r[1];return n})}},mS=(0,uS.default)(As,As.entries());ea.default=mS});var Wf=p(me=>{"use strict";Object.defineProperty(me,"__esModule",{value:!0});me.roles=me.roleElements=me.elementRoles=me.dom=me.aria=void 0;var bS=ur(Hc()),vS=ur(zc()),yS=ur(Vi()),hS=ur(Bf()),gS=ur(Vf());function ur(e){return e&&e.__esModule?e:{default:e}}var ES=bS.default;me.aria=ES;var wS=vS.default;me.dom=wS;var _S=yS.default;me.roles=_S;var CS=hS.default;me.elementRoles=CS;var TS=gS.default;me.roleElements=TS});var zf=p((iN,ta)=>{var ks=(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 ks}):typeof ta<"u"&&ta!=null?ta.exports=ks:typeof angular<"u"&&angular!=null&&angular.module("LZString",[]).factory("LZString",function(){return ks})});var Na=null;function yl(e){Na=e}function Te(){if(!Na)throw new Error("No active driver bound to worker runtime");return Na}var Lt={activePlatform:"web",configuredBaseUrl:"http://localhost:3000",driverServerUrl:"tcp://127.0.0.1:8200",defaultElementWaitMs:5e3,defaultNavigationWaitMs:1e4,defaultPollIntervalMs:20,defaultReadyPollIntervalMs:50},Ne=null;function Dt(){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:Lt.activePlatform,configuredBaseUrl:Lt.configuredBaseUrl,cdpWsUrl:"",driverServerUrl:Lt.driverServerUrl,manifest:{page_objects:[],fixtures:[],steps:[],actions:[],global_hooks:[],suite_hooks:{}}},Ne}var hl=null;function gl(e,t,r,n){hl&&hl(e,t,r,n)}function kr(){return Dt().implicitWaitMs??Lt.defaultElementWaitMs}function I(){return Math.min(kr(),2e3)}function nt(e,t){console.log(`[${e}] ${t}`)}var Ar={index:0,label:""},ot=[],La;async function El(e,t){let r=globalThis.__CURRENT_TEST_TITLE__||globalThis.__CURRENT_TEST_ID__||"",n=globalThis.__TESTSPECTRA_WORKER_ID__,o={title:e,path:[...ot,e],depth:ot.length};r&&(o.test=r),n!==void 0&&(o.workerId=n),nt("TESTSPECTRA_GROUP_START",JSON.stringify(o)),ot.push(e);let i=Date.now();try{let a=await t();return nt("TESTSPECTRA_GROUP_PASS",`${JSON.stringify(o)} (${Date.now()-i}ms)`),a}catch(a){throw nt("TESTSPECTRA_GROUP_FAIL",`${JSON.stringify(o)} (${Date.now()-i}ms)`),a}finally{ot.pop()}}function wl(e){if(e==null)return"";if(typeof e=="string")return e;let t=e;return t.parent?`${t.selector} within ${wl(t.parent)}`:String(t.selector??"")}function uv(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=Dt(),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=ot[ot.length-1];Ar={index:Ar.index+1,label:`${t.key} ${wl(t.target)}`.trim(),group:a},t.step=Ar.index,a!==void 0&&(t.group=a,t.groupPath=[...ot]),La=void 0,nt("TESTSPECTRA_STEP_START",JSON.stringify(t));let s=Date.now(),l=()=>(La&&(t.resolved=La),JSON.stringify(t));try{let u=await r(),c=Date.now()-s;nt("TESTSPECTRA_STEP_PASS",`${l()} (${c}ms)`),gl(`step:${t.key}`,e,c,{test:o,target:t.target});let d=n.stepDelayMs||0;return d>0&&uv(Ar.index)&&await new Promise(m=>setTimeout(m,d)),u}catch(u){let c=Date.now()-s;throw nt("TESTSPECTRA_STEP_FAIL",`${l()} (${c}ms)`),gl(`step:${t.key}`,e,c,{test:o,target:t.target,failed:!0}),nt("TESTSPECTRA_TEST_ERROR",u?.message||String(u)),u}}async function k(e,t,r=15){let n=t??kr(),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 _l(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 k(()=>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 k(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 k(()=>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 k(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 k(()=>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 k(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 k(()=>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 k(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 k(()=>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 k(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 k(()=>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 k(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 k(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 k(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 k(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 k(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 k(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 k(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 k(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 k(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 k(()=>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 k(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 k(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 k(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 k(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 k(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 Cl=new Map;function Tl(e,t){Cl.set(e,t)}function Pl(){return Cl.entries()}var Rl=Symbol("testspectra.elementScope");function Sl(e,t){Object.defineProperty(e,Rl,{value:t,enumerable:!1})}function Da(e){if(!(e===null||typeof e!="object"))return e[Rl]}function xl(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??kr();if(await k(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 ql(e){return typeof e=="string"?e:e.selector}function Ba(e,t){return typeof e=="string"?{selector:e,index:t,parent:void 0}:e}function ue(e,t=null){let r=ql(e),n=typeof e=="string"?t:e.index,o=Al(e,t),i=xl(e,t),a=_l(e,t,i),s={selector:r,index:n,...o,...i,...a,get(u,c=null){return ue({selector:u,index:c,parent:Ba(e,t)},null)},getAll(u){return Pe({selector:u,index:null,parent:Ba(e,t)})}};Sl(s,Ba(e,t));let l=s;for(let[u,c]of Pl())u in l||(l[u]=(...d)=>c.apply(s,d));return s}function Pe(e){let t=()=>Te(),r=ql(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 k(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 k(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 k(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 k(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 k(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 k(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 kl(e){return typeof e=="string"?e:e.selector}function Al(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 k(async()=>!await r().isExisting(e,t),v??5e3))throw new Error("Element still exists after timeout: "+JSON.stringify(kl(e)))})}async function P(v){return x("action",{type:"action",key:"waitForUndisplayed",target:e,args:[v?.timeout??5e3]},async()=>{if(!await k(async()=>!await r().isDisplayed(e,t),v?.timeout??5e3))throw new Error("Element still displayed after timeout: "+JSON.stringify(kl(e)))})}async function f(v){return x("action",{type:"action",key:"waitForClickable",target:e,args:[v?.timeout??5e3]},async()=>await k(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 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 Ol=["number","date","time","color","file","range"],Ml=e=>e.replace(/[^\p{L}\p{N}]/gu,"");function Mr(e,t,r){return t===null||r===null?!0:t===e||t!==r||Ml(t)===Ml(e)}function Fa(e,t,r,n){let o=n?` (${n})`:"";return new Error(`Typed text did not reach element "${e}": expected "${t}", got "${r}"${o}`)}var cv={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 Il(e){if(typeof e!="string")return null;let t=cv[e];return t?{key:e,...t}:null}function $a(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 Or(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=Ua(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||Ua(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 k(()=>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 Ir(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 Bt(e,t,r){for(let n of e)if($a(n.pattern,t)&&(!n.method||n.method==="ALL"||n.method.toUpperCase()===r.toUpperCase()))return n;return null}function Ft(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 dv=new Set(["status","statusCode","headers","body","delayMs"]);function Ua(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=>dv.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 ja(e,t){let r=Ha(e),n=typeof r.body=="function"?await r.body(t):r.body,o=Ua(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 Ha(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 pv={"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 Nr(e){let t=new Map;for(let[r,n]of Object.entries(pv))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 Ut(e){return typeof e=="string"?e:typeof e=="object"&&e!==null?JSON.stringify(e):String(e??"")}function Nl(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 Va(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 Ll(e){let t=Va(e);if(!t)return null;let{name:r,chainSuffix:n}=t,o=JSON.stringify(r);return`:is([aria-label=${o}], [title=${o}])${n}`}function Dl(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 fv=new Set(["mount","unmount","registerCommand","registerCommands"]),mv=/^[A-Za-z_$][A-Za-z0-9_$]*$/;function Bl(){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:r=>x("action",{type:"action",key:"pressKey",target:void 0,args:[r]},()=>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)=>El(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 Dt().environmentVariables||{}}};return t.registerCommand=(r,n)=>{if(typeof n!="function")throw new Error(`[TestSpectra] Custom command "${r}" must be a function.`);if(!mv.test(r))throw new Error(`[TestSpectra] Invalid custom command name "${r}"; must be a valid identifier.`);if(fv.has(r)||r in t)throw new Error(`[TestSpectra] Custom command "${r}" collides with a built-in Spectra method.`);t[r]=n,Tl(r,n)},t.registerCommands=r=>{for(let[n,o]of Object.entries(r))t.registerCommand(n,o)},t}function Fl(){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 bv=5e3;function Lr(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 Wa(){return bv}function vv(){return Math.min(Wa(),2e3)}async function yv(e,t,r){let n=globalThis.__CURRENT_TEST_TITLE__;n&&!t.test&&(t.test=n);let o=JSON.stringify(t);Lr("TESTSPECTRA_STEP_START",o);let i=Date.now();try{let a=await r(),s=Date.now()-i;Lr("TESTSPECTRA_STEP_PASS",`${o} (${s}ms)`);let l=Fl();return l>0&&await new Promise(u=>setTimeout(u,l)),a}catch(a){let s=Date.now()-i;throw Lr("TESTSPECTRA_STEP_FAIL",`${o} (${s}ms)`),a}}async function hv(e,t,r=15){let n=t??Wa(),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:Fl()};globalThis.__TS_RUNTIME__={activeDriver:null,mobileMockRules:[],lastFocusedSelector:null,emitEvent:Lr,trackStep:yv,pollCondition:hv,getImplicitWaitMs:Wa,getAssertionTimeoutMs:vv,matchesUrlPattern:$a,createMockHandle:Or,parseMockRule:Ir,findMatchingRule:Bt,recordMockCall:Ft,consumeMockResponse:Ha,mergeMockResponseHeaders:Nr,mockResponseBodyText:Ut,createElementProxy:ue,createCollectionProxy:Pe,beforeHook:null,afterHook:null,beforeEachHook:null,afterEachHook:null,suiteBeforeEachHooks:{},suiteAfterEachHooks:{}};var za={activePlatform:"web",configuredBaseUrl:"http://localhost:3000",driverServerUrl:"tcp://127.0.0.1:8200",defaultElementWaitMs:5e3,defaultNavigationWaitMs:1e4,defaultPollIntervalMs:20,defaultReadyPollIntervalMs:50},Le=null;function gv(){if(Le)return Le;if(globalThis.__TESTSPECTRA_CONFIG__)return Le=globalThis.__TESTSPECTRA_CONFIG__,Le;if(typeof process<"u"&&process.env?.TESTSPECTRA_CONFIG)try{return Le=JSON.parse(process.env.TESTSPECTRA_CONFIG),Le}catch{}return Le={rootDir:typeof process<"u"?process.cwd():"",testFilePath:"",activePlatform:za.activePlatform,configuredBaseUrl:za.configuredBaseUrl,cdpWsUrl:"",driverServerUrl:za.driverServerUrl,manifest:{page_objects:[],fixtures:[],steps:[],actions:[],global_hooks:[],suite_hooks:{}}},Le}var Ul=null;function $l(e,t,r,n){Ul&&Ul(e,t,r,n)}function Dr(e,t){console.log(`[${e}] ${t}`)}var Br={index:0,label:""},Ka=[],Ga;function Hl(e){if(e==null)return"";if(typeof e=="string")return e;let t=e;return t.parent?`${t.selector} within ${Hl(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 wv(e,t,r){let n=gv(),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=Ka[Ka.length-1];Br={index:Br.index+1,label:`${t.key} ${Hl(t.target)}`.trim(),group:a},t.step=Br.index,a!==void 0&&(t.group=a,t.groupPath=[...Ka]),Ga=void 0,Dr("TESTSPECTRA_STEP_START",JSON.stringify(t));let s=Date.now(),l=()=>(Ga&&(t.resolved=Ga),JSON.stringify(t));try{let u=await r(),c=Date.now()-s;Dr("TESTSPECTRA_STEP_PASS",`${l()} (${c}ms)`),$l(`step:${t.key}`,e,c,{test:o,target:t.target});let d=n.stepDelayMs||0;return d>0&&Ev(Br.index)&&await new Promise(m=>setTimeout(m,d)),u}catch(u){let c=Date.now()-s;throw Dr("TESTSPECTRA_STEP_FAIL",`${l()} (${c}ms)`),$l(`step:${t.key}`,e,c,{test:o,target:t.target,failed:!0}),Dr("TESTSPECTRA_TEST_ERROR",u?.message||String(u)),u}}var jl=new Set;async function Vl(e,t=[],r,n={platform:"web"}){n={...n,step:n.step??((o,i)=>wv("assertion",{type:"assertion",key:"plugin",label:o,target:void 0,args:[]},i))};for(let o of t)if(!jl.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.`),jl.add(o)}catch(i){console.error(`[TestSpectra] Failed to load plugin "${o}": ${i?.stack||i?.message||i}`)}}function _v(){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 Wl=new Map;async function Fr(e){let t=Wl.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 Wl.set(e,r),r}async function Xa(e){let t=e??_v();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 Fr(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 Fr(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 Fr(u);i[l.name]=c.default??c}}globalThis.Step=i;let s=Cv();if(s.length>0&&globalThis.Spectra){let l=globalThis.__TS_RUNTIME__;await Vl(globalThis.Spectra,s,Fr,{platform:"web",config:{baseUrl:"",implicitWaitMs:typeof l?.getImplicitWaitMs=="function"?l.getImplicitWaitMs():void 0,env:{}}})}}function Cv(){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=Xa;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(Tv(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 ${Pv(e)}`)}function Tv(e){return e.nodeType===9}function Pv(e){return typeof e=="function"?`function ${e.name}`:e===null?"null":String(e)}function Ja(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 $t(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 De(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var jt=class{getAsFile(){return this.file}getAsString(t){typeof this.data=="string"&&t(this.data)}webkitGetAsEntry(){throw new Error("not implemented")}constructor(t,r){De(this,"kind",void 0),De(this,"type",void 0),De(this,"file",null),De(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 zl(e){return e.replace(/[A-Z]/g,t=>t.toLowerCase())}var Qa=class extends Array{add(...t){let r=typeof t[0]=="string"?new jt(t[0],zl(t[1])):new jt(t[0]);return this.push(r),r}clear(){this.splice(0,this.length)}remove(t){this.splice(t,1)}};function Ya(e){let t=zl(e);return t==="text"?"text/plain":t==="url"?"text/uri-list":t}function Ur(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 Rv(e){return new class{getData(r){var n;let o=Ya(r),i=(n=this.items.find(Ur(o,!0)))!==null&&n!==void 0?n:this.items.find(Ur(o,!1)),a="";return i?.getAsString(s=>{a=s}),a}setData(r,n){let o=Ya(r),i=this.items.findIndex(Ur(o,!0)),a=new jt(n,o);i>=0?this.items.splice(i,1,a):this.items.push(a)}clearData(r){if(r){let n=Ya(r),o=this.items.findIndex(Ur(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(){De(this,"dropEffect","none"),De(this,"effectAllowed","uninitialized"),De(this,"items",new Qa),De(this,"files",$t(e,[]))}}}function gt(e,t=[]){let r=typeof e.DataTransfer>"u"?Rv(e):new e.DataTransfer;return Object.defineProperty(r,"files",{get:()=>$t(e,t)}),r}async function Kl(e,t){return t.kind==="file"?t.getAsFile():new e.Blob([await new Promise(r=>t.getAsString(r))],{type:t.type})}function Xl(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Jl(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){Xl(this,"data",void 0),this.data=o}}(r)}var Et=Symbol("Manage ClipboardSub");function Gl(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=>Ja(a,e.FileReader)))}return n}async write(n){this.items=n}async writeText(n){this.items=[Jl(e,n)]}constructor(...n){super(...n),Xl(this,"items",[])}},{[Et]:t})}function Za(e){return!!e?.[Et]}function Yl(e){if(Za(e.navigator.clipboard))return e.navigator.clipboard[Et];let t=Object.getOwnPropertyDescriptor(e.navigator,"clipboard"),r,n={resetClipboardStub:()=>{r=Gl(e,n)},detachClipboardStub:()=>{t?Object.defineProperty(e.navigator,"clipboard",t):Object.defineProperty(e.navigator,"clipboard",{value:void 0,configurable:!0})}};return r=Gl(e,n),Object.defineProperty(e.navigator,"clipboard",{get:()=>r,configurable:!0}),r[Et]}function Sv(e){Za(e.navigator.clipboard)&&e.navigator.clipboard[Et].resetClipboardStub()}function xv(e){Za(e.navigator.clipboard)&&e.navigator.clipboard[Et].detachClipboardStub()}async function Ql(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=gt(t);for(let i of n)for(let a of i.types)o.setData(a,await i.getType(a).then(s=>Ja(s,t.FileReader)));return o}async function jr(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 Kl(r,s);o.push(Jl(r,l))}if(!(n&&await n.write(o).then(()=>!0,()=>!1)))throw new Error("The Clipboard API is unavailable.")}var $r=globalThis;typeof $r.afterEach=="function"&&$r.afterEach(()=>{typeof globalThis.window<"u"&&Sv(globalThis.window)});typeof $r.afterAll=="function"&&$r.afterAll(()=>{typeof globalThis.window<"u"&&xv(globalThis.window)});var Hr=["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 Ht(e){return e.matches(Hr)}function Zl(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 Be(e){let t=e.activeElement;if(t?.shadowRoot){let r=Be(t.shadowRoot);if(r)return r}else if(t&&q(t,"iframe")){let r=t.contentDocument;if(r)return Be(r)}return te(t)?e.ownerDocument?e.ownerDocument.body:e.body:t}function wt(e){var t;return(t=Be(e))!==null&&t!==void 0?t:e.body}function eu(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 Fe(e){let t=qv(e);return t&&(t.closest('[contenteditable=""]')||t.closest('[contenteditable="true"]'))}function qv(e){return e.nodeType===1?e:e.parentElement}var tu=(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})(tu||{});function Vr(e){return q(e,"button")||q(e,"input")&&e.type in tu}function ve(e){return es(e)&&!e.readOnly||ce(e)}var ru=(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})(ru||{});function es(e){return q(e,"textarea")||q(e,"input")&&e.type in ru}function X(e){return ou(e)&&es(e)}function nu(e){return ou(e)&&Vr(e)}function ou(e){return e.nodeType===1}function iu(e){let t=e.ownerDocument.getSelection();if(t?.focusNode&&X(e)){let n=Fe(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 Wr(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 la=Ia(yc());var ch=Object.prototype.toString;function hc(e){return typeof e=="function"||ch.call(e)==="[object Function]"}function dh(e){var t=Number(e);return isNaN(t)?0:t===0||!isFinite(t)?t:(t>0?1:-1)*Math.floor(Math.abs(t))}var ph=Math.pow(2,53)-1;function fh(e){var t=dh(e);return Math.min(Math.max(t,0),ph)}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"&&!hc(t))throw new TypeError("Array.from: when provided, the second argument must be a function");for(var o=fh(n.length),i=hc(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 nr(e){"@babel/helpers - typeof";return nr=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},nr(e)}function mh(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function gc(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,Ec(n.key),n)}}function bh(e,t,r){return t&&gc(e.prototype,t),r&&gc(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function vh(e,t,r){return t=Ec(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ec(e){var t=yh(e,"string");return nr(t)==="symbol"?t:String(t)}function yh(e,t){if(nr(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(nr(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var hh=(function(){function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];mh(this,e),vh(this,"items",void 0),this.items=t}return bh(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})(),wc=typeof Set>"u"?Set:hh;function J(e){var t;return(t=e.localName)!==null&&t!==void 0?t:e.tagName.toLowerCase()}var gh={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"},Eh={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 wh(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=Eh[t])!==null&&n!==void 0&&n.has(r))})}function _c(e,t){return wh(e,t)}function rn(e){var t=Ch(e);if(t===null||t==="presentation"){var r=_h(e);if(t!=="presentation"||_c(e,r||""))return r}return t}function _h(e){var t=gh[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")===""&&!_c(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 Ch(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 cs(e){return j(e)&&J(e)==="caption"}function or(e){return j(e)&&J(e)==="input"}function Cc(e){return j(e)&&J(e)==="optgroup"}function Tc(e){return j(e)&&J(e)==="select"}function Pc(e){return j(e)&&J(e)==="table"}function Rc(e){return j(e)&&J(e)==="textarea"}function Sc(e){var t=e.ownerDocument===null?e:e.ownerDocument,r=t.defaultView;if(r===null)throw new TypeError("no window available");return r}function xc(e){return j(e)&&J(e)==="fieldset"}function qc(e){return j(e)&&J(e)==="legend"}function Ac(e){return j(e)&&J(e)==="slot"}function Th(e){return j(e)&&e.ownerSVGElement!==void 0}function kc(e){return j(e)&&J(e)==="svg"}function Mc(e){return Th(e)&&J(e)==="title"}function Pt(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(rn(e))!==-1:!1}function Ph(e){return e.trim().replace(/\s\s+/g," ")}function Rh(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 Sh(e){return ge(e,["button","combobox","listbox","textbox"])||Nc(e,"range")}function Nc(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 Oc(e,t){var r=de(e.querySelectorAll(t));return Pt(e,"aria-owns").forEach(function(n){r.push.apply(r,de(n.querySelectorAll(t)))}),r}function xh(e){return Tc(e)?e.selectedOptions||Oc(e,"[selected]"):Oc(e,'[aria-selected="true"]')}function qh(e){return ge(e,["none","presentation"])}function Ah(e){return cs(e)}function kh(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 Mh(e){return!1}function Oh(e){return or(e)||Rc(e)?e.value:e.textContent||""}function Ic(e){var t=e.getPropertyValue("content");return/^["'].*["']$/.test(t)?t.slice(1,-1):""}function Lc(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 Dc(e){if(Lc(e))return e;var t=null;return e.childNodes.forEach(function(r){if(t===null&&j(r)){var n=Dc(r);n!==null&&(t=n)}}),t}function Ih(e){if(e.control!==void 0)return e.control;var t=e.getAttribute("for");return t!==null?e.ownerDocument.getElementById(t):Dc(e)}function Nh(e){var t=e.labels;if(t===null)return t;if(t!==void 0)return de(t);if(!Lc(e))return null;var r=e.ownerDocument;return de(r.querySelectorAll("label")).filter(function(n){return Ih(n)===e})}function Lh(e){var t=e.assignedNodes();return t.length===0?de(e.childNodes):t}function nn(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=new wc,n=Sc(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=Ic(h);w="".concat(E," ").concat(w)}var A=Ac(f)?Lh(f):de(f.childNodes).concat(Pt(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=Ic(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(xc(f)){r.add(f);for(var g=de(f.childNodes),w=0;w<g.length;w+=1){var h=g[w];if(qc(h))return P(h,{isEmbeddedInLabel:!1,isReferenced:!1,recursion:!1})}}else if(Pc(f)){r.add(f);for(var E=de(f.childNodes),A=0;A<E.length;A+=1){var R=E[A];if(cs(R))return P(R,{isEmbeddedInLabel:!1,isReferenced:!1,recursion:!1})}}else if(kc(f)){r.add(f);for(var H=de(f.childNodes),F=0;F<H.length;F+=1){var W=H[F];if(Mc(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(Cc(f)){var O=y(f,"label");if(O!==null)return O}if(or(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=Nh(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(or(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&&Rh(f,u)&&!g.isReferenced)return r.add(f),"";var w=j(f)?f.getAttributeNode("aria-labelledby"):null,h=w!==null&&!r.has(w)?Pt(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&&Sh(f)&&i==="name";if(!E){var A=(j(f)&&f.getAttribute("aria-label")||"").trim();if(A!==""&&i==="name")return r.add(f),A;if(!qh(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=xh(f);return H.length===0?or(f)?f.value:"":de(H).map(function(K){return P(K,{isEmbeddedInLabel:g.isEmbeddedInLabel,isReferenced:!1,recursion:!0})}).join(" ")}if(Nc(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),Oh(f)}if(kh(f)||j(f)&&g.isReferenced||Ah(f)||Mh(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 Ph(P(e,{isEmbeddedInLabel:!1,isReferenced:i==="description",recursion:!1}))}function ir(e){"@babel/helpers - typeof";return ir=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},ir(e)}function Bc(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 Fc(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Bc(Object(r),!0).forEach(function(n){Dh(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Bc(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function Dh(e,t,r){return t=Bh(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Bh(e){var t=Fh(e,"string");return ir(t)==="symbol"?t:String(t)}function Fh(e,t){if(ir(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(ir(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function on(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=Pt(e,"aria-describedby").map(function(o){return nn(o,Fc(Fc({},t),{},{compute:"description"}))}).join(" ");if(r===""){var n=e.getAttribute("title");r=n===null?"":n}return r}function Uh(e){return ge(e,["caption","code","deletion","emphasis","generic","insertion","paragraph","presentation","strong","subscript","superscript"])}function ar(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return Uh(e)?"":nn(e,t)}var oe=Ia(Wf()),Zf=Ia(zf());function em(e){return e.replace(/</g,"&lt;").replace(/>/g,"&gt;")}var PS=(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("")},RS=3,SS=(e,t,r,n,o,i)=>e.map(a=>{let s=typeof a=="string"?tm(a,t):i(a,t,r,n,o);return s===""&&typeof a=="object"&&a!==null&&a.nodeType!==RS?"":t.spacingOuter+r+s}).join(""),tm=(e,t)=>{let r=t.colors.content;return r.open+em(e)+r.close},xS=(e,t)=>{let r=t.colors.comment;return r.open+"<!--"+em(e)+"-->"+r.close},qS=(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},AS=(e,t)=>{let r=t.colors.tag;return r.open+"<"+e+r.close+" \u2026"+r.open+" />"+r.close},kS=1,rm=3,nm=8,om=11,MS=/^((HTML|SVG)\w*)?Element$/,im=e=>{let t=e.tagName;return!!(typeof t=="string"&&t.includes("-")||typeof e.hasAttribute=="function"&&e.hasAttribute("is"))},OS=e=>{let t=e.constructor.name,r=e.nodeType;return r===kS&&(MS.test(t)||im(e))||r===rm&&t==="Text"||r===nm&&t==="Comment"||r===om&&t==="DocumentFragment"};function IS(e){return e.nodeType===rm}function NS(e){return e.nodeType===nm}function Ms(e){return e.nodeType===om}function LS(e){return{test:t=>{var r;return((t==null||(r=t.constructor)==null?void 0:r.name)||im(t))&&OS(t)},serialize:(t,r,n,o,i,a)=>{if(IS(t))return tm(t.data,r);if(NS(t))return xS(t.data,r);let s=Ms(t)?"DocumentFragment":t.tagName.toLowerCase();return++o>r.maxDepth?AS(s,r):qS(s,PS(Ms(t)?[]:Array.from(t.attributes).map(l=>l.name).sort(),Ms(t)?{}:Array.from(t.attributes).reduce((l,u)=>(l[u.name]=u.value,l),{}),r,n+r.indent,o,i,a),SS(Array.prototype.slice.call(t.childNodes||t.children).filter(e),r,n+r.indent,o,i,a),r,n)}}}var am=null,Ws=null,zs=null;try{let e=module&&module.require;Ws=e.call(module,"fs").readFileSync,zs=e.call(module,"@babel/code-frame").codeFrameColumns,am=e.call(module,"picocolors")}catch{}function DS(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=Ws(a,"utf-8")}catch{return""}let c=zs(u,{start:{line:s,column:l}},{highlightCode:!0,linesBelow:0});return am.dim(n)+`
17
17
  `+c+`
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)+`
18
+ `}function BS(){if(!Ws||!zs)return"";let t=new Error().stack.split(`
19
+ `).slice(1).find(r=>!r.includes("node_modules/"));return DS(t)}var sm=3;function Os(){return typeof jest<"u"&&jest!==null?setTimeout._isMockFunction===!0||Object.prototype.hasOwnProperty.call(setTimeout,"clock"):!1}function Ks(){if(typeof window>"u")throw new Error("Could not find default container");return window.document}function lm(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 FS=["filterNode"],US=()=>{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},$S=la.plugins.DOMCollection,jS=1,HS=8;function VS(e){return e.nodeType!==HS&&(e.nodeType!==jS||!e.matches(N().defaultIgnore))}function na(e,t,r){if(r===void 0&&(r={}),e||(e=Ks().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?VS:i,s=Wr(o,FS),l=la.format(e,{plugins:[LS(a),$S],printFunctionName:!1,highlight:US(),...s});return t!==void 0&&e.outerHTML.length>t?l.slice(0,t)+"...":l}var Kf=function(){let e=BS();console.log(e?na(...arguments)+`
20
20
 
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+`
21
+ `+e:na(...arguments))},oa={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=na(t),n=new Error([e,"Ignored nodes: comments, "+oa.defaultIgnore+`
22
22
  `+r].filter(Boolean).join(`
23
23
 
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})+`":
24
+ `));return n.name="TestingLibraryElementError",n},_disableExpensiveErrorDiagnostics:!1,computedStyleSupportsPseudoElements:!1};function WS(e){try{return oa._disableExpensiveErrorDiagnostics=!0,e()}finally{oa._disableExpensiveErrorDiagnostics=!1}}function N(){return oa}var zS=["button","meter","output","progress","select","textarea","input"];function um(e){return zS.includes(e.nodeName.toLowerCase())?"":e.nodeType===sm?e.textContent:Array.from(e.childNodes).map(t=>um(t)).join("")}function Ns(e){let t;return e.tagName.toLowerCase()==="label"?t=um(e):t=e.value||e.textContent,t}function cm(e){if(e.labels!==void 0){var t;return(t=e.labels)!=null?t:[]}if(!KS(e))return[];let r=e.ownerDocument.querySelectorAll("label");return Array.from(r).filter(n=>n.control===e)}function KS(e){return/BUTTON|METER|OUTPUT|PROGRESS|SELECT|TEXTAREA/.test(e.tagName)||e.tagName==="INPUT"&&e.getAttribute("type")!=="hidden"}function dm(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:Ns(u),formControl:null}:{content:"",formControl:null}}):Array.from(cm(t)).map(l=>{let u=Ns(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 pm(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 At(e,t,r,n){if(typeof e!="string")return!1;pm(r);let o=n(e);return typeof r=="string"||typeof r=="number"?o.toLowerCase().includes(r.toString().toLowerCase()):typeof r=="function"?r(o,t):mm(r,o)}function qe(e,t,r,n){if(typeof e!="string")return!1;pm(r);let o=n(e);return r instanceof Function?r(o,t):r instanceof RegExp?mm(r,o):o===String(r)}function fm(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 lt(e){let t=e.trim,r=e.collapseWhitespace,n=e.normalizer;if(!n)return fm({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 mm(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 ua(e){return e.matches("input[type=submit], input[type=button], input[type=reset]")?e.value:Array.from(e.childNodes).filter(t=>t.nodeType===sm&&!!t.textContent).map(t=>t.textContent).join("")}var GS=XS(oe.elementRoles);function bm(e){return e.hidden===!0||e.getAttribute("aria-hidden")==="true"||e.ownerDocument.defaultView.getComputedStyle(e).display==="none"}function Gs(e,t){t===void 0&&(t={});let r=t,n=r.isSubtreeInaccessible,o=n===void 0?bm: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 Xs(e){for(let t of GS){let r=t.match,n=t.roles;if(r(e))return[...n]}return[]}function XS(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 JS(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?Gs(a)===!1:!0).reduce((a,s)=>{let l=[];return s.hasAttribute("role")?l=s.getAttribute("role").split(" ").slice(0,1):l=Xs(s),l.reduce((u,c)=>Array.isArray(u[c])?{...u,[c]:[...u[c],s]}:{...u,[c]:[s]},a)},{})}function YS(e,t){let r=t.hidden,n=t.includeDescription,o=JS(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 "'+ar(c,{computedStyleSupportsPseudoElements:N().computedStyleSupportsPseudoElements})+`":
25
+ `,m=na(c.cloneNode(!1));if(n){let y='Description "'+on(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 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.
33
+ `)}function QS(e){return e.tagName==="OPTION"?e.selected:dr(e,"aria-selected")}function ZS(e){return e.getAttribute("aria-busy")==="true"}function e0(e){if(!("indeterminate"in e&&e.indeterminate))return"checked"in e?e.checked:dr(e,"aria-checked")}function t0(e){return dr(e,"aria-pressed")}function r0(e){var t,r;return(t=(r=dr(e,"aria-current"))!=null?r:e.getAttribute("aria-current"))!=null?t:!1}function n0(e){return dr(e,"aria-expanded")}function dr(e,t){let r=e.getAttribute(t);if(r==="true")return!0;if(r==="false")return!1}function o0(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 i0(e){let t=e.getAttribute("aria-valuenow");return t===null?void 0:+t}function a0(e){let t=e.getAttribute("aria-valuemax");return t===null?void 0:+t}function s0(e){let t=e.getAttribute("aria-valuemin");return t===null?void 0:+t}function l0(e){let t=e.getAttribute("aria-valuetext");return t===null?void 0:t}var Gf=fm();function u0(e){return e.replace(/[.*+\-?^${}()|[\]\\]/g,"\\$&")}function Xf(e){return new RegExp(u0(e.toLowerCase()),"i")}function Ye(e,t,r,n){let o=n.variant,i=n.name,a="",s={},l=[["Role","TestId"].includes(e)?r:Xf(r)];i&&(s.name=Xf(i)),e==="Role"&&Gs(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],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(`
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 Qe(e,t,r){return r&&(!t||t.toLowerCase()===e.toLowerCase())}function Ls(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=Xs(e))==null?void 0:o[0];if(i!=="generic"&&Qe("Role",r,i))return Ye("Role",e,i,{variant:t,name:ar(e,{computedStyleSupportsPseudoElements:N().computedStyleSupportsPseudoElements})});let a=dm(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=Gf(ua(e));if(Qe("Text",r,l))return Ye("Text",e,l,{variant:t});if(Qe("DisplayValue",r,e.value))return Ye("DisplayValue",e,Gf(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 ra(e,t){e.stack=t.stack.replace(t.message,e.message)}function c0(e,t){let r=t.container,n=r===void 0?Ks():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=Os();if(R){let O=N(),G=O.unstable_advanceTimersWrapper;for(W();!h;){if(!Os()){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||ra(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=lm(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(Os()){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||ra(O,l),P(O)}else return W()}function W(){if(E!=="pending")try{let O=WS(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"&&ra(O,l)):(O=new Error("Timed out in waitFor."),s||ra(O,l)),H(m(O),null)}})}function d0(e,t){let r=new Error("STACK_TRACE_MESSAGE");return N().asyncWrapper(()=>c0(e,{stackTraceError:r,...t}))}function vm(e,t){return N().getElementError(e,t)}function p0(e,t){return vm(e+"\n\n(If this is intentional, then use the `*AllBy*` variant of the query (like `queryAllByText`, `getAllByText`, or `findAllByText`)).",t)}function ca(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:At,d=lt({collapseWhitespace:s,trim:l,normalizer:u});return Array.from(t.querySelectorAll("["+e+"]")).filter(m=>c(m.getAttribute(e),m,r,d))}function ia(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=>vm(null,l).message).join(`
36
36
 
37
- `);throw e0(t(r,...o)+`
37
+ `);throw p0(t(r,...o)+`
38
38
 
39
39
  Here are the matching elements:
40
40
 
41
- `+s,r)}return a[0]||null}}function lm(e,t){return N().getElementError(`A better query is available, try this:
41
+ `+s,r)}return a[0]||null}}function ym(e,t){return N().getElementError(`A better query is available, try this:
42
42
  `+e.toString()+`
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(`
43
+ `,t)}function f0(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 aa(e){return(t,r,n,o)=>d0(()=>e(t,r,n),{container:t,...o})}var qt=(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=Ls(s,r);if(y&&!t.endsWith(y.queryName))throw ym(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=Ls(T,r))==null?void 0:C.toString()}))];if(y.length===1&&!t.endsWith(Ls(s[0],r).queryName))throw ym(y[0],n)}return s};function ut(e,t,r){let n=qt(ia(e,t),e.name,"query"),o=f0(e,r),i=ia(o,t),a=qt(i,e.name,"get"),s=be(o,e.name.replace("query","get"),"getAll"),l=aa(be(o,e.name,"findAll")),u=aa(qt(i,e.name,"find"));return[n,s,a,l,u]}function m0(e){return Array.from(e.querySelectorAll("label,input")).map(t=>({node:t,textToMatch:Ns(t)})).filter(t=>t.textToMatch!==null)}var b0=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:At,c=lt({collapseWhitespace:s,trim:a,normalizer:l});return m0(e).filter(m=>{let y=m.node,T=m.textToMatch;return u(T,y,t,c)}).map(m=>m.node)},cr=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:At,m=lt({collapseWhitespace:l,trim:u,normalizer:c}),y=Array.from(e.querySelectorAll("*")).filter(T=>cm(T).length||T.hasAttribute("aria-labelledby")).reduce((T,C)=>{let P=dm(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(ca("aria-label",e,t,{exact:s,normalizer:m}));return Array.from(new Set(y)).filter(T=>T.matches(i))},st=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=cr(e,t,...n);if(!i.length){let a=b0(e,t,...n);if(a.length){let s=a.map(l=>v0(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 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=(`
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 v0(e,t){let r=t.getAttribute("for");if(!r)return null;let n=e.querySelector('[id="'+r+'"]');return n?n.tagName.toLowerCase():null}var hm=(e,t)=>"Found multiple elements with the text of: "+t,y0=qt(ia(cr,hm),cr.name,"query"),gm=ia(st,hm),h0=aa(be(st,st.name,"findAll")),g0=aa(qt(gm,st.name,"find")),E0=be(st,st.name,"getAll"),w0=qt(gm,st.name,"get"),_0=be(cr,cr.name,"queryAll"),Ds=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return Ae(t[0]),ca("placeholder",...t)},C0=(e,t)=>"Found multiple elements with the placeholder text of: "+t,T0=(e,t)=>"Unable to find an element with the placeholder text of: "+t,P0=be(Ds,Ds.name,"queryAll"),pr=ut(Ds,C0,T0),R0=pr[0],S0=pr[1],x0=pr[2],q0=pr[3],A0=pr[4],Bs=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:At,T=lt({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(ua(P),P,t,T))},k0=(e,t)=>"Found multiple elements with the text: "+t,M0=function(e,t,r){r===void 0&&(r={});let n=r,o=n.collapseWhitespace,i=n.trim,a=n.normalizer,s=n.selector,u=lt({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."},O0=be(Bs,Bs.name,"queryAll"),fr=ut(Bs,k0,M0),I0=fr[0],N0=fr[1],L0=fr[2],D0=fr[3],B0=fr[4],Fs=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:At,c=lt({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(ua(y),y,t,c)):u(d.value,d,t,c))},F0=(e,t)=>"Found multiple elements with the display value: "+t+".",U0=(e,t)=>"Unable to find an element with the display value: "+t+".",$0=be(Fs,Fs.name,"queryAll"),mr=ut(Fs,F0,U0),j0=mr[0],H0=mr[1],V0=mr[2],W0=mr[3],z0=mr[4],K0=/^(img|input|area|.+-.+)$/i,Us=function(e,t,r){return r===void 0&&(r={}),Ae(e),ca("alt",e,t,r).filter(n=>K0.test(n.tagName))},G0=(e,t)=>"Found multiple elements with the alt text: "+t,X0=(e,t)=>"Unable to find an element with the alt text: "+t,J0=be(Us,Us.name,"queryAll"),br=ut(Us,G0,X0),Y0=br[0],Q0=br[1],Z0=br[2],ex=br[3],tx=br[4],rx=e=>{var t;return e.tagName.toLowerCase()==="title"&&((t=e.parentElement)==null?void 0:t.tagName.toLowerCase())==="svg"},$s=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:At,c=lt({collapseWhitespace:a,trim:s,normalizer:l});return Array.from(e.querySelectorAll("[title], svg > title")).filter(d=>u(d.getAttribute("title"),d,t,c)||rx(d)&&u(ua(d),d,t,c))},nx=(e,t)=>"Found multiple elements with the title: "+t+".",ox=(e,t)=>"Unable to find an element with the title: "+t+".",ix=be($s,$s.name,"queryAll"),vr=ut($s,nx,ox),ax=vr[0],sx=vr[1],lx=vr[2],ux=vr[3],cx=vr[4],js=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,bm(L)),S.get(L)}return Array.from(e.querySelectorAll(dx(t))).filter(L=>{if(L.hasAttribute("role")){let ht=L.getAttribute("role");return u?ht.split(" ").filter(Boolean).some(tv=>tv===t):ht.split(" ")[0]===t}return Xs(L).some(ht=>ht===t)}).filter(L=>{if(c!==void 0)return c===QS(L);if(d!==void 0)return d===ZS(L);if(m!==void 0)return m===e0(L);if(y!==void 0)return y===t0(L);if(T!==void 0)return T===r0(L);if(P!==void 0)return P===n0(L);if(C!==void 0)return C===o0(L);if(w!==void 0||E!==void 0||h!==void 0||A!==void 0){let le=!0;if(w!==void 0&&le&&(le=w===i0(L)),E!==void 0&&le&&(le=E===a0(L)),h!==void 0&&le&&(le=h===s0(L)),A!==void 0){var pe;le&&(le=qe((pe=l0(L))!=null?pe:null,L,A,ht=>ht))}return le}return!0}).filter(L=>a===void 0?!0:qe(ar(L,{computedStyleSupportsPseudoElements:N().computedStyleSupportsPseudoElements}),L,a,pe=>pe)).filter(L=>s===void 0?!0:qe(on(L,{computedStyleSupportsPseudoElements:N().computedStyleSupportsPseudoElements}),L,s,pe=>pe)).filter(L=>i===!1?Gs(L,{isSubtreeInaccessible:D})===!1:!0)};function dx(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 Em=e=>{let t="";return e===void 0?t="":typeof e=="string"?t=' and name "'+e+'"':t=" and name `"+e+"`",t},px=function(e,t,r){let n=r===void 0?{}:r,o=n.name;return'Found multiple elements with the role "'+t+'"'+Em(o)},fx=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+'"'+Em(a);let l="";Array.from(e.children).forEach(m=>{l+=YS(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()},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
55
+ `+u).trim()},mx=be(js,js.name,"queryAll"),yr=ut(js,px,fx),bx=yr[0],vx=yr[1],yx=yr[2],hx=yr[3],gx=yr[4],Js=()=>N().testIdAttribute,Hs=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return Ae(t[0]),ca(Js(),...t)},Ex=(e,t)=>"Found multiple elements by: ["+Js()+'="'+t+'"]',wx=(e,t)=>"Unable to find an element by: ["+Js()+'="'+t+'"]',_x=be(Hs,Hs.name,"queryAll"),hr=ut(Hs,Ex,wx),Cx=hr[0],Tx=hr[1],Px=hr[2],Rx=hr[3],Sx=hr[4],Vs=Object.freeze({__proto__:null,queryAllByLabelText:_0,queryByLabelText:y0,getAllByLabelText:E0,getByLabelText:w0,findAllByLabelText:h0,findByLabelText:g0,queryByPlaceholderText:R0,queryAllByPlaceholderText:P0,getByPlaceholderText:x0,getAllByPlaceholderText:S0,findAllByPlaceholderText:q0,findByPlaceholderText:A0,queryByText:I0,queryAllByText:O0,getByText:L0,getAllByText:N0,findAllByText:D0,findByText:B0,queryByDisplayValue:j0,queryAllByDisplayValue:$0,getByDisplayValue:V0,getAllByDisplayValue:H0,findAllByDisplayValue:W0,findByDisplayValue:z0,queryByAltText:Y0,queryAllByAltText:J0,getByAltText:Z0,getAllByAltText:Q0,findAllByAltText:ex,findByAltText:tx,queryByTitle:ax,queryAllByTitle:ix,getByTitle:lx,getAllByTitle:sx,findAllByTitle:ux,findByTitle:cx,queryByRole:bx,queryAllByRole:mx,getAllByRole:vx,getByRole:yx,findAllByRole:hx,findByRole:gx,queryByTestId:Cx,queryAllByTestId:_x,getByTestId:Px,getAllByTestId:Tx,findAllByTestId:Rx,findByTestId:Sx});function xx(e,t,r){return t===void 0&&(t=Vs),r===void 0&&(r={}),Object.keys(t).reduce((n,o)=>{let i=t[o];return n[o]=i.bind(null,e),n},r)}var Jf={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}}},Yf={doubleClick:"dblClick"},qx=["value","files"],Ax=["bubbles","cancelable","detail"];function sa(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 Is(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=Wr(d,qx);m!==void 0&&kx(t,m),y!==void 0&&Object.defineProperty(t,"files",{configurable:!0,enumerable:!0,writable:!0,value:y}),Object.assign(t,T);let C=lm(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=Wr(u,Ax);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(Jf).forEach(e=>{let t=Jf[e],r=t.EventType,n=t.defaultInit,o=e.toLowerCase();Is[e]=(i,a)=>Is(o,i,a,{EventType:r,defaultInit:n}),sa[e]=(i,a)=>sa(i,Is[e](i,a))});function kx(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(Yf).forEach(e=>{let t=Yf[e];sa[e]=function(){return sa[t](...arguments)}});function Mx(e){return e.replace(/[ \t]*[\n][ \t]*/g,`
56
+ `)}function Ox(e){return Zf.default.compressToEncodedURIComponent(Mx(e))}function Ix(e){return"https://testing-playground.com/#markup="+Ox(e)}var Nx=(e,t,r)=>Array.isArray(e)?e.forEach(n=>Kf(n,t,r)):Kf(e,t,r),Lx=function(e){if(e===void 0&&(e=Ks().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=Ix(e.innerHTML);return console.log(`Open this URL in your browser
57
57
 
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}"
58
+ `+t),t},Qf={debug:Nx,logTestingPlaygroundURL:Lx},lN=typeof document<"u"&&document.body?xx(document.body,Vs,Qf):Object.keys(Vs).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),Qf);function Ze(e,t){return N().eventWrapper(e)}function se(e){let t=eu(e,Ht),r=Be(e.ownerDocument);(t??e.ownerDocument.body)!==r&&(t?Ze(()=>t.focus()):Ze(()=>r?.blur()),iu(t??e.ownerDocument.body))}function wm(e){!Ht(e)||!(Be(e.ownerDocument)===e)||Ze(()=>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()=>{Ht(o)&&(se(o),r.dispatchEvent(o,Zl(e)))};if(q(t,"input",{type:"file"}))return()=>{wm(t),t.dispatchEvent(new(V(t)).Event("fileDialog")),se(t)}};var kt=Symbol("Displayed value in UI"),ke=Symbol("Displayed selection in UI"),da=Symbol("Initial value to compare on blur");function _m(e){return typeof e=="object"&&kt in e}function Cm(e){return!!e&&typeof e=="object"&&ke in e}function Tm(e,t){e[da]===void 0&&(e[da]=e.value),e[kt]=t,e.value=Object.assign(new String(t),{[kt]:!0})}function Z(e){return e[kt]===void 0?e.value:String(e[kt])}function gr(e){e[kt]=void 0}function pa(e){e[da]=void 0}function Pm(e){return e[da]}function Rm(e,t){e[ke]=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[ke]===void 0?i(r):e[ke].anchorOffset,s=i(t),l=Math.min(a,s),u=Math.max(a,s);if(e[ke]={anchorOffset:a,focusOffset:s},e.selectionStart===l&&e.selectionEnd===u)return;let c=Object.assign(new Number(l),{[ke]:!0});try{e.setSelectionRange(c,u)}catch{}}function Me(e){var t,r,n;let o=(t=e[ke])!==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 Sm(e){return!!e[ke]}function Er(e){e[ke]=void 0}var fa=globalThis.parseInt;function qm(e){let t=e.replace(/\D/g,"");if(t.length<2)return e;let r=fa(t[0],10),n=fa(t[1],10);if(r>=3||r===2&&n>=4){let o;return r>=3?o=1:o=2,xm(t,o)}return e.length===2?e:xm(t,2)}function xm(e,t){let r=e.slice(0,t),n=Math.min(fa(r,10),23),o=e.slice(t),i=fa(o,10),a=Math.min(i,59);return`${n.toString().padStart(2,"0")}:${a.toString().padStart(2,"0")}`}function Ys(e,t){let r=e.cloneNode();return r.value=t,r.value===t}var Am=(function(e){return e.email="email",e.password="password",e.search="search",e.telephone="telephone",e.text="text",e.url="url",e})(Am||{});function km(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 Mm(e){return q(e,"textarea")||q(e,"input")&&e.type in Am}function va(e,t,r,n){if(ba(e)&&t+r>=0&&t+r<=e.nodeValue.length)return{node:e,offset:t+r};let o=Om(e,t,r);if(o){if(ba(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=Om(o,void 0,r);return i?ba(i)?{node:i,offset:r>0?0:i.nodeValue.length}:r<0&&q(i,"br")?{node:o.parentNode,offset:ma(o)}:{node:i.parentNode,offset:ma(i)+(r>0?0:1)}:r<0&&n==="deleteContentBackward"?{node:o.parentNode,offset:ma(o)}:void 0}else return{node:o.parentNode,offset:ma(o)+(r>0?1:0)}}}function Om(e,t,r){let n=Number(t)+(r<0?-1:0);return t!==void 0&&Qs(e)&&n>=0&&n<e.children.length&&(e=e.children[n]),Bx(e,r===1?"next":"previous",Dx)}function Dx(e){if(ba(e))return!0;if(Qs(e)){if(q(e,["input","textarea"]))return e.type!=="hidden";if(q(e,"br"))return!0}return!1}function ma(e){let t=0;for(;e.previousSibling;)t++,e=e.previousSibling;return t}function Qs(e){return e.nodeType===1}function ba(e){return e.nodeType===3}function Bx(e,t,r){for(;;){var n;let o=e[`${t}Sibling`];if(o){if(e=Fx(o,t==="next"?"first":"last"),r(e))return e}else if(e.parentNode&&(!Qs(e.parentNode)||!ce(e.parentNode)&&e.parentNode!==((n=e.ownerDocument)===null||n===void 0?void 0:n.body)))e=e.parentNode;else break}}function Fx(e,t){for(;e.hasChildNodes();)e=e[`${t}Child`];return e}var wr=Symbol("Track programmatic changes for React workaround");function Ux(e){return Object.getOwnPropertyNames(e).some(t=>t.startsWith("__react"))&&V(e).REACT_VERSION===17}function Im(e){Ux(e)&&(e[wr]={previousValue:String(e.value),tracked:[]})}function Nm(e,t){var r,n;(n=e[wr])===null||n===void 0||(r=n.tracked)===null||r===void 0||r.push(t),e[wr]||(gr(e),Ee(e,{focusOffset:t.length}))}function Lm(e,t){var r;let n=e[wr];if(e[wr]=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||gr(e),Sm(e)&&Ee(e,{focusOffset:o?t:e.value.length})}function ya(e){let t=$x(e);if(t&&X(t))return{type:"input",selection:Me(t)};let r=t?.ownerDocument.getSelection();return{type:Fe(e)&&r?.anchorNode&&Fe(r.anchorNode)?"contenteditable":"default",selection:r}}function $x(e){return e.nodeType===1?e:e.parentElement}function Dm(e){let t=ya(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(ya(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 Fm(e){return q(e,"input")&&["date","time"].includes(e.type)}function _e(e,t,r,n="insertText"){let o=Dm(t);o&&(!Fm(t)&&!e.dispatchUIEvent(t,"beforeinput",{inputType:n,data:r})||("startContainer"in o?jx(e,t,o,r,n):Hx(e,t,o,r,n)))}function jx(e,t,r,n,o){let i=!1;if(!r.collapsed)i=!0,r.deleteContents();else if(["deleteContentBackward","deleteContentForward"].includes(o)){let a=va(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 Hx(e,t,r,n,o){let i=n;if(Mm(t)){let u=km(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}=Vx(i,t,r,o);a===l&&s===r.startOffset&&s===r.endOffset||q(t,"input",{type:"number"})&&!Wx(a)||(Tm(t,a),we({focusNode:t,anchorOffset:s,focusOffset:s}),Fm(t)?Ys(t,a)&&(Bm(e,t,s,{}),e.dispatchUIEvent(t,"change"),pa(t)):Bm(e,t,s,{data:n,inputType:o}))}function Vx(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=qm(c);m!==""&&Ys(t,m)&&(c=m,d=m.length)}return{oldValue:i,newValue:c,newOffset:d}}function Bm(e,t,r,n){e.dispatchUIEvent(t,"input",n),Lm(t,r)}function Wx(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 Um(e){return e?ce(e)?e.textContent:Z(e):null}function $m(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 jm(e,t){let r=e.ownerDocument,n=r.querySelectorAll(Hr),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||$m(a[l]))return a[l]}function Zs(e,t){if(X(e)){let r=Me(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=va(r.focusNode,r.focusOffset,t);n&&we({focusNode:n.node,focusOffset:n.offset})}else r[t<0?"collapseToStart":"collapseToEnd"]()}}function ha(e){var t;if(X(e))return we({focusNode:e,anchorOffset:0,focusOffset:Z(e).length});let r=(t=Fe(e))!==null&&t!==void 0?t:e.ownerDocument.body;we({focusNode:r,anchorOffset:0,focusOffset:r.childNodes.length})}function Hm(e){var t;if(X(e))return Me(e).startOffset===0&&Me(e).endOffset===Z(e).length;let r=(t=Fe(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 ct(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 _r(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=Vm[e.key])===null||o===void 0?void 0:o.call(Vm,e,t,r))!==null&&n!==void 0?n:zx(e,t,r)};var Vm={ArrowDown:(e,t,r)=>{if(q(t,"input",{type:"radio"}))return()=>_r(r,t,1)},ArrowLeft:(e,t,r)=>q(t,"input",{type:"radio"})?()=>_r(r,t,-1):()=>Zs(t,-1),ArrowRight:(e,t,r)=>q(t,"input",{type:"radio"})?()=>_r(r,t,1):()=>Zs(t,1),ArrowUp:(e,t,r)=>{if(q(t,"input",{type:"radio"}))return()=>_r(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=Um(t))===null||n===void 0?void 0:n.length)!==null&&r!==void 0?r:0;ct(t,o,o)}},Home:(e,t)=>{if(q(t,["input","textarea"])||ce(t))return()=>{ct(t,0,0)}},PageDown:(e,t)=>{if(q(t,["input"]))return()=>{let r=Z(t).length;ct(t,r,r)}},PageUp:(e,t)=>{if(q(t,["input"]))return()=>{ct(t,0,0)}},Tab:(e,t,r)=>()=>{let n=jm(wt(r.config.document),r.system.keyboard.modifiers.Shift);se(n),X(n)&&Ee(n,{anchorOffset:0,focusOffset:n.value.length})}},zx=(e,t,r)=>{if(e.code==="KeyA"&&r.system.keyboard.modifiers.Control)return()=>ha(t)};ie.keypress=(e,t,r)=>{if(e.key==="Enter"){if(q(t,"button")||q(t,"input")&&Kx.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&&Gx.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 Kx=["button","color","file","image","reset","submit"],Gx=["email","month","password","search","tel","text","url","week"];ie.keyup=(e,t,r)=>{var n;return(n=Wm[e.key])===null||n===void 0?void 0:n.call(Wm,e,t,r)};var Wm={" ":(e,t,r)=>{if(Vr(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 el={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 zm(e){return el[e].EventType}var Xx=["MouseEvent","PointerEvent"];function Km(e){return Xx.includes(zm(e))}function Gm(e){return zm(e)==="KeyboardEvent"}var Jx={ClipboardEvent:[Qx],Event:[],FocusEvent:[Cr,Zx],InputEvent:[Cr,eq],MouseEvent:[Cr,tl,Xm],PointerEvent:[Cr,tl,Xm,rq],KeyboardEvent:[Cr,tl,tq]};function rl(e,t,r){let n=V(t),{EventType:o,defaultInit:i}=el[e],a=new(Yx(n))[o](e,i);return Jx[o].forEach(s=>s(a,r??{})),a}function Yx(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 et(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 Qx(e,{clipboardData:t}){et(e,{clipboardData:t})}function Zx(e,{relatedTarget:t}){et(e,{relatedTarget:t})}function eq(e,{data:t,inputType:r,isComposing:n}){et(e,{data:t,isComposing:!!n,inputType:String(r)})}function Cr(e,{view:t,detail:r}){et(e,{view:t,detail:z(r??0)})}function tl(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}){et(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 tq(e,{key:t,code:r,location:n,repeat:o,isComposing:i,charCode:a}){et(e,{key:String(t),code:String(r),location:z(n),repeat:!!o,isComposing:!!i,charCode:a})}function Xm(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}){et(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 rq(e,{pointerId:t,width:r,height:n,pressure:o,tangentialPressure:i,tiltX:a,tiltY:s,twist:l,pointerType:u,isPrimary:c,buttons:d}){et(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 Jm(e,t,r,n=!1){(Km(t)||Gm(t))&&(r={...r,...this.system.getUIEventModifiers()});let o=rl(t,e,r);return nl.call(this,e,o,n)}function nl(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}}),Ze(()=>e.dispatchEvent(t)),a||i(),!a}return Ze(()=>e.dispatchEvent(t))}function Oe(e,t,r){let n=rl(t,e,r);Ze(()=>e.dispatchEvent(n))}var Ym=Symbol("patched focus/blur methods");function ol(e){if(e.prototype[Ym])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},[Ym]:{configurable:!0,get:()=>({focus:t,blur:r})}});let n;function o(a){if(this.ownerDocument.visibilityState!=="hidden")return t.call(this,a);let s=Qm(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=Qm(this.ownerDocument);if(a!==this)return;n=Symbol("blur call"),r.call(this),Oe(a,"blur",{relatedTarget:null}),Oe(a,"focusout",{relatedTarget:null})}}function Qm(e){let t=Be(e);return t?.tagName==="BODY"?null:t}var il=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][il])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[il]=il,Object.defineProperty(e,t,{...o??n,[i]:a})}function Zm(e){Mt(e,"value",function(r){let n=_m(r);return n&&Im(this),{applyNative:!!n,realArgs:nq(this,r),then:n?void 0:()=>Nm(this,String(r))}})}function nq(e,t){return q(e,"input",{type:"number"})&&String(t)!==""&&!Number.isNaN(Number(t))?String(Number(t)):String(t)}function eb(e){Mt(e,"setSelectionRange",function(r,...n){let o=Cm(r);return{applyNative:!!o,realArgs:[Number(r),...n],then:()=>o?void 0:Er(e)}}),Mt(e,"selectionStart",function(r){return{realArgs:r,then:()=>Er(e)}}),Mt(e,"selectionEnd",function(r){return{realArgs:r,then:()=>Er(e)}}),Mt(e,"select",function(){return{realArgs:[],then:()=>Rm(e,{anchorOffset:0,focusOffset:Z(e).length})}})}function tb(e){Mt(e,"setRangeText",function(...r){return{realArgs:r,then:()=>{gr(e),Er(e)}}})}var Ot=Symbol("Node prepared with document state workarounds");function al(e){e[Ot]||(e.addEventListener("focus",t=>{let r=t.target;rb(r)},{capture:!0,passive:!0}),e.activeElement&&rb(e.activeElement),e.addEventListener("blur",t=>{let r=t.target,n=Pm(r);n!==void 0&&(r.value!==n&&Oe(r,"change"),pa(r))},{capture:!0,passive:!0}),e[Ot]=Ot)}function rb(e){e[Ot]||(q(e,["input","textarea"])&&(Zm(e),eb(e),tb(e)),e[Ot]=Ot)}function nb(e){return oq(e)?e:e.ownerDocument}function oq(e){return e.nodeType===9}var re=(function(e){return e[e.Trigger=2]="Trigger",e[e.Call=1]="Call",e})({});function dt(e,t){e.levelRefs[t]={}}function Tr(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 pt=(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 ft(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})({}),iq=["Alt","AltGraph","Control","Fn","Meta","Shift","Symbol"];function ob(e){return iq.includes(e)}var aq=["CapsLock","FnLock","NumLock","ScrollLock","SymbolLock"];function ib(e){return aq.includes(e)}var ga=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=wt(t.config.document);this.setKeydownTarget(a),this.pressed.add(i,r),ob(o)&&(this.modifiers[o]=!0);let s=t.dispatchUIEvent(a,"keydown",{key:o,code:i,repeat:n});ib(o)&&!this.modifiers[o]&&(this.modifiers[o]=!0,this.modifierLockStart[o]=!0),s&&this.pressed.setUnprevented(i),s&&this.hasKeyPress(o)&&t.dispatchUIEvent(wt(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),ob(n)&&!this.pressed.values().find(a=>a.keyDef.key===n)&&(this.modifiers[n]=!1),t.dispatchUIEvent(wt(t.config.document),"keyup",{key:n,code:o},!i),ib(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){ft(this,"system",void 0),ft(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}),ft(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(){ft(this,"registry",{})}}),ft(this,"carryChar",""),ft(this,"lastKeydownTarget",void 0),ft(this,"modifierLockStart",{}),this.system=t}};var ab=[..."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 sb=[{name:"MouseLeft",pointerType:"mouse",button:"primary"},{name:"MouseRight",pointerType:"mouse",button:"secondary"},{name:"MouseMiddle",pointerType:"mouse",button:"auxiliary"},{name:"TouchA",pointerType:"touch"},{name:"TouchB",pointerType:"touch"},{name:"TouchC",pointerType:"touch"}];function sq(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var It=class{getButtons(){let t=0;for(let r of Object.keys(this.pressed))t|=2**Number(r);return t}down(t){let r=sl(t.button);if(r in this.pressed){this.pressed[r].push(t);return}return this.pressed[r]=[t],r}up(t){let r=sl(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(){sq(this,"pressed",{})}},lb={primary:0,secondary:1,auxiliary:2,back:3,X1:3,forward:4,X2:4};function sl(e=0){return e in lb?lb[e]:Number(e)}var ub={1:2,2:1};function Pr(e){return e=sl(e),e in ub?ub[e]:e}function lq(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{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(){lq(this,"pressedKeys",new Set)}};function mt(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 Rr({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)}:cb(e,r)}function cb(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 cb(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 db({document:e,target:t,clickCount:r,node:n,offset:o}){if(nu(t))return;let i=X(t),a=String(i?Z(t):t.textContent),[s,l]=n?[o,o]:uq(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}=Rr({target:t,node:n,offset:s}),{node:d,offset:m}=Rr({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 uq(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 pb(e,{document:t,target:r,node:n,offset:o}){let i=Rr({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 wa(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 bt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var _a=class{move(t,r,n){let o=this.position,i=this.getTarget(t);if(this.position=r,!wa(o,r))return;let a=this.getTarget(t),s=this.getEventInit("mousemove"),[l,u]=mt(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&&Pr(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=mt(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=Pr(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=db({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&&pb(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(){bt(this,"position",{}),bt(this,"buttons",new It),bt(this,"selecting",void 0),bt(this,"buttonDownTarget",{}),bt(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(){bt(this,"down",{}),bt(this,"count",{})}})}};function Nt(e,t){var r;return((r=bb(e,t))===null||r===void 0?void 0:r.pointerEvents)!=="none"}function cq(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 fb=Symbol("Last check for pointer-events");function bb(e,t){let r=t[fb];if(!(e.config.pointerEventsCheck!==pt.Never&&(!r||mb(e.config.pointerEventsCheck,pt.EachApiCall)&&r[re.Call]!==Tr(e,re.Call)||mb(e.config.pointerEventsCheck,pt.EachTrigger)&&r[re.Trigger]!==Tr(e,re.Trigger))))return r?.result;let o=cq(t);return t[fb]={[re.Call]:Tr(e,re.Call),[re.Trigger]:Tr(e,re.Trigger),result:o},o}function vt(e,t){let r=bb(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\`:`,"",dq(r.tree)].join(`
60
+ `))}function dq(e){return e.reverse().map((t,r)=>["".padEnd(r),t.tagName,t.id&&`#${t.id}`,t.hasAttribute("data-testid")&&`(testId=${t.getAttribute("data-testid")})`,pq(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 pq(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 mb(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 Ca=class{init(t){let r=this.getTarget(t),[,n]=mt(null,r),o=this.getEventInit();return vt(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,!wa(n,r))return;let i=this.getTarget(t),a=this.getEventInit(-1),[s,l]=mt(o,i);return{leave:()=>{Nt(t,o)&&o!==i&&(t.dispatchUIEvent(o,"pointerout",a),s.forEach(u=>t.dispatchUIEvent(u,"pointerleave",a)))},enter:()=>{vt(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);vt(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);vt(t,n),this.isPrevented=!1,this.isDown=!1,t.dispatchUIEvent(n,"pointerup",this.getEventInit(r))}release(t){let r=this.getTarget(t),[n]=mt(r,null),o=this.getEventInit();Nt(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:Pr(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 tt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Ta=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){tt(this,"system",void 0),tt(this,"mouse",void 0),tt(this,"buttons",void 0),tt(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 Ea}constructor(){tt(this,"registry",{})}}),tt(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 Ca({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(){tt(this,"registry",{}),tt(this,"nextId",1)}}),this.system=t,this.buttons=new It,this.mouse=new _a,this.pointers.new("mouse","mouse",this.buttons)}};function vb(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Sr=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(){vb(this,"keyboard",new ga(this)),vb(this,"pointer",new Ta(this))}};async function yb(e){let t=[];return this.config.skipHover||t.push({target:e}),t.push({keys:"[MouseLeft]",target:e}),this.pointer(t)}async function hb(e){return this.pointer([{target:e},"[MouseLeft][MouseLeft]"])}async function gb(e){return this.pointer([{target:e},"[MouseLeft][MouseLeft][MouseLeft]"])}async function Eb(e){return this.pointer({target:e})}async function wb(e){return vt(this,this.system.pointer.getMouseTarget(this)),this.pointer({target:e.ownerDocument.body})}async function _b({shift:e}={}){return this.keyboard(e===!0?"{Shift>}{Tab}{/Shift}":e===!1?"[/ShiftLeft][/ShiftRight]{Tab}":"{Tab}")}var Cb={"{":"}","[":"]"};function Pa(e,t){let r=0,n=e[r]in Cb?e[r]:"";r+=n.length;let i=new RegExp(`^\\${n}{2}`).test(e)?"":n;return{type:i,...i===""?fq(e,r,t):mq(e,r,i,t)}}function fq(e,t,r){let n=e[t];return Tb(n,e,t,r),t+=n.length,{consumedLength:t,descriptor:n,releasePrevious:!1,releaseSelf:!0,repeat:1}}function mq(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];Tb(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=Cb[r],y=e[t]===m?m:"";if(!y)throw new Error(Pb([!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:bq(d,c)}}function Tb(e,t,r,n){if(!e)throw new Error(Pb("key descriptor",t[r],t,n))}function bq(e,t){if(e)return e==="/";if(t)return!1}function Pb(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 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;
63
+ for more information about how userEvent parses your input.`}function Rb(e,t){let r=[];do{var n;let{type:o,descriptor:i,consumedLength:a,releasePrevious:s,releaseSelf:l=!0,repeat:u}=Pa(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 Sb(e){let t=Rb(this.config.keyboardMap,e);for(let r=0;r<t.length;r++)await Re(this.config),await vq(this,t[r])}async function vq(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 xb(e){for(let t of e.system.keyboard.getPressedKeys())await e.system.keyboard.keyup(e,t)}function Ra(e){let t=X(e)?{"text/plain":yq(e)}:{"text/plain":String(e.ownerDocument.getSelection())},r=gt(V(e));for(let n in t)t[n]&&r.setData(n,t[n]);return r}function yq(e){let t=Me(e);return Z(e).substring(t.startOffset,t.endOffset)}async function qb(){var e;let t=this.config.document,r=(e=t.activeElement)!==null&&e!==void 0?e:t.body,n=Ra(r);if(n.items.length!==0)return this.dispatchUIEvent(r,"copy",{clipboardData:n})&&this.config.writeToClipboard&&await jr(t,n),n}async function Ab(){var e;let t=this.config.document,r=(e=t.activeElement)!==null&&e!==void 0?e:t.body,n=Ra(r);if(n.items.length!==0)return this.dispatchUIEvent(r,"cut",{clipboardData:n})&&this.config.writeToClipboard&&await jr(r.ownerDocument,n),n}async function kb(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"?hq(n,e):e)!==null&&r!==void 0?r:await Ql(n).catch(()=>{throw new Error("`userEvent.paste()` without `clipboardData` requires the `ClipboardAPI` to be available.")});this.dispatchUIEvent(o,"paste",{clipboardData:i})}function hq(e,t){let r=gt(V(e));return r.setData("text",t),r}function ll(e,t){let r=[];do{let{descriptor:n,consumedLength:o,releasePrevious:i,releaseSelf:a=!0}=Pa(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 Ob(e){let{pointerMap:t}=this.config,r=[];(Array.isArray(e)?e:[e]).forEach(n=>{typeof n=="string"?r.push(...ll(t,n)):"keys"in n?r.push(...ll(t,n.keys).map(o=>({...n,...o}))):r.push(n)});for(let n=0;n<r.length;n++)await Re(this.config),await gq(this,r[n]);this.system.pointer.resetClickCount()}async function gq(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:Eq(e,u),coords:(n=t.coords)!==null&&n!==void 0?n:u?.coords,caret:{node:(o=t.node)!==null&&o!==void 0?o:Mb(t)||u==null||(a=u.caret)===null||a===void 0?void 0:a.node,offset:(i=t.offset)!==null&&i!==void 0?i:Mb(t)||u==null||(s=u.caret)===null||s===void 0?void 0:s.offset}};"keyDef"in t?(e.system.pointer.isKeyPressed(t.keyDef)&&(dt(e,re.Trigger),await e.system.pointer.release(e,t.keyDef,c)),t.releasePrevious||(dt(e,re.Trigger),await e.system.pointer.press(e,t.keyDef,c),t.releaseSelf&&(dt(e,re.Trigger),await e.system.pointer.release(e,t.keyDef,c)))):(dt(e,re.Trigger),await e.system.pointer.move(e,l,c))}function Mb(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 Eq(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 Ib(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(ha(e),!Hm(e))throw new Error("The element content to be cleared could not be selected.");_e(this,e,"","deleteContentBackward")}async function Nb(e,t){return Db.call(this,!0,e,t)}async function Lb(e,t){return Db.call(this,!1,e,t)}async function Db(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:Nt(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:Nt(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 Bb(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&&ct(e,o,i??o),await this.keyboard(t),n||await xb(this))}var Fb=Symbol("files and value properties are mocked");function ul(e,t,r){r?Object.defineProperty(e,t,r):delete e[t]}function Ub(e,t){var r;(r=e[Fb])===null||r===void 0||r.restore();let n=Object.getOwnPropertyDescriptor(e,"type"),o=Object.getOwnPropertyDescriptor(e,"value"),i=Object.getOwnPropertyDescriptor(e,"files");function a(){ul(e,"type",n),ul(e,"value",o),ul(e,"files",i)}e[Fb]={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 $b(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||wq(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))})||(Ub(r,$t(V(e),n)),this.dispatchUIEvent(r,"input"),this.dispatchUIEvent(r,"change"))};r.addEventListener("fileDialog",o),await this.click(e),r.removeEventListener("fileDialog",o)}function Sa(e){return e.toLowerCase().replace(/(\.|\/)jpg\b/g,"$1jpeg")}function wq(e,t){if(!t)return!0;let r=["audio/*","image/*","video/*"];return Sa(t).trim().split(/\s*,\s*/).some(n=>n.startsWith(".")?Sa(e.name).endsWith(n):r.includes(n)?Sa(e.type).startsWith(n.replace("*","")):Sa(e.type)===n)}var cl={click:yb,dblClick:hb,tripleClick:gb,hover:Eb,unhover:wb,tab:_b,keyboard:Sb,copy:qb,cut:Ab,paste:kb,pointer:Ob,clear:Ib,deselectOptions:Lb,selectOptions:Nb,type:Bb,upload:$b};function jb(e){return N().asyncWrapper(e)}var Hb={applyAccept:!0,autoModify:!0,delay:0,document:globalThis.document,keyboardMap:ab,pointerMap:sb,pointerEventsCheck:pt.EachApiCall,skipAutoClose:!1,skipClick:!1,skipHover:!1,writeToClipboard:!1,advanceTimers:()=>Promise.resolve()},_q={...Hb,writeToClipboard:!0};function Vb(e={},t=_q,r){let n=Pq(e,r,t);return{...t,...e,document:n}}function Wb(e={}){var t;let r=Vb(e);al(r.document),ol(V(r.document).HTMLElement);let n=(t=r.document.defaultView)!==null&&t!==void 0?t:globalThis.window;return Yl(n),dl(r).api}function ee({keyboardState:e,pointerState:t,...r}={},n){var o;let i=Vb(r,Hb,n);al(i.document),ol(V(i.document).HTMLElement);let a=(o=t??e)!==null&&o!==void 0?o:new Sr;return{api:dl(i,a).api,system:a}}function Cq(e){return dl({...this.config,...e},this.system).api}function Tq(e,t){function r(...n){return dt(e,re.Call),jb(()=>t.apply(e,n).then(async o=>(await Re(e.config),o)))}return Object.defineProperty(r,"name",{get:()=>t.name}),r}function dl(e,t=new Sr){let r={};return Object.assign(r,{config:e,dispatchEvent:nl.bind(r),dispatchUIEvent:Jm.bind(r),system:t,levelRefs:{},...cl}),{instance:r,api:{...Object.fromEntries(Object.entries(cl).map(([n,o])=>[n,Tq(r,o)])),setup:Cq.bind(r)}}}function Pq(e,t,r){var n,o;return(n=(o=e.document)!==null&&o!==void 0?o:t&&nb(t))!==null&&n!==void 0?n:r.document}var pl={};sv(pl,{clear:()=>Rq,click:()=>Sq,copy:()=>xq,cut:()=>qq,dblClick:()=>Aq,deselectOptions:()=>kq,hover:()=>Mq,keyboard:()=>Oq,paste:()=>Nq,pointer:()=>Iq,selectOptions:()=>Lq,tab:()=>$q,tripleClick:()=>Dq,type:()=>Bq,unhover:()=>Fq,upload:()=>Uq});function Rq(e){return ee().api.clear(e)}function Sq(e,t={}){return ee(t,e).api.click(e)}function xq(e={}){return ee(e).api.copy()}function qq(e={}){return ee(e).api.cut()}function Aq(e,t={}){return ee(t).api.dblClick(e)}function kq(e,t,r={}){return ee(r).api.deselectOptions(e,t)}function Mq(e,t={}){return ee(t).api.hover(e)}async function Oq(e,t={}){let{api:r,system:n}=ee(t);return r.keyboard(e).then(()=>n)}async function Iq(e,t={}){let{api:r,system:n}=ee(t);return r.pointer(e).then(()=>n)}function Nq(e,t){return ee(t).api.paste(e)}function Lq(e,t,r={}){return ee(r).api.selectOptions(e,t)}function Dq(e,t={}){return ee(t).api.tripleClick(e)}function Bq(e,t,r={}){return ee(r,e).api.type(e,t,r)}function Fq(e,t={}){let{api:r,system:n}=ee(t);return n.pointer.setMousePosition({target:e}),r.unhover(e)}function Uq(e,t,r={}){return ee(r).api.upload(e,t)}function $q(e={}){return ee().api.tab(e)}var xa={...pl,setup:Wb};var zb=!1,Kb=!1,fl=null;function jq(e){return new Promise(t=>setTimeout(t,e))}function Gb(e){try{if(typeof e=="string")return new URL(e,Hq()).href;if(e instanceof URL)return e.href;if(typeof Request<"u"&&e instanceof Request)return e.url}catch{}return String(e)}function Hq(){try{if(typeof location<"u"&&location.href)return location.href}catch{}return"http://localhost/"}function Vq(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 Wq(e,t){let r=t?.body;if(typeof r=="string")return r;try{if(typeof Request<"u"&&e instanceof Request)return}catch{}}function zq(e){let t=Nr(e.headers),r={};for(let n of t)r[n.name]=n.value;return new Response(Ut(e.body),{status:e.statusCode,headers:r})}async function Kq(e,t,r){let n=Gb(t),o=Vq(t,r),i=Bt(fl?.()??[],n,o);if(!i)return e(t,r);let a={url:n,method:o,headers:void 0,postData:Wq(t,r),timestamp:Date.now()};if(Ft(i,a),i.aborted)throw new TypeError(`Spectra.intercept() aborted ${o} ${n} (${i.abortReason||"Failed"})`);let s=await ja(i,a);return s.delayMs&&s.delayMs>0&&await jq(s.delayMs),zq(s)}function Gq(){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=Gb(l);let[c=!0,d,m]=u;return i(s,l,c,d,m)},r.send=s=>{let l=Bt(fl?.()??[],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()};Ft(l,u);let c=()=>{r.dispatchEvent(new Event("error"))};if(l.aborted){setTimeout(c,0);return}let d=m=>{let y=Ut(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"))};ja(l,u).then(m=>{setTimeout(()=>d(m),m.delayMs&&m.delayMs>0?m.delayMs:0)})},r}t.prototype=e.prototype,globalThis.XMLHttpRequest=t}function Xb(e){if(fl=e,!zb&&typeof globalThis.fetch=="function"){let t=globalThis.fetch.bind(globalThis);globalThis.fetch=(r,n)=>Kq(t,r,n),zb=!0}!Kb&&typeof globalThis.XMLHttpRequest=="function"&&(Gq(),Kb=!0)}function rt(){return xa.setup({delay:null})}function qa(e){return Ll(e.trim())??e.trim()}function Yb(e,t){let r=qa(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=Va(e.trim());return i?Dl(i.name,document,t):null}function Se(e){return typeof e=="string"?e:e.selector}function Jb(e,t){return t==null?e[0]??null:t>=0?e[t]??null:e[e.length+t]??null}function ml(e,t){if(!t)return!0;try{return e.matches(t)}catch{return!1}}function Aa(e,t){let r=Nl(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=>ml(a,r.arg));if(r.kind==="siblings"){let a=o.parentElement;return a?Array.from(a.children).filter(s=>s!==o&&ml(s,r.arg)):[]}let i=o.nextElementSibling;for(;i&&!ml(i,r.arg);)i=i.nextElementSibling;return i?[i]:[]}function $(e,t){if(typeof e=="string"){let s=Aa(e,void 0);return s!==void 0?Jb(s,t):Yb(e,t)}let r=Aa(e.selector,e.parent);if(r!==void 0)return Jb(r,e.index??t);let n=e.parent?$(e.parent,e.parent.index):document.documentElement;if(!n)return null;let o=qa(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 bl(e){let t=e.tagName;return t==="INPUT"||t==="TEXTAREA"||t==="SELECT"}function xr(e){if(e.tagName!=="INPUT"&&e.tagName!=="TEXTAREA")return null;let t=e;return t.tagName==="INPUT"&&Ol.includes(t.type)?null:typeof t.value=="string"?t.value:null}var ka=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 rt().click(n)}async doubleClick(t,r=null){let n=await this.waitForScopedEl(t,r);await rt().dblClick(n)}async rightClick(t,r=null){let n=await this.waitForScopedEl(t,r);await rt().pointer({keys:"[MouseRight]",target:n})}async setValue(t,r,n=null){let o=await this.waitForScopedEl(t,n);if(!bl(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=rt();await a.clear(o);let s=xr(o);if(i.length>0){if(await a.type(o,i),Mr(i,xr(o),s))return;o.focus(),await a.clear(o),await a.type(o,i);let l=xr(o);if(!Mr(i,l,s))throw Fa(Se(t),i,l??"")}}async typeText(t,r,n=null){let o=await this.waitForScopedEl(t,n);if(!bl(o))throw new Error("Element is not a form field: "+Se(t));let i=String(r??"");if(i.length===0)return;let a=xr(o);await rt().type(o,i);let s=xr(o);if(!Mr((a??"")+i,s,a))throw Fa(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 rt().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 rt().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=Yb(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?bl(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=Aa(t,void 0);return o!==void 0?o.length:document.querySelectorAll(qa(t)).length}let r=Aa(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(qa(t.selector)).length:0}async pressKey(t){let r=Il(t);if(r?.code){await rt().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=Da(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=Ir(t,r,n,o);return Xb(()=>this.mockRules),this.mockRules.push(i),Or(i,()=>{let a=this.mockRules.indexOf(i);a!==-1&&this.mockRules.splice(a,1)})}clearMocks(){this.mockRules=[]}};var Ma="spectra-root",yt=null,qr=null;async function Xq(){if(typeof window<"u"&&window.__TESTSPECTRA_CREATE_ROOT__)return window.__TESTSPECTRA_CREATE_ROOT__;if(qr)return qr;try{let e=await import("react-dom/client");if(qr=e.createRoot||e.default?.createRoot||e.default,qr)return qr}catch{}throw new Error("Could not find react-dom/client createRoot. Ensure react-dom is installed in your project.")}function Jq(){let e=document.getElementById(Ma);return e||(e=document.createElement("div"),e.id=Ma,document.body.appendChild(e)),e}function Qb(){if(yt){try{yt.unmount()}catch{try{yt.render(null)}catch{}}yt=null}let e=document.getElementById(Ma);e&&(e.innerHTML="")}async function Zb(e){let t=Jq();yt||(yt=(await Xq())(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()=>(yt.render(e),await new Promise(n=>setTimeout(n,20)),globalThis.__TS_RUNTIME__.createElementProxy(`#${Ma}`)))}var ev=new ka;yl(ev);globalThis.browser=ev;globalThis.$=function(e){return ue(e)};globalThis.$$=function(e){return Pe(e)};var vl=Bl();vl.mount=Zb;vl.unmount=Qb;globalThis.Spectra=vl;(typeof globalThis.__vitest_browser_runner__<"u"||typeof globalThis.__vitest_worker__<"u")&&await Xa();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: