@testspectra/react 1.2.0 → 1.2.2

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