@testspectra/react 1.2.2 → 1.2.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/setup.js +31 -31
  2. package/package.json +2 -2
package/dist/setup.js CHANGED
@@ -1,27 +1,27 @@
1
- var Tb=Object.create;var Ra=Object.defineProperty;var Rb=Object.getOwnPropertyDescriptor;var Sb=Object.getOwnPropertyNames;var xb=Object.getPrototypeOf,qb=Object.prototype.hasOwnProperty;var p=(e,t)=>()=>{try{return t||e((t={exports:{}}).exports,t),t.exports}catch(r){throw t=0,r}},Ab=(e,t)=>{for(var r in t)Ra(e,r,{get:t[r],enumerable:!0})},Mb=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of Sb(t))!qb.call(e,o)&&o!==r&&Ra(e,o,{get:()=>t[o],enumerable:!(n=Rb(t,o))||n.enumerable});return e};var Sa=(e,t,r)=>(r=e!=null?Tb(xb(e)):{},Mb(t||!e||!e.__esModule?Ra(r,"default",{value:e,enumerable:!0}):r,e));var Da=p((FA,Al)=>{"use strict";var xl=(e=0)=>t=>`\x1B[${38+e};5;${t}m`,ql=(e=0)=>(t,r,n)=>`\x1B[${38+e};2;${t};${r};${n}m`;function Gb(){let e=new Map,t={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],overline:[53,55],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};t.color.gray=t.color.blackBright,t.bgColor.bgGray=t.bgColor.bgBlackBright,t.color.grey=t.color.blackBright,t.bgColor.bgGrey=t.bgColor.bgBlackBright;for(let[r,n]of Object.entries(t)){for(let[o,i]of Object.entries(n))t[o]={open:`\x1B[${i[0]}m`,close:`\x1B[${i[1]}m`},n[o]=t[o],e.set(i[0],i[1]);Object.defineProperty(t,r,{value:n,enumerable:!1})}return Object.defineProperty(t,"codes",{value:e,enumerable:!1}),t.color.close="\x1B[39m",t.bgColor.close="\x1B[49m",t.color.ansi256=xl(),t.color.ansi16m=ql(),t.bgColor.ansi256=xl(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(Al,"exports",{enumerable:!0,get:Gb})});var $t=p(ht=>{"use strict";Object.defineProperty(ht,"__esModule",{value:!0});ht.printIteratorEntries=Xb;ht.printIteratorValues=Qb;ht.printListItems=Jb;ht.printObjectProperties=Yb;var Kb=(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 Xb(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 Qb(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 Jb(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 Yb(e,t,r,n,o,i){let a="",s=Kb(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 Il=p(Be=>{"use strict";Object.defineProperty(Be,"__esModule",{value:!0});Be.test=Be.serialize=Be.default=void 0;var Ml=$t(),jr=(function(){return typeof globalThis<"u"?globalThis:typeof jr<"u"?jr:typeof self<"u"?self:typeof window<"u"?window:Function("return this")()})(),Fa=jr["jest-symbol-do-not-touch"]||jr.Symbol,Zb=typeof Fa=="function"&&Fa.for?Fa.for("jest.asymmetricMatcher"):1267621,Ur=" ",Ol=(e,t,r,n,o,i)=>{let a=e.toString();return a==="ArrayContaining"||a==="ArrayNotContaining"?++n>t.maxDepth?"["+a+"]":a+Ur+"["+(0,Ml.printListItems)(e.sample,t,r,n,o,i)+"]":a==="ObjectContaining"||a==="ObjectNotContaining"?++n>t.maxDepth?"["+a+"]":a+Ur+"{"+(0,Ml.printObjectProperties)(e.sample,t,r,n,o,i)+"}":a==="StringMatching"||a==="StringNotMatching"||a==="StringContaining"||a==="StringNotContaining"?a+Ur+i(e.sample,t,r,n,o):e.toAsymmetricMatcher()};Be.serialize=Ol;var kl=e=>e&&e.$$typeof===Zb;Be.test=kl;var ev={serialize:Ol,test:kl},tv=ev;Be.default=tv});var Ll=p(($A,Nl)=>{"use strict";Nl.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 jl=p(De=>{"use strict";Object.defineProperty(De,"__esModule",{value:!0});De.test=De.serialize=De.default=void 0;var Bl=Dl(Ll()),U=Dl(Da());function Dl(e){return e&&e.__esModule?e:{default:e}}var rv=e=>e.replace((0,Bl.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""}}),Fl=e=>typeof e=="string"&&!!e.match((0,Bl.default)());De.test=Fl;var Ul=(e,t,r,n,o,i)=>i(rv(e),t,r,n,o);De.serialize=Ul;var nv={serialize:Ul,test:Fl},ov=nv;De.default=ov});var zl=p(Fe=>{"use strict";Object.defineProperty(Fe,"__esModule",{value:!0});Fe.test=Fe.serialize=Fe.default=void 0;var $l=$t(),iv=" ",Hl=["DOMStringMap","NamedNodeMap"],av=/^(HTML\w*Collection|NodeList)$/,sv=e=>Hl.indexOf(e)!==-1||av.test(e),Vl=e=>e&&e.constructor&&!!e.constructor.name&&sv(e.constructor.name);Fe.test=Vl;var lv=e=>e.constructor.name==="NamedNodeMap",Wl=(e,t,r,n,o,i)=>{let a=e.constructor.name;return++n>t.maxDepth?"["+a+"]":(t.min?"":a+iv)+(Hl.indexOf(a)!==-1?"{"+(0,$l.printObjectProperties)(lv(e)?Array.from(e).reduce((s,l)=>(s[l.name]=l.value,s),{}):{...e},t,r,n,o,i)+"}":"["+(0,$l.printListItems)(Array.from(e),t,r,n,o,i)+"]")};Fe.serialize=Wl;var uv={serialize:Wl,test:Vl},cv=uv;Fe.default=cv});var Gl=p(Ua=>{"use strict";Object.defineProperty(Ua,"__esModule",{value:!0});Ua.default=dv;function dv(e){return e.replace(/</g,"&lt;").replace(/>/g,"&gt;")}});var $r=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 Kl=pv(Gl());function pv(e){return e&&e.__esModule?e:{default:e}}var fv=(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=fv;var mv=(e,t,r,n,o,i)=>e.map(a=>t.spacingOuter+r+(typeof a=="string"?Xl(a,t):i(a,t,r,n,o))).join("");ae.printChildren=mv;var Xl=(e,t)=>{let r=t.colors.content;return r.open+(0,Kl.default)(e)+r.close};ae.printText=Xl;var bv=(e,t)=>{let r=t.colors.comment;return r.open+"<!--"+(0,Kl.default)(e)+"-->"+r.close};ae.printComment=bv;var vv=(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=vv;var yv=(e,t)=>{let r=t.colors.tag;return r.open+"<"+e+r.close+" \u2026"+r.open+" />"+r.close};ae.printElementAsLeaf=yv});var tu=p(Ue=>{"use strict";Object.defineProperty(Ue,"__esModule",{value:!0});Ue.test=Ue.serialize=Ue.default=void 0;var gt=$r(),hv=1,Ql=3,Jl=8,Yl=11,gv=/^((HTML|SVG)\w*)?Element$/,Ev=e=>{try{return typeof e.hasAttribute=="function"&&e.hasAttribute("is")}catch{return!1}},wv=e=>{let t=e.constructor.name,{nodeType:r,tagName:n}=e,o=typeof n=="string"&&n.includes("-")||Ev(e);return r===hv&&(gv.test(t)||o)||r===Ql&&t==="Text"||r===Jl&&t==="Comment"||r===Yl&&t==="DocumentFragment"},Zl=e=>{var t;return(e==null||(t=e.constructor)===null||t===void 0?void 0:t.name)&&wv(e)};Ue.test=Zl;function _v(e){return e.nodeType===Ql}function Cv(e){return e.nodeType===Jl}function ja(e){return e.nodeType===Yl}var eu=(e,t,r,n,o,i)=>{if(_v(e))return(0,gt.printText)(e.data,t);if(Cv(e))return(0,gt.printComment)(e.data,t);let a=ja(e)?"DocumentFragment":e.tagName.toLowerCase();return++n>t.maxDepth?(0,gt.printElementAsLeaf)(a,t):(0,gt.printElement)(a,(0,gt.printProps)(ja(e)?[]:Array.from(e.attributes).map(s=>s.name).sort(),ja(e)?{}:Array.from(e.attributes).reduce((s,l)=>(s[l.name]=l.value,s),{}),t,r+t.indent,n,o,i),(0,gt.printChildren)(Array.prototype.slice.call(e.childNodes||e.children),t,r+t.indent,n,o,i),t,r)};Ue.serialize=eu;var Pv={serialize:eu,test:Zl},Tv=Pv;Ue.default=Tv});var au=p(je=>{"use strict";Object.defineProperty(je,"__esModule",{value:!0});je.test=je.serialize=je.default=void 0;var Ht=$t(),Rv="@@__IMMUTABLE_ITERABLE__@@",Sv="@@__IMMUTABLE_LIST__@@",xv="@@__IMMUTABLE_KEYED__@@",qv="@@__IMMUTABLE_MAP__@@",ru="@@__IMMUTABLE_ORDERED__@@",Av="@@__IMMUTABLE_RECORD__@@",Mv="@@__IMMUTABLE_SEQ__@@",Ov="@@__IMMUTABLE_SET__@@",kv="@@__IMMUTABLE_STACK__@@",Et=e=>"Immutable."+e,Hr=e=>"["+e+"]",Vt=" ",nu="\u2026",Iv=(e,t,r,n,o,i,a)=>++n>t.maxDepth?Hr(Et(a)):Et(a)+Vt+"{"+(0,Ht.printIteratorEntries)(e.entries(),t,r,n,o,i)+"}";function Nv(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 Lv=(e,t,r,n,o,i)=>{let a=Et(e._name||"Record");return++n>t.maxDepth?Hr(a):a+Vt+"{"+(0,Ht.printIteratorEntries)(Nv(e),t,r,n,o,i)+"}"},Bv=(e,t,r,n,o,i)=>{let a=Et("Seq");return++n>t.maxDepth?Hr(a):e[xv]?a+Vt+"{"+(e._iter||e._object?(0,Ht.printIteratorEntries)(e.entries(),t,r,n,o,i):nu)+"}":a+Vt+"["+(e._iter||e._array||e._collection||e._iterable?(0,Ht.printIteratorValues)(e.values(),t,r,n,o,i):nu)+"]"},$a=(e,t,r,n,o,i,a)=>++n>t.maxDepth?Hr(Et(a)):Et(a)+Vt+"["+(0,Ht.printIteratorValues)(e.values(),t,r,n,o,i)+"]",ou=(e,t,r,n,o,i)=>e[qv]?Iv(e,t,r,n,o,i,e[ru]?"OrderedMap":"Map"):e[Sv]?$a(e,t,r,n,o,i,"List"):e[Ov]?$a(e,t,r,n,o,i,e[ru]?"OrderedSet":"Set"):e[kv]?$a(e,t,r,n,o,i,"Stack"):e[Mv]?Bv(e,t,r,n,o,i):Lv(e,t,r,n,o,i);je.serialize=ou;var iu=e=>e&&(e[Rv]===!0||e[Av]===!0);je.test=iu;var Dv={serialize:ou,test:iu},Fv=Dv;je.default=Fv});var pu=p(D=>{"use strict";var Vr=60103,Wr=60106,Wt=60107,zt=60108,Gt=60114,Kt=60109,Xt=60110,Qt=60112,Jt=60113,Ha=60120,Yt=60115,Zt=60116,su=60121,lu=60122,uu=60117,cu=60129,du=60131;typeof Symbol=="function"&&Symbol.for&&(J=Symbol.for,Vr=J("react.element"),Wr=J("react.portal"),Wt=J("react.fragment"),zt=J("react.strict_mode"),Gt=J("react.profiler"),Kt=J("react.provider"),Xt=J("react.context"),Qt=J("react.forward_ref"),Jt=J("react.suspense"),Ha=J("react.suspense_list"),Yt=J("react.memo"),Zt=J("react.lazy"),su=J("react.block"),lu=J("react.server.block"),uu=J("react.fundamental"),cu=J("react.debug_trace_mode"),du=J("react.legacy_hidden"));var J;function ye(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case Vr:switch(e=e.type,e){case Wt:case Gt:case zt:case Jt:case Ha:return e;default:switch(e=e&&e.$$typeof,e){case Xt:case Qt:case Zt:case Yt:case Kt:return e;default:return t}}case Wr:return t}}}var Uv=Kt,jv=Vr,$v=Qt,Hv=Wt,Vv=Zt,Wv=Yt,zv=Wr,Gv=Gt,Kv=zt,Xv=Jt;D.ContextConsumer=Xt;D.ContextProvider=Uv;D.Element=jv;D.ForwardRef=$v;D.Fragment=Hv;D.Lazy=Vv;D.Memo=Wv;D.Portal=zv;D.Profiler=Gv;D.StrictMode=Kv;D.Suspense=Xv;D.isAsyncMode=function(){return!1};D.isConcurrentMode=function(){return!1};D.isContextConsumer=function(e){return ye(e)===Xt};D.isContextProvider=function(e){return ye(e)===Kt};D.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===Vr};D.isForwardRef=function(e){return ye(e)===Qt};D.isFragment=function(e){return ye(e)===Wt};D.isLazy=function(e){return ye(e)===Zt};D.isMemo=function(e){return ye(e)===Yt};D.isPortal=function(e){return ye(e)===Wr};D.isProfiler=function(e){return ye(e)===Gt};D.isStrictMode=function(e){return ye(e)===zt};D.isSuspense=function(e){return ye(e)===Jt};D.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===Wt||e===Gt||e===cu||e===zt||e===Jt||e===Ha||e===du||typeof e=="object"&&e!==null&&(e.$$typeof===Zt||e.$$typeof===Yt||e.$$typeof===Kt||e.$$typeof===Xt||e.$$typeof===Qt||e.$$typeof===uu||e.$$typeof===su||e[0]===lu)};D.typeOf=ye});var mu=p((QA,fu)=>{"use strict";fu.exports=pu()});var Eu=p($e=>{"use strict";Object.defineProperty($e,"__esModule",{value:!0});$e.test=$e.serialize=$e.default=void 0;var et=Qv(mu()),zr=$r();function vu(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,r=new WeakMap;return(vu=function(n){return n?r:t})(e)}function Qv(e,t){if(!t&&e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var r=vu(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 yu=(e,t=[])=>(Array.isArray(e)?e.forEach(r=>{yu(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(et.isFragment(e))return"React.Fragment";if(et.isSuspense(e))return"React.Suspense";if(typeof t=="object"&&t!==null){if(et.isContextProvider(e))return"Context.Provider";if(et.isContextConsumer(e))return"Context.Consumer";if(et.isForwardRef(e)){if(t.displayName)return t.displayName;let r=t.render.displayName||t.render.name||"";return r!==""?"ForwardRef("+r+")":"ForwardRef"}if(et.isMemo(e)){let r=t.displayName||t.type.displayName||t.type.name||"";return r!==""?"Memo("+r+")":"Memo"}}return"UNDEFINED"},Jv=e=>{let{props:t}=e;return Object.keys(t).filter(r=>r!=="children"&&t[r]!==void 0).sort()},hu=(e,t,r,n,o,i)=>++n>t.maxDepth?(0,zr.printElementAsLeaf)(bu(e),t):(0,zr.printElement)(bu(e),(0,zr.printProps)(Jv(e),e.props,t,r+t.indent,n,o,i),(0,zr.printChildren)(yu(e.props.children),t,r+t.indent,n,o,i),t,r);$e.serialize=hu;var gu=e=>e!=null&&et.isElement(e);$e.test=gu;var Yv={serialize:hu,test:gu},Zv=Yv;$e.default=Zv});var Cu=p(He=>{"use strict";Object.defineProperty(He,"__esModule",{value:!0});He.test=He.serialize=He.default=void 0;var Gr=$r(),Kr=(function(){return typeof globalThis<"u"?globalThis:typeof Kr<"u"?Kr:typeof self<"u"?self:typeof window<"u"?window:Function("return this")()})(),Va=Kr["jest-symbol-do-not-touch"]||Kr.Symbol,ey=typeof Va=="function"&&Va.for?Va.for("react.test.json"):245830487,ty=e=>{let{props:t}=e;return t?Object.keys(t).filter(r=>t[r]!==void 0).sort():[]},wu=(e,t,r,n,o,i)=>++n>t.maxDepth?(0,Gr.printElementAsLeaf)(e.type,t):(0,Gr.printElement)(e.type,e.props?(0,Gr.printProps)(ty(e),e.props,t,r+t.indent,n,o,i):"",e.children?(0,Gr.printChildren)(e.children,t,r+t.indent,n,o,i):"",t,r);He.serialize=wu;var _u=e=>e&&e.$$typeof===ey;He.test=_u;var ry={serialize:wu,test:_u},ny=ry;He.default=ny});var Fu=p(Re=>{"use strict";Object.defineProperty(Re,"__esModule",{value:!0});Re.default=Re.DEFAULT_OPTIONS=void 0;Re.format=Du;Re.plugins=void 0;var oy=We(Da()),er=$t(),iy=We(Il()),ay=We(jl()),sy=We(zl()),ly=We(tu()),uy=We(au()),cy=We(Eu()),dy=We(Cu());function We(e){return e&&e.__esModule?e:{default:e}}var qu=Object.prototype.toString,py=Date.prototype.toISOString,fy=Error.prototype.toString,Pu=RegExp.prototype.toString,Wa=e=>typeof e.constructor=="function"&&e.constructor.name||"Object",my=e=>typeof window<"u"&&e===window,by=/^Symbol\((.*)\)(.*)$/,vy=/\n/gi,Xr=class extends Error{constructor(t,r){super(t),this.stack=r,this.name=this.constructor.name}};function yy(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 gy(e){return`${e}n`}function Tu(e,t){return t?"[Function "+(e.name||"anonymous")+"]":"[Function]"}function Ru(e){return String(e).replace(by,"Symbol($1)")}function Su(e){return"["+fy.call(e)+"]"}function Au(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 gy(e);if(o==="string")return n?'"'+e.replace(/"|\\/g,"\\$&")+'"':'"'+e+'"';if(o==="function")return Tu(e,t);if(o==="symbol")return Ru(e);let i=qu.call(e);return i==="[object WeakMap]"?"WeakMap {}":i==="[object WeakSet]"?"WeakSet {}":i==="[object Function]"||i==="[object GeneratorFunction]"?Tu(e,t):i==="[object Symbol]"?Ru(e):i==="[object Date]"?isNaN(+e)?"Date { NaN }":py.call(e):i==="[object Error]"?Su(e):i==="[object RegExp]"?r?Pu.call(e).replace(/[\\^$*+?.()|[\]{}]/g,"\\$&"):Pu.call(e):e instanceof Error?Su(e):null}function Mu(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 Ve(e.toJSON(),t,r,n,o,!0);let l=qu.call(e);return l==="[object Arguments]"?a?"[Arguments]":(s?"":"Arguments ")+"["+(0,er.printListItems)(e,t,r,n,o,Ve)+"]":yy(l)?a?"["+e.constructor.name+"]":(s||!t.printBasicPrototype&&e.constructor.name==="Array"?"":e.constructor.name+" ")+"["+(0,er.printListItems)(e,t,r,n,o,Ve)+"]":l==="[object Map]"?a?"[Map]":"Map {"+(0,er.printIteratorEntries)(e.entries(),t,r,n,o,Ve," => ")+"}":l==="[object Set]"?a?"[Set]":"Set {"+(0,er.printIteratorValues)(e.values(),t,r,n,o,Ve)+"}":a||my(e)?"["+Wa(e)+"]":(s||!t.printBasicPrototype&&Wa(e)==="Object"?"":Wa(e)+" ")+"{"+(0,er.printObjectProperties)(e,t,r,n,o,Ve)+"}"}function Ey(e){return e.serialize!=null}function Ou(e,t,r,n,o,i){let a;try{a=Ey(e)?e.serialize(t,r,n,o,i,Ve):e.print(t,s=>Ve(s,r,n,o,i),s=>{let l=n+r.indent;return l+s.replace(vy,`
3
- `+l)},{edgeSpacing:r.spacingOuter,min:r.min,spacing:r.spacingInner},r.colors)}catch(s){throw new Xr(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 ku(e,t){for(let r=0;r<e.length;r++)try{if(e[r].test(t))return e[r]}catch(n){throw new Xr(n.message,n.stack)}return null}function Ve(e,t,r,n,o,i){let a=ku(t.plugins,e);if(a!==null)return Ou(a,e,t,r,n,o);let s=Au(e,t.printFunctionName,t.escapeRegex,t.escapeString);return s!==null?s:Mu(e,t,r,n,o,i)}var za={comment:"gray",content:"reset",prop:"yellow",tag:"cyan",value:"green"},Iu=Object.keys(za),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:za};Re.DEFAULT_OPTIONS=he;function wy(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 _y=e=>Iu.reduce((t,r)=>{let n=e.theme&&e.theme[r]!==void 0?e.theme[r]:za[r],o=n&&oy.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)),Cy=()=>Iu.reduce((e,t)=>(e[t]={close:"",open:""},e),Object.create(null)),Nu=e=>e&&e.printFunctionName!==void 0?e.printFunctionName:he.printFunctionName,Lu=e=>e&&e.escapeRegex!==void 0?e.escapeRegex:he.escapeRegex,Bu=e=>e&&e.escapeString!==void 0?e.escapeString:he.escapeString,xu=e=>{var t;return{callToJSON:e&&e.callToJSON!==void 0?e.callToJSON:he.callToJSON,colors:e&&e.highlight?_y(e):Cy(),compareKeys:e&&typeof e.compareKeys=="function"?e.compareKeys:he.compareKeys,escapeRegex:Lu(e),escapeString:Bu(e),indent:e&&e.min?"":Py(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:Nu(e),spacingInner:e&&e.min?" ":`
1
+ var Rb=Object.create;var Ra=Object.defineProperty;var Sb=Object.getOwnPropertyDescriptor;var xb=Object.getOwnPropertyNames;var qb=Object.getPrototypeOf,Ab=Object.prototype.hasOwnProperty;var p=(e,t)=>()=>{try{return t||e((t={exports:{}}).exports,t),t.exports}catch(r){throw t=0,r}},Mb=(e,t)=>{for(var r in t)Ra(e,r,{get:t[r],enumerable:!0})},kb=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of xb(t))!Ab.call(e,o)&&o!==r&&Ra(e,o,{get:()=>t[o],enumerable:!(n=Sb(t,o))||n.enumerable});return e};var Sa=(e,t,r)=>(r=e!=null?Rb(qb(e)):{},kb(t||!e||!e.__esModule?Ra(r,"default",{value:e,enumerable:!0}):r,e));var Da=p((UA,Ml)=>{"use strict";var ql=(e=0)=>t=>`\x1B[${38+e};5;${t}m`,Al=(e=0)=>(t,r,n)=>`\x1B[${38+e};2;${t};${r};${n}m`;function Kb(){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=ql(),t.color.ansi16m=Al(),t.bgColor.ansi256=ql(10),t.bgColor.ansi16m=Al(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(Ml,"exports",{enumerable:!0,get:Kb})});var $t=p(ht=>{"use strict";Object.defineProperty(ht,"__esModule",{value:!0});ht.printIteratorEntries=Qb;ht.printIteratorValues=Jb;ht.printListItems=Yb;ht.printObjectProperties=Zb;var Xb=(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 Qb(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 Jb(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 Yb(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 Zb(e,t,r,n,o,i){let a="",s=Xb(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 Nl=p(Be=>{"use strict";Object.defineProperty(Be,"__esModule",{value:!0});Be.test=Be.serialize=Be.default=void 0;var kl=$t(),jr=(function(){return typeof globalThis<"u"?globalThis:typeof jr<"u"?jr:typeof self<"u"?self:typeof window<"u"?window:Function("return this")()})(),Fa=jr["jest-symbol-do-not-touch"]||jr.Symbol,ev=typeof Fa=="function"&&Fa.for?Fa.for("jest.asymmetricMatcher"):1267621,Ur=" ",Ol=(e,t,r,n,o,i)=>{let a=e.toString();return a==="ArrayContaining"||a==="ArrayNotContaining"?++n>t.maxDepth?"["+a+"]":a+Ur+"["+(0,kl.printListItems)(e.sample,t,r,n,o,i)+"]":a==="ObjectContaining"||a==="ObjectNotContaining"?++n>t.maxDepth?"["+a+"]":a+Ur+"{"+(0,kl.printObjectProperties)(e.sample,t,r,n,o,i)+"}":a==="StringMatching"||a==="StringNotMatching"||a==="StringContaining"||a==="StringNotContaining"?a+Ur+i(e.sample,t,r,n,o):e.toAsymmetricMatcher()};Be.serialize=Ol;var Il=e=>e&&e.$$typeof===ev;Be.test=Il;var tv={serialize:Ol,test:Il},rv=tv;Be.default=rv});var Bl=p((HA,Ll)=>{"use strict";Ll.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 $l=p(De=>{"use strict";Object.defineProperty(De,"__esModule",{value:!0});De.test=De.serialize=De.default=void 0;var Dl=Fl(Bl()),U=Fl(Da());function Fl(e){return e&&e.__esModule?e:{default:e}}var nv=e=>e.replace((0,Dl.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""}}),Ul=e=>typeof e=="string"&&!!e.match((0,Dl.default)());De.test=Ul;var jl=(e,t,r,n,o,i)=>i(nv(e),t,r,n,o);De.serialize=jl;var ov={serialize:jl,test:Ul},iv=ov;De.default=iv});var Gl=p(Fe=>{"use strict";Object.defineProperty(Fe,"__esModule",{value:!0});Fe.test=Fe.serialize=Fe.default=void 0;var Hl=$t(),av=" ",Vl=["DOMStringMap","NamedNodeMap"],sv=/^(HTML\w*Collection|NodeList)$/,lv=e=>Vl.indexOf(e)!==-1||sv.test(e),Wl=e=>e&&e.constructor&&!!e.constructor.name&&lv(e.constructor.name);Fe.test=Wl;var uv=e=>e.constructor.name==="NamedNodeMap",zl=(e,t,r,n,o,i)=>{let a=e.constructor.name;return++n>t.maxDepth?"["+a+"]":(t.min?"":a+av)+(Vl.indexOf(a)!==-1?"{"+(0,Hl.printObjectProperties)(uv(e)?Array.from(e).reduce((s,l)=>(s[l.name]=l.value,s),{}):{...e},t,r,n,o,i)+"}":"["+(0,Hl.printListItems)(Array.from(e),t,r,n,o,i)+"]")};Fe.serialize=zl;var cv={serialize:zl,test:Wl},dv=cv;Fe.default=dv});var Kl=p(Ua=>{"use strict";Object.defineProperty(Ua,"__esModule",{value:!0});Ua.default=pv;function pv(e){return e.replace(/</g,"&lt;").replace(/>/g,"&gt;")}});var $r=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 Xl=fv(Kl());function fv(e){return e&&e.__esModule?e:{default:e}}var mv=(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=mv;var bv=(e,t,r,n,o,i)=>e.map(a=>t.spacingOuter+r+(typeof a=="string"?Ql(a,t):i(a,t,r,n,o))).join("");ae.printChildren=bv;var Ql=(e,t)=>{let r=t.colors.content;return r.open+(0,Xl.default)(e)+r.close};ae.printText=Ql;var vv=(e,t)=>{let r=t.colors.comment;return r.open+"<!--"+(0,Xl.default)(e)+"-->"+r.close};ae.printComment=vv;var yv=(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=yv;var hv=(e,t)=>{let r=t.colors.tag;return r.open+"<"+e+r.close+" \u2026"+r.open+" />"+r.close};ae.printElementAsLeaf=hv});var ru=p(Ue=>{"use strict";Object.defineProperty(Ue,"__esModule",{value:!0});Ue.test=Ue.serialize=Ue.default=void 0;var gt=$r(),gv=1,Jl=3,Yl=8,Zl=11,Ev=/^((HTML|SVG)\w*)?Element$/,wv=e=>{try{return typeof e.hasAttribute=="function"&&e.hasAttribute("is")}catch{return!1}},_v=e=>{let t=e.constructor.name,{nodeType:r,tagName:n}=e,o=typeof n=="string"&&n.includes("-")||wv(e);return r===gv&&(Ev.test(t)||o)||r===Jl&&t==="Text"||r===Yl&&t==="Comment"||r===Zl&&t==="DocumentFragment"},eu=e=>{var t;return(e==null||(t=e.constructor)===null||t===void 0?void 0:t.name)&&_v(e)};Ue.test=eu;function Cv(e){return e.nodeType===Jl}function Pv(e){return e.nodeType===Yl}function ja(e){return e.nodeType===Zl}var tu=(e,t,r,n,o,i)=>{if(Cv(e))return(0,gt.printText)(e.data,t);if(Pv(e))return(0,gt.printComment)(e.data,t);let a=ja(e)?"DocumentFragment":e.tagName.toLowerCase();return++n>t.maxDepth?(0,gt.printElementAsLeaf)(a,t):(0,gt.printElement)(a,(0,gt.printProps)(ja(e)?[]:Array.from(e.attributes).map(s=>s.name).sort(),ja(e)?{}:Array.from(e.attributes).reduce((s,l)=>(s[l.name]=l.value,s),{}),t,r+t.indent,n,o,i),(0,gt.printChildren)(Array.prototype.slice.call(e.childNodes||e.children),t,r+t.indent,n,o,i),t,r)};Ue.serialize=tu;var Tv={serialize:tu,test:eu},Rv=Tv;Ue.default=Rv});var su=p(je=>{"use strict";Object.defineProperty(je,"__esModule",{value:!0});je.test=je.serialize=je.default=void 0;var Ht=$t(),Sv="@@__IMMUTABLE_ITERABLE__@@",xv="@@__IMMUTABLE_LIST__@@",qv="@@__IMMUTABLE_KEYED__@@",Av="@@__IMMUTABLE_MAP__@@",nu="@@__IMMUTABLE_ORDERED__@@",Mv="@@__IMMUTABLE_RECORD__@@",kv="@@__IMMUTABLE_SEQ__@@",Ov="@@__IMMUTABLE_SET__@@",Iv="@@__IMMUTABLE_STACK__@@",Et=e=>"Immutable."+e,Hr=e=>"["+e+"]",Vt=" ",ou="\u2026",Nv=(e,t,r,n,o,i,a)=>++n>t.maxDepth?Hr(Et(a)):Et(a)+Vt+"{"+(0,Ht.printIteratorEntries)(e.entries(),t,r,n,o,i)+"}";function Lv(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 Bv=(e,t,r,n,o,i)=>{let a=Et(e._name||"Record");return++n>t.maxDepth?Hr(a):a+Vt+"{"+(0,Ht.printIteratorEntries)(Lv(e),t,r,n,o,i)+"}"},Dv=(e,t,r,n,o,i)=>{let a=Et("Seq");return++n>t.maxDepth?Hr(a):e[qv]?a+Vt+"{"+(e._iter||e._object?(0,Ht.printIteratorEntries)(e.entries(),t,r,n,o,i):ou)+"}":a+Vt+"["+(e._iter||e._array||e._collection||e._iterable?(0,Ht.printIteratorValues)(e.values(),t,r,n,o,i):ou)+"]"},$a=(e,t,r,n,o,i,a)=>++n>t.maxDepth?Hr(Et(a)):Et(a)+Vt+"["+(0,Ht.printIteratorValues)(e.values(),t,r,n,o,i)+"]",iu=(e,t,r,n,o,i)=>e[Av]?Nv(e,t,r,n,o,i,e[nu]?"OrderedMap":"Map"):e[xv]?$a(e,t,r,n,o,i,"List"):e[Ov]?$a(e,t,r,n,o,i,e[nu]?"OrderedSet":"Set"):e[Iv]?$a(e,t,r,n,o,i,"Stack"):e[kv]?Dv(e,t,r,n,o,i):Bv(e,t,r,n,o,i);je.serialize=iu;var au=e=>e&&(e[Sv]===!0||e[Mv]===!0);je.test=au;var Fv={serialize:iu,test:au},Uv=Fv;je.default=Uv});var fu=p(D=>{"use strict";var Vr=60103,Wr=60106,Wt=60107,zt=60108,Gt=60114,Kt=60109,Xt=60110,Qt=60112,Jt=60113,Ha=60120,Yt=60115,Zt=60116,lu=60121,uu=60122,cu=60117,du=60129,pu=60131;typeof Symbol=="function"&&Symbol.for&&(J=Symbol.for,Vr=J("react.element"),Wr=J("react.portal"),Wt=J("react.fragment"),zt=J("react.strict_mode"),Gt=J("react.profiler"),Kt=J("react.provider"),Xt=J("react.context"),Qt=J("react.forward_ref"),Jt=J("react.suspense"),Ha=J("react.suspense_list"),Yt=J("react.memo"),Zt=J("react.lazy"),lu=J("react.block"),uu=J("react.server.block"),cu=J("react.fundamental"),du=J("react.debug_trace_mode"),pu=J("react.legacy_hidden"));var J;function ye(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case Vr:switch(e=e.type,e){case Wt:case Gt:case zt:case Jt:case Ha:return e;default:switch(e=e&&e.$$typeof,e){case Xt:case Qt:case Zt:case Yt:case Kt:return e;default:return t}}case Wr:return t}}}var jv=Kt,$v=Vr,Hv=Qt,Vv=Wt,Wv=Zt,zv=Yt,Gv=Wr,Kv=Gt,Xv=zt,Qv=Jt;D.ContextConsumer=Xt;D.ContextProvider=jv;D.Element=$v;D.ForwardRef=Hv;D.Fragment=Vv;D.Lazy=Wv;D.Memo=zv;D.Portal=Gv;D.Profiler=Kv;D.StrictMode=Xv;D.Suspense=Qv;D.isAsyncMode=function(){return!1};D.isConcurrentMode=function(){return!1};D.isContextConsumer=function(e){return ye(e)===Xt};D.isContextProvider=function(e){return ye(e)===Kt};D.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===Vr};D.isForwardRef=function(e){return ye(e)===Qt};D.isFragment=function(e){return ye(e)===Wt};D.isLazy=function(e){return ye(e)===Zt};D.isMemo=function(e){return ye(e)===Yt};D.isPortal=function(e){return ye(e)===Wr};D.isProfiler=function(e){return ye(e)===Gt};D.isStrictMode=function(e){return ye(e)===zt};D.isSuspense=function(e){return ye(e)===Jt};D.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===Wt||e===Gt||e===du||e===zt||e===Jt||e===Ha||e===pu||typeof e=="object"&&e!==null&&(e.$$typeof===Zt||e.$$typeof===Yt||e.$$typeof===Kt||e.$$typeof===Xt||e.$$typeof===Qt||e.$$typeof===cu||e.$$typeof===lu||e[0]===uu)};D.typeOf=ye});var bu=p((JA,mu)=>{"use strict";mu.exports=fu()});var wu=p($e=>{"use strict";Object.defineProperty($e,"__esModule",{value:!0});$e.test=$e.serialize=$e.default=void 0;var et=Jv(bu()),zr=$r();function yu(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,r=new WeakMap;return(yu=function(n){return n?r:t})(e)}function Jv(e,t){if(!t&&e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var r=yu(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 hu=(e,t=[])=>(Array.isArray(e)?e.forEach(r=>{hu(r,t)}):e!=null&&e!==!1&&t.push(e),t),vu=e=>{let t=e.type;if(typeof t=="string")return t;if(typeof t=="function")return t.displayName||t.name||"Unknown";if(et.isFragment(e))return"React.Fragment";if(et.isSuspense(e))return"React.Suspense";if(typeof t=="object"&&t!==null){if(et.isContextProvider(e))return"Context.Provider";if(et.isContextConsumer(e))return"Context.Consumer";if(et.isForwardRef(e)){if(t.displayName)return t.displayName;let r=t.render.displayName||t.render.name||"";return r!==""?"ForwardRef("+r+")":"ForwardRef"}if(et.isMemo(e)){let r=t.displayName||t.type.displayName||t.type.name||"";return r!==""?"Memo("+r+")":"Memo"}}return"UNDEFINED"},Yv=e=>{let{props:t}=e;return Object.keys(t).filter(r=>r!=="children"&&t[r]!==void 0).sort()},gu=(e,t,r,n,o,i)=>++n>t.maxDepth?(0,zr.printElementAsLeaf)(vu(e),t):(0,zr.printElement)(vu(e),(0,zr.printProps)(Yv(e),e.props,t,r+t.indent,n,o,i),(0,zr.printChildren)(hu(e.props.children),t,r+t.indent,n,o,i),t,r);$e.serialize=gu;var Eu=e=>e!=null&&et.isElement(e);$e.test=Eu;var Zv={serialize:gu,test:Eu},ey=Zv;$e.default=ey});var Pu=p(He=>{"use strict";Object.defineProperty(He,"__esModule",{value:!0});He.test=He.serialize=He.default=void 0;var Gr=$r(),Kr=(function(){return typeof globalThis<"u"?globalThis:typeof Kr<"u"?Kr:typeof self<"u"?self:typeof window<"u"?window:Function("return this")()})(),Va=Kr["jest-symbol-do-not-touch"]||Kr.Symbol,ty=typeof Va=="function"&&Va.for?Va.for("react.test.json"):245830487,ry=e=>{let{props:t}=e;return t?Object.keys(t).filter(r=>t[r]!==void 0).sort():[]},_u=(e,t,r,n,o,i)=>++n>t.maxDepth?(0,Gr.printElementAsLeaf)(e.type,t):(0,Gr.printElement)(e.type,e.props?(0,Gr.printProps)(ry(e),e.props,t,r+t.indent,n,o,i):"",e.children?(0,Gr.printChildren)(e.children,t,r+t.indent,n,o,i):"",t,r);He.serialize=_u;var Cu=e=>e&&e.$$typeof===ty;He.test=Cu;var ny={serialize:_u,test:Cu},oy=ny;He.default=oy});var Uu=p(Re=>{"use strict";Object.defineProperty(Re,"__esModule",{value:!0});Re.default=Re.DEFAULT_OPTIONS=void 0;Re.format=Fu;Re.plugins=void 0;var iy=We(Da()),er=$t(),ay=We(Nl()),sy=We($l()),ly=We(Gl()),uy=We(ru()),cy=We(su()),dy=We(wu()),py=We(Pu());function We(e){return e&&e.__esModule?e:{default:e}}var Au=Object.prototype.toString,fy=Date.prototype.toISOString,my=Error.prototype.toString,Tu=RegExp.prototype.toString,Wa=e=>typeof e.constructor=="function"&&e.constructor.name||"Object",by=e=>typeof window<"u"&&e===window,vy=/^Symbol\((.*)\)(.*)$/,yy=/\n/gi,Xr=class extends Error{constructor(t,r){super(t),this.stack=r,this.name=this.constructor.name}};function hy(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 gy(e){return Object.is(e,-0)?"-0":String(e)}function Ey(e){return`${e}n`}function Ru(e,t){return t?"[Function "+(e.name||"anonymous")+"]":"[Function]"}function Su(e){return String(e).replace(vy,"Symbol($1)")}function xu(e){return"["+my.call(e)+"]"}function Mu(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 gy(e);if(o==="bigint")return Ey(e);if(o==="string")return n?'"'+e.replace(/"|\\/g,"\\$&")+'"':'"'+e+'"';if(o==="function")return Ru(e,t);if(o==="symbol")return Su(e);let i=Au.call(e);return i==="[object WeakMap]"?"WeakMap {}":i==="[object WeakSet]"?"WeakSet {}":i==="[object Function]"||i==="[object GeneratorFunction]"?Ru(e,t):i==="[object Symbol]"?Su(e):i==="[object Date]"?isNaN(+e)?"Date { NaN }":fy.call(e):i==="[object Error]"?xu(e):i==="[object RegExp]"?r?Tu.call(e).replace(/[\\^$*+?.()|[\]{}]/g,"\\$&"):Tu.call(e):e instanceof Error?xu(e):null}function ku(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 Ve(e.toJSON(),t,r,n,o,!0);let l=Au.call(e);return l==="[object Arguments]"?a?"[Arguments]":(s?"":"Arguments ")+"["+(0,er.printListItems)(e,t,r,n,o,Ve)+"]":hy(l)?a?"["+e.constructor.name+"]":(s||!t.printBasicPrototype&&e.constructor.name==="Array"?"":e.constructor.name+" ")+"["+(0,er.printListItems)(e,t,r,n,o,Ve)+"]":l==="[object Map]"?a?"[Map]":"Map {"+(0,er.printIteratorEntries)(e.entries(),t,r,n,o,Ve," => ")+"}":l==="[object Set]"?a?"[Set]":"Set {"+(0,er.printIteratorValues)(e.values(),t,r,n,o,Ve)+"}":a||by(e)?"["+Wa(e)+"]":(s||!t.printBasicPrototype&&Wa(e)==="Object"?"":Wa(e)+" ")+"{"+(0,er.printObjectProperties)(e,t,r,n,o,Ve)+"}"}function wy(e){return e.serialize!=null}function Ou(e,t,r,n,o,i){let a;try{a=wy(e)?e.serialize(t,r,n,o,i,Ve):e.print(t,s=>Ve(s,r,n,o,i),s=>{let l=n+r.indent;return l+s.replace(yy,`
3
+ `+l)},{edgeSpacing:r.spacingOuter,min:r.min,spacing:r.spacingInner},r.colors)}catch(s){throw new Xr(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 Iu(e,t){for(let r=0;r<e.length;r++)try{if(e[r].test(t))return e[r]}catch(n){throw new Xr(n.message,n.stack)}return null}function Ve(e,t,r,n,o,i){let a=Iu(t.plugins,e);if(a!==null)return Ou(a,e,t,r,n,o);let s=Mu(e,t.printFunctionName,t.escapeRegex,t.escapeString);return s!==null?s:ku(e,t,r,n,o,i)}var za={comment:"gray",content:"reset",prop:"yellow",tag:"cyan",value:"green"},Nu=Object.keys(za),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:za};Re.DEFAULT_OPTIONS=he;function _y(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 Cy=e=>Nu.reduce((t,r)=>{let n=e.theme&&e.theme[r]!==void 0?e.theme[r]:za[r],o=n&&iy.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)),Py=()=>Nu.reduce((e,t)=>(e[t]={close:"",open:""},e),Object.create(null)),Lu=e=>e&&e.printFunctionName!==void 0?e.printFunctionName:he.printFunctionName,Bu=e=>e&&e.escapeRegex!==void 0?e.escapeRegex:he.escapeRegex,Du=e=>e&&e.escapeString!==void 0?e.escapeString:he.escapeString,qu=e=>{var t;return{callToJSON:e&&e.callToJSON!==void 0?e.callToJSON:he.callToJSON,colors:e&&e.highlight?Cy(e):Py(),compareKeys:e&&typeof e.compareKeys=="function"?e.compareKeys:he.compareKeys,escapeRegex:Bu(e),escapeString:Du(e),indent:e&&e.min?"":Ty(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:Lu(e),spacingInner:e&&e.min?" ":`
4
4
  `,spacingOuter:e&&e.min?"":`
5
- `}};function Py(e){return new Array(e+1).join(" ")}function Du(e,t){if(t&&(wy(t),t.plugins)){let n=ku(t.plugins,e);if(n!==null)return Ou(n,e,xu(t),"",0,[])}let r=Au(e,Nu(t),Lu(t),Bu(t));return r!==null?r:Mu(e,xu(t),"",0,[])}var Ty={AsymmetricMatcher:iy.default,ConvertAnsi:ay.default,DOMCollection:sy.default,DOMElement:ly.default,Immutable:uy.default,ReactElement:cy.default,ReactTestComponent:dy.default};Re.plugins=Ty;var Ry=Du;Re.default=Ry});var lc=p(Zr=>{"use strict";Object.defineProperty(Zr,"__esModule",{value:!0});Zr.default=void 0;function oh(){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 ih=oh;Zr.default=ih});var _t=p(Xa=>{"use strict";Object.defineProperty(Xa,"__esModule",{value:!0});Xa.default=lh;var ah=sh(lc());function sh(e){return e&&e.__esModule?e:{default:e}}function Ka(e){"@babel/helpers - typeof";return Ka=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},Ka(e)}function lh(e,t){return typeof Symbol=="function"&&Ka(Symbol.iterator)==="symbol"&&Object.defineProperty(e,Symbol.iterator,{value:ah.default.bind(t)}),e}});var dc=p(en=>{"use strict";Object.defineProperty(en,"__esModule",{value:!0});en.default=void 0;var uh=ch(_t());function ch(e){return e&&e.__esModule?e:{default:e}}function Qa(e,t){return fh(e)||ph(e,t)||cc(e,t)||dh()}function dh(){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 ph(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 fh(e){if(Array.isArray(e))return e}function mh(e,t){var r=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=cc(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 cc(e,t){if(e){if(typeof e=="string")return uc(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 uc(e,t)}}function uc(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 Ct=[["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"}]],Ja={entries:function(){return Ct},forEach:function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,n=mh(Ct),o;try{for(n.s();!(o=n.n()).done;){var i=Qa(o.value,2),a=i[0],s=i[1];t.call(r,s,a,Ct)}}catch(l){n.e(l)}finally{n.f()}},get:function(t){var r=Ct.find(function(n){return n[0]===t});return r&&r[1]},has:function(t){return!!Ja.get(t)},keys:function(){return Ct.map(function(t){var r=Qa(t,1),n=r[0];return n})},values:function(){return Ct.map(function(t){var r=Qa(t,2),n=r[1];return n})}},bh=(0,uh.default)(Ja,Ja.entries());en.default=bh});var mc=p(tn=>{"use strict";Object.defineProperty(tn,"__esModule",{value:!0});tn.default=void 0;var vh=yh(_t());function yh(e){return e&&e.__esModule?e:{default:e}}function Ya(e,t){return Eh(e)||gh(e,t)||fc(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 gh(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 Eh(e){if(Array.isArray(e))return e}function wh(e,t){var r=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=fc(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 fc(e,t){if(e){if(typeof e=="string")return pc(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 pc(e,t)}}function pc(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var Pt=[["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}]],Za={entries:function(){return Pt},forEach:function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,n=wh(Pt),o;try{for(n.s();!(o=n.n()).done;){var i=Ya(o.value,2),a=i[0],s=i[1];t.call(r,s,a,Pt)}}catch(l){n.e(l)}finally{n.f()}},get:function(t){var r=Pt.find(function(n){return n[0]===t});return r&&r[1]},has:function(t){return!!Za.get(t)},keys:function(){return Pt.map(function(t){var r=Ya(t,1),n=r[0];return n})},values:function(){return Pt.map(function(t){var r=Ya(t,2),n=r[1];return n})}},_h=(0,vh.default)(Za,Za.entries());tn.default=_h});var bc=p(rn=>{"use strict";Object.defineProperty(rn,"__esModule",{value:!0});rn.default=void 0;var Ch={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]},Ph=Ch;rn.default=Ph});var vc=p(nn=>{"use strict";Object.defineProperty(nn,"__esModule",{value:!0});nn.default=void 0;var Th={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"]]},Rh=Th;nn.default=Rh});var yc=p(on=>{"use strict";Object.defineProperty(on,"__esModule",{value:!0});on.default=void 0;var Sh={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"]]},xh=Sh;on.default=xh});var hc=p(an=>{"use strict";Object.defineProperty(an,"__esModule",{value:!0});an.default=void 0;var qh={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},Ah=qh;an.default=Ah});var gc=p(sn=>{"use strict";Object.defineProperty(sn,"__esModule",{value:!0});sn.default=void 0;var Mh={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"]]},Oh=Mh;sn.default=Oh});var Ec=p(ln=>{"use strict";Object.defineProperty(ln,"__esModule",{value:!0});ln.default=void 0;var kh={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:[]},Ih=kh;ln.default=Ih});var wc=p(un=>{"use strict";Object.defineProperty(un,"__esModule",{value:!0});un.default=void 0;var Nh={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"]]},Lh=Nh;un.default=Lh});var _c=p(cn=>{"use strict";Object.defineProperty(cn,"__esModule",{value:!0});cn.default=void 0;var Bh={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},Dh=Bh;cn.default=Dh});var Cc=p(dn=>{"use strict";Object.defineProperty(dn,"__esModule",{value:!0});dn.default=void 0;var Fh={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"]]},Uh=Fh;dn.default=Uh});var Pc=p(pn=>{"use strict";Object.defineProperty(pn,"__esModule",{value:!0});pn.default=void 0;var jh={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]},$h=jh;pn.default=$h});var Tc=p(fn=>{"use strict";Object.defineProperty(fn,"__esModule",{value:!0});fn.default=void 0;var Hh={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]},Vh=Hh;fn.default=Vh});var Rc=p(mn=>{"use strict";Object.defineProperty(mn,"__esModule",{value:!0});mn.default=void 0;var Wh={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-modal":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]},zh=Wh;mn.default=zh});var Sc=p(bn=>{"use strict";Object.defineProperty(bn,"__esModule",{value:!0});bn.default=void 0;var Gh=fe(bc()),Kh=fe(vc()),Xh=fe(yc()),Qh=fe(hc()),Jh=fe(gc()),Yh=fe(Ec()),Zh=fe(wc()),eg=fe(_c()),tg=fe(Cc()),rg=fe(Pc()),ng=fe(Tc()),og=fe(Rc());function fe(e){return e&&e.__esModule?e:{default:e}}var ig=[["command",Gh.default],["composite",Kh.default],["input",Xh.default],["landmark",Qh.default],["range",Jh.default],["roletype",Yh.default],["section",Zh.default],["sectionhead",eg.default],["select",tg.default],["structure",rg.default],["widget",ng.default],["window",og.default]],ag=ig;bn.default=ag});var xc=p(vn=>{"use strict";Object.defineProperty(vn,"__esModule",{value:!0});vn.default=void 0;var sg={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"]]},lg=sg;vn.default=lg});var qc=p(yn=>{"use strict";Object.defineProperty(yn,"__esModule",{value:!0});yn.default=void 0;var ug={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"]]},cg=ug;yn.default=cg});var Ac=p(hn=>{"use strict";Object.defineProperty(hn,"__esModule",{value:!0});hn.default=void 0;var dg={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"]]},pg=dg;hn.default=pg});var Mc=p(gn=>{"use strict";Object.defineProperty(gn,"__esModule",{value:!0});gn.default=void 0;var fg={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"]]},mg=fg;gn.default=mg});var Oc=p(En=>{"use strict";Object.defineProperty(En,"__esModule",{value:!0});En.default=void 0;var bg={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{constraints:["scoped to the body element"],name:"header"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},vg=bg;En.default=vg});var kc=p(wn=>{"use strict";Object.defineProperty(wn,"__esModule",{value:!0});wn.default=void 0;var yg={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=yg;wn.default=hg});var Ic=p(_n=>{"use strict";Object.defineProperty(_n,"__esModule",{value:!0});_n.default=void 0;var gg={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"]]},Eg=gg;_n.default=Eg});var Nc=p(Cn=>{"use strict";Object.defineProperty(Cn,"__esModule",{value:!0});Cn.default=void 0;var wg={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"]]},_g=wg;Cn.default=_g});var Lc=p(Pn=>{"use strict";Object.defineProperty(Pn,"__esModule",{value:!0});Pn.default=void 0;var Cg={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"]]},Pg=Cg;Pn.default=Pg});var Bc=p(Tn=>{"use strict";Object.defineProperty(Tn,"__esModule",{value:!0});Tn.default=void 0;var Tg={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"]]},Rg=Tg;Tn.default=Rg});var Dc=p(Rn=>{"use strict";Object.defineProperty(Rn,"__esModule",{value:!0});Rn.default=void 0;var Sg={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"]]},xg=Sg;Rn.default=xg});var Fc=p(Sn=>{"use strict";Object.defineProperty(Sn,"__esModule",{value:!0});Sn.default=void 0;var qg={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"]]},Ag=qg;Sn.default=Ag});var Uc=p(xn=>{"use strict";Object.defineProperty(xn,"__esModule",{value:!0});xn.default=void 0;var Mg={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"]]},Og=Mg;xn.default=Og});var jc=p(qn=>{"use strict";Object.defineProperty(qn,"__esModule",{value:!0});qn.default=void 0;var kg={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"]]},Ig=kg;qn.default=Ig});var $c=p(An=>{"use strict";Object.defineProperty(An,"__esModule",{value:!0});An.default=void 0;var Ng={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"]]},Lg=Ng;An.default=Lg});var Hc=p(Mn=>{"use strict";Object.defineProperty(Mn,"__esModule",{value:!0});Mn.default=void 0;var Bg={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"]]},Dg=Bg;Mn.default=Dg});var Vc=p(On=>{"use strict";Object.defineProperty(On,"__esModule",{value:!0});On.default=void 0;var Fg={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"]]},Ug=Fg;On.default=Ug});var Wc=p(kn=>{"use strict";Object.defineProperty(kn,"__esModule",{value:!0});kn.default=void 0;var jg={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"dialog"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","window"]]},$g=jg;kn.default=$g});var zc=p(In=>{"use strict";Object.defineProperty(In,"__esModule",{value:!0});In.default=void 0;var Hg={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{module:"DAISY Guide"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","list"]]},Vg=Hg;In.default=Vg});var Gc=p(Nn=>{"use strict";Object.defineProperty(Nn,"__esModule",{value:!0});Nn.default=void 0;var Wg={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"]]},zg=Wg;Nn.default=zg});var Kc=p(Ln=>{"use strict";Object.defineProperty(Ln,"__esModule",{value:!0});Ln.default=void 0;var Gg={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"]]},Kg=Gg;Ln.default=Kg});var Xc=p(Bn=>{"use strict";Object.defineProperty(Bn,"__esModule",{value:!0});Bn.default=void 0;var Xg={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["article"]],requiredProps:{},superClass:[["roletype","structure","section","list"]]},Qg=Xg;Bn.default=Qg});var Qc=p(Dn=>{"use strict";Object.defineProperty(Dn,"__esModule",{value:!0});Dn.default=void 0;var Jg={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"]]},Yg=Jg;Dn.default=Yg});var Jc=p(Fn=>{"use strict";Object.defineProperty(Fn,"__esModule",{value:!0});Fn.default=void 0;var Zg={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"]]},eE=Zg;Fn.default=eE});var Yc=p(Un=>{"use strict";Object.defineProperty(Un,"__esModule",{value:!0});Un.default=void 0;var tE={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"]]},rE=tE;Un.default=rE});var Zc=p(jn=>{"use strict";Object.defineProperty(jn,"__esModule",{value:!0});jn.default=void 0;var nE={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"]]},oE=nE;jn.default=oE});var ed=p($n=>{"use strict";Object.defineProperty($n,"__esModule",{value:!0});$n.default=void 0;var iE={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"]]},aE=iE;$n.default=aE});var td=p(Hn=>{"use strict";Object.defineProperty(Hn,"__esModule",{value:!0});Hn.default=void 0;var sE={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"]]},lE=sE;Hn.default=lE});var rd=p(Vn=>{"use strict";Object.defineProperty(Vn,"__esModule",{value:!0});Vn.default=void 0;var uE={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"]]},cE=uE;Vn.default=cE});var nd=p(Wn=>{"use strict";Object.defineProperty(Wn,"__esModule",{value:!0});Wn.default=void 0;var dE={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"]]},pE=dE;Wn.default=pE});var od=p(zn=>{"use strict";Object.defineProperty(zn,"__esModule",{value:!0});zn.default=void 0;var fE={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"]]},mE=fE;zn.default=mE});var id=p(Gn=>{"use strict";Object.defineProperty(Gn,"__esModule",{value:!0});Gn.default=void 0;var bE={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"href"}],name:"a"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"href"}],name:"area"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command"]]},vE=bE;Gn.default=vE});var ad=p(Kn=>{"use strict";Object.defineProperty(Kn,"__esModule",{value:!0});Kn.default=void 0;var yE={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=yE;Kn.default=hE});var sd=p(Xn=>{"use strict";Object.defineProperty(Xn,"__esModule",{value:!0});Xn.default=void 0;var gE={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"]]},EE=gE;Xn.default=EE});var ld=p(Qn=>{"use strict";Object.defineProperty(Qn,"__esModule",{value:!0});Qn.default=void 0;var wE={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"]]},_E=wE;Qn.default=_E});var ud=p(Jn=>{"use strict";Object.defineProperty(Jn,"__esModule",{value:!0});Jn.default=void 0;var CE={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-live":"polite"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},PE=CE;Jn.default=PE});var cd=p(Yn=>{"use strict";Object.defineProperty(Yn,"__esModule",{value:!0});Yn.default=void 0;var TE={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"]]},RE=TE;Yn.default=RE});var dd=p(Zn=>{"use strict";Object.defineProperty(Zn,"__esModule",{value:!0});Zn.default=void 0;var SE={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"]]},xE=SE;Zn.default=xE});var pd=p(eo=>{"use strict";Object.defineProperty(eo,"__esModule",{value:!0});eo.default=void 0;var qE={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},AE=qE;eo.default=AE});var fd=p(to=>{"use strict";Object.defineProperty(to,"__esModule",{value:!0});to.default=void 0;var ME={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"]]},OE=ME;to.default=OE});var md=p(ro=>{"use strict";Object.defineProperty(ro,"__esModule",{value:!0});ro.default=void 0;var kE={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"]]},IE=kE;ro.default=IE});var bd=p(no=>{"use strict";Object.defineProperty(no,"__esModule",{value:!0});no.default=void 0;var NE={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"]]},LE=NE;no.default=LE});var vd=p(oo=>{"use strict";Object.defineProperty(oo,"__esModule",{value:!0});oo.default=void 0;var BE={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null,"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"]]},DE=BE;oo.default=DE});var yd=p(io=>{"use strict";Object.defineProperty(io,"__esModule",{value:!0});io.default=void 0;var FE={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"]]},UE=FE;io.default=UE});var hd=p(ao=>{"use strict";Object.defineProperty(ao,"__esModule",{value:!0});ao.default=void 0;var jE={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"]]},$E=jE;ao.default=$E});var gd=p(so=>{"use strict";Object.defineProperty(so,"__esModule",{value:!0});so.default=void 0;var HE={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"]]},VE=HE;so.default=VE});var Ed=p(lo=>{"use strict";Object.defineProperty(lo,"__esModule",{value:!0});lo.default=void 0;var WE={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"]]},zE=WE;lo.default=zE});var wd=p(uo=>{"use strict";Object.defineProperty(uo,"__esModule",{value:!0});uo.default=void 0;var GE={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[]},KE=GE;uo.default=KE});var _d=p(co=>{"use strict";Object.defineProperty(co,"__esModule",{value:!0});co.default=void 0;var XE={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},QE=XE;co.default=QE});var Cd=p(po=>{"use strict";Object.defineProperty(po,"__esModule",{value:!0});po.default=void 0;var JE={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"]]},YE=JE;po.default=YE});var Pd=p(fo=>{"use strict";Object.defineProperty(fo,"__esModule",{value:!0});fo.default=void 0;var ZE={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"]]},ew=ZE;fo.default=ew});var Td=p(mo=>{"use strict";Object.defineProperty(mo,"__esModule",{value:!0});mo.default=void 0;var tw={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"]]},rw=tw;mo.default=rw});var Rd=p(bo=>{"use strict";Object.defineProperty(bo,"__esModule",{value:!0});bo.default=void 0;var nw={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"]]},ow=nw;bo.default=ow});var Sd=p(vo=>{"use strict";Object.defineProperty(vo,"__esModule",{value:!0});vo.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},relatedConcepts:[{concept:{attributes:[{name:"type",value:"radio"}],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input"]]},aw=iw;vo.default=aw});var xd=p(yo=>{"use strict";Object.defineProperty(yo,"__esModule",{value:!0});yo.default=void 0;var sw={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"]]},lw=sw;yo.default=lw});var qd=p(ho=>{"use strict";Object.defineProperty(ho,"__esModule",{value:!0});ho.default=void 0;var uw={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"]]},cw=uw;ho.default=cw});var Ad=p(go=>{"use strict";Object.defineProperty(go,"__esModule",{value:!0});go.default=void 0;var dw={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"]]},pw=dw;go.default=pw});var Md=p(Eo=>{"use strict";Object.defineProperty(Eo,"__esModule",{value:!0});Eo.default=void 0;var fw={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"]]},mw=fw;Eo.default=mw});var Od=p(wo=>{"use strict";Object.defineProperty(wo,"__esModule",{value:!0});wo.default=void 0;var bw={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-sort":null},relatedConcepts:[{concept:{attributes:[{name:"scope",value:"row"}],name:"th"},module:"HTML"},{concept:{attributes:[{name:"scope",value:"rowgroup"}],name:"th"},module:"HTML"}],requireContextRole:["row","rowgroup"],requiredContextRole:["row","rowgroup"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","cell"],["roletype","structure","section","cell","gridcell"],["roletype","widget","gridcell"],["roletype","structure","sectionhead"]]},vw=bw;wo.default=vw});var kd=p(_o=>{"use strict";Object.defineProperty(_o,"__esModule",{value:!0});_o.default=void 0;var yw={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=yw;_o.default=hw});var Id=p(Co=>{"use strict";Object.defineProperty(Co,"__esModule",{value:!0});Co.default=void 0;var gw={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},Ew=gw;Co.default=Ew});var Nd=p(Po=>{"use strict";Object.defineProperty(Po,"__esModule",{value:!0});Po.default=void 0;var ww={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"]]},_w=ww;Po.default=_w});var Ld=p(To=>{"use strict";Object.defineProperty(To,"__esModule",{value:!0});To.default=void 0;var Cw={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"]]},Pw=Cw;To.default=Pw});var Bd=p(Ro=>{"use strict";Object.defineProperty(Ro,"__esModule",{value:!0});Ro.default=void 0;var Tw={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"]]},Rw=Tw;Ro.default=Rw});var Dd=p(So=>{"use strict";Object.defineProperty(So,"__esModule",{value:!0});So.default=void 0;var Sw={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"]]},xw=Sw;So.default=xw});var Fd=p(xo=>{"use strict";Object.defineProperty(xo,"__esModule",{value:!0});xo.default=void 0;var qw={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"]]},Aw=qw;xo.default=Aw});var Ud=p(qo=>{"use strict";Object.defineProperty(qo,"__esModule",{value:!0});qo.default=void 0;var Mw={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"]]},Ow=Mw;qo.default=Ow});var jd=p(Ao=>{"use strict";Object.defineProperty(Ao,"__esModule",{value:!0});Ao.default=void 0;var kw={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"]]},Iw=kw;Ao.default=Iw});var $d=p(Mo=>{"use strict";Object.defineProperty(Mo,"__esModule",{value:!0});Mo.default=void 0;var Nw={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"]]},Lw=Nw;Mo.default=Lw});var Hd=p(Oo=>{"use strict";Object.defineProperty(Oo,"__esModule",{value:!0});Oo.default=void 0;var Bw={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"]]},Dw=Bw;Oo.default=Dw});var Vd=p(ko=>{"use strict";Object.defineProperty(ko,"__esModule",{value:!0});ko.default=void 0;var Fw={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"]]},Uw=Fw;ko.default=Uw});var Wd=p(Io=>{"use strict";Object.defineProperty(Io,"__esModule",{value:!0});Io.default=void 0;var jw={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"]]},$w=jw;Io.default=$w});var zd=p(No=>{"use strict";Object.defineProperty(No,"__esModule",{value:!0});No.default=void 0;var Hw={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"]]},Vw=Hw;No.default=Vw});var Gd=p(Lo=>{"use strict";Object.defineProperty(Lo,"__esModule",{value:!0});Lo.default=void 0;var Ww={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},zw=Ww;Lo.default=zw});var Kd=p(Bo=>{"use strict";Object.defineProperty(Bo,"__esModule",{value:!0});Bo.default=void 0;var Gw={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"]]},Kw=Gw;Bo.default=Kw});var Xd=p(Do=>{"use strict";Object.defineProperty(Do,"__esModule",{value:!0});Do.default=void 0;var Xw={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"]]},Qw=Xw;Do.default=Qw});var Qd=p(Fo=>{"use strict";Object.defineProperty(Fo,"__esModule",{value:!0});Fo.default=void 0;var Jw={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"]]},Yw=Jw;Fo.default=Yw});var Jd=p(Uo=>{"use strict";Object.defineProperty(Uo,"__esModule",{value:!0});Uo.default=void 0;var Zw={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","status"]]},e_=Zw;Uo.default=e_});var Yd=p(jo=>{"use strict";Object.defineProperty(jo,"__esModule",{value:!0});jo.default=void 0;var t_={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"]]},r_=t_;jo.default=r_});var Zd=p($o=>{"use strict";Object.defineProperty($o,"__esModule",{value:!0});$o.default=void 0;var n_={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},o_=n_;$o.default=o_});var ep=p(Ho=>{"use strict";Object.defineProperty(Ho,"__esModule",{value:!0});Ho.default=void 0;var i_={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"]]},a_=i_;Ho.default=a_});var tp=p(Vo=>{"use strict";Object.defineProperty(Vo,"__esModule",{value:!0});Vo.default=void 0;var s_={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"]]},l_=s_;Vo.default=l_});var rp=p(Wo=>{"use strict";Object.defineProperty(Wo,"__esModule",{value:!0});Wo.default=void 0;var u_={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"]]},c_=u_;Wo.default=c_});var np=p(zo=>{"use strict";Object.defineProperty(zo,"__esModule",{value:!0});zo.default=void 0;var d_=E(xc()),p_=E(qc()),f_=E(Ac()),m_=E(Mc()),b_=E(Oc()),v_=E(kc()),y_=E(Ic()),h_=E(Nc()),g_=E(Lc()),E_=E(Bc()),w_=E(Dc()),__=E(Fc()),C_=E(Uc()),P_=E(jc()),T_=E($c()),R_=E(Hc()),S_=E(Vc()),x_=E(Wc()),q_=E(zc()),A_=E(Gc()),M_=E(Kc()),O_=E(Xc()),k_=E(Qc()),I_=E(Jc()),N_=E(Yc()),L_=E(Zc()),B_=E(ed()),D_=E(td()),F_=E(rd()),U_=E(nd()),j_=E(od()),$_=E(id()),H_=E(ad()),V_=E(sd()),W_=E(ld()),z_=E(ud()),G_=E(cd()),K_=E(dd()),X_=E(pd()),Q_=E(fd()),J_=E(md()),Y_=E(bd()),Z_=E(vd()),eC=E(yd()),tC=E(hd()),rC=E(gd()),nC=E(Ed()),oC=E(wd()),iC=E(_d()),aC=E(Cd()),sC=E(Pd()),lC=E(Td()),uC=E(Rd()),cC=E(Sd()),dC=E(xd()),pC=E(qd()),fC=E(Ad()),mC=E(Md()),bC=E(Od()),vC=E(kd()),yC=E(Id()),hC=E(Nd()),gC=E(Ld()),EC=E(Bd()),wC=E(Dd()),_C=E(Fd()),CC=E(Ud()),PC=E(jd()),TC=E($d()),RC=E(Hd()),SC=E(Vd()),xC=E(Wd()),qC=E(zd()),AC=E(Gd()),MC=E(Kd()),OC=E(Xd()),kC=E(Qd()),IC=E(Jd()),NC=E(Yd()),LC=E(Zd()),BC=E(ep()),DC=E(tp()),FC=E(rp());function E(e){return e&&e.__esModule?e:{default:e}}var UC=[["alert",d_.default],["alertdialog",p_.default],["application",f_.default],["article",m_.default],["banner",b_.default],["blockquote",v_.default],["button",y_.default],["caption",h_.default],["cell",g_.default],["checkbox",E_.default],["code",w_.default],["columnheader",__.default],["combobox",C_.default],["complementary",P_.default],["contentinfo",T_.default],["definition",R_.default],["deletion",S_.default],["dialog",x_.default],["directory",q_.default],["document",A_.default],["emphasis",M_.default],["feed",O_.default],["figure",k_.default],["form",I_.default],["generic",N_.default],["grid",L_.default],["gridcell",B_.default],["group",D_.default],["heading",F_.default],["img",U_.default],["insertion",j_.default],["link",$_.default],["list",H_.default],["listbox",V_.default],["listitem",W_.default],["log",z_.default],["main",G_.default],["mark",K_.default],["marquee",X_.default],["math",Q_.default],["menu",J_.default],["menubar",Y_.default],["menuitem",Z_.default],["menuitemcheckbox",eC.default],["menuitemradio",tC.default],["meter",rC.default],["navigation",nC.default],["none",oC.default],["note",iC.default],["option",aC.default],["paragraph",sC.default],["presentation",lC.default],["progressbar",uC.default],["radio",cC.default],["radiogroup",dC.default],["region",pC.default],["row",fC.default],["rowgroup",mC.default],["rowheader",bC.default],["scrollbar",vC.default],["search",yC.default],["searchbox",hC.default],["separator",gC.default],["slider",EC.default],["spinbutton",wC.default],["status",_C.default],["strong",CC.default],["subscript",PC.default],["superscript",TC.default],["switch",RC.default],["tab",SC.default],["table",xC.default],["tablist",qC.default],["tabpanel",AC.default],["term",MC.default],["textbox",OC.default],["time",kC.default],["timer",IC.default],["toolbar",NC.default],["tooltip",LC.default],["tree",BC.default],["treegrid",DC.default],["treeitem",FC.default]],jC=UC;zo.default=jC});var op=p(Go=>{"use strict";Object.defineProperty(Go,"__esModule",{value:!0});Go.default=void 0;var $C={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],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"]]},HC=$C;Go.default=HC});var ip=p(Ko=>{"use strict";Object.defineProperty(Ko,"__esModule",{value:!0});Ko.default=void 0;var VC={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],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"]]},WC=VC;Ko.default=WC});var ap=p(Xo=>{"use strict";Object.defineProperty(Xo,"__esModule",{value:!0});Xo.default=void 0;var zC={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],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"]]},GC=zC;Xo.default=GC});var sp=p(Qo=>{"use strict";Object.defineProperty(Qo,"__esModule",{value:!0});Qo.default=void 0;var KC={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],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"]]},XC=KC;Qo.default=XC});var lp=p(Jo=>{"use strict";Object.defineProperty(Jo,"__esModule",{value:!0});Jo.default=void 0;var QC={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"]]},JC=QC;Jo.default=JC});var up=p(Yo=>{"use strict";Object.defineProperty(Yo,"__esModule",{value:!0});Yo.default=void 0;var YC={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"]]},ZC=YC;Yo.default=ZC});var cp=p(Zo=>{"use strict";Object.defineProperty(Zo,"__esModule",{value:!0});Zo.default=void 0;var eP={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],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"]]},tP=eP;Zo.default=tP});var dp=p(ei=>{"use strict";Object.defineProperty(ei,"__esModule",{value:!0});ei.default=void 0;var rP={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"]]},nP=rP;ei.default=nP});var pp=p(ti=>{"use strict";Object.defineProperty(ti,"__esModule",{value:!0});ti.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:"chapter [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},iP=oP;ti.default=iP});var fp=p(ri=>{"use strict";Object.defineProperty(ri,"__esModule",{value:!0});ri.default=void 0;var aP={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],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"]]},sP=aP;ri.default=sP});var mp=p(ni=>{"use strict";Object.defineProperty(ni,"__esModule",{value:!0});ni.default=void 0;var lP={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],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"]]},uP=lP;ni.default=uP});var bp=p(oi=>{"use strict";Object.defineProperty(oi,"__esModule",{value:!0});oi.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:"cover [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","img"]]},dP=cP;oi.default=dP});var vp=p(ii=>{"use strict";Object.defineProperty(ii,"__esModule",{value:!0});ii.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:"credit [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},fP=pP;ii.default=fP});var yp=p(ai=>{"use strict";Object.defineProperty(ai,"__esModule",{value:!0});ai.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:"credits [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},bP=mP;ai.default=bP});var hp=p(si=>{"use strict";Object.defineProperty(si,"__esModule",{value:!0});si.default=void 0;var vP={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"dedication [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},yP=vP;si.default=yP});var gp=p(li=>{"use strict";Object.defineProperty(li,"__esModule",{value:!0});li.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:"rearnote [EPUB-SSV]"},module:"EPUB"}],requireContextRole:["doc-endnotes"],requiredContextRole:["doc-endnotes"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","listitem"]]},gP=hP;li.default=gP});var Ep=p(ui=>{"use strict";Object.defineProperty(ui,"__esModule",{value:!0});ui.default=void 0;var EP={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],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"]]},wP=EP;ui.default=wP});var wp=p(ci=>{"use strict";Object.defineProperty(ci,"__esModule",{value:!0});ci.default=void 0;var _P={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"epigraph [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},CP=_P;ci.default=CP});var _p=p(di=>{"use strict";Object.defineProperty(di,"__esModule",{value:!0});di.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:"epilogue [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},TP=PP;di.default=TP});var Cp=p(pi=>{"use strict";Object.defineProperty(pi,"__esModule",{value:!0});pi.default=void 0;var RP={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"errata [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},SP=RP;pi.default=SP});var Pp=p(fi=>{"use strict";Object.defineProperty(fi,"__esModule",{value:!0});fi.default=void 0;var xP={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},qP=xP;fi.default=qP});var Tp=p(mi=>{"use strict";Object.defineProperty(mi,"__esModule",{value:!0});mi.default=void 0;var AP={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],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=AP;mi.default=MP});var Rp=p(bi=>{"use strict";Object.defineProperty(bi,"__esModule",{value:!0});bi.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:"foreword [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},kP=OP;bi.default=kP});var Sp=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:"glossary [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["definition"],["term"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},NP=IP;vi.default=NP});var xp=p(yi=>{"use strict";Object.defineProperty(yi,"__esModule",{value:!0});yi.default=void 0;var LP={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"glossref [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]},BP=LP;yi.default=BP});var qp=p(hi=>{"use strict";Object.defineProperty(hi,"__esModule",{value:!0});hi.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:"index [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]},FP=DP;hi.default=FP});var Ap=p(gi=>{"use strict";Object.defineProperty(gi,"__esModule",{value:!0});gi.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:"introduction [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},jP=UP;gi.default=jP});var Mp=p(Ei=>{"use strict";Object.defineProperty(Ei,"__esModule",{value:!0});Ei.default=void 0;var $P={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"]]},HP=$P;Ei.default=HP});var Op=p(wi=>{"use strict";Object.defineProperty(wi,"__esModule",{value:!0});wi.default=void 0;var VP={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"notice [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","note"]]},WP=VP;wi.default=WP});var kp=p(_i=>{"use strict";Object.defineProperty(_i,"__esModule",{value:!0});_i.default=void 0;var zP={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"]]},GP=zP;_i.default=GP});var Ip=p(Ci=>{"use strict";Object.defineProperty(Ci,"__esModule",{value:!0});Ci.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"]]},XP=KP;Ci.default=XP});var Np=p(Pi=>{"use strict";Object.defineProperty(Pi,"__esModule",{value:!0});Pi.default=void 0;var QP={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"part [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},JP=QP;Pi.default=JP});var Lp=p(Ti=>{"use strict";Object.defineProperty(Ti,"__esModule",{value:!0});Ti.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:"preface [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},ZP=YP;Ti.default=ZP});var Bp=p(Ri=>{"use strict";Object.defineProperty(Ri,"__esModule",{value:!0});Ri.default=void 0;var eT={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],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"]]},tT=eT;Ri.default=tT});var Dp=p(Si=>{"use strict";Object.defineProperty(Si,"__esModule",{value:!0});Si.default=void 0;var rT={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"]]},nT=rT;Si.default=nT});var Fp=p(xi=>{"use strict";Object.defineProperty(xi,"__esModule",{value:!0});xi.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:"qna [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},iT=oT;xi.default=iT});var Up=p(qi=>{"use strict";Object.defineProperty(qi,"__esModule",{value:!0});qi.default=void 0;var aT={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],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"]]},sT=aT;qi.default=sT});var jp=p(Ai=>{"use strict";Object.defineProperty(Ai,"__esModule",{value:!0});Ai.default=void 0;var lT={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],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"]]},uT=lT;Ai.default=uT});var $p=p(Mi=>{"use strict";Object.defineProperty(Mi,"__esModule",{value:!0});Mi.default=void 0;var cT={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"toc [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]},dT=cT;Mi.default=dT});var Hp=p(Oi=>{"use strict";Object.defineProperty(Oi,"__esModule",{value:!0});Oi.default=void 0;var pT=k(op()),fT=k(ip()),mT=k(ap()),bT=k(sp()),vT=k(lp()),yT=k(up()),hT=k(cp()),gT=k(dp()),ET=k(pp()),wT=k(fp()),_T=k(mp()),CT=k(bp()),PT=k(vp()),TT=k(yp()),RT=k(hp()),ST=k(gp()),xT=k(Ep()),qT=k(wp()),AT=k(_p()),MT=k(Cp()),OT=k(Pp()),kT=k(Tp()),IT=k(Rp()),NT=k(Sp()),LT=k(xp()),BT=k(qp()),DT=k(Ap()),FT=k(Mp()),UT=k(Op()),jT=k(kp()),$T=k(Ip()),HT=k(Np()),VT=k(Lp()),WT=k(Bp()),zT=k(Dp()),GT=k(Fp()),KT=k(Up()),XT=k(jp()),QT=k($p());function k(e){return e&&e.__esModule?e:{default:e}}var JT=[["doc-abstract",pT.default],["doc-acknowledgments",fT.default],["doc-afterword",mT.default],["doc-appendix",bT.default],["doc-backlink",vT.default],["doc-biblioentry",yT.default],["doc-bibliography",hT.default],["doc-biblioref",gT.default],["doc-chapter",ET.default],["doc-colophon",wT.default],["doc-conclusion",_T.default],["doc-cover",CT.default],["doc-credit",PT.default],["doc-credits",TT.default],["doc-dedication",RT.default],["doc-endnote",ST.default],["doc-endnotes",xT.default],["doc-epigraph",qT.default],["doc-epilogue",AT.default],["doc-errata",MT.default],["doc-example",OT.default],["doc-footnote",kT.default],["doc-foreword",IT.default],["doc-glossary",NT.default],["doc-glossref",LT.default],["doc-index",BT.default],["doc-introduction",DT.default],["doc-noteref",FT.default],["doc-notice",UT.default],["doc-pagebreak",jT.default],["doc-pagelist",$T.default],["doc-part",HT.default],["doc-preface",VT.default],["doc-prologue",WT.default],["doc-pullquote",zT.default],["doc-qna",GT.default],["doc-subtitle",KT.default],["doc-tip",XT.default],["doc-toc",QT.default]],YT=JT;Oi.default=YT});var Vp=p(ki=>{"use strict";Object.defineProperty(ki,"__esModule",{value:!0});ki.default=void 0;var ZT={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"]]},eR=ZT;ki.default=eR});var Wp=p(Ii=>{"use strict";Object.defineProperty(Ii,"__esModule",{value:!0});Ii.default=void 0;var tR={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"]]},rR=tR;Ii.default=rR});var zp=p(Ni=>{"use strict";Object.defineProperty(Ni,"__esModule",{value:!0});Ni.default=void 0;var nR={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"]]},oR=nR;Ni.default=oR});var Gp=p(Li=>{"use strict";Object.defineProperty(Li,"__esModule",{value:!0});Li.default=void 0;var iR=es(Vp()),aR=es(Wp()),sR=es(zp());function es(e){return e&&e.__esModule?e:{default:e}}var lR=[["graphics-document",iR.default],["graphics-object",aR.default],["graphics-symbol",sR.default]],uR=lR;Li.default=uR});var Di=p(Bi=>{"use strict";Object.defineProperty(Bi,"__esModule",{value:!0});Bi.default=void 0;var cR=ar(Sc()),dR=ar(np()),pR=ar(Hp()),fR=ar(Gp()),mR=ar(_t());function ar(e){return e&&e.__esModule?e:{default:e}}function bR(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ts(e,t){var r=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=Xp(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 ir(e,t){return hR(e)||yR(e,t)||Xp(e,t)||vR()}function vR(){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 Xp(e,t){if(e){if(typeof e=="string")return Kp(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Kp(e,t)}}function Kp(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function yR(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 ze=[].concat(cR.default,dR.default,pR.default,fR.default);ze.forEach(function(e){var t=ir(e,2),r=t[1],n=ts(r.superClass),o;try{for(n.s();!(o=n.n()).done;){var i=o.value,a=ts(i),s;try{var l=function(){var c=s.value,d=ze.find(function(T){var f=ir(T,1),h=f[0];return h===c});if(d)for(var m=d[1],v=0,P=Object.keys(m.props);v<P.length;v++){var C=P[v];Object.prototype.hasOwnProperty.call(r.props,C)||Object.assign(r.props,bR({},C,m.props[C]))}};for(a.s();!(s=a.n()).done;)l()}catch(u){a.e(u)}finally{a.f()}}}catch(u){n.e(u)}finally{n.f()}});var rs={entries:function(){return ze},forEach:function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,n=ts(ze),o;try{for(n.s();!(o=n.n()).done;){var i=ir(o.value,2),a=i[0],s=i[1];t.call(r,s,a,ze)}}catch(l){n.e(l)}finally{n.f()}},get:function(t){var r=ze.find(function(n){return n[0]===t});return r&&r[1]},has:function(t){return!!rs.get(t)},keys:function(){return ze.map(function(t){var r=ir(t,1),n=r[0];return n})},values:function(){return ze.map(function(t){var r=ir(t,2),n=r[1];return n})}},gR=(0,mR.default)(rs,rs.entries());Bi.default=gR});var Yp=p(Jp=>{var Qp=Object.prototype.hasOwnProperty;function ns(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--&&ns(e[n],t[n]););return n===-1}if(!r||typeof e=="object"){n=0;for(r in e)if(Qp.call(e,r)&&++n&&!Qp.call(t,r)||!(r in t)||!ns(e[r],t[r]))return!1;return Object.keys(t).length===n}}return e!==e&&t!==t}Jp.dequal=ns});var af=p(Hi=>{"use strict";Object.defineProperty(Hi,"__esModule",{value:!0});Hi.default=void 0;var tf=Yp(),ER=nf(_t()),rf=nf(Di());function nf(e){return e&&e.__esModule?e:{default:e}}function os(e,t){return CR(e)||_R(e,t)||of(e,t)||wR()}function wR(){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 _R(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 CR(e){if(Array.isArray(e))return e}function PR(e,t){var r=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=of(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 of(e,t){if(e){if(typeof e=="string")return Zp(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Zp(e,t)}}function Zp(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var Ge=[],ef=rf.default.keys();for(Fi=0;Fi<ef.length;Fi++)if(Ui=ef[Fi],ji=rf.default.get(Ui),ji)for(is=[].concat(ji.baseConcepts,ji.relatedConcepts),$i=0;$i<is.length;$i++)as=is[$i],as.module==="HTML"&&(function(){var e=as.concept;if(e){var t=Ge.find(function(i){return(0,tf.dequal)(i,e)}),r;t?r=t[1]:r=[];for(var n=!0,o=0;o<r.length;o++)if(r[o]===Ui){n=!1;break}n&&r.push(Ui),Ge.push([e,r])}})();var Ui,ji,is,as,$i,Fi,ss={entries:function(){return Ge},forEach:function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,n=PR(Ge),o;try{for(n.s();!(o=n.n()).done;){var i=os(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 t.name===n[0].name&&(0,tf.dequal)(t.attributes,n[0].attributes)});return r&&r[1]},has:function(t){return!!ss.get(t)},keys:function(){return Ge.map(function(t){var r=os(t,1),n=r[0];return n})},values:function(){return Ge.map(function(t){var r=os(t,2),n=r[1];return n})}},TR=(0,ER.default)(ss,ss.entries());Hi.default=TR});var pf=p(Ki=>{"use strict";Object.defineProperty(Ki,"__esModule",{value:!0});Ki.default=void 0;var RR=cf(_t()),uf=cf(Di());function cf(e){return e&&e.__esModule?e:{default:e}}function ls(e,t){return qR(e)||xR(e,t)||df(e,t)||SR()}function SR(){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 xR(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 qR(e){if(Array.isArray(e))return e}function AR(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.
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 df(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}var tt=[],lf=uf.default.keys();for(Vi=0;Vi<lf.length;Vi++)if(us=lf[Vi],Wi=uf.default.get(us),zi=[],Wi){for(cs=[].concat(Wi.baseConcepts,Wi.relatedConcepts),Gi=0;Gi<cs.length;Gi++)ds=cs[Gi],ds.module==="HTML"&&(ps=ds.concept,ps!=null&&zi.push(ps));zi.length>0&&tt.push([us,zi])}var us,Wi,zi,cs,ds,ps,Gi,Vi,fs={entries:function(){return tt},forEach:function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,n=AR(tt),o;try{for(n.s();!(o=n.n()).done;){var i=ls(o.value,2),a=i[0],s=i[1];t.call(r,s,a,tt)}}catch(l){n.e(l)}finally{n.f()}},get:function(t){var r=tt.find(function(n){return n[0]===t});return r&&r[1]},has:function(t){return!!fs.get(t)},keys:function(){return tt.map(function(t){var r=ls(t,1),n=r[0];return n})},values:function(){return tt.map(function(t){var r=ls(t,2),n=r[1];return n})}},MR=(0,RR.default)(fs,fs.entries());Ki.default=MR});var ff=p(me=>{"use strict";Object.defineProperty(me,"__esModule",{value:!0});me.roles=me.roleElements=me.elementRoles=me.dom=me.aria=void 0;var OR=sr(dc()),kR=sr(mc()),IR=sr(Di()),NR=sr(af()),LR=sr(pf());function sr(e){return e&&e.__esModule?e:{default:e}}var BR=OR.default;me.aria=BR;var DR=kR.default;me.dom=DR;var FR=IR.default;me.roles=FR;var UR=NR.default;me.elementRoles=UR;var jR=LR.default;me.roleElements=jR});var mf=p((cI,Xi)=>{var ms=(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={},v="",P="",C="",T=2,f=3,h=2,w=[],y=0,g=0,x;for(x=0;x<a.length;x+=1)if(v=a.charAt(x),Object.prototype.hasOwnProperty.call(d,v)||(d[v]=f++,m[v]=!0),P=C+v,Object.prototype.hasOwnProperty.call(d,P))C=P;else{if(Object.prototype.hasOwnProperty.call(m,C)){if(C.charCodeAt(0)<256){for(u=0;u<h;u++)y=y<<1,g==s-1?(g=0,w.push(l(y)),y=0):g++;for(c=C.charCodeAt(0),u=0;u<8;u++)y=y<<1|c&1,g==s-1?(g=0,w.push(l(y)),y=0):g++,c=c>>1}else{for(c=1,u=0;u<h;u++)y=y<<1|c,g==s-1?(g=0,w.push(l(y)),y=0):g++,c=0;for(c=C.charCodeAt(0),u=0;u<16;u++)y=y<<1|c&1,g==s-1?(g=0,w.push(l(y)),y=0):g++,c=c>>1}T--,T==0&&(T=Math.pow(2,h),h++),delete m[C]}else for(c=d[C],u=0;u<h;u++)y=y<<1|c&1,g==s-1?(g=0,w.push(l(y)),y=0):g++,c=c>>1;T--,T==0&&(T=Math.pow(2,h),h++),d[P]=f++,C=String(v)}if(C!==""){if(Object.prototype.hasOwnProperty.call(m,C)){if(C.charCodeAt(0)<256){for(u=0;u<h;u++)y=y<<1,g==s-1?(g=0,w.push(l(y)),y=0):g++;for(c=C.charCodeAt(0),u=0;u<8;u++)y=y<<1|c&1,g==s-1?(g=0,w.push(l(y)),y=0):g++,c=c>>1}else{for(c=1,u=0;u<h;u++)y=y<<1|c,g==s-1?(g=0,w.push(l(y)),y=0):g++,c=0;for(c=C.charCodeAt(0),u=0;u<16;u++)y=y<<1|c&1,g==s-1?(g=0,w.push(l(y)),y=0):g++,c=c>>1}T--,T==0&&(T=Math.pow(2,h),h++),delete m[C]}else for(c=d[C],u=0;u<h;u++)y=y<<1|c&1,g==s-1?(g=0,w.push(l(y)),y=0):g++,c=c>>1;T--,T==0&&(T=Math.pow(2,h),h++)}for(c=2,u=0;u<h;u++)y=y<<1|c&1,g==s-1?(g=0,w.push(l(y)),y=0):g++,c=c>>1;for(;;)if(y=y<<1,g==s-1){w.push(l(y));break}else g++;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,v=3,P="",C=[],T,f,h,w,y,g,x,R={val:l(0),position:s,index:1};for(T=0;T<3;T+=1)u[T]=T;for(h=0,y=Math.pow(2,2),g=1;g!=y;)w=R.val&R.position,R.position>>=1,R.position==0&&(R.position=s,R.val=l(R.index++)),h|=(w>0?1:0)*g,g<<=1;switch(c=h){case 0:for(h=0,y=Math.pow(2,8),g=1;g!=y;)w=R.val&R.position,R.position>>=1,R.position==0&&(R.position=s,R.val=l(R.index++)),h|=(w>0?1:0)*g,g<<=1;x=e(h);break;case 1:for(h=0,y=Math.pow(2,16),g=1;g!=y;)w=R.val&R.position,R.position>>=1,R.position==0&&(R.position=s,R.val=l(R.index++)),h|=(w>0?1:0)*g,g<<=1;x=e(h);break;case 2:return""}for(u[3]=x,f=x,C.push(x);;){if(R.index>a)return"";for(h=0,y=Math.pow(2,v),g=1;g!=y;)w=R.val&R.position,R.position>>=1,R.position==0&&(R.position=s,R.val=l(R.index++)),h|=(w>0?1:0)*g,g<<=1;switch(x=h){case 0:for(h=0,y=Math.pow(2,8),g=1;g!=y;)w=R.val&R.position,R.position>>=1,R.position==0&&(R.position=s,R.val=l(R.index++)),h|=(w>0?1:0)*g,g<<=1;u[m++]=e(h),x=m-1,d--;break;case 1:for(h=0,y=Math.pow(2,16),g=1;g!=y;)w=R.val&R.position,R.position>>=1,R.position==0&&(R.position=s,R.val=l(R.index++)),h|=(w>0?1:0)*g,g<<=1;u[m++]=e(h),x=m-1,d--;break;case 2:return C.join("")}if(d==0&&(d=Math.pow(2,v),v++),u[x])P=u[x];else if(x===m)P=f+f.charAt(0);else return null;C.push(P),u[m++]=f+P.charAt(0),d--,f=P,d==0&&(d=Math.pow(2,v),v++)}}};return i})();typeof define=="function"&&define.amd?define(function(){return ms}):typeof Xi<"u"&&Xi!=null?Xi.exports=ms:typeof angular<"u"&&angular!=null&&angular.module("LZString",[]).factory("LZString",function(){return ms})});var xa=null;function Ys(e){xa=e}function Pe(){if(!xa)throw new Error("No active driver bound to worker runtime");return xa}var kt={activePlatform:"web",configuredBaseUrl:"http://localhost:3000",driverServerUrl:"tcp://127.0.0.1:8200",defaultElementWaitMs:5e3,defaultNavigationWaitMs:1e4,defaultPollIntervalMs:20,defaultReadyPollIntervalMs:50},ke=null;function It(){if(ke)return ke;if(globalThis.__TESTSPECTRA_CONFIG__)return ke=globalThis.__TESTSPECTRA_CONFIG__,ke;if(typeof process<"u"&&process.env?.TESTSPECTRA_CONFIG)try{return ke=JSON.parse(process.env.TESTSPECTRA_CONFIG),ke}catch{}return ke={rootDir:typeof process<"u"?process.cwd():"",testFilePath:"",activePlatform:kt.activePlatform,configuredBaseUrl:kt.configuredBaseUrl,cdpWsUrl:"",driverServerUrl:kt.driverServerUrl,manifest:{page_objects:[],fixtures:[],steps:[],actions:[],global_hooks:[],suite_hooks:{}}},ke}var Zs=null;function el(e,t,r,n){Zs&&Zs(e,t,r,n)}function xr(){return It().implicitWaitMs??kt.defaultElementWaitMs}function L(){return Math.min(xr(),2e3)}function Sr(e,t){console.log(`[${e}] ${t}`)}async function A(e,t,r){let n=It(),o=globalThis.__CURRENT_TEST_TITLE__||globalThis.__CURRENT_TEST_ID__||"",i=globalThis.__TESTSPECTRA_WORKER_ID__;o&&!t.test&&(t.test=o),i!==void 0&&t.workerId===void 0&&(t.workerId=i);let a=JSON.stringify(t);Sr("TESTSPECTRA_STEP_START",a);let s=Date.now();try{let l=await r(),u=Date.now()-s;Sr("TESTSPECTRA_STEP_PASS",`${a} (${u}ms)`),el(`step:${t.key}`,e,u,{test:o,target:t.target});let c=n.stepDelayMs||0;return c>0&&await new Promise(d=>setTimeout(d,c)),l}catch(l){let u=Date.now()-s;throw Sr("TESTSPECTRA_STEP_FAIL",`${a} (${u}ms)`),el(`step:${t.key}`,e,u,{test:o,target:t.target,failed:!0}),Sr("TESTSPECTRA_TEST_ERROR",l?.message||String(l)),l}}async function O(e,t,r=15){let n=t??xr(),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 tl(e,t,r){let n=()=>Pe(),o=typeof e=="string"?e:e.selector;async function i(b){return A("assertion",{type:"assertion",key:"be.visible",target:e,args:[]},async()=>{if(!await O(()=>r.isVisible(),b?.timeoutMs??L()))throw new Error(`Expected element "${o}" to be visible`)})}async function a(b){return A("assertion",{type:"assertion",key:"not.be.visible",target:e,args:[]},async()=>{if(!await O(async()=>!await r.isVisible(),b?.timeoutMs??L()))throw new Error(`Expected element "${o}" not to be visible`)})}async function s(b){return A("assertion",{type:"assertion",key:"exist",target:e,args:[]},async()=>{if(!await O(()=>r.isExisting(),b?.timeoutMs??L()))throw new Error(`Expected element "${o}" to exist in DOM`)})}async function l(b){return A("assertion",{type:"assertion",key:"not.exist",target:e,args:[]},async()=>{if(!await O(async()=>!await r.isExisting(),b?.timeoutMs??L()))throw new Error(`Expected element "${o}" not to exist in DOM`)})}async function u(b){return A("assertion",{type:"assertion",key:"be.enabled",target:e,args:[]},async()=>{if(!await O(()=>r.isEnabled(),b?.timeoutMs??L()))throw new Error(`Expected element "${o}" to be enabled`)})}async function c(b){return A("assertion",{type:"assertion",key:"be.disabled",target:e,args:[]},async()=>{if(!await O(async()=>!await r.isEnabled(),b?.timeoutMs??L()))throw new Error(`Expected element "${o}" to be disabled`)})}async function d(b){return A("assertion",{type:"assertion",key:"be.clickable",target:e,args:[]},async()=>{if(!await O(()=>n().isClickable(e,t),b?.timeoutMs??L()))throw new Error(`Expected element "${o}" to be clickable`)})}async function m(b){return A("assertion",{type:"assertion",key:"not.be.clickable",target:e,args:[]},async()=>{if(!await O(async()=>!await n().isClickable(e,t),b?.timeoutMs??L()))throw new Error(`Expected element "${o}" not to be clickable`)})}async function v(b){return A("assertion",{type:"assertion",key:"be.checked",target:e,args:[]},async()=>{if(!await O(()=>r.isChecked(),b?.timeoutMs??L()))throw new Error(`Expected element "${o}" to be checked`)})}async function P(b){return A("assertion",{type:"assertion",key:"not.be.checked",target:e,args:[]},async()=>{if(!await O(async()=>!await r.isChecked(),b?.timeoutMs??L()))throw new Error(`Expected element "${o}" not to be checked`)})}async function C(b){return A("assertion",{type:"assertion",key:"be.focused",target:e,args:[]},async()=>{if(!await O(()=>r.isFocused(),b?.timeoutMs??L()))throw new Error(`Expected element "${o}" to be focused`)})}async function T(b){return A("assertion",{type:"assertion",key:"not.be.focused",target:e,args:[]},async()=>{if(!await O(async()=>!await r.isFocused(),b?.timeoutMs??L()))throw new Error(`Expected element "${o}" not to be focused`)})}async function f(b,q){return A("assertion",{type:"assertion",key:"have.value",target:e,args:[b]},async()=>{let M="";if(!await O(async()=>(M=await r.getValue(),M===String(b)),q?.timeoutMs??L()))throw new Error(`Expected element "${o}" to have value "${b}", but got "${M}"`)})}async function h(b,q){return A("assertion",{type:"assertion",key:"not.have.value",target:e,args:[b]},async()=>{if(!await O(async()=>await r.getValue()!==String(b),q?.timeoutMs??L()))throw new Error(`Expected element "${o}" not to have value "${b}"`)})}async function w(b,q){return A("assertion",{type:"assertion",key:"contain.value",target:e,args:[b]},async()=>{let M="";if(!await O(async()=>(M=await r.getValue(),M.includes(String(b))),q?.timeoutMs??L()))throw new Error(`Expected element "${o}" to contain value "${b}", but got "${M}"`)})}async function y(b,q){return A("assertion",{type:"assertion",key:"not.contain.value",target:e,args:[b]},async()=>{if(!await O(async()=>!(await r.getValue()).includes(String(b)),q?.timeoutMs??L()))throw new Error(`Expected element "${o}" not to contain value "${b}"`)})}async function g(b,q){return A("assertion",{type:"assertion",key:"have.text",target:e,args:[b]},async()=>{let M="";if(!await O(async()=>(M=await r.getText(),b instanceof RegExp?b.test(M):M===String(b)||M.trim()===String(b).trim()),q?.timeoutMs??L()))throw b instanceof RegExp?new Error(`Expected element "${o}" text to match ${b}, but got "${M}"`):new Error(`Expected element "${o}" to have text "${b}", but got "${M}"`)})}async function x(b,q){return A("assertion",{type:"assertion",key:"not.have.text",target:e,args:[b]},async()=>{let M="";if(!await O(async()=>await r.isExisting()?(M=await r.getText(),b instanceof RegExp?!b.test(M):M!==String(b)&&M.trim()!==String(b).trim()):!1,q?.timeoutMs??L()))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,q){return A("assertion",{type:"assertion",key:"contain.text",target:e,args:[b]},async()=>{let M="";if(!await O(async()=>(M=await r.getText(),M.includes(String(b))),q?.timeoutMs??L()))throw new Error(`Expected element "${o}" to contain text "${b}", but got "${M}"`)})}async function H(b,q){return A("assertion",{type:"assertion",key:"not.contain.text",target:e,args:[b]},async()=>{if(!await O(async()=>!(await r.getText()).includes(String(b)),q?.timeoutMs??L()))throw new Error(`Expected element "${o}" not to contain text "${b}"`)})}async function F(b,q){return A("assertion",{type:"assertion",key:"have.class",target:e,args:[b]},async()=>{if(!await O(()=>n().hasClass(e,b,t),q?.timeoutMs??L()))throw new Error(`Expected element "${o}" to have class "${b}"`)})}async function z(b,q){return A("assertion",{type:"assertion",key:"not.have.class",target:e,args:[b]},async()=>{if(!await O(async()=>!await n().hasClass(e,b,t),q?.timeoutMs??L()))throw new Error(`Expected element "${o}" not to have class "${b}"`)})}async function K(b,q,M){return A("assertion",{type:"assertion",key:"have.attr",target:e,args:q!==void 0?[b,q]:[b]},async()=>{let j=null;if(!await O(async()=>(j=await r.getAttribute(b),q!==void 0?j===String(q):j!==null),M?.timeoutMs??L()))throw q!==void 0?new Error(`Expected element "${o}" to have attribute "${b}" = "${q}", but got "${j}"`):new Error(`Expected element "${o}" to have attribute "${b}"`)})}async function _(b,q){return A("assertion",{type:"assertion",key:"not.have.attr",target:e,args:[b]},async()=>{if(!await O(async()=>await r.getAttribute(b)===null,q?.timeoutMs??L()))throw new Error(`Expected element "${o}" not to have attribute "${b}"`)})}async function B(b,q,M){return A("assertion",{type:"assertion",key:"have.css",target:e,args:[b,q]},async()=>{let j=le=>String(le??"").replace(/\s+/g,"").replace(/rgba\((.+?),1\)/,"rgb($1)").toLowerCase(),N="";if(!await O(async()=>(N=(await r.getCSSProperty(b)).value,j(N)===j(q)),M?.timeoutMs??L()))throw new Error(`Expected element "${o}" to have CSS "${b}" = "${q}", but got "${N}"`)})}async function Z(b,q,M){return A("assertion",{type:"assertion",key:"not.have.css",target:e,args:[b,q]},async()=>{let j=de=>String(de??"").replace(/\s+/g,"").replace(/rgba\((.+?),1\)/,"rgb($1)").toLowerCase();if(!await O(async()=>{let de=await r.getCSSProperty(b);return j(de.value)!==j(q)},M?.timeoutMs??L()))throw new Error(`Expected element "${o}" not to have CSS "${b}" = "${q}"`)})}return{shouldBeVisible:i,shouldNotBeVisible:a,shouldExist:s,shouldNotExist:l,shouldBeEnabled:u,shouldBeDisabled:c,shouldBeClickable:d,shouldNotBeClickable:m,shouldBeChecked:v,shouldNotBeChecked:P,shouldBeFocused:C,shouldNotBeFocused:T,shouldHaveValue:f,shouldNotHaveValue:h,shouldContainValue:w,shouldNotContainValue:y,shouldHaveText:g,shouldNotHaveText:x,shouldContainText:R,shouldNotContainText:H,shouldHaveClass:F,shouldNotHaveClass:z,shouldHaveAttribute:K,shouldNotHaveAttribute:_,shouldHaveCss:B,shouldNotHaveCss:Z}}function rl(e,t){let r=()=>Pe(),n=typeof e=="string"?e:e.selector;async function o(){return await r().getText(e,t)}async function i(){return await r().getValue(e,t)}async function a(){return await r().isDisplayed(e,t)}async function s(){return await a()}async function l(){return await r().isExisting(e,t)}async function u(){return await r().isEnabled(e,t)}async function c(){return await r().isSelected(e,t)}async function d(){return await c()}async function m(){return await r().isFocused(e,t)}async function v(f){return await r().getAttribute(e,f,t)}async function P(f){return await r().getCSSProperty(e,f,t)}async function C(f){let h=f??xr();if(await O(async()=>r().isExisting(e,t),h))return!0;throw new Error("Element not found: "+JSON.stringify(n))}async function T(f={}){let h=f.timeout||5e3,w=Date.now();for(;Date.now()-w<h;){if(await r().isDisplayed(e,t))return!0;await new Promise(y=>setTimeout(y,20))}throw new Error(`Element ${n} not displayed after ${h}ms`)}return{getText:o,getValue:i,isDisplayed:a,isVisible:s,isExisting:l,isEnabled:u,isSelected:c,isChecked:d,isFocused:m,getAttribute:v,getCSSProperty:P,waitForElement:C,waitForDisplayed:T}}function ol(e){return typeof e=="string"?e:e.selector}function nl(e,t){return typeof e=="string"?{selector:e,index:t,parent:void 0}:e}function pe(e,t=null){let r=ol(e),n=typeof e=="string"?t:e.index,o=il(e,t),i=rl(e,t),a=tl(e,t,i);return{selector:r,index:n,...o,...i,...a,get(s,l=null){return pe({selector:s,index:l,parent:nl(e,t)},null)},getAll(s){return Ze({selector:s,index:null,parent:nl(e,t)})}}}function Ze(e){let t=()=>Pe(),r=ol(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 pe(...n(0))},last(){return pe(...n(-1))},nth(i){return pe(...n(i))},async shouldHaveLength(i,a){return A("assertion",{type:"assertion",key:"have.length",target:e,args:[i]},async()=>{let s=0;if(!await O(async()=>(s=await this.count(),s===i),a?.timeoutMs??L()))throw new Error(`Expected collection "${r}" count to equal ${i}, but got ${s}`)})},async shouldNotHaveLength(i,a){return A("assertion",{type:"assertion",key:"not.have.length",target:e,args:[i]},async()=>{let s=0;if(!await O(async()=>(s=await this.count(),s!==i),a?.timeoutMs??L()))throw new Error(`Expected collection "${r}" count not to equal ${i}`)})},async shouldHaveLengthGreaterThan(i,a){return A("assertion",{type:"assertion",key:"have.length.greaterThan",target:e,args:[i]},async()=>{let s=0;if(!await O(async()=>(s=await this.count(),s>i),a?.timeoutMs??L()))throw new Error(`Expected collection "${r}" count to be greater than ${i}, but got ${s}`)})},async shouldHaveLengthLessThan(i,a){return A("assertion",{type:"assertion",key:"have.length.lessThan",target:e,args:[i]},async()=>{let s=0;if(!await O(async()=>(s=await this.count(),s<i),a?.timeoutMs??L()))throw new Error(`Expected collection "${r}" count to be less than ${i}, but got ${s}`)})},async shouldBeEmpty(i){return A("assertion",{type:"assertion",key:"be.empty",target:e,args:[]},async()=>{let a=0;if(!await O(async()=>(a=await this.count(),a===0),i?.timeoutMs??L()))throw new Error(`Expected collection "${r}" to be empty, but got ${a}`)})},async shouldNotBeEmpty(i){return A("assertion",{type:"assertion",key:"not.be.empty",target:e,args:[]},async()=>{let a=0;if(!await O(async()=>(a=await this.count(),a>0),i?.timeoutMs??L()))throw new Error(`Expected collection "${r}" not to be empty`)})}}}function ne(e){if(typeof e=="string")return pe(e,null);if(e&&typeof e=="object"&&"selector"in e)return e;throw new Error(`Invalid element target: ${String(e)}`)}function al(e){return typeof e=="string"?e:e.selector}function il(e,t){let r=()=>Pe();async function n(_){return A("action",{type:"action",key:"click",target:e,args:[]},async()=>{await r().click(e,t)})}async function o(){return A("action",{type:"action",key:"doubleClick",target:e,args:[]},async()=>{await r().doubleClick(e,t)})}async function i(){return A("action",{type:"action",key:"rightClick",target:e,args:[]},async()=>{await r().rightClick(e,t)})}async function a(_){return A("action",{type:"action",key:"type",target:e,args:[_]},async()=>{await r().setValue(e,_,t)})}async function s(_,B){B?.clearFirst&&await l(),await a(_)}async function l(){return A("action",{type:"action",key:"clear",target:e,args:[]},async()=>{await r().clearValue(e,t)})}async function u(){await l()}async function c(_){return A("action",{type:"action",key:"select",target:e,args:[_]},async()=>{await r().select(e,_,t)})}async function d(_){await c(_)}async function m(){return A("action",{type:"action",key:"hover",target:e,args:[]},async()=>{await r().hover(e,t)})}async function v(){return A("action",{type:"action",key:"focus",target:e,args:[]},async()=>{await r().focus(e,t)})}async function P(){return A("action",{type:"action",key:"blur",target:e,args:[]},async()=>{await r().blur(e,t)})}async function C(_){return A("action",{type:"action",key:"waitForElementRemoved",target:e,args:[_??5e3]},async()=>{if(!await O(async()=>!await r().isExisting(e,t),_??5e3))throw new Error("Element still exists after timeout: "+JSON.stringify(al(e)))})}async function T(_){return A("action",{type:"action",key:"waitForUndisplayed",target:e,args:[_?.timeout??5e3]},async()=>{if(!await O(async()=>!await r().isDisplayed(e,t),_?.timeout??5e3))throw new Error("Element still displayed after timeout: "+JSON.stringify(al(e)))})}async function f(_){return A("action",{type:"action",key:"waitForClickable",target:e,args:[_?.timeout??5e3]},async()=>await O(async()=>await r().isClickable(e,t),_?.timeout??5e3))}async function h(){return A("action",{type:"action",key:"getBounds",target:e,args:[]},async()=>await r().getBounds(e,t))}function w(){let _=typeof e=="string"?e+"::parent":e.selector+"::parent";return pe(_,null)}async function y(_){return A("action",{type:"action",key:"closest",target:e,args:[_]},async()=>{if(!await r().closest(e,_,t))return null;let Z=typeof e=="string"?e:e.selector;return pe(`${Z}::closest(${_})`,null)})}async function g(){await m()}async function x(_){let B=typeof _=="string"?_:_?.selector||String(_);return A("action",{type:"action",key:"dragDrop",target:e,args:[B]},async()=>{await r().dragDrop(e,B,t)})}async function R(_){await x(_)}async function H(_){let B=typeof _=="number"?_:_?.duration||1e3;return A("action",{type:"action",key:"longPress",target:e,args:[B]},async()=>{await r().longPress(e,B,t)})}async function F(){return A("action",{type:"action",key:"scrollIntoView",target:e,args:[]},async()=>{await r().scrollIntoView(e,t)})}async function z(_){return A("action",{type:"action",key:"upload",target:e,args:[_]},async()=>{await r().upload(e,_,t)})}async function K(_){await z(_)}return{click:n,doubleClick:o,rightClick:i,setValue:a,type:s,clearValue:l,clear:u,select:c,selectByVisibleText:d,hover:m,focus:v,blur:P,waitForElementRemoved:C,waitForUndisplayed:T,waitForClickable:f,getBounds:h,parent:w,closest:y,moveTo:g,dragDrop:x,dragAndDrop:R,longPress:H,scrollIntoView:F,upload:z,uploadFile:K}}function qa(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 qr(e){let t={respondWith:async(n,o={})=>{let i=n;e.response=i&&i.body!==void 0?i.body:n,(o.statusCode||i&&i.statusCode)&&(e.statusCode=o.statusCode||i?.statusCode||200),(o.headers||i&&i.headers)&&(e.headers=o.headers||i?.headers),(o.delayMs!==void 0||i&&i.delayMs!==void 0)&&(e.delayMs=o.delayMs??i?.delayMs),e.aborted=!1},respondOnce:async(n,o={})=>{let i=n,a=i&&i.body!==void 0?i.body:n,s=o.statusCode||i&&i.statusCode||e.statusCode||200,l=o.headers||i&&i.headers||e.headers,u=o.delayMs??(i&&i.delayMs)??e.delayMs;e.respondOnceQueue.push({response:a,statusCode:s,headers:l,delayMs:u}),e.aborted=!1},abort:async(n="Failed")=>{e.aborted=!0,e.abortReason=n},waitForCall:async(n={})=>{let o=n.count??1,i=n.timeout??5e3;return e.calls.length>=o?e.calls[o-1]:new Promise((a,s)=>{let l=setTimeout(()=>{let u=e.waitResolvers.findIndex(c=>c.resolve===a);u!==-1&&e.waitResolvers.splice(u,1),s(new Error(`Spectra.intercept waitForCall timed out after ${i}ms (expected at least ${o} call(s), received ${e.calls.length})`))},i);e.waitResolvers.push({count:o,resolve:u=>{clearTimeout(l),a(u)}})})}},r=()=>e.callCount;return t.callCount=Object.assign(r,{valueOf:()=>e.callCount,[Symbol.toPrimitive]:()=>e.callCount}),Object.defineProperty(t,"calls",{get:()=>e.calls,enumerable:!0}),t}function Ar(e,t,r,n){let o,i,a,s,l,u;if(typeof e=="object"&&e!==null)o=e.url||e.pattern||"*",i=(e.method||"GET").toUpperCase(),a=e.response!==void 0?e.response:typeof t=="object"&&t!==null?t:r,s=e.statusCode||n&&n.statusCode||200,l=e.headers||n&&n.headers,u=e.delayMs??(n&&n.delayMs);else if(o=String(e||"*"),typeof t=="string"&&["GET","POST","PUT","DELETE","PATCH","HEAD","OPTIONS","ALL"].includes(t.toUpperCase())){i=t.toUpperCase();let c=r;a=c&&c.body!==void 0?c.body:r,s=n&&n.statusCode||c&&c.statusCode||200,l=n&&n.headers||c&&c.headers,u=(n&&n.delayMs)??(c&&c.delayMs)}else{i="GET";let c=t;a=c&&c.body!==void 0?c.body:t,s=r&&r.statusCode||c&&c.statusCode||200,l=r&&r.headers||c&&c.headers,u=(r&&r.delayMs)??(c&&c.delayMs)}return{pattern:o,method:i,response:a,statusCode:s,headers:l,delayMs:u,callCount:0,respondOnceQueue:[],calls:[],waitResolvers:[]}}function Nt(e,t,r){for(let n of e)if(qa(n.pattern,t)&&(!n.method||n.method==="ALL"||n.method.toUpperCase()===r.toUpperCase()))return n;return null}function Lt(e,t){e.calls.push(t),e.callCount++;for(let r=e.waitResolvers.length-1;r>=0;r--){let n=e.waitResolvers[r];e.callCount>=n.count&&(e.waitResolvers.splice(r,1),n.resolve(t))}return t}function Bt(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 Ob={"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 Mr(e){let t=new Map;for(let[r,n]of Object.entries(Ob))t.set(r.toLowerCase(),{name:r,value:n});for(let[r,n]of Object.entries(e||{}))t.set(r.toLowerCase(),{name:r,value:String(n)});return[...t.values()]}function Dt(e){return typeof e=="string"?e:typeof e=="object"&&e!==null?JSON.stringify(e):String(e??"")}function sl(e){let t=/^(.*)::closest\((.+)\)$/.exec(e);if(t)return{kind:"closest",base:t[1],arg:t[2]};let r=/^(.*)::parent$/.exec(e);return r?{kind:"parent",base:r[1]}:null}function Aa(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=Aa(e);if(!t)return null;let{name:r,chainSuffix:n}=t,o=JSON.stringify(r);return`:is([aria-label=${o}], [title=${o}])${n}`}function ul(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 kb=new Set(["mount","unmount","registerCommand","registerCommands"]),Ib=/^[A-Za-z_$][A-Za-z0-9_$]*$/;function cl(){let e=()=>Pe(),t={get:r=>ne(r),getAll:r=>Ze(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()},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()},get browser(){return e()},get env(){return It().environmentVariables||{}}};return t.registerCommand=(r,n)=>{if(typeof n!="function")throw new Error(`[TestSpectra] Custom command "${r}" must be a function.`);if(!Ib.test(r))throw new Error(`[TestSpectra] Invalid custom command name "${r}"; must be a valid identifier.`);if(kb.has(r)||r in t)throw new Error(`[TestSpectra] Custom command "${r}" collides with a built-in Spectra method.`);t[r]=n},t.registerCommands=r=>{for(let[n,o]of Object.entries(r))t.registerCommand(n,o)},t}function dl(){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 Nb=5e3;function Or(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 Ma(){return Nb}function Lb(){return Math.min(Ma(),2e3)}async function Bb(e,t,r){let n=globalThis.__CURRENT_TEST_TITLE__;n&&!t.test&&(t.test=n);let o=JSON.stringify(t);Or("TESTSPECTRA_STEP_START",o);let i=Date.now();try{let a=await r(),s=Date.now()-i;Or("TESTSPECTRA_STEP_PASS",`${o} (${s}ms)`);let l=dl();return l>0&&await new Promise(u=>setTimeout(u,l)),a}catch(a){let s=Date.now()-i;throw Or("TESTSPECTRA_STEP_FAIL",`${o} (${s}ms)`),a}}async function Db(e,t,r=15){let n=t??Ma(),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:dl()};globalThis.__TS_RUNTIME__={activeDriver:null,mobileMockRules:[],lastFocusedSelector:null,emitEvent:Or,trackStep:Bb,pollCondition:Db,getImplicitWaitMs:Ma,getAssertionTimeoutMs:Lb,matchesUrlPattern:qa,createMockHandle:qr,parseMockRule:Ar,findMatchingRule:Nt,recordMockCall:Lt,consumeMockResponse:Bt,mergeMockResponseHeaders:Mr,mockResponseBodyText:Dt,createElementProxy:pe,createCollectionProxy:Ze,beforeHook:null,afterHook:null,beforeEachHook:null,afterEachHook:null,suiteBeforeEachHooks:{},suiteAfterEachHooks:{}};async function pl(e,t=[],r,n={platform:"web"}){for(let o of t)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.`)}catch(i){console.error(`[TestSpectra] Failed to load plugin "${o}": ${i?.stack||i?.message||i}`)}}function Fb(){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 fl=new Map;async function kr(e){let t=fl.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 fl.set(e,r),r}async function Oa(e){let t=e??Fb();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 kr(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 kr(u),m=d?.default!==void 0?d.default:d??u;typeof m=="string"&&m.startsWith("data:")&&!m.includes("name=")&&(m=m.replace(/^data:([^;,]+)/,v=>`${v};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 kr(u);i[l.name]=c.default??c}}globalThis.Step=i;let s=Ub();s.length>0&&globalThis.Spectra&&await pl(globalThis.Spectra,s,kr,{platform:"web"})}function Ub(){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=Oa;function S(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 W(e){var t;if(jb(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 ${$b(e)}`)}function jb(e){return e.nodeType===9}function $b(e){return typeof e=="function"?`function ${e.name}`:e===null?"null":String(e)}function ka(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 Ft(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 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 Ut=class{getAsFile(){return this.file}getAsString(t){typeof this.data=="string"&&t(this.data)}webkitGetAsEntry(){throw new Error("not implemented")}constructor(t,r){Ie(this,"kind",void 0),Ie(this,"type",void 0),Ie(this,"file",null),Ie(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 ml(e){return e.replace(/[A-Z]/g,t=>t.toLowerCase())}var Na=class extends Array{add(...t){let r=typeof t[0]=="string"?new Ut(t[0],ml(t[1])):new Ut(t[0]);return this.push(r),r}clear(){this.splice(0,this.length)}remove(t){this.splice(t,1)}};function Ia(e){let t=ml(e);return t==="text"?"text/plain":t==="url"?"text/uri-list":t}function Ir(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 Hb(e){return new class{getData(r){var n;let o=Ia(r),i=(n=this.items.find(Ir(o,!0)))!==null&&n!==void 0?n:this.items.find(Ir(o,!1)),a="";return i?.getAsString(s=>{a=s}),a}setData(r,n){let o=Ia(r),i=this.items.findIndex(Ir(o,!0)),a=new Ut(n,o);i>=0?this.items.splice(i,1,a):this.items.push(a)}clearData(r){if(r){let n=Ia(r),o=this.items.findIndex(Ir(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(){Ie(this,"dropEffect","none"),Ie(this,"effectAllowed","uninitialized"),Ie(this,"items",new Na),Ie(this,"files",Ft(e,[]))}}}function bt(e,t=[]){let r=typeof e.DataTransfer>"u"?Hb(e):new e.DataTransfer;return Object.defineProperty(r,"files",{get:()=>Ft(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 yl(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function hl(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){yl(this,"data",void 0),this.data=o}}(r)}var vt=Symbol("Manage ClipboardSub");function vl(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=>ka(a,e.FileReader)))}return n}async write(n){this.items=n}async writeText(n){this.items=[hl(e,n)]}constructor(...n){super(...n),yl(this,"items",[])}},{[vt]:t})}function La(e){return!!e?.[vt]}function gl(e){if(La(e.navigator.clipboard))return e.navigator.clipboard[vt];let t=Object.getOwnPropertyDescriptor(e.navigator,"clipboard"),r,n={resetClipboardStub:()=>{r=vl(e,n)},detachClipboardStub:()=>{t?Object.defineProperty(e.navigator,"clipboard",t):Object.defineProperty(e.navigator,"clipboard",{value:void 0,configurable:!0})}};return r=vl(e,n),Object.defineProperty(e.navigator,"clipboard",{get:()=>r,configurable:!0}),r[vt]}function Vb(e){La(e.navigator.clipboard)&&e.navigator.clipboard[vt].resetClipboardStub()}function Wb(e){La(e.navigator.clipboard)&&e.navigator.clipboard[vt].detachClipboardStub()}async function El(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=bt(t);for(let i of n)for(let a of i.types)o.setData(a,await i.getType(a).then(s=>ka(s,t.FileReader)));return o}async function Lr(e,t){let r=W(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(hl(r,l))}if(!(n&&await n.write(o).then(()=>!0,()=>!1)))throw new Error("The Clipboard API is unavailable.")}var Nr=globalThis;typeof Nr.afterEach=="function"&&Nr.afterEach(()=>{typeof globalThis.window<"u"&&Vb(globalThis.window)});typeof Nr.afterAll=="function"&&Nr.afterAll(()=>{typeof globalThis.window<"u"&&Wb(globalThis.window)});var Br=["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(Br)}function wl(e){return new e.constructor(e.type,e)}function te(e){for(let r=e;r;r=r.parentElement)if(S(r,["button","input","select","textarea","optgroup","option"])){if(r.hasAttribute("disabled"))return!0}else if(S(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 Ne(e){let t=e.activeElement;if(t?.shadowRoot){let r=Ne(t.shadowRoot);if(r)return r}else if(t&&S(t,"iframe")){let r=t.contentDocument;if(r)return Ne(r)}return te(t)?e.ownerDocument?e.ownerDocument.body:e.body:t}function yt(e){var t;return(t=Ne(e))!==null&&t!==void 0?t:e.body}function _l(e,t){let r=e;do{if(t(r))return r;r=r.parentElement}while(r&&r!==e.ownerDocument.body)}function ue(e){return e.hasAttribute("contenteditable")&&(e.getAttribute("contenteditable")=="true"||e.getAttribute("contenteditable")=="")}function Le(e){let t=zb(e);return t&&(t.closest('[contenteditable=""]')||t.closest('[contenteditable="true"]'))}function zb(e){return e.nodeType===1?e:e.parentElement}var Cl=(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})(Cl||{});function Dr(e){return S(e,"button")||S(e,"input")&&e.type in Cl}function ve(e){return Ba(e)&&!e.readOnly||ue(e)}var Pl=(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})(Pl||{});function Ba(e){return S(e,"textarea")||S(e,"input")&&e.type in Pl}function X(e){return Rl(e)&&Ba(e)}function Tl(e){return Rl(e)&&Dr(e)}function Rl(e){return e.nodeType===1}function Sl(e){let t=e.ownerDocument.getSelection();if(t?.focusNode&&X(e)){let n=Le(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 Fr(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 ra=Sa(Fu());var Sy=Object.prototype.toString;function Uu(e){return typeof e=="function"||Sy.call(e)==="[object Function]"}function xy(e){var t=Number(e);return isNaN(t)?0:t===0||!isFinite(t)?t:(t>0?1:-1)*Math.floor(Math.abs(t))}var qy=Math.pow(2,53)-1;function Ay(e){var t=xy(e);return Math.min(Math.max(t,0),qy)}function ce(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"&&!Uu(t))throw new TypeError("Array.from: when provided, the second argument must be a function");for(var o=Ay(n.length),i=Uu(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 tr(e){"@babel/helpers - typeof";return tr=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},tr(e)}function My(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ju(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,$u(n.key),n)}}function Oy(e,t,r){return t&&ju(e.prototype,t),r&&ju(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function ky(e,t,r){return t=$u(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function $u(e){var t=Iy(e,"string");return tr(t)==="symbol"?t:String(t)}function Iy(e,t){if(tr(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(tr(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var Ny=(function(){function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];My(this,e),ky(this,"items",void 0),this.items=t}return Oy(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})(),Hu=typeof Set>"u"?Set:Ny;function Q(e){var t;return(t=e.localName)!==null&&t!==void 0?t:e.tagName.toLowerCase()}var Ly={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"},By={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 Dy(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=By[t])!==null&&n!==void 0&&n.has(r))})}function Vu(e,t){return Dy(e,t)}function Qr(e){var t=Uy(e);if(t===null||t==="presentation"){var r=Fy(e);if(t!=="presentation"||Vu(e,r||""))return r}return t}function Fy(e){var t=Ly[Q(e)];if(t!==void 0)return t;switch(Q(e)){case"a":case"area":case"link":if(e.hasAttribute("href"))return"link";break;case"img":return e.getAttribute("alt")===""&&!Vu(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 Uy(e){var t=e.getAttribute("role");if(t!==null){var r=t.trim().split(" ")[0];if(r.length>0)return r}return null}function $(e){return e!==null&&e.nodeType===e.ELEMENT_NODE}function Ga(e){return $(e)&&Q(e)==="caption"}function rr(e){return $(e)&&Q(e)==="input"}function Wu(e){return $(e)&&Q(e)==="optgroup"}function zu(e){return $(e)&&Q(e)==="select"}function Gu(e){return $(e)&&Q(e)==="table"}function Ku(e){return $(e)&&Q(e)==="textarea"}function Xu(e){var t=e.ownerDocument===null?e:e.ownerDocument,r=t.defaultView;if(r===null)throw new TypeError("no window available");return r}function Qu(e){return $(e)&&Q(e)==="fieldset"}function Ju(e){return $(e)&&Q(e)==="legend"}function Yu(e){return $(e)&&Q(e)==="slot"}function jy(e){return $(e)&&e.ownerSVGElement!==void 0}function Zu(e){return $(e)&&Q(e)==="svg"}function ec(e){return jy(e)&&Q(e)==="title"}function wt(e,t){if($(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 $(e)?t.indexOf(Qr(e))!==-1:!1}function $y(e){return e.trim().replace(/\s\s+/g," ")}function Hy(e,t){if(!$(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 Vy(e){return ge(e,["button","combobox","listbox","textbox"])||nc(e,"range")}function nc(e,t){if(!$(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=ce(e.querySelectorAll(t));return wt(e,"aria-owns").forEach(function(n){r.push.apply(r,ce(n.querySelectorAll(t)))}),r}function Wy(e){return zu(e)?e.selectedOptions||tc(e,"[selected]"):tc(e,'[aria-selected="true"]')}function zy(e){return ge(e,["none","presentation"])}function Gy(e){return Ga(e)}function Ky(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 Xy(e){return!1}function Qy(e){return rr(e)||Ku(e)?e.value:e.textContent||""}function rc(e){var t=e.getPropertyValue("content");return/^["'].*["']$/.test(t)?t.slice(1,-1):""}function oc(e){var t=Q(e);return t==="button"||t==="input"&&e.getAttribute("type")!=="hidden"||t==="meter"||t==="output"||t==="progress"||t==="select"||t==="textarea"}function ic(e){if(oc(e))return e;var t=null;return e.childNodes.forEach(function(r){if(t===null&&$(r)){var n=ic(r);n!==null&&(t=n)}}),t}function Jy(e){if(e.control!==void 0)return e.control;var t=e.getAttribute("for");return t!==null?e.ownerDocument.getElementById(t):ic(e)}function Yy(e){var t=e.labels;if(t===null)return t;if(t!==void 0)return ce(t);if(!oc(e))return null;var r=e.ownerDocument;return ce(r.querySelectorAll("label")).filter(function(n){return Jy(n)===e})}function Zy(e){var t=e.assignedNodes();return t.length===0?ce(e.childNodes):t}function Jr(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=new Hu,n=Xu(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,h){var w="";if($(f)&&s){var y=u(f,"::before"),g=rc(y);w="".concat(g," ").concat(w)}var x=Yu(f)?Zy(f):ce(f.childNodes).concat(wt(f,"aria-owns"));if(x.forEach(function(F){var z=T(F,{isEmbeddedInLabel:h.isEmbeddedInLabel,isReferenced:!1,recursion:!0}),K=$(F)?u(F).getPropertyValue("display"):"inline",_=K!=="inline"?" ":"";w+="".concat(_).concat(z).concat(_)}),$(f)&&s){var R=u(f,"::after"),H=rc(R);w="".concat(w," ").concat(H)}return w.trim()}function v(f,h){var w=f.getAttributeNode(h);return w!==null&&!r.has(w)&&w.value.trim()!==""?(r.add(w),w.value):null}function P(f){return $(f)?v(f,"title"):null}function C(f){if(!$(f))return null;if(Qu(f)){r.add(f);for(var h=ce(f.childNodes),w=0;w<h.length;w+=1){var y=h[w];if(Ju(y))return T(y,{isEmbeddedInLabel:!1,isReferenced:!1,recursion:!1})}}else if(Gu(f)){r.add(f);for(var g=ce(f.childNodes),x=0;x<g.length;x+=1){var R=g[x];if(Ga(R))return T(R,{isEmbeddedInLabel:!1,isReferenced:!1,recursion:!1})}}else if(Zu(f)){r.add(f);for(var H=ce(f.childNodes),F=0;F<H.length;F+=1){var z=H[F];if(ec(z))return z.textContent}return null}else if(Q(f)==="img"||Q(f)==="area"){var K=v(f,"alt");if(K!==null)return K}else if(Wu(f)){var _=v(f,"label");if(_!==null)return _}if(rr(f)&&(f.type==="button"||f.type==="submit"||f.type==="reset")){var B=v(f,"value");if(B!==null)return B;if(f.type==="submit")return"Submit";if(f.type==="reset")return"Reset"}var Z=Yy(f);if(Z!==null&&Z.length!==0)return r.add(f),ce(Z).map(function(j){return T(j,{isEmbeddedInLabel:!0,isReferenced:!1,recursion:!0})}).filter(function(j){return j.length>0}).join(" ");if(rr(f)&&f.type==="image"){var b=v(f,"alt");if(b!==null)return b;var q=v(f,"title");return q!==null?q:"Submit Query"}if(ge(f,["button"])){var M=m(f,{isEmbeddedInLabel:!1,isReferenced:!1});if(M!=="")return M}return null}function T(f,h){if(r.has(f))return"";if(!d&&Hy(f,u)&&!h.isReferenced)return r.add(f),"";var w=$(f)?f.getAttributeNode("aria-labelledby"):null,y=w!==null&&!r.has(w)?wt(f,"aria-labelledby"):[];if(i==="name"&&!h.isReferenced&&y.length>0)return r.add(w),y.map(function(K){return T(K,{isEmbeddedInLabel:h.isEmbeddedInLabel,isReferenced:!0,recursion:!1})}).join(" ");var g=h.recursion&&Vy(f)&&i==="name";if(!g){var x=($(f)&&f.getAttribute("aria-label")||"").trim();if(x!==""&&i==="name")return r.add(f),x;if(!zy(f)){var R=C(f);if(R!==null)return r.add(f),R}}if(ge(f,["menu"]))return r.add(f),"";if(g||h.isEmbeddedInLabel||h.isReferenced){if(ge(f,["combobox","listbox"])){r.add(f);var H=Wy(f);return H.length===0?rr(f)?f.value:"":ce(H).map(function(K){return T(K,{isEmbeddedInLabel:h.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),Qy(f)}if(Ky(f)||$(f)&&h.isReferenced||Gy(f)||Xy(f)){var F=m(f,{isEmbeddedInLabel:h.isEmbeddedInLabel,isReferenced:!1});if(F!=="")return r.add(f),F}if(f.nodeType===f.TEXT_NODE)return r.add(f),f.textContent||"";if(h.recursion)return r.add(f),m(f,{isEmbeddedInLabel:h.isEmbeddedInLabel,isReferenced:!1});var z=P(f);return z!==null?(r.add(f),z):(r.add(f),"")}return $y(T(e,{isEmbeddedInLabel:!1,isReferenced:i==="description",recursion:!1}))}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 ac(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 sc(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?ac(Object(r),!0).forEach(function(n){eh(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ac(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function eh(e,t,r){return t=th(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function th(e){var t=rh(e,"string");return nr(t)==="symbol"?t:String(t)}function rh(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)}function Yr(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=wt(e,"aria-describedby").map(function(o){return Jr(o,sc(sc({},t),{},{compute:"description"}))}).join(" ");if(r===""){var n=e.getAttribute("title");r=n===null?"":n}return r}function nh(e){return ge(e,["caption","code","deletion","emphasis","generic","insertion","paragraph","presentation","strong","subscript","superscript"])}function or(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return nh(e)?"":Jr(e,t)}var oe=Sa(ff()),wf=Sa(mf());function _f(e){return e.replace(/</g,"&lt;").replace(/>/g,"&gt;")}var $R=(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("")},HR=3,VR=(e,t,r,n,o,i)=>e.map(a=>{let s=typeof a=="string"?Cf(a,t):i(a,t,r,n,o);return s===""&&typeof a=="object"&&a!==null&&a.nodeType!==HR?"":t.spacingOuter+r+s}).join(""),Cf=(e,t)=>{let r=t.colors.content;return r.open+_f(e)+r.close},WR=(e,t)=>{let r=t.colors.comment;return r.open+"<!--"+_f(e)+"-->"+r.close},zR=(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},GR=(e,t)=>{let r=t.colors.tag;return r.open+"<"+e+r.close+" \u2026"+r.open+" />"+r.close},KR=1,Pf=3,Tf=8,Rf=11,XR=/^((HTML|SVG)\w*)?Element$/,Sf=e=>{let t=e.tagName;return!!(typeof t=="string"&&t.includes("-")||typeof e.hasAttribute=="function"&&e.hasAttribute("is"))},QR=e=>{let t=e.constructor.name,r=e.nodeType;return r===KR&&(XR.test(t)||Sf(e))||r===Pf&&t==="Text"||r===Tf&&t==="Comment"||r===Rf&&t==="DocumentFragment"};function JR(e){return e.nodeType===Pf}function YR(e){return e.nodeType===Tf}function bs(e){return e.nodeType===Rf}function ZR(e){return{test:t=>{var r;return((t==null||(r=t.constructor)==null?void 0:r.name)||Sf(t))&&QR(t)},serialize:(t,r,n,o,i,a)=>{if(JR(t))return Cf(t.data,r);if(YR(t))return WR(t.data,r);let s=bs(t)?"DocumentFragment":t.tagName.toLowerCase();return++o>r.maxDepth?GR(s,r):zR(s,$R(bs(t)?[]:Array.from(t.attributes).map(l=>l.name).sort(),bs(t)?{}:Array.from(t.attributes).reduce((l,u)=>(l[u.name]=u.value,l),{}),r,n+r.indent,o,i,a),VR(Array.prototype.slice.call(t.childNodes||t.children).filter(e),r,n+r.indent,o,i,a),r,n)}}}var xf=null,xs=null,qs=null;try{let e=module&&module.require;xs=e.call(module,"fs").readFileSync,qs=e.call(module,"@babel/code-frame").codeFrameColumns,xf=e.call(module,"picocolors")}catch{}function e0(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=xs(a,"utf-8")}catch{return""}let c=qs(u,{start:{line:s,column:l}},{highlightCode:!0,linesBelow:0});return xf.dim(n)+`
5
+ `}};function Ty(e){return new Array(e+1).join(" ")}function Fu(e,t){if(t&&(_y(t),t.plugins)){let n=Iu(t.plugins,e);if(n!==null)return Ou(n,e,qu(t),"",0,[])}let r=Mu(e,Lu(t),Bu(t),Du(t));return r!==null?r:ku(e,qu(t),"",0,[])}var Ry={AsymmetricMatcher:ay.default,ConvertAnsi:sy.default,DOMCollection:ly.default,DOMElement:uy.default,Immutable:cy.default,ReactElement:dy.default,ReactTestComponent:py.default};Re.plugins=Ry;var Sy=Fu;Re.default=Sy});var uc=p(Zr=>{"use strict";Object.defineProperty(Zr,"__esModule",{value:!0});Zr.default=void 0;function ih(){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=ih;Zr.default=ah});var _t=p(Xa=>{"use strict";Object.defineProperty(Xa,"__esModule",{value:!0});Xa.default=uh;var sh=lh(uc());function lh(e){return e&&e.__esModule?e:{default:e}}function Ka(e){"@babel/helpers - typeof";return Ka=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},Ka(e)}function uh(e,t){return typeof Symbol=="function"&&Ka(Symbol.iterator)==="symbol"&&Object.defineProperty(e,Symbol.iterator,{value:sh.default.bind(t)}),e}});var pc=p(en=>{"use strict";Object.defineProperty(en,"__esModule",{value:!0});en.default=void 0;var ch=dh(_t());function dh(e){return e&&e.__esModule?e:{default:e}}function Qa(e,t){return mh(e)||fh(e,t)||dc(e,t)||ph()}function ph(){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 fh(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 mh(e){if(Array.isArray(e))return e}function bh(e,t){var r=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=dc(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 dc(e,t){if(e){if(typeof e=="string")return cc(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 cc(e,t)}}function cc(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 Ct=[["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"}]],Ja={entries:function(){return Ct},forEach:function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,n=bh(Ct),o;try{for(n.s();!(o=n.n()).done;){var i=Qa(o.value,2),a=i[0],s=i[1];t.call(r,s,a,Ct)}}catch(l){n.e(l)}finally{n.f()}},get:function(t){var r=Ct.find(function(n){return n[0]===t});return r&&r[1]},has:function(t){return!!Ja.get(t)},keys:function(){return Ct.map(function(t){var r=Qa(t,1),n=r[0];return n})},values:function(){return Ct.map(function(t){var r=Qa(t,2),n=r[1];return n})}},vh=(0,ch.default)(Ja,Ja.entries());en.default=vh});var bc=p(tn=>{"use strict";Object.defineProperty(tn,"__esModule",{value:!0});tn.default=void 0;var yh=hh(_t());function hh(e){return e&&e.__esModule?e:{default:e}}function Ya(e,t){return wh(e)||Eh(e,t)||mc(e,t)||gh()}function gh(){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 Eh(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 _h(e,t){var r=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=mc(e))||t&&e&&typeof e.length=="number"){r&&(e=r);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(u){throw u},f:o}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
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 mc(e,t){if(e){if(typeof e=="string")return fc(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 fc(e,t)}}function fc(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var Pt=[["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}]],Za={entries:function(){return Pt},forEach:function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,n=_h(Pt),o;try{for(n.s();!(o=n.n()).done;){var i=Ya(o.value,2),a=i[0],s=i[1];t.call(r,s,a,Pt)}}catch(l){n.e(l)}finally{n.f()}},get:function(t){var r=Pt.find(function(n){return n[0]===t});return r&&r[1]},has:function(t){return!!Za.get(t)},keys:function(){return Pt.map(function(t){var r=Ya(t,1),n=r[0];return n})},values:function(){return Pt.map(function(t){var r=Ya(t,2),n=r[1];return n})}},Ch=(0,yh.default)(Za,Za.entries());tn.default=Ch});var vc=p(rn=>{"use strict";Object.defineProperty(rn,"__esModule",{value:!0});rn.default=void 0;var Ph={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]},Th=Ph;rn.default=Th});var yc=p(nn=>{"use strict";Object.defineProperty(nn,"__esModule",{value:!0});nn.default=void 0;var Rh={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"]]},Sh=Rh;nn.default=Sh});var hc=p(on=>{"use strict";Object.defineProperty(on,"__esModule",{value:!0});on.default=void 0;var xh={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null},relatedConcepts:[{concept:{name:"input"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]},qh=xh;on.default=qh});var gc=p(an=>{"use strict";Object.defineProperty(an,"__esModule",{value:!0});an.default=void 0;var Ah={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},Mh=Ah;an.default=Mh});var Ec=p(sn=>{"use strict";Object.defineProperty(sn,"__esModule",{value:!0});sn.default=void 0;var kh={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"]]},Oh=kh;sn.default=Oh});var wc=p(ln=>{"use strict";Object.defineProperty(ln,"__esModule",{value:!0});ln.default=void 0;var Ih={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:[]},Nh=Ih;ln.default=Nh});var _c=p(un=>{"use strict";Object.defineProperty(un,"__esModule",{value:!0});un.default=void 0;var Lh={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"]]},Bh=Lh;un.default=Bh});var Cc=p(cn=>{"use strict";Object.defineProperty(cn,"__esModule",{value:!0});cn.default=void 0;var Dh={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},Fh=Dh;cn.default=Fh});var Pc=p(dn=>{"use strict";Object.defineProperty(dn,"__esModule",{value:!0});dn.default=void 0;var Uh={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"]]},jh=Uh;dn.default=jh});var Tc=p(pn=>{"use strict";Object.defineProperty(pn,"__esModule",{value:!0});pn.default=void 0;var $h={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]},Hh=$h;pn.default=Hh});var Rc=p(fn=>{"use strict";Object.defineProperty(fn,"__esModule",{value:!0});fn.default=void 0;var Vh={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]},Wh=Vh;fn.default=Wh});var Sc=p(mn=>{"use strict";Object.defineProperty(mn,"__esModule",{value:!0});mn.default=void 0;var zh={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-modal":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]},Gh=zh;mn.default=Gh});var xc=p(bn=>{"use strict";Object.defineProperty(bn,"__esModule",{value:!0});bn.default=void 0;var Kh=fe(vc()),Xh=fe(yc()),Qh=fe(hc()),Jh=fe(gc()),Yh=fe(Ec()),Zh=fe(wc()),eg=fe(_c()),tg=fe(Cc()),rg=fe(Pc()),ng=fe(Tc()),og=fe(Rc()),ig=fe(Sc());function fe(e){return e&&e.__esModule?e:{default:e}}var ag=[["command",Kh.default],["composite",Xh.default],["input",Qh.default],["landmark",Jh.default],["range",Yh.default],["roletype",Zh.default],["section",eg.default],["sectionhead",tg.default],["select",rg.default],["structure",ng.default],["widget",og.default],["window",ig.default]],sg=ag;bn.default=sg});var qc=p(vn=>{"use strict";Object.defineProperty(vn,"__esModule",{value:!0});vn.default=void 0;var lg={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"]]},ug=lg;vn.default=ug});var Ac=p(yn=>{"use strict";Object.defineProperty(yn,"__esModule",{value:!0});yn.default=void 0;var cg={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"]]},dg=cg;yn.default=dg});var Mc=p(hn=>{"use strict";Object.defineProperty(hn,"__esModule",{value:!0});hn.default=void 0;var pg={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"]]},fg=pg;hn.default=fg});var kc=p(gn=>{"use strict";Object.defineProperty(gn,"__esModule",{value:!0});gn.default=void 0;var mg={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"]]},bg=mg;gn.default=bg});var Oc=p(En=>{"use strict";Object.defineProperty(En,"__esModule",{value:!0});En.default=void 0;var vg={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"]]},yg=vg;En.default=yg});var Ic=p(wn=>{"use strict";Object.defineProperty(wn,"__esModule",{value:!0});wn.default=void 0;var hg={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"]]},gg=hg;wn.default=gg});var Nc=p(_n=>{"use strict";Object.defineProperty(_n,"__esModule",{value:!0});_n.default=void 0;var Eg={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=Eg;_n.default=wg});var Lc=p(Cn=>{"use strict";Object.defineProperty(Cn,"__esModule",{value:!0});Cn.default=void 0;var _g={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"]]},Cg=_g;Cn.default=Cg});var Bc=p(Pn=>{"use strict";Object.defineProperty(Pn,"__esModule",{value:!0});Pn.default=void 0;var Pg={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"]]},Tg=Pg;Pn.default=Tg});var Dc=p(Tn=>{"use strict";Object.defineProperty(Tn,"__esModule",{value:!0});Tn.default=void 0;var Rg={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"]]},Sg=Rg;Tn.default=Sg});var Fc=p(Rn=>{"use strict";Object.defineProperty(Rn,"__esModule",{value:!0});Rn.default=void 0;var xg={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"code"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},qg=xg;Rn.default=qg});var Uc=p(Sn=>{"use strict";Object.defineProperty(Sn,"__esModule",{value:!0});Sn.default=void 0;var Ag={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"]]},Mg=Ag;Sn.default=Mg});var jc=p(xn=>{"use strict";Object.defineProperty(xn,"__esModule",{value:!0});xn.default=void 0;var kg={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"]]},Og=kg;xn.default=Og});var $c=p(qn=>{"use strict";Object.defineProperty(qn,"__esModule",{value:!0});qn.default=void 0;var Ig={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"]]},Ng=Ig;qn.default=Ng});var Hc=p(An=>{"use strict";Object.defineProperty(An,"__esModule",{value:!0});An.default=void 0;var Lg={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"]]},Bg=Lg;An.default=Bg});var Vc=p(Mn=>{"use strict";Object.defineProperty(Mn,"__esModule",{value:!0});Mn.default=void 0;var Dg={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"]]},Fg=Dg;Mn.default=Fg});var Wc=p(kn=>{"use strict";Object.defineProperty(kn,"__esModule",{value:!0});kn.default=void 0;var Ug={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"]]},jg=Ug;kn.default=jg});var zc=p(On=>{"use strict";Object.defineProperty(On,"__esModule",{value:!0});On.default=void 0;var $g={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"dialog"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","window"]]},Hg=$g;On.default=Hg});var Gc=p(In=>{"use strict";Object.defineProperty(In,"__esModule",{value:!0});In.default=void 0;var Vg={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{module:"DAISY Guide"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","list"]]},Wg=Vg;In.default=Wg});var Kc=p(Nn=>{"use strict";Object.defineProperty(Nn,"__esModule",{value:!0});Nn.default=void 0;var zg={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"]]},Gg=zg;Nn.default=Gg});var Xc=p(Ln=>{"use strict";Object.defineProperty(Ln,"__esModule",{value:!0});Ln.default=void 0;var Kg={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"]]},Xg=Kg;Ln.default=Xg});var Qc=p(Bn=>{"use strict";Object.defineProperty(Bn,"__esModule",{value:!0});Bn.default=void 0;var Qg={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["article"]],requiredProps:{},superClass:[["roletype","structure","section","list"]]},Jg=Qg;Bn.default=Jg});var Jc=p(Dn=>{"use strict";Object.defineProperty(Dn,"__esModule",{value:!0});Dn.default=void 0;var Yg={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"]]},Zg=Yg;Dn.default=Zg});var Yc=p(Fn=>{"use strict";Object.defineProperty(Fn,"__esModule",{value:!0});Fn.default=void 0;var eE={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"]]},tE=eE;Fn.default=tE});var Zc=p(Un=>{"use strict";Object.defineProperty(Un,"__esModule",{value:!0});Un.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"]]},nE=rE;Un.default=nE});var ed=p(jn=>{"use strict";Object.defineProperty(jn,"__esModule",{value:!0});jn.default=void 0;var oE={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"]]},iE=oE;jn.default=iE});var td=p($n=>{"use strict";Object.defineProperty($n,"__esModule",{value:!0});$n.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"]]},sE=aE;$n.default=sE});var rd=p(Hn=>{"use strict";Object.defineProperty(Hn,"__esModule",{value:!0});Hn.default=void 0;var lE={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"]]},uE=lE;Hn.default=uE});var nd=p(Vn=>{"use strict";Object.defineProperty(Vn,"__esModule",{value:!0});Vn.default=void 0;var cE={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"]]},dE=cE;Vn.default=dE});var od=p(Wn=>{"use strict";Object.defineProperty(Wn,"__esModule",{value:!0});Wn.default=void 0;var pE={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"]]},fE=pE;Wn.default=fE});var id=p(zn=>{"use strict";Object.defineProperty(zn,"__esModule",{value:!0});zn.default=void 0;var mE={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"]]},bE=mE;zn.default=bE});var ad=p(Gn=>{"use strict";Object.defineProperty(Gn,"__esModule",{value:!0});Gn.default=void 0;var vE={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"]]},yE=vE;Gn.default=yE});var sd=p(Kn=>{"use strict";Object.defineProperty(Kn,"__esModule",{value:!0});Kn.default=void 0;var hE={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"]]},gE=hE;Kn.default=gE});var ld=p(Xn=>{"use strict";Object.defineProperty(Xn,"__esModule",{value:!0});Xn.default=void 0;var EE={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=EE;Xn.default=wE});var ud=p(Qn=>{"use strict";Object.defineProperty(Qn,"__esModule",{value:!0});Qn.default=void 0;var _E={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"]]},CE=_E;Qn.default=CE});var cd=p(Jn=>{"use strict";Object.defineProperty(Jn,"__esModule",{value:!0});Jn.default=void 0;var PE={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-live":"polite"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},TE=PE;Jn.default=TE});var dd=p(Yn=>{"use strict";Object.defineProperty(Yn,"__esModule",{value:!0});Yn.default=void 0;var RE={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"]]},SE=RE;Yn.default=SE});var pd=p(Zn=>{"use strict";Object.defineProperty(Zn,"__esModule",{value:!0});Zn.default=void 0;var xE={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:[],props:{"aria-braillelabel":null,"aria-brailleroledescription":null,"aria-description":null},relatedConcepts:[{concept:{name:"mark"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},qE=xE;Zn.default=qE});var fd=p(eo=>{"use strict";Object.defineProperty(eo,"__esModule",{value:!0});eo.default=void 0;var AE={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},ME=AE;eo.default=ME});var md=p(to=>{"use strict";Object.defineProperty(to,"__esModule",{value:!0});to.default=void 0;var kE={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"]]},OE=kE;to.default=OE});var bd=p(ro=>{"use strict";Object.defineProperty(ro,"__esModule",{value:!0});ro.default=void 0;var IE={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"]]},NE=IE;ro.default=NE});var vd=p(no=>{"use strict";Object.defineProperty(no,"__esModule",{value:!0});no.default=void 0;var LE={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"]]},BE=LE;no.default=BE});var yd=p(oo=>{"use strict";Object.defineProperty(oo,"__esModule",{value:!0});oo.default=void 0;var DE={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"]]},FE=DE;oo.default=FE});var hd=p(io=>{"use strict";Object.defineProperty(io,"__esModule",{value:!0});io.default=void 0;var UE={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"]]},jE=UE;io.default=jE});var gd=p(ao=>{"use strict";Object.defineProperty(ao,"__esModule",{value:!0});ao.default=void 0;var $E={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"]]},HE=$E;ao.default=HE});var Ed=p(so=>{"use strict";Object.defineProperty(so,"__esModule",{value:!0});so.default=void 0;var VE={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"]]},WE=VE;so.default=WE});var wd=p(lo=>{"use strict";Object.defineProperty(lo,"__esModule",{value:!0});lo.default=void 0;var zE={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"]]},GE=zE;lo.default=GE});var _d=p(uo=>{"use strict";Object.defineProperty(uo,"__esModule",{value:!0});uo.default=void 0;var KE={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[]},XE=KE;uo.default=XE});var Cd=p(co=>{"use strict";Object.defineProperty(co,"__esModule",{value:!0});co.default=void 0;var QE={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},JE=QE;co.default=JE});var Pd=p(po=>{"use strict";Object.defineProperty(po,"__esModule",{value:!0});po.default=void 0;var YE={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"]]},ZE=YE;po.default=ZE});var Td=p(fo=>{"use strict";Object.defineProperty(fo,"__esModule",{value:!0});fo.default=void 0;var ew={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"]]},tw=ew;fo.default=tw});var Rd=p(mo=>{"use strict";Object.defineProperty(mo,"__esModule",{value:!0});mo.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"]]},nw=rw;mo.default=nw});var Sd=p(bo=>{"use strict";Object.defineProperty(bo,"__esModule",{value:!0});bo.default=void 0;var ow={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"]]},iw=ow;bo.default=iw});var xd=p(vo=>{"use strict";Object.defineProperty(vo,"__esModule",{value:!0});vo.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"]]},sw=aw;vo.default=sw});var qd=p(yo=>{"use strict";Object.defineProperty(yo,"__esModule",{value:!0});yo.default=void 0;var lw={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"]]},uw=lw;yo.default=uw});var Ad=p(ho=>{"use strict";Object.defineProperty(ho,"__esModule",{value:!0});ho.default=void 0;var cw={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"]]},dw=cw;ho.default=dw});var Md=p(go=>{"use strict";Object.defineProperty(go,"__esModule",{value:!0});go.default=void 0;var pw={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"]]},fw=pw;go.default=fw});var kd=p(Eo=>{"use strict";Object.defineProperty(Eo,"__esModule",{value:!0});Eo.default=void 0;var mw={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"]]},bw=mw;Eo.default=bw});var Od=p(wo=>{"use strict";Object.defineProperty(wo,"__esModule",{value:!0});wo.default=void 0;var vw={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"]]},yw=vw;wo.default=yw});var Id=p(_o=>{"use strict";Object.defineProperty(_o,"__esModule",{value:!0});_o.default=void 0;var hw={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"]]},gw=hw;_o.default=gw});var Nd=p(Co=>{"use strict";Object.defineProperty(Co,"__esModule",{value:!0});Co.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","landmark"]]},ww=Ew;Co.default=ww});var Ld=p(Po=>{"use strict";Object.defineProperty(Po,"__esModule",{value:!0});Po.default=void 0;var _w={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"]]},Cw=_w;Po.default=Cw});var Bd=p(To=>{"use strict";Object.defineProperty(To,"__esModule",{value:!0});To.default=void 0;var Pw={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"]]},Tw=Pw;To.default=Tw});var Dd=p(Ro=>{"use strict";Object.defineProperty(Ro,"__esModule",{value:!0});Ro.default=void 0;var Rw={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"]]},Sw=Rw;Ro.default=Sw});var Fd=p(So=>{"use strict";Object.defineProperty(So,"__esModule",{value:!0});So.default=void 0;var xw={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null,"aria-valuetext":null,"aria-valuenow":"0"},relatedConcepts:[{concept:{attributes:[{name:"type",value:"number"}],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","composite"],["roletype","widget","input"],["roletype","structure","range"]]},qw=xw;So.default=qw});var Ud=p(xo=>{"use strict";Object.defineProperty(xo,"__esModule",{value:!0});xo.default=void 0;var Aw={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"]]},Mw=Aw;xo.default=Mw});var jd=p(qo=>{"use strict";Object.defineProperty(qo,"__esModule",{value:!0});qo.default=void 0;var kw={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"]]},Ow=kw;qo.default=Ow});var $d=p(Ao=>{"use strict";Object.defineProperty(Ao,"__esModule",{value:!0});Ao.default=void 0;var Iw={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"]]},Nw=Iw;Ao.default=Nw});var Hd=p(Mo=>{"use strict";Object.defineProperty(Mo,"__esModule",{value:!0});Mo.default=void 0;var Lw={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"]]},Bw=Lw;Mo.default=Bw});var Vd=p(ko=>{"use strict";Object.defineProperty(ko,"__esModule",{value:!0});ko.default=void 0;var Dw={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"]]},Fw=Dw;ko.default=Fw});var Wd=p(Oo=>{"use strict";Object.defineProperty(Oo,"__esModule",{value:!0});Oo.default=void 0;var Uw={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"]]},jw=Uw;Oo.default=jw});var zd=p(Io=>{"use strict";Object.defineProperty(Io,"__esModule",{value:!0});Io.default=void 0;var $w={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"]]},Hw=$w;Io.default=Hw});var Gd=p(No=>{"use strict";Object.defineProperty(No,"__esModule",{value:!0});No.default=void 0;var Vw={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"]]},Ww=Vw;No.default=Ww});var Kd=p(Lo=>{"use strict";Object.defineProperty(Lo,"__esModule",{value:!0});Lo.default=void 0;var zw={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},Gw=zw;Lo.default=Gw});var Xd=p(Bo=>{"use strict";Object.defineProperty(Bo,"__esModule",{value:!0});Bo.default=void 0;var Kw={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"]]},Xw=Kw;Bo.default=Xw});var Qd=p(Do=>{"use strict";Object.defineProperty(Do,"__esModule",{value:!0});Do.default=void 0;var Qw={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"]]},Jw=Qw;Do.default=Jw});var Jd=p(Fo=>{"use strict";Object.defineProperty(Fo,"__esModule",{value:!0});Fo.default=void 0;var Yw={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"]]},Zw=Yw;Fo.default=Zw});var Yd=p(Uo=>{"use strict";Object.defineProperty(Uo,"__esModule",{value:!0});Uo.default=void 0;var e_={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","status"]]},t_=e_;Uo.default=t_});var Zd=p(jo=>{"use strict";Object.defineProperty(jo,"__esModule",{value:!0});jo.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"]]},n_=r_;jo.default=n_});var ep=p($o=>{"use strict";Object.defineProperty($o,"__esModule",{value:!0});$o.default=void 0;var o_={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},i_=o_;$o.default=i_});var tp=p(Ho=>{"use strict";Object.defineProperty(Ho,"__esModule",{value:!0});Ho.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"]]},s_=a_;Ho.default=s_});var rp=p(Vo=>{"use strict";Object.defineProperty(Vo,"__esModule",{value:!0});Vo.default=void 0;var l_={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"]]},u_=l_;Vo.default=u_});var np=p(Wo=>{"use strict";Object.defineProperty(Wo,"__esModule",{value:!0});Wo.default=void 0;var c_={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"]]},d_=c_;Wo.default=d_});var op=p(zo=>{"use strict";Object.defineProperty(zo,"__esModule",{value:!0});zo.default=void 0;var p_=w(qc()),f_=w(Ac()),m_=w(Mc()),b_=w(kc()),v_=w(Oc()),y_=w(Ic()),h_=w(Nc()),g_=w(Lc()),E_=w(Bc()),w_=w(Dc()),__=w(Fc()),C_=w(Uc()),P_=w(jc()),T_=w($c()),R_=w(Hc()),S_=w(Vc()),x_=w(Wc()),q_=w(zc()),A_=w(Gc()),M_=w(Kc()),k_=w(Xc()),O_=w(Qc()),I_=w(Jc()),N_=w(Yc()),L_=w(Zc()),B_=w(ed()),D_=w(td()),F_=w(rd()),U_=w(nd()),j_=w(od()),$_=w(id()),H_=w(ad()),V_=w(sd()),W_=w(ld()),z_=w(ud()),G_=w(cd()),K_=w(dd()),X_=w(pd()),Q_=w(fd()),J_=w(md()),Y_=w(bd()),Z_=w(vd()),eC=w(yd()),tC=w(hd()),rC=w(gd()),nC=w(Ed()),oC=w(wd()),iC=w(_d()),aC=w(Cd()),sC=w(Pd()),lC=w(Td()),uC=w(Rd()),cC=w(Sd()),dC=w(xd()),pC=w(qd()),fC=w(Ad()),mC=w(Md()),bC=w(kd()),vC=w(Od()),yC=w(Id()),hC=w(Nd()),gC=w(Ld()),EC=w(Bd()),wC=w(Dd()),_C=w(Fd()),CC=w(Ud()),PC=w(jd()),TC=w($d()),RC=w(Hd()),SC=w(Vd()),xC=w(Wd()),qC=w(zd()),AC=w(Gd()),MC=w(Kd()),kC=w(Xd()),OC=w(Qd()),IC=w(Jd()),NC=w(Yd()),LC=w(Zd()),BC=w(ep()),DC=w(tp()),FC=w(rp()),UC=w(np());function w(e){return e&&e.__esModule?e:{default:e}}var jC=[["alert",p_.default],["alertdialog",f_.default],["application",m_.default],["article",b_.default],["banner",v_.default],["blockquote",y_.default],["button",h_.default],["caption",g_.default],["cell",E_.default],["checkbox",w_.default],["code",__.default],["columnheader",C_.default],["combobox",P_.default],["complementary",T_.default],["contentinfo",R_.default],["definition",S_.default],["deletion",x_.default],["dialog",q_.default],["directory",A_.default],["document",M_.default],["emphasis",k_.default],["feed",O_.default],["figure",I_.default],["form",N_.default],["generic",L_.default],["grid",B_.default],["gridcell",D_.default],["group",F_.default],["heading",U_.default],["img",j_.default],["insertion",$_.default],["link",H_.default],["list",V_.default],["listbox",W_.default],["listitem",z_.default],["log",G_.default],["main",K_.default],["mark",X_.default],["marquee",Q_.default],["math",J_.default],["menu",Y_.default],["menubar",Z_.default],["menuitem",eC.default],["menuitemcheckbox",tC.default],["menuitemradio",rC.default],["meter",nC.default],["navigation",oC.default],["none",iC.default],["note",aC.default],["option",sC.default],["paragraph",lC.default],["presentation",uC.default],["progressbar",cC.default],["radio",dC.default],["radiogroup",pC.default],["region",fC.default],["row",mC.default],["rowgroup",bC.default],["rowheader",vC.default],["scrollbar",yC.default],["search",hC.default],["searchbox",gC.default],["separator",EC.default],["slider",wC.default],["spinbutton",_C.default],["status",CC.default],["strong",PC.default],["subscript",TC.default],["superscript",RC.default],["switch",SC.default],["tab",xC.default],["table",qC.default],["tablist",AC.default],["tabpanel",MC.default],["term",kC.default],["textbox",OC.default],["time",IC.default],["timer",NC.default],["toolbar",LC.default],["tooltip",BC.default],["tree",DC.default],["treegrid",FC.default],["treeitem",UC.default]],$C=jC;zo.default=$C});var ip=p(Go=>{"use strict";Object.defineProperty(Go,"__esModule",{value:!0});Go.default=void 0;var HC={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],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"]]},VC=HC;Go.default=VC});var ap=p(Ko=>{"use strict";Object.defineProperty(Ko,"__esModule",{value:!0});Ko.default=void 0;var WC={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],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"]]},zC=WC;Ko.default=zC});var sp=p(Xo=>{"use strict";Object.defineProperty(Xo,"__esModule",{value:!0});Xo.default=void 0;var GC={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],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"]]},KC=GC;Xo.default=KC});var lp=p(Qo=>{"use strict";Object.defineProperty(Qo,"__esModule",{value:!0});Qo.default=void 0;var XC={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],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"]]},QC=XC;Qo.default=QC});var up=p(Jo=>{"use strict";Object.defineProperty(Jo,"__esModule",{value:!0});Jo.default=void 0;var JC={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"]]},YC=JC;Jo.default=YC});var cp=p(Yo=>{"use strict";Object.defineProperty(Yo,"__esModule",{value:!0});Yo.default=void 0;var ZC={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"]]},eP=ZC;Yo.default=eP});var dp=p(Zo=>{"use strict";Object.defineProperty(Zo,"__esModule",{value:!0});Zo.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:"bibliography [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["doc-biblioentry"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},rP=tP;Zo.default=rP});var pp=p(ei=>{"use strict";Object.defineProperty(ei,"__esModule",{value:!0});ei.default=void 0;var nP={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"]]},oP=nP;ei.default=oP});var fp=p(ti=>{"use strict";Object.defineProperty(ti,"__esModule",{value:!0});ti.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:"chapter [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},aP=iP;ti.default=aP});var mp=p(ri=>{"use strict";Object.defineProperty(ri,"__esModule",{value:!0});ri.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:"colophon [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},lP=sP;ri.default=lP});var bp=p(ni=>{"use strict";Object.defineProperty(ni,"__esModule",{value:!0});ni.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:"conclusion [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},cP=uP;ni.default=cP});var vp=p(oi=>{"use strict";Object.defineProperty(oi,"__esModule",{value:!0});oi.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:"cover [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","img"]]},pP=dP;oi.default=pP});var yp=p(ii=>{"use strict";Object.defineProperty(ii,"__esModule",{value:!0});ii.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:"credit [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},mP=fP;ii.default=mP});var hp=p(ai=>{"use strict";Object.defineProperty(ai,"__esModule",{value:!0});ai.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:"credits [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},vP=bP;ai.default=vP});var gp=p(si=>{"use strict";Object.defineProperty(si,"__esModule",{value:!0});si.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:"dedication [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},hP=yP;si.default=hP});var Ep=p(li=>{"use strict";Object.defineProperty(li,"__esModule",{value:!0});li.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:"rearnote [EPUB-SSV]"},module:"EPUB"}],requireContextRole:["doc-endnotes"],requiredContextRole:["doc-endnotes"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","listitem"]]},EP=gP;li.default=EP});var wp=p(ui=>{"use strict";Object.defineProperty(ui,"__esModule",{value:!0});ui.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:"rearnotes [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["doc-endnote"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},_P=wP;ui.default=_P});var _p=p(ci=>{"use strict";Object.defineProperty(ci,"__esModule",{value:!0});ci.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:"epigraph [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},PP=CP;ci.default=PP});var Cp=p(di=>{"use strict";Object.defineProperty(di,"__esModule",{value:!0});di.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:"epilogue [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},RP=TP;di.default=RP});var Pp=p(pi=>{"use strict";Object.defineProperty(pi,"__esModule",{value:!0});pi.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:"errata [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},xP=SP;pi.default=xP});var Tp=p(fi=>{"use strict";Object.defineProperty(fi,"__esModule",{value:!0});fi.default=void 0;var qP={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},AP=qP;fi.default=AP});var Rp=p(mi=>{"use strict";Object.defineProperty(mi,"__esModule",{value:!0});mi.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:"footnote [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},kP=MP;mi.default=kP});var Sp=p(bi=>{"use strict";Object.defineProperty(bi,"__esModule",{value:!0});bi.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:"foreword [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},IP=OP;bi.default=IP});var xp=p(vi=>{"use strict";Object.defineProperty(vi,"__esModule",{value:!0});vi.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:"glossary [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["definition"],["term"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},LP=NP;vi.default=LP});var qp=p(yi=>{"use strict";Object.defineProperty(yi,"__esModule",{value:!0});yi.default=void 0;var BP={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"]]},DP=BP;yi.default=DP});var Ap=p(hi=>{"use strict";Object.defineProperty(hi,"__esModule",{value:!0});hi.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:"index [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]},UP=FP;hi.default=UP});var Mp=p(gi=>{"use strict";Object.defineProperty(gi,"__esModule",{value:!0});gi.default=void 0;var jP={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"introduction [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},$P=jP;gi.default=$P});var kp=p(Ei=>{"use strict";Object.defineProperty(Ei,"__esModule",{value:!0});Ei.default=void 0;var HP={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"]]},VP=HP;Ei.default=VP});var Op=p(wi=>{"use strict";Object.defineProperty(wi,"__esModule",{value:!0});wi.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:"notice [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","note"]]},zP=WP;wi.default=zP});var Ip=p(_i=>{"use strict";Object.defineProperty(_i,"__esModule",{value:!0});_i.default=void 0;var GP={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"]]},KP=GP;_i.default=KP});var Np=p(Ci=>{"use strict";Object.defineProperty(Ci,"__esModule",{value:!0});Ci.default=void 0;var XP={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"page-list [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]},QP=XP;Ci.default=QP});var Lp=p(Pi=>{"use strict";Object.defineProperty(Pi,"__esModule",{value:!0});Pi.default=void 0;var JP={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"]]},YP=JP;Pi.default=YP});var Bp=p(Ti=>{"use strict";Object.defineProperty(Ti,"__esModule",{value:!0});Ti.default=void 0;var ZP={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"preface [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},eT=ZP;Ti.default=eT});var Dp=p(Ri=>{"use strict";Object.defineProperty(Ri,"__esModule",{value:!0});Ri.default=void 0;var tT={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"prologue [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},rT=tT;Ri.default=rT});var Fp=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:{},relatedConcepts:[{concept:{name:"pullquote [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["none"]]},oT=nT;Si.default=oT});var Up=p(xi=>{"use strict";Object.defineProperty(xi,"__esModule",{value:!0});xi.default=void 0;var iT={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],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"]]},aT=iT;xi.default=aT});var jp=p(qi=>{"use strict";Object.defineProperty(qi,"__esModule",{value:!0});qi.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:"subtitle [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","sectionhead"]]},lT=sT;qi.default=lT});var $p=p(Ai=>{"use strict";Object.defineProperty(Ai,"__esModule",{value:!0});Ai.default=void 0;var uT={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"help [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","note"]]},cT=uT;Ai.default=cT});var Hp=p(Mi=>{"use strict";Object.defineProperty(Mi,"__esModule",{value:!0});Mi.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:"toc [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]},pT=dT;Mi.default=pT});var Vp=p(ki=>{"use strict";Object.defineProperty(ki,"__esModule",{value:!0});ki.default=void 0;var fT=O(ip()),mT=O(ap()),bT=O(sp()),vT=O(lp()),yT=O(up()),hT=O(cp()),gT=O(dp()),ET=O(pp()),wT=O(fp()),_T=O(mp()),CT=O(bp()),PT=O(vp()),TT=O(yp()),RT=O(hp()),ST=O(gp()),xT=O(Ep()),qT=O(wp()),AT=O(_p()),MT=O(Cp()),kT=O(Pp()),OT=O(Tp()),IT=O(Rp()),NT=O(Sp()),LT=O(xp()),BT=O(qp()),DT=O(Ap()),FT=O(Mp()),UT=O(kp()),jT=O(Op()),$T=O(Ip()),HT=O(Np()),VT=O(Lp()),WT=O(Bp()),zT=O(Dp()),GT=O(Fp()),KT=O(Up()),XT=O(jp()),QT=O($p()),JT=O(Hp());function O(e){return e&&e.__esModule?e:{default:e}}var YT=[["doc-abstract",fT.default],["doc-acknowledgments",mT.default],["doc-afterword",bT.default],["doc-appendix",vT.default],["doc-backlink",yT.default],["doc-biblioentry",hT.default],["doc-bibliography",gT.default],["doc-biblioref",ET.default],["doc-chapter",wT.default],["doc-colophon",_T.default],["doc-conclusion",CT.default],["doc-cover",PT.default],["doc-credit",TT.default],["doc-credits",RT.default],["doc-dedication",ST.default],["doc-endnote",xT.default],["doc-endnotes",qT.default],["doc-epigraph",AT.default],["doc-epilogue",MT.default],["doc-errata",kT.default],["doc-example",OT.default],["doc-footnote",IT.default],["doc-foreword",NT.default],["doc-glossary",LT.default],["doc-glossref",BT.default],["doc-index",DT.default],["doc-introduction",FT.default],["doc-noteref",UT.default],["doc-notice",jT.default],["doc-pagebreak",$T.default],["doc-pagelist",HT.default],["doc-part",VT.default],["doc-preface",WT.default],["doc-prologue",zT.default],["doc-pullquote",GT.default],["doc-qna",KT.default],["doc-subtitle",XT.default],["doc-tip",QT.default],["doc-toc",JT.default]],ZT=YT;ki.default=ZT});var Wp=p(Oi=>{"use strict";Object.defineProperty(Oi,"__esModule",{value:!0});Oi.default=void 0;var eR={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"]]},tR=eR;Oi.default=tR});var zp=p(Ii=>{"use strict";Object.defineProperty(Ii,"__esModule",{value:!0});Ii.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"]]},nR=rR;Ii.default=nR});var Gp=p(Ni=>{"use strict";Object.defineProperty(Ni,"__esModule",{value:!0});Ni.default=void 0;var oR={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"]]},iR=oR;Ni.default=iR});var Kp=p(Li=>{"use strict";Object.defineProperty(Li,"__esModule",{value:!0});Li.default=void 0;var aR=es(Wp()),sR=es(zp()),lR=es(Gp());function es(e){return e&&e.__esModule?e:{default:e}}var uR=[["graphics-document",aR.default],["graphics-object",sR.default],["graphics-symbol",lR.default]],cR=uR;Li.default=cR});var Di=p(Bi=>{"use strict";Object.defineProperty(Bi,"__esModule",{value:!0});Bi.default=void 0;var dR=ar(xc()),pR=ar(op()),fR=ar(Vp()),mR=ar(Kp()),bR=ar(_t());function ar(e){return e&&e.__esModule?e:{default:e}}function vR(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ts(e,t){var r=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=Qp(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 ir(e,t){return gR(e)||hR(e,t)||Qp(e,t)||yR()}function yR(){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 Qp(e,t){if(e){if(typeof e=="string")return Xp(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 Xp(e,t)}}function Xp(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 hR(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}var ze=[].concat(dR.default,pR.default,fR.default,mR.default);ze.forEach(function(e){var t=ir(e,2),r=t[1],n=ts(r.superClass),o;try{for(n.s();!(o=n.n()).done;){var i=o.value,a=ts(i),s;try{var l=function(){var c=s.value,d=ze.find(function(T){var f=ir(T,1),h=f[0];return h===c});if(d)for(var m=d[1],v=0,P=Object.keys(m.props);v<P.length;v++){var C=P[v];Object.prototype.hasOwnProperty.call(r.props,C)||Object.assign(r.props,vR({},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 rs={entries:function(){return ze},forEach:function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,n=ts(ze),o;try{for(n.s();!(o=n.n()).done;){var i=ir(o.value,2),a=i[0],s=i[1];t.call(r,s,a,ze)}}catch(l){n.e(l)}finally{n.f()}},get:function(t){var r=ze.find(function(n){return n[0]===t});return r&&r[1]},has:function(t){return!!rs.get(t)},keys:function(){return ze.map(function(t){var r=ir(t,1),n=r[0];return n})},values:function(){return ze.map(function(t){var r=ir(t,2),n=r[1];return n})}},ER=(0,bR.default)(rs,rs.entries());Bi.default=ER});var Zp=p(Yp=>{var Jp=Object.prototype.hasOwnProperty;function ns(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--&&ns(e[n],t[n]););return n===-1}if(!r||typeof e=="object"){n=0;for(r in e)if(Jp.call(e,r)&&++n&&!Jp.call(t,r)||!(r in t)||!ns(e[r],t[r]))return!1;return Object.keys(t).length===n}}return e!==e&&t!==t}Yp.dequal=ns});var sf=p(Hi=>{"use strict";Object.defineProperty(Hi,"__esModule",{value:!0});Hi.default=void 0;var rf=Zp(),wR=of(_t()),nf=of(Di());function of(e){return e&&e.__esModule?e:{default:e}}function os(e,t){return PR(e)||CR(e,t)||af(e,t)||_R()}function _R(){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 CR(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 PR(e){if(Array.isArray(e))return e}function TR(e,t){var r=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=af(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 af(e,t){if(e){if(typeof e=="string")return ef(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 ef(e,t)}}function ef(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 Ge=[],tf=nf.default.keys();for(Fi=0;Fi<tf.length;Fi++)if(Ui=tf[Fi],ji=nf.default.get(Ui),ji)for(is=[].concat(ji.baseConcepts,ji.relatedConcepts),$i=0;$i<is.length;$i++)as=is[$i],as.module==="HTML"&&(function(){var e=as.concept;if(e){var t=Ge.find(function(i){return(0,rf.dequal)(i,e)}),r;t?r=t[1]:r=[];for(var n=!0,o=0;o<r.length;o++)if(r[o]===Ui){n=!1;break}n&&r.push(Ui),Ge.push([e,r])}})();var Ui,ji,is,as,$i,Fi,ss={entries:function(){return Ge},forEach:function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,n=TR(Ge),o;try{for(n.s();!(o=n.n()).done;){var i=os(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 t.name===n[0].name&&(0,rf.dequal)(t.attributes,n[0].attributes)});return r&&r[1]},has:function(t){return!!ss.get(t)},keys:function(){return Ge.map(function(t){var r=os(t,1),n=r[0];return n})},values:function(){return Ge.map(function(t){var r=os(t,2),n=r[1];return n})}},RR=(0,wR.default)(ss,ss.entries());Hi.default=RR});var ff=p(Ki=>{"use strict";Object.defineProperty(Ki,"__esModule",{value:!0});Ki.default=void 0;var SR=df(_t()),cf=df(Di());function df(e){return e&&e.__esModule?e:{default:e}}function ls(e,t){return AR(e)||qR(e,t)||pf(e,t)||xR()}function xR(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
14
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function qR(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n=[],o=!0,i=!1,a,s;try{for(r=r.call(e);!(o=(a=r.next()).done)&&(n.push(a.value),!(t&&n.length===t));o=!0);}catch(l){i=!0,s=l}finally{try{!o&&r.return!=null&&r.return()}finally{if(i)throw s}}return n}}function AR(e){if(Array.isArray(e))return e}function MR(e,t){var r=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=pf(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 pf(e,t){if(e){if(typeof e=="string")return lf(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 lf(e,t)}}function lf(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var tt=[],uf=cf.default.keys();for(Vi=0;Vi<uf.length;Vi++)if(us=uf[Vi],Wi=cf.default.get(us),zi=[],Wi){for(cs=[].concat(Wi.baseConcepts,Wi.relatedConcepts),Gi=0;Gi<cs.length;Gi++)ds=cs[Gi],ds.module==="HTML"&&(ps=ds.concept,ps!=null&&zi.push(ps));zi.length>0&&tt.push([us,zi])}var us,Wi,zi,cs,ds,ps,Gi,Vi,fs={entries:function(){return tt},forEach:function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,n=MR(tt),o;try{for(n.s();!(o=n.n()).done;){var i=ls(o.value,2),a=i[0],s=i[1];t.call(r,s,a,tt)}}catch(l){n.e(l)}finally{n.f()}},get:function(t){var r=tt.find(function(n){return n[0]===t});return r&&r[1]},has:function(t){return!!fs.get(t)},keys:function(){return tt.map(function(t){var r=ls(t,1),n=r[0];return n})},values:function(){return tt.map(function(t){var r=ls(t,2),n=r[1];return n})}},kR=(0,SR.default)(fs,fs.entries());Ki.default=kR});var mf=p(me=>{"use strict";Object.defineProperty(me,"__esModule",{value:!0});me.roles=me.roleElements=me.elementRoles=me.dom=me.aria=void 0;var OR=sr(pc()),IR=sr(bc()),NR=sr(Di()),LR=sr(sf()),BR=sr(ff());function sr(e){return e&&e.__esModule?e:{default:e}}var DR=OR.default;me.aria=DR;var FR=IR.default;me.dom=FR;var UR=NR.default;me.roles=UR;var jR=LR.default;me.elementRoles=jR;var $R=BR.default;me.roleElements=$R});var bf=p((dI,Xi)=>{var ms=(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={},v="",P="",C="",T=2,f=3,h=2,E=[],y=0,g=0,x;for(x=0;x<a.length;x+=1)if(v=a.charAt(x),Object.prototype.hasOwnProperty.call(d,v)||(d[v]=f++,m[v]=!0),P=C+v,Object.prototype.hasOwnProperty.call(d,P))C=P;else{if(Object.prototype.hasOwnProperty.call(m,C)){if(C.charCodeAt(0)<256){for(u=0;u<h;u++)y=y<<1,g==s-1?(g=0,E.push(l(y)),y=0):g++;for(c=C.charCodeAt(0),u=0;u<8;u++)y=y<<1|c&1,g==s-1?(g=0,E.push(l(y)),y=0):g++,c=c>>1}else{for(c=1,u=0;u<h;u++)y=y<<1|c,g==s-1?(g=0,E.push(l(y)),y=0):g++,c=0;for(c=C.charCodeAt(0),u=0;u<16;u++)y=y<<1|c&1,g==s-1?(g=0,E.push(l(y)),y=0):g++,c=c>>1}T--,T==0&&(T=Math.pow(2,h),h++),delete m[C]}else for(c=d[C],u=0;u<h;u++)y=y<<1|c&1,g==s-1?(g=0,E.push(l(y)),y=0):g++,c=c>>1;T--,T==0&&(T=Math.pow(2,h),h++),d[P]=f++,C=String(v)}if(C!==""){if(Object.prototype.hasOwnProperty.call(m,C)){if(C.charCodeAt(0)<256){for(u=0;u<h;u++)y=y<<1,g==s-1?(g=0,E.push(l(y)),y=0):g++;for(c=C.charCodeAt(0),u=0;u<8;u++)y=y<<1|c&1,g==s-1?(g=0,E.push(l(y)),y=0):g++,c=c>>1}else{for(c=1,u=0;u<h;u++)y=y<<1|c,g==s-1?(g=0,E.push(l(y)),y=0):g++,c=0;for(c=C.charCodeAt(0),u=0;u<16;u++)y=y<<1|c&1,g==s-1?(g=0,E.push(l(y)),y=0):g++,c=c>>1}T--,T==0&&(T=Math.pow(2,h),h++),delete m[C]}else for(c=d[C],u=0;u<h;u++)y=y<<1|c&1,g==s-1?(g=0,E.push(l(y)),y=0):g++,c=c>>1;T--,T==0&&(T=Math.pow(2,h),h++)}for(c=2,u=0;u<h;u++)y=y<<1|c&1,g==s-1?(g=0,E.push(l(y)),y=0):g++,c=c>>1;for(;;)if(y=y<<1,g==s-1){E.push(l(y));break}else g++;return E.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,v=3,P="",C=[],T,f,h,E,y,g,x,R={val:l(0),position:s,index:1};for(T=0;T<3;T+=1)u[T]=T;for(h=0,y=Math.pow(2,2),g=1;g!=y;)E=R.val&R.position,R.position>>=1,R.position==0&&(R.position=s,R.val=l(R.index++)),h|=(E>0?1:0)*g,g<<=1;switch(c=h){case 0:for(h=0,y=Math.pow(2,8),g=1;g!=y;)E=R.val&R.position,R.position>>=1,R.position==0&&(R.position=s,R.val=l(R.index++)),h|=(E>0?1:0)*g,g<<=1;x=e(h);break;case 1:for(h=0,y=Math.pow(2,16),g=1;g!=y;)E=R.val&R.position,R.position>>=1,R.position==0&&(R.position=s,R.val=l(R.index++)),h|=(E>0?1:0)*g,g<<=1;x=e(h);break;case 2:return""}for(u[3]=x,f=x,C.push(x);;){if(R.index>a)return"";for(h=0,y=Math.pow(2,v),g=1;g!=y;)E=R.val&R.position,R.position>>=1,R.position==0&&(R.position=s,R.val=l(R.index++)),h|=(E>0?1:0)*g,g<<=1;switch(x=h){case 0:for(h=0,y=Math.pow(2,8),g=1;g!=y;)E=R.val&R.position,R.position>>=1,R.position==0&&(R.position=s,R.val=l(R.index++)),h|=(E>0?1:0)*g,g<<=1;u[m++]=e(h),x=m-1,d--;break;case 1:for(h=0,y=Math.pow(2,16),g=1;g!=y;)E=R.val&R.position,R.position>>=1,R.position==0&&(R.position=s,R.val=l(R.index++)),h|=(E>0?1:0)*g,g<<=1;u[m++]=e(h),x=m-1,d--;break;case 2:return C.join("")}if(d==0&&(d=Math.pow(2,v),v++),u[x])P=u[x];else if(x===m)P=f+f.charAt(0);else return null;C.push(P),u[m++]=f+P.charAt(0),d--,f=P,d==0&&(d=Math.pow(2,v),v++)}}};return i})();typeof define=="function"&&define.amd?define(function(){return ms}):typeof Xi<"u"&&Xi!=null?Xi.exports=ms:typeof angular<"u"&&angular!=null&&angular.module("LZString",[]).factory("LZString",function(){return ms})});var xa=null;function Ys(e){xa=e}function Pe(){if(!xa)throw new Error("No active driver bound to worker runtime");return xa}var Ot={activePlatform:"web",configuredBaseUrl:"http://localhost:3000",driverServerUrl:"tcp://127.0.0.1:8200",defaultElementWaitMs:5e3,defaultNavigationWaitMs:1e4,defaultPollIntervalMs:20,defaultReadyPollIntervalMs:50},Oe=null;function It(){if(Oe)return Oe;if(globalThis.__TESTSPECTRA_CONFIG__)return Oe=globalThis.__TESTSPECTRA_CONFIG__,Oe;if(typeof process<"u"&&process.env?.TESTSPECTRA_CONFIG)try{return Oe=JSON.parse(process.env.TESTSPECTRA_CONFIG),Oe}catch{}return Oe={rootDir:typeof process<"u"?process.cwd():"",testFilePath:"",activePlatform:Ot.activePlatform,configuredBaseUrl:Ot.configuredBaseUrl,cdpWsUrl:"",driverServerUrl:Ot.driverServerUrl,manifest:{page_objects:[],fixtures:[],steps:[],actions:[],global_hooks:[],suite_hooks:{}}},Oe}var Zs=null;function el(e,t,r,n){Zs&&Zs(e,t,r,n)}function xr(){return It().implicitWaitMs??Ot.defaultElementWaitMs}function L(){return Math.min(xr(),2e3)}function Sr(e,t){console.log(`[${e}] ${t}`)}async function A(e,t,r){let n=It(),o=globalThis.__CURRENT_TEST_TITLE__||globalThis.__CURRENT_TEST_ID__||"",i=globalThis.__TESTSPECTRA_WORKER_ID__;o&&!t.test&&(t.test=o),i!==void 0&&t.workerId===void 0&&(t.workerId=i);let a=JSON.stringify(t);Sr("TESTSPECTRA_STEP_START",a);let s=Date.now();try{let l=await r(),u=Date.now()-s;Sr("TESTSPECTRA_STEP_PASS",`${a} (${u}ms)`),el(`step:${t.key}`,e,u,{test:o,target:t.target});let c=n.stepDelayMs||0;return c>0&&await new Promise(d=>setTimeout(d,c)),l}catch(l){let u=Date.now()-s;throw Sr("TESTSPECTRA_STEP_FAIL",`${a} (${u}ms)`),el(`step:${t.key}`,e,u,{test:o,target:t.target,failed:!0}),Sr("TESTSPECTRA_TEST_ERROR",l?.message||String(l)),l}}async function k(e,t,r=15){let n=t??xr(),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 tl(e,t,r){let n=()=>Pe(),o=typeof e=="string"?e:e.selector;async function i(b){return A("assertion",{type:"assertion",key:"be.visible",target:e,args:[]},async()=>{if(!await k(()=>r.isVisible(),b?.timeoutMs??L()))throw new Error(`Expected element "${o}" to be visible`)})}async function a(b){return A("assertion",{type:"assertion",key:"not.be.visible",target:e,args:[]},async()=>{if(!await k(async()=>!await r.isVisible(),b?.timeoutMs??L()))throw new Error(`Expected element "${o}" not to be visible`)})}async function s(b){return A("assertion",{type:"assertion",key:"exist",target:e,args:[]},async()=>{if(!await k(()=>r.isExisting(),b?.timeoutMs??L()))throw new Error(`Expected element "${o}" to exist in DOM`)})}async function l(b){return A("assertion",{type:"assertion",key:"not.exist",target:e,args:[]},async()=>{if(!await k(async()=>!await r.isExisting(),b?.timeoutMs??L()))throw new Error(`Expected element "${o}" not to exist in DOM`)})}async function u(b){return A("assertion",{type:"assertion",key:"be.enabled",target:e,args:[]},async()=>{if(!await k(()=>r.isEnabled(),b?.timeoutMs??L()))throw new Error(`Expected element "${o}" to be enabled`)})}async function c(b){return A("assertion",{type:"assertion",key:"be.disabled",target:e,args:[]},async()=>{if(!await k(async()=>!await r.isEnabled(),b?.timeoutMs??L()))throw new Error(`Expected element "${o}" to be disabled`)})}async function d(b){return A("assertion",{type:"assertion",key:"be.clickable",target:e,args:[]},async()=>{if(!await k(()=>n().isClickable(e,t),b?.timeoutMs??L()))throw new Error(`Expected element "${o}" to be clickable`)})}async function m(b){return A("assertion",{type:"assertion",key:"not.be.clickable",target:e,args:[]},async()=>{if(!await k(async()=>!await n().isClickable(e,t),b?.timeoutMs??L()))throw new Error(`Expected element "${o}" not to be clickable`)})}async function v(b){return A("assertion",{type:"assertion",key:"be.checked",target:e,args:[]},async()=>{if(!await k(()=>r.isChecked(),b?.timeoutMs??L()))throw new Error(`Expected element "${o}" to be checked`)})}async function P(b){return A("assertion",{type:"assertion",key:"not.be.checked",target:e,args:[]},async()=>{if(!await k(async()=>!await r.isChecked(),b?.timeoutMs??L()))throw new Error(`Expected element "${o}" not to be checked`)})}async function C(b){return A("assertion",{type:"assertion",key:"be.focused",target:e,args:[]},async()=>{if(!await k(()=>r.isFocused(),b?.timeoutMs??L()))throw new Error(`Expected element "${o}" to be focused`)})}async function T(b){return A("assertion",{type:"assertion",key:"not.be.focused",target:e,args:[]},async()=>{if(!await k(async()=>!await r.isFocused(),b?.timeoutMs??L()))throw new Error(`Expected element "${o}" not to be focused`)})}async function f(b,q){return A("assertion",{type:"assertion",key:"have.value",target:e,args:[b]},async()=>{let M="";if(!await k(async()=>(M=await r.getValue(),M===String(b)),q?.timeoutMs??L()))throw new Error(`Expected element "${o}" to have value "${b}", but got "${M}"`)})}async function h(b,q){return A("assertion",{type:"assertion",key:"not.have.value",target:e,args:[b]},async()=>{if(!await k(async()=>await r.getValue()!==String(b),q?.timeoutMs??L()))throw new Error(`Expected element "${o}" not to have value "${b}"`)})}async function E(b,q){return A("assertion",{type:"assertion",key:"contain.value",target:e,args:[b]},async()=>{let M="";if(!await k(async()=>(M=await r.getValue(),M.includes(String(b))),q?.timeoutMs??L()))throw new Error(`Expected element "${o}" to contain value "${b}", but got "${M}"`)})}async function y(b,q){return A("assertion",{type:"assertion",key:"not.contain.value",target:e,args:[b]},async()=>{if(!await k(async()=>!(await r.getValue()).includes(String(b)),q?.timeoutMs??L()))throw new Error(`Expected element "${o}" not to contain value "${b}"`)})}async function g(b,q){return A("assertion",{type:"assertion",key:"have.text",target:e,args:[b]},async()=>{let M="";if(!await k(async()=>(M=await r.getText(),b instanceof RegExp?b.test(M):M===String(b)||M.trim()===String(b).trim()),q?.timeoutMs??L()))throw b instanceof RegExp?new Error(`Expected element "${o}" text to match ${b}, but got "${M}"`):new Error(`Expected element "${o}" to have text "${b}", but got "${M}"`)})}async function x(b,q){return A("assertion",{type:"assertion",key:"not.have.text",target:e,args:[b]},async()=>{let M="";if(!await k(async()=>await r.isExisting()?(M=await r.getText(),b instanceof RegExp?!b.test(M):M!==String(b)&&M.trim()!==String(b).trim()):!1,q?.timeoutMs??L()))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,q){return A("assertion",{type:"assertion",key:"contain.text",target:e,args:[b]},async()=>{let M="";if(!await k(async()=>(M=await r.getText(),M.includes(String(b))),q?.timeoutMs??L()))throw new Error(`Expected element "${o}" to contain text "${b}", but got "${M}"`)})}async function H(b,q){return A("assertion",{type:"assertion",key:"not.contain.text",target:e,args:[b]},async()=>{if(!await k(async()=>!(await r.getText()).includes(String(b)),q?.timeoutMs??L()))throw new Error(`Expected element "${o}" not to contain text "${b}"`)})}async function F(b,q){return A("assertion",{type:"assertion",key:"have.class",target:e,args:[b]},async()=>{if(!await k(()=>n().hasClass(e,b,t),q?.timeoutMs??L()))throw new Error(`Expected element "${o}" to have class "${b}"`)})}async function z(b,q){return A("assertion",{type:"assertion",key:"not.have.class",target:e,args:[b]},async()=>{if(!await k(async()=>!await n().hasClass(e,b,t),q?.timeoutMs??L()))throw new Error(`Expected element "${o}" not to have class "${b}"`)})}async function K(b,q,M){return A("assertion",{type:"assertion",key:"have.attr",target:e,args:q!==void 0?[b,q]:[b]},async()=>{let j=null;if(!await k(async()=>(j=await r.getAttribute(b),q!==void 0?j===String(q):j!==null),M?.timeoutMs??L()))throw q!==void 0?new Error(`Expected element "${o}" to have attribute "${b}" = "${q}", but got "${j}"`):new Error(`Expected element "${o}" to have attribute "${b}"`)})}async function _(b,q){return A("assertion",{type:"assertion",key:"not.have.attr",target:e,args:[b]},async()=>{if(!await k(async()=>await r.getAttribute(b)===null,q?.timeoutMs??L()))throw new Error(`Expected element "${o}" not to have attribute "${b}"`)})}async function B(b,q,M){return A("assertion",{type:"assertion",key:"have.css",target:e,args:[b,q]},async()=>{let j=le=>String(le??"").replace(/\s+/g,"").replace(/rgba\((.+?),1\)/,"rgb($1)").toLowerCase(),N="";if(!await k(async()=>(N=(await r.getCSSProperty(b)).value,j(N)===j(q)),M?.timeoutMs??L()))throw new Error(`Expected element "${o}" to have CSS "${b}" = "${q}", but got "${N}"`)})}async function Z(b,q,M){return A("assertion",{type:"assertion",key:"not.have.css",target:e,args:[b,q]},async()=>{let j=de=>String(de??"").replace(/\s+/g,"").replace(/rgba\((.+?),1\)/,"rgb($1)").toLowerCase();if(!await k(async()=>{let de=await r.getCSSProperty(b);return j(de.value)!==j(q)},M?.timeoutMs??L()))throw new Error(`Expected element "${o}" not to have CSS "${b}" = "${q}"`)})}return{shouldBeVisible:i,shouldNotBeVisible:a,shouldExist:s,shouldNotExist:l,shouldBeEnabled:u,shouldBeDisabled:c,shouldBeClickable:d,shouldNotBeClickable:m,shouldBeChecked:v,shouldNotBeChecked:P,shouldBeFocused:C,shouldNotBeFocused:T,shouldHaveValue:f,shouldNotHaveValue:h,shouldContainValue:E,shouldNotContainValue:y,shouldHaveText:g,shouldNotHaveText:x,shouldContainText:R,shouldNotContainText:H,shouldHaveClass:F,shouldNotHaveClass:z,shouldHaveAttribute:K,shouldNotHaveAttribute:_,shouldHaveCss:B,shouldNotHaveCss:Z}}function rl(e,t){let r=()=>Pe(),n=typeof e=="string"?e:e.selector;async function o(){return await r().getText(e,t)}async function i(){return await r().getValue(e,t)}async function a(){return await r().isDisplayed(e,t)}async function s(){return await a()}async function l(){return await r().isExisting(e,t)}async function u(){return await r().isEnabled(e,t)}async function c(){return await r().isClickable(e,t)}async function d(){return await r().isSelected(e,t)}async function m(){return await d()}async function v(){return await r().isFocused(e,t)}async function P(h){return await r().getAttribute(e,h,t)}async function C(h){return await r().getCSSProperty(e,h,t)}async function T(h){let E=h??xr();if(await k(async()=>r().isExisting(e,t),E))return!0;throw new Error("Element not found: "+JSON.stringify(n))}async function f(h={}){let E=h.timeout||5e3,y=Date.now();for(;Date.now()-y<E;){if(await r().isDisplayed(e,t))return!0;await new Promise(g=>setTimeout(g,20))}throw new Error(`Element ${n} not displayed after ${E}ms`)}return{getText:o,getValue:i,isDisplayed:a,isVisible:s,isExisting:l,isEnabled:u,isClickable:c,isSelected:d,isChecked:m,isFocused:v,getAttribute:P,getCSSProperty:C,waitForElement:T,waitForDisplayed:f}}function ol(e){return typeof e=="string"?e:e.selector}function nl(e,t){return typeof e=="string"?{selector:e,index:t,parent:void 0}:e}function pe(e,t=null){let r=ol(e),n=typeof e=="string"?t:e.index,o=il(e,t),i=rl(e,t),a=tl(e,t,i);return{selector:r,index:n,...o,...i,...a,get(s,l=null){return pe({selector:s,index:l,parent:nl(e,t)},null)},getAll(s){return Ze({selector:s,index:null,parent:nl(e,t)})}}}function Ze(e){let t=()=>Pe(),r=ol(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 pe(...n(0))},last(){return pe(...n(-1))},nth(i){return pe(...n(i))},async shouldHaveLength(i,a){return A("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??L()))throw new Error(`Expected collection "${r}" count to equal ${i}, but got ${s}`)})},async shouldNotHaveLength(i,a){return A("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??L()))throw new Error(`Expected collection "${r}" count not to equal ${i}`)})},async shouldHaveLengthGreaterThan(i,a){return A("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??L()))throw new Error(`Expected collection "${r}" count to be greater than ${i}, but got ${s}`)})},async shouldHaveLengthLessThan(i,a){return A("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??L()))throw new Error(`Expected collection "${r}" count to be less than ${i}, but got ${s}`)})},async shouldBeEmpty(i){return A("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??L()))throw new Error(`Expected collection "${r}" to be empty, but got ${a}`)})},async shouldNotBeEmpty(i){return A("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??L()))throw new Error(`Expected collection "${r}" not to be empty`)})}}}function ne(e){if(typeof e=="string")return pe(e,null);if(e&&typeof e=="object"&&"selector"in e)return e;throw new Error(`Invalid element target: ${String(e)}`)}function al(e){return typeof e=="string"?e:e.selector}function il(e,t){let r=()=>Pe();async function n(_){return A("action",{type:"action",key:"click",target:e,args:[]},async()=>{await r().click(e,t)})}async function o(){return A("action",{type:"action",key:"doubleClick",target:e,args:[]},async()=>{await r().doubleClick(e,t)})}async function i(){return A("action",{type:"action",key:"rightClick",target:e,args:[]},async()=>{await r().rightClick(e,t)})}async function a(_){return A("action",{type:"action",key:"type",target:e,args:[_]},async()=>{await r().setValue(e,_,t)})}async function s(_,B){B?.clearFirst&&await l(),await a(_)}async function l(){return A("action",{type:"action",key:"clear",target:e,args:[]},async()=>{await r().clearValue(e,t)})}async function u(){await l()}async function c(_){return A("action",{type:"action",key:"select",target:e,args:[_]},async()=>{await r().select(e,_,t)})}async function d(_){await c(_)}async function m(){return A("action",{type:"action",key:"hover",target:e,args:[]},async()=>{await r().hover(e,t)})}async function v(){return A("action",{type:"action",key:"focus",target:e,args:[]},async()=>{await r().focus(e,t)})}async function P(){return A("action",{type:"action",key:"blur",target:e,args:[]},async()=>{await r().blur(e,t)})}async function C(_){return A("action",{type:"action",key:"waitForElementRemoved",target:e,args:[_??5e3]},async()=>{if(!await k(async()=>!await r().isExisting(e,t),_??5e3))throw new Error("Element still exists after timeout: "+JSON.stringify(al(e)))})}async function T(_){return A("action",{type:"action",key:"waitForUndisplayed",target:e,args:[_?.timeout??5e3]},async()=>{if(!await k(async()=>!await r().isDisplayed(e,t),_?.timeout??5e3))throw new Error("Element still displayed after timeout: "+JSON.stringify(al(e)))})}async function f(_){return A("action",{type:"action",key:"waitForClickable",target:e,args:[_?.timeout??5e3]},async()=>await k(async()=>await r().isClickable(e,t),_?.timeout??5e3))}async function h(){return A("action",{type:"action",key:"getBounds",target:e,args:[]},async()=>await r().getBounds(e,t))}function E(){let _=typeof e=="string"?e+"::parent":e.selector+"::parent";return pe(_,null)}async function y(_){return A("action",{type:"action",key:"closest",target:e,args:[_]},async()=>{if(!await r().closest(e,_,t))return null;let Z=typeof e=="string"?e:e.selector;return pe(`${Z}::closest(${_})`,null)})}async function g(){await m()}async function x(_){let B=typeof _=="string"?_:_?.selector||String(_);return A("action",{type:"action",key:"dragDrop",target:e,args:[B]},async()=>{await r().dragDrop(e,B,t)})}async function R(_){await x(_)}async function H(_){let B=typeof _=="number"?_:_?.duration||1e3;return A("action",{type:"action",key:"longPress",target:e,args:[B]},async()=>{await r().longPress(e,B,t)})}async function F(){return A("action",{type:"action",key:"scrollIntoView",target:e,args:[]},async()=>{await r().scrollIntoView(e,t)})}async function z(_){return A("action",{type:"action",key:"upload",target:e,args:[_]},async()=>{await r().upload(e,_,t)})}async function K(_){await z(_)}return{click:n,doubleClick:o,rightClick:i,setValue:a,type:s,clearValue:l,clear:u,select:c,selectByVisibleText:d,hover:m,focus:v,blur:P,waitForElementRemoved:C,waitForUndisplayed:T,waitForClickable:f,getBounds:h,parent:E,closest:y,moveTo:g,dragDrop:x,dragAndDrop:R,longPress:H,scrollIntoView:F,upload:z,uploadFile:K}}function qa(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 qr(e){let t={respondWith:async(n,o={})=>{let i=n;e.response=i&&i.body!==void 0?i.body:n,(o.statusCode||i&&i.statusCode)&&(e.statusCode=o.statusCode||i?.statusCode||200),(o.headers||i&&i.headers)&&(e.headers=o.headers||i?.headers),(o.delayMs!==void 0||i&&i.delayMs!==void 0)&&(e.delayMs=o.delayMs??i?.delayMs),e.aborted=!1},respondOnce:async(n,o={})=>{let i=n,a=i&&i.body!==void 0?i.body:n,s=o.statusCode||i&&i.statusCode||e.statusCode||200,l=o.headers||i&&i.headers||e.headers,u=o.delayMs??(i&&i.delayMs)??e.delayMs;e.respondOnceQueue.push({response:a,statusCode:s,headers:l,delayMs:u}),e.aborted=!1},abort:async(n="Failed")=>{e.aborted=!0,e.abortReason=n},waitForCall:async(n={})=>{let o=n.count??1,i=n.timeout??5e3;return e.calls.length>=o?e.calls[o-1]:new Promise((a,s)=>{let l=setTimeout(()=>{let u=e.waitResolvers.findIndex(c=>c.resolve===a);u!==-1&&e.waitResolvers.splice(u,1),s(new Error(`Spectra.intercept waitForCall timed out after ${i}ms (expected at least ${o} call(s), received ${e.calls.length})`))},i);e.waitResolvers.push({count:o,resolve:u=>{clearTimeout(l),a(u)}})})}},r=()=>e.callCount;return t.callCount=Object.assign(r,{valueOf:()=>e.callCount,[Symbol.toPrimitive]:()=>e.callCount}),Object.defineProperty(t,"calls",{get:()=>e.calls,enumerable:!0}),t}function Ar(e,t,r,n){let o,i,a,s,l,u;if(typeof e=="object"&&e!==null)o=e.url||e.pattern||"*",i=(e.method||"GET").toUpperCase(),a=e.response!==void 0?e.response:typeof t=="object"&&t!==null?t:r,s=e.statusCode||n&&n.statusCode||200,l=e.headers||n&&n.headers,u=e.delayMs??(n&&n.delayMs);else if(o=String(e||"*"),typeof t=="string"&&["GET","POST","PUT","DELETE","PATCH","HEAD","OPTIONS","ALL"].includes(t.toUpperCase())){i=t.toUpperCase();let c=r;a=c&&c.body!==void 0?c.body:r,s=n&&n.statusCode||c&&c.statusCode||200,l=n&&n.headers||c&&c.headers,u=(n&&n.delayMs)??(c&&c.delayMs)}else{i="GET";let c=t;a=c&&c.body!==void 0?c.body:t,s=r&&r.statusCode||c&&c.statusCode||200,l=r&&r.headers||c&&c.headers,u=(r&&r.delayMs)??(c&&c.delayMs)}return{pattern:o,method:i,response:a,statusCode:s,headers:l,delayMs:u,callCount:0,respondOnceQueue:[],calls:[],waitResolvers:[]}}function Nt(e,t,r){for(let n of e)if(qa(n.pattern,t)&&(!n.method||n.method==="ALL"||n.method.toUpperCase()===r.toUpperCase()))return n;return null}function Lt(e,t){e.calls.push(t),e.callCount++;for(let r=e.waitResolvers.length-1;r>=0;r--){let n=e.waitResolvers[r];e.callCount>=n.count&&(e.waitResolvers.splice(r,1),n.resolve(t))}return t}function Bt(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 Ob={"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 Mr(e){let t=new Map;for(let[r,n]of Object.entries(Ob))t.set(r.toLowerCase(),{name:r,value:n});for(let[r,n]of Object.entries(e||{}))t.set(r.toLowerCase(),{name:r,value:String(n)});return[...t.values()]}function Dt(e){return typeof e=="string"?e:typeof e=="object"&&e!==null?JSON.stringify(e):String(e??"")}function sl(e){let t=/^(.*)::closest\((.+)\)$/.exec(e);if(t)return{kind:"closest",base:t[1],arg:t[2]};let r=/^(.*)::parent$/.exec(e);return r?{kind:"parent",base:r[1]}:null}function Aa(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=Aa(e);if(!t)return null;let{name:r,chainSuffix:n}=t,o=JSON.stringify(r);return`:is([aria-label=${o}], [title=${o}])${n}`}function ul(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 Ib=new Set(["mount","unmount","registerCommand","registerCommands"]),Nb=/^[A-Za-z_$][A-Za-z0-9_$]*$/;function cl(){let e=()=>Pe(),t={get:r=>ne(r),getAll:r=>Ze(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()},get browser(){return e()},get env(){return It().environmentVariables||{}}};return t.registerCommand=(r,n)=>{if(typeof n!="function")throw new Error(`[TestSpectra] Custom command "${r}" must be a function.`);if(!Nb.test(r))throw new Error(`[TestSpectra] Invalid custom command name "${r}"; must be a valid identifier.`);if(Ib.has(r)||r in t)throw new Error(`[TestSpectra] Custom command "${r}" collides with a built-in Spectra method.`);t[r]=n},t.registerCommands=r=>{for(let[n,o]of Object.entries(r))t.registerCommand(n,o)},t}function dl(){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 Lb=5e3;function kr(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 Ma(){return Lb}function Bb(){return Math.min(Ma(),2e3)}async function Db(e,t,r){let n=globalThis.__CURRENT_TEST_TITLE__;n&&!t.test&&(t.test=n);let o=JSON.stringify(t);kr("TESTSPECTRA_STEP_START",o);let i=Date.now();try{let a=await r(),s=Date.now()-i;kr("TESTSPECTRA_STEP_PASS",`${o} (${s}ms)`);let l=dl();return l>0&&await new Promise(u=>setTimeout(u,l)),a}catch(a){let s=Date.now()-i;throw kr("TESTSPECTRA_STEP_FAIL",`${o} (${s}ms)`),a}}async function Fb(e,t,r=15){let n=t??Ma(),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:dl()};globalThis.__TS_RUNTIME__={activeDriver:null,mobileMockRules:[],lastFocusedSelector:null,emitEvent:kr,trackStep:Db,pollCondition:Fb,getImplicitWaitMs:Ma,getAssertionTimeoutMs:Bb,matchesUrlPattern:qa,createMockHandle:qr,parseMockRule:Ar,findMatchingRule:Nt,recordMockCall:Lt,consumeMockResponse:Bt,mergeMockResponseHeaders:Mr,mockResponseBodyText:Dt,createElementProxy:pe,createCollectionProxy:Ze,beforeHook:null,afterHook:null,beforeEachHook:null,afterEachHook:null,suiteBeforeEachHooks:{},suiteAfterEachHooks:{}};var pl=new Set;async function fl(e,t=[],r,n={platform:"web"}){for(let o of t)if(!pl.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.`),pl.add(o)}catch(i){console.error(`[TestSpectra] Failed to load plugin "${o}": ${i?.stack||i?.message||i}`)}}function Ub(){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 ml=new Map;async function Or(e){let t=ml.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 ml.set(e,r),r}async function ka(e){let t=e??Ub();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 Or(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 Or(u),m=d?.default!==void 0?d.default:d??u;typeof m=="string"&&m.startsWith("data:")&&!m.includes("name=")&&(m=m.replace(/^data:([^;,]+)/,v=>`${v};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 Or(u);i[l.name]=c.default??c}}globalThis.Step=i;let s=jb();s.length>0&&globalThis.Spectra&&await fl(globalThis.Spectra,s,Or,{platform:"web"})}function jb(){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=ka;function S(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 W(e){var t;if($b(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 ${Hb(e)}`)}function $b(e){return e.nodeType===9}function Hb(e){return typeof e=="function"?`function ${e.name}`:e===null?"null":String(e)}function Oa(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 Ft(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 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 Ut=class{getAsFile(){return this.file}getAsString(t){typeof this.data=="string"&&t(this.data)}webkitGetAsEntry(){throw new Error("not implemented")}constructor(t,r){Ie(this,"kind",void 0),Ie(this,"type",void 0),Ie(this,"file",null),Ie(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 bl(e){return e.replace(/[A-Z]/g,t=>t.toLowerCase())}var Na=class extends Array{add(...t){let r=typeof t[0]=="string"?new Ut(t[0],bl(t[1])):new Ut(t[0]);return this.push(r),r}clear(){this.splice(0,this.length)}remove(t){this.splice(t,1)}};function Ia(e){let t=bl(e);return t==="text"?"text/plain":t==="url"?"text/uri-list":t}function Ir(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 Vb(e){return new class{getData(r){var n;let o=Ia(r),i=(n=this.items.find(Ir(o,!0)))!==null&&n!==void 0?n:this.items.find(Ir(o,!1)),a="";return i?.getAsString(s=>{a=s}),a}setData(r,n){let o=Ia(r),i=this.items.findIndex(Ir(o,!0)),a=new Ut(n,o);i>=0?this.items.splice(i,1,a):this.items.push(a)}clearData(r){if(r){let n=Ia(r),o=this.items.findIndex(Ir(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(){Ie(this,"dropEffect","none"),Ie(this,"effectAllowed","uninitialized"),Ie(this,"items",new Na),Ie(this,"files",Ft(e,[]))}}}function bt(e,t=[]){let r=typeof e.DataTransfer>"u"?Vb(e):new e.DataTransfer;return Object.defineProperty(r,"files",{get:()=>Ft(e,t)}),r}async function vl(e,t){return t.kind==="file"?t.getAsFile():new e.Blob([await new Promise(r=>t.getAsString(r))],{type:t.type})}function hl(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function gl(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){hl(this,"data",void 0),this.data=o}}(r)}var vt=Symbol("Manage ClipboardSub");function yl(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=>Oa(a,e.FileReader)))}return n}async write(n){this.items=n}async writeText(n){this.items=[gl(e,n)]}constructor(...n){super(...n),hl(this,"items",[])}},{[vt]:t})}function La(e){return!!e?.[vt]}function El(e){if(La(e.navigator.clipboard))return e.navigator.clipboard[vt];let t=Object.getOwnPropertyDescriptor(e.navigator,"clipboard"),r,n={resetClipboardStub:()=>{r=yl(e,n)},detachClipboardStub:()=>{t?Object.defineProperty(e.navigator,"clipboard",t):Object.defineProperty(e.navigator,"clipboard",{value:void 0,configurable:!0})}};return r=yl(e,n),Object.defineProperty(e.navigator,"clipboard",{get:()=>r,configurable:!0}),r[vt]}function Wb(e){La(e.navigator.clipboard)&&e.navigator.clipboard[vt].resetClipboardStub()}function zb(e){La(e.navigator.clipboard)&&e.navigator.clipboard[vt].detachClipboardStub()}async function wl(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=bt(t);for(let i of n)for(let a of i.types)o.setData(a,await i.getType(a).then(s=>Oa(s,t.FileReader)));return o}async function Lr(e,t){let r=W(e),n=r.navigator.clipboard,o=[];for(let a=0;a<t.items.length;a++){let s=t.items[a],l=await vl(r,s);o.push(gl(r,l))}if(!(n&&await n.write(o).then(()=>!0,()=>!1)))throw new Error("The Clipboard API is unavailable.")}var Nr=globalThis;typeof Nr.afterEach=="function"&&Nr.afterEach(()=>{typeof globalThis.window<"u"&&Wb(globalThis.window)});typeof Nr.afterAll=="function"&&Nr.afterAll(()=>{typeof globalThis.window<"u"&&zb(globalThis.window)});var Br=["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(Br)}function _l(e){return new e.constructor(e.type,e)}function te(e){for(let r=e;r;r=r.parentElement)if(S(r,["button","input","select","textarea","optgroup","option"])){if(r.hasAttribute("disabled"))return!0}else if(S(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 Ne(e){let t=e.activeElement;if(t?.shadowRoot){let r=Ne(t.shadowRoot);if(r)return r}else if(t&&S(t,"iframe")){let r=t.contentDocument;if(r)return Ne(r)}return te(t)?e.ownerDocument?e.ownerDocument.body:e.body:t}function yt(e){var t;return(t=Ne(e))!==null&&t!==void 0?t:e.body}function Cl(e,t){let r=e;do{if(t(r))return r;r=r.parentElement}while(r&&r!==e.ownerDocument.body)}function ue(e){return e.hasAttribute("contenteditable")&&(e.getAttribute("contenteditable")=="true"||e.getAttribute("contenteditable")=="")}function Le(e){let t=Gb(e);return t&&(t.closest('[contenteditable=""]')||t.closest('[contenteditable="true"]'))}function Gb(e){return e.nodeType===1?e:e.parentElement}var Pl=(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})(Pl||{});function Dr(e){return S(e,"button")||S(e,"input")&&e.type in Pl}function ve(e){return Ba(e)&&!e.readOnly||ue(e)}var Tl=(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})(Tl||{});function Ba(e){return S(e,"textarea")||S(e,"input")&&e.type in Tl}function X(e){return Sl(e)&&Ba(e)}function Rl(e){return Sl(e)&&Dr(e)}function Sl(e){return e.nodeType===1}function xl(e){let t=e.ownerDocument.getSelection();if(t?.focusNode&&X(e)){let n=Le(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 Fr(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 ra=Sa(Uu());var xy=Object.prototype.toString;function ju(e){return typeof e=="function"||xy.call(e)==="[object Function]"}function qy(e){var t=Number(e);return isNaN(t)?0:t===0||!isFinite(t)?t:(t>0?1:-1)*Math.floor(Math.abs(t))}var Ay=Math.pow(2,53)-1;function My(e){var t=qy(e);return Math.min(Math.max(t,0),Ay)}function ce(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"&&!ju(t))throw new TypeError("Array.from: when provided, the second argument must be a function");for(var o=My(n.length),i=ju(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 tr(e){"@babel/helpers - typeof";return tr=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},tr(e)}function ky(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $u(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,Hu(n.key),n)}}function Oy(e,t,r){return t&&$u(e.prototype,t),r&&$u(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function Iy(e,t,r){return t=Hu(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Hu(e){var t=Ny(e,"string");return tr(t)==="symbol"?t:String(t)}function Ny(e,t){if(tr(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(tr(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var Ly=(function(){function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];ky(this,e),Iy(this,"items",void 0),this.items=t}return Oy(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})(),Vu=typeof Set>"u"?Set:Ly;function Q(e){var t;return(t=e.localName)!==null&&t!==void 0?t:e.tagName.toLowerCase()}var By={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"},Dy={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 Fy(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=Dy[t])!==null&&n!==void 0&&n.has(r))})}function Wu(e,t){return Fy(e,t)}function Qr(e){var t=jy(e);if(t===null||t==="presentation"){var r=Uy(e);if(t!=="presentation"||Wu(e,r||""))return r}return t}function Uy(e){var t=By[Q(e)];if(t!==void 0)return t;switch(Q(e)){case"a":case"area":case"link":if(e.hasAttribute("href"))return"link";break;case"img":return e.getAttribute("alt")===""&&!Wu(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 jy(e){var t=e.getAttribute("role");if(t!==null){var r=t.trim().split(" ")[0];if(r.length>0)return r}return null}function $(e){return e!==null&&e.nodeType===e.ELEMENT_NODE}function Ga(e){return $(e)&&Q(e)==="caption"}function rr(e){return $(e)&&Q(e)==="input"}function zu(e){return $(e)&&Q(e)==="optgroup"}function Gu(e){return $(e)&&Q(e)==="select"}function Ku(e){return $(e)&&Q(e)==="table"}function Xu(e){return $(e)&&Q(e)==="textarea"}function Qu(e){var t=e.ownerDocument===null?e:e.ownerDocument,r=t.defaultView;if(r===null)throw new TypeError("no window available");return r}function Ju(e){return $(e)&&Q(e)==="fieldset"}function Yu(e){return $(e)&&Q(e)==="legend"}function Zu(e){return $(e)&&Q(e)==="slot"}function $y(e){return $(e)&&e.ownerSVGElement!==void 0}function ec(e){return $(e)&&Q(e)==="svg"}function tc(e){return $y(e)&&Q(e)==="title"}function wt(e,t){if($(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 $(e)?t.indexOf(Qr(e))!==-1:!1}function Hy(e){return e.trim().replace(/\s\s+/g," ")}function Vy(e,t){if(!$(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 Wy(e){return ge(e,["button","combobox","listbox","textbox"])||oc(e,"range")}function oc(e,t){if(!$(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 rc(e,t){var r=ce(e.querySelectorAll(t));return wt(e,"aria-owns").forEach(function(n){r.push.apply(r,ce(n.querySelectorAll(t)))}),r}function zy(e){return Gu(e)?e.selectedOptions||rc(e,"[selected]"):rc(e,'[aria-selected="true"]')}function Gy(e){return ge(e,["none","presentation"])}function Ky(e){return Ga(e)}function Xy(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 Qy(e){return!1}function Jy(e){return rr(e)||Xu(e)?e.value:e.textContent||""}function nc(e){var t=e.getPropertyValue("content");return/^["'].*["']$/.test(t)?t.slice(1,-1):""}function ic(e){var t=Q(e);return t==="button"||t==="input"&&e.getAttribute("type")!=="hidden"||t==="meter"||t==="output"||t==="progress"||t==="select"||t==="textarea"}function ac(e){if(ic(e))return e;var t=null;return e.childNodes.forEach(function(r){if(t===null&&$(r)){var n=ac(r);n!==null&&(t=n)}}),t}function Yy(e){if(e.control!==void 0)return e.control;var t=e.getAttribute("for");return t!==null?e.ownerDocument.getElementById(t):ac(e)}function Zy(e){var t=e.labels;if(t===null)return t;if(t!==void 0)return ce(t);if(!ic(e))return null;var r=e.ownerDocument;return ce(r.querySelectorAll("label")).filter(function(n){return Yy(n)===e})}function eh(e){var t=e.assignedNodes();return t.length===0?ce(e.childNodes):t}function Jr(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=new Vu,n=Qu(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,h){var E="";if($(f)&&s){var y=u(f,"::before"),g=nc(y);E="".concat(g," ").concat(E)}var x=Zu(f)?eh(f):ce(f.childNodes).concat(wt(f,"aria-owns"));if(x.forEach(function(F){var z=T(F,{isEmbeddedInLabel:h.isEmbeddedInLabel,isReferenced:!1,recursion:!0}),K=$(F)?u(F).getPropertyValue("display"):"inline",_=K!=="inline"?" ":"";E+="".concat(_).concat(z).concat(_)}),$(f)&&s){var R=u(f,"::after"),H=nc(R);E="".concat(E," ").concat(H)}return E.trim()}function v(f,h){var E=f.getAttributeNode(h);return E!==null&&!r.has(E)&&E.value.trim()!==""?(r.add(E),E.value):null}function P(f){return $(f)?v(f,"title"):null}function C(f){if(!$(f))return null;if(Ju(f)){r.add(f);for(var h=ce(f.childNodes),E=0;E<h.length;E+=1){var y=h[E];if(Yu(y))return T(y,{isEmbeddedInLabel:!1,isReferenced:!1,recursion:!1})}}else if(Ku(f)){r.add(f);for(var g=ce(f.childNodes),x=0;x<g.length;x+=1){var R=g[x];if(Ga(R))return T(R,{isEmbeddedInLabel:!1,isReferenced:!1,recursion:!1})}}else if(ec(f)){r.add(f);for(var H=ce(f.childNodes),F=0;F<H.length;F+=1){var z=H[F];if(tc(z))return z.textContent}return null}else if(Q(f)==="img"||Q(f)==="area"){var K=v(f,"alt");if(K!==null)return K}else if(zu(f)){var _=v(f,"label");if(_!==null)return _}if(rr(f)&&(f.type==="button"||f.type==="submit"||f.type==="reset")){var B=v(f,"value");if(B!==null)return B;if(f.type==="submit")return"Submit";if(f.type==="reset")return"Reset"}var Z=Zy(f);if(Z!==null&&Z.length!==0)return r.add(f),ce(Z).map(function(j){return T(j,{isEmbeddedInLabel:!0,isReferenced:!1,recursion:!0})}).filter(function(j){return j.length>0}).join(" ");if(rr(f)&&f.type==="image"){var b=v(f,"alt");if(b!==null)return b;var q=v(f,"title");return q!==null?q:"Submit Query"}if(ge(f,["button"])){var M=m(f,{isEmbeddedInLabel:!1,isReferenced:!1});if(M!=="")return M}return null}function T(f,h){if(r.has(f))return"";if(!d&&Vy(f,u)&&!h.isReferenced)return r.add(f),"";var E=$(f)?f.getAttributeNode("aria-labelledby"):null,y=E!==null&&!r.has(E)?wt(f,"aria-labelledby"):[];if(i==="name"&&!h.isReferenced&&y.length>0)return r.add(E),y.map(function(K){return T(K,{isEmbeddedInLabel:h.isEmbeddedInLabel,isReferenced:!0,recursion:!1})}).join(" ");var g=h.recursion&&Wy(f)&&i==="name";if(!g){var x=($(f)&&f.getAttribute("aria-label")||"").trim();if(x!==""&&i==="name")return r.add(f),x;if(!Gy(f)){var R=C(f);if(R!==null)return r.add(f),R}}if(ge(f,["menu"]))return r.add(f),"";if(g||h.isEmbeddedInLabel||h.isReferenced){if(ge(f,["combobox","listbox"])){r.add(f);var H=zy(f);return H.length===0?rr(f)?f.value:"":ce(H).map(function(K){return T(K,{isEmbeddedInLabel:h.isEmbeddedInLabel,isReferenced:!1,recursion:!0})}).join(" ")}if(oc(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),Jy(f)}if(Xy(f)||$(f)&&h.isReferenced||Ky(f)||Qy(f)){var F=m(f,{isEmbeddedInLabel:h.isEmbeddedInLabel,isReferenced:!1});if(F!=="")return r.add(f),F}if(f.nodeType===f.TEXT_NODE)return r.add(f),f.textContent||"";if(h.recursion)return r.add(f),m(f,{isEmbeddedInLabel:h.isEmbeddedInLabel,isReferenced:!1});var z=P(f);return z!==null?(r.add(f),z):(r.add(f),"")}return Hy(T(e,{isEmbeddedInLabel:!1,isReferenced:i==="description",recursion:!1}))}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 sc(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function lc(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?sc(Object(r),!0).forEach(function(n){th(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):sc(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function th(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=nh(e,"string");return nr(t)==="symbol"?t:String(t)}function nh(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)}function Yr(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=wt(e,"aria-describedby").map(function(o){return Jr(o,lc(lc({},t),{},{compute:"description"}))}).join(" ");if(r===""){var n=e.getAttribute("title");r=n===null?"":n}return r}function oh(e){return ge(e,["caption","code","deletion","emphasis","generic","insertion","paragraph","presentation","strong","subscript","superscript"])}function or(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return oh(e)?"":Jr(e,t)}var oe=Sa(mf()),_f=Sa(bf());function Cf(e){return e.replace(/</g,"&lt;").replace(/>/g,"&gt;")}var HR=(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("")},VR=3,WR=(e,t,r,n,o,i)=>e.map(a=>{let s=typeof a=="string"?Pf(a,t):i(a,t,r,n,o);return s===""&&typeof a=="object"&&a!==null&&a.nodeType!==VR?"":t.spacingOuter+r+s}).join(""),Pf=(e,t)=>{let r=t.colors.content;return r.open+Cf(e)+r.close},zR=(e,t)=>{let r=t.colors.comment;return r.open+"<!--"+Cf(e)+"-->"+r.close},GR=(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},KR=(e,t)=>{let r=t.colors.tag;return r.open+"<"+e+r.close+" \u2026"+r.open+" />"+r.close},XR=1,Tf=3,Rf=8,Sf=11,QR=/^((HTML|SVG)\w*)?Element$/,xf=e=>{let t=e.tagName;return!!(typeof t=="string"&&t.includes("-")||typeof e.hasAttribute=="function"&&e.hasAttribute("is"))},JR=e=>{let t=e.constructor.name,r=e.nodeType;return r===XR&&(QR.test(t)||xf(e))||r===Tf&&t==="Text"||r===Rf&&t==="Comment"||r===Sf&&t==="DocumentFragment"};function YR(e){return e.nodeType===Tf}function ZR(e){return e.nodeType===Rf}function bs(e){return e.nodeType===Sf}function e0(e){return{test:t=>{var r;return((t==null||(r=t.constructor)==null?void 0:r.name)||xf(t))&&JR(t)},serialize:(t,r,n,o,i,a)=>{if(YR(t))return Pf(t.data,r);if(ZR(t))return zR(t.data,r);let s=bs(t)?"DocumentFragment":t.tagName.toLowerCase();return++o>r.maxDepth?KR(s,r):GR(s,HR(bs(t)?[]:Array.from(t.attributes).map(l=>l.name).sort(),bs(t)?{}:Array.from(t.attributes).reduce((l,u)=>(l[u.name]=u.value,l),{}),r,n+r.indent,o,i,a),WR(Array.prototype.slice.call(t.childNodes||t.children).filter(e),r,n+r.indent,o,i,a),r,n)}}}var qf=null,xs=null,qs=null;try{let e=module&&module.require;xs=e.call(module,"fs").readFileSync,qs=e.call(module,"@babel/code-frame").codeFrameColumns,qf=e.call(module,"picocolors")}catch{}function t0(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=xs(a,"utf-8")}catch{return""}let c=qs(u,{start:{line:s,column:l}},{highlightCode:!0,linesBelow:0});return qf.dim(n)+`
17
17
  `+c+`
18
- `}function t0(){if(!xs||!qs)return"";let t=new Error().stack.split(`
19
- `).slice(1).find(r=>!r.includes("node_modules/"));return e0(t)}var qf=3;function vs(){return typeof jest<"u"&&jest!==null?setTimeout._isMockFunction===!0||Object.prototype.hasOwnProperty.call(setTimeout,"clock"):!1}function As(){if(typeof window>"u")throw new Error("Could not find default container");return window.document}function Af(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 xe(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 r0=["filterNode"],n0=()=>{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},o0=ra.plugins.DOMCollection,i0=1,a0=8;function s0(e){return e.nodeType!==a0&&(e.nodeType!==i0||!e.matches(I().defaultIgnore))}function Ji(e,t,r){if(r===void 0&&(r={}),e||(e=As().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?s0:i,s=Fr(o,r0),l=ra.format(e,{plugins:[ZR(a),o0],printFunctionName:!1,highlight:n0(),...s});return t!==void 0&&e.outerHTML.length>t?l.slice(0,t)+"...":l}var bf=function(){let e=t0();console.log(e?Ji(...arguments)+`
18
+ `}function r0(){if(!xs||!qs)return"";let t=new Error().stack.split(`
19
+ `).slice(1).find(r=>!r.includes("node_modules/"));return t0(t)}var Af=3;function vs(){return typeof jest<"u"&&jest!==null?setTimeout._isMockFunction===!0||Object.prototype.hasOwnProperty.call(setTimeout,"clock"):!1}function As(){if(typeof window>"u")throw new Error("Could not find default container");return window.document}function Mf(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 xe(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 n0=["filterNode"],o0=()=>{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},i0=ra.plugins.DOMCollection,a0=1,s0=8;function l0(e){return e.nodeType!==s0&&(e.nodeType!==a0||!e.matches(I().defaultIgnore))}function Ji(e,t,r){if(r===void 0&&(r={}),e||(e=As().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?l0:i,s=Fr(o,n0),l=ra.format(e,{plugins:[e0(a),i0],printFunctionName:!1,highlight:o0(),...s});return t!==void 0&&e.outerHTML.length>t?l.slice(0,t)+"...":l}var vf=function(){let e=r0();console.log(e?Ji(...arguments)+`
20
20
 
21
21
  `+e:Ji(...arguments))},Yi={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=Ji(t),n=new Error([e,"Ignored nodes: comments, "+Yi.defaultIgnore+`
22
22
  `+r].filter(Boolean).join(`
23
23
 
24
- `));return n.name="TestingLibraryElementError",n},_disableExpensiveErrorDiagnostics:!1,computedStyleSupportsPseudoElements:!1};function l0(e){try{return Yi._disableExpensiveErrorDiagnostics=!0,e()}finally{Yi._disableExpensiveErrorDiagnostics=!1}}function I(){return Yi}var u0=["button","meter","output","progress","select","textarea","input"];function Mf(e){return u0.includes(e.nodeName.toLowerCase())?"":e.nodeType===qf?e.textContent:Array.from(e.childNodes).map(t=>Mf(t)).join("")}function hs(e){let t;return e.tagName.toLowerCase()==="label"?t=Mf(e):t=e.value||e.textContent,t}function Of(e){if(e.labels!==void 0){var t;return(t=e.labels)!=null?t:[]}if(!c0(e))return[];let r=e.ownerDocument.querySelectorAll("label");return Array.from(r).filter(n=>n.control===e)}function c0(e){return/BUTTON|METER|OUTPUT|PROGRESS|SELECT|TEXTAREA/.test(e.tagName)||e.tagName==="INPUT"&&e.getAttribute("type")!=="hidden"}function kf(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:hs(u),formControl:null}:{content:"",formControl:null}}):Array.from(Of(t)).map(l=>{let u=hs(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 If(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 Rt(e,t,r,n){if(typeof e!="string")return!1;If(r);let o=n(e);return typeof r=="string"||typeof r=="number"?o.toLowerCase().includes(r.toString().toLowerCase()):typeof r=="function"?r(o,t):Lf(r,o)}function Se(e,t,r,n){if(typeof e!="string")return!1;If(r);let o=n(e);return r instanceof Function?r(o,t):r instanceof RegExp?Lf(r,o):o===String(r)}function Nf(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 nt(e){let t=e.trim,r=e.collapseWhitespace,n=e.normalizer;if(!n)return Nf({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 Lf(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 na(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 d0=p0(oe.elementRoles);function Bf(e){return e.hidden===!0||e.getAttribute("aria-hidden")==="true"||e.ownerDocument.defaultView.getComputedStyle(e).display==="none"}function Ms(e,t){t===void 0&&(t={});let r=t,n=r.isSubtreeInaccessible,o=n===void 0?Bf: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 Os(e){for(let t of d0){let r=t.match,n=t.roles;if(r(e))return[...n]}return[]}function p0(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,v=m===void 0?[]:m,P=v.indexOf("undefined")!==-1,C=v.indexOf("set")!==-1;return typeof d<"u"?"["+c+'="'+d+'"]':P?":not(["+c+"])":C?"["+c+"]:not(["+c+'=""])':"["+c+"]"}).join("")}function r(a){let s=a.attributes;return(s===void 0?[]:s).length}function n(a,s){let l=a.specificity;return s.specificity-l}function o(a){let s=a.attributes,l=s===void 0?[]:s,u=l.findIndex(d=>d.value&&d.name==="type"&&d.value==="text");u>=0&&(l=[...l.slice(0,u),...l.slice(u+1)]);let c=t({...a,attributes:l});return d=>u>=0&&d.type!=="text"?!1:d.matches(c)}let i=[];for(let a of e.entries()){let s=a[0],l=a[1];i=[...i,{match:o(s),roles:Array.from(l),specificity:r(s)}]}return i.sort(n)}function f0(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?Ms(a)===!1:!0).reduce((a,s)=>{let l=[];return s.hasAttribute("role")?l=s.getAttribute("role").split(" ").slice(0,1):l=Os(s),l.reduce((u,c)=>Array.isArray(u[c])?{...u,[c]:[...u[c],s]}:{...u,[c]:[s]},a)},{})}function m0(e,t){let r=t.hidden,n=t.includeDescription,o=f0(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 "'+or(c,{computedStyleSupportsPseudoElements:I().computedStyleSupportsPseudoElements})+`":
24
+ `));return n.name="TestingLibraryElementError",n},_disableExpensiveErrorDiagnostics:!1,computedStyleSupportsPseudoElements:!1};function u0(e){try{return Yi._disableExpensiveErrorDiagnostics=!0,e()}finally{Yi._disableExpensiveErrorDiagnostics=!1}}function I(){return Yi}var c0=["button","meter","output","progress","select","textarea","input"];function kf(e){return c0.includes(e.nodeName.toLowerCase())?"":e.nodeType===Af?e.textContent:Array.from(e.childNodes).map(t=>kf(t)).join("")}function hs(e){let t;return e.tagName.toLowerCase()==="label"?t=kf(e):t=e.value||e.textContent,t}function Of(e){if(e.labels!==void 0){var t;return(t=e.labels)!=null?t:[]}if(!d0(e))return[];let r=e.ownerDocument.querySelectorAll("label");return Array.from(r).filter(n=>n.control===e)}function d0(e){return/BUTTON|METER|OUTPUT|PROGRESS|SELECT|TEXTAREA/.test(e.tagName)||e.tagName==="INPUT"&&e.getAttribute("type")!=="hidden"}function If(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:hs(u),formControl:null}:{content:"",formControl:null}}):Array.from(Of(t)).map(l=>{let u=hs(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 Nf(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 Rt(e,t,r,n){if(typeof e!="string")return!1;Nf(r);let o=n(e);return typeof r=="string"||typeof r=="number"?o.toLowerCase().includes(r.toString().toLowerCase()):typeof r=="function"?r(o,t):Bf(r,o)}function Se(e,t,r,n){if(typeof e!="string")return!1;Nf(r);let o=n(e);return r instanceof Function?r(o,t):r instanceof RegExp?Bf(r,o):o===String(r)}function Lf(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 nt(e){let t=e.trim,r=e.collapseWhitespace,n=e.normalizer;if(!n)return Lf({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 Bf(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 na(e){return e.matches("input[type=submit], input[type=button], input[type=reset]")?e.value:Array.from(e.childNodes).filter(t=>t.nodeType===Af&&!!t.textContent).map(t=>t.textContent).join("")}var p0=f0(oe.elementRoles);function Df(e){return e.hidden===!0||e.getAttribute("aria-hidden")==="true"||e.ownerDocument.defaultView.getComputedStyle(e).display==="none"}function Ms(e,t){t===void 0&&(t={});let r=t,n=r.isSubtreeInaccessible,o=n===void 0?Df: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 ks(e){for(let t of p0){let r=t.match,n=t.roles;if(r(e))return[...n]}return[]}function f0(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,v=m===void 0?[]:m,P=v.indexOf("undefined")!==-1,C=v.indexOf("set")!==-1;return typeof d<"u"?"["+c+'="'+d+'"]':P?":not(["+c+"])":C?"["+c+"]:not(["+c+'=""])':"["+c+"]"}).join("")}function r(a){let s=a.attributes;return(s===void 0?[]:s).length}function n(a,s){let l=a.specificity;return s.specificity-l}function o(a){let s=a.attributes,l=s===void 0?[]:s,u=l.findIndex(d=>d.value&&d.name==="type"&&d.value==="text");u>=0&&(l=[...l.slice(0,u),...l.slice(u+1)]);let c=t({...a,attributes:l});return d=>u>=0&&d.type!=="text"?!1:d.matches(c)}let i=[];for(let a of e.entries()){let s=a[0],l=a[1];i=[...i,{match:o(s),roles:Array.from(l),specificity:r(s)}]}return i.sort(n)}function m0(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?Ms(a)===!1:!0).reduce((a,s)=>{let l=[];return s.hasAttribute("role")?l=s.getAttribute("role").split(" ").slice(0,1):l=ks(s),l.reduce((u,c)=>Array.isArray(u[c])?{...u,[c]:[...u[c],s]}:{...u,[c]:[s]},a)},{})}function b0(e,t){let r=t.hidden,n=t.includeDescription,o=m0(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 "'+or(c,{computedStyleSupportsPseudoElements:I().computedStyleSupportsPseudoElements})+`":
25
25
  `,m=Ji(c.cloneNode(!1));if(n){let v='Description "'+Yr(c,{computedStyleSupportsPseudoElements:I().computedStyleSupportsPseudoElements})+`":
26
26
  `;return""+d+v+m}return""+d+m}).join(`
27
27
 
@@ -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 b0(e){return e.tagName==="OPTION"?e.selected:ur(e,"aria-selected")}function v0(e){return e.getAttribute("aria-busy")==="true"}function y0(e){if(!("indeterminate"in e&&e.indeterminate))return"checked"in e?e.checked:ur(e,"aria-checked")}function h0(e){return ur(e,"aria-pressed")}function g0(e){var t,r;return(t=(r=ur(e,"aria-current"))!=null?r:e.getAttribute("aria-current"))!=null?t:!1}function E0(e){return ur(e,"aria-expanded")}function ur(e,t){let r=e.getAttribute(t);if(r==="true")return!0;if(r==="false")return!1}function w0(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 _0(e){let t=e.getAttribute("aria-valuenow");return t===null?void 0:+t}function C0(e){let t=e.getAttribute("aria-valuemax");return t===null?void 0:+t}function P0(e){let t=e.getAttribute("aria-valuemin");return t===null?void 0:+t}function T0(e){let t=e.getAttribute("aria-valuetext");return t===null?void 0:t}var vf=Nf();function R0(e){return e.replace(/[.*+\-?^${}()|[\]\\]/g,"\\$&")}function yf(e){return new RegExp(R0(e.toLowerCase()),"i")}function Ke(e,t,r,n){let o=n.variant,i=n.name,a="",s={},l=[["Role","TestId"].includes(e)?r:yf(r)];i&&(s.name=yf(i)),e==="Role"&&Ms(t)&&(s.hidden=!0,a=`Element is inaccessible. This means that the element and all its children are invisible to screen readers.
33
+ `)}function v0(e){return e.tagName==="OPTION"?e.selected:ur(e,"aria-selected")}function y0(e){return e.getAttribute("aria-busy")==="true"}function h0(e){if(!("indeterminate"in e&&e.indeterminate))return"checked"in e?e.checked:ur(e,"aria-checked")}function g0(e){return ur(e,"aria-pressed")}function E0(e){var t,r;return(t=(r=ur(e,"aria-current"))!=null?r:e.getAttribute("aria-current"))!=null?t:!1}function w0(e){return ur(e,"aria-expanded")}function ur(e,t){let r=e.getAttribute(t);if(r==="true")return!0;if(r==="false")return!1}function _0(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 C0(e){let t=e.getAttribute("aria-valuenow");return t===null?void 0:+t}function P0(e){let t=e.getAttribute("aria-valuemax");return t===null?void 0:+t}function T0(e){let t=e.getAttribute("aria-valuemin");return t===null?void 0:+t}function R0(e){let t=e.getAttribute("aria-valuetext");return t===null?void 0:t}var yf=Lf();function S0(e){return e.replace(/[.*+\-?^${}()|[\]\\]/g,"\\$&")}function hf(e){return new RegExp(S0(e.toLowerCase()),"i")}function Ke(e,t,r,n){let o=n.variant,i=n.name,a="",s={},l=[["Role","TestId"].includes(e)?r:hf(r)];i&&(s.name=hf(i)),e==="Role"&&Ms(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 v=m[0],P=m[1];return v+": "+P}).join(", ")+" }":"",u+"("+c+d+")"}}}function Xe(e,t,r){return r&&(!t||t.toLowerCase()===e.toLowerCase())}function gs(e,t,r){var n,o;if(t===void 0&&(t="get"),e.matches(I().defaultIgnore))return;let i=(n=e.getAttribute("role"))!=null?n:(o=Os(e))==null?void 0:o[0];if(i!=="generic"&&Xe("Role",r,i))return Ke("Role",e,i,{variant:t,name:or(e,{computedStyleSupportsPseudoElements:I().computedStyleSupportsPseudoElements})});let a=kf(document,e).map(m=>m.content).join(" ");if(Xe("LabelText",r,a))return Ke("LabelText",e,a,{variant:t});let s=e.getAttribute("placeholder");if(Xe("PlaceholderText",r,s))return Ke("PlaceholderText",e,s,{variant:t});let l=vf(na(e));if(Xe("Text",r,l))return Ke("Text",e,l,{variant:t});if(Xe("DisplayValue",r,e.value))return Ke("DisplayValue",e,vf(e.value),{variant:t});let u=e.getAttribute("alt");if(Xe("AltText",r,u))return Ke("AltText",e,u,{variant:t});let c=e.getAttribute("title");if(Xe("Title",r,c))return Ke("Title",e,c,{variant:t});let d=e.getAttribute(I().testIdAttribute);if(Xe("TestId",r,d))return Ke("TestId",e,d,{variant:t})}function Qi(e,t){e.stack=t.stack.replace(t.message,e.message)}function S0(e,t){let r=t.container,n=r===void 0?As():r,o=t.timeout,i=o===void 0?I().asyncUtilTimeout:o,a=t.showOriginalStackTrace,s=a===void 0?I().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:I().getElementError(C.message,n).message}),C):d,v=t.mutationObserverOptions,P=v===void 0?{subtree:!0,childList:!0,attributes:!0,characterData:!0}:v;if(typeof e!="function")throw new TypeError("Received `callback` arg must be a function");return new Promise(async(C,T)=>{let f,h,w,y=!1,g="idle",x=setTimeout(K,i),R=vs();if(R){let _=I(),B=_.unstable_advanceTimersWrapper;for(z();!y;){if(!vs()){let Z=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||Qi(Z,l),T(Z);return}if(await B(async()=>{jest.advanceTimersByTime(c)}),y)break;z()}}else{try{xe(n)}catch(Z){T(Z);return}h=setInterval(F,c);let _=Af(n),B=_.MutationObserver;w=new B(F),w.observe(n,P),z()}function H(_,B){y=!0,clearTimeout(x),R||(clearInterval(h),w.disconnect()),_?T(_):C(B)}function F(){if(vs()){let _=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||Qi(_,l),T(_)}else return z()}function z(){if(g!=="pending")try{let _=l0(e);typeof _?.then=="function"?(g="pending",_.then(B=>{g="resolved",H(null,B)},B=>{g="rejected",f=B})):H(null,_)}catch(_){f=_}}function K(){let _;f?(_=f,!s&&_.name==="TestingLibraryElementError"&&Qi(_,l)):(_=new Error("Timed out in waitFor."),s||Qi(_,l)),H(m(_),null)}})}function x0(e,t){let r=new Error("STACK_TRACE_MESSAGE");return I().asyncWrapper(()=>S0(e,{stackTraceError:r,...t}))}function Df(e,t){return I().getElementError(e,t)}function q0(e,t){return Df(e+"\n\n(If this is intentional, then use the `*AllBy*` variant of the query (like `queryAllByText`, `getAllByText`, or `findAllByText`)).",t)}function oa(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?Se:Rt,d=nt({collapseWhitespace:s,trim:l,normalizer:u});return Array.from(t.querySelectorAll("["+e+"]")).filter(m=>c(m.getAttribute(e),m,r,d))}function Zi(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=>Df(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 v=m[0],P=m[1];return v+": "+P}).join(", ")+" }":"",u+"("+c+d+")"}}}function Xe(e,t,r){return r&&(!t||t.toLowerCase()===e.toLowerCase())}function gs(e,t,r){var n,o;if(t===void 0&&(t="get"),e.matches(I().defaultIgnore))return;let i=(n=e.getAttribute("role"))!=null?n:(o=ks(e))==null?void 0:o[0];if(i!=="generic"&&Xe("Role",r,i))return Ke("Role",e,i,{variant:t,name:or(e,{computedStyleSupportsPseudoElements:I().computedStyleSupportsPseudoElements})});let a=If(document,e).map(m=>m.content).join(" ");if(Xe("LabelText",r,a))return Ke("LabelText",e,a,{variant:t});let s=e.getAttribute("placeholder");if(Xe("PlaceholderText",r,s))return Ke("PlaceholderText",e,s,{variant:t});let l=yf(na(e));if(Xe("Text",r,l))return Ke("Text",e,l,{variant:t});if(Xe("DisplayValue",r,e.value))return Ke("DisplayValue",e,yf(e.value),{variant:t});let u=e.getAttribute("alt");if(Xe("AltText",r,u))return Ke("AltText",e,u,{variant:t});let c=e.getAttribute("title");if(Xe("Title",r,c))return Ke("Title",e,c,{variant:t});let d=e.getAttribute(I().testIdAttribute);if(Xe("TestId",r,d))return Ke("TestId",e,d,{variant:t})}function Qi(e,t){e.stack=t.stack.replace(t.message,e.message)}function x0(e,t){let r=t.container,n=r===void 0?As():r,o=t.timeout,i=o===void 0?I().asyncUtilTimeout:o,a=t.showOriginalStackTrace,s=a===void 0?I().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:I().getElementError(C.message,n).message}),C):d,v=t.mutationObserverOptions,P=v===void 0?{subtree:!0,childList:!0,attributes:!0,characterData:!0}:v;if(typeof e!="function")throw new TypeError("Received `callback` arg must be a function");return new Promise(async(C,T)=>{let f,h,E,y=!1,g="idle",x=setTimeout(K,i),R=vs();if(R){let _=I(),B=_.unstable_advanceTimersWrapper;for(z();!y;){if(!vs()){let Z=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||Qi(Z,l),T(Z);return}if(await B(async()=>{jest.advanceTimersByTime(c)}),y)break;z()}}else{try{xe(n)}catch(Z){T(Z);return}h=setInterval(F,c);let _=Mf(n),B=_.MutationObserver;E=new B(F),E.observe(n,P),z()}function H(_,B){y=!0,clearTimeout(x),R||(clearInterval(h),E.disconnect()),_?T(_):C(B)}function F(){if(vs()){let _=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||Qi(_,l),T(_)}else return z()}function z(){if(g!=="pending")try{let _=u0(e);typeof _?.then=="function"?(g="pending",_.then(B=>{g="resolved",H(null,B)},B=>{g="rejected",f=B})):H(null,_)}catch(_){f=_}}function K(){let _;f?(_=f,!s&&_.name==="TestingLibraryElementError"&&Qi(_,l)):(_=new Error("Timed out in waitFor."),s||Qi(_,l)),H(m(_),null)}})}function q0(e,t){let r=new Error("STACK_TRACE_MESSAGE");return I().asyncWrapper(()=>x0(e,{stackTraceError:r,...t}))}function Ff(e,t){return I().getElementError(e,t)}function A0(e,t){return Ff(e+"\n\n(If this is intentional, then use the `*AllBy*` variant of the query (like `queryAllByText`, `getAllByText`, or `findAllByText`)).",t)}function oa(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?Se:Rt,d=nt({collapseWhitespace:s,trim:l,normalizer:u});return Array.from(t.querySelectorAll("["+e+"]")).filter(m=>c(m.getAttribute(e),m,r,d))}function Zi(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=>Ff(null,l).message).join(`
36
36
 
37
- `);throw q0(t(r,...o)+`
37
+ `);throw A0(t(r,...o)+`
38
38
 
39
39
  Here are the matching elements:
40
40
 
41
- `+s,r)}return a[0]||null}}function Ff(e,t){return I().getElementError(`A better query is available, try this:
41
+ `+s,r)}return a[0]||null}}function Uf(e,t){return I().getElementError(`A better query is available, try this:
42
42
  `+e.toString()+`
43
- `,t)}function A0(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 I().getElementError(t(r,...o),r);return a}}function ea(e){return(t,r,n,o)=>x0(()=>e(t,r,n),{container:t,...o})}var Tt=(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?I().throwSuggestions:d;if(s&&m){let v=gs(s,r);if(v&&!t.endsWith(v.queryName))throw Ff(v.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?I().throwSuggestions:d;if(s.length&&m){let v=[...new Set(s.map(P=>{var C;return(C=gs(P,r))==null?void 0:C.toString()}))];if(v.length===1&&!t.endsWith(gs(s[0],r).queryName))throw Ff(v[0],n)}return s};function ot(e,t,r){let n=Tt(Zi(e,t),e.name,"query"),o=A0(e,r),i=Zi(o,t),a=Tt(i,e.name,"get"),s=be(o,e.name.replace("query","get"),"getAll"),l=ea(be(o,e.name,"findAll")),u=ea(Tt(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:hs(t)})).filter(t=>t.textToMatch!==null)}var O0=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?Se:Rt,c=nt({collapseWhitespace:s,trim:a,normalizer:l});return M0(e).filter(m=>{let v=m.node,P=m.textToMatch;return u(P,v,t,c)}).map(m=>m.node)},lr=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;xe(e);let d=s?Se:Rt,m=nt({collapseWhitespace:l,trim:u,normalizer:c}),v=Array.from(e.querySelectorAll("*")).filter(P=>Of(P).length||P.hasAttribute("aria-labelledby")).reduce((P,C)=>{let T=kf(e,C,{selector:i});T.filter(h=>!!h.formControl).forEach(h=>{d(h.content,h.formControl,t,m)&&h.formControl&&P.push(h.formControl)});let f=T.filter(h=>!!h.content).map(h=>h.content);return d(f.join(" "),C,t,m)&&P.push(C),f.length>1&&f.forEach((h,w)=>{d(h,C,t,m)&&P.push(C);let y=[...f];y.splice(w,1),y.length>1&&d(y.join(" "),C,t,m)&&P.push(C)}),P},[]).concat(oa("aria-label",e,t,{exact:s,normalizer:m}));return Array.from(new Set(v)).filter(P=>P.matches(i))},rt=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=lr(e,t,...n);if(!i.length){let a=O0(e,t,...n);if(a.length){let s=a.map(l=>k0(e,l)).filter(l=>!!l);throw s.length?I().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 M0(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 I().getElementError(t(r,...o),r);return a}}function ea(e){return(t,r,n,o)=>q0(()=>e(t,r,n),{container:t,...o})}var Tt=(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?I().throwSuggestions:d;if(s&&m){let v=gs(s,r);if(v&&!t.endsWith(v.queryName))throw Uf(v.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?I().throwSuggestions:d;if(s.length&&m){let v=[...new Set(s.map(P=>{var C;return(C=gs(P,r))==null?void 0:C.toString()}))];if(v.length===1&&!t.endsWith(gs(s[0],r).queryName))throw Uf(v[0],n)}return s};function ot(e,t,r){let n=Tt(Zi(e,t),e.name,"query"),o=M0(e,r),i=Zi(o,t),a=Tt(i,e.name,"get"),s=be(o,e.name.replace("query","get"),"getAll"),l=ea(be(o,e.name,"findAll")),u=ea(Tt(i,e.name,"find"));return[n,s,a,l,u]}function k0(e){return Array.from(e.querySelectorAll("label,input")).map(t=>({node:t,textToMatch:hs(t)})).filter(t=>t.textToMatch!==null)}var O0=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?Se:Rt,c=nt({collapseWhitespace:s,trim:a,normalizer:l});return k0(e).filter(m=>{let v=m.node,P=m.textToMatch;return u(P,v,t,c)}).map(m=>m.node)},lr=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;xe(e);let d=s?Se:Rt,m=nt({collapseWhitespace:l,trim:u,normalizer:c}),v=Array.from(e.querySelectorAll("*")).filter(P=>Of(P).length||P.hasAttribute("aria-labelledby")).reduce((P,C)=>{let T=If(e,C,{selector:i});T.filter(h=>!!h.formControl).forEach(h=>{d(h.content,h.formControl,t,m)&&h.formControl&&P.push(h.formControl)});let f=T.filter(h=>!!h.content).map(h=>h.content);return d(f.join(" "),C,t,m)&&P.push(C),f.length>1&&f.forEach((h,E)=>{d(h,C,t,m)&&P.push(C);let y=[...f];y.splice(E,1),y.length>1&&d(y.join(" "),C,t,m)&&P.push(C)}),P},[]).concat(oa("aria-label",e,t,{exact:s,normalizer:m}));return Array.from(new Set(v)).filter(P=>P.matches(i))},rt=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=lr(e,t,...n);if(!i.length){let a=O0(e,t,...n);if(a.length){let s=a.map(l=>I0(e,l)).filter(l=>!!l);throw s.length?I().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):I().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 I().getElementError("Unable to find a label with the text of: "+t,e)}return i};function k0(e,t){let r=t.getAttribute("for");if(!r)return null;let n=e.querySelector('[id="'+r+'"]');return n?n.tagName.toLowerCase():null}var Uf=(e,t)=>"Found multiple elements with the text of: "+t,I0=Tt(Zi(lr,Uf),lr.name,"query"),jf=Zi(rt,Uf),N0=ea(be(rt,rt.name,"findAll")),L0=ea(Tt(jf,rt.name,"find")),B0=be(rt,rt.name,"getAll"),D0=Tt(jf,rt.name,"get"),F0=be(lr,lr.name,"queryAll"),Es=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return xe(t[0]),oa("placeholder",...t)},U0=(e,t)=>"Found multiple elements with the placeholder text of: "+t,j0=(e,t)=>"Unable to find an element with the placeholder text of: "+t,$0=be(Es,Es.name,"queryAll"),cr=ot(Es,U0,j0),H0=cr[0],V0=cr[1],W0=cr[2],z0=cr[3],G0=cr[4],ws=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?I().defaultIgnore:c,m=n.normalizer;xe(e);let v=s?Se:Rt,P=nt({collapseWhitespace:l,trim:u,normalizer:m}),C=[];return typeof e.matches=="function"&&e.matches(i)&&(C=[e]),[...C,...Array.from(e.querySelectorAll(i))].filter(T=>!d||!T.matches(d)).filter(T=>v(na(T),T,t,P))},K0=(e,t)=>"Found multiple elements with the text: "+t,X0=function(e,t,r){r===void 0&&(r={});let n=r,o=n.collapseWhitespace,i=n.trim,a=n.normalizer,s=n.selector,u=nt({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."},Q0=be(ws,ws.name,"queryAll"),dr=ot(ws,K0,X0),J0=dr[0],Y0=dr[1],Z0=dr[2],eS=dr[3],tS=dr[4],_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;xe(e);let u=i?Se:Rt,c=nt({collapseWhitespace:a,trim:s,normalizer:l});return Array.from(e.querySelectorAll("input,textarea,select")).filter(d=>d.tagName==="SELECT"?Array.from(d.options).filter(v=>v.selected).some(v=>u(na(v),v,t,c)):u(d.value,d,t,c))},rS=(e,t)=>"Found multiple elements with the display value: "+t+".",nS=(e,t)=>"Unable to find an element with the display value: "+t+".",oS=be(_s,_s.name,"queryAll"),pr=ot(_s,rS,nS),iS=pr[0],aS=pr[1],sS=pr[2],lS=pr[3],uS=pr[4],cS=/^(img|input|area|.+-.+)$/i,Cs=function(e,t,r){return r===void 0&&(r={}),xe(e),oa("alt",e,t,r).filter(n=>cS.test(n.tagName))},dS=(e,t)=>"Found multiple elements with the alt text: "+t,pS=(e,t)=>"Unable to find an element with the alt text: "+t,fS=be(Cs,Cs.name,"queryAll"),fr=ot(Cs,dS,pS),mS=fr[0],bS=fr[1],vS=fr[2],yS=fr[3],hS=fr[4],gS=e=>{var t;return e.tagName.toLowerCase()==="title"&&((t=e.parentElement)==null?void 0:t.tagName.toLowerCase())==="svg"},Ps=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;xe(e);let u=i?Se:Rt,c=nt({collapseWhitespace:a,trim:s,normalizer:l});return Array.from(e.querySelectorAll("[title], svg > title")).filter(d=>u(d.getAttribute("title"),d,t,c)||gS(d)&&u(na(d),d,t,c))},ES=(e,t)=>"Found multiple elements with the title: "+t+".",wS=(e,t)=>"Unable to find an element with the title: "+t+".",_S=be(Ps,Ps.name,"queryAll"),mr=ot(Ps,ES,wS),CS=mr[0],PS=mr[1],TS=mr[2],RS=mr[3],SS=mr[4],Ts=function(e,t,r){let n=r===void 0?{}:r,o=n.hidden,i=o===void 0?I().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,v=n.pressed,P=n.current,C=n.level,T=n.expanded,f=n.value,h=f===void 0?{}:f,w=h.now,y=h.min,g=h.max,x=h.text;if(xe(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(v!==void 0){var z;if(((z=oe.roles.get(t))==null?void 0:z.props["aria-pressed"])===void 0)throw new Error('"aria-pressed" is not supported on role "'+t+'".')}if(P!==void 0){var K;if(((K=oe.roles.get(t))==null?void 0:K.props["aria-current"])===void 0)throw new Error('"aria-current" is not supported on role "'+t+'".')}if(C!==void 0&&t!=="heading")throw new Error('Role "'+t+'" cannot have "level" property.');if(w!==void 0){var _;if(((_=oe.roles.get(t))==null?void 0:_.props["aria-valuenow"])===void 0)throw new Error('"aria-valuenow" is not supported on role "'+t+'".')}if(g!==void 0){var B;if(((B=oe.roles.get(t))==null?void 0:B.props["aria-valuemax"])===void 0)throw new Error('"aria-valuemax" is not supported on role "'+t+'".')}if(y!==void 0){var Z;if(((Z=oe.roles.get(t))==null?void 0:Z.props["aria-valuemin"])===void 0)throw new Error('"aria-valuemin" is not supported on role "'+t+'".')}if(x!==void 0){var b;if(((b=oe.roles.get(t))==null?void 0:b.props["aria-valuetext"])===void 0)throw new Error('"aria-valuetext" is not supported on role "'+t+'".')}if(T!==void 0){var q;if(((q=oe.roles.get(t))==null?void 0:q.props["aria-expanded"])===void 0)throw new Error('"aria-expanded" is not supported on role "'+t+'".')}let M=new WeakMap;function j(N){return M.has(N)||M.set(N,Bf(N)),M.get(N)}return Array.from(e.querySelectorAll(xS(t))).filter(N=>{if(N.hasAttribute("role")){let mt=N.getAttribute("role");return u?mt.split(" ").filter(Boolean).some(Pb=>Pb===t):mt.split(" ")[0]===t}return Os(N).some(mt=>mt===t)}).filter(N=>{if(c!==void 0)return c===b0(N);if(d!==void 0)return d===v0(N);if(m!==void 0)return m===y0(N);if(v!==void 0)return v===h0(N);if(P!==void 0)return P===g0(N);if(T!==void 0)return T===E0(N);if(C!==void 0)return C===w0(N);if(w!==void 0||g!==void 0||y!==void 0||x!==void 0){let le=!0;if(w!==void 0&&le&&(le=w===_0(N)),g!==void 0&&le&&(le=g===C0(N)),y!==void 0&&le&&(le=y===P0(N)),x!==void 0){var de;le&&(le=Se((de=T0(N))!=null?de:null,N,x,mt=>mt))}return le}return!0}).filter(N=>a===void 0?!0:Se(or(N,{computedStyleSupportsPseudoElements:I().computedStyleSupportsPseudoElements}),N,a,de=>de)).filter(N=>s===void 0?!0:Se(Yr(N,{computedStyleSupportsPseudoElements:I().computedStyleSupportsPseudoElements}),N,s,de=>de)).filter(N=>i===!1?Ms(N,{isSubtreeInaccessible:j})===!1:!0)};function xS(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 $f=e=>{let t="";return e===void 0?t="":typeof e=="string"?t=' and name "'+e+'"':t=" and name `"+e+"`",t},qS=function(e,t,r){let n=r===void 0?{}:r,o=n.name;return'Found multiple elements with the role "'+t+'"'+$f(o)},AS=function(e,t,r){let n=r===void 0?{}:r,o=n.hidden,i=o===void 0?I().defaultHidden:o,a=n.name,s=n.description;if(I()._disableExpensiveErrorDiagnostics)return'Unable to find role="'+t+'"'+$f(a);let l="";Array.from(e.children).forEach(m=>{l+=m0(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):I().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 I().getElementError("Unable to find a label with the text of: "+t,e)}return i};function I0(e,t){let r=t.getAttribute("for");if(!r)return null;let n=e.querySelector('[id="'+r+'"]');return n?n.tagName.toLowerCase():null}var jf=(e,t)=>"Found multiple elements with the text of: "+t,N0=Tt(Zi(lr,jf),lr.name,"query"),$f=Zi(rt,jf),L0=ea(be(rt,rt.name,"findAll")),B0=ea(Tt($f,rt.name,"find")),D0=be(rt,rt.name,"getAll"),F0=Tt($f,rt.name,"get"),U0=be(lr,lr.name,"queryAll"),Es=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return xe(t[0]),oa("placeholder",...t)},j0=(e,t)=>"Found multiple elements with the placeholder text of: "+t,$0=(e,t)=>"Unable to find an element with the placeholder text of: "+t,H0=be(Es,Es.name,"queryAll"),cr=ot(Es,j0,$0),V0=cr[0],W0=cr[1],z0=cr[2],G0=cr[3],K0=cr[4],ws=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?I().defaultIgnore:c,m=n.normalizer;xe(e);let v=s?Se:Rt,P=nt({collapseWhitespace:l,trim:u,normalizer:m}),C=[];return typeof e.matches=="function"&&e.matches(i)&&(C=[e]),[...C,...Array.from(e.querySelectorAll(i))].filter(T=>!d||!T.matches(d)).filter(T=>v(na(T),T,t,P))},X0=(e,t)=>"Found multiple elements with the text: "+t,Q0=function(e,t,r){r===void 0&&(r={});let n=r,o=n.collapseWhitespace,i=n.trim,a=n.normalizer,s=n.selector,u=nt({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."},J0=be(ws,ws.name,"queryAll"),dr=ot(ws,X0,Q0),Y0=dr[0],Z0=dr[1],eS=dr[2],tS=dr[3],rS=dr[4],_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;xe(e);let u=i?Se:Rt,c=nt({collapseWhitespace:a,trim:s,normalizer:l});return Array.from(e.querySelectorAll("input,textarea,select")).filter(d=>d.tagName==="SELECT"?Array.from(d.options).filter(v=>v.selected).some(v=>u(na(v),v,t,c)):u(d.value,d,t,c))},nS=(e,t)=>"Found multiple elements with the display value: "+t+".",oS=(e,t)=>"Unable to find an element with the display value: "+t+".",iS=be(_s,_s.name,"queryAll"),pr=ot(_s,nS,oS),aS=pr[0],sS=pr[1],lS=pr[2],uS=pr[3],cS=pr[4],dS=/^(img|input|area|.+-.+)$/i,Cs=function(e,t,r){return r===void 0&&(r={}),xe(e),oa("alt",e,t,r).filter(n=>dS.test(n.tagName))},pS=(e,t)=>"Found multiple elements with the alt text: "+t,fS=(e,t)=>"Unable to find an element with the alt text: "+t,mS=be(Cs,Cs.name,"queryAll"),fr=ot(Cs,pS,fS),bS=fr[0],vS=fr[1],yS=fr[2],hS=fr[3],gS=fr[4],ES=e=>{var t;return e.tagName.toLowerCase()==="title"&&((t=e.parentElement)==null?void 0:t.tagName.toLowerCase())==="svg"},Ps=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;xe(e);let u=i?Se:Rt,c=nt({collapseWhitespace:a,trim:s,normalizer:l});return Array.from(e.querySelectorAll("[title], svg > title")).filter(d=>u(d.getAttribute("title"),d,t,c)||ES(d)&&u(na(d),d,t,c))},wS=(e,t)=>"Found multiple elements with the title: "+t+".",_S=(e,t)=>"Unable to find an element with the title: "+t+".",CS=be(Ps,Ps.name,"queryAll"),mr=ot(Ps,wS,_S),PS=mr[0],TS=mr[1],RS=mr[2],SS=mr[3],xS=mr[4],Ts=function(e,t,r){let n=r===void 0?{}:r,o=n.hidden,i=o===void 0?I().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,v=n.pressed,P=n.current,C=n.level,T=n.expanded,f=n.value,h=f===void 0?{}:f,E=h.now,y=h.min,g=h.max,x=h.text;if(xe(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(v!==void 0){var z;if(((z=oe.roles.get(t))==null?void 0:z.props["aria-pressed"])===void 0)throw new Error('"aria-pressed" is not supported on role "'+t+'".')}if(P!==void 0){var K;if(((K=oe.roles.get(t))==null?void 0:K.props["aria-current"])===void 0)throw new Error('"aria-current" is not supported on role "'+t+'".')}if(C!==void 0&&t!=="heading")throw new Error('Role "'+t+'" cannot have "level" property.');if(E!==void 0){var _;if(((_=oe.roles.get(t))==null?void 0:_.props["aria-valuenow"])===void 0)throw new Error('"aria-valuenow" is not supported on role "'+t+'".')}if(g!==void 0){var B;if(((B=oe.roles.get(t))==null?void 0:B.props["aria-valuemax"])===void 0)throw new Error('"aria-valuemax" is not supported on role "'+t+'".')}if(y!==void 0){var Z;if(((Z=oe.roles.get(t))==null?void 0:Z.props["aria-valuemin"])===void 0)throw new Error('"aria-valuemin" is not supported on role "'+t+'".')}if(x!==void 0){var b;if(((b=oe.roles.get(t))==null?void 0:b.props["aria-valuetext"])===void 0)throw new Error('"aria-valuetext" is not supported on role "'+t+'".')}if(T!==void 0){var q;if(((q=oe.roles.get(t))==null?void 0:q.props["aria-expanded"])===void 0)throw new Error('"aria-expanded" is not supported on role "'+t+'".')}let M=new WeakMap;function j(N){return M.has(N)||M.set(N,Df(N)),M.get(N)}return Array.from(e.querySelectorAll(qS(t))).filter(N=>{if(N.hasAttribute("role")){let mt=N.getAttribute("role");return u?mt.split(" ").filter(Boolean).some(Tb=>Tb===t):mt.split(" ")[0]===t}return ks(N).some(mt=>mt===t)}).filter(N=>{if(c!==void 0)return c===v0(N);if(d!==void 0)return d===y0(N);if(m!==void 0)return m===h0(N);if(v!==void 0)return v===g0(N);if(P!==void 0)return P===E0(N);if(T!==void 0)return T===w0(N);if(C!==void 0)return C===_0(N);if(E!==void 0||g!==void 0||y!==void 0||x!==void 0){let le=!0;if(E!==void 0&&le&&(le=E===C0(N)),g!==void 0&&le&&(le=g===P0(N)),y!==void 0&&le&&(le=y===T0(N)),x!==void 0){var de;le&&(le=Se((de=R0(N))!=null?de:null,N,x,mt=>mt))}return le}return!0}).filter(N=>a===void 0?!0:Se(or(N,{computedStyleSupportsPseudoElements:I().computedStyleSupportsPseudoElements}),N,a,de=>de)).filter(N=>s===void 0?!0:Se(Yr(N,{computedStyleSupportsPseudoElements:I().computedStyleSupportsPseudoElements}),N,s,de=>de)).filter(N=>i===!1?Ms(N,{isSubtreeInaccessible:j})===!1:!0)};function qS(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 Hf=e=>{let t="";return e===void 0?t="":typeof e=="string"?t=' and name "'+e+'"':t=" and name `"+e+"`",t},AS=function(e,t,r){let n=r===void 0?{}:r,o=n.name;return'Found multiple elements with the role "'+t+'"'+Hf(o)},MS=function(e,t,r){let n=r===void 0?{}:r,o=n.hidden,i=o===void 0?I().defaultHidden:o,a=n.name,s=n.description;if(I()._disableExpensiveErrorDiagnostics)return'Unable to find role="'+t+'"'+Hf(a);let l="";Array.from(e.children).forEach(m=>{l+=b0(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()},MS=be(Ts,Ts.name,"queryAll"),br=ot(Ts,qS,AS),OS=br[0],kS=br[1],IS=br[2],NS=br[3],LS=br[4],ks=()=>I().testIdAttribute,Rs=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return xe(t[0]),oa(ks(),...t)},BS=(e,t)=>"Found multiple elements by: ["+ks()+'="'+t+'"]',DS=(e,t)=>"Unable to find an element by: ["+ks()+'="'+t+'"]',FS=be(Rs,Rs.name,"queryAll"),vr=ot(Rs,BS,DS),US=vr[0],jS=vr[1],$S=vr[2],HS=vr[3],VS=vr[4],Ss=Object.freeze({__proto__:null,queryAllByLabelText:F0,queryByLabelText:I0,getAllByLabelText:B0,getByLabelText:D0,findAllByLabelText:N0,findByLabelText:L0,queryByPlaceholderText:H0,queryAllByPlaceholderText:$0,getByPlaceholderText:W0,getAllByPlaceholderText:V0,findAllByPlaceholderText:z0,findByPlaceholderText:G0,queryByText:J0,queryAllByText:Q0,getByText:Z0,getAllByText:Y0,findAllByText:eS,findByText:tS,queryByDisplayValue:iS,queryAllByDisplayValue:oS,getByDisplayValue:sS,getAllByDisplayValue:aS,findAllByDisplayValue:lS,findByDisplayValue:uS,queryByAltText:mS,queryAllByAltText:fS,getByAltText:vS,getAllByAltText:bS,findAllByAltText:yS,findByAltText:hS,queryByTitle:CS,queryAllByTitle:_S,getByTitle:TS,getAllByTitle:PS,findAllByTitle:RS,findByTitle:SS,queryByRole:OS,queryAllByRole:MS,getAllByRole:kS,getByRole:IS,findAllByRole:NS,findByRole:LS,queryByTestId:US,queryAllByTestId:FS,getByTestId:$S,getAllByTestId:jS,findAllByTestId:HS,findByTestId:VS});function WS(e,t,r){return t===void 0&&(t=Ss),r===void 0&&(r={}),Object.keys(t).reduce((n,o)=>{let i=t[o];return n[o]=i.bind(null,e),n},r)}var hf={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}}},gf={doubleClick:"dblClick"},zS=["value","files"],GS=["bubbles","cancelable","detail"];function ta(e,t){return I().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 ys(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,v=d.files,P=Fr(d,zS);m!==void 0&&KS(t,m),v!==void 0&&Object.defineProperty(t,"files",{configurable:!0,enumerable:!0,writable:!0,value:v}),Object.assign(t,P);let C=Af(t),T=C[a]||C.Event,f;if(typeof T=="function")f=new T(e,u);else{f=C.document.createEvent(a);let w=u.bubbles,y=u.cancelable,g=u.detail,x=Fr(u,GS);f.initEvent(e,w,y,g),Object.keys(x).forEach(R=>{f[R]=x[R]})}return["dataTransfer","clipboardData"].forEach(w=>{let y=u[w];typeof y=="object"&&(typeof C.DataTransfer=="function"?Object.defineProperty(f,w,{value:Object.getOwnPropertyNames(y).reduce((g,x)=>(Object.defineProperty(g,x,{value:y[x]}),g),new C.DataTransfer)}):Object.defineProperty(f,w,{value:y}))}),f}Object.keys(hf).forEach(e=>{let t=hf[e],r=t.EventType,n=t.defaultInit,o=e.toLowerCase();ys[e]=(i,a)=>ys(o,i,a,{EventType:r,defaultInit:n}),ta[e]=(i,a)=>ta(i,ys[e](i,a))});function KS(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(gf).forEach(e=>{let t=gf[e];ta[e]=function(){return ta[t](...arguments)}});function XS(e){return e.replace(/[ \t]*[\n][ \t]*/g,`
56
- `)}function QS(e){return wf.default.compressToEncodedURIComponent(XS(e))}function JS(e){return"https://testing-playground.com/#markup="+QS(e)}var YS=(e,t,r)=>Array.isArray(e)?e.forEach(n=>bf(n,t,r)):bf(e,t,r),ZS=function(e){if(e===void 0&&(e=As().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=JS(e.innerHTML);return console.log(`Open this URL in your browser
55
+ `+u).trim()},kS=be(Ts,Ts.name,"queryAll"),br=ot(Ts,AS,MS),OS=br[0],IS=br[1],NS=br[2],LS=br[3],BS=br[4],Os=()=>I().testIdAttribute,Rs=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return xe(t[0]),oa(Os(),...t)},DS=(e,t)=>"Found multiple elements by: ["+Os()+'="'+t+'"]',FS=(e,t)=>"Unable to find an element by: ["+Os()+'="'+t+'"]',US=be(Rs,Rs.name,"queryAll"),vr=ot(Rs,DS,FS),jS=vr[0],$S=vr[1],HS=vr[2],VS=vr[3],WS=vr[4],Ss=Object.freeze({__proto__:null,queryAllByLabelText:U0,queryByLabelText:N0,getAllByLabelText:D0,getByLabelText:F0,findAllByLabelText:L0,findByLabelText:B0,queryByPlaceholderText:V0,queryAllByPlaceholderText:H0,getByPlaceholderText:z0,getAllByPlaceholderText:W0,findAllByPlaceholderText:G0,findByPlaceholderText:K0,queryByText:Y0,queryAllByText:J0,getByText:eS,getAllByText:Z0,findAllByText:tS,findByText:rS,queryByDisplayValue:aS,queryAllByDisplayValue:iS,getByDisplayValue:lS,getAllByDisplayValue:sS,findAllByDisplayValue:uS,findByDisplayValue:cS,queryByAltText:bS,queryAllByAltText:mS,getByAltText:yS,getAllByAltText:vS,findAllByAltText:hS,findByAltText:gS,queryByTitle:PS,queryAllByTitle:CS,getByTitle:RS,getAllByTitle:TS,findAllByTitle:SS,findByTitle:xS,queryByRole:OS,queryAllByRole:kS,getAllByRole:IS,getByRole:NS,findAllByRole:LS,findByRole:BS,queryByTestId:jS,queryAllByTestId:US,getByTestId:HS,getAllByTestId:$S,findAllByTestId:VS,findByTestId:WS});function zS(e,t,r){return t===void 0&&(t=Ss),r===void 0&&(r={}),Object.keys(t).reduce((n,o)=>{let i=t[o];return n[o]=i.bind(null,e),n},r)}var gf={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}}},Ef={doubleClick:"dblClick"},GS=["value","files"],KS=["bubbles","cancelable","detail"];function ta(e,t){return I().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 ys(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,v=d.files,P=Fr(d,GS);m!==void 0&&XS(t,m),v!==void 0&&Object.defineProperty(t,"files",{configurable:!0,enumerable:!0,writable:!0,value:v}),Object.assign(t,P);let C=Mf(t),T=C[a]||C.Event,f;if(typeof T=="function")f=new T(e,u);else{f=C.document.createEvent(a);let E=u.bubbles,y=u.cancelable,g=u.detail,x=Fr(u,KS);f.initEvent(e,E,y,g),Object.keys(x).forEach(R=>{f[R]=x[R]})}return["dataTransfer","clipboardData"].forEach(E=>{let y=u[E];typeof y=="object"&&(typeof C.DataTransfer=="function"?Object.defineProperty(f,E,{value:Object.getOwnPropertyNames(y).reduce((g,x)=>(Object.defineProperty(g,x,{value:y[x]}),g),new C.DataTransfer)}):Object.defineProperty(f,E,{value:y}))}),f}Object.keys(gf).forEach(e=>{let t=gf[e],r=t.EventType,n=t.defaultInit,o=e.toLowerCase();ys[e]=(i,a)=>ys(o,i,a,{EventType:r,defaultInit:n}),ta[e]=(i,a)=>ta(i,ys[e](i,a))});function XS(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(Ef).forEach(e=>{let t=Ef[e];ta[e]=function(){return ta[t](...arguments)}});function QS(e){return e.replace(/[ \t]*[\n][ \t]*/g,`
56
+ `)}function JS(e){return _f.default.compressToEncodedURIComponent(QS(e))}function YS(e){return"https://testing-playground.com/#markup="+JS(e)}var ZS=(e,t,r)=>Array.isArray(e)?e.forEach(n=>vf(n,t,r)):vf(e,t,r),ex=function(e){if(e===void 0&&(e=As().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=YS(e.innerHTML);return console.log(`Open this URL in your browser
57
57
 
58
- `+t),t},Ef={debug:YS,logTestingPlaygroundURL:ZS},fI=typeof document<"u"&&document.body?WS(document.body,Ss,Ef):Object.keys(Ss).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),Ef);function Qe(e,t){return I().eventWrapper(e)}function se(e){let t=_l(e,jt),r=Ne(e.ownerDocument);(t??e.ownerDocument.body)!==r&&(t?Qe(()=>t.focus()):Qe(()=>r?.blur()),Sl(t??e.ownerDocument.body))}function Hf(e){!jt(e)||!(Ne(e.ownerDocument)===e)||Qe(()=>e.blur())}var ie={};ie.click=(e,t,r)=>{let n=t.closest("button,input,label,select,textarea"),o=n&&S(n,"label")&&n.control;if(o&&o!==t)return()=>{jt(o)&&(se(o),r.dispatchEvent(o,wl(e)))};if(S(t,"input",{type:"file"}))return()=>{Hf(t),t.dispatchEvent(new(W(t)).Event("fileDialog")),se(t)}};var St=Symbol("Displayed value in UI"),qe=Symbol("Displayed selection in UI"),ia=Symbol("Initial value to compare on blur");function Vf(e){return typeof e=="object"&&St in e}function Wf(e){return!!e&&typeof e=="object"&&qe in e}function zf(e,t){e[ia]===void 0&&(e[ia]=e.value),e[St]=t,e.value=Object.assign(new String(t),{[St]:!0})}function Y(e){return e[St]===void 0?e.value:String(e[St])}function yr(e){e[St]=void 0}function aa(e){e[ia]=void 0}function Gf(e){return e[ia]}function Kf(e,t){e[qe]=t}function Ee(e,{focusOffset:t,anchorOffset:r=t},n="replace"){let o=Y(e).length,i=d=>Math.max(0,Math.min(o,d)),a=n==="replace"||e[qe]===void 0?i(r):e[qe].anchorOffset,s=i(t),l=Math.min(a,s),u=Math.max(a,s);if(e[qe]={anchorOffset:a,focusOffset:s},e.selectionStart===l&&e.selectionEnd===u)return;let c=Object.assign(new Number(l),{[qe]:!0});try{e.setSelectionRange(c,u)}catch{}}function Ae(e){var t,r,n;let o=(t=e[qe])!==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 Xf(e){return!!e[qe]}function hr(e){e[qe]=void 0}var sa=globalThis.parseInt;function Jf(e){let t=e.replace(/\D/g,"");if(t.length<2)return e;let r=sa(t[0],10),n=sa(t[1],10);if(r>=3||r===2&&n>=4){let o;return r>=3?o=1:o=2,Qf(t,o)}return e.length===2?e:Qf(t,2)}function Qf(e,t){let r=e.slice(0,t),n=Math.min(sa(r,10),23),o=e.slice(t),i=sa(o,10),a=Math.min(i,59);return`${n.toString().padStart(2,"0")}:${a.toString().padStart(2,"0")}`}function Is(e,t){let r=e.cloneNode();return r.value=t,r.value===t}var Yf=(function(e){return e.email="email",e.password="password",e.search="search",e.telephone="telephone",e.text="text",e.url="url",e})(Yf||{});function Zf(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 em(e){return S(e,"textarea")||S(e,"input")&&e.type in Yf}function ca(e,t,r,n){if(ua(e)&&t+r>=0&&t+r<=e.nodeValue.length)return{node:e,offset:t+r};let o=tm(e,t,r);if(o){if(ua(o))return{node:o,offset:r>0?Math.min(1,o.nodeValue.length):Math.max(o.nodeValue.length-1,0)};if(S(o,"br")){let i=tm(o,void 0,r);return i?ua(i)?{node:i,offset:r>0?0:i.nodeValue.length}:r<0&&S(i,"br")?{node:o.parentNode,offset:la(o)}:{node:i.parentNode,offset:la(i)+(r>0?0:1)}:r<0&&n==="deleteContentBackward"?{node:o.parentNode,offset:la(o)}:void 0}else return{node:o.parentNode,offset:la(o)+(r>0?1:0)}}}function tm(e,t,r){let n=Number(t)+(r<0?-1:0);return t!==void 0&&Ns(e)&&n>=0&&n<e.children.length&&(e=e.children[n]),tx(e,r===1?"next":"previous",ex)}function ex(e){if(ua(e))return!0;if(Ns(e)){if(S(e,["input","textarea"]))return e.type!=="hidden";if(S(e,"br"))return!0}return!1}function la(e){let t=0;for(;e.previousSibling;)t++,e=e.previousSibling;return t}function Ns(e){return e.nodeType===1}function ua(e){return e.nodeType===3}function tx(e,t,r){for(;;){var n;let o=e[`${t}Sibling`];if(o){if(e=rx(o,t==="next"?"first":"last"),r(e))return e}else if(e.parentNode&&(!Ns(e.parentNode)||!ue(e.parentNode)&&e.parentNode!==((n=e.ownerDocument)===null||n===void 0?void 0:n.body)))e=e.parentNode;else break}}function rx(e,t){for(;e.hasChildNodes();)e=e[`${t}Child`];return e}var gr=Symbol("Track programmatic changes for React workaround");function nx(e){return Object.getOwnPropertyNames(e).some(t=>t.startsWith("__react"))&&W(e).REACT_VERSION===17}function rm(e){nx(e)&&(e[gr]={previousValue:String(e.value),tracked:[]})}function nm(e,t){var r,n;(n=e[gr])===null||n===void 0||(r=n.tracked)===null||r===void 0||r.push(t),e[gr]||(yr(e),Ee(e,{focusOffset:t.length}))}function om(e,t){var r;let n=e[gr];if(e[gr]=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||yr(e),Xf(e)&&Ee(e,{focusOffset:o?t:e.value.length})}function da(e){let t=ox(e);if(t&&X(t))return{type:"input",selection:Ae(t)};let r=t?.ownerDocument.getSelection();return{type:Le(e)&&r?.anchorNode&&Le(r.anchorNode)?"contenteditable":"default",selection:r}}function ox(e){return e.nodeType===1?e:e.parentElement}function im(e){let t=da(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(da(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 sm(e){return S(e,"input")&&["date","time"].includes(e.type)}function _e(e,t,r,n="insertText"){let o=im(t);o&&(!sm(t)&&!e.dispatchUIEvent(t,"beforeinput",{inputType:n,data:r})||("startContainer"in o?ix(e,t,o,r,n):ax(e,t,o,r,n)))}function ix(e,t,r,n,o){let i=!1;if(!r.collapsed)i=!0,r.deleteContents();else if(["deleteContentBackward","deleteContentForward"].includes(o)){let a=ca(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 ax(e,t,r,n,o){let i=n;if(em(t)){let u=Zf(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}=sx(i,t,r,o);a===l&&s===r.startOffset&&s===r.endOffset||S(t,"input",{type:"number"})&&!lx(a)||(zf(t,a),we({focusNode:t,anchorOffset:s,focusOffset:s}),sm(t)?Is(t,a)&&(am(e,t,s,{}),e.dispatchUIEvent(t,"change"),aa(t)):am(e,t,s,{data:n,inputType:o}))}function sx(e,t,{startOffset:r,endOffset:n},o){let i=Y(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(S(t,"input",{type:"time"})){let m=Jf(c);m!==""&&Is(t,m)&&(c=m,d=m.length)}return{oldValue:i,newValue:c,newOffset:d}}function am(e,t,r,n){e.dispatchUIEvent(t,"input",n),om(t,r)}function lx(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 lm(e){return e?ue(e)?e.textContent:Y(e):null}function um(e){let t=W(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 cm(e,t){let r=e.ownerDocument,n=r.querySelectorAll(Br),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=S(e,"input",{type:"radio"})?e.name:void 0;o.forEach(l=>{let u=l;if(S(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=>!S(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||um(a[l]))return a[l]}function Ls(e,t){if(X(e)){let r=Ae(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=ca(r.focusNode,r.focusOffset,t);n&&we({focusNode:n.node,focusOffset:n.offset})}else r[t<0?"collapseToStart":"collapseToEnd"]()}}function pa(e){var t;if(X(e))return we({focusNode:e,anchorOffset:0,focusOffset:Y(e).length});let r=(t=Le(e))!==null&&t!==void 0?t:e.ownerDocument.body;we({focusNode:r,anchorOffset:0,focusOffset:r.childNodes.length})}function dm(e){var t;if(X(e))return Ae(e).startOffset===0&&Ae(e).endOffset===Y(e).length;let r=(t=Le(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 it(e,t,r){var n;if(X(e))return we({focusNode:e,anchorOffset:t,focusOffset:r});if(ue(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 Er(e,t,r){let n=W(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=pm[e.key])===null||o===void 0?void 0:o.call(pm,e,t,r))!==null&&n!==void 0?n:ux(e,t,r)};var pm={ArrowDown:(e,t,r)=>{if(S(t,"input",{type:"radio"}))return()=>Er(r,t,1)},ArrowLeft:(e,t,r)=>S(t,"input",{type:"radio"})?()=>Er(r,t,-1):()=>Ls(t,-1),ArrowRight:(e,t,r)=>S(t,"input",{type:"radio"})?()=>Er(r,t,1):()=>Ls(t,1),ArrowUp:(e,t,r)=>{if(S(t,"input",{type:"radio"}))return()=>Er(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(S(t,["input","textarea"])||ue(t))return()=>{var r,n;let o=(r=(n=lm(t))===null||n===void 0?void 0:n.length)!==null&&r!==void 0?r:0;it(t,o,o)}},Home:(e,t)=>{if(S(t,["input","textarea"])||ue(t))return()=>{it(t,0,0)}},PageDown:(e,t)=>{if(S(t,["input"]))return()=>{let r=Y(t).length;it(t,r,r)}},PageUp:(e,t)=>{if(S(t,["input"]))return()=>{it(t,0,0)}},Tab:(e,t,r)=>()=>{let n=cm(yt(r.config.document),r.system.keyboard.modifiers.Shift);se(n),X(n)&&Ee(n,{anchorOffset:0,focusOffset:n.value.length})}},ux=(e,t,r)=>{if(e.code==="KeyA"&&r.system.keyboard.modifiers.Control)return()=>pa(t)};ie.keypress=(e,t,r)=>{if(e.key==="Enter"){if(S(t,"button")||S(t,"input")&&cx.includes(t.type)||S(t,"a")&&t.href)return()=>{r.dispatchUIEvent(t,"click")};if(S(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&&dx.includes(t.type)&&n.querySelectorAll("input").length===1?()=>r.dispatchUIEvent(n,"submit"):void 0}}if(ve(t)){let n=e.key==="Enter"?ue(t)&&!r.system.keyboard.modifiers.Shift?"insertParagraph":"insertLineBreak":"insertText",o=e.key==="Enter"?`
59
- `:e.key;return()=>_e(r,t,o,n)}};var cx=["button","color","file","image","reset","submit"],dx=["email","month","password","search","tel","text","url","week"];ie.keyup=(e,t,r)=>{var n;return(n=fm[e.key])===null||n===void 0?void 0:n.call(fm,e,t,r)};var fm={" ":(e,t,r)=>{if(Dr(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 Bs={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 mm(e){return Bs[e].EventType}var px=["MouseEvent","PointerEvent"];function bm(e){return px.includes(mm(e))}function vm(e){return mm(e)==="KeyboardEvent"}var fx={ClipboardEvent:[bx],Event:[],FocusEvent:[wr,vx],InputEvent:[wr,yx],MouseEvent:[wr,Ds,ym],PointerEvent:[wr,Ds,ym,gx],KeyboardEvent:[wr,Ds,hx]};function Fs(e,t,r){let n=W(t),{EventType:o,defaultInit:i}=Bs[e],a=new(mx(n))[o](e,i);return fx[o].forEach(s=>s(a,r??{})),a}function mx(e){var t,r,n,o,i,a,s,l,u,c,d,m,v,P,C;let T=(t=e.Event)!==null&&t!==void 0?t:class{},f=(r=e.AnimationEvent)!==null&&r!==void 0?r:class extends T{},h=(n=e.ClipboardEvent)!==null&&n!==void 0?n:class extends T{},w=(o=e.PopStateEvent)!==null&&o!==void 0?o:class extends T{},y=(i=e.ProgressEvent)!==null&&i!==void 0?i:class extends T{},g=(a=e.TransitionEvent)!==null&&a!==void 0?a:class extends T{},x=(s=e.UIEvent)!==null&&s!==void 0?s:class extends T{},R=(l=e.CompositionEvent)!==null&&l!==void 0?l:class extends x{},H=(u=e.FocusEvent)!==null&&u!==void 0?u:class extends x{},F=(c=e.InputEvent)!==null&&c!==void 0?c:class extends x{},z=(d=e.KeyboardEvent)!==null&&d!==void 0?d:class extends x{},K=(m=e.MouseEvent)!==null&&m!==void 0?m:class extends x{},_=(v=e.DragEvent)!==null&&v!==void 0?v:class extends K{},B=(P=e.PointerEvent)!==null&&P!==void 0?P:class extends K{},Z=(C=e.TouchEvent)!==null&&C!==void 0?C:class extends x{};return{Event:T,AnimationEvent:f,ClipboardEvent:h,PopStateEvent:w,ProgressEvent:y,TransitionEvent:g,UIEvent:x,CompositionEvent:R,FocusEvent:H,InputEvent:F,KeyboardEvent:z,MouseEvent:K,DragEvent:_,PointerEvent:B,TouchEvent:Z}}function Je(e,t){for(let[r,n]of Object.entries(t))Object.defineProperty(e,r,{get:()=>n??null})}function G(e){return Number(e??0)}function bx(e,{clipboardData:t}){Je(e,{clipboardData:t})}function vx(e,{relatedTarget:t}){Je(e,{relatedTarget:t})}function yx(e,{data:t,inputType:r,isComposing:n}){Je(e,{data:t,isComposing:!!n,inputType:String(r)})}function wr(e,{view:t,detail:r}){Je(e,{view:t,detail:G(r??0)})}function Ds(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}){Je(e,{altKey:!!t,ctrlKey:!!r,metaKey:!!n,shiftKey:!!o,getModifierState(v){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}[v]}})}function hx(e,{key:t,code:r,location:n,repeat:o,isComposing:i,charCode:a}){Je(e,{key:String(t),code:String(r),location:G(n),repeat:!!o,isComposing:!!i,charCode:a})}function ym(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:v}){Je(e,{screenX:G(n),screenY:G(o),clientX:G(i),x:G(i),clientY:G(a),y:G(a),button:G(s),buttons:G(l),relatedTarget:u,offsetX:G(c),offsetY:G(d),pageX:G(m),pageY:G(v)})}function gx(e,{pointerId:t,width:r,height:n,pressure:o,tangentialPressure:i,tiltX:a,tiltY:s,twist:l,pointerType:u,isPrimary:c,buttons:d}){Je(e,{pointerId:G(t),width:G(r??1),height:G(n??1),pressure:G(o??(d?.5:0)),tangentialPressure:G(i),tiltX:G(a),tiltY:G(s),twist:G(l),pointerType:String(u??""),isPrimary:!!c})}function hm(e,t,r,n=!1){(bm(t)||vm(t))&&(r={...r,...this.system.getUIEventModifiers()});let o=Fs(t,e,r);return Us.call(this,e,o,n)}function Us(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 Me(e,t,r){let n=Fs(t,e,r);Qe(()=>e.dispatchEvent(n))}var gm=Symbol("patched focus/blur methods");function js(e){if(e.prototype[gm])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},[gm]:{configurable:!0,get:()=>({focus:t,blur:r})}});let n;function o(a){if(this.ownerDocument.visibilityState!=="hidden")return t.call(this,a);let s=Em(this.ownerDocument);if(s===this)return;let l=Symbol("focus call");n=l,s&&(r.call(s),Me(s,"blur",{relatedTarget:this}),Me(s,"focusout",{relatedTarget:n===l?this:null})),n===l&&(t.call(this,a),Me(this,"focus",{relatedTarget:s})),n===l&&Me(this,"focusin",{relatedTarget:s})}function i(){if(this.ownerDocument.visibilityState!=="hidden")return r.call(this);let a=Em(this.ownerDocument);if(a!==this)return;n=Symbol("blur call"),r.call(this),Me(a,"blur",{relatedTarget:null}),Me(a,"focusout",{relatedTarget:null})}}function Em(e){let t=Ne(e);return t?.tagName==="BODY"?null:t}var $s=Symbol("Interceptor for programmatical calls");function xt(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][$s])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[$s]=$s,Object.defineProperty(e,t,{...o??n,[i]:a})}function wm(e){xt(e,"value",function(r){let n=Vf(r);return n&&rm(this),{applyNative:!!n,realArgs:Ex(this,r),then:n?void 0:()=>nm(this,String(r))}})}function Ex(e,t){return S(e,"input",{type:"number"})&&String(t)!==""&&!Number.isNaN(Number(t))?String(Number(t)):String(t)}function _m(e){xt(e,"setSelectionRange",function(r,...n){let o=Wf(r);return{applyNative:!!o,realArgs:[Number(r),...n],then:()=>o?void 0:hr(e)}}),xt(e,"selectionStart",function(r){return{realArgs:r,then:()=>hr(e)}}),xt(e,"selectionEnd",function(r){return{realArgs:r,then:()=>hr(e)}}),xt(e,"select",function(){return{realArgs:[],then:()=>Kf(e,{anchorOffset:0,focusOffset:Y(e).length})}})}function Cm(e){xt(e,"setRangeText",function(...r){return{realArgs:r,then:()=>{yr(e),hr(e)}}})}var qt=Symbol("Node prepared with document state workarounds");function Hs(e){e[qt]||(e.addEventListener("focus",t=>{let r=t.target;Pm(r)},{capture:!0,passive:!0}),e.activeElement&&Pm(e.activeElement),e.addEventListener("blur",t=>{let r=t.target,n=Gf(r);n!==void 0&&(r.value!==n&&Me(r,"change"),aa(r))},{capture:!0,passive:!0}),e[qt]=qt)}function Pm(e){e[qt]||(S(e,["input","textarea"])&&(wm(e),_m(e),Cm(e)),e[qt]=qt)}function Tm(e){return wx(e)?e:e.ownerDocument}function wx(e){return e.nodeType===9}var re=(function(e){return e[e.Trigger=2]="Trigger",e[e.Call=1]="Call",e})({});function at(e,t){e.levelRefs[t]={}}function _r(e,t){return e.levelRefs[t]}function Te(e){let t=e.delay;if(typeof t=="number")return Promise.all([new Promise(r=>globalThis.setTimeout(()=>r(),t)),e.advanceTimers(t)])}var st=(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 lt(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})({}),_x=["Alt","AltGraph","Control","Fn","Meta","Shift","Symbol"];function Rm(e){return _x.includes(e)}var Cx=["CapsLock","FnLock","NumLock","ScrollLock","SymbolLock"];function Sm(e){return Cx.includes(e)}var fa=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=yt(t.config.document);this.setKeydownTarget(a),this.pressed.add(i,r),Rm(o)&&(this.modifiers[o]=!0);let s=t.dispatchUIEvent(a,"keydown",{key:o,code:i,repeat:n});Sm(o)&&!this.modifiers[o]&&(this.modifiers[o]=!0,this.modifierLockStart[o]=!0),s&&this.pressed.setUnprevented(i),s&&this.hasKeyPress(o)&&t.dispatchUIEvent(yt(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),Rm(n)&&!this.pressed.values().find(a=>a.keyDef.key===n)&&(this.modifiers[n]=!1),t.dispatchUIEvent(yt(t.config.document),"keyup",{key:n,code:o},!i),Sm(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){lt(this,"system",void 0),lt(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}),lt(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(){lt(this,"registry",{})}}),lt(this,"carryChar",""),lt(this,"lastKeydownTarget",void 0),lt(this,"modifierLockStart",{}),this.system=t}};var xm=[..."0123456789".split("").map(e=>({code:`Digit${e}`,key:e})),...")!@#$%^&*(".split("").map((e,t)=>({code:`Digit${t}`,key:e,shiftKey:!0})),..."abcdefghijklmnopqrstuvwxyz".split("").map(e=>({code:`Key${e.toUpperCase()}`,key:e})),..."ABCDEFGHIJKLMNOPQRSTUVWXYZ".split("").map(e=>({code:`Key${e}`,key:e,shiftKey:!0})),{code:"BracketLeft",key:"["},{code:"BracketLeft",key:"{",shiftKey:!0},{code:"BracketRight",key:"]"},{code:"BracketRight",key:"}",shiftKey:!0},{code:"Space",key:" "},{code:"AltLeft",key:"Alt",location:Ce.LEFT},{code:"AltRight",key:"Alt",location:Ce.RIGHT},{code:"ShiftLeft",key:"Shift",location:Ce.LEFT},{code:"ShiftRight",key:"Shift",location:Ce.RIGHT},{code:"ControlLeft",key:"Control",location:Ce.LEFT},{code:"ControlRight",key:"Control",location:Ce.RIGHT},{code:"MetaLeft",key:"Meta",location:Ce.LEFT},{code:"MetaRight",key:"Meta",location:Ce.RIGHT},{code:"OSLeft",key:"OS",location:Ce.LEFT},{code:"OSRight",key:"OS",location:Ce.RIGHT},{code:"ContextMenu",key:"ContextMenu"},{code:"Tab",key:"Tab"},{code:"CapsLock",key:"CapsLock"},{code:"Backspace",key:"Backspace"},{code:"Enter",key:"Enter"},{code:"Escape",key:"Escape"},{code:"ArrowUp",key:"ArrowUp"},{code:"ArrowDown",key:"ArrowDown"},{code:"ArrowLeft",key:"ArrowLeft"},{code:"ArrowRight",key:"ArrowRight"},{code:"Home",key:"Home"},{code:"End",key:"End"},{code:"Delete",key:"Delete"},{code:"PageUp",key:"PageUp"},{code:"PageDown",key:"PageDown"},{code:"Fn",key:"Fn"},{code:"Symbol",key:"Symbol"},{code:"AltRight",key:"AltGraph"}];var 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 Px(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var At=class{getButtons(){let t=0;for(let r of Object.keys(this.pressed))t|=2**Number(r);return t}down(t){let r=Vs(t.button);if(r in this.pressed){this.pressed[r].push(t);return}return this.pressed[r]=[t],r}up(t){let r=Vs(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(){Px(this,"pressed",{})}},Am={primary:0,secondary:1,auxiliary:2,back:3,X1:3,forward:4,X2:4};function Vs(e=0){return e in Am?Am[e]:Number(e)}var Mm={1:2,2:1};function Cr(e){return e=Vs(e),e in Mm?Mm[e]:e}function Tx(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var ma=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(){Tx(this,"pressedKeys",new Set)}};function ut(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??Y(e).length}:t?{node:t,offset:r??(t.nodeType===3?t.nodeValue.length:t.childNodes.length)}:Om(e,r)}function Om(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 Om(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 km({document:e,target:t,clickCount:r,node:n,offset:o}){if(Tl(t))return;let i=X(t),a=String(i?Y(t):t.textContent),[s,l]=n?[o,o]:Rx(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}),v=t.ownerDocument.createRange();try{v.setStart(u,c),v.setEnd(d,m)}catch{throw new Error("The given offset is out of bounds.")}let P=e.getSelection();return P?.removeAllRanges(),P?.addRange(v.cloneRange()),v}}function Rx(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 Im(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 ba(e,t){var r,n,o,i,a,s,l,u,c,d,m,v,P,C,T,f,h,w,y,g,x,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)!==((v=t.coords)===null||v===void 0?void 0:v.offsetY)||((P=e.coords)===null||P===void 0?void 0:P.pageX)!==((C=t.coords)===null||C===void 0?void 0:C.pageX)||((T=e.coords)===null||T===void 0?void 0:T.pageY)!==((f=t.coords)===null||f===void 0?void 0:f.pageY)||((h=e.coords)===null||h===void 0?void 0:h.screenX)!==((w=t.coords)===null||w===void 0?void 0:w.screenX)||((y=e.coords)===null||y===void 0?void 0:y.screenY)!==((g=t.coords)===null||g===void 0?void 0:g.screenY)||((x=e.caret)===null||x===void 0?void 0:x.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 ct(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var va=class{move(t,r,n){let o=this.position,i=this.getTarget(t);if(this.position=r,!ba(o,r))return;let a=this.getTarget(t),s=this.getEventInit("mousemove"),[l,u]=ut(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&&Cr(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=ut(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=Cr(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=km({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&&Im(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(){ct(this,"position",{}),ct(this,"buttons",new At),ct(this,"selecting",void 0),ct(this,"buttonDownTarget",{}),ct(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(){ct(this,"down",{}),ct(this,"count",{})}})}};function Mt(e,t){var r;return((r=Bm(e,t))===null||r===void 0?void 0:r.pointerEvents)!=="none"}function Sx(e){let t=W(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 Nm=Symbol("Last check for pointer-events");function Bm(e,t){let r=t[Nm];if(!(e.config.pointerEventsCheck!==st.Never&&(!r||Lm(e.config.pointerEventsCheck,st.EachApiCall)&&r[re.Call]!==_r(e,re.Call)||Lm(e.config.pointerEventsCheck,st.EachTrigger)&&r[re.Trigger]!==_r(e,re.Trigger))))return r?.result;let o=Sx(t);return t[Nm]={[re.Call]:_r(e,re.Call),[re.Trigger]:_r(e,re.Trigger),result:o},o}function dt(e,t){let r=Bm(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\`:`,"",xx(r.tree)].join(`
60
- `))}function xx(e){return e.reverse().map((t,r)=>["".padEnd(r),t.tagName,t.id&&`#${t.id}`,t.hasAttribute("data-testid")&&`(testId=${t.getAttribute("data-testid")})`,qx(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 qx(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(S(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(S(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 Lm(e,t){return(e&t)>0}function Oe(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{init(t){let r=this.getTarget(t),[,n]=ut(null,r),o=this.getEventInit();return dt(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,!ba(n,r))return;let i=this.getTarget(t),a=this.getEventInit(-1),[s,l]=ut(o,i);return{leave:()=>{Mt(t,o)&&o!==i&&(t.dispatchUIEvent(o,"pointerout",a),s.forEach(u=>t.dispatchUIEvent(u,"pointerleave",a)))},enter:()=>{dt(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);dt(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);dt(t,n),this.isPrevented=!1,this.isDown=!1,t.dispatchUIEvent(n,"pointerup",this.getEventInit(r))}release(t){let r=this.getTarget(t),[n]=ut(r,null),o=this.getEventInit();Mt(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:Cr(t),buttons:this.buttons.getButtons()}}constructor({pointerId:t,pointerType:r,isPrimary:n},o){Oe(this,"pointerId",void 0),Oe(this,"pointerType",void 0),Oe(this,"isPrimary",void 0),Oe(this,"buttons",void 0),Oe(this,"isMultitouch",!1),Oe(this,"isCancelled",!1),Oe(this,"isDown",!1),Oe(this,"isPrevented",!1),Oe(this,"position",{}),this.pointerId=t,this.pointerType=r,this.isPrimary=n,this.isMultitouch=!n,this.buttons=o}};function Ye(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var ha=class{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){Ye(this,"system",void 0),Ye(this,"mouse",void 0),Ye(this,"buttons",void 0),Ye(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 ma}constructor(){Ye(this,"registry",{})}}),Ye(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 ya({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(){Ye(this,"registry",{}),Ye(this,"nextId",1)}}),this.system=t,this.buttons=new At,this.mouse=new va,this.pointers.new("mouse","mouse",this.buttons)}};function Dm(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Tr=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(){Dm(this,"keyboard",new fa(this)),Dm(this,"pointer",new ha(this))}};async function Fm(e){let t=[];return this.config.skipHover||t.push({target:e}),t.push({keys:"[MouseLeft]",target:e}),this.pointer(t)}async function Um(e){return this.pointer([{target:e},"[MouseLeft][MouseLeft]"])}async function jm(e){return this.pointer([{target:e},"[MouseLeft][MouseLeft][MouseLeft]"])}async function $m(e){return this.pointer({target:e})}async function Hm(e){return dt(this,this.system.pointer.getMouseTarget(this)),this.pointer({target:e.ownerDocument.body})}async function Vm({shift:e}={}){return this.keyboard(e===!0?"{Shift>}{Tab}{/Shift}":e===!1?"[/ShiftLeft][/ShiftRight]{Tab}":"{Tab}")}var Wm={"{":"}","[":"]"};function ga(e,t){let r=0,n=e[r]in Wm?e[r]:"";r+=n.length;let i=new RegExp(`^\\${n}{2}`).test(e)?"":n;return{type:i,...i===""?Ax(e,r,t):Mx(e,r,i,t)}}function Ax(e,t,r){let n=e[t];return zm(n,e,t,r),t+=n.length,{consumedLength:t,descriptor:n,releasePrevious:!1,releaseSelf:!0,repeat:1}}function Mx(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];zm(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=Wm[r],v=e[t]===m?m:"";if(!v)throw new Error(Gm([!c&&"repeat modifier",!d&&"release modifier",`"${m}"`].filter(Boolean).join(" or "),e[t],e,n));return t+=v.length,{consumedLength:t,descriptor:u,releasePrevious:!!s,repeat:c?Math.max(Number(c.substr(1)),1):1,releaseSelf:Ox(d,c)}}function zm(e,t,r,n){if(!e)throw new Error(Gm("key descriptor",t[r],t,n))}function Ox(e,t){if(e)return e==="/";if(t)return!1}function Gm(e,t,r,n){return`Expected ${e} but found "${t??""}" in "${r}"
58
+ `+t),t},wf={debug:ZS,logTestingPlaygroundURL:ex},mI=typeof document<"u"&&document.body?zS(document.body,Ss,wf):Object.keys(Ss).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),wf);function Qe(e,t){return I().eventWrapper(e)}function se(e){let t=Cl(e,jt),r=Ne(e.ownerDocument);(t??e.ownerDocument.body)!==r&&(t?Qe(()=>t.focus()):Qe(()=>r?.blur()),xl(t??e.ownerDocument.body))}function Vf(e){!jt(e)||!(Ne(e.ownerDocument)===e)||Qe(()=>e.blur())}var ie={};ie.click=(e,t,r)=>{let n=t.closest("button,input,label,select,textarea"),o=n&&S(n,"label")&&n.control;if(o&&o!==t)return()=>{jt(o)&&(se(o),r.dispatchEvent(o,_l(e)))};if(S(t,"input",{type:"file"}))return()=>{Vf(t),t.dispatchEvent(new(W(t)).Event("fileDialog")),se(t)}};var St=Symbol("Displayed value in UI"),qe=Symbol("Displayed selection in UI"),ia=Symbol("Initial value to compare on blur");function Wf(e){return typeof e=="object"&&St in e}function zf(e){return!!e&&typeof e=="object"&&qe in e}function Gf(e,t){e[ia]===void 0&&(e[ia]=e.value),e[St]=t,e.value=Object.assign(new String(t),{[St]:!0})}function Y(e){return e[St]===void 0?e.value:String(e[St])}function yr(e){e[St]=void 0}function aa(e){e[ia]=void 0}function Kf(e){return e[ia]}function Xf(e,t){e[qe]=t}function Ee(e,{focusOffset:t,anchorOffset:r=t},n="replace"){let o=Y(e).length,i=d=>Math.max(0,Math.min(o,d)),a=n==="replace"||e[qe]===void 0?i(r):e[qe].anchorOffset,s=i(t),l=Math.min(a,s),u=Math.max(a,s);if(e[qe]={anchorOffset:a,focusOffset:s},e.selectionStart===l&&e.selectionEnd===u)return;let c=Object.assign(new Number(l),{[qe]:!0});try{e.setSelectionRange(c,u)}catch{}}function Ae(e){var t,r,n;let o=(t=e[qe])!==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 Qf(e){return!!e[qe]}function hr(e){e[qe]=void 0}var sa=globalThis.parseInt;function Yf(e){let t=e.replace(/\D/g,"");if(t.length<2)return e;let r=sa(t[0],10),n=sa(t[1],10);if(r>=3||r===2&&n>=4){let o;return r>=3?o=1:o=2,Jf(t,o)}return e.length===2?e:Jf(t,2)}function Jf(e,t){let r=e.slice(0,t),n=Math.min(sa(r,10),23),o=e.slice(t),i=sa(o,10),a=Math.min(i,59);return`${n.toString().padStart(2,"0")}:${a.toString().padStart(2,"0")}`}function Is(e,t){let r=e.cloneNode();return r.value=t,r.value===t}var Zf=(function(e){return e.email="email",e.password="password",e.search="search",e.telephone="telephone",e.text="text",e.url="url",e})(Zf||{});function em(e){var t;let r=(t=e.getAttribute("maxlength"))!==null&&t!==void 0?t:"";return/^\d+$/.test(r)&&Number(r)>=0?Number(r):void 0}function tm(e){return S(e,"textarea")||S(e,"input")&&e.type in Zf}function ca(e,t,r,n){if(ua(e)&&t+r>=0&&t+r<=e.nodeValue.length)return{node:e,offset:t+r};let o=rm(e,t,r);if(o){if(ua(o))return{node:o,offset:r>0?Math.min(1,o.nodeValue.length):Math.max(o.nodeValue.length-1,0)};if(S(o,"br")){let i=rm(o,void 0,r);return i?ua(i)?{node:i,offset:r>0?0:i.nodeValue.length}:r<0&&S(i,"br")?{node:o.parentNode,offset:la(o)}:{node:i.parentNode,offset:la(i)+(r>0?0:1)}:r<0&&n==="deleteContentBackward"?{node:o.parentNode,offset:la(o)}:void 0}else return{node:o.parentNode,offset:la(o)+(r>0?1:0)}}}function rm(e,t,r){let n=Number(t)+(r<0?-1:0);return t!==void 0&&Ns(e)&&n>=0&&n<e.children.length&&(e=e.children[n]),rx(e,r===1?"next":"previous",tx)}function tx(e){if(ua(e))return!0;if(Ns(e)){if(S(e,["input","textarea"]))return e.type!=="hidden";if(S(e,"br"))return!0}return!1}function la(e){let t=0;for(;e.previousSibling;)t++,e=e.previousSibling;return t}function Ns(e){return e.nodeType===1}function ua(e){return e.nodeType===3}function rx(e,t,r){for(;;){var n;let o=e[`${t}Sibling`];if(o){if(e=nx(o,t==="next"?"first":"last"),r(e))return e}else if(e.parentNode&&(!Ns(e.parentNode)||!ue(e.parentNode)&&e.parentNode!==((n=e.ownerDocument)===null||n===void 0?void 0:n.body)))e=e.parentNode;else break}}function nx(e,t){for(;e.hasChildNodes();)e=e[`${t}Child`];return e}var gr=Symbol("Track programmatic changes for React workaround");function ox(e){return Object.getOwnPropertyNames(e).some(t=>t.startsWith("__react"))&&W(e).REACT_VERSION===17}function nm(e){ox(e)&&(e[gr]={previousValue:String(e.value),tracked:[]})}function om(e,t){var r,n;(n=e[gr])===null||n===void 0||(r=n.tracked)===null||r===void 0||r.push(t),e[gr]||(yr(e),Ee(e,{focusOffset:t.length}))}function im(e,t){var r;let n=e[gr];if(e[gr]=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||yr(e),Qf(e)&&Ee(e,{focusOffset:o?t:e.value.length})}function da(e){let t=ix(e);if(t&&X(t))return{type:"input",selection:Ae(t)};let r=t?.ownerDocument.getSelection();return{type:Le(e)&&r?.anchorNode&&Le(r.anchorNode)?"contenteditable":"default",selection:r}}function ix(e){return e.nodeType===1?e:e.parentElement}function am(e){let t=da(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(da(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 lm(e){return S(e,"input")&&["date","time"].includes(e.type)}function _e(e,t,r,n="insertText"){let o=am(t);o&&(!lm(t)&&!e.dispatchUIEvent(t,"beforeinput",{inputType:n,data:r})||("startContainer"in o?ax(e,t,o,r,n):sx(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=ca(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 sx(e,t,r,n,o){let i=n;if(tm(t)){let u=em(t);if(u!==void 0&&n.length>0){let c=r.endOffset-r.startOffset,d=u-t.value.length+c;if(d>0)i=n.substring(0,d);else return}}let{newValue:a,newOffset:s,oldValue:l}=lx(i,t,r,o);a===l&&s===r.startOffset&&s===r.endOffset||S(t,"input",{type:"number"})&&!ux(a)||(Gf(t,a),we({focusNode:t,anchorOffset:s,focusOffset:s}),lm(t)?Is(t,a)&&(sm(e,t,s,{}),e.dispatchUIEvent(t,"change"),aa(t)):sm(e,t,s,{data:n,inputType:o}))}function lx(e,t,{startOffset:r,endOffset:n},o){let i=Y(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(S(t,"input",{type:"time"})){let m=Yf(c);m!==""&&Is(t,m)&&(c=m,d=m.length)}return{oldValue:i,newValue:c,newOffset:d}}function sm(e,t,r,n){e.dispatchUIEvent(t,"input",n),im(t,r)}function ux(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?ue(e)?e.textContent:Y(e):null}function cm(e){let t=W(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 dm(e,t){let r=e.ownerDocument,n=r.querySelectorAll(Br),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=S(e,"input",{type:"radio"})?e.name:void 0;o.forEach(l=>{let u=l;if(S(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=>!S(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||cm(a[l]))return a[l]}function Ls(e,t){if(X(e)){let r=Ae(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=ca(r.focusNode,r.focusOffset,t);n&&we({focusNode:n.node,focusOffset:n.offset})}else r[t<0?"collapseToStart":"collapseToEnd"]()}}function pa(e){var t;if(X(e))return we({focusNode:e,anchorOffset:0,focusOffset:Y(e).length});let r=(t=Le(e))!==null&&t!==void 0?t:e.ownerDocument.body;we({focusNode:r,anchorOffset:0,focusOffset:r.childNodes.length})}function pm(e){var t;if(X(e))return Ae(e).startOffset===0&&Ae(e).endOffset===Y(e).length;let r=(t=Le(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 it(e,t,r){var n;if(X(e))return we({focusNode:e,anchorOffset:t,focusOffset:r});if(ue(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 Er(e,t,r){let n=W(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=fm[e.key])===null||o===void 0?void 0:o.call(fm,e,t,r))!==null&&n!==void 0?n:cx(e,t,r)};var fm={ArrowDown:(e,t,r)=>{if(S(t,"input",{type:"radio"}))return()=>Er(r,t,1)},ArrowLeft:(e,t,r)=>S(t,"input",{type:"radio"})?()=>Er(r,t,-1):()=>Ls(t,-1),ArrowRight:(e,t,r)=>S(t,"input",{type:"radio"})?()=>Er(r,t,1):()=>Ls(t,1),ArrowUp:(e,t,r)=>{if(S(t,"input",{type:"radio"}))return()=>Er(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(S(t,["input","textarea"])||ue(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;it(t,o,o)}},Home:(e,t)=>{if(S(t,["input","textarea"])||ue(t))return()=>{it(t,0,0)}},PageDown:(e,t)=>{if(S(t,["input"]))return()=>{let r=Y(t).length;it(t,r,r)}},PageUp:(e,t)=>{if(S(t,["input"]))return()=>{it(t,0,0)}},Tab:(e,t,r)=>()=>{let n=dm(yt(r.config.document),r.system.keyboard.modifiers.Shift);se(n),X(n)&&Ee(n,{anchorOffset:0,focusOffset:n.value.length})}},cx=(e,t,r)=>{if(e.code==="KeyA"&&r.system.keyboard.modifiers.Control)return()=>pa(t)};ie.keypress=(e,t,r)=>{if(e.key==="Enter"){if(S(t,"button")||S(t,"input")&&dx.includes(t.type)||S(t,"a")&&t.href)return()=>{r.dispatchUIEvent(t,"click")};if(S(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&&px.includes(t.type)&&n.querySelectorAll("input").length===1?()=>r.dispatchUIEvent(n,"submit"):void 0}}if(ve(t)){let n=e.key==="Enter"?ue(t)&&!r.system.keyboard.modifiers.Shift?"insertParagraph":"insertLineBreak":"insertText",o=e.key==="Enter"?`
59
+ `:e.key;return()=>_e(r,t,o,n)}};var dx=["button","color","file","image","reset","submit"],px=["email","month","password","search","tel","text","url","week"];ie.keyup=(e,t,r)=>{var n;return(n=mm[e.key])===null||n===void 0?void 0:n.call(mm,e,t,r)};var mm={" ":(e,t,r)=>{if(Dr(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 Bs={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 bm(e){return Bs[e].EventType}var fx=["MouseEvent","PointerEvent"];function vm(e){return fx.includes(bm(e))}function ym(e){return bm(e)==="KeyboardEvent"}var mx={ClipboardEvent:[vx],Event:[],FocusEvent:[wr,yx],InputEvent:[wr,hx],MouseEvent:[wr,Ds,hm],PointerEvent:[wr,Ds,hm,Ex],KeyboardEvent:[wr,Ds,gx]};function Fs(e,t,r){let n=W(t),{EventType:o,defaultInit:i}=Bs[e],a=new(bx(n))[o](e,i);return mx[o].forEach(s=>s(a,r??{})),a}function bx(e){var t,r,n,o,i,a,s,l,u,c,d,m,v,P,C;let T=(t=e.Event)!==null&&t!==void 0?t:class{},f=(r=e.AnimationEvent)!==null&&r!==void 0?r:class extends T{},h=(n=e.ClipboardEvent)!==null&&n!==void 0?n:class extends T{},E=(o=e.PopStateEvent)!==null&&o!==void 0?o:class extends T{},y=(i=e.ProgressEvent)!==null&&i!==void 0?i:class extends T{},g=(a=e.TransitionEvent)!==null&&a!==void 0?a:class extends T{},x=(s=e.UIEvent)!==null&&s!==void 0?s:class extends T{},R=(l=e.CompositionEvent)!==null&&l!==void 0?l:class extends x{},H=(u=e.FocusEvent)!==null&&u!==void 0?u:class extends x{},F=(c=e.InputEvent)!==null&&c!==void 0?c:class extends x{},z=(d=e.KeyboardEvent)!==null&&d!==void 0?d:class extends x{},K=(m=e.MouseEvent)!==null&&m!==void 0?m:class extends x{},_=(v=e.DragEvent)!==null&&v!==void 0?v:class extends K{},B=(P=e.PointerEvent)!==null&&P!==void 0?P:class extends K{},Z=(C=e.TouchEvent)!==null&&C!==void 0?C:class extends x{};return{Event:T,AnimationEvent:f,ClipboardEvent:h,PopStateEvent:E,ProgressEvent:y,TransitionEvent:g,UIEvent:x,CompositionEvent:R,FocusEvent:H,InputEvent:F,KeyboardEvent:z,MouseEvent:K,DragEvent:_,PointerEvent:B,TouchEvent:Z}}function Je(e,t){for(let[r,n]of Object.entries(t))Object.defineProperty(e,r,{get:()=>n??null})}function G(e){return Number(e??0)}function vx(e,{clipboardData:t}){Je(e,{clipboardData:t})}function yx(e,{relatedTarget:t}){Je(e,{relatedTarget:t})}function hx(e,{data:t,inputType:r,isComposing:n}){Je(e,{data:t,isComposing:!!n,inputType:String(r)})}function wr(e,{view:t,detail:r}){Je(e,{view:t,detail:G(r??0)})}function Ds(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}){Je(e,{altKey:!!t,ctrlKey:!!r,metaKey:!!n,shiftKey:!!o,getModifierState(v){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}[v]}})}function gx(e,{key:t,code:r,location:n,repeat:o,isComposing:i,charCode:a}){Je(e,{key:String(t),code:String(r),location:G(n),repeat:!!o,isComposing:!!i,charCode:a})}function hm(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:v}){Je(e,{screenX:G(n),screenY:G(o),clientX:G(i),x:G(i),clientY:G(a),y:G(a),button:G(s),buttons:G(l),relatedTarget:u,offsetX:G(c),offsetY:G(d),pageX:G(m),pageY:G(v)})}function Ex(e,{pointerId:t,width:r,height:n,pressure:o,tangentialPressure:i,tiltX:a,tiltY:s,twist:l,pointerType:u,isPrimary:c,buttons:d}){Je(e,{pointerId:G(t),width:G(r??1),height:G(n??1),pressure:G(o??(d?.5:0)),tangentialPressure:G(i),tiltX:G(a),tiltY:G(s),twist:G(l),pointerType:String(u??""),isPrimary:!!c})}function gm(e,t,r,n=!1){(vm(t)||ym(t))&&(r={...r,...this.system.getUIEventModifiers()});let o=Fs(t,e,r);return Us.call(this,e,o,n)}function Us(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 Me(e,t,r){let n=Fs(t,e,r);Qe(()=>e.dispatchEvent(n))}var Em=Symbol("patched focus/blur methods");function js(e){if(e.prototype[Em])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},[Em]:{configurable:!0,get:()=>({focus:t,blur:r})}});let n;function o(a){if(this.ownerDocument.visibilityState!=="hidden")return t.call(this,a);let s=wm(this.ownerDocument);if(s===this)return;let l=Symbol("focus call");n=l,s&&(r.call(s),Me(s,"blur",{relatedTarget:this}),Me(s,"focusout",{relatedTarget:n===l?this:null})),n===l&&(t.call(this,a),Me(this,"focus",{relatedTarget:s})),n===l&&Me(this,"focusin",{relatedTarget:s})}function i(){if(this.ownerDocument.visibilityState!=="hidden")return r.call(this);let a=wm(this.ownerDocument);if(a!==this)return;n=Symbol("blur call"),r.call(this),Me(a,"blur",{relatedTarget:null}),Me(a,"focusout",{relatedTarget:null})}}function wm(e){let t=Ne(e);return t?.tagName==="BODY"?null:t}var $s=Symbol("Interceptor for programmatical calls");function xt(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][$s])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[$s]=$s,Object.defineProperty(e,t,{...o??n,[i]:a})}function _m(e){xt(e,"value",function(r){let n=Wf(r);return n&&nm(this),{applyNative:!!n,realArgs:wx(this,r),then:n?void 0:()=>om(this,String(r))}})}function wx(e,t){return S(e,"input",{type:"number"})&&String(t)!==""&&!Number.isNaN(Number(t))?String(Number(t)):String(t)}function Cm(e){xt(e,"setSelectionRange",function(r,...n){let o=zf(r);return{applyNative:!!o,realArgs:[Number(r),...n],then:()=>o?void 0:hr(e)}}),xt(e,"selectionStart",function(r){return{realArgs:r,then:()=>hr(e)}}),xt(e,"selectionEnd",function(r){return{realArgs:r,then:()=>hr(e)}}),xt(e,"select",function(){return{realArgs:[],then:()=>Xf(e,{anchorOffset:0,focusOffset:Y(e).length})}})}function Pm(e){xt(e,"setRangeText",function(...r){return{realArgs:r,then:()=>{yr(e),hr(e)}}})}var qt=Symbol("Node prepared with document state workarounds");function Hs(e){e[qt]||(e.addEventListener("focus",t=>{let r=t.target;Tm(r)},{capture:!0,passive:!0}),e.activeElement&&Tm(e.activeElement),e.addEventListener("blur",t=>{let r=t.target,n=Kf(r);n!==void 0&&(r.value!==n&&Me(r,"change"),aa(r))},{capture:!0,passive:!0}),e[qt]=qt)}function Tm(e){e[qt]||(S(e,["input","textarea"])&&(_m(e),Cm(e),Pm(e)),e[qt]=qt)}function Rm(e){return _x(e)?e:e.ownerDocument}function _x(e){return e.nodeType===9}var re=(function(e){return e[e.Trigger=2]="Trigger",e[e.Call=1]="Call",e})({});function at(e,t){e.levelRefs[t]={}}function _r(e,t){return e.levelRefs[t]}function Te(e){let t=e.delay;if(typeof t=="number")return Promise.all([new Promise(r=>globalThis.setTimeout(()=>r(),t)),e.advanceTimers(t)])}var st=(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 lt(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})({}),Cx=["Alt","AltGraph","Control","Fn","Meta","Shift","Symbol"];function Sm(e){return Cx.includes(e)}var Px=["CapsLock","FnLock","NumLock","ScrollLock","SymbolLock"];function xm(e){return Px.includes(e)}var fa=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=yt(t.config.document);this.setKeydownTarget(a),this.pressed.add(i,r),Sm(o)&&(this.modifiers[o]=!0);let s=t.dispatchUIEvent(a,"keydown",{key:o,code:i,repeat:n});xm(o)&&!this.modifiers[o]&&(this.modifiers[o]=!0,this.modifierLockStart[o]=!0),s&&this.pressed.setUnprevented(i),s&&this.hasKeyPress(o)&&t.dispatchUIEvent(yt(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),Sm(n)&&!this.pressed.values().find(a=>a.keyDef.key===n)&&(this.modifiers[n]=!1),t.dispatchUIEvent(yt(t.config.document),"keyup",{key:n,code:o},!i),xm(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){lt(this,"system",void 0),lt(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}),lt(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(){lt(this,"registry",{})}}),lt(this,"carryChar",""),lt(this,"lastKeydownTarget",void 0),lt(this,"modifierLockStart",{}),this.system=t}};var qm=[..."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 Am=[{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 Tx(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var At=class{getButtons(){let t=0;for(let r of Object.keys(this.pressed))t|=2**Number(r);return t}down(t){let r=Vs(t.button);if(r in this.pressed){this.pressed[r].push(t);return}return this.pressed[r]=[t],r}up(t){let r=Vs(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(){Tx(this,"pressed",{})}},Mm={primary:0,secondary:1,auxiliary:2,back:3,X1:3,forward:4,X2:4};function Vs(e=0){return e in Mm?Mm[e]:Number(e)}var km={1:2,2:1};function Cr(e){return e=Vs(e),e in km?km[e]:e}function Rx(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var ma=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(){Rx(this,"pressedKeys",new Set)}};function ut(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??Y(e).length}:t?{node:t,offset:r??(t.nodeType===3?t.nodeValue.length:t.childNodes.length)}:Om(e,r)}function Om(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 Om(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 Im({document:e,target:t,clickCount:r,node:n,offset:o}){if(Rl(t))return;let i=X(t),a=String(i?Y(t):t.textContent),[s,l]=n?[o,o]:Sx(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}),v=t.ownerDocument.createRange();try{v.setStart(u,c),v.setEnd(d,m)}catch{throw new Error("The given offset is out of bounds.")}let P=e.getSelection();return P?.removeAllRanges(),P?.addRange(v.cloneRange()),v}}function Sx(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 Nm(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 ba(e,t){var r,n,o,i,a,s,l,u,c,d,m,v,P,C,T,f,h,E,y,g,x,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)!==((v=t.coords)===null||v===void 0?void 0:v.offsetY)||((P=e.coords)===null||P===void 0?void 0:P.pageX)!==((C=t.coords)===null||C===void 0?void 0:C.pageX)||((T=e.coords)===null||T===void 0?void 0:T.pageY)!==((f=t.coords)===null||f===void 0?void 0:f.pageY)||((h=e.coords)===null||h===void 0?void 0:h.screenX)!==((E=t.coords)===null||E===void 0?void 0:E.screenX)||((y=e.coords)===null||y===void 0?void 0:y.screenY)!==((g=t.coords)===null||g===void 0?void 0:g.screenY)||((x=e.caret)===null||x===void 0?void 0:x.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 ct(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var va=class{move(t,r,n){let o=this.position,i=this.getTarget(t);if(this.position=r,!ba(o,r))return;let a=this.getTarget(t),s=this.getEventInit("mousemove"),[l,u]=ut(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&&Cr(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=ut(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=Cr(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=Im({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&&Nm(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(){ct(this,"position",{}),ct(this,"buttons",new At),ct(this,"selecting",void 0),ct(this,"buttonDownTarget",{}),ct(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(){ct(this,"down",{}),ct(this,"count",{})}})}};function Mt(e,t){var r;return((r=Dm(e,t))===null||r===void 0?void 0:r.pointerEvents)!=="none"}function xx(e){let t=W(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 Lm=Symbol("Last check for pointer-events");function Dm(e,t){let r=t[Lm];if(!(e.config.pointerEventsCheck!==st.Never&&(!r||Bm(e.config.pointerEventsCheck,st.EachApiCall)&&r[re.Call]!==_r(e,re.Call)||Bm(e.config.pointerEventsCheck,st.EachTrigger)&&r[re.Trigger]!==_r(e,re.Trigger))))return r?.result;let o=xx(t);return t[Lm]={[re.Call]:_r(e,re.Call),[re.Trigger]:_r(e,re.Trigger),result:o},o}function dt(e,t){let r=Dm(e,t);if(r?.pointerEvents==="none")throw new Error([`Unable to perform pointer interaction as the element ${r.tree.length>1?"inherits":"has"} \`pointer-events: none\`:`,"",qx(r.tree)].join(`
60
+ `))}function qx(e){return e.reverse().map((t,r)=>["".padEnd(r),t.tagName,t.id&&`#${t.id}`,t.hasAttribute("data-testid")&&`(testId=${t.getAttribute("data-testid")})`,Ax(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 Ax(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(S(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(S(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 Bm(e,t){return(e&t)>0}function ke(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{init(t){let r=this.getTarget(t),[,n]=ut(null,r),o=this.getEventInit();return dt(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,!ba(n,r))return;let i=this.getTarget(t),a=this.getEventInit(-1),[s,l]=ut(o,i);return{leave:()=>{Mt(t,o)&&o!==i&&(t.dispatchUIEvent(o,"pointerout",a),s.forEach(u=>t.dispatchUIEvent(u,"pointerleave",a)))},enter:()=>{dt(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);dt(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);dt(t,n),this.isPrevented=!1,this.isDown=!1,t.dispatchUIEvent(n,"pointerup",this.getEventInit(r))}release(t){let r=this.getTarget(t),[n]=ut(r,null),o=this.getEventInit();Mt(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:Cr(t),buttons:this.buttons.getButtons()}}constructor({pointerId:t,pointerType:r,isPrimary:n},o){ke(this,"pointerId",void 0),ke(this,"pointerType",void 0),ke(this,"isPrimary",void 0),ke(this,"buttons",void 0),ke(this,"isMultitouch",!1),ke(this,"isCancelled",!1),ke(this,"isDown",!1),ke(this,"isPrevented",!1),ke(this,"position",{}),this.pointerId=t,this.pointerType=r,this.isPrimary=n,this.isMultitouch=!n,this.buttons=o}};function Ye(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var ha=class{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){Ye(this,"system",void 0),Ye(this,"mouse",void 0),Ye(this,"buttons",void 0),Ye(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 ma}constructor(){Ye(this,"registry",{})}}),Ye(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 ya({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(){Ye(this,"registry",{}),Ye(this,"nextId",1)}}),this.system=t,this.buttons=new At,this.mouse=new va,this.pointers.new("mouse","mouse",this.buttons)}};function Fm(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Tr=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(){Fm(this,"keyboard",new fa(this)),Fm(this,"pointer",new ha(this))}};async function Um(e){let t=[];return this.config.skipHover||t.push({target:e}),t.push({keys:"[MouseLeft]",target:e}),this.pointer(t)}async function jm(e){return this.pointer([{target:e},"[MouseLeft][MouseLeft]"])}async function $m(e){return this.pointer([{target:e},"[MouseLeft][MouseLeft][MouseLeft]"])}async function Hm(e){return this.pointer({target:e})}async function Vm(e){return dt(this,this.system.pointer.getMouseTarget(this)),this.pointer({target:e.ownerDocument.body})}async function Wm({shift:e}={}){return this.keyboard(e===!0?"{Shift>}{Tab}{/Shift}":e===!1?"[/ShiftLeft][/ShiftRight]{Tab}":"{Tab}")}var zm={"{":"}","[":"]"};function ga(e,t){let r=0,n=e[r]in zm?e[r]:"";r+=n.length;let i=new RegExp(`^\\${n}{2}`).test(e)?"":n;return{type:i,...i===""?Mx(e,r,t):kx(e,r,i,t)}}function Mx(e,t,r){let n=e[t];return Gm(n,e,t,r),t+=n.length,{consumedLength:t,descriptor:n,releasePrevious:!1,releaseSelf:!0,repeat:1}}function kx(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];Gm(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=zm[r],v=e[t]===m?m:"";if(!v)throw new Error(Km([!c&&"repeat modifier",!d&&"release modifier",`"${m}"`].filter(Boolean).join(" or "),e[t],e,n));return t+=v.length,{consumedLength:t,descriptor:u,releasePrevious:!!s,repeat:c?Math.max(Number(c.substr(1)),1):1,releaseSelf:Ox(d,c)}}function Gm(e,t,r,n){if(!e)throw new Error(Km("key descriptor",t[r],t,n))}function Ox(e,t){if(e)return e==="/";if(t)return!1}function Km(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 Km(e,t){let r=[];do{var n;let{type:o,descriptor:i,consumedLength:a,releasePrevious:s,releaseSelf:l=!0,repeat:u}=ga(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 v;return((v=d.key)===null||v===void 0?void 0:v.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 Xm(e){let t=Km(this.config.keyboardMap,e);for(let r=0;r<t.length;r++)await Te(this.config),await kx(this,t[r])}async function kx(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 Te(e.config);n&&await i.keyboard.keyup(e,t)}}async function Qm(e){for(let t of e.system.keyboard.getPressedKeys())await e.system.keyboard.keyup(e,t)}function Ea(e){let t=X(e)?{"text/plain":Ix(e)}:{"text/plain":String(e.ownerDocument.getSelection())},r=bt(W(e));for(let n in t)t[n]&&r.setData(n,t[n]);return r}function Ix(e){let t=Ae(e);return Y(e).substring(t.startOffset,t.endOffset)}async function Jm(){var e;let t=this.config.document,r=(e=t.activeElement)!==null&&e!==void 0?e:t.body,n=Ea(r);if(n.items.length!==0)return this.dispatchUIEvent(r,"copy",{clipboardData:n})&&this.config.writeToClipboard&&await Lr(t,n),n}async function Ym(){var e;let t=this.config.document,r=(e=t.activeElement)!==null&&e!==void 0?e:t.body,n=Ea(r);if(n.items.length!==0)return this.dispatchUIEvent(r,"cut",{clipboardData:n})&&this.config.writeToClipboard&&await Lr(r.ownerDocument,n),n}async function Zm(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"?Nx(n,e):e)!==null&&r!==void 0?r:await El(n).catch(()=>{throw new Error("`userEvent.paste()` without `clipboardData` requires the `ClipboardAPI` to be available.")});this.dispatchUIEvent(o,"paste",{clipboardData:i})}function Nx(e,t){let r=bt(W(e));return r.setData("text",t),r}function Ws(e,t){let r=[];do{let{descriptor:n,consumedLength:o,releasePrevious:i,releaseSelf:a=!0}=ga(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(...Ws(t,n)):"keys"in n?r.push(...Ws(t,n.keys).map(o=>({...n,...o}))):r.push(n)});for(let n=0;n<r.length;n++)await Te(this.config),await Lx(this,r[n]);this.system.pointer.resetClickCount()}async function Lx(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:Bx(e,u),coords:(n=t.coords)!==null&&n!==void 0?n:u?.coords,caret:{node:(o=t.node)!==null&&o!==void 0?o:eb(t)||u==null||(a=u.caret)===null||a===void 0?void 0:a.node,offset:(i=t.offset)!==null&&i!==void 0?i:eb(t)||u==null||(s=u.caret)===null||s===void 0?void 0:s.offset}};"keyDef"in t?(e.system.pointer.isKeyPressed(t.keyDef)&&(at(e,re.Trigger),await e.system.pointer.release(e,t.keyDef,c)),t.releasePrevious||(at(e,re.Trigger),await e.system.pointer.press(e,t.keyDef,c),t.releaseSelf&&(at(e,re.Trigger),await e.system.pointer.release(e,t.keyDef,c)))):(at(e,re.Trigger),await e.system.pointer.move(e,l,c))}function eb(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 Bx(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 rb(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(pa(e),!dm(e))throw new Error("The element content to be cleared could not be selected.");_e(this,e,"","deleteContentBackward")}async function nb(e,t){return ib.call(this,!0,e,t)}async function ob(e,t){return ib.call(this,!1,e,t)}async function ib(e,t,r){if(!e&&!t.multiple)throw I().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 I().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(S(t,"select"))if(t.multiple)for(let s of i){let l=this.config.pointerEventsCheck===0?!0:Mt(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 Te(this.config)}else if(i.length===1){let s=this.config.pointerEventsCheck===0?!0:Mt(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 Te(this.config)}else throw I().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 I().getElementError("Cannot select options on elements that are neither select nor listbox elements",t)}async function ab(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&&it(e,o,i??o),await this.keyboard(t),n||await Qm(this))}var sb=Symbol("files and value properties are mocked");function zs(e,t,r){r?Object.defineProperty(e,t,r):delete e[t]}function lb(e,t){var r;(r=e[sb])===null||r===void 0||r.restore();let n=Object.getOwnPropertyDescriptor(e,"type"),o=Object.getOwnPropertyDescriptor(e,"value"),i=Object.getOwnPropertyDescriptor(e,"files");function a(){zs(e,"type",n),zs(e,"value",o),zs(e,"files",i)}e[sb]={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 ub(e,t){let r=S(e,"label")?e.control:e;if(!r||!S(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||Dx(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))})||(lb(r,Ft(W(e),n)),this.dispatchUIEvent(r,"input"),this.dispatchUIEvent(r,"change"))};r.addEventListener("fileDialog",o),await this.click(e),r.removeEventListener("fileDialog",o)}function wa(e){return e.toLowerCase().replace(/(\.|\/)jpg\b/g,"$1jpeg")}function Dx(e,t){if(!t)return!0;let r=["audio/*","image/*","video/*"];return wa(t).trim().split(/\s*,\s*/).some(n=>n.startsWith(".")?wa(e.name).endsWith(n):r.includes(n)?wa(e.type).startsWith(n.replace("*","")):wa(e.type)===n)}var Gs={click:Fm,dblClick:Um,tripleClick:jm,hover:$m,unhover:Hm,tab:Vm,keyboard:Xm,copy:Jm,cut:Ym,paste:Zm,pointer:tb,clear:rb,deselectOptions:ob,selectOptions:nb,type:ab,upload:ub};function cb(e){return I().asyncWrapper(e)}var db={applyAccept:!0,autoModify:!0,delay:0,document:globalThis.document,keyboardMap:xm,pointerMap:qm,pointerEventsCheck:st.EachApiCall,skipAutoClose:!1,skipClick:!1,skipHover:!1,writeToClipboard:!1,advanceTimers:()=>Promise.resolve()},Fx={...db,writeToClipboard:!0};function pb(e={},t=Fx,r){let n=$x(e,r,t);return{...t,...e,document:n}}function fb(e={}){var t;let r=pb(e);Hs(r.document),js(W(r.document).HTMLElement);let n=(t=r.document.defaultView)!==null&&t!==void 0?t:globalThis.window;return gl(n),Ks(r).api}function ee({keyboardState:e,pointerState:t,...r}={},n){var o;let i=pb(r,db,n);Hs(i.document),js(W(i.document).HTMLElement);let a=(o=t??e)!==null&&o!==void 0?o:new Tr;return{api:Ks(i,a).api,system:a}}function Ux(e){return Ks({...this.config,...e},this.system).api}function jx(e,t){function r(...n){return at(e,re.Call),cb(()=>t.apply(e,n).then(async o=>(await Te(e.config),o)))}return Object.defineProperty(r,"name",{get:()=>t.name}),r}function Ks(e,t=new Tr){let r={};return Object.assign(r,{config:e,dispatchEvent:Us.bind(r),dispatchUIEvent:hm.bind(r),system:t,levelRefs:{},...Gs}),{instance:r,api:{...Object.fromEntries(Object.entries(Gs).map(([n,o])=>[n,jx(r,o)])),setup:Ux.bind(r)}}}function $x(e,t,r){var n,o;return(n=(o=e.document)!==null&&o!==void 0?o:t&&Tm(t))!==null&&n!==void 0?n:r.document}var Xs={};Ab(Xs,{clear:()=>Hx,click:()=>Vx,copy:()=>Wx,cut:()=>zx,dblClick:()=>Gx,deselectOptions:()=>Kx,hover:()=>Xx,keyboard:()=>Qx,paste:()=>Yx,pointer:()=>Jx,selectOptions:()=>Zx,tab:()=>oq,tripleClick:()=>eq,type:()=>tq,unhover:()=>rq,upload:()=>nq});function Hx(e){return ee().api.clear(e)}function Vx(e,t={}){return ee(t,e).api.click(e)}function Wx(e={}){return ee(e).api.copy()}function zx(e={}){return ee(e).api.cut()}function Gx(e,t={}){return ee(t).api.dblClick(e)}function Kx(e,t,r={}){return ee(r).api.deselectOptions(e,t)}function Xx(e,t={}){return ee(t).api.hover(e)}async function Qx(e,t={}){let{api:r,system:n}=ee(t);return r.keyboard(e).then(()=>n)}async function Jx(e,t={}){let{api:r,system:n}=ee(t);return r.pointer(e).then(()=>n)}function Yx(e,t){return ee(t).api.paste(e)}function Zx(e,t,r={}){return ee(r).api.selectOptions(e,t)}function eq(e,t={}){return ee(t).api.tripleClick(e)}function tq(e,t,r={}){return ee(r,e).api.type(e,t,r)}function rq(e,t={}){let{api:r,system:n}=ee(t);return n.pointer.setMousePosition({target:e}),r.unhover(e)}function nq(e,t,r={}){return ee(r).api.upload(e,t)}function oq(e={}){return ee().api.tab(e)}var _a={...Xs,setup:fb};var mb=!1,bb=!1,Qs=null;function iq(e){return new Promise(t=>setTimeout(t,e))}function vb(e){try{if(typeof e=="string")return new URL(e,aq()).href;if(e instanceof URL)return e.href;if(typeof Request<"u"&&e instanceof Request)return e.url}catch{}return String(e)}function aq(){try{if(typeof location<"u"&&location.href)return location.href}catch{}return"http://localhost/"}function sq(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 lq(e,t){let r=t?.body;if(typeof r=="string")return r;try{if(typeof Request<"u"&&e instanceof Request)return}catch{}}function uq(e){let t=Mr(e.headers),r={};for(let n of t)r[n.name]=n.value;return new Response(Dt(e.body),{status:e.statusCode,headers:r})}async function cq(e,t,r){let n=vb(t),o=sq(t,r),i=Nt(Qs?.()??[],n,o);if(!i)return e(t,r);let a={url:n,method:o,headers:void 0,postData:lq(t,r),timestamp:Date.now()};if(Lt(i,a),i.aborted)throw new TypeError(`Spectra.intercept() aborted ${o} ${n} (${i.abortReason||"Failed"})`);let s=Bt(i);return s.delayMs&&s.delayMs>0&&await iq(s.delayMs),uq(s)}function dq(){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=vb(l);let[c=!0,d,m]=u;return i(s,l,c,d,m)},r.send=s=>{let l=Nt(Qs?.()??[],o,n);if(!l)return a(s);let u={url:o,method:n,headers:void 0,postData:typeof s=="string"?s:void 0,timestamp:Date.now()};Lt(l,u);let c=()=>{r.dispatchEvent(new Event("error"))};if(l.aborted){setTimeout(c,0);return}let d=Bt(l),m=()=>{let v=Dt(d.body);Object.defineProperties(r,{status:{value:d.statusCode,configurable:!0},statusText:{value:d.statusCode===200?"OK":`${d.statusCode} Mocked`,configurable:!0},responseText:{value:v,configurable:!0},response:{value:v,configurable:!0},readyState:{value:4,configurable:!0}}),r.dispatchEvent(new Event("readystatechange")),r.dispatchEvent(new Event("load")),r.dispatchEvent(new Event("loadend"))};d.delayMs&&d.delayMs>0?setTimeout(m,d.delayMs):setTimeout(m,0)},r}t.prototype=e.prototype,globalThis.XMLHttpRequest=t}function yb(e){if(Qs=e,!mb&&typeof globalThis.fetch=="function"){let t=globalThis.fetch.bind(globalThis);globalThis.fetch=(r,n)=>cq(t,r,n),mb=!0}!bb&&typeof globalThis.XMLHttpRequest=="function"&&(dq(),bb=!0)}function Ot(){return _a.setup({delay:null})}function Ca(e){return ll(e.trim())??e.trim()}function Eb(e,t){let r=Ca(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=Aa(e.trim());return i?ul(i.name,document,t):null}function pt(e){return typeof e=="string"?e:e.selector}function hb(e,t){let r=sl(e);if(!r)return;let n=t?{selector:r.base,index:null,parent:t}:r.base,o=V(n,null);return o?r.kind==="parent"?o.parentElement??null:o.closest(r.arg)??null:null}function V(e,t){if(typeof e=="string"){let s=hb(e,void 0);return s!==void 0?s:Eb(e,t)}let r=hb(e.selector,e.parent);if(r!==void 0)return r;let n=e.parent?V(e.parent,e.parent.index):document.documentElement;if(!n)return null;let o=Ca(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 gb(e){let t=e.tagName;return t==="INPUT"||t==="TEXTAREA"||t==="SELECT"}var Pa=class{mockRules=[];consoleErrors=[];recordedNetwork=[];async waitForScopedEl(t,r){let n=V(t,r);if(n)return n;let o=null;if(!await globalThis.__TS_RUNTIME__.pollCondition(async()=>(o=V(t,r),o!==null),globalThis.__TS_RUNTIME__.getImplicitWaitMs())||!o)throw new Error("Element not found: "+pt(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 Ot().click(n)}async doubleClick(t,r=null){let n=await this.waitForScopedEl(t,r);await Ot().dblClick(n)}async rightClick(t,r=null){let n=await this.waitForScopedEl(t,r);await Ot().pointer({keys:"[MouseRight]",target:n})}async setValue(t,r,n=null){let o=await this.waitForScopedEl(t,n);if(!gb(o))throw new Error("Element is not a form field: "+pt(t));if(o.tagName==="INPUT"&&o.type==="file")return this.upload(t,r,n);let i=Ot();await i.clear(o),String(r).length>0&&await i.type(o,String(r))}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(","),v=l.slice(0,m),P=l.slice(m+1),C=v.match(/data:([^;]+)/);C&&(c=C[1]);let T=v.match(/(?:name|filename)=([^;]+)/i);T?u=decodeURIComponent(T[1]):u=`fixture.${c.split("/")[1]||"bin"}`;try{let f=atob(P),h=new Uint8Array(f.length);for(let w=0;w<f.length;w++)h[w]=f.charCodeAt(w);d=new Blob([h],{type:c})}catch{d=new Blob([P],{type:c})}}else{u=l.split("?")[0].split("#")[0].split("/").pop()?.split("\\").pop()||"fixture.bin";let v=u.split(".").pop()?.toLowerCase()||"";c=s[v]||"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),v=new Uint8Array(m.length);for(let P=0;P<m.length;P++)v[P]=m.charCodeAt(P);d=new Blob([v],{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 Ot().clear(n)}async select(t,r,n=null){if(!await globalThis.__TS_RUNTIME__.pollCondition(async()=>{let i=V(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 Ot().hover(n)}async focus(t,r=null){if(!await globalThis.__TS_RUNTIME__.pollCondition(async()=>{let o=V(t,r);return o?(o.focus?.(),!0):!1}))throw new Error("Element not found: "+pt(t))}async blur(t,r=null){if(!await globalThis.__TS_RUNTIME__.pollCondition(async()=>{let o=V(t,r);return o?(o.blur?.(),!0):!1}))throw new Error("Element not found: "+pt(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: "+pt(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: "+pt(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=V(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=V(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=V(t,n),i=Eb(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=V(t,n);if(!o)throw new Error("Element not found: "+pt(t));o.dispatchEvent(new TouchEvent("touchstart",{bubbles:!0})),await this.pause(r),o.dispatchEvent(new TouchEvent("touchend",{bubbles:!0}))}async scrollIntoView(t,r=null){V(t,r)?.scrollIntoView({block:"center",inline:"center"})}async getText(t,r=null){let n=V(t,r);return n?n.innerText!==void 0?n.innerText:n.textContent||"":""}async getValue(t,r=null){let n=V(t,r);return n?gb(n)?n.value??"":n.getAttribute("value")||"":""}async isDisplayed(t,r=null){let n=V(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 V(t,r)!==null}async isEnabled(t,r=null){let n=V(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=V(t,r);return n?!!n.checked||n.getAttribute("aria-checked")==="true"||n.getAttribute("data-state")==="checked":!1}async isFocused(t,r=null){let n=V(t,r);return n?document.activeElement===n||n.matches(":focus"):!1}async isClickable(t,r=null){let n=V(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=V(t,n);return o?o.classList.contains(r):!1}async getAttribute(t,r,n=null){let o=V(t,n);return o?o.getAttribute(r):null}async getCSSProperty(t,r,n=null){let o=V(t,n);return{value:o?window.getComputedStyle(o).getPropertyValue(r):""}}async count(t){if(typeof t=="string")return document.querySelectorAll(Ca(t)).length;let r=t.parent?V(t.parent,t.parent.index):document.documentElement;return r?r.querySelectorAll(Ca(t.selector)).length:0}async pressKey(t){let r=document.activeElement||document.body,n=String(t);r.dispatchEvent(new KeyboardEvent("keydown",{key:n,bubbles:!0})),r.dispatchEvent(new KeyboardEvent("keyup",{key:n,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){return typeof t=="function"?t(...r):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=Ar(t,r,n,o);return yb(()=>this.mockRules),this.mockRules.push(i),qr(i)}clearMocks(){this.mockRules=[]}};var Ta="spectra-root",ft=null,Rr=null;async function pq(){if(typeof window<"u"&&window.__TESTSPECTRA_CREATE_ROOT__)return window.__TESTSPECTRA_CREATE_ROOT__;if(Rr)return Rr;try{let e=await import("react-dom/client");if(Rr=e.createRoot||e.default?.createRoot||e.default,Rr)return Rr}catch{}throw new Error("Could not find react-dom/client createRoot. Ensure react-dom is installed in your project.")}function fq(){let e=document.getElementById(Ta);return e||(e=document.createElement("div"),e.id=Ta,document.body.appendChild(e)),e}function wb(){if(ft){try{ft.unmount()}catch{try{ft.render(null)}catch{}}ft=null}let e=document.getElementById(Ta);e&&(e.innerHTML="")}async function _b(e){let t=fq();ft||(ft=(await pq())(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()=>(ft.render(e),await new Promise(n=>setTimeout(n,20)),globalThis.__TS_RUNTIME__.createElementProxy(`#${Ta}`)))}var Cb=new Pa;Ys(Cb);globalThis.browser=Cb;globalThis.$=function(e){return pe(e)};globalThis.$$=function(e){return Ze(e)};var Js=cl();Js.mount=_b;Js.unmount=wb;globalThis.Spectra=Js;(typeof globalThis.__vitest_browser_runner__<"u"||typeof globalThis.__vitest_worker__<"u")&&await Oa();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 Xm(e,t){let r=[];do{var n;let{type:o,descriptor:i,consumedLength:a,releasePrevious:s,releaseSelf:l=!0,repeat:u}=ga(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 v;return((v=d.key)===null||v===void 0?void 0:v.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 Qm(e){let t=Xm(this.config.keyboardMap,e);for(let r=0;r<t.length;r++)await Te(this.config),await Ix(this,t[r])}async function Ix(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 Te(e.config);n&&await i.keyboard.keyup(e,t)}}async function Jm(e){for(let t of e.system.keyboard.getPressedKeys())await e.system.keyboard.keyup(e,t)}function Ea(e){let t=X(e)?{"text/plain":Nx(e)}:{"text/plain":String(e.ownerDocument.getSelection())},r=bt(W(e));for(let n in t)t[n]&&r.setData(n,t[n]);return r}function Nx(e){let t=Ae(e);return Y(e).substring(t.startOffset,t.endOffset)}async function Ym(){var e;let t=this.config.document,r=(e=t.activeElement)!==null&&e!==void 0?e:t.body,n=Ea(r);if(n.items.length!==0)return this.dispatchUIEvent(r,"copy",{clipboardData:n})&&this.config.writeToClipboard&&await Lr(t,n),n}async function Zm(){var e;let t=this.config.document,r=(e=t.activeElement)!==null&&e!==void 0?e:t.body,n=Ea(r);if(n.items.length!==0)return this.dispatchUIEvent(r,"cut",{clipboardData:n})&&this.config.writeToClipboard&&await Lr(r.ownerDocument,n),n}async function eb(e){var t,r;let n=this.config.document,o=(t=n.activeElement)!==null&&t!==void 0?t:n.body,i=(r=typeof e=="string"?Lx(n,e):e)!==null&&r!==void 0?r:await wl(n).catch(()=>{throw new Error("`userEvent.paste()` without `clipboardData` requires the `ClipboardAPI` to be available.")});this.dispatchUIEvent(o,"paste",{clipboardData:i})}function Lx(e,t){let r=bt(W(e));return r.setData("text",t),r}function Ws(e,t){let r=[];do{let{descriptor:n,consumedLength:o,releasePrevious:i,releaseSelf:a=!0}=ga(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 rb(e){let{pointerMap:t}=this.config,r=[];(Array.isArray(e)?e:[e]).forEach(n=>{typeof n=="string"?r.push(...Ws(t,n)):"keys"in n?r.push(...Ws(t,n.keys).map(o=>({...n,...o}))):r.push(n)});for(let n=0;n<r.length;n++)await Te(this.config),await Bx(this,r[n]);this.system.pointer.resetClickCount()}async function Bx(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:Dx(e,u),coords:(n=t.coords)!==null&&n!==void 0?n:u?.coords,caret:{node:(o=t.node)!==null&&o!==void 0?o:tb(t)||u==null||(a=u.caret)===null||a===void 0?void 0:a.node,offset:(i=t.offset)!==null&&i!==void 0?i:tb(t)||u==null||(s=u.caret)===null||s===void 0?void 0:s.offset}};"keyDef"in t?(e.system.pointer.isKeyPressed(t.keyDef)&&(at(e,re.Trigger),await e.system.pointer.release(e,t.keyDef,c)),t.releasePrevious||(at(e,re.Trigger),await e.system.pointer.press(e,t.keyDef,c),t.releaseSelf&&(at(e,re.Trigger),await e.system.pointer.release(e,t.keyDef,c)))):(at(e,re.Trigger),await e.system.pointer.move(e,l,c))}function tb(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 Dx(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 nb(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(pa(e),!pm(e))throw new Error("The element content to be cleared could not be selected.");_e(this,e,"","deleteContentBackward")}async function ob(e,t){return ab.call(this,!0,e,t)}async function ib(e,t){return ab.call(this,!1,e,t)}async function ab(e,t,r){if(!e&&!t.multiple)throw I().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 I().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(S(t,"select"))if(t.multiple)for(let s of i){let l=this.config.pointerEventsCheck===0?!0:Mt(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 Te(this.config)}else if(i.length===1){let s=this.config.pointerEventsCheck===0?!0:Mt(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 Te(this.config)}else throw I().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 I().getElementError("Cannot select options on elements that are neither select nor listbox elements",t)}async function sb(e,t,{skipClick:r=this.config.skipClick,skipAutoClose:n=this.config.skipAutoClose,initialSelectionStart:o,initialSelectionEnd:i}={}){e.disabled||(r||await this.click(e),o!==void 0&&it(e,o,i??o),await this.keyboard(t),n||await Jm(this))}var lb=Symbol("files and value properties are mocked");function zs(e,t,r){r?Object.defineProperty(e,t,r):delete e[t]}function ub(e,t){var r;(r=e[lb])===null||r===void 0||r.restore();let n=Object.getOwnPropertyDescriptor(e,"type"),o=Object.getOwnPropertyDescriptor(e,"value"),i=Object.getOwnPropertyDescriptor(e,"files");function a(){zs(e,"type",n),zs(e,"value",o),zs(e,"files",i)}e[lb]={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 cb(e,t){let r=S(e,"label")?e.control:e;if(!r||!S(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||Fx(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,Ft(W(e),n)),this.dispatchUIEvent(r,"input"),this.dispatchUIEvent(r,"change"))};r.addEventListener("fileDialog",o),await this.click(e),r.removeEventListener("fileDialog",o)}function wa(e){return e.toLowerCase().replace(/(\.|\/)jpg\b/g,"$1jpeg")}function Fx(e,t){if(!t)return!0;let r=["audio/*","image/*","video/*"];return wa(t).trim().split(/\s*,\s*/).some(n=>n.startsWith(".")?wa(e.name).endsWith(n):r.includes(n)?wa(e.type).startsWith(n.replace("*","")):wa(e.type)===n)}var Gs={click:Um,dblClick:jm,tripleClick:$m,hover:Hm,unhover:Vm,tab:Wm,keyboard:Qm,copy:Ym,cut:Zm,paste:eb,pointer:rb,clear:nb,deselectOptions:ib,selectOptions:ob,type:sb,upload:cb};function db(e){return I().asyncWrapper(e)}var pb={applyAccept:!0,autoModify:!0,delay:0,document:globalThis.document,keyboardMap:qm,pointerMap:Am,pointerEventsCheck:st.EachApiCall,skipAutoClose:!1,skipClick:!1,skipHover:!1,writeToClipboard:!1,advanceTimers:()=>Promise.resolve()},Ux={...pb,writeToClipboard:!0};function fb(e={},t=Ux,r){let n=Hx(e,r,t);return{...t,...e,document:n}}function mb(e={}){var t;let r=fb(e);Hs(r.document),js(W(r.document).HTMLElement);let n=(t=r.document.defaultView)!==null&&t!==void 0?t:globalThis.window;return El(n),Ks(r).api}function ee({keyboardState:e,pointerState:t,...r}={},n){var o;let i=fb(r,pb,n);Hs(i.document),js(W(i.document).HTMLElement);let a=(o=t??e)!==null&&o!==void 0?o:new Tr;return{api:Ks(i,a).api,system:a}}function jx(e){return Ks({...this.config,...e},this.system).api}function $x(e,t){function r(...n){return at(e,re.Call),db(()=>t.apply(e,n).then(async o=>(await Te(e.config),o)))}return Object.defineProperty(r,"name",{get:()=>t.name}),r}function Ks(e,t=new Tr){let r={};return Object.assign(r,{config:e,dispatchEvent:Us.bind(r),dispatchUIEvent:gm.bind(r),system:t,levelRefs:{},...Gs}),{instance:r,api:{...Object.fromEntries(Object.entries(Gs).map(([n,o])=>[n,$x(r,o)])),setup:jx.bind(r)}}}function Hx(e,t,r){var n,o;return(n=(o=e.document)!==null&&o!==void 0?o:t&&Rm(t))!==null&&n!==void 0?n:r.document}var Xs={};Mb(Xs,{clear:()=>Vx,click:()=>Wx,copy:()=>zx,cut:()=>Gx,dblClick:()=>Kx,deselectOptions:()=>Xx,hover:()=>Qx,keyboard:()=>Jx,paste:()=>Zx,pointer:()=>Yx,selectOptions:()=>eq,tab:()=>iq,tripleClick:()=>tq,type:()=>rq,unhover:()=>nq,upload:()=>oq});function Vx(e){return ee().api.clear(e)}function Wx(e,t={}){return ee(t,e).api.click(e)}function zx(e={}){return ee(e).api.copy()}function Gx(e={}){return ee(e).api.cut()}function Kx(e,t={}){return ee(t).api.dblClick(e)}function Xx(e,t,r={}){return ee(r).api.deselectOptions(e,t)}function Qx(e,t={}){return ee(t).api.hover(e)}async function Jx(e,t={}){let{api:r,system:n}=ee(t);return r.keyboard(e).then(()=>n)}async function Yx(e,t={}){let{api:r,system:n}=ee(t);return r.pointer(e).then(()=>n)}function Zx(e,t){return ee(t).api.paste(e)}function eq(e,t,r={}){return ee(r).api.selectOptions(e,t)}function tq(e,t={}){return ee(t).api.tripleClick(e)}function rq(e,t,r={}){return ee(r,e).api.type(e,t,r)}function nq(e,t={}){let{api:r,system:n}=ee(t);return n.pointer.setMousePosition({target:e}),r.unhover(e)}function oq(e,t,r={}){return ee(r).api.upload(e,t)}function iq(e={}){return ee().api.tab(e)}var _a={...Xs,setup:mb};var bb=!1,vb=!1,Qs=null;function aq(e){return new Promise(t=>setTimeout(t,e))}function yb(e){try{if(typeof e=="string")return new URL(e,sq()).href;if(e instanceof URL)return e.href;if(typeof Request<"u"&&e instanceof Request)return e.url}catch{}return String(e)}function sq(){try{if(typeof location<"u"&&location.href)return location.href}catch{}return"http://localhost/"}function lq(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 uq(e,t){let r=t?.body;if(typeof r=="string")return r;try{if(typeof Request<"u"&&e instanceof Request)return}catch{}}function cq(e){let t=Mr(e.headers),r={};for(let n of t)r[n.name]=n.value;return new Response(Dt(e.body),{status:e.statusCode,headers:r})}async function dq(e,t,r){let n=yb(t),o=lq(t,r),i=Nt(Qs?.()??[],n,o);if(!i)return e(t,r);let a={url:n,method:o,headers:void 0,postData:uq(t,r),timestamp:Date.now()};if(Lt(i,a),i.aborted)throw new TypeError(`Spectra.intercept() aborted ${o} ${n} (${i.abortReason||"Failed"})`);let s=Bt(i);return s.delayMs&&s.delayMs>0&&await aq(s.delayMs),cq(s)}function pq(){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=yb(l);let[c=!0,d,m]=u;return i(s,l,c,d,m)},r.send=s=>{let l=Nt(Qs?.()??[],o,n);if(!l)return a(s);let u={url:o,method:n,headers:void 0,postData:typeof s=="string"?s:void 0,timestamp:Date.now()};Lt(l,u);let c=()=>{r.dispatchEvent(new Event("error"))};if(l.aborted){setTimeout(c,0);return}let d=Bt(l),m=()=>{let v=Dt(d.body);Object.defineProperties(r,{status:{value:d.statusCode,configurable:!0},statusText:{value:d.statusCode===200?"OK":`${d.statusCode} Mocked`,configurable:!0},responseText:{value:v,configurable:!0},response:{value:v,configurable:!0},readyState:{value:4,configurable:!0}}),r.dispatchEvent(new Event("readystatechange")),r.dispatchEvent(new Event("load")),r.dispatchEvent(new Event("loadend"))};d.delayMs&&d.delayMs>0?setTimeout(m,d.delayMs):setTimeout(m,0)},r}t.prototype=e.prototype,globalThis.XMLHttpRequest=t}function hb(e){if(Qs=e,!bb&&typeof globalThis.fetch=="function"){let t=globalThis.fetch.bind(globalThis);globalThis.fetch=(r,n)=>dq(t,r,n),bb=!0}!vb&&typeof globalThis.XMLHttpRequest=="function"&&(pq(),vb=!0)}function kt(){return _a.setup({delay:null})}function Ca(e){return ll(e.trim())??e.trim()}function wb(e,t){let r=Ca(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=Aa(e.trim());return i?ul(i.name,document,t):null}function pt(e){return typeof e=="string"?e:e.selector}function gb(e,t){let r=sl(e);if(!r)return;let n=t?{selector:r.base,index:null,parent:t}:r.base,o=V(n,null);return o?r.kind==="parent"?o.parentElement??null:o.closest(r.arg)??null:null}function V(e,t){if(typeof e=="string"){let s=gb(e,void 0);return s!==void 0?s:wb(e,t)}let r=gb(e.selector,e.parent);if(r!==void 0)return r;let n=e.parent?V(e.parent,e.parent.index):document.documentElement;if(!n)return null;let o=Ca(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 Eb(e){let t=e.tagName;return t==="INPUT"||t==="TEXTAREA"||t==="SELECT"}var Pa=class{mockRules=[];consoleErrors=[];recordedNetwork=[];async waitForScopedEl(t,r){let n=V(t,r);if(n)return n;let o=null;if(!await globalThis.__TS_RUNTIME__.pollCondition(async()=>(o=V(t,r),o!==null),globalThis.__TS_RUNTIME__.getImplicitWaitMs())||!o)throw new Error("Element not found: "+pt(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 kt().click(n)}async doubleClick(t,r=null){let n=await this.waitForScopedEl(t,r);await kt().dblClick(n)}async rightClick(t,r=null){let n=await this.waitForScopedEl(t,r);await kt().pointer({keys:"[MouseRight]",target:n})}async setValue(t,r,n=null){let o=await this.waitForScopedEl(t,n);if(!Eb(o))throw new Error("Element is not a form field: "+pt(t));if(o.tagName==="INPUT"&&o.type==="file")return this.upload(t,r,n);let i=kt();await i.clear(o),String(r).length>0&&await i.type(o,String(r))}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(","),v=l.slice(0,m),P=l.slice(m+1),C=v.match(/data:([^;]+)/);C&&(c=C[1]);let T=v.match(/(?:name|filename)=([^;]+)/i);T?u=decodeURIComponent(T[1]):u=`fixture.${c.split("/")[1]||"bin"}`;try{let f=atob(P),h=new Uint8Array(f.length);for(let E=0;E<f.length;E++)h[E]=f.charCodeAt(E);d=new Blob([h],{type:c})}catch{d=new Blob([P],{type:c})}}else{u=l.split("?")[0].split("#")[0].split("/").pop()?.split("\\").pop()||"fixture.bin";let v=u.split(".").pop()?.toLowerCase()||"";c=s[v]||"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),v=new Uint8Array(m.length);for(let P=0;P<m.length;P++)v[P]=m.charCodeAt(P);d=new Blob([v],{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 kt().clear(n)}async select(t,r,n=null){if(!await globalThis.__TS_RUNTIME__.pollCondition(async()=>{let i=V(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 kt().hover(n)}async focus(t,r=null){if(!await globalThis.__TS_RUNTIME__.pollCondition(async()=>{let o=V(t,r);return o?(o.focus?.(),!0):!1}))throw new Error("Element not found: "+pt(t))}async blur(t,r=null){if(!await globalThis.__TS_RUNTIME__.pollCondition(async()=>{let o=V(t,r);return o?(o.blur?.(),!0):!1}))throw new Error("Element not found: "+pt(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: "+pt(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: "+pt(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=V(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=V(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=V(t,n),i=wb(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=V(t,n);if(!o)throw new Error("Element not found: "+pt(t));o.dispatchEvent(new TouchEvent("touchstart",{bubbles:!0})),await this.pause(r),o.dispatchEvent(new TouchEvent("touchend",{bubbles:!0}))}async scrollIntoView(t,r=null){V(t,r)?.scrollIntoView({block:"center",inline:"center"})}async getText(t,r=null){let n=V(t,r);return n?n.innerText!==void 0?n.innerText:n.textContent||"":""}async getValue(t,r=null){let n=V(t,r);return n?Eb(n)?n.value??"":n.getAttribute("value")||"":""}async isDisplayed(t,r=null){let n=V(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 V(t,r)!==null}async isEnabled(t,r=null){let n=V(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=V(t,r);return n?!!n.checked||n.getAttribute("aria-checked")==="true"||n.getAttribute("data-state")==="checked":!1}async isFocused(t,r=null){let n=V(t,r);return n?document.activeElement===n||n.matches(":focus"):!1}async isClickable(t,r=null){let n=V(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=V(t,n);return o?o.classList.contains(r):!1}async getAttribute(t,r,n=null){let o=V(t,n);return o?o.getAttribute(r):null}async getCSSProperty(t,r,n=null){let o=V(t,n);return{value:o?window.getComputedStyle(o).getPropertyValue(r):""}}async count(t){if(typeof t=="string")return document.querySelectorAll(Ca(t)).length;let r=t.parent?V(t.parent,t.parent.index):document.documentElement;return r?r.querySelectorAll(Ca(t.selector)).length:0}async pressKey(t){let r=document.activeElement||document.body,n=String(t);r.dispatchEvent(new KeyboardEvent("keydown",{key:n,bubbles:!0})),r.dispatchEvent(new KeyboardEvent("keyup",{key:n,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){return typeof t=="function"?t(...r):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=Ar(t,r,n,o);return hb(()=>this.mockRules),this.mockRules.push(i),qr(i)}clearMocks(){this.mockRules=[]}};var Ta="spectra-root",ft=null,Rr=null;async function fq(){if(typeof window<"u"&&window.__TESTSPECTRA_CREATE_ROOT__)return window.__TESTSPECTRA_CREATE_ROOT__;if(Rr)return Rr;try{let e=await import("react-dom/client");if(Rr=e.createRoot||e.default?.createRoot||e.default,Rr)return Rr}catch{}throw new Error("Could not find react-dom/client createRoot. Ensure react-dom is installed in your project.")}function mq(){let e=document.getElementById(Ta);return e||(e=document.createElement("div"),e.id=Ta,document.body.appendChild(e)),e}function _b(){if(ft){try{ft.unmount()}catch{try{ft.render(null)}catch{}}ft=null}let e=document.getElementById(Ta);e&&(e.innerHTML="")}async function Cb(e){let t=mq();ft||(ft=(await fq())(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()=>(ft.render(e),await new Promise(n=>setTimeout(n,20)),globalThis.__TS_RUNTIME__.createElementProxy(`#${Ta}`)))}var Pb=new Pa;Ys(Pb);globalThis.browser=Pb;globalThis.$=function(e){return pe(e)};globalThis.$$=function(e){return Ze(e)};var Js=cl();Js.mount=Cb;Js.unmount=_b;globalThis.Spectra=Js;(typeof globalThis.__vitest_browser_runner__<"u"||typeof globalThis.__vitest_worker__<"u")&&await ka();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: