twd-js 1.3.4 → 1.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs.js CHANGED
@@ -1,69 +1,74 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const xo=require("./runner.cjs.js"),B=require("./jsx-runtime-CjngqUuo.js"),oi=require("react"),um=(e,t,r=2e3,n=50)=>new Promise((o,i)=>{const a=Date.now(),s=()=>{const l=t();if(l)return o(l);if(Date.now()-a>r)return i(new Error(`Timeout waiting for element ${e}`));setTimeout(s,n)};s()}),cm=(e,t,r=2e3,n=50)=>new Promise((o,i)=>{const a=Date.now(),s=()=>{const l=t();if(l&&l.length>0)return o(Array.from(l));if(Date.now()-a>r)return i(new Error(`Timeout waiting for elements ${e}`));setTimeout(s,n)};s()}),ii=e=>new Promise(t=>setTimeout(t,e)),Xi=(e,t,r,n)=>{if(!e&&!t)throw new Error(n);if(e&&t)throw new Error(n.replace("to be","to not be").replace("to have","to not have").replace("to contain","to not contain"));return r};function dm(e){if(!e.isConnected)return!1;let t=e;for(;t;){const r=getComputedStyle(t);if(r.display==="none"||r.visibility==="hidden"||r.visibility==="collapse")return!1;t=t.parentElement}return!0}const fm={"have.text":{positive:{pass:e=>`Assertion passed: Text is exactly "${e[0]}"`,fail:(e,t)=>`Assertion failed: Expected text to be "${e[0]}", but got "${t}"`},negative:{pass:e=>`Assertion passed: Text is not exactly "${e[0]}"`,fail:(e,t)=>`Assertion failed: Expected text to not be "${e[0]}", but got "${t}"`}},"contain.text":{positive:{pass:e=>`Assertion passed: Text contains "${e[0]}"`,fail:(e,t)=>`Assertion failed: Expected text to contain "${e[0]}", but got "${t}"`},negative:{pass:e=>`Assertion passed: Text does not contain "${e[0]}"`,fail:(e,t)=>`Assertion failed: Expected text to not contain "${e[0]}", but got "${t}"`}},"be.empty":{positive:{pass:()=>"Assertion passed: Text is empty",fail:(e,t)=>`Assertion failed: Expected text to be empty, but got "${t}"`},negative:{pass:()=>"Assertion passed: Text is not empty",fail:(e,t)=>`Assertion failed: Expected text to not be empty, but got "${t}"`}},"have.attr":{positive:{pass:e=>`Assertion passed: Attribute "${e[0]}" is "${e[1]}"`,fail:(e,t)=>`Assertion failed: Expected attribute "${e[0]}" to be "${e[1]}", but got "${t}"`},negative:{pass:e=>`Assertion passed: Attribute "${e[0]}" is not "${e[1]}"`,fail:(e,t)=>`Assertion failed: Expected attribute "${e[0]}" to not be "${e[1]}", but got "${t}"`}},"have.value":{positive:{pass:e=>`Assertion passed: Value is "${e[0]}"`,fail:(e,t)=>`Assertion failed: Expected value to be "${e[0]}", but got "${t}"`},negative:{pass:e=>`Assertion passed: Value is not "${e[0]}"`,fail:(e,t)=>`Assertion failed: Expected value to not be "${e[0]}", but got "${t}"`}},"be.disabled":{positive:{pass:()=>"Assertion passed: Element is disabled",fail:()=>"Assertion failed: Expected element to be disabled"},negative:{pass:()=>"Assertion passed: Element is not disabled",fail:()=>"Assertion failed: Expected element to not be disabled"}},"be.enabled":{positive:{pass:()=>"Assertion passed: Element is enabled",fail:()=>"Assertion failed: Expected element to be enabled"},negative:{pass:()=>"Assertion passed: Element is not enabled",fail:()=>"Assertion failed: Expected element to not be enabled"}},"be.checked":{positive:{pass:()=>"Assertion passed: Element is checked",fail:()=>"Assertion failed: Expected element to be checked"},negative:{pass:()=>"Assertion passed: Element is not checked",fail:()=>"Assertion failed: Expected element to not be checked"}},"be.selected":{positive:{pass:()=>"Assertion passed: Element is selected",fail:()=>"Assertion failed: Expected element to be selected"},negative:{pass:()=>"Assertion passed: Element is not selected",fail:()=>"Assertion failed: Expected element to not be selected"}},"be.focused":{positive:{pass:()=>"Assertion passed: Element is focused",fail:()=>"Assertion failed: Expected element to be focused"},negative:{pass:()=>"Assertion passed: Element is not focused",fail:()=>"Assertion failed: Expected element to not be focused"}},"be.visible":{positive:{pass:()=>"Assertion passed: Element is visible",fail:()=>"Assertion failed: Expected element to be visible"},negative:{pass:()=>"Assertion passed: Element is not visible",fail:()=>"Assertion failed: Expected element to not be visible"}},"have.class":{positive:{pass:e=>`Assertion passed: Element has class "${e[0]}"`,fail:e=>`Assertion failed: Expected element to have class "${e[0]}"`},negative:{pass:e=>`Assertion passed: Element does not have class "${e[0]}"`,fail:e=>`Assertion failed: Expected element to not have class "${e[0]}"`}}},Di=(e,t,...r)=>{const n=t.startsWith("not."),o=n?t.slice(4):t,i=(e.textContent||"").trim(),a=fm[o];if(!a)throw new Error(`Unknown assertion: ${o}`);const s=n?"negative":"positive";let l,u;switch(o){case"have.text":l=i===r[0],u=i;break;case"contain.text":l=i.includes(r[0]),u=i;break;case"be.empty":l=i.length===0,u=i;break;case"have.attr":u=e.getAttribute(r[0]),l=u===r[1];break;case"have.value":u=e.value,l=u===r[0];break;case"be.disabled":l=e.disabled===!0;break;case"be.enabled":l=e.disabled===!1;break;case"be.checked":l=e.checked===!0;break;case"be.selected":l=e.selected===!0;break;case"be.focused":l=document.activeElement===e;break;case"be.visible":l=dm(e);break;case"have.class":l=e.classList.contains(r[0]);break;default:throw new Error(`Unknown assertion: ${o}`)}return Xi(l,n,a[s].pass(r),a[s].fail(r,u))},Re=e=>{const t=xo.handlers.size?Array.from(xo.handlers.values()).find(r=>r.status==="running"):null;t&&t.logs?.push(e)},Ca="1.3.4",pm=()=>typeof window<"u"?(window.__TWD_MOCK_STATE__||(window.__TWD_MOCK_STATE__={rules:[]}),window.__TWD_MOCK_STATE__):{rules:[]},mm=pm(),Xe=mm.rules,hm=100,bm=async e=>{if("serviceWorker"in navigator){const t=e??"/mock-sw.js";await navigator.serviceWorker.register(`${t}?v=${Ca}`),navigator.serviceWorker.controller||await new Promise(r=>{navigator.serviceWorker.addEventListener("controllerchange",r,{once:!0})}),navigator.serviceWorker.addEventListener("message",r=>{if(r.data?.type==="EXECUTED"){const{alias:n,request:o}=r.data,i=Xe.find(a=>a.alias===n);i&&(i.executed=!0,i.request=o)}})}},vm=async(e,t)=>{const r={alias:e,...t,executed:!1},n=Xe.findIndex(o=>o.alias===e);n!==-1?Xe[n]=r:Xe.push(r),navigator.serviceWorker.controller?.postMessage({type:"ADD_RULE",rule:r,version:Ca}),await ii(hm),await Promise.resolve()},ym=async e=>await Promise.all(e.map(r=>vd(r))),vd=async(e,t=10,r=100)=>{if(!Xe.find(o=>o.alias===e))throw new Error(`Rule ${e} not found`);for(let o=0;o<t;o++){const i=Xe.find(a=>a.alias===e&&a.executed);if(i)return Promise.resolve(i);o<t-1&&await new Promise(a=>setTimeout(a,r))}throw console.log(`Rule ${e} was not executed within ${t*r}ms`),new Error(`Rule ${e} was not executed within ${t*r}ms`)},yd=()=>Xe,gm=()=>{navigator.serviceWorker.controller?.postMessage({type:"CLEAR_RULES",version:Ca}),Xe.length=0},Rm=(e,t)=>{const r=e.startsWith("not.");switch(r?e.slice(4):e){case"eq":return Xi(window.location.href===t,r,`Assertion passed: URL is ${t}`,`Assertion failed: Expected URL to be ${t}, but got ${window.location.href}`);case"contain.url":return Xi(window.location.href.includes(t),r,`Assertion passed: URL contains ${t}`,`Assertion failed: Expected URL to contain ${t}, but got ${window.location.href}`);default:throw new Error(`Unknown assertion: ${e}`)}},wm=()=>({location:window.location,should:async(e,t,r=5)=>{let n="",o;for(let i=0;i<r;i++)try{n=Rm(e,t),Re(n);break}catch(a){await new Promise(s=>setTimeout(s,100)),o=a}if(o)throw o;return n}}),Em=100,xm=async(e,t)=>{if(Re(`visit("${e}")`),window.location.pathname===e||t){const r=`/__dummy_${Math.random().toString(36).slice(2)}`;window.history.pushState({},"",r),window.dispatchEvent(new PopStateEvent("popstate")),await ii(10)}window.history.pushState({},"",e),window.dispatchEvent(new PopStateEvent("popstate")),await ii(Em)},Cm={get:async e=>{const t=`body > div:not(#twd-sidebar-root) ${e}`;Re(`Searching get("${e}")`);const r=await um(e,()=>document.querySelector(t)),n={el:r,should:(o,...i)=>{const a=Di(r,o,...i);return Re(a),n}};return n},setInputValue:(e,t)=>{const{set:r}=Object.getOwnPropertyDescriptor(e.__proto__,"value");r.call(e,t),e.dispatchEvent(new Event("input",{bubbles:!0}))},getAll:async e=>{const t=`body > div:not(#twd-sidebar-root) ${e}`;return Re(`Searching getAll("${e}")`),(await cm(e,()=>document.querySelectorAll(t))).map(n=>{const o={el:n,should:(i,...a)=>{const s=Di(n,i,...a);return Re(s),o}};return o})},visit:xm,url:wm,mockRequest:vm,waitForRequest:vd,waitForRequests:ym,initRequestMocking:bm,clearRequestMockRules:gm,getRequestMockRules:yd,should:(e,t,...r)=>{const n=Di(e,t,...r);Re(n)},wait:ii,mockComponent:B.mockComponent,clearComponentMocks:B.clearComponentMocks,notExists:async e=>{const t=`body > div:not(#twd-sidebar-root) ${e}`;if(Re(`Checking notExists("${e}")`),document.querySelector(t))throw new Error(`Element "${e}" exists in the DOM.`);Re(`Assertion passed: Element "${e}" does not exist in the DOM.`)}};var qa=Object.defineProperty,qm=(e,t,r)=>t in e?qa(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,x=(e,t)=>qa(e,"name",{value:t,configurable:!0}),_a=(e,t)=>{for(var r in t)qa(e,r,{get:t[r],enumerable:!0})},gd=(e,t,r)=>qm(e,typeof t!="symbol"?t+"":t,r),ai={};_a(ai,{addChainableMethod:()=>Ba,addLengthGuard:()=>jo,addMethod:()=>ja,addProperty:()=>ka,checkError:()=>fe,compareByInspect:()=>ui,eql:()=>Kd,events:()=>Ci,expectTypes:()=>Td,flag:()=>U,getActual:()=>Ei,getMessage:()=>Sa,getName:()=>qi,getOperator:()=>za,getOwnEnumerableProperties:()=>Ua,getOwnEnumerablePropertySymbols:()=>Fa,getPathInfo:()=>Ia,hasProperty:()=>xi,inspect:()=>H,isNaN:()=>ci,isNumeric:()=>ne,isProxyEnabled:()=>ko,isRegExp:()=>di,objDisplay:()=>st,overwriteChainableMethod:()=>La,overwriteMethod:()=>$a,overwriteProperty:()=>Da,proxify:()=>_t,test:()=>Pa,transferFlags:()=>Ee,type:()=>Q});var fe={};_a(fe,{compatibleConstructor:()=>Ed,compatibleInstance:()=>wd,compatibleMessage:()=>xd,getConstructorName:()=>Cd,getMessage:()=>qd});function wi(e){return e instanceof Error||Object.prototype.toString.call(e)==="[object Error]"}x(wi,"isErrorInstance");function Rd(e){return Object.prototype.toString.call(e)==="[object RegExp]"}x(Rd,"isRegExp");function wd(e,t){return wi(t)&&e===t}x(wd,"compatibleInstance");function Ed(e,t){return wi(t)?e.constructor===t.constructor||e instanceof t.constructor:(typeof t=="object"||typeof t=="function")&&t.prototype?e.constructor===t||e instanceof t:!1}x(Ed,"compatibleConstructor");function xd(e,t){const r=typeof e=="string"?e:e.message;return Rd(t)?t.test(r):typeof t=="string"?r.indexOf(t)!==-1:!1}x(xd,"compatibleMessage");function Cd(e){let t=e;return wi(e)?t=e.constructor.name:typeof e=="function"&&(t=e.name,t===""&&(t=new e().name||t)),t}x(Cd,"getConstructorName");function qd(e){let t="";return e&&e.message?t=e.message:typeof e=="string"&&(t=e),t}x(qd,"getMessage");function U(e,t,r){let n=e.__flags||(e.__flags=Object.create(null));if(arguments.length===3)n[t]=r;else return n[t]}x(U,"flag");function Pa(e,t){let r=U(e,"negate"),n=t[0];return r?!n:n}x(Pa,"test");function Q(e){if(typeof e>"u")return"undefined";if(e===null)return"null";const t=e[Symbol.toStringTag];return typeof t=="string"?t:Object.prototype.toString.call(e).slice(8,-1)}x(Q,"type");var _m="captureStackTrace"in Error,_d=class Pd extends Error{constructor(t="Unspecified AssertionError",r,n){super(t),gd(this,"message"),this.message=t,_m&&Error.captureStackTrace(this,n||Pd);for(const o in r)o in this||(this[o]=r[o])}get name(){return"AssertionError"}get ok(){return!1}toJSON(t){return{...this,name:this.name,message:this.message,ok:!1,stack:t!==!1?this.stack:void 0}}};x(_d,"AssertionError");var G=_d;function Td(e,t){let r=U(e,"message"),n=U(e,"ssfi");r=r?r+": ":"",e=U(e,"object"),t=t.map(function(a){return a.toLowerCase()}),t.sort();let o=t.map(function(a,s){let l=~["a","e","i","o","u"].indexOf(a.charAt(0))?"an":"a";return(t.length>1&&s===t.length-1?"or ":"")+l+" "+a}).join(", "),i=Q(e).toLowerCase();if(!t.some(function(a){return i===a}))throw new G(r+"object tested must be "+o+", but "+i+" given",void 0,n)}x(Td,"expectTypes");function Ei(e,t){return t.length>4?t[4]:e._obj}x(Ei,"getActual");var _s={bold:["1","22"],dim:["2","22"],italic:["3","23"],underline:["4","24"],inverse:["7","27"],hidden:["8","28"],strike:["9","29"],black:["30","39"],red:["31","39"],green:["32","39"],yellow:["33","39"],blue:["34","39"],magenta:["35","39"],cyan:["36","39"],white:["37","39"],brightblack:["30;1","39"],brightred:["31;1","39"],brightgreen:["32;1","39"],brightyellow:["33;1","39"],brightblue:["34;1","39"],brightmagenta:["35;1","39"],brightcyan:["36;1","39"],brightwhite:["37;1","39"],grey:["90","39"]},Pm={special:"cyan",number:"yellow",bigint:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",symbol:"green",date:"magenta",regexp:"red"},yt="…";function Sd(e,t){const r=_s[Pm[t]]||_s[t]||"";return r?`\x1B[${r[0]}m${String(e)}\x1B[${r[1]}m`:String(e)}x(Sd,"colorise");function Ad({showHidden:e=!1,depth:t=2,colors:r=!1,customInspect:n=!0,showProxy:o=!1,maxArrayLength:i=1/0,breakLength:a=1/0,seen:s=[],truncate:l=1/0,stylize:u=String}={},f){const c={showHidden:!!e,depth:Number(t),colors:!!r,customInspect:!!n,showProxy:!!o,maxArrayLength:Number(i),breakLength:Number(a),truncate:Number(l),seen:s,inspect:f,stylize:u};return c.colors&&(c.stylize=Sd),c}x(Ad,"normaliseOptions");function Md(e){return e>="\uD800"&&e<="\uDBFF"}x(Md,"isHighSurrogate");function Fe(e,t,r=yt){e=String(e);const n=r.length,o=e.length;if(n>t&&o>n)return r;if(o>t&&o>n){let i=t-n;return i>0&&Md(e[i-1])&&(i=i-1),`${e.slice(0,i)}${r}`}return e}x(Fe,"truncate");function he(e,t,r,n=", "){r=r||t.inspect;const o=e.length;if(o===0)return"";const i=t.truncate;let a="",s="",l="";for(let u=0;u<o;u+=1){const f=u+1===e.length,c=u+2===e.length;l=`${yt}(${e.length-u})`;const d=e[u];t.truncate=i-a.length-(f?0:n.length);const b=s||r(d,t)+(f?"":n),v=a.length+b.length,R=v+l.length;if(f&&v>i&&a.length+l.length<=i||!f&&!c&&R>i||(s=f?"":r(e[u+1],t)+(c?"":n),!f&&c&&R>i&&v+s.length>i))break;if(a+=b,!f&&!c&&v+s.length>=i){l=`${yt}(${e.length-u-1})`;break}l=""}return`${a}${l}`}x(he,"inspectList");function Od(e){return e.match(/^[a-zA-Z_][a-zA-Z_0-9]*$/)?e:JSON.stringify(e).replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'")}x(Od,"quoteComplexKey");function gt([e,t],r){return r.truncate-=2,typeof e=="string"?e=Od(e):typeof e!="number"&&(e=`[${r.inspect(e,r)}]`),r.truncate-=e.length,t=r.inspect(t,r),`${e}: ${t}`}x(gt,"inspectProperty");function Id(e,t){const r=Object.keys(e).slice(e.length);if(!e.length&&!r.length)return"[]";t.truncate-=4;const n=he(e,t);t.truncate-=n.length;let o="";return r.length&&(o=he(r.map(i=>[i,e[i]]),t,gt)),`[ ${n}${o?`, ${o}`:""} ]`}x(Id,"inspectArray");var Tm=x(e=>typeof Buffer=="function"&&e instanceof Buffer?"Buffer":e[Symbol.toStringTag]?e[Symbol.toStringTag]:e.constructor.name,"getArrayName");function qe(e,t){const r=Tm(e);t.truncate-=r.length+4;const n=Object.keys(e).slice(e.length);if(!e.length&&!n.length)return`${r}[]`;let o="";for(let a=0;a<e.length;a++){const s=`${t.stylize(Fe(e[a],t.truncate),"number")}${a===e.length-1?"":", "}`;if(t.truncate-=s.length,e[a]!==e.length&&t.truncate<=3){o+=`${yt}(${e.length-e[a]+1})`;break}o+=s}let i="";return n.length&&(i=he(n.map(a=>[a,e[a]]),t,gt)),`${r}[ ${o}${i?`, ${i}`:""} ]`}x(qe,"inspectTypedArray");function Nd(e,t){const r=e.toJSON();if(r===null)return"Invalid Date";const n=r.split("T"),o=n[0];return t.stylize(`${o}T${Fe(n[1],t.truncate-o.length-1)}`,"date")}x(Nd,"inspectDate");function Ji(e,t){const r=e[Symbol.toStringTag]||"Function",n=e.name;return n?t.stylize(`[${r} ${Fe(n,t.truncate-11)}]`,"special"):t.stylize(`[${r}]`,"special")}x(Ji,"inspectFunction");function kd([e,t],r){return r.truncate-=4,e=r.inspect(e,r),r.truncate-=e.length,t=r.inspect(t,r),`${e} => ${t}`}x(kd,"inspectMapEntry");function jd(e){const t=[];return e.forEach((r,n)=>{t.push([n,r])}),t}x(jd,"mapToEntries");function Dd(e,t){return e.size===0?"Map{}":(t.truncate-=7,`Map{ ${he(jd(e),t,kd)} }`)}x(Dd,"inspectMap");var Sm=Number.isNaN||(e=>e!==e);function Qi(e,t){return Sm(e)?t.stylize("NaN","number"):e===1/0?t.stylize("Infinity","number"):e===-1/0?t.stylize("-Infinity","number"):e===0?t.stylize(1/e===1/0?"+0":"-0","number"):t.stylize(Fe(String(e),t.truncate),"number")}x(Qi,"inspectNumber");function Zi(e,t){let r=Fe(e.toString(),t.truncate-1);return r!==yt&&(r+="n"),t.stylize(r,"bigint")}x(Zi,"inspectBigInt");function $d(e,t){const r=e.toString().split("/")[2],n=t.truncate-(2+r.length),o=e.source;return t.stylize(`/${Fe(o,n)}/${r}`,"regexp")}x($d,"inspectRegExp");function Bd(e){const t=[];return e.forEach(r=>{t.push(r)}),t}x(Bd,"arrayFromSet");function Ld(e,t){return e.size===0?"Set{}":(t.truncate-=7,`Set{ ${he(Bd(e),t)} }`)}x(Ld,"inspectSet");var Ps=new RegExp("['\\u0000-\\u001f\\u007f-\\u009f\\u00ad\\u0600-\\u0604\\u070f\\u17b4\\u17b5\\u200c-\\u200f\\u2028-\\u202f\\u2060-\\u206f\\ufeff\\ufff0-\\uffff]","g"),Am={"\b":"\\b"," ":"\\t","\n":"\\n","\f":"\\f","\r":"\\r","'":"\\'","\\":"\\\\"},Mm=16;function Fd(e){return Am[e]||`\\u${`0000${e.charCodeAt(0).toString(Mm)}`.slice(-4)}`}x(Fd,"escape");function ea(e,t){return Ps.test(e)&&(e=e.replace(Ps,Fd)),t.stylize(`'${Fe(e,t.truncate-2)}'`,"string")}x(ea,"inspectString");function ta(e){return"description"in Symbol.prototype?e.description?`Symbol(${e.description})`:"Symbol()":e.toString()}x(ta,"inspectSymbol");var Om=x(()=>"Promise{…}","getPromiseValue"),Im=Om;function Co(e,t){const r=Object.getOwnPropertyNames(e),n=Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e):[];if(r.length===0&&n.length===0)return"{}";if(t.truncate-=4,t.seen=t.seen||[],t.seen.includes(e))return"[Circular]";t.seen.push(e);const o=he(r.map(s=>[s,e[s]]),t,gt),i=he(n.map(s=>[s,e[s]]),t,gt);t.seen.pop();let a="";return o&&i&&(a=", "),`{ ${o}${a}${i} }`}x(Co,"inspectObject");var $i=typeof Symbol<"u"&&Symbol.toStringTag?Symbol.toStringTag:!1;function Ud(e,t){let r="";return $i&&$i in e&&(r=e[$i]),r=r||e.constructor.name,(!r||r==="_class")&&(r="<Anonymous Class>"),t.truncate-=r.length,`${r}${Co(e,t)}`}x(Ud,"inspectClass");function zd(e,t){return e.length===0?"Arguments[]":(t.truncate-=13,`Arguments[ ${he(e,t)} ]`)}x(zd,"inspectArguments");var Nm=["stack","line","column","name","message","fileName","lineNumber","columnNumber","number","description","cause"];function Vd(e,t){const r=Object.getOwnPropertyNames(e).filter(a=>Nm.indexOf(a)===-1),n=e.name;t.truncate-=n.length;let o="";if(typeof e.message=="string"?o=Fe(e.message,t.truncate):r.unshift("message"),o=o?`: ${o}`:"",t.truncate-=o.length+5,t.seen=t.seen||[],t.seen.includes(e))return"[Circular]";t.seen.push(e);const i=he(r.map(a=>[a,e[a]]),t,gt);return`${n}${o}${i?` { ${i} }`:""}`}x(Vd,"inspectObject");function Hd([e,t],r){return r.truncate-=3,t?`${r.stylize(String(e),"yellow")}=${r.stylize(`"${t}"`,"string")}`:`${r.stylize(String(e),"yellow")}`}x(Hd,"inspectAttribute");function si(e,t){return he(e,t,Wd,`
2
- `)}x(si,"inspectNodeCollection");function Wd(e,t){switch(e.nodeType){case 1:return Ta(e,t);case 3:return t.inspect(e.data,t);default:return t.inspect(e,t)}}x(Wd,"inspectNode");function Ta(e,t){const r=e.getAttributeNames(),n=e.tagName.toLowerCase(),o=t.stylize(`<${n}`,"special"),i=t.stylize(">","special"),a=t.stylize(`</${n}>`,"special");t.truncate-=n.length*2+5;let s="";r.length>0&&(s+=" ",s+=he(r.map(f=>[f,e.getAttribute(f)]),t,Hd," ")),t.truncate-=s.length;const l=t.truncate;let u=si(e.children,t);return u&&u.length>l&&(u=`${yt}(${e.children.length})`),`${o}${s}${i}${u}${a}`}x(Ta,"inspectHTML");var km=typeof Symbol=="function"&&typeof Symbol.for=="function",Bi=km?Symbol.for("chai/inspect"):"@@chai/inspect",Li=Symbol.for("nodejs.util.inspect.custom"),Ts=new WeakMap,Ss={},As={undefined:x((e,t)=>t.stylize("undefined","undefined"),"undefined"),null:x((e,t)=>t.stylize("null","null"),"null"),boolean:x((e,t)=>t.stylize(String(e),"boolean"),"boolean"),Boolean:x((e,t)=>t.stylize(String(e),"boolean"),"Boolean"),number:Qi,Number:Qi,bigint:Zi,BigInt:Zi,string:ea,String:ea,function:Ji,Function:Ji,symbol:ta,Symbol:ta,Array:Id,Date:Nd,Map:Dd,Set:Ld,RegExp:$d,Promise:Im,WeakSet:x((e,t)=>t.stylize("WeakSet{…}","special"),"WeakSet"),WeakMap:x((e,t)=>t.stylize("WeakMap{…}","special"),"WeakMap"),Arguments:zd,Int8Array:qe,Uint8Array:qe,Uint8ClampedArray:qe,Int16Array:qe,Uint16Array:qe,Int32Array:qe,Uint32Array:qe,Float32Array:qe,Float64Array:qe,Generator:x(()=>"","Generator"),DataView:x(()=>"","DataView"),ArrayBuffer:x(()=>"","ArrayBuffer"),Error:Vd,HTMLCollection:si,NodeList:si},jm=x((e,t,r,n)=>Bi in e&&typeof e[Bi]=="function"?e[Bi](t):Li in e&&typeof e[Li]=="function"?e[Li](t.depth,t,n):"inspect"in e&&typeof e.inspect=="function"?e.inspect(t.depth,t):"constructor"in e&&Ts.has(e.constructor)?Ts.get(e.constructor)(e,t):Ss[r]?Ss[r](e,t):"","inspectCustom"),Dm=Object.prototype.toString;function qo(e,t={}){const r=Ad(t,qo),{customInspect:n}=r;let o=e===null?"null":typeof e;if(o==="object"&&(o=Dm.call(e).slice(8,-1)),o in As)return As[o](e,r);if(n&&e){const a=jm(e,r,o,qo);if(a)return typeof a=="string"?a:qo(a,r)}const i=e?Object.getPrototypeOf(e):!1;return i===Object.prototype||i===null?Co(e,r):e&&typeof HTMLElement=="function"&&e instanceof HTMLElement?Ta(e,r):"constructor"in e?e.constructor!==Object?Ud(e,r):Co(e,r):e===Object(e)?Co(e,r):r.stylize(String(e),o)}x(qo,"inspect");var ie={includeStack:!1,showDiff:!0,truncateThreshold:40,useProxy:!0,proxyExcludedKeys:["then","catch","inspect","toJSON"],deepEqual:null};function H(e,t,r,n){let o={colors:n,depth:typeof r>"u"?2:r,showHidden:t,truncate:ie.truncateThreshold?ie.truncateThreshold:1/0};return qo(e,o)}x(H,"inspect");function st(e){let t=H(e),r=Object.prototype.toString.call(e);if(ie.truncateThreshold&&t.length>=ie.truncateThreshold){if(r==="[object Function]")return!e.name||e.name===""?"[Function]":"[Function: "+e.name+"]";if(r==="[object Array]")return"[ Array("+e.length+") ]";if(r==="[object Object]"){let n=Object.keys(e);return"{ Object ("+(n.length>2?n.splice(0,2).join(", ")+", ...":n.join(", "))+") }"}else return t}else return t}x(st,"objDisplay");function Sa(e,t){let r=U(e,"negate"),n=U(e,"object"),o=t[3],i=Ei(e,t),a=r?t[2]:t[1],s=U(e,"message");return typeof a=="function"&&(a=a()),a=a||"",a=a.replace(/#\{this\}/g,function(){return st(n)}).replace(/#\{act\}/g,function(){return st(i)}).replace(/#\{exp\}/g,function(){return st(o)}),s?s+": "+a:a}x(Sa,"getMessage");function Ee(e,t,r){let n=e.__flags||(e.__flags=Object.create(null));t.__flags||(t.__flags=Object.create(null)),r=arguments.length===3?r:!0;for(let o in n)(r||o!=="object"&&o!=="ssfi"&&o!=="lockSsfi"&&o!="message")&&(t.__flags[o]=n[o])}x(Ee,"transferFlags");function ra(e){if(typeof e>"u")return"undefined";if(e===null)return"null";const t=e[Symbol.toStringTag];return typeof t=="string"?t:Object.prototype.toString.call(e).slice(8,-1)}x(ra,"type");function Aa(){this._key="chai/deep-eql__"+Math.random()+Date.now()}x(Aa,"FakeMap");Aa.prototype={get:x(function(t){return t[this._key]},"get"),set:x(function(t,r){Object.isExtensible(t)&&Object.defineProperty(t,this._key,{value:r,configurable:!0})},"set")};var Gd=typeof WeakMap=="function"?WeakMap:Aa;function na(e,t,r){if(!r||ut(e)||ut(t))return null;var n=r.get(e);if(n){var o=n.get(t);if(typeof o=="boolean")return o}return null}x(na,"memoizeCompare");function go(e,t,r,n){if(!(!r||ut(e)||ut(t))){var o=r.get(e);o?o.set(t,n):(o=new Gd,o.set(t,n),r.set(e,o))}}x(go,"memoizeSet");var Kd=No;function No(e,t,r){if(r&&r.comparator)return oa(e,t,r);var n=Ma(e,t);return n!==null?n:oa(e,t,r)}x(No,"deepEqual");function Ma(e,t){return e===t?e!==0||1/e===1/t:e!==e&&t!==t?!0:ut(e)||ut(t)?!1:null}x(Ma,"simpleEqual");function oa(e,t,r){r=r||{},r.memoize=r.memoize===!1?!1:r.memoize||new Gd;var n=r&&r.comparator,o=na(e,t,r.memoize);if(o!==null)return o;var i=na(t,e,r.memoize);if(i!==null)return i;if(n){var a=n(e,t);if(a===!1||a===!0)return go(e,t,r.memoize,a),a;var s=Ma(e,t);if(s!==null)return s}var l=ra(e);if(l!==ra(t))return go(e,t,r.memoize,!1),!1;go(e,t,r.memoize,!0);var u=Yd(e,t,l,r);return go(e,t,r.memoize,u),u}x(oa,"extensiveDeepEqual");function Yd(e,t,r,n){switch(r){case"String":case"Number":case"Boolean":case"Date":return No(e.valueOf(),t.valueOf());case"Promise":case"Symbol":case"function":case"WeakMap":case"WeakSet":return e===t;case"Error":return Oa(e,t,["name","message","code"],n);case"Arguments":case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"Array":return Je(e,t,n);case"RegExp":return Xd(e,t);case"Generator":return Jd(e,t,n);case"DataView":return Je(new Uint8Array(e.buffer),new Uint8Array(t.buffer),n);case"ArrayBuffer":return Je(new Uint8Array(e),new Uint8Array(t),n);case"Set":return ia(e,t,n);case"Map":return ia(e,t,n);case"Temporal.PlainDate":case"Temporal.PlainTime":case"Temporal.PlainDateTime":case"Temporal.Instant":case"Temporal.ZonedDateTime":case"Temporal.PlainYearMonth":case"Temporal.PlainMonthDay":return e.equals(t);case"Temporal.Duration":return e.total("nanoseconds")===t.total("nanoseconds");case"Temporal.TimeZone":case"Temporal.Calendar":return e.toString()===t.toString();default:return Zd(e,t,n)}}x(Yd,"extensiveDeepEqualByType");function Xd(e,t){return e.toString()===t.toString()}x(Xd,"regexpEqual");function ia(e,t,r){try{if(e.size!==t.size)return!1;if(e.size===0)return!0}catch{return!1}var n=[],o=[];return e.forEach(x(function(a,s){n.push([a,s])},"gatherEntries")),t.forEach(x(function(a,s){o.push([a,s])},"gatherEntries")),Je(n.sort(),o.sort(),r)}x(ia,"entriesEqual");function Je(e,t,r){var n=e.length;if(n!==t.length)return!1;if(n===0)return!0;for(var o=-1;++o<n;)if(No(e[o],t[o],r)===!1)return!1;return!0}x(Je,"iterableEqual");function Jd(e,t,r){return Je(li(e),li(t),r)}x(Jd,"generatorEqual");function Qd(e){return typeof Symbol<"u"&&typeof e=="object"&&typeof Symbol.iterator<"u"&&typeof e[Symbol.iterator]=="function"}x(Qd,"hasIteratorFunction");function aa(e){if(Qd(e))try{return li(e[Symbol.iterator]())}catch{return[]}return[]}x(aa,"getIteratorEntries");function li(e){for(var t=e.next(),r=[t.value];t.done===!1;)t=e.next(),r.push(t.value);return r}x(li,"getGeneratorEntries");function sa(e){var t=[];for(var r in e)t.push(r);return t}x(sa,"getEnumerableKeys");function la(e){for(var t=[],r=Object.getOwnPropertySymbols(e),n=0;n<r.length;n+=1){var o=r[n];Object.getOwnPropertyDescriptor(e,o).enumerable&&t.push(o)}return t}x(la,"getEnumerableSymbols");function Oa(e,t,r,n){var o=r.length;if(o===0)return!0;for(var i=0;i<o;i+=1)if(No(e[r[i]],t[r[i]],n)===!1)return!1;return!0}x(Oa,"keysEqual");function Zd(e,t,r){var n=sa(e),o=sa(t),i=la(e),a=la(t);if(n=n.concat(i),o=o.concat(a),n.length&&n.length===o.length)return Je(ua(n).sort(),ua(o).sort())===!1?!1:Oa(e,t,n,r);var s=aa(e),l=aa(t);return s.length&&s.length===l.length?(s.sort(),l.sort(),Je(s,l,r)):n.length===0&&s.length===0&&o.length===0&&l.length===0}x(Zd,"objectEqual");function ut(e){return e===null||typeof e!="object"}x(ut,"isPrimitive");function ua(e){return e.map(x(function(r){return typeof r=="symbol"?r.toString():r},"mapSymbol"))}x(ua,"mapSymbols");function xi(e,t){return typeof e>"u"||e===null?!1:t in Object(e)}x(xi,"hasProperty");function ef(e){return e.replace(/([^\\])\[/g,"$1.[").match(/(\\\.|[^.]+?)+/g).map(n=>{if(n==="constructor"||n==="__proto__"||n==="prototype")return{};const i=/^\[(\d+)\]$/.exec(n);let a=null;return i?a={i:parseFloat(i[1])}:a={p:n.replace(/\\([.[\]])/g,"$1")},a})}x(ef,"parsePath");function ca(e,t,r){let n=e,o=null;r=typeof r>"u"?t.length:r;for(let i=0;i<r;i++){const a=t[i];n&&(typeof a.p>"u"?n=n[a.i]:n=n[a.p],i===r-1&&(o=n))}return o}x(ca,"internalGetPathValue");function Ia(e,t){const r=ef(t),n=r[r.length-1],o={parent:r.length>1?ca(e,r,r.length-1):e,name:n.p||n.i,value:ca(e,r)};return o.exists=xi(o.parent,o.name),o}x(Ia,"getPathInfo");var tf=class rf{constructor(t,r,n,o){return gd(this,"__flags",{}),U(this,"ssfi",n||rf),U(this,"lockSsfi",o),U(this,"object",t),U(this,"message",r),U(this,"eql",ie.deepEqual||Kd),_t(this)}static get includeStack(){return console.warn("Assertion.includeStack is deprecated, use chai.config.includeStack instead."),ie.includeStack}static set includeStack(t){console.warn("Assertion.includeStack is deprecated, use chai.config.includeStack instead."),ie.includeStack=t}static get showDiff(){return console.warn("Assertion.showDiff is deprecated, use chai.config.showDiff instead."),ie.showDiff}static set showDiff(t){console.warn("Assertion.showDiff is deprecated, use chai.config.showDiff instead."),ie.showDiff=t}static addProperty(t,r){ka(this.prototype,t,r)}static addMethod(t,r){ja(this.prototype,t,r)}static addChainableMethod(t,r,n){Ba(this.prototype,t,r,n)}static overwriteProperty(t,r){Da(this.prototype,t,r)}static overwriteMethod(t,r){$a(this.prototype,t,r)}static overwriteChainableMethod(t,r,n){La(this.prototype,t,r,n)}assert(t,r,n,o,i,a){const s=Pa(this,arguments);if(a!==!1&&(a=!0),o===void 0&&i===void 0&&(a=!1),ie.showDiff!==!0&&(a=!1),!s){r=Sa(this,arguments);const u={actual:Ei(this,arguments),expected:o,showDiff:a},f=za(this,arguments);throw f&&(u.operator=f),new G(r,u,ie.includeStack?this.assert:U(this,"ssfi"))}}get _obj(){return U(this,"object")}set _obj(t){U(this,"object",t)}};x(tf,"Assertion");var h=tf,Ci=new EventTarget,nf=class extends Event{constructor(t,r,n){super(t),this.name=String(r),this.fn=n}};x(nf,"PluginEvent");var Na=nf;function ko(){return ie.useProxy&&typeof Proxy<"u"&&typeof Reflect<"u"}x(ko,"isProxyEnabled");function ka(e,t,r){r=r===void 0?function(){}:r,Object.defineProperty(e,t,{get:x(function n(){!ko()&&!U(this,"lockSsfi")&&U(this,"ssfi",n);let o=r.call(this);if(o!==void 0)return o;let i=new h;return Ee(this,i),i},"propertyGetter"),configurable:!0}),Ci.dispatchEvent(new Na("addProperty",t,r))}x(ka,"addProperty");var $m=Object.getOwnPropertyDescriptor(function(){},"length");function jo(e,t,r){return $m.configurable&&Object.defineProperty(e,"length",{get:x(function(){throw Error(r?"Invalid Chai property: "+t+'.length. Due to a compatibility issue, "length" cannot directly follow "'+t+'". Use "'+t+'.lengthOf" instead.':"Invalid Chai property: "+t+'.length. See docs for proper usage of "'+t+'".')},"get")}),e}x(jo,"addLengthGuard");function of(e){let t=Object.getOwnPropertyNames(e);function r(o){t.indexOf(o)===-1&&t.push(o)}x(r,"addProperty");let n=Object.getPrototypeOf(e);for(;n!==null;)Object.getOwnPropertyNames(n).forEach(r),n=Object.getPrototypeOf(n);return t}x(of,"getProperties");var Ms=["__flags","__methods","_obj","assert"];function _t(e,t){return ko()?new Proxy(e,{get:x(function r(n,o){if(typeof o=="string"&&ie.proxyExcludedKeys.indexOf(o)===-1&&!Reflect.has(n,o)){if(t)throw Error("Invalid Chai property: "+t+"."+o+'. See docs for proper usage of "'+t+'".');let i=null,a=4;throw of(n).forEach(function(s){if(!Object.prototype.hasOwnProperty(s)&&Ms.indexOf(s)===-1){let l=af(o,s,a);l<a&&(i=s,a=l)}}),Error(i!==null?"Invalid Chai property: "+o+'. Did you mean "'+i+'"?':"Invalid Chai property: "+o)}return Ms.indexOf(o)===-1&&!U(n,"lockSsfi")&&U(n,"ssfi",r),Reflect.get(n,o)},"proxyGetter")}):e}x(_t,"proxify");function af(e,t,r){if(Math.abs(e.length-t.length)>=r)return r;let n=[];for(let o=0;o<=e.length;o++)n[o]=Array(t.length+1).fill(0),n[o][0]=o;for(let o=0;o<t.length;o++)n[0][o]=o;for(let o=1;o<=e.length;o++){let i=e.charCodeAt(o-1);for(let a=1;a<=t.length;a++){if(Math.abs(o-a)>=r){n[o][a]=r;continue}n[o][a]=Math.min(n[o-1][a]+1,n[o][a-1]+1,n[o-1][a-1]+(i===t.charCodeAt(a-1)?0:1))}}return n[e.length][t.length]}x(af,"stringDistanceCapped");function ja(e,t,r){let n=x(function(){U(this,"lockSsfi")||U(this,"ssfi",n);let o=r.apply(this,arguments);if(o!==void 0)return o;let i=new h;return Ee(this,i),i},"methodWrapper");jo(n,t,!1),e[t]=_t(n,t),Ci.dispatchEvent(new Na("addMethod",t,r))}x(ja,"addMethod");function Da(e,t,r){let n=Object.getOwnPropertyDescriptor(e,t),o=x(function(){},"_super");n&&typeof n.get=="function"&&(o=n.get),Object.defineProperty(e,t,{get:x(function i(){!ko()&&!U(this,"lockSsfi")&&U(this,"ssfi",i);let a=U(this,"lockSsfi");U(this,"lockSsfi",!0);let s=r(o).call(this);if(U(this,"lockSsfi",a),s!==void 0)return s;let l=new h;return Ee(this,l),l},"overwritingPropertyGetter"),configurable:!0})}x(Da,"overwriteProperty");function $a(e,t,r){let n=e[t],o=x(function(){throw new Error(t+" is not a function")},"_super");n&&typeof n=="function"&&(o=n);let i=x(function(){U(this,"lockSsfi")||U(this,"ssfi",i);let a=U(this,"lockSsfi");U(this,"lockSsfi",!0);let s=r(o).apply(this,arguments);if(U(this,"lockSsfi",a),s!==void 0)return s;let l=new h;return Ee(this,l),l},"overwritingMethodWrapper");jo(i,t,!1),e[t]=_t(i,t)}x($a,"overwriteMethod");var Bm=typeof Object.setPrototypeOf=="function",Os=x(function(){},"testFn"),Lm=Object.getOwnPropertyNames(Os).filter(function(e){let t=Object.getOwnPropertyDescriptor(Os,e);return typeof t!="object"?!0:!t.configurable}),Fm=Function.prototype.call,Um=Function.prototype.apply,sf=class extends Na{constructor(t,r,n,o){super(t,r,n),this.chainingBehavior=o}};x(sf,"PluginAddChainableMethodEvent");var zm=sf;function Ba(e,t,r,n){typeof n!="function"&&(n=x(function(){},"chainingBehavior"));let o={method:r,chainingBehavior:n};e.__methods||(e.__methods={}),e.__methods[t]=o,Object.defineProperty(e,t,{get:x(function(){o.chainingBehavior.call(this);let a=x(function(){U(this,"lockSsfi")||U(this,"ssfi",a);let s=o.method.apply(this,arguments);if(s!==void 0)return s;let l=new h;return Ee(this,l),l},"chainableMethodWrapper");if(jo(a,t,!0),Bm){let s=Object.create(this);s.call=Fm,s.apply=Um,Object.setPrototypeOf(a,s)}else Object.getOwnPropertyNames(e).forEach(function(l){if(Lm.indexOf(l)!==-1)return;let u=Object.getOwnPropertyDescriptor(e,l);Object.defineProperty(a,l,u)});return Ee(this,a),_t(a)},"chainableMethodGetter"),configurable:!0}),Ci.dispatchEvent(new zm("addChainableMethod",t,r,n))}x(Ba,"addChainableMethod");function La(e,t,r,n){let o=e.__methods[t],i=o.chainingBehavior;o.chainingBehavior=x(function(){let l=n(i).call(this);if(l!==void 0)return l;let u=new h;return Ee(this,u),u},"overwritingChainableMethodGetter");let a=o.method;o.method=x(function(){let l=r(a).apply(this,arguments);if(l!==void 0)return l;let u=new h;return Ee(this,u),u},"overwritingChainableMethodWrapper")}x(La,"overwriteChainableMethod");function ui(e,t){return H(e)<H(t)?-1:1}x(ui,"compareByInspect");function Fa(e){return typeof Object.getOwnPropertySymbols!="function"?[]:Object.getOwnPropertySymbols(e).filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})}x(Fa,"getOwnEnumerablePropertySymbols");function Ua(e){return Object.keys(e).concat(Fa(e))}x(Ua,"getOwnEnumerableProperties");var ci=Number.isNaN;function lf(e){let t=Q(e);return["Array","Object","Function"].indexOf(t)!==-1}x(lf,"isObjectType");function za(e,t){let r=U(e,"operator"),n=U(e,"negate"),o=t[3],i=n?t[2]:t[1];if(r)return r;if(typeof i=="function"&&(i=i()),i=i||"",!i||/\shave\s/.test(i))return;let a=lf(o);return/\snot\s/.test(i)?a?"notDeepStrictEqual":"notStrictEqual":a?"deepStrictEqual":"strictEqual"}x(za,"getOperator");function qi(e){return e.name}x(qi,"getName");function di(e){return Object.prototype.toString.call(e)==="[object RegExp]"}x(di,"isRegExp");function ne(e){return["Number","BigInt"].includes(Q(e))}x(ne,"isNumeric");var{flag:w}=ai;["to","be","been","is","and","has","have","with","that","which","at","of","same","but","does","still","also"].forEach(function(e){h.addProperty(e)});h.addProperty("not",function(){w(this,"negate",!0)});h.addProperty("deep",function(){w(this,"deep",!0)});h.addProperty("nested",function(){w(this,"nested",!0)});h.addProperty("own",function(){w(this,"own",!0)});h.addProperty("ordered",function(){w(this,"ordered",!0)});h.addProperty("any",function(){w(this,"any",!0),w(this,"all",!1)});h.addProperty("all",function(){w(this,"all",!0),w(this,"any",!1)});var Is={function:["function","asyncfunction","generatorfunction","asyncgeneratorfunction"],asyncfunction:["asyncfunction","asyncgeneratorfunction"],generatorfunction:["generatorfunction","asyncgeneratorfunction"],asyncgeneratorfunction:["asyncgeneratorfunction"]};function Va(e,t){t&&w(this,"message",t),e=e.toLowerCase();let r=w(this,"object"),n=~["a","e","i","o","u"].indexOf(e.charAt(0))?"an ":"a ";const o=Q(r).toLowerCase();Is.function.includes(e)?this.assert(Is[e].includes(o),"expected #{this} to be "+n+e,"expected #{this} not to be "+n+e):this.assert(e===o,"expected #{this} to be "+n+e,"expected #{this} not to be "+n+e)}x(Va,"an");h.addChainableMethod("an",Va);h.addChainableMethod("a",Va);function uf(e,t){return ci(e)&&ci(t)||e===t}x(uf,"SameValueZero");function Do(){w(this,"contains",!0)}x(Do,"includeChainingBehavior");function $o(e,t){t&&w(this,"message",t);let r=w(this,"object"),n=Q(r).toLowerCase(),o=w(this,"message"),i=w(this,"negate"),a=w(this,"ssfi"),s=w(this,"deep"),l=s?"deep ":"",u=s?w(this,"eql"):uf;o=o?o+": ":"";let f=!1;switch(n){case"string":f=r.indexOf(e)!==-1;break;case"weakset":if(s)throw new G(o+"unable to use .deep.include with WeakSet",void 0,a);f=r.has(e);break;case"map":r.forEach(function(c){f=f||u(c,e)});break;case"set":s?r.forEach(function(c){f=f||u(c,e)}):f=r.has(e);break;case"array":s?f=r.some(function(c){return u(c,e)}):f=r.indexOf(e)!==-1;break;default:{if(e!==Object(e))throw new G(o+"the given combination of arguments ("+n+" and "+Q(e).toLowerCase()+") is invalid for this assertion. You can use an array, a map, an object, a set, a string, or a weakset instead of a "+Q(e).toLowerCase(),void 0,a);let c=Object.keys(e),d=null,b=0;if(c.forEach(function(v){let R=new h(r);if(Ee(this,R,!0),w(R,"lockSsfi",!0),!i||c.length===1){R.property(v,e[v]);return}try{R.property(v,e[v])}catch(S){if(!fe.compatibleConstructor(S,G))throw S;d===null&&(d=S),b++}},this),i&&c.length>1&&b===c.length)throw d;return}}this.assert(f,"expected #{this} to "+l+"include "+H(e),"expected #{this} to not "+l+"include "+H(e))}x($o,"include");h.addChainableMethod("include",$o,Do);h.addChainableMethod("contain",$o,Do);h.addChainableMethod("contains",$o,Do);h.addChainableMethod("includes",$o,Do);h.addProperty("ok",function(){this.assert(w(this,"object"),"expected #{this} to be truthy","expected #{this} to be falsy")});h.addProperty("true",function(){this.assert(w(this,"object")===!0,"expected #{this} to be true","expected #{this} to be false",!w(this,"negate"))});h.addProperty("numeric",function(){const e=w(this,"object");this.assert(["Number","BigInt"].includes(Q(e)),"expected #{this} to be numeric","expected #{this} to not be numeric",!w(this,"negate"))});h.addProperty("callable",function(){const e=w(this,"object"),t=w(this,"ssfi"),r=w(this,"message"),n=r?`${r}: `:"",o=w(this,"negate"),i=o?`${n}expected ${H(e)} not to be a callable function`:`${n}expected ${H(e)} to be a callable function`,a=["Function","AsyncFunction","GeneratorFunction","AsyncGeneratorFunction"].includes(Q(e));if(a&&o||!a&&!o)throw new G(i,void 0,t)});h.addProperty("false",function(){this.assert(w(this,"object")===!1,"expected #{this} to be false","expected #{this} to be true",!!w(this,"negate"))});h.addProperty("null",function(){this.assert(w(this,"object")===null,"expected #{this} to be null","expected #{this} not to be null")});h.addProperty("undefined",function(){this.assert(w(this,"object")===void 0,"expected #{this} to be undefined","expected #{this} not to be undefined")});h.addProperty("NaN",function(){this.assert(ci(w(this,"object")),"expected #{this} to be NaN","expected #{this} not to be NaN")});function Ha(){let e=w(this,"object");this.assert(e!=null,"expected #{this} to exist","expected #{this} to not exist")}x(Ha,"assertExist");h.addProperty("exist",Ha);h.addProperty("exists",Ha);h.addProperty("empty",function(){let e=w(this,"object"),t=w(this,"ssfi"),r=w(this,"message"),n;switch(r=r?r+": ":"",Q(e).toLowerCase()){case"array":case"string":n=e.length;break;case"map":case"set":n=e.size;break;case"weakmap":case"weakset":throw new G(r+".empty was passed a weak collection",void 0,t);case"function":{const o=r+".empty was passed a function "+qi(e);throw new G(o.trim(),void 0,t)}default:if(e!==Object(e))throw new G(r+".empty was passed non-string primitive "+H(e),void 0,t);n=Object.keys(e).length}this.assert(n===0,"expected #{this} to be empty","expected #{this} not to be empty")});function Wa(){let e=w(this,"object"),t=Q(e);this.assert(t==="Arguments","expected #{this} to be arguments but got "+t,"expected #{this} to not be arguments")}x(Wa,"checkArguments");h.addProperty("arguments",Wa);h.addProperty("Arguments",Wa);function _i(e,t){t&&w(this,"message",t);let r=w(this,"object");if(w(this,"deep")){let n=w(this,"lockSsfi");w(this,"lockSsfi",!0),this.eql(e),w(this,"lockSsfi",n)}else this.assert(e===r,"expected #{this} to equal #{exp}","expected #{this} to not equal #{exp}",e,this._obj,!0)}x(_i,"assertEqual");h.addMethod("equal",_i);h.addMethod("equals",_i);h.addMethod("eq",_i);function Ga(e,t){t&&w(this,"message",t);let r=w(this,"eql");this.assert(r(e,w(this,"object")),"expected #{this} to deeply equal #{exp}","expected #{this} to not deeply equal #{exp}",e,this._obj,!0)}x(Ga,"assertEql");h.addMethod("eql",Ga);h.addMethod("eqls",Ga);function Pi(e,t){t&&w(this,"message",t);let r=w(this,"object"),n=w(this,"doLength"),o=w(this,"message"),i=o?o+": ":"",a=w(this,"ssfi"),s=Q(r).toLowerCase(),l=Q(e).toLowerCase();if(n&&s!=="map"&&s!=="set"&&new h(r,o,a,!0).to.have.property("length"),!n&&s==="date"&&l!=="date")throw new G(i+"the argument to above must be a date",void 0,a);if(!ne(e)&&(n||ne(r)))throw new G(i+"the argument to above must be a number",void 0,a);if(!n&&s!=="date"&&!ne(r)){let u=s==="string"?"'"+r+"'":r;throw new G(i+"expected "+u+" to be a number or a date",void 0,a)}if(n){let u="length",f;s==="map"||s==="set"?(u="size",f=r.size):f=r.length,this.assert(f>e,"expected #{this} to have a "+u+" above #{exp} but got #{act}","expected #{this} to not have a "+u+" above #{exp}",e,f)}else this.assert(r>e,"expected #{this} to be above #{exp}","expected #{this} to be at most #{exp}",e)}x(Pi,"assertAbove");h.addMethod("above",Pi);h.addMethod("gt",Pi);h.addMethod("greaterThan",Pi);function Ti(e,t){t&&w(this,"message",t);let r=w(this,"object"),n=w(this,"doLength"),o=w(this,"message"),i=o?o+": ":"",a=w(this,"ssfi"),s=Q(r).toLowerCase(),l=Q(e).toLowerCase(),u,f=!0;if(n&&s!=="map"&&s!=="set"&&new h(r,o,a,!0).to.have.property("length"),!n&&s==="date"&&l!=="date")u=i+"the argument to least must be a date";else if(!ne(e)&&(n||ne(r)))u=i+"the argument to least must be a number";else if(!n&&s!=="date"&&!ne(r)){let c=s==="string"?"'"+r+"'":r;u=i+"expected "+c+" to be a number or a date"}else f=!1;if(f)throw new G(u,void 0,a);if(n){let c="length",d;s==="map"||s==="set"?(c="size",d=r.size):d=r.length,this.assert(d>=e,"expected #{this} to have a "+c+" at least #{exp} but got #{act}","expected #{this} to have a "+c+" below #{exp}",e,d)}else this.assert(r>=e,"expected #{this} to be at least #{exp}","expected #{this} to be below #{exp}",e)}x(Ti,"assertLeast");h.addMethod("least",Ti);h.addMethod("gte",Ti);h.addMethod("greaterThanOrEqual",Ti);function Si(e,t){t&&w(this,"message",t);let r=w(this,"object"),n=w(this,"doLength"),o=w(this,"message"),i=o?o+": ":"",a=w(this,"ssfi"),s=Q(r).toLowerCase(),l=Q(e).toLowerCase(),u,f=!0;if(n&&s!=="map"&&s!=="set"&&new h(r,o,a,!0).to.have.property("length"),!n&&s==="date"&&l!=="date")u=i+"the argument to below must be a date";else if(!ne(e)&&(n||ne(r)))u=i+"the argument to below must be a number";else if(!n&&s!=="date"&&!ne(r)){let c=s==="string"?"'"+r+"'":r;u=i+"expected "+c+" to be a number or a date"}else f=!1;if(f)throw new G(u,void 0,a);if(n){let c="length",d;s==="map"||s==="set"?(c="size",d=r.size):d=r.length,this.assert(d<e,"expected #{this} to have a "+c+" below #{exp} but got #{act}","expected #{this} to not have a "+c+" below #{exp}",e,d)}else this.assert(r<e,"expected #{this} to be below #{exp}","expected #{this} to be at least #{exp}",e)}x(Si,"assertBelow");h.addMethod("below",Si);h.addMethod("lt",Si);h.addMethod("lessThan",Si);function Ai(e,t){t&&w(this,"message",t);let r=w(this,"object"),n=w(this,"doLength"),o=w(this,"message"),i=o?o+": ":"",a=w(this,"ssfi"),s=Q(r).toLowerCase(),l=Q(e).toLowerCase(),u,f=!0;if(n&&s!=="map"&&s!=="set"&&new h(r,o,a,!0).to.have.property("length"),!n&&s==="date"&&l!=="date")u=i+"the argument to most must be a date";else if(!ne(e)&&(n||ne(r)))u=i+"the argument to most must be a number";else if(!n&&s!=="date"&&!ne(r)){let c=s==="string"?"'"+r+"'":r;u=i+"expected "+c+" to be a number or a date"}else f=!1;if(f)throw new G(u,void 0,a);if(n){let c="length",d;s==="map"||s==="set"?(c="size",d=r.size):d=r.length,this.assert(d<=e,"expected #{this} to have a "+c+" at most #{exp} but got #{act}","expected #{this} to have a "+c+" above #{exp}",e,d)}else this.assert(r<=e,"expected #{this} to be at most #{exp}","expected #{this} to be above #{exp}",e)}x(Ai,"assertMost");h.addMethod("most",Ai);h.addMethod("lte",Ai);h.addMethod("lessThanOrEqual",Ai);h.addMethod("within",function(e,t,r){r&&w(this,"message",r);let n=w(this,"object"),o=w(this,"doLength"),i=w(this,"message"),a=i?i+": ":"",s=w(this,"ssfi"),l=Q(n).toLowerCase(),u=Q(e).toLowerCase(),f=Q(t).toLowerCase(),c,d=!0,b=u==="date"&&f==="date"?e.toISOString()+".."+t.toISOString():e+".."+t;if(o&&l!=="map"&&l!=="set"&&new h(n,i,s,!0).to.have.property("length"),!o&&l==="date"&&(u!=="date"||f!=="date"))c=a+"the arguments to within must be dates";else if((!ne(e)||!ne(t))&&(o||ne(n)))c=a+"the arguments to within must be numbers";else if(!o&&l!=="date"&&!ne(n)){let v=l==="string"?"'"+n+"'":n;c=a+"expected "+v+" to be a number or a date"}else d=!1;if(d)throw new G(c,void 0,s);if(o){let v="length",R;l==="map"||l==="set"?(v="size",R=n.size):R=n.length,this.assert(R>=e&&R<=t,"expected #{this} to have a "+v+" within "+b,"expected #{this} to not have a "+v+" within "+b)}else this.assert(n>=e&&n<=t,"expected #{this} to be within "+b,"expected #{this} to not be within "+b)});function Ka(e,t){t&&w(this,"message",t);let r=w(this,"object"),n=w(this,"ssfi"),o=w(this,"message"),i;try{i=r instanceof e}catch(s){throw s instanceof TypeError?(o=o?o+": ":"",new G(o+"The instanceof assertion needs a constructor but "+Q(e)+" was given.",void 0,n)):s}let a=qi(e);a==null&&(a="an unnamed constructor"),this.assert(i,"expected #{this} to be an instance of "+a,"expected #{this} to not be an instance of "+a)}x(Ka,"assertInstanceOf");h.addMethod("instanceof",Ka);h.addMethod("instanceOf",Ka);function Ya(e,t,r){r&&w(this,"message",r);let n=w(this,"nested"),o=w(this,"own"),i=w(this,"message"),a=w(this,"object"),s=w(this,"ssfi"),l=typeof e;if(i=i?i+": ":"",n){if(l!=="string")throw new G(i+"the argument to property must be a string when using nested syntax",void 0,s)}else if(l!=="string"&&l!=="number"&&l!=="symbol")throw new G(i+"the argument to property must be a string, number, or symbol",void 0,s);if(n&&o)throw new G(i+'The "nested" and "own" flags cannot be combined.',void 0,s);if(a==null)throw new G(i+"Target cannot be null or undefined.",void 0,s);let u=w(this,"deep"),f=w(this,"negate"),c=n?Ia(a,e):null,d=n?c.value:a[e],b=u?w(this,"eql"):(S,p)=>S===p,v="";u&&(v+="deep "),o&&(v+="own "),n&&(v+="nested "),v+="property ";let R;o?R=Object.prototype.hasOwnProperty.call(a,e):n?R=c.exists:R=xi(a,e),(!f||arguments.length===1)&&this.assert(R,"expected #{this} to have "+v+H(e),"expected #{this} to not have "+v+H(e)),arguments.length>1&&this.assert(R&&b(t,d),"expected #{this} to have "+v+H(e)+" of #{exp}, but got #{act}","expected #{this} to not have "+v+H(e)+" of #{act}",t,d),w(this,"object",d)}x(Ya,"assertProperty");h.addMethod("property",Ya);function Xa(e,t,r){w(this,"own",!0),Ya.apply(this,arguments)}x(Xa,"assertOwnProperty");h.addMethod("ownProperty",Xa);h.addMethod("haveOwnProperty",Xa);function Ja(e,t,r){typeof t=="string"&&(r=t,t=null),r&&w(this,"message",r);let n=w(this,"object"),o=Object.getOwnPropertyDescriptor(Object(n),e),i=w(this,"eql");o&&t?this.assert(i(t,o),"expected the own property descriptor for "+H(e)+" on #{this} to match "+H(t)+", got "+H(o),"expected the own property descriptor for "+H(e)+" on #{this} to not match "+H(t),t,o,!0):this.assert(o,"expected #{this} to have an own property descriptor for "+H(e),"expected #{this} to not have an own property descriptor for "+H(e)),w(this,"object",o)}x(Ja,"assertOwnPropertyDescriptor");h.addMethod("ownPropertyDescriptor",Ja);h.addMethod("haveOwnPropertyDescriptor",Ja);function Qa(){w(this,"doLength",!0)}x(Qa,"assertLengthChain");function Za(e,t){t&&w(this,"message",t);let r=w(this,"object"),n=Q(r).toLowerCase(),o=w(this,"message"),i=w(this,"ssfi"),a="length",s;switch(n){case"map":case"set":a="size",s=r.size;break;default:new h(r,o,i,!0).to.have.property("length"),s=r.length}this.assert(s==e,"expected #{this} to have a "+a+" of #{exp} but got #{act}","expected #{this} to not have a "+a+" of #{act}",e,s)}x(Za,"assertLength");h.addChainableMethod("length",Za,Qa);h.addChainableMethod("lengthOf",Za,Qa);function es(e,t){t&&w(this,"message",t);let r=w(this,"object");this.assert(e.exec(r),"expected #{this} to match "+e,"expected #{this} not to match "+e)}x(es,"assertMatch");h.addMethod("match",es);h.addMethod("matches",es);h.addMethod("string",function(e,t){t&&w(this,"message",t);let r=w(this,"object"),n=w(this,"message"),o=w(this,"ssfi");new h(r,n,o,!0).is.a("string"),this.assert(~r.indexOf(e),"expected #{this} to contain "+H(e),"expected #{this} to not contain "+H(e))});function ts(e){let t=w(this,"object"),r=Q(t),n=Q(e),o=w(this,"ssfi"),i=w(this,"deep"),a,s="",l,u=!0,f=w(this,"message");f=f?f+": ":"";let c=f+"when testing keys against an object or an array you must give a single Array|Object|String argument or multiple String arguments";if(r==="Map"||r==="Set")s=i?"deeply ":"",l=[],t.forEach(function(p,q){l.push(q)}),n!=="Array"&&(e=Array.prototype.slice.call(arguments));else{switch(l=Ua(t),n){case"Array":if(arguments.length>1)throw new G(c,void 0,o);break;case"Object":if(arguments.length>1)throw new G(c,void 0,o);e=Object.keys(e);break;default:e=Array.prototype.slice.call(arguments)}e=e.map(function(p){return typeof p=="symbol"?p:String(p)})}if(!e.length)throw new G(f+"keys required",void 0,o);let d=e.length,b=w(this,"any"),v=w(this,"all"),R=e,S=i?w(this,"eql"):(p,q)=>p===q;if(!b&&!v&&(v=!0),b&&(u=R.some(function(p){return l.some(function(q){return S(p,q)})})),v&&(u=R.every(function(p){return l.some(function(q){return S(p,q)})}),w(this,"contains")||(u=u&&e.length==l.length)),d>1){e=e.map(function(q){return H(q)});let p=e.pop();v&&(a=e.join(", ")+", and "+p),b&&(a=e.join(", ")+", or "+p)}else a=H(e[0]);a=(d>1?"keys ":"key ")+a,a=(w(this,"contains")?"contain ":"have ")+a,this.assert(u,"expected #{this} to "+s+a,"expected #{this} to not "+s+a,R.slice(0).sort(ui),l.sort(ui),!0)}x(ts,"assertKeys");h.addMethod("keys",ts);h.addMethod("key",ts);function Mi(e,t,r){r&&w(this,"message",r);let n=w(this,"object"),o=w(this,"ssfi"),i=w(this,"message"),a=w(this,"negate")||!1;new h(n,i,o,!0).is.a("function"),(di(e)||typeof e=="string")&&(t=e,e=null);let s,l=!1;try{n()}catch(b){l=!0,s=b}let u=e===void 0&&t===void 0,f=!!(e&&t),c=!1,d=!1;if(u||!u&&!a){let b="an error";e instanceof Error?b="#{exp}":e&&(b=fe.getConstructorName(e));let v=s;if(s instanceof Error)v=s.toString();else if(typeof s=="string")v=s;else if(s&&(typeof s=="object"||typeof s=="function"))try{v=fe.getConstructorName(s)}catch{}this.assert(l,"expected #{this} to throw "+b,"expected #{this} to not throw an error but #{act} was thrown",e&&e.toString(),v)}if(e&&s&&(e instanceof Error&&fe.compatibleInstance(s,e)===a&&(f&&a?c=!0:this.assert(a,"expected #{this} to throw #{exp} but #{act} was thrown","expected #{this} to not throw #{exp}"+(s&&!a?" but #{act} was thrown":""),e.toString(),s.toString())),fe.compatibleConstructor(s,e)===a&&(f&&a?c=!0:this.assert(a,"expected #{this} to throw #{exp} but #{act} was thrown","expected #{this} to not throw #{exp}"+(s?" but #{act} was thrown":""),e instanceof Error?e.toString():e&&fe.getConstructorName(e),s instanceof Error?s.toString():s&&fe.getConstructorName(s)))),s&&t!==void 0&&t!==null){let b="including";di(t)&&(b="matching"),fe.compatibleMessage(s,t)===a&&(f&&a?d=!0:this.assert(a,"expected #{this} to throw error "+b+" #{exp} but got #{act}","expected #{this} to throw error not "+b+" #{exp}",t,fe.getMessage(s)))}c&&d&&this.assert(a,"expected #{this} to throw #{exp} but #{act} was thrown","expected #{this} to not throw #{exp}"+(s?" but #{act} was thrown":""),e instanceof Error?e.toString():e&&fe.getConstructorName(e),s instanceof Error?s.toString():s&&fe.getConstructorName(s)),w(this,"object",s)}x(Mi,"assertThrows");h.addMethod("throw",Mi);h.addMethod("throws",Mi);h.addMethod("Throw",Mi);function rs(e,t){t&&w(this,"message",t);let r=w(this,"object"),n=w(this,"itself"),o=typeof r=="function"&&!n?r.prototype[e]:r[e];this.assert(typeof o=="function","expected #{this} to respond to "+H(e),"expected #{this} to not respond to "+H(e))}x(rs,"respondTo");h.addMethod("respondTo",rs);h.addMethod("respondsTo",rs);h.addProperty("itself",function(){w(this,"itself",!0)});function ns(e,t){t&&w(this,"message",t);let r=w(this,"object"),n=e(r);this.assert(n,"expected #{this} to satisfy "+st(e),"expected #{this} to not satisfy"+st(e),!w(this,"negate"),n)}x(ns,"satisfy");h.addMethod("satisfy",ns);h.addMethod("satisfies",ns);function os(e,t,r){r&&w(this,"message",r);let n=w(this,"object"),o=w(this,"message"),i=w(this,"ssfi");new h(n,o,i,!0).is.numeric;let a="A `delta` value is required for `closeTo`";if(t==null)throw new G(o?`${o}: ${a}`:a,void 0,i);if(new h(t,o,i,!0).is.numeric,a="A `expected` value is required for `closeTo`",e==null)throw new G(o?`${o}: ${a}`:a,void 0,i);new h(e,o,i,!0).is.numeric;const s=x(u=>u<0?-u:u,"abs"),l=x(u=>parseFloat(parseFloat(u).toPrecision(12)),"strip");this.assert(l(s(n-e))<=t,"expected #{this} to be close to "+e+" +/- "+t,"expected #{this} not to be close to "+e+" +/- "+t)}x(os,"closeTo");h.addMethod("closeTo",os);h.addMethod("approximately",os);function cf(e,t,r,n,o){let i=Array.from(t),a=Array.from(e);if(!n){if(a.length!==i.length)return!1;i=i.slice()}return a.every(function(s,l){if(o)return r?r(s,i[l]):s===i[l];if(!r){let u=i.indexOf(s);return u===-1?!1:(n||i.splice(u,1),!0)}return i.some(function(u,f){return r(s,u)?(n||i.splice(f,1),!0):!1})})}x(cf,"isSubsetOf");h.addMethod("members",function(e,t){t&&w(this,"message",t);let r=w(this,"object"),n=w(this,"message"),o=w(this,"ssfi");new h(r,n,o,!0).to.be.iterable,new h(e,n,o,!0).to.be.iterable;let i=w(this,"contains"),a=w(this,"ordered"),s,l,u;i?(s=a?"an ordered superset":"a superset",l="expected #{this} to be "+s+" of #{exp}",u="expected #{this} to not be "+s+" of #{exp}"):(s=a?"ordered members":"members",l="expected #{this} to have the same "+s+" as #{exp}",u="expected #{this} to not have the same "+s+" as #{exp}");let f=w(this,"deep")?w(this,"eql"):void 0;this.assert(cf(e,r,f,i,a),l,u,e,r,!0)});h.addProperty("iterable",function(e){e&&w(this,"message",e);let t=w(this,"object");this.assert(t!=null&&t[Symbol.iterator],"expected #{this} to be an iterable","expected #{this} to not be an iterable",t)});function df(e,t){t&&w(this,"message",t);let r=w(this,"object"),n=w(this,"message"),o=w(this,"ssfi"),i=w(this,"contains"),a=w(this,"deep"),s=w(this,"eql");new h(e,n,o,!0).to.be.an("array"),i?this.assert(e.some(function(l){return r.indexOf(l)>-1}),"expected #{this} to contain one of #{exp}","expected #{this} to not contain one of #{exp}",e,r):a?this.assert(e.some(function(l){return s(r,l)}),"expected #{this} to deeply equal one of #{exp}","expected #{this} to deeply equal one of #{exp}",e,r):this.assert(e.indexOf(r)>-1,"expected #{this} to be one of #{exp}","expected #{this} to not be one of #{exp}",e,r)}x(df,"oneOf");h.addMethod("oneOf",df);function is(e,t,r){r&&w(this,"message",r);let n=w(this,"object"),o=w(this,"message"),i=w(this,"ssfi");new h(n,o,i,!0).is.a("function");let a;t?(new h(e,o,i,!0).to.have.property(t),a=e[t]):(new h(e,o,i,!0).is.a("function"),a=e()),n();let s=t==null?e():e[t],l=t==null?a:"."+t;w(this,"deltaMsgObj",l),w(this,"initialDeltaValue",a),w(this,"finalDeltaValue",s),w(this,"deltaBehavior","change"),w(this,"realDelta",s!==a),this.assert(a!==s,"expected "+l+" to change","expected "+l+" to not change")}x(is,"assertChanges");h.addMethod("change",is);h.addMethod("changes",is);function as(e,t,r){r&&w(this,"message",r);let n=w(this,"object"),o=w(this,"message"),i=w(this,"ssfi");new h(n,o,i,!0).is.a("function");let a;t?(new h(e,o,i,!0).to.have.property(t),a=e[t]):(new h(e,o,i,!0).is.a("function"),a=e()),new h(a,o,i,!0).is.a("number"),n();let s=t==null?e():e[t],l=t==null?a:"."+t;w(this,"deltaMsgObj",l),w(this,"initialDeltaValue",a),w(this,"finalDeltaValue",s),w(this,"deltaBehavior","increase"),w(this,"realDelta",s-a),this.assert(s-a>0,"expected "+l+" to increase","expected "+l+" to not increase")}x(as,"assertIncreases");h.addMethod("increase",as);h.addMethod("increases",as);function ss(e,t,r){r&&w(this,"message",r);let n=w(this,"object"),o=w(this,"message"),i=w(this,"ssfi");new h(n,o,i,!0).is.a("function");let a;t?(new h(e,o,i,!0).to.have.property(t),a=e[t]):(new h(e,o,i,!0).is.a("function"),a=e()),new h(a,o,i,!0).is.a("number"),n();let s=t==null?e():e[t],l=t==null?a:"."+t;w(this,"deltaMsgObj",l),w(this,"initialDeltaValue",a),w(this,"finalDeltaValue",s),w(this,"deltaBehavior","decrease"),w(this,"realDelta",a-s),this.assert(s-a<0,"expected "+l+" to decrease","expected "+l+" to not decrease")}x(ss,"assertDecreases");h.addMethod("decrease",ss);h.addMethod("decreases",ss);function ff(e,t){t&&w(this,"message",t);let r=w(this,"deltaMsgObj"),n=w(this,"initialDeltaValue"),o=w(this,"finalDeltaValue"),i=w(this,"deltaBehavior"),a=w(this,"realDelta"),s;i==="change"?s=Math.abs(o-n)===Math.abs(e):s=a===Math.abs(e),this.assert(s,"expected "+r+" to "+i+" by "+e,"expected "+r+" to not "+i+" by "+e)}x(ff,"assertDelta");h.addMethod("by",ff);h.addProperty("extensible",function(){let e=w(this,"object"),t=e===Object(e)&&Object.isExtensible(e);this.assert(t,"expected #{this} to be extensible","expected #{this} to not be extensible")});h.addProperty("sealed",function(){let e=w(this,"object"),t=e===Object(e)?Object.isSealed(e):!0;this.assert(t,"expected #{this} to be sealed","expected #{this} to not be sealed")});h.addProperty("frozen",function(){let e=w(this,"object"),t=e===Object(e)?Object.isFrozen(e):!0;this.assert(t,"expected #{this} to be frozen","expected #{this} to not be frozen")});h.addProperty("finite",function(e){let t=w(this,"object");this.assert(typeof t=="number"&&isFinite(t),"expected #{this} to be a finite number","expected #{this} to not be a finite number")});function fi(e,t){return e===t?!0:typeof t!=typeof e?!1:typeof e!="object"||e===null?e===t:t?Array.isArray(e)?Array.isArray(t)?e.every(function(r){return t.some(function(n){return fi(r,n)})}):!1:e instanceof Date?t instanceof Date?e.getTime()===t.getTime():!1:Object.keys(e).every(function(r){let n=e[r],o=t[r];return typeof n=="object"&&n!==null&&o!==null?fi(n,o):typeof n=="function"?n(o):o===n}):!1}x(fi,"compareSubset");h.addMethod("containSubset",function(e){const t=U(this,"object"),r=ie.showDiff;this.assert(fi(e,t),"expected #{act} to contain subset #{exp}","expected #{act} to not contain subset #{exp}",e,t,r)});function Po(e,t){return new h(e,t)}x(Po,"expect");Po.fail=function(e,t,r,n){throw arguments.length<2&&(r=e,e=void 0),r=r||"expect.fail()",new G(r,{actual:e,expected:t,operator:n},Po.fail)};var pf={};_a(pf,{Should:()=>Hm,should:()=>Vm});function ls(){function e(){return this instanceof String||this instanceof Number||this instanceof Boolean||typeof Symbol=="function"&&this instanceof Symbol||typeof BigInt=="function"&&this instanceof BigInt?new h(this.valueOf(),null,e):new h(this,null,e)}x(e,"shouldGetter");function t(n){Object.defineProperty(this,"should",{value:n,enumerable:!0,configurable:!0,writable:!0})}x(t,"shouldSetter"),Object.defineProperty(Object.prototype,"should",{set:t,get:e,configurable:!0});let r={};return r.fail=function(n,o,i,a){throw arguments.length<2&&(i=n,n=void 0),i=i||"should.fail()",new G(i,{actual:n,expected:o,operator:a},r.fail)},r.equal=function(n,o,i){new h(n,i).to.equal(o)},r.Throw=function(n,o,i,a){new h(n,a).to.Throw(o,i)},r.exist=function(n,o){new h(n,o).to.exist},r.not={},r.not.equal=function(n,o,i){new h(n,i).to.not.equal(o)},r.not.Throw=function(n,o,i,a){new h(n,a).to.not.Throw(o,i)},r.not.exist=function(n,o){new h(n,o).to.not.exist},r.throw=r.Throw,r.not.throw=r.not.Throw,r}x(ls,"loadShould");var Vm=ls,Hm=ls;function m(e,t){new h(null,null,m,!0).assert(e,t,"[ negation message unavailable ]")}x(m,"assert");m.fail=function(e,t,r,n){throw arguments.length<2&&(r=e,e=void 0),r=r||"assert.fail()",new G(r,{actual:e,expected:t,operator:n},m.fail)};m.isOk=function(e,t){new h(e,t,m.isOk,!0).is.ok};m.isNotOk=function(e,t){new h(e,t,m.isNotOk,!0).is.not.ok};m.equal=function(e,t,r){let n=new h(e,r,m.equal,!0);n.assert(t==U(n,"object"),"expected #{this} to equal #{exp}","expected #{this} to not equal #{act}",t,e,!0)};m.notEqual=function(e,t,r){let n=new h(e,r,m.notEqual,!0);n.assert(t!=U(n,"object"),"expected #{this} to not equal #{exp}","expected #{this} to equal #{act}",t,e,!0)};m.strictEqual=function(e,t,r){new h(e,r,m.strictEqual,!0).to.equal(t)};m.notStrictEqual=function(e,t,r){new h(e,r,m.notStrictEqual,!0).to.not.equal(t)};m.deepEqual=m.deepStrictEqual=function(e,t,r){new h(e,r,m.deepEqual,!0).to.eql(t)};m.notDeepEqual=function(e,t,r){new h(e,r,m.notDeepEqual,!0).to.not.eql(t)};m.isAbove=function(e,t,r){new h(e,r,m.isAbove,!0).to.be.above(t)};m.isAtLeast=function(e,t,r){new h(e,r,m.isAtLeast,!0).to.be.least(t)};m.isBelow=function(e,t,r){new h(e,r,m.isBelow,!0).to.be.below(t)};m.isAtMost=function(e,t,r){new h(e,r,m.isAtMost,!0).to.be.most(t)};m.isTrue=function(e,t){new h(e,t,m.isTrue,!0).is.true};m.isNotTrue=function(e,t){new h(e,t,m.isNotTrue,!0).to.not.equal(!0)};m.isFalse=function(e,t){new h(e,t,m.isFalse,!0).is.false};m.isNotFalse=function(e,t){new h(e,t,m.isNotFalse,!0).to.not.equal(!1)};m.isNull=function(e,t){new h(e,t,m.isNull,!0).to.equal(null)};m.isNotNull=function(e,t){new h(e,t,m.isNotNull,!0).to.not.equal(null)};m.isNaN=function(e,t){new h(e,t,m.isNaN,!0).to.be.NaN};m.isNotNaN=function(e,t){new h(e,t,m.isNotNaN,!0).not.to.be.NaN};m.exists=function(e,t){new h(e,t,m.exists,!0).to.exist};m.notExists=function(e,t){new h(e,t,m.notExists,!0).to.not.exist};m.isUndefined=function(e,t){new h(e,t,m.isUndefined,!0).to.equal(void 0)};m.isDefined=function(e,t){new h(e,t,m.isDefined,!0).to.not.equal(void 0)};m.isCallable=function(e,t){new h(e,t,m.isCallable,!0).is.callable};m.isNotCallable=function(e,t){new h(e,t,m.isNotCallable,!0).is.not.callable};m.isObject=function(e,t){new h(e,t,m.isObject,!0).to.be.a("object")};m.isNotObject=function(e,t){new h(e,t,m.isNotObject,!0).to.not.be.a("object")};m.isArray=function(e,t){new h(e,t,m.isArray,!0).to.be.an("array")};m.isNotArray=function(e,t){new h(e,t,m.isNotArray,!0).to.not.be.an("array")};m.isString=function(e,t){new h(e,t,m.isString,!0).to.be.a("string")};m.isNotString=function(e,t){new h(e,t,m.isNotString,!0).to.not.be.a("string")};m.isNumber=function(e,t){new h(e,t,m.isNumber,!0).to.be.a("number")};m.isNotNumber=function(e,t){new h(e,t,m.isNotNumber,!0).to.not.be.a("number")};m.isNumeric=function(e,t){new h(e,t,m.isNumeric,!0).is.numeric};m.isNotNumeric=function(e,t){new h(e,t,m.isNotNumeric,!0).is.not.numeric};m.isFinite=function(e,t){new h(e,t,m.isFinite,!0).to.be.finite};m.isBoolean=function(e,t){new h(e,t,m.isBoolean,!0).to.be.a("boolean")};m.isNotBoolean=function(e,t){new h(e,t,m.isNotBoolean,!0).to.not.be.a("boolean")};m.typeOf=function(e,t,r){new h(e,r,m.typeOf,!0).to.be.a(t)};m.notTypeOf=function(e,t,r){new h(e,r,m.notTypeOf,!0).to.not.be.a(t)};m.instanceOf=function(e,t,r){new h(e,r,m.instanceOf,!0).to.be.instanceOf(t)};m.notInstanceOf=function(e,t,r){new h(e,r,m.notInstanceOf,!0).to.not.be.instanceOf(t)};m.include=function(e,t,r){new h(e,r,m.include,!0).include(t)};m.notInclude=function(e,t,r){new h(e,r,m.notInclude,!0).not.include(t)};m.deepInclude=function(e,t,r){new h(e,r,m.deepInclude,!0).deep.include(t)};m.notDeepInclude=function(e,t,r){new h(e,r,m.notDeepInclude,!0).not.deep.include(t)};m.nestedInclude=function(e,t,r){new h(e,r,m.nestedInclude,!0).nested.include(t)};m.notNestedInclude=function(e,t,r){new h(e,r,m.notNestedInclude,!0).not.nested.include(t)};m.deepNestedInclude=function(e,t,r){new h(e,r,m.deepNestedInclude,!0).deep.nested.include(t)};m.notDeepNestedInclude=function(e,t,r){new h(e,r,m.notDeepNestedInclude,!0).not.deep.nested.include(t)};m.ownInclude=function(e,t,r){new h(e,r,m.ownInclude,!0).own.include(t)};m.notOwnInclude=function(e,t,r){new h(e,r,m.notOwnInclude,!0).not.own.include(t)};m.deepOwnInclude=function(e,t,r){new h(e,r,m.deepOwnInclude,!0).deep.own.include(t)};m.notDeepOwnInclude=function(e,t,r){new h(e,r,m.notDeepOwnInclude,!0).not.deep.own.include(t)};m.match=function(e,t,r){new h(e,r,m.match,!0).to.match(t)};m.notMatch=function(e,t,r){new h(e,r,m.notMatch,!0).to.not.match(t)};m.property=function(e,t,r){new h(e,r,m.property,!0).to.have.property(t)};m.notProperty=function(e,t,r){new h(e,r,m.notProperty,!0).to.not.have.property(t)};m.propertyVal=function(e,t,r,n){new h(e,n,m.propertyVal,!0).to.have.property(t,r)};m.notPropertyVal=function(e,t,r,n){new h(e,n,m.notPropertyVal,!0).to.not.have.property(t,r)};m.deepPropertyVal=function(e,t,r,n){new h(e,n,m.deepPropertyVal,!0).to.have.deep.property(t,r)};m.notDeepPropertyVal=function(e,t,r,n){new h(e,n,m.notDeepPropertyVal,!0).to.not.have.deep.property(t,r)};m.ownProperty=function(e,t,r){new h(e,r,m.ownProperty,!0).to.have.own.property(t)};m.notOwnProperty=function(e,t,r){new h(e,r,m.notOwnProperty,!0).to.not.have.own.property(t)};m.ownPropertyVal=function(e,t,r,n){new h(e,n,m.ownPropertyVal,!0).to.have.own.property(t,r)};m.notOwnPropertyVal=function(e,t,r,n){new h(e,n,m.notOwnPropertyVal,!0).to.not.have.own.property(t,r)};m.deepOwnPropertyVal=function(e,t,r,n){new h(e,n,m.deepOwnPropertyVal,!0).to.have.deep.own.property(t,r)};m.notDeepOwnPropertyVal=function(e,t,r,n){new h(e,n,m.notDeepOwnPropertyVal,!0).to.not.have.deep.own.property(t,r)};m.nestedProperty=function(e,t,r){new h(e,r,m.nestedProperty,!0).to.have.nested.property(t)};m.notNestedProperty=function(e,t,r){new h(e,r,m.notNestedProperty,!0).to.not.have.nested.property(t)};m.nestedPropertyVal=function(e,t,r,n){new h(e,n,m.nestedPropertyVal,!0).to.have.nested.property(t,r)};m.notNestedPropertyVal=function(e,t,r,n){new h(e,n,m.notNestedPropertyVal,!0).to.not.have.nested.property(t,r)};m.deepNestedPropertyVal=function(e,t,r,n){new h(e,n,m.deepNestedPropertyVal,!0).to.have.deep.nested.property(t,r)};m.notDeepNestedPropertyVal=function(e,t,r,n){new h(e,n,m.notDeepNestedPropertyVal,!0).to.not.have.deep.nested.property(t,r)};m.lengthOf=function(e,t,r){new h(e,r,m.lengthOf,!0).to.have.lengthOf(t)};m.hasAnyKeys=function(e,t,r){new h(e,r,m.hasAnyKeys,!0).to.have.any.keys(t)};m.hasAllKeys=function(e,t,r){new h(e,r,m.hasAllKeys,!0).to.have.all.keys(t)};m.containsAllKeys=function(e,t,r){new h(e,r,m.containsAllKeys,!0).to.contain.all.keys(t)};m.doesNotHaveAnyKeys=function(e,t,r){new h(e,r,m.doesNotHaveAnyKeys,!0).to.not.have.any.keys(t)};m.doesNotHaveAllKeys=function(e,t,r){new h(e,r,m.doesNotHaveAllKeys,!0).to.not.have.all.keys(t)};m.hasAnyDeepKeys=function(e,t,r){new h(e,r,m.hasAnyDeepKeys,!0).to.have.any.deep.keys(t)};m.hasAllDeepKeys=function(e,t,r){new h(e,r,m.hasAllDeepKeys,!0).to.have.all.deep.keys(t)};m.containsAllDeepKeys=function(e,t,r){new h(e,r,m.containsAllDeepKeys,!0).to.contain.all.deep.keys(t)};m.doesNotHaveAnyDeepKeys=function(e,t,r){new h(e,r,m.doesNotHaveAnyDeepKeys,!0).to.not.have.any.deep.keys(t)};m.doesNotHaveAllDeepKeys=function(e,t,r){new h(e,r,m.doesNotHaveAllDeepKeys,!0).to.not.have.all.deep.keys(t)};m.throws=function(e,t,r,n){(typeof t=="string"||t instanceof RegExp)&&(r=t,t=null);let o=new h(e,n,m.throws,!0).to.throw(t,r);return U(o,"object")};m.doesNotThrow=function(e,t,r,n){(typeof t=="string"||t instanceof RegExp)&&(r=t,t=null),new h(e,n,m.doesNotThrow,!0).to.not.throw(t,r)};m.operator=function(e,t,r,n){let o;switch(t){case"==":o=e==r;break;case"===":o=e===r;break;case">":o=e>r;break;case">=":o=e>=r;break;case"<":o=e<r;break;case"<=":o=e<=r;break;case"!=":o=e!=r;break;case"!==":o=e!==r;break;default:throw n=n&&n+": ",new G(n+'Invalid operator "'+t+'"',void 0,m.operator)}let i=new h(o,n,m.operator,!0);i.assert(U(i,"object")===!0,"expected "+H(e)+" to be "+t+" "+H(r),"expected "+H(e)+" to not be "+t+" "+H(r))};m.closeTo=function(e,t,r,n){new h(e,n,m.closeTo,!0).to.be.closeTo(t,r)};m.approximately=function(e,t,r,n){new h(e,n,m.approximately,!0).to.be.approximately(t,r)};m.sameMembers=function(e,t,r){new h(e,r,m.sameMembers,!0).to.have.same.members(t)};m.notSameMembers=function(e,t,r){new h(e,r,m.notSameMembers,!0).to.not.have.same.members(t)};m.sameDeepMembers=function(e,t,r){new h(e,r,m.sameDeepMembers,!0).to.have.same.deep.members(t)};m.notSameDeepMembers=function(e,t,r){new h(e,r,m.notSameDeepMembers,!0).to.not.have.same.deep.members(t)};m.sameOrderedMembers=function(e,t,r){new h(e,r,m.sameOrderedMembers,!0).to.have.same.ordered.members(t)};m.notSameOrderedMembers=function(e,t,r){new h(e,r,m.notSameOrderedMembers,!0).to.not.have.same.ordered.members(t)};m.sameDeepOrderedMembers=function(e,t,r){new h(e,r,m.sameDeepOrderedMembers,!0).to.have.same.deep.ordered.members(t)};m.notSameDeepOrderedMembers=function(e,t,r){new h(e,r,m.notSameDeepOrderedMembers,!0).to.not.have.same.deep.ordered.members(t)};m.includeMembers=function(e,t,r){new h(e,r,m.includeMembers,!0).to.include.members(t)};m.notIncludeMembers=function(e,t,r){new h(e,r,m.notIncludeMembers,!0).to.not.include.members(t)};m.includeDeepMembers=function(e,t,r){new h(e,r,m.includeDeepMembers,!0).to.include.deep.members(t)};m.notIncludeDeepMembers=function(e,t,r){new h(e,r,m.notIncludeDeepMembers,!0).to.not.include.deep.members(t)};m.includeOrderedMembers=function(e,t,r){new h(e,r,m.includeOrderedMembers,!0).to.include.ordered.members(t)};m.notIncludeOrderedMembers=function(e,t,r){new h(e,r,m.notIncludeOrderedMembers,!0).to.not.include.ordered.members(t)};m.includeDeepOrderedMembers=function(e,t,r){new h(e,r,m.includeDeepOrderedMembers,!0).to.include.deep.ordered.members(t)};m.notIncludeDeepOrderedMembers=function(e,t,r){new h(e,r,m.notIncludeDeepOrderedMembers,!0).to.not.include.deep.ordered.members(t)};m.oneOf=function(e,t,r){new h(e,r,m.oneOf,!0).to.be.oneOf(t)};m.isIterable=function(e,t){if(e==null||!e[Symbol.iterator])throw t=t?`${t} expected ${H(e)} to be an iterable`:`expected ${H(e)} to be an iterable`,new G(t,void 0,m.isIterable)};m.changes=function(e,t,r,n){arguments.length===3&&typeof t=="function"&&(n=r,r=null),new h(e,n,m.changes,!0).to.change(t,r)};m.changesBy=function(e,t,r,n,o){if(arguments.length===4&&typeof t=="function"){let i=n;n=r,o=i}else arguments.length===3&&(n=r,r=null);new h(e,o,m.changesBy,!0).to.change(t,r).by(n)};m.doesNotChange=function(e,t,r,n){return arguments.length===3&&typeof t=="function"&&(n=r,r=null),new h(e,n,m.doesNotChange,!0).to.not.change(t,r)};m.changesButNotBy=function(e,t,r,n,o){if(arguments.length===4&&typeof t=="function"){let i=n;n=r,o=i}else arguments.length===3&&(n=r,r=null);new h(e,o,m.changesButNotBy,!0).to.change(t,r).but.not.by(n)};m.increases=function(e,t,r,n){return arguments.length===3&&typeof t=="function"&&(n=r,r=null),new h(e,n,m.increases,!0).to.increase(t,r)};m.increasesBy=function(e,t,r,n,o){if(arguments.length===4&&typeof t=="function"){let i=n;n=r,o=i}else arguments.length===3&&(n=r,r=null);new h(e,o,m.increasesBy,!0).to.increase(t,r).by(n)};m.doesNotIncrease=function(e,t,r,n){return arguments.length===3&&typeof t=="function"&&(n=r,r=null),new h(e,n,m.doesNotIncrease,!0).to.not.increase(t,r)};m.increasesButNotBy=function(e,t,r,n,o){if(arguments.length===4&&typeof t=="function"){let i=n;n=r,o=i}else arguments.length===3&&(n=r,r=null);new h(e,o,m.increasesButNotBy,!0).to.increase(t,r).but.not.by(n)};m.decreases=function(e,t,r,n){return arguments.length===3&&typeof t=="function"&&(n=r,r=null),new h(e,n,m.decreases,!0).to.decrease(t,r)};m.decreasesBy=function(e,t,r,n,o){if(arguments.length===4&&typeof t=="function"){let i=n;n=r,o=i}else arguments.length===3&&(n=r,r=null);new h(e,o,m.decreasesBy,!0).to.decrease(t,r).by(n)};m.doesNotDecrease=function(e,t,r,n){return arguments.length===3&&typeof t=="function"&&(n=r,r=null),new h(e,n,m.doesNotDecrease,!0).to.not.decrease(t,r)};m.doesNotDecreaseBy=function(e,t,r,n,o){if(arguments.length===4&&typeof t=="function"){let i=n;n=r,o=i}else arguments.length===3&&(n=r,r=null);return new h(e,o,m.doesNotDecreaseBy,!0).to.not.decrease(t,r).by(n)};m.decreasesButNotBy=function(e,t,r,n,o){if(arguments.length===4&&typeof t=="function"){let i=n;n=r,o=i}else arguments.length===3&&(n=r,r=null);new h(e,o,m.decreasesButNotBy,!0).to.decrease(t,r).but.not.by(n)};m.ifError=function(e){if(e)throw e};m.isExtensible=function(e,t){new h(e,t,m.isExtensible,!0).to.be.extensible};m.isNotExtensible=function(e,t){new h(e,t,m.isNotExtensible,!0).to.not.be.extensible};m.isSealed=function(e,t){new h(e,t,m.isSealed,!0).to.be.sealed};m.isNotSealed=function(e,t){new h(e,t,m.isNotSealed,!0).to.not.be.sealed};m.isFrozen=function(e,t){new h(e,t,m.isFrozen,!0).to.be.frozen};m.isNotFrozen=function(e,t){new h(e,t,m.isNotFrozen,!0).to.not.be.frozen};m.isEmpty=function(e,t){new h(e,t,m.isEmpty,!0).to.be.empty};m.isNotEmpty=function(e,t){new h(e,t,m.isNotEmpty,!0).to.not.be.empty};m.containsSubset=function(e,t,r){new h(e,r).to.containSubset(t)};m.doesNotContainSubset=function(e,t,r){new h(e,r).to.not.containSubset(t)};var Wm=[["isOk","ok"],["isNotOk","notOk"],["throws","throw"],["throws","Throw"],["isExtensible","extensible"],["isNotExtensible","notExtensible"],["isSealed","sealed"],["isNotSealed","notSealed"],["isFrozen","frozen"],["isNotFrozen","notFrozen"],["isEmpty","empty"],["isNotEmpty","notEmpty"],["isCallable","isFunction"],["isNotCallable","isNotFunction"],["containsSubset","containSubset"]];for(const[e,t]of Wm)m[t]=m[e];var Ns=[];function mf(e){const t={use:mf,AssertionError:G,util:ai,config:ie,expect:Po,assert:m,Assertion:h,...pf};return~Ns.indexOf(e)||(e(t,ai),Ns.push(e)),t}x(mf,"use");function Gm(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}const Km=e=>{const t=new Map,r=[];for(const n of e)t.set(n.id,{...n,childrenNodes:[]});for(const n of t.values())n.parent?t.get(n.parent)?.childrenNodes?.push(n):r.push(n);return r},Ym={animation:"spin 1s linear infinite"},Xm=()=>B.jsxRuntimeExports.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"#364153",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:"lucide lucide-loader-circle-icon lucide-loader-circle",style:Ym,"data-testid":"loader-icon",children:B.jsxRuntimeExports.jsx("path",{d:"M21 12a9 9 0 1 1-6.219-8.56"})}),zo=document.createElement("style");zo&&!document.getElementById("loader-spin-keyframes")&&(zo.id="loader-spin-keyframes",zo.innerHTML=`
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const Co=require("./runner.cjs.js"),B=require("./jsx-runtime-CjngqUuo.js"),Ee=require("react"),dm=(e,t,r=2e3,n=50)=>new Promise((o,a)=>{const i=Date.now(),s=()=>{const l=t();if(l)return o(l);if(Date.now()-i>r)return a(new Error(`Timeout waiting for element ${e}`));setTimeout(s,n)};s()}),fm=(e,t,r=2e3,n=50)=>new Promise((o,a)=>{const i=Date.now(),s=()=>{const l=t();if(l&&l.length>0)return o(Array.from(l));if(Date.now()-i>r)return a(new Error(`Timeout waiting for elements ${e}`));setTimeout(s,n)};s()}),aa=e=>new Promise(t=>setTimeout(t,e)),Xa=(e,t,r,n)=>{if(!e&&!t)throw new Error(n);if(e&&t)throw new Error(n.replace("to be","to not be").replace("to have","to not have").replace("to contain","to not contain"));return r};function pm(e){if(!e.isConnected)return!1;let t=e;for(;t;){const r=getComputedStyle(t);if(r.display==="none"||r.visibility==="hidden"||r.visibility==="collapse")return!1;t=t.parentElement}return!0}const mm={"have.text":{positive:{pass:e=>`Assertion passed: Text is exactly "${e[0]}"`,fail:(e,t)=>`Assertion failed: Expected text to be "${e[0]}", but got "${t}"`},negative:{pass:e=>`Assertion passed: Text is not exactly "${e[0]}"`,fail:(e,t)=>`Assertion failed: Expected text to not be "${e[0]}", but got "${t}"`}},"contain.text":{positive:{pass:e=>`Assertion passed: Text contains "${e[0]}"`,fail:(e,t)=>`Assertion failed: Expected text to contain "${e[0]}", but got "${t}"`},negative:{pass:e=>`Assertion passed: Text does not contain "${e[0]}"`,fail:(e,t)=>`Assertion failed: Expected text to not contain "${e[0]}", but got "${t}"`}},"be.empty":{positive:{pass:()=>"Assertion passed: Text is empty",fail:(e,t)=>`Assertion failed: Expected text to be empty, but got "${t}"`},negative:{pass:()=>"Assertion passed: Text is not empty",fail:(e,t)=>`Assertion failed: Expected text to not be empty, but got "${t}"`}},"have.attr":{positive:{pass:e=>`Assertion passed: Attribute "${e[0]}" is "${e[1]}"`,fail:(e,t)=>`Assertion failed: Expected attribute "${e[0]}" to be "${e[1]}", but got "${t}"`},negative:{pass:e=>`Assertion passed: Attribute "${e[0]}" is not "${e[1]}"`,fail:(e,t)=>`Assertion failed: Expected attribute "${e[0]}" to not be "${e[1]}", but got "${t}"`}},"have.value":{positive:{pass:e=>`Assertion passed: Value is "${e[0]}"`,fail:(e,t)=>`Assertion failed: Expected value to be "${e[0]}", but got "${t}"`},negative:{pass:e=>`Assertion passed: Value is not "${e[0]}"`,fail:(e,t)=>`Assertion failed: Expected value to not be "${e[0]}", but got "${t}"`}},"be.disabled":{positive:{pass:()=>"Assertion passed: Element is disabled",fail:()=>"Assertion failed: Expected element to be disabled"},negative:{pass:()=>"Assertion passed: Element is not disabled",fail:()=>"Assertion failed: Expected element to not be disabled"}},"be.enabled":{positive:{pass:()=>"Assertion passed: Element is enabled",fail:()=>"Assertion failed: Expected element to be enabled"},negative:{pass:()=>"Assertion passed: Element is not enabled",fail:()=>"Assertion failed: Expected element to not be enabled"}},"be.checked":{positive:{pass:()=>"Assertion passed: Element is checked",fail:()=>"Assertion failed: Expected element to be checked"},negative:{pass:()=>"Assertion passed: Element is not checked",fail:()=>"Assertion failed: Expected element to not be checked"}},"be.selected":{positive:{pass:()=>"Assertion passed: Element is selected",fail:()=>"Assertion failed: Expected element to be selected"},negative:{pass:()=>"Assertion passed: Element is not selected",fail:()=>"Assertion failed: Expected element to not be selected"}},"be.focused":{positive:{pass:()=>"Assertion passed: Element is focused",fail:()=>"Assertion failed: Expected element to be focused"},negative:{pass:()=>"Assertion passed: Element is not focused",fail:()=>"Assertion failed: Expected element to not be focused"}},"be.visible":{positive:{pass:()=>"Assertion passed: Element is visible",fail:()=>"Assertion failed: Expected element to be visible"},negative:{pass:()=>"Assertion passed: Element is not visible",fail:()=>"Assertion failed: Expected element to not be visible"}},"have.class":{positive:{pass:e=>`Assertion passed: Element has class "${e[0]}"`,fail:e=>`Assertion failed: Expected element to have class "${e[0]}"`},negative:{pass:e=>`Assertion passed: Element does not have class "${e[0]}"`,fail:e=>`Assertion failed: Expected element to not have class "${e[0]}"`}}},Da=(e,t,...r)=>{const n=t.startsWith("not."),o=n?t.slice(4):t,a=(e.textContent||"").trim(),i=mm[o];if(!i)throw new Error(`Unknown assertion: ${o}`);const s=n?"negative":"positive";let l,u;switch(o){case"have.text":l=a===r[0],u=a;break;case"contain.text":l=a.includes(r[0]),u=a;break;case"be.empty":l=a.length===0,u=a;break;case"have.attr":u=e.getAttribute(r[0]),l=u===r[1];break;case"have.value":u=e.value,l=u===r[0];break;case"be.disabled":l=e.disabled===!0;break;case"be.enabled":l=e.disabled===!1;break;case"be.checked":l=e.checked===!0;break;case"be.selected":l=e.selected===!0;break;case"be.focused":l=document.activeElement===e;break;case"be.visible":l=pm(e);break;case"have.class":l=e.classList.contains(r[0]);break;default:throw new Error(`Unknown assertion: ${o}`)}return Xa(l,n,i[s].pass(r),i[s].fail(r,u))},we=e=>{const t=Co.handlers.size?Array.from(Co.handlers.values()).find(r=>r.status==="running"):null;t&&t.logs?.push(e)},Ci="1.4.0",hm=()=>typeof window<"u"?(window.__TWD_MOCK_STATE__||(window.__TWD_MOCK_STATE__={rules:[]}),window.__TWD_MOCK_STATE__):{rules:[]},bm=hm(),Je=bm.rules,vm=100,ym=async e=>{if("serviceWorker"in navigator){const t=e??"/mock-sw.js";await navigator.serviceWorker.register(`${t}?v=${Ci}`),navigator.serviceWorker.controller||await new Promise(r=>{navigator.serviceWorker.addEventListener("controllerchange",r,{once:!0})}),navigator.serviceWorker.addEventListener("message",r=>{if(r.data?.type==="EXECUTED"){const{alias:n,request:o}=r.data,a=Je.find(i=>i.alias===n);a&&(a.executed=!0,a.request=o)}})}},gm=async(e,t)=>{const r={alias:e,...t,executed:!1},n=Je.findIndex(o=>o.alias===e);n!==-1?Je[n]=r:Je.push(r),navigator.serviceWorker.controller?.postMessage({type:"ADD_RULE",rule:r,version:Ci}),await aa(vm),await Promise.resolve()},wm=async e=>await Promise.all(e.map(r=>vd(r))),vd=async(e,t=10,r=100)=>{if(!Je.find(o=>o.alias===e))throw new Error(`Rule ${e} not found`);for(let o=0;o<t;o++){const a=Je.find(i=>i.alias===e&&i.executed);if(a)return Promise.resolve(a);o<t-1&&await new Promise(i=>setTimeout(i,r))}throw console.log(`Rule ${e} was not executed within ${t*r}ms`),new Error(`Rule ${e} was not executed within ${t*r}ms`)},yd=()=>Je,Rm=()=>{navigator.serviceWorker.controller?.postMessage({type:"CLEAR_RULES",version:Ci}),Je.length=0},Em=(e,t)=>{const r=e.startsWith("not.");switch(r?e.slice(4):e){case"eq":return Xa(window.location.href===t,r,`Assertion passed: URL is ${t}`,`Assertion failed: Expected URL to be ${t}, but got ${window.location.href}`);case"contain.url":return Xa(window.location.href.includes(t),r,`Assertion passed: URL contains ${t}`,`Assertion failed: Expected URL to contain ${t}, but got ${window.location.href}`);default:throw new Error(`Unknown assertion: ${e}`)}},xm=()=>({location:window.location,should:async(e,t,r=5)=>{let n="",o;for(let a=0;a<r;a++)try{n=Em(e,t),we(n);break}catch(i){await new Promise(s=>setTimeout(s,100)),o=i}if(o)throw o;return n}}),Cm=100,qm=async(e,t)=>{if(we(`visit("${e}")`),window.location.pathname===e||t){const r=`/__dummy_${Math.random().toString(36).slice(2)}`;window.history.pushState({},"",r),window.dispatchEvent(new PopStateEvent("popstate")),await aa(10)}window.history.pushState({},"",e),window.dispatchEvent(new PopStateEvent("popstate")),await aa(Cm)},_m={get:async e=>{const t=`body > div:not(#twd-sidebar-root) ${e}`;we(`Searching get("${e}")`);const r=await dm(e,()=>document.querySelector(t)),n={el:r,should:(o,...a)=>{const i=Da(r,o,...a);return we(i),n}};return n},setInputValue:(e,t)=>{const{set:r}=Object.getOwnPropertyDescriptor(e.__proto__,"value");r.call(e,t),e.dispatchEvent(new Event("input",{bubbles:!0}))},getAll:async e=>{const t=`body > div:not(#twd-sidebar-root) ${e}`;return we(`Searching getAll("${e}")`),(await fm(e,()=>document.querySelectorAll(t))).map(n=>{const o={el:n,should:(a,...i)=>{const s=Da(n,a,...i);return we(s),o}};return o})},visit:qm,url:xm,mockRequest:gm,waitForRequest:vd,waitForRequests:wm,initRequestMocking:ym,clearRequestMockRules:Rm,getRequestMockRules:yd,should:(e,t,...r)=>{const n=Da(e,t,...r);we(n)},wait:aa,mockComponent:B.mockComponent,clearComponentMocks:B.clearComponentMocks,notExists:async e=>{const t=`body > div:not(#twd-sidebar-root) ${e}`;if(we(`Checking notExists("${e}")`),document.querySelector(t))throw new Error(`Element "${e}" exists in the DOM.`);we(`Assertion passed: Element "${e}" does not exist in the DOM.`)}};var qi=Object.defineProperty,Pm=(e,t,r)=>t in e?qi(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,x=(e,t)=>qi(e,"name",{value:t,configurable:!0}),_i=(e,t)=>{for(var r in t)qi(e,r,{get:t[r],enumerable:!0})},gd=(e,t,r)=>Pm(e,typeof t!="symbol"?t+"":t,r),ia={};_i(ia,{addChainableMethod:()=>Bi,addLengthGuard:()=>Do,addMethod:()=>ji,addProperty:()=>ki,checkError:()=>fe,compareByInspect:()=>ua,eql:()=>Kd,events:()=>Ca,expectTypes:()=>Td,flag:()=>U,getActual:()=>Ea,getMessage:()=>Si,getName:()=>qa,getOperator:()=>zi,getOwnEnumerableProperties:()=>Ui,getOwnEnumerablePropertySymbols:()=>Fi,getPathInfo:()=>Ii,hasProperty:()=>xa,inspect:()=>H,isNaN:()=>ca,isNumeric:()=>ne,isProxyEnabled:()=>jo,isRegExp:()=>da,objDisplay:()=>lt,overwriteChainableMethod:()=>Li,overwriteMethod:()=>$i,overwriteProperty:()=>Di,proxify:()=>Pt,test:()=>Pi,transferFlags:()=>xe,type:()=>Q});var fe={};_i(fe,{compatibleConstructor:()=>Ed,compatibleInstance:()=>Rd,compatibleMessage:()=>xd,getConstructorName:()=>Cd,getMessage:()=>qd});function Ra(e){return e instanceof Error||Object.prototype.toString.call(e)==="[object Error]"}x(Ra,"isErrorInstance");function wd(e){return Object.prototype.toString.call(e)==="[object RegExp]"}x(wd,"isRegExp");function Rd(e,t){return Ra(t)&&e===t}x(Rd,"compatibleInstance");function Ed(e,t){return Ra(t)?e.constructor===t.constructor||e instanceof t.constructor:(typeof t=="object"||typeof t=="function")&&t.prototype?e.constructor===t||e instanceof t:!1}x(Ed,"compatibleConstructor");function xd(e,t){const r=typeof e=="string"?e:e.message;return wd(t)?t.test(r):typeof t=="string"?r.indexOf(t)!==-1:!1}x(xd,"compatibleMessage");function Cd(e){let t=e;return Ra(e)?t=e.constructor.name:typeof e=="function"&&(t=e.name,t===""&&(t=new e().name||t)),t}x(Cd,"getConstructorName");function qd(e){let t="";return e&&e.message?t=e.message:typeof e=="string"&&(t=e),t}x(qd,"getMessage");function U(e,t,r){let n=e.__flags||(e.__flags=Object.create(null));if(arguments.length===3)n[t]=r;else return n[t]}x(U,"flag");function Pi(e,t){let r=U(e,"negate"),n=t[0];return r?!n:n}x(Pi,"test");function Q(e){if(typeof e>"u")return"undefined";if(e===null)return"null";const t=e[Symbol.toStringTag];return typeof t=="string"?t:Object.prototype.toString.call(e).slice(8,-1)}x(Q,"type");var Tm="captureStackTrace"in Error,_d=class Pd extends Error{constructor(t="Unspecified AssertionError",r,n){super(t),gd(this,"message"),this.message=t,Tm&&Error.captureStackTrace(this,n||Pd);for(const o in r)o in this||(this[o]=r[o])}get name(){return"AssertionError"}get ok(){return!1}toJSON(t){return{...this,name:this.name,message:this.message,ok:!1,stack:t!==!1?this.stack:void 0}}};x(_d,"AssertionError");var G=_d;function Td(e,t){let r=U(e,"message"),n=U(e,"ssfi");r=r?r+": ":"",e=U(e,"object"),t=t.map(function(i){return i.toLowerCase()}),t.sort();let o=t.map(function(i,s){let l=~["a","e","i","o","u"].indexOf(i.charAt(0))?"an":"a";return(t.length>1&&s===t.length-1?"or ":"")+l+" "+i}).join(", "),a=Q(e).toLowerCase();if(!t.some(function(i){return a===i}))throw new G(r+"object tested must be "+o+", but "+a+" given",void 0,n)}x(Td,"expectTypes");function Ea(e,t){return t.length>4?t[4]:e._obj}x(Ea,"getActual");var _s={bold:["1","22"],dim:["2","22"],italic:["3","23"],underline:["4","24"],inverse:["7","27"],hidden:["8","28"],strike:["9","29"],black:["30","39"],red:["31","39"],green:["32","39"],yellow:["33","39"],blue:["34","39"],magenta:["35","39"],cyan:["36","39"],white:["37","39"],brightblack:["30;1","39"],brightred:["31;1","39"],brightgreen:["32;1","39"],brightyellow:["33;1","39"],brightblue:["34;1","39"],brightmagenta:["35;1","39"],brightcyan:["36;1","39"],brightwhite:["37;1","39"],grey:["90","39"]},Sm={special:"cyan",number:"yellow",bigint:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",symbol:"green",date:"magenta",regexp:"red"},gt="…";function Sd(e,t){const r=_s[Sm[t]]||_s[t]||"";return r?`\x1B[${r[0]}m${String(e)}\x1B[${r[1]}m`:String(e)}x(Sd,"colorise");function Ad({showHidden:e=!1,depth:t=2,colors:r=!1,customInspect:n=!0,showProxy:o=!1,maxArrayLength:a=1/0,breakLength:i=1/0,seen:s=[],truncate:l=1/0,stylize:u=String}={},d){const f={showHidden:!!e,depth:Number(t),colors:!!r,customInspect:!!n,showProxy:!!o,maxArrayLength:Number(a),breakLength:Number(i),truncate:Number(l),seen:s,inspect:d,stylize:u};return f.colors&&(f.stylize=Sd),f}x(Ad,"normaliseOptions");function Md(e){return e>="\uD800"&&e<="\uDBFF"}x(Md,"isHighSurrogate");function Ue(e,t,r=gt){e=String(e);const n=r.length,o=e.length;if(n>t&&o>n)return r;if(o>t&&o>n){let a=t-n;return a>0&&Md(e[a-1])&&(a=a-1),`${e.slice(0,a)}${r}`}return e}x(Ue,"truncate");function he(e,t,r,n=", "){r=r||t.inspect;const o=e.length;if(o===0)return"";const a=t.truncate;let i="",s="",l="";for(let u=0;u<o;u+=1){const d=u+1===e.length,f=u+2===e.length;l=`${gt}(${e.length-u})`;const c=e[u];t.truncate=a-i.length-(d?0:n.length);const h=s||r(c,t)+(d?"":n),v=i.length+h.length,w=v+l.length;if(d&&v>a&&i.length+l.length<=a||!d&&!f&&w>a||(s=d?"":r(e[u+1],t)+(f?"":n),!d&&f&&w>a&&v+s.length>a))break;if(i+=h,!d&&!f&&v+s.length>=a){l=`${gt}(${e.length-u-1})`;break}l=""}return`${i}${l}`}x(he,"inspectList");function Od(e){return e.match(/^[a-zA-Z_][a-zA-Z_0-9]*$/)?e:JSON.stringify(e).replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'")}x(Od,"quoteComplexKey");function wt([e,t],r){return r.truncate-=2,typeof e=="string"?e=Od(e):typeof e!="number"&&(e=`[${r.inspect(e,r)}]`),r.truncate-=e.length,t=r.inspect(t,r),`${e}: ${t}`}x(wt,"inspectProperty");function Id(e,t){const r=Object.keys(e).slice(e.length);if(!e.length&&!r.length)return"[]";t.truncate-=4;const n=he(e,t);t.truncate-=n.length;let o="";return r.length&&(o=he(r.map(a=>[a,e[a]]),t,wt)),`[ ${n}${o?`, ${o}`:""} ]`}x(Id,"inspectArray");var Am=x(e=>typeof Buffer=="function"&&e instanceof Buffer?"Buffer":e[Symbol.toStringTag]?e[Symbol.toStringTag]:e.constructor.name,"getArrayName");function _e(e,t){const r=Am(e);t.truncate-=r.length+4;const n=Object.keys(e).slice(e.length);if(!e.length&&!n.length)return`${r}[]`;let o="";for(let i=0;i<e.length;i++){const s=`${t.stylize(Ue(e[i],t.truncate),"number")}${i===e.length-1?"":", "}`;if(t.truncate-=s.length,e[i]!==e.length&&t.truncate<=3){o+=`${gt}(${e.length-e[i]+1})`;break}o+=s}let a="";return n.length&&(a=he(n.map(i=>[i,e[i]]),t,wt)),`${r}[ ${o}${a?`, ${a}`:""} ]`}x(_e,"inspectTypedArray");function Nd(e,t){const r=e.toJSON();if(r===null)return"Invalid Date";const n=r.split("T"),o=n[0];return t.stylize(`${o}T${Ue(n[1],t.truncate-o.length-1)}`,"date")}x(Nd,"inspectDate");function Ja(e,t){const r=e[Symbol.toStringTag]||"Function",n=e.name;return n?t.stylize(`[${r} ${Ue(n,t.truncate-11)}]`,"special"):t.stylize(`[${r}]`,"special")}x(Ja,"inspectFunction");function kd([e,t],r){return r.truncate-=4,e=r.inspect(e,r),r.truncate-=e.length,t=r.inspect(t,r),`${e} => ${t}`}x(kd,"inspectMapEntry");function jd(e){const t=[];return e.forEach((r,n)=>{t.push([n,r])}),t}x(jd,"mapToEntries");function Dd(e,t){return e.size===0?"Map{}":(t.truncate-=7,`Map{ ${he(jd(e),t,kd)} }`)}x(Dd,"inspectMap");var Mm=Number.isNaN||(e=>e!==e);function Qa(e,t){return Mm(e)?t.stylize("NaN","number"):e===1/0?t.stylize("Infinity","number"):e===-1/0?t.stylize("-Infinity","number"):e===0?t.stylize(1/e===1/0?"+0":"-0","number"):t.stylize(Ue(String(e),t.truncate),"number")}x(Qa,"inspectNumber");function Za(e,t){let r=Ue(e.toString(),t.truncate-1);return r!==gt&&(r+="n"),t.stylize(r,"bigint")}x(Za,"inspectBigInt");function $d(e,t){const r=e.toString().split("/")[2],n=t.truncate-(2+r.length),o=e.source;return t.stylize(`/${Ue(o,n)}/${r}`,"regexp")}x($d,"inspectRegExp");function Bd(e){const t=[];return e.forEach(r=>{t.push(r)}),t}x(Bd,"arrayFromSet");function Ld(e,t){return e.size===0?"Set{}":(t.truncate-=7,`Set{ ${he(Bd(e),t)} }`)}x(Ld,"inspectSet");var Ps=new RegExp("['\\u0000-\\u001f\\u007f-\\u009f\\u00ad\\u0600-\\u0604\\u070f\\u17b4\\u17b5\\u200c-\\u200f\\u2028-\\u202f\\u2060-\\u206f\\ufeff\\ufff0-\\uffff]","g"),Om={"\b":"\\b"," ":"\\t","\n":"\\n","\f":"\\f","\r":"\\r","'":"\\'","\\":"\\\\"},Im=16;function Fd(e){return Om[e]||`\\u${`0000${e.charCodeAt(0).toString(Im)}`.slice(-4)}`}x(Fd,"escape");function ei(e,t){return Ps.test(e)&&(e=e.replace(Ps,Fd)),t.stylize(`'${Ue(e,t.truncate-2)}'`,"string")}x(ei,"inspectString");function ti(e){return"description"in Symbol.prototype?e.description?`Symbol(${e.description})`:"Symbol()":e.toString()}x(ti,"inspectSymbol");var Nm=x(()=>"Promise{…}","getPromiseValue"),km=Nm;function qo(e,t){const r=Object.getOwnPropertyNames(e),n=Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e):[];if(r.length===0&&n.length===0)return"{}";if(t.truncate-=4,t.seen=t.seen||[],t.seen.includes(e))return"[Circular]";t.seen.push(e);const o=he(r.map(s=>[s,e[s]]),t,wt),a=he(n.map(s=>[s,e[s]]),t,wt);t.seen.pop();let i="";return o&&a&&(i=", "),`{ ${o}${i}${a} }`}x(qo,"inspectObject");var $a=typeof Symbol<"u"&&Symbol.toStringTag?Symbol.toStringTag:!1;function Ud(e,t){let r="";return $a&&$a in e&&(r=e[$a]),r=r||e.constructor.name,(!r||r==="_class")&&(r="<Anonymous Class>"),t.truncate-=r.length,`${r}${qo(e,t)}`}x(Ud,"inspectClass");function zd(e,t){return e.length===0?"Arguments[]":(t.truncate-=13,`Arguments[ ${he(e,t)} ]`)}x(zd,"inspectArguments");var jm=["stack","line","column","name","message","fileName","lineNumber","columnNumber","number","description","cause"];function Vd(e,t){const r=Object.getOwnPropertyNames(e).filter(i=>jm.indexOf(i)===-1),n=e.name;t.truncate-=n.length;let o="";if(typeof e.message=="string"?o=Ue(e.message,t.truncate):r.unshift("message"),o=o?`: ${o}`:"",t.truncate-=o.length+5,t.seen=t.seen||[],t.seen.includes(e))return"[Circular]";t.seen.push(e);const a=he(r.map(i=>[i,e[i]]),t,wt);return`${n}${o}${a?` { ${a} }`:""}`}x(Vd,"inspectObject");function Hd([e,t],r){return r.truncate-=3,t?`${r.stylize(String(e),"yellow")}=${r.stylize(`"${t}"`,"string")}`:`${r.stylize(String(e),"yellow")}`}x(Hd,"inspectAttribute");function sa(e,t){return he(e,t,Wd,`
2
+ `)}x(sa,"inspectNodeCollection");function Wd(e,t){switch(e.nodeType){case 1:return Ti(e,t);case 3:return t.inspect(e.data,t);default:return t.inspect(e,t)}}x(Wd,"inspectNode");function Ti(e,t){const r=e.getAttributeNames(),n=e.tagName.toLowerCase(),o=t.stylize(`<${n}`,"special"),a=t.stylize(">","special"),i=t.stylize(`</${n}>`,"special");t.truncate-=n.length*2+5;let s="";r.length>0&&(s+=" ",s+=he(r.map(d=>[d,e.getAttribute(d)]),t,Hd," ")),t.truncate-=s.length;const l=t.truncate;let u=sa(e.children,t);return u&&u.length>l&&(u=`${gt}(${e.children.length})`),`${o}${s}${a}${u}${i}`}x(Ti,"inspectHTML");var Dm=typeof Symbol=="function"&&typeof Symbol.for=="function",Ba=Dm?Symbol.for("chai/inspect"):"@@chai/inspect",La=Symbol.for("nodejs.util.inspect.custom"),Ts=new WeakMap,Ss={},As={undefined:x((e,t)=>t.stylize("undefined","undefined"),"undefined"),null:x((e,t)=>t.stylize("null","null"),"null"),boolean:x((e,t)=>t.stylize(String(e),"boolean"),"boolean"),Boolean:x((e,t)=>t.stylize(String(e),"boolean"),"Boolean"),number:Qa,Number:Qa,bigint:Za,BigInt:Za,string:ei,String:ei,function:Ja,Function:Ja,symbol:ti,Symbol:ti,Array:Id,Date:Nd,Map:Dd,Set:Ld,RegExp:$d,Promise:km,WeakSet:x((e,t)=>t.stylize("WeakSet{…}","special"),"WeakSet"),WeakMap:x((e,t)=>t.stylize("WeakMap{…}","special"),"WeakMap"),Arguments:zd,Int8Array:_e,Uint8Array:_e,Uint8ClampedArray:_e,Int16Array:_e,Uint16Array:_e,Int32Array:_e,Uint32Array:_e,Float32Array:_e,Float64Array:_e,Generator:x(()=>"","Generator"),DataView:x(()=>"","DataView"),ArrayBuffer:x(()=>"","ArrayBuffer"),Error:Vd,HTMLCollection:sa,NodeList:sa},$m=x((e,t,r,n)=>Ba in e&&typeof e[Ba]=="function"?e[Ba](t):La in e&&typeof e[La]=="function"?e[La](t.depth,t,n):"inspect"in e&&typeof e.inspect=="function"?e.inspect(t.depth,t):"constructor"in e&&Ts.has(e.constructor)?Ts.get(e.constructor)(e,t):Ss[r]?Ss[r](e,t):"","inspectCustom"),Bm=Object.prototype.toString;function _o(e,t={}){const r=Ad(t,_o),{customInspect:n}=r;let o=e===null?"null":typeof e;if(o==="object"&&(o=Bm.call(e).slice(8,-1)),o in As)return As[o](e,r);if(n&&e){const i=$m(e,r,o,_o);if(i)return typeof i=="string"?i:_o(i,r)}const a=e?Object.getPrototypeOf(e):!1;return a===Object.prototype||a===null?qo(e,r):e&&typeof HTMLElement=="function"&&e instanceof HTMLElement?Ti(e,r):"constructor"in e?e.constructor!==Object?Ud(e,r):qo(e,r):e===Object(e)?qo(e,r):r.stylize(String(e),o)}x(_o,"inspect");var ae={includeStack:!1,showDiff:!0,truncateThreshold:40,useProxy:!0,proxyExcludedKeys:["then","catch","inspect","toJSON"],deepEqual:null};function H(e,t,r,n){let o={colors:n,depth:typeof r>"u"?2:r,showHidden:t,truncate:ae.truncateThreshold?ae.truncateThreshold:1/0};return _o(e,o)}x(H,"inspect");function lt(e){let t=H(e),r=Object.prototype.toString.call(e);if(ae.truncateThreshold&&t.length>=ae.truncateThreshold){if(r==="[object Function]")return!e.name||e.name===""?"[Function]":"[Function: "+e.name+"]";if(r==="[object Array]")return"[ Array("+e.length+") ]";if(r==="[object Object]"){let n=Object.keys(e);return"{ Object ("+(n.length>2?n.splice(0,2).join(", ")+", ...":n.join(", "))+") }"}else return t}else return t}x(lt,"objDisplay");function Si(e,t){let r=U(e,"negate"),n=U(e,"object"),o=t[3],a=Ea(e,t),i=r?t[2]:t[1],s=U(e,"message");return typeof i=="function"&&(i=i()),i=i||"",i=i.replace(/#\{this\}/g,function(){return lt(n)}).replace(/#\{act\}/g,function(){return lt(a)}).replace(/#\{exp\}/g,function(){return lt(o)}),s?s+": "+i:i}x(Si,"getMessage");function xe(e,t,r){let n=e.__flags||(e.__flags=Object.create(null));t.__flags||(t.__flags=Object.create(null)),r=arguments.length===3?r:!0;for(let o in n)(r||o!=="object"&&o!=="ssfi"&&o!=="lockSsfi"&&o!="message")&&(t.__flags[o]=n[o])}x(xe,"transferFlags");function ri(e){if(typeof e>"u")return"undefined";if(e===null)return"null";const t=e[Symbol.toStringTag];return typeof t=="string"?t:Object.prototype.toString.call(e).slice(8,-1)}x(ri,"type");function Ai(){this._key="chai/deep-eql__"+Math.random()+Date.now()}x(Ai,"FakeMap");Ai.prototype={get:x(function(t){return t[this._key]},"get"),set:x(function(t,r){Object.isExtensible(t)&&Object.defineProperty(t,this._key,{value:r,configurable:!0})},"set")};var Gd=typeof WeakMap=="function"?WeakMap:Ai;function ni(e,t,r){if(!r||ct(e)||ct(t))return null;var n=r.get(e);if(n){var o=n.get(t);if(typeof o=="boolean")return o}return null}x(ni,"memoizeCompare");function wo(e,t,r,n){if(!(!r||ct(e)||ct(t))){var o=r.get(e);o?o.set(t,n):(o=new Gd,o.set(t,n),r.set(e,o))}}x(wo,"memoizeSet");var Kd=ko;function ko(e,t,r){if(r&&r.comparator)return oi(e,t,r);var n=Mi(e,t);return n!==null?n:oi(e,t,r)}x(ko,"deepEqual");function Mi(e,t){return e===t?e!==0||1/e===1/t:e!==e&&t!==t?!0:ct(e)||ct(t)?!1:null}x(Mi,"simpleEqual");function oi(e,t,r){r=r||{},r.memoize=r.memoize===!1?!1:r.memoize||new Gd;var n=r&&r.comparator,o=ni(e,t,r.memoize);if(o!==null)return o;var a=ni(t,e,r.memoize);if(a!==null)return a;if(n){var i=n(e,t);if(i===!1||i===!0)return wo(e,t,r.memoize,i),i;var s=Mi(e,t);if(s!==null)return s}var l=ri(e);if(l!==ri(t))return wo(e,t,r.memoize,!1),!1;wo(e,t,r.memoize,!0);var u=Yd(e,t,l,r);return wo(e,t,r.memoize,u),u}x(oi,"extensiveDeepEqual");function Yd(e,t,r,n){switch(r){case"String":case"Number":case"Boolean":case"Date":return ko(e.valueOf(),t.valueOf());case"Promise":case"Symbol":case"function":case"WeakMap":case"WeakSet":return e===t;case"Error":return Oi(e,t,["name","message","code"],n);case"Arguments":case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"Array":return Qe(e,t,n);case"RegExp":return Xd(e,t);case"Generator":return Jd(e,t,n);case"DataView":return Qe(new Uint8Array(e.buffer),new Uint8Array(t.buffer),n);case"ArrayBuffer":return Qe(new Uint8Array(e),new Uint8Array(t),n);case"Set":return ai(e,t,n);case"Map":return ai(e,t,n);case"Temporal.PlainDate":case"Temporal.PlainTime":case"Temporal.PlainDateTime":case"Temporal.Instant":case"Temporal.ZonedDateTime":case"Temporal.PlainYearMonth":case"Temporal.PlainMonthDay":return e.equals(t);case"Temporal.Duration":return e.total("nanoseconds")===t.total("nanoseconds");case"Temporal.TimeZone":case"Temporal.Calendar":return e.toString()===t.toString();default:return Zd(e,t,n)}}x(Yd,"extensiveDeepEqualByType");function Xd(e,t){return e.toString()===t.toString()}x(Xd,"regexpEqual");function ai(e,t,r){try{if(e.size!==t.size)return!1;if(e.size===0)return!0}catch{return!1}var n=[],o=[];return e.forEach(x(function(i,s){n.push([i,s])},"gatherEntries")),t.forEach(x(function(i,s){o.push([i,s])},"gatherEntries")),Qe(n.sort(),o.sort(),r)}x(ai,"entriesEqual");function Qe(e,t,r){var n=e.length;if(n!==t.length)return!1;if(n===0)return!0;for(var o=-1;++o<n;)if(ko(e[o],t[o],r)===!1)return!1;return!0}x(Qe,"iterableEqual");function Jd(e,t,r){return Qe(la(e),la(t),r)}x(Jd,"generatorEqual");function Qd(e){return typeof Symbol<"u"&&typeof e=="object"&&typeof Symbol.iterator<"u"&&typeof e[Symbol.iterator]=="function"}x(Qd,"hasIteratorFunction");function ii(e){if(Qd(e))try{return la(e[Symbol.iterator]())}catch{return[]}return[]}x(ii,"getIteratorEntries");function la(e){for(var t=e.next(),r=[t.value];t.done===!1;)t=e.next(),r.push(t.value);return r}x(la,"getGeneratorEntries");function si(e){var t=[];for(var r in e)t.push(r);return t}x(si,"getEnumerableKeys");function li(e){for(var t=[],r=Object.getOwnPropertySymbols(e),n=0;n<r.length;n+=1){var o=r[n];Object.getOwnPropertyDescriptor(e,o).enumerable&&t.push(o)}return t}x(li,"getEnumerableSymbols");function Oi(e,t,r,n){var o=r.length;if(o===0)return!0;for(var a=0;a<o;a+=1)if(ko(e[r[a]],t[r[a]],n)===!1)return!1;return!0}x(Oi,"keysEqual");function Zd(e,t,r){var n=si(e),o=si(t),a=li(e),i=li(t);if(n=n.concat(a),o=o.concat(i),n.length&&n.length===o.length)return Qe(ui(n).sort(),ui(o).sort())===!1?!1:Oi(e,t,n,r);var s=ii(e),l=ii(t);return s.length&&s.length===l.length?(s.sort(),l.sort(),Qe(s,l,r)):n.length===0&&s.length===0&&o.length===0&&l.length===0}x(Zd,"objectEqual");function ct(e){return e===null||typeof e!="object"}x(ct,"isPrimitive");function ui(e){return e.map(x(function(r){return typeof r=="symbol"?r.toString():r},"mapSymbol"))}x(ui,"mapSymbols");function xa(e,t){return typeof e>"u"||e===null?!1:t in Object(e)}x(xa,"hasProperty");function ef(e){return e.replace(/([^\\])\[/g,"$1.[").match(/(\\\.|[^.]+?)+/g).map(n=>{if(n==="constructor"||n==="__proto__"||n==="prototype")return{};const a=/^\[(\d+)\]$/.exec(n);let i=null;return a?i={i:parseFloat(a[1])}:i={p:n.replace(/\\([.[\]])/g,"$1")},i})}x(ef,"parsePath");function ci(e,t,r){let n=e,o=null;r=typeof r>"u"?t.length:r;for(let a=0;a<r;a++){const i=t[a];n&&(typeof i.p>"u"?n=n[i.i]:n=n[i.p],a===r-1&&(o=n))}return o}x(ci,"internalGetPathValue");function Ii(e,t){const r=ef(t),n=r[r.length-1],o={parent:r.length>1?ci(e,r,r.length-1):e,name:n.p||n.i,value:ci(e,r)};return o.exists=xa(o.parent,o.name),o}x(Ii,"getPathInfo");var tf=class rf{constructor(t,r,n,o){return gd(this,"__flags",{}),U(this,"ssfi",n||rf),U(this,"lockSsfi",o),U(this,"object",t),U(this,"message",r),U(this,"eql",ae.deepEqual||Kd),Pt(this)}static get includeStack(){return console.warn("Assertion.includeStack is deprecated, use chai.config.includeStack instead."),ae.includeStack}static set includeStack(t){console.warn("Assertion.includeStack is deprecated, use chai.config.includeStack instead."),ae.includeStack=t}static get showDiff(){return console.warn("Assertion.showDiff is deprecated, use chai.config.showDiff instead."),ae.showDiff}static set showDiff(t){console.warn("Assertion.showDiff is deprecated, use chai.config.showDiff instead."),ae.showDiff=t}static addProperty(t,r){ki(this.prototype,t,r)}static addMethod(t,r){ji(this.prototype,t,r)}static addChainableMethod(t,r,n){Bi(this.prototype,t,r,n)}static overwriteProperty(t,r){Di(this.prototype,t,r)}static overwriteMethod(t,r){$i(this.prototype,t,r)}static overwriteChainableMethod(t,r,n){Li(this.prototype,t,r,n)}assert(t,r,n,o,a,i){const s=Pi(this,arguments);if(i!==!1&&(i=!0),o===void 0&&a===void 0&&(i=!1),ae.showDiff!==!0&&(i=!1),!s){r=Si(this,arguments);const u={actual:Ea(this,arguments),expected:o,showDiff:i},d=zi(this,arguments);throw d&&(u.operator=d),new G(r,u,ae.includeStack?this.assert:U(this,"ssfi"))}}get _obj(){return U(this,"object")}set _obj(t){U(this,"object",t)}};x(tf,"Assertion");var b=tf,Ca=new EventTarget,nf=class extends Event{constructor(t,r,n){super(t),this.name=String(r),this.fn=n}};x(nf,"PluginEvent");var Ni=nf;function jo(){return ae.useProxy&&typeof Proxy<"u"&&typeof Reflect<"u"}x(jo,"isProxyEnabled");function ki(e,t,r){r=r===void 0?function(){}:r,Object.defineProperty(e,t,{get:x(function n(){!jo()&&!U(this,"lockSsfi")&&U(this,"ssfi",n);let o=r.call(this);if(o!==void 0)return o;let a=new b;return xe(this,a),a},"propertyGetter"),configurable:!0}),Ca.dispatchEvent(new Ni("addProperty",t,r))}x(ki,"addProperty");var Lm=Object.getOwnPropertyDescriptor(function(){},"length");function Do(e,t,r){return Lm.configurable&&Object.defineProperty(e,"length",{get:x(function(){throw Error(r?"Invalid Chai property: "+t+'.length. Due to a compatibility issue, "length" cannot directly follow "'+t+'". Use "'+t+'.lengthOf" instead.':"Invalid Chai property: "+t+'.length. See docs for proper usage of "'+t+'".')},"get")}),e}x(Do,"addLengthGuard");function of(e){let t=Object.getOwnPropertyNames(e);function r(o){t.indexOf(o)===-1&&t.push(o)}x(r,"addProperty");let n=Object.getPrototypeOf(e);for(;n!==null;)Object.getOwnPropertyNames(n).forEach(r),n=Object.getPrototypeOf(n);return t}x(of,"getProperties");var Ms=["__flags","__methods","_obj","assert"];function Pt(e,t){return jo()?new Proxy(e,{get:x(function r(n,o){if(typeof o=="string"&&ae.proxyExcludedKeys.indexOf(o)===-1&&!Reflect.has(n,o)){if(t)throw Error("Invalid Chai property: "+t+"."+o+'. See docs for proper usage of "'+t+'".');let a=null,i=4;throw of(n).forEach(function(s){if(!Object.prototype.hasOwnProperty(s)&&Ms.indexOf(s)===-1){let l=af(o,s,i);l<i&&(a=s,i=l)}}),Error(a!==null?"Invalid Chai property: "+o+'. Did you mean "'+a+'"?':"Invalid Chai property: "+o)}return Ms.indexOf(o)===-1&&!U(n,"lockSsfi")&&U(n,"ssfi",r),Reflect.get(n,o)},"proxyGetter")}):e}x(Pt,"proxify");function af(e,t,r){if(Math.abs(e.length-t.length)>=r)return r;let n=[];for(let o=0;o<=e.length;o++)n[o]=Array(t.length+1).fill(0),n[o][0]=o;for(let o=0;o<t.length;o++)n[0][o]=o;for(let o=1;o<=e.length;o++){let a=e.charCodeAt(o-1);for(let i=1;i<=t.length;i++){if(Math.abs(o-i)>=r){n[o][i]=r;continue}n[o][i]=Math.min(n[o-1][i]+1,n[o][i-1]+1,n[o-1][i-1]+(a===t.charCodeAt(i-1)?0:1))}}return n[e.length][t.length]}x(af,"stringDistanceCapped");function ji(e,t,r){let n=x(function(){U(this,"lockSsfi")||U(this,"ssfi",n);let o=r.apply(this,arguments);if(o!==void 0)return o;let a=new b;return xe(this,a),a},"methodWrapper");Do(n,t,!1),e[t]=Pt(n,t),Ca.dispatchEvent(new Ni("addMethod",t,r))}x(ji,"addMethod");function Di(e,t,r){let n=Object.getOwnPropertyDescriptor(e,t),o=x(function(){},"_super");n&&typeof n.get=="function"&&(o=n.get),Object.defineProperty(e,t,{get:x(function a(){!jo()&&!U(this,"lockSsfi")&&U(this,"ssfi",a);let i=U(this,"lockSsfi");U(this,"lockSsfi",!0);let s=r(o).call(this);if(U(this,"lockSsfi",i),s!==void 0)return s;let l=new b;return xe(this,l),l},"overwritingPropertyGetter"),configurable:!0})}x(Di,"overwriteProperty");function $i(e,t,r){let n=e[t],o=x(function(){throw new Error(t+" is not a function")},"_super");n&&typeof n=="function"&&(o=n);let a=x(function(){U(this,"lockSsfi")||U(this,"ssfi",a);let i=U(this,"lockSsfi");U(this,"lockSsfi",!0);let s=r(o).apply(this,arguments);if(U(this,"lockSsfi",i),s!==void 0)return s;let l=new b;return xe(this,l),l},"overwritingMethodWrapper");Do(a,t,!1),e[t]=Pt(a,t)}x($i,"overwriteMethod");var Fm=typeof Object.setPrototypeOf=="function",Os=x(function(){},"testFn"),Um=Object.getOwnPropertyNames(Os).filter(function(e){let t=Object.getOwnPropertyDescriptor(Os,e);return typeof t!="object"?!0:!t.configurable}),zm=Function.prototype.call,Vm=Function.prototype.apply,sf=class extends Ni{constructor(t,r,n,o){super(t,r,n),this.chainingBehavior=o}};x(sf,"PluginAddChainableMethodEvent");var Hm=sf;function Bi(e,t,r,n){typeof n!="function"&&(n=x(function(){},"chainingBehavior"));let o={method:r,chainingBehavior:n};e.__methods||(e.__methods={}),e.__methods[t]=o,Object.defineProperty(e,t,{get:x(function(){o.chainingBehavior.call(this);let i=x(function(){U(this,"lockSsfi")||U(this,"ssfi",i);let s=o.method.apply(this,arguments);if(s!==void 0)return s;let l=new b;return xe(this,l),l},"chainableMethodWrapper");if(Do(i,t,!0),Fm){let s=Object.create(this);s.call=zm,s.apply=Vm,Object.setPrototypeOf(i,s)}else Object.getOwnPropertyNames(e).forEach(function(l){if(Um.indexOf(l)!==-1)return;let u=Object.getOwnPropertyDescriptor(e,l);Object.defineProperty(i,l,u)});return xe(this,i),Pt(i)},"chainableMethodGetter"),configurable:!0}),Ca.dispatchEvent(new Hm("addChainableMethod",t,r,n))}x(Bi,"addChainableMethod");function Li(e,t,r,n){let o=e.__methods[t],a=o.chainingBehavior;o.chainingBehavior=x(function(){let l=n(a).call(this);if(l!==void 0)return l;let u=new b;return xe(this,u),u},"overwritingChainableMethodGetter");let i=o.method;o.method=x(function(){let l=r(i).apply(this,arguments);if(l!==void 0)return l;let u=new b;return xe(this,u),u},"overwritingChainableMethodWrapper")}x(Li,"overwriteChainableMethod");function ua(e,t){return H(e)<H(t)?-1:1}x(ua,"compareByInspect");function Fi(e){return typeof Object.getOwnPropertySymbols!="function"?[]:Object.getOwnPropertySymbols(e).filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})}x(Fi,"getOwnEnumerablePropertySymbols");function Ui(e){return Object.keys(e).concat(Fi(e))}x(Ui,"getOwnEnumerableProperties");var ca=Number.isNaN;function lf(e){let t=Q(e);return["Array","Object","Function"].indexOf(t)!==-1}x(lf,"isObjectType");function zi(e,t){let r=U(e,"operator"),n=U(e,"negate"),o=t[3],a=n?t[2]:t[1];if(r)return r;if(typeof a=="function"&&(a=a()),a=a||"",!a||/\shave\s/.test(a))return;let i=lf(o);return/\snot\s/.test(a)?i?"notDeepStrictEqual":"notStrictEqual":i?"deepStrictEqual":"strictEqual"}x(zi,"getOperator");function qa(e){return e.name}x(qa,"getName");function da(e){return Object.prototype.toString.call(e)==="[object RegExp]"}x(da,"isRegExp");function ne(e){return["Number","BigInt"].includes(Q(e))}x(ne,"isNumeric");var{flag:R}=ia;["to","be","been","is","and","has","have","with","that","which","at","of","same","but","does","still","also"].forEach(function(e){b.addProperty(e)});b.addProperty("not",function(){R(this,"negate",!0)});b.addProperty("deep",function(){R(this,"deep",!0)});b.addProperty("nested",function(){R(this,"nested",!0)});b.addProperty("own",function(){R(this,"own",!0)});b.addProperty("ordered",function(){R(this,"ordered",!0)});b.addProperty("any",function(){R(this,"any",!0),R(this,"all",!1)});b.addProperty("all",function(){R(this,"all",!0),R(this,"any",!1)});var Is={function:["function","asyncfunction","generatorfunction","asyncgeneratorfunction"],asyncfunction:["asyncfunction","asyncgeneratorfunction"],generatorfunction:["generatorfunction","asyncgeneratorfunction"],asyncgeneratorfunction:["asyncgeneratorfunction"]};function Vi(e,t){t&&R(this,"message",t),e=e.toLowerCase();let r=R(this,"object"),n=~["a","e","i","o","u"].indexOf(e.charAt(0))?"an ":"a ";const o=Q(r).toLowerCase();Is.function.includes(e)?this.assert(Is[e].includes(o),"expected #{this} to be "+n+e,"expected #{this} not to be "+n+e):this.assert(e===o,"expected #{this} to be "+n+e,"expected #{this} not to be "+n+e)}x(Vi,"an");b.addChainableMethod("an",Vi);b.addChainableMethod("a",Vi);function uf(e,t){return ca(e)&&ca(t)||e===t}x(uf,"SameValueZero");function $o(){R(this,"contains",!0)}x($o,"includeChainingBehavior");function Bo(e,t){t&&R(this,"message",t);let r=R(this,"object"),n=Q(r).toLowerCase(),o=R(this,"message"),a=R(this,"negate"),i=R(this,"ssfi"),s=R(this,"deep"),l=s?"deep ":"",u=s?R(this,"eql"):uf;o=o?o+": ":"";let d=!1;switch(n){case"string":d=r.indexOf(e)!==-1;break;case"weakset":if(s)throw new G(o+"unable to use .deep.include with WeakSet",void 0,i);d=r.has(e);break;case"map":r.forEach(function(f){d=d||u(f,e)});break;case"set":s?r.forEach(function(f){d=d||u(f,e)}):d=r.has(e);break;case"array":s?d=r.some(function(f){return u(f,e)}):d=r.indexOf(e)!==-1;break;default:{if(e!==Object(e))throw new G(o+"the given combination of arguments ("+n+" and "+Q(e).toLowerCase()+") is invalid for this assertion. You can use an array, a map, an object, a set, a string, or a weakset instead of a "+Q(e).toLowerCase(),void 0,i);let f=Object.keys(e),c=null,h=0;if(f.forEach(function(v){let w=new b(r);if(xe(this,w,!0),R(w,"lockSsfi",!0),!a||f.length===1){w.property(v,e[v]);return}try{w.property(v,e[v])}catch(S){if(!fe.compatibleConstructor(S,G))throw S;c===null&&(c=S),h++}},this),a&&f.length>1&&h===f.length)throw c;return}}this.assert(d,"expected #{this} to "+l+"include "+H(e),"expected #{this} to not "+l+"include "+H(e))}x(Bo,"include");b.addChainableMethod("include",Bo,$o);b.addChainableMethod("contain",Bo,$o);b.addChainableMethod("contains",Bo,$o);b.addChainableMethod("includes",Bo,$o);b.addProperty("ok",function(){this.assert(R(this,"object"),"expected #{this} to be truthy","expected #{this} to be falsy")});b.addProperty("true",function(){this.assert(R(this,"object")===!0,"expected #{this} to be true","expected #{this} to be false",!R(this,"negate"))});b.addProperty("numeric",function(){const e=R(this,"object");this.assert(["Number","BigInt"].includes(Q(e)),"expected #{this} to be numeric","expected #{this} to not be numeric",!R(this,"negate"))});b.addProperty("callable",function(){const e=R(this,"object"),t=R(this,"ssfi"),r=R(this,"message"),n=r?`${r}: `:"",o=R(this,"negate"),a=o?`${n}expected ${H(e)} not to be a callable function`:`${n}expected ${H(e)} to be a callable function`,i=["Function","AsyncFunction","GeneratorFunction","AsyncGeneratorFunction"].includes(Q(e));if(i&&o||!i&&!o)throw new G(a,void 0,t)});b.addProperty("false",function(){this.assert(R(this,"object")===!1,"expected #{this} to be false","expected #{this} to be true",!!R(this,"negate"))});b.addProperty("null",function(){this.assert(R(this,"object")===null,"expected #{this} to be null","expected #{this} not to be null")});b.addProperty("undefined",function(){this.assert(R(this,"object")===void 0,"expected #{this} to be undefined","expected #{this} not to be undefined")});b.addProperty("NaN",function(){this.assert(ca(R(this,"object")),"expected #{this} to be NaN","expected #{this} not to be NaN")});function Hi(){let e=R(this,"object");this.assert(e!=null,"expected #{this} to exist","expected #{this} to not exist")}x(Hi,"assertExist");b.addProperty("exist",Hi);b.addProperty("exists",Hi);b.addProperty("empty",function(){let e=R(this,"object"),t=R(this,"ssfi"),r=R(this,"message"),n;switch(r=r?r+": ":"",Q(e).toLowerCase()){case"array":case"string":n=e.length;break;case"map":case"set":n=e.size;break;case"weakmap":case"weakset":throw new G(r+".empty was passed a weak collection",void 0,t);case"function":{const o=r+".empty was passed a function "+qa(e);throw new G(o.trim(),void 0,t)}default:if(e!==Object(e))throw new G(r+".empty was passed non-string primitive "+H(e),void 0,t);n=Object.keys(e).length}this.assert(n===0,"expected #{this} to be empty","expected #{this} not to be empty")});function Wi(){let e=R(this,"object"),t=Q(e);this.assert(t==="Arguments","expected #{this} to be arguments but got "+t,"expected #{this} to not be arguments")}x(Wi,"checkArguments");b.addProperty("arguments",Wi);b.addProperty("Arguments",Wi);function _a(e,t){t&&R(this,"message",t);let r=R(this,"object");if(R(this,"deep")){let n=R(this,"lockSsfi");R(this,"lockSsfi",!0),this.eql(e),R(this,"lockSsfi",n)}else this.assert(e===r,"expected #{this} to equal #{exp}","expected #{this} to not equal #{exp}",e,this._obj,!0)}x(_a,"assertEqual");b.addMethod("equal",_a);b.addMethod("equals",_a);b.addMethod("eq",_a);function Gi(e,t){t&&R(this,"message",t);let r=R(this,"eql");this.assert(r(e,R(this,"object")),"expected #{this} to deeply equal #{exp}","expected #{this} to not deeply equal #{exp}",e,this._obj,!0)}x(Gi,"assertEql");b.addMethod("eql",Gi);b.addMethod("eqls",Gi);function Pa(e,t){t&&R(this,"message",t);let r=R(this,"object"),n=R(this,"doLength"),o=R(this,"message"),a=o?o+": ":"",i=R(this,"ssfi"),s=Q(r).toLowerCase(),l=Q(e).toLowerCase();if(n&&s!=="map"&&s!=="set"&&new b(r,o,i,!0).to.have.property("length"),!n&&s==="date"&&l!=="date")throw new G(a+"the argument to above must be a date",void 0,i);if(!ne(e)&&(n||ne(r)))throw new G(a+"the argument to above must be a number",void 0,i);if(!n&&s!=="date"&&!ne(r)){let u=s==="string"?"'"+r+"'":r;throw new G(a+"expected "+u+" to be a number or a date",void 0,i)}if(n){let u="length",d;s==="map"||s==="set"?(u="size",d=r.size):d=r.length,this.assert(d>e,"expected #{this} to have a "+u+" above #{exp} but got #{act}","expected #{this} to not have a "+u+" above #{exp}",e,d)}else this.assert(r>e,"expected #{this} to be above #{exp}","expected #{this} to be at most #{exp}",e)}x(Pa,"assertAbove");b.addMethod("above",Pa);b.addMethod("gt",Pa);b.addMethod("greaterThan",Pa);function Ta(e,t){t&&R(this,"message",t);let r=R(this,"object"),n=R(this,"doLength"),o=R(this,"message"),a=o?o+": ":"",i=R(this,"ssfi"),s=Q(r).toLowerCase(),l=Q(e).toLowerCase(),u,d=!0;if(n&&s!=="map"&&s!=="set"&&new b(r,o,i,!0).to.have.property("length"),!n&&s==="date"&&l!=="date")u=a+"the argument to least must be a date";else if(!ne(e)&&(n||ne(r)))u=a+"the argument to least must be a number";else if(!n&&s!=="date"&&!ne(r)){let f=s==="string"?"'"+r+"'":r;u=a+"expected "+f+" to be a number or a date"}else d=!1;if(d)throw new G(u,void 0,i);if(n){let f="length",c;s==="map"||s==="set"?(f="size",c=r.size):c=r.length,this.assert(c>=e,"expected #{this} to have a "+f+" at least #{exp} but got #{act}","expected #{this} to have a "+f+" below #{exp}",e,c)}else this.assert(r>=e,"expected #{this} to be at least #{exp}","expected #{this} to be below #{exp}",e)}x(Ta,"assertLeast");b.addMethod("least",Ta);b.addMethod("gte",Ta);b.addMethod("greaterThanOrEqual",Ta);function Sa(e,t){t&&R(this,"message",t);let r=R(this,"object"),n=R(this,"doLength"),o=R(this,"message"),a=o?o+": ":"",i=R(this,"ssfi"),s=Q(r).toLowerCase(),l=Q(e).toLowerCase(),u,d=!0;if(n&&s!=="map"&&s!=="set"&&new b(r,o,i,!0).to.have.property("length"),!n&&s==="date"&&l!=="date")u=a+"the argument to below must be a date";else if(!ne(e)&&(n||ne(r)))u=a+"the argument to below must be a number";else if(!n&&s!=="date"&&!ne(r)){let f=s==="string"?"'"+r+"'":r;u=a+"expected "+f+" to be a number or a date"}else d=!1;if(d)throw new G(u,void 0,i);if(n){let f="length",c;s==="map"||s==="set"?(f="size",c=r.size):c=r.length,this.assert(c<e,"expected #{this} to have a "+f+" below #{exp} but got #{act}","expected #{this} to not have a "+f+" below #{exp}",e,c)}else this.assert(r<e,"expected #{this} to be below #{exp}","expected #{this} to be at least #{exp}",e)}x(Sa,"assertBelow");b.addMethod("below",Sa);b.addMethod("lt",Sa);b.addMethod("lessThan",Sa);function Aa(e,t){t&&R(this,"message",t);let r=R(this,"object"),n=R(this,"doLength"),o=R(this,"message"),a=o?o+": ":"",i=R(this,"ssfi"),s=Q(r).toLowerCase(),l=Q(e).toLowerCase(),u,d=!0;if(n&&s!=="map"&&s!=="set"&&new b(r,o,i,!0).to.have.property("length"),!n&&s==="date"&&l!=="date")u=a+"the argument to most must be a date";else if(!ne(e)&&(n||ne(r)))u=a+"the argument to most must be a number";else if(!n&&s!=="date"&&!ne(r)){let f=s==="string"?"'"+r+"'":r;u=a+"expected "+f+" to be a number or a date"}else d=!1;if(d)throw new G(u,void 0,i);if(n){let f="length",c;s==="map"||s==="set"?(f="size",c=r.size):c=r.length,this.assert(c<=e,"expected #{this} to have a "+f+" at most #{exp} but got #{act}","expected #{this} to have a "+f+" above #{exp}",e,c)}else this.assert(r<=e,"expected #{this} to be at most #{exp}","expected #{this} to be above #{exp}",e)}x(Aa,"assertMost");b.addMethod("most",Aa);b.addMethod("lte",Aa);b.addMethod("lessThanOrEqual",Aa);b.addMethod("within",function(e,t,r){r&&R(this,"message",r);let n=R(this,"object"),o=R(this,"doLength"),a=R(this,"message"),i=a?a+": ":"",s=R(this,"ssfi"),l=Q(n).toLowerCase(),u=Q(e).toLowerCase(),d=Q(t).toLowerCase(),f,c=!0,h=u==="date"&&d==="date"?e.toISOString()+".."+t.toISOString():e+".."+t;if(o&&l!=="map"&&l!=="set"&&new b(n,a,s,!0).to.have.property("length"),!o&&l==="date"&&(u!=="date"||d!=="date"))f=i+"the arguments to within must be dates";else if((!ne(e)||!ne(t))&&(o||ne(n)))f=i+"the arguments to within must be numbers";else if(!o&&l!=="date"&&!ne(n)){let v=l==="string"?"'"+n+"'":n;f=i+"expected "+v+" to be a number or a date"}else c=!1;if(c)throw new G(f,void 0,s);if(o){let v="length",w;l==="map"||l==="set"?(v="size",w=n.size):w=n.length,this.assert(w>=e&&w<=t,"expected #{this} to have a "+v+" within "+h,"expected #{this} to not have a "+v+" within "+h)}else this.assert(n>=e&&n<=t,"expected #{this} to be within "+h,"expected #{this} to not be within "+h)});function Ki(e,t){t&&R(this,"message",t);let r=R(this,"object"),n=R(this,"ssfi"),o=R(this,"message"),a;try{a=r instanceof e}catch(s){throw s instanceof TypeError?(o=o?o+": ":"",new G(o+"The instanceof assertion needs a constructor but "+Q(e)+" was given.",void 0,n)):s}let i=qa(e);i==null&&(i="an unnamed constructor"),this.assert(a,"expected #{this} to be an instance of "+i,"expected #{this} to not be an instance of "+i)}x(Ki,"assertInstanceOf");b.addMethod("instanceof",Ki);b.addMethod("instanceOf",Ki);function Yi(e,t,r){r&&R(this,"message",r);let n=R(this,"nested"),o=R(this,"own"),a=R(this,"message"),i=R(this,"object"),s=R(this,"ssfi"),l=typeof e;if(a=a?a+": ":"",n){if(l!=="string")throw new G(a+"the argument to property must be a string when using nested syntax",void 0,s)}else if(l!=="string"&&l!=="number"&&l!=="symbol")throw new G(a+"the argument to property must be a string, number, or symbol",void 0,s);if(n&&o)throw new G(a+'The "nested" and "own" flags cannot be combined.',void 0,s);if(i==null)throw new G(a+"Target cannot be null or undefined.",void 0,s);let u=R(this,"deep"),d=R(this,"negate"),f=n?Ii(i,e):null,c=n?f.value:i[e],h=u?R(this,"eql"):(S,p)=>S===p,v="";u&&(v+="deep "),o&&(v+="own "),n&&(v+="nested "),v+="property ";let w;o?w=Object.prototype.hasOwnProperty.call(i,e):n?w=f.exists:w=xa(i,e),(!d||arguments.length===1)&&this.assert(w,"expected #{this} to have "+v+H(e),"expected #{this} to not have "+v+H(e)),arguments.length>1&&this.assert(w&&h(t,c),"expected #{this} to have "+v+H(e)+" of #{exp}, but got #{act}","expected #{this} to not have "+v+H(e)+" of #{act}",t,c),R(this,"object",c)}x(Yi,"assertProperty");b.addMethod("property",Yi);function Xi(e,t,r){R(this,"own",!0),Yi.apply(this,arguments)}x(Xi,"assertOwnProperty");b.addMethod("ownProperty",Xi);b.addMethod("haveOwnProperty",Xi);function Ji(e,t,r){typeof t=="string"&&(r=t,t=null),r&&R(this,"message",r);let n=R(this,"object"),o=Object.getOwnPropertyDescriptor(Object(n),e),a=R(this,"eql");o&&t?this.assert(a(t,o),"expected the own property descriptor for "+H(e)+" on #{this} to match "+H(t)+", got "+H(o),"expected the own property descriptor for "+H(e)+" on #{this} to not match "+H(t),t,o,!0):this.assert(o,"expected #{this} to have an own property descriptor for "+H(e),"expected #{this} to not have an own property descriptor for "+H(e)),R(this,"object",o)}x(Ji,"assertOwnPropertyDescriptor");b.addMethod("ownPropertyDescriptor",Ji);b.addMethod("haveOwnPropertyDescriptor",Ji);function Qi(){R(this,"doLength",!0)}x(Qi,"assertLengthChain");function Zi(e,t){t&&R(this,"message",t);let r=R(this,"object"),n=Q(r).toLowerCase(),o=R(this,"message"),a=R(this,"ssfi"),i="length",s;switch(n){case"map":case"set":i="size",s=r.size;break;default:new b(r,o,a,!0).to.have.property("length"),s=r.length}this.assert(s==e,"expected #{this} to have a "+i+" of #{exp} but got #{act}","expected #{this} to not have a "+i+" of #{act}",e,s)}x(Zi,"assertLength");b.addChainableMethod("length",Zi,Qi);b.addChainableMethod("lengthOf",Zi,Qi);function es(e,t){t&&R(this,"message",t);let r=R(this,"object");this.assert(e.exec(r),"expected #{this} to match "+e,"expected #{this} not to match "+e)}x(es,"assertMatch");b.addMethod("match",es);b.addMethod("matches",es);b.addMethod("string",function(e,t){t&&R(this,"message",t);let r=R(this,"object"),n=R(this,"message"),o=R(this,"ssfi");new b(r,n,o,!0).is.a("string"),this.assert(~r.indexOf(e),"expected #{this} to contain "+H(e),"expected #{this} to not contain "+H(e))});function ts(e){let t=R(this,"object"),r=Q(t),n=Q(e),o=R(this,"ssfi"),a=R(this,"deep"),i,s="",l,u=!0,d=R(this,"message");d=d?d+": ":"";let f=d+"when testing keys against an object or an array you must give a single Array|Object|String argument or multiple String arguments";if(r==="Map"||r==="Set")s=a?"deeply ":"",l=[],t.forEach(function(p,q){l.push(q)}),n!=="Array"&&(e=Array.prototype.slice.call(arguments));else{switch(l=Ui(t),n){case"Array":if(arguments.length>1)throw new G(f,void 0,o);break;case"Object":if(arguments.length>1)throw new G(f,void 0,o);e=Object.keys(e);break;default:e=Array.prototype.slice.call(arguments)}e=e.map(function(p){return typeof p=="symbol"?p:String(p)})}if(!e.length)throw new G(d+"keys required",void 0,o);let c=e.length,h=R(this,"any"),v=R(this,"all"),w=e,S=a?R(this,"eql"):(p,q)=>p===q;if(!h&&!v&&(v=!0),h&&(u=w.some(function(p){return l.some(function(q){return S(p,q)})})),v&&(u=w.every(function(p){return l.some(function(q){return S(p,q)})}),R(this,"contains")||(u=u&&e.length==l.length)),c>1){e=e.map(function(q){return H(q)});let p=e.pop();v&&(i=e.join(", ")+", and "+p),h&&(i=e.join(", ")+", or "+p)}else i=H(e[0]);i=(c>1?"keys ":"key ")+i,i=(R(this,"contains")?"contain ":"have ")+i,this.assert(u,"expected #{this} to "+s+i,"expected #{this} to not "+s+i,w.slice(0).sort(ua),l.sort(ua),!0)}x(ts,"assertKeys");b.addMethod("keys",ts);b.addMethod("key",ts);function Ma(e,t,r){r&&R(this,"message",r);let n=R(this,"object"),o=R(this,"ssfi"),a=R(this,"message"),i=R(this,"negate")||!1;new b(n,a,o,!0).is.a("function"),(da(e)||typeof e=="string")&&(t=e,e=null);let s,l=!1;try{n()}catch(h){l=!0,s=h}let u=e===void 0&&t===void 0,d=!!(e&&t),f=!1,c=!1;if(u||!u&&!i){let h="an error";e instanceof Error?h="#{exp}":e&&(h=fe.getConstructorName(e));let v=s;if(s instanceof Error)v=s.toString();else if(typeof s=="string")v=s;else if(s&&(typeof s=="object"||typeof s=="function"))try{v=fe.getConstructorName(s)}catch{}this.assert(l,"expected #{this} to throw "+h,"expected #{this} to not throw an error but #{act} was thrown",e&&e.toString(),v)}if(e&&s&&(e instanceof Error&&fe.compatibleInstance(s,e)===i&&(d&&i?f=!0:this.assert(i,"expected #{this} to throw #{exp} but #{act} was thrown","expected #{this} to not throw #{exp}"+(s&&!i?" but #{act} was thrown":""),e.toString(),s.toString())),fe.compatibleConstructor(s,e)===i&&(d&&i?f=!0:this.assert(i,"expected #{this} to throw #{exp} but #{act} was thrown","expected #{this} to not throw #{exp}"+(s?" but #{act} was thrown":""),e instanceof Error?e.toString():e&&fe.getConstructorName(e),s instanceof Error?s.toString():s&&fe.getConstructorName(s)))),s&&t!==void 0&&t!==null){let h="including";da(t)&&(h="matching"),fe.compatibleMessage(s,t)===i&&(d&&i?c=!0:this.assert(i,"expected #{this} to throw error "+h+" #{exp} but got #{act}","expected #{this} to throw error not "+h+" #{exp}",t,fe.getMessage(s)))}f&&c&&this.assert(i,"expected #{this} to throw #{exp} but #{act} was thrown","expected #{this} to not throw #{exp}"+(s?" but #{act} was thrown":""),e instanceof Error?e.toString():e&&fe.getConstructorName(e),s instanceof Error?s.toString():s&&fe.getConstructorName(s)),R(this,"object",s)}x(Ma,"assertThrows");b.addMethod("throw",Ma);b.addMethod("throws",Ma);b.addMethod("Throw",Ma);function rs(e,t){t&&R(this,"message",t);let r=R(this,"object"),n=R(this,"itself"),o=typeof r=="function"&&!n?r.prototype[e]:r[e];this.assert(typeof o=="function","expected #{this} to respond to "+H(e),"expected #{this} to not respond to "+H(e))}x(rs,"respondTo");b.addMethod("respondTo",rs);b.addMethod("respondsTo",rs);b.addProperty("itself",function(){R(this,"itself",!0)});function ns(e,t){t&&R(this,"message",t);let r=R(this,"object"),n=e(r);this.assert(n,"expected #{this} to satisfy "+lt(e),"expected #{this} to not satisfy"+lt(e),!R(this,"negate"),n)}x(ns,"satisfy");b.addMethod("satisfy",ns);b.addMethod("satisfies",ns);function os(e,t,r){r&&R(this,"message",r);let n=R(this,"object"),o=R(this,"message"),a=R(this,"ssfi");new b(n,o,a,!0).is.numeric;let i="A `delta` value is required for `closeTo`";if(t==null)throw new G(o?`${o}: ${i}`:i,void 0,a);if(new b(t,o,a,!0).is.numeric,i="A `expected` value is required for `closeTo`",e==null)throw new G(o?`${o}: ${i}`:i,void 0,a);new b(e,o,a,!0).is.numeric;const s=x(u=>u<0?-u:u,"abs"),l=x(u=>parseFloat(parseFloat(u).toPrecision(12)),"strip");this.assert(l(s(n-e))<=t,"expected #{this} to be close to "+e+" +/- "+t,"expected #{this} not to be close to "+e+" +/- "+t)}x(os,"closeTo");b.addMethod("closeTo",os);b.addMethod("approximately",os);function cf(e,t,r,n,o){let a=Array.from(t),i=Array.from(e);if(!n){if(i.length!==a.length)return!1;a=a.slice()}return i.every(function(s,l){if(o)return r?r(s,a[l]):s===a[l];if(!r){let u=a.indexOf(s);return u===-1?!1:(n||a.splice(u,1),!0)}return a.some(function(u,d){return r(s,u)?(n||a.splice(d,1),!0):!1})})}x(cf,"isSubsetOf");b.addMethod("members",function(e,t){t&&R(this,"message",t);let r=R(this,"object"),n=R(this,"message"),o=R(this,"ssfi");new b(r,n,o,!0).to.be.iterable,new b(e,n,o,!0).to.be.iterable;let a=R(this,"contains"),i=R(this,"ordered"),s,l,u;a?(s=i?"an ordered superset":"a superset",l="expected #{this} to be "+s+" of #{exp}",u="expected #{this} to not be "+s+" of #{exp}"):(s=i?"ordered members":"members",l="expected #{this} to have the same "+s+" as #{exp}",u="expected #{this} to not have the same "+s+" as #{exp}");let d=R(this,"deep")?R(this,"eql"):void 0;this.assert(cf(e,r,d,a,i),l,u,e,r,!0)});b.addProperty("iterable",function(e){e&&R(this,"message",e);let t=R(this,"object");this.assert(t!=null&&t[Symbol.iterator],"expected #{this} to be an iterable","expected #{this} to not be an iterable",t)});function df(e,t){t&&R(this,"message",t);let r=R(this,"object"),n=R(this,"message"),o=R(this,"ssfi"),a=R(this,"contains"),i=R(this,"deep"),s=R(this,"eql");new b(e,n,o,!0).to.be.an("array"),a?this.assert(e.some(function(l){return r.indexOf(l)>-1}),"expected #{this} to contain one of #{exp}","expected #{this} to not contain one of #{exp}",e,r):i?this.assert(e.some(function(l){return s(r,l)}),"expected #{this} to deeply equal one of #{exp}","expected #{this} to deeply equal one of #{exp}",e,r):this.assert(e.indexOf(r)>-1,"expected #{this} to be one of #{exp}","expected #{this} to not be one of #{exp}",e,r)}x(df,"oneOf");b.addMethod("oneOf",df);function as(e,t,r){r&&R(this,"message",r);let n=R(this,"object"),o=R(this,"message"),a=R(this,"ssfi");new b(n,o,a,!0).is.a("function");let i;t?(new b(e,o,a,!0).to.have.property(t),i=e[t]):(new b(e,o,a,!0).is.a("function"),i=e()),n();let s=t==null?e():e[t],l=t==null?i:"."+t;R(this,"deltaMsgObj",l),R(this,"initialDeltaValue",i),R(this,"finalDeltaValue",s),R(this,"deltaBehavior","change"),R(this,"realDelta",s!==i),this.assert(i!==s,"expected "+l+" to change","expected "+l+" to not change")}x(as,"assertChanges");b.addMethod("change",as);b.addMethod("changes",as);function is(e,t,r){r&&R(this,"message",r);let n=R(this,"object"),o=R(this,"message"),a=R(this,"ssfi");new b(n,o,a,!0).is.a("function");let i;t?(new b(e,o,a,!0).to.have.property(t),i=e[t]):(new b(e,o,a,!0).is.a("function"),i=e()),new b(i,o,a,!0).is.a("number"),n();let s=t==null?e():e[t],l=t==null?i:"."+t;R(this,"deltaMsgObj",l),R(this,"initialDeltaValue",i),R(this,"finalDeltaValue",s),R(this,"deltaBehavior","increase"),R(this,"realDelta",s-i),this.assert(s-i>0,"expected "+l+" to increase","expected "+l+" to not increase")}x(is,"assertIncreases");b.addMethod("increase",is);b.addMethod("increases",is);function ss(e,t,r){r&&R(this,"message",r);let n=R(this,"object"),o=R(this,"message"),a=R(this,"ssfi");new b(n,o,a,!0).is.a("function");let i;t?(new b(e,o,a,!0).to.have.property(t),i=e[t]):(new b(e,o,a,!0).is.a("function"),i=e()),new b(i,o,a,!0).is.a("number"),n();let s=t==null?e():e[t],l=t==null?i:"."+t;R(this,"deltaMsgObj",l),R(this,"initialDeltaValue",i),R(this,"finalDeltaValue",s),R(this,"deltaBehavior","decrease"),R(this,"realDelta",i-s),this.assert(s-i<0,"expected "+l+" to decrease","expected "+l+" to not decrease")}x(ss,"assertDecreases");b.addMethod("decrease",ss);b.addMethod("decreases",ss);function ff(e,t){t&&R(this,"message",t);let r=R(this,"deltaMsgObj"),n=R(this,"initialDeltaValue"),o=R(this,"finalDeltaValue"),a=R(this,"deltaBehavior"),i=R(this,"realDelta"),s;a==="change"?s=Math.abs(o-n)===Math.abs(e):s=i===Math.abs(e),this.assert(s,"expected "+r+" to "+a+" by "+e,"expected "+r+" to not "+a+" by "+e)}x(ff,"assertDelta");b.addMethod("by",ff);b.addProperty("extensible",function(){let e=R(this,"object"),t=e===Object(e)&&Object.isExtensible(e);this.assert(t,"expected #{this} to be extensible","expected #{this} to not be extensible")});b.addProperty("sealed",function(){let e=R(this,"object"),t=e===Object(e)?Object.isSealed(e):!0;this.assert(t,"expected #{this} to be sealed","expected #{this} to not be sealed")});b.addProperty("frozen",function(){let e=R(this,"object"),t=e===Object(e)?Object.isFrozen(e):!0;this.assert(t,"expected #{this} to be frozen","expected #{this} to not be frozen")});b.addProperty("finite",function(e){let t=R(this,"object");this.assert(typeof t=="number"&&isFinite(t),"expected #{this} to be a finite number","expected #{this} to not be a finite number")});function fa(e,t){return e===t?!0:typeof t!=typeof e?!1:typeof e!="object"||e===null?e===t:t?Array.isArray(e)?Array.isArray(t)?e.every(function(r){return t.some(function(n){return fa(r,n)})}):!1:e instanceof Date?t instanceof Date?e.getTime()===t.getTime():!1:Object.keys(e).every(function(r){let n=e[r],o=t[r];return typeof n=="object"&&n!==null&&o!==null?fa(n,o):typeof n=="function"?n(o):o===n}):!1}x(fa,"compareSubset");b.addMethod("containSubset",function(e){const t=U(this,"object"),r=ae.showDiff;this.assert(fa(e,t),"expected #{act} to contain subset #{exp}","expected #{act} to not contain subset #{exp}",e,t,r)});function To(e,t){return new b(e,t)}x(To,"expect");To.fail=function(e,t,r,n){throw arguments.length<2&&(r=e,e=void 0),r=r||"expect.fail()",new G(r,{actual:e,expected:t,operator:n},To.fail)};var pf={};_i(pf,{Should:()=>Gm,should:()=>Wm});function ls(){function e(){return this instanceof String||this instanceof Number||this instanceof Boolean||typeof Symbol=="function"&&this instanceof Symbol||typeof BigInt=="function"&&this instanceof BigInt?new b(this.valueOf(),null,e):new b(this,null,e)}x(e,"shouldGetter");function t(n){Object.defineProperty(this,"should",{value:n,enumerable:!0,configurable:!0,writable:!0})}x(t,"shouldSetter"),Object.defineProperty(Object.prototype,"should",{set:t,get:e,configurable:!0});let r={};return r.fail=function(n,o,a,i){throw arguments.length<2&&(a=n,n=void 0),a=a||"should.fail()",new G(a,{actual:n,expected:o,operator:i},r.fail)},r.equal=function(n,o,a){new b(n,a).to.equal(o)},r.Throw=function(n,o,a,i){new b(n,i).to.Throw(o,a)},r.exist=function(n,o){new b(n,o).to.exist},r.not={},r.not.equal=function(n,o,a){new b(n,a).to.not.equal(o)},r.not.Throw=function(n,o,a,i){new b(n,i).to.not.Throw(o,a)},r.not.exist=function(n,o){new b(n,o).to.not.exist},r.throw=r.Throw,r.not.throw=r.not.Throw,r}x(ls,"loadShould");var Wm=ls,Gm=ls;function m(e,t){new b(null,null,m,!0).assert(e,t,"[ negation message unavailable ]")}x(m,"assert");m.fail=function(e,t,r,n){throw arguments.length<2&&(r=e,e=void 0),r=r||"assert.fail()",new G(r,{actual:e,expected:t,operator:n},m.fail)};m.isOk=function(e,t){new b(e,t,m.isOk,!0).is.ok};m.isNotOk=function(e,t){new b(e,t,m.isNotOk,!0).is.not.ok};m.equal=function(e,t,r){let n=new b(e,r,m.equal,!0);n.assert(t==U(n,"object"),"expected #{this} to equal #{exp}","expected #{this} to not equal #{act}",t,e,!0)};m.notEqual=function(e,t,r){let n=new b(e,r,m.notEqual,!0);n.assert(t!=U(n,"object"),"expected #{this} to not equal #{exp}","expected #{this} to equal #{act}",t,e,!0)};m.strictEqual=function(e,t,r){new b(e,r,m.strictEqual,!0).to.equal(t)};m.notStrictEqual=function(e,t,r){new b(e,r,m.notStrictEqual,!0).to.not.equal(t)};m.deepEqual=m.deepStrictEqual=function(e,t,r){new b(e,r,m.deepEqual,!0).to.eql(t)};m.notDeepEqual=function(e,t,r){new b(e,r,m.notDeepEqual,!0).to.not.eql(t)};m.isAbove=function(e,t,r){new b(e,r,m.isAbove,!0).to.be.above(t)};m.isAtLeast=function(e,t,r){new b(e,r,m.isAtLeast,!0).to.be.least(t)};m.isBelow=function(e,t,r){new b(e,r,m.isBelow,!0).to.be.below(t)};m.isAtMost=function(e,t,r){new b(e,r,m.isAtMost,!0).to.be.most(t)};m.isTrue=function(e,t){new b(e,t,m.isTrue,!0).is.true};m.isNotTrue=function(e,t){new b(e,t,m.isNotTrue,!0).to.not.equal(!0)};m.isFalse=function(e,t){new b(e,t,m.isFalse,!0).is.false};m.isNotFalse=function(e,t){new b(e,t,m.isNotFalse,!0).to.not.equal(!1)};m.isNull=function(e,t){new b(e,t,m.isNull,!0).to.equal(null)};m.isNotNull=function(e,t){new b(e,t,m.isNotNull,!0).to.not.equal(null)};m.isNaN=function(e,t){new b(e,t,m.isNaN,!0).to.be.NaN};m.isNotNaN=function(e,t){new b(e,t,m.isNotNaN,!0).not.to.be.NaN};m.exists=function(e,t){new b(e,t,m.exists,!0).to.exist};m.notExists=function(e,t){new b(e,t,m.notExists,!0).to.not.exist};m.isUndefined=function(e,t){new b(e,t,m.isUndefined,!0).to.equal(void 0)};m.isDefined=function(e,t){new b(e,t,m.isDefined,!0).to.not.equal(void 0)};m.isCallable=function(e,t){new b(e,t,m.isCallable,!0).is.callable};m.isNotCallable=function(e,t){new b(e,t,m.isNotCallable,!0).is.not.callable};m.isObject=function(e,t){new b(e,t,m.isObject,!0).to.be.a("object")};m.isNotObject=function(e,t){new b(e,t,m.isNotObject,!0).to.not.be.a("object")};m.isArray=function(e,t){new b(e,t,m.isArray,!0).to.be.an("array")};m.isNotArray=function(e,t){new b(e,t,m.isNotArray,!0).to.not.be.an("array")};m.isString=function(e,t){new b(e,t,m.isString,!0).to.be.a("string")};m.isNotString=function(e,t){new b(e,t,m.isNotString,!0).to.not.be.a("string")};m.isNumber=function(e,t){new b(e,t,m.isNumber,!0).to.be.a("number")};m.isNotNumber=function(e,t){new b(e,t,m.isNotNumber,!0).to.not.be.a("number")};m.isNumeric=function(e,t){new b(e,t,m.isNumeric,!0).is.numeric};m.isNotNumeric=function(e,t){new b(e,t,m.isNotNumeric,!0).is.not.numeric};m.isFinite=function(e,t){new b(e,t,m.isFinite,!0).to.be.finite};m.isBoolean=function(e,t){new b(e,t,m.isBoolean,!0).to.be.a("boolean")};m.isNotBoolean=function(e,t){new b(e,t,m.isNotBoolean,!0).to.not.be.a("boolean")};m.typeOf=function(e,t,r){new b(e,r,m.typeOf,!0).to.be.a(t)};m.notTypeOf=function(e,t,r){new b(e,r,m.notTypeOf,!0).to.not.be.a(t)};m.instanceOf=function(e,t,r){new b(e,r,m.instanceOf,!0).to.be.instanceOf(t)};m.notInstanceOf=function(e,t,r){new b(e,r,m.notInstanceOf,!0).to.not.be.instanceOf(t)};m.include=function(e,t,r){new b(e,r,m.include,!0).include(t)};m.notInclude=function(e,t,r){new b(e,r,m.notInclude,!0).not.include(t)};m.deepInclude=function(e,t,r){new b(e,r,m.deepInclude,!0).deep.include(t)};m.notDeepInclude=function(e,t,r){new b(e,r,m.notDeepInclude,!0).not.deep.include(t)};m.nestedInclude=function(e,t,r){new b(e,r,m.nestedInclude,!0).nested.include(t)};m.notNestedInclude=function(e,t,r){new b(e,r,m.notNestedInclude,!0).not.nested.include(t)};m.deepNestedInclude=function(e,t,r){new b(e,r,m.deepNestedInclude,!0).deep.nested.include(t)};m.notDeepNestedInclude=function(e,t,r){new b(e,r,m.notDeepNestedInclude,!0).not.deep.nested.include(t)};m.ownInclude=function(e,t,r){new b(e,r,m.ownInclude,!0).own.include(t)};m.notOwnInclude=function(e,t,r){new b(e,r,m.notOwnInclude,!0).not.own.include(t)};m.deepOwnInclude=function(e,t,r){new b(e,r,m.deepOwnInclude,!0).deep.own.include(t)};m.notDeepOwnInclude=function(e,t,r){new b(e,r,m.notDeepOwnInclude,!0).not.deep.own.include(t)};m.match=function(e,t,r){new b(e,r,m.match,!0).to.match(t)};m.notMatch=function(e,t,r){new b(e,r,m.notMatch,!0).to.not.match(t)};m.property=function(e,t,r){new b(e,r,m.property,!0).to.have.property(t)};m.notProperty=function(e,t,r){new b(e,r,m.notProperty,!0).to.not.have.property(t)};m.propertyVal=function(e,t,r,n){new b(e,n,m.propertyVal,!0).to.have.property(t,r)};m.notPropertyVal=function(e,t,r,n){new b(e,n,m.notPropertyVal,!0).to.not.have.property(t,r)};m.deepPropertyVal=function(e,t,r,n){new b(e,n,m.deepPropertyVal,!0).to.have.deep.property(t,r)};m.notDeepPropertyVal=function(e,t,r,n){new b(e,n,m.notDeepPropertyVal,!0).to.not.have.deep.property(t,r)};m.ownProperty=function(e,t,r){new b(e,r,m.ownProperty,!0).to.have.own.property(t)};m.notOwnProperty=function(e,t,r){new b(e,r,m.notOwnProperty,!0).to.not.have.own.property(t)};m.ownPropertyVal=function(e,t,r,n){new b(e,n,m.ownPropertyVal,!0).to.have.own.property(t,r)};m.notOwnPropertyVal=function(e,t,r,n){new b(e,n,m.notOwnPropertyVal,!0).to.not.have.own.property(t,r)};m.deepOwnPropertyVal=function(e,t,r,n){new b(e,n,m.deepOwnPropertyVal,!0).to.have.deep.own.property(t,r)};m.notDeepOwnPropertyVal=function(e,t,r,n){new b(e,n,m.notDeepOwnPropertyVal,!0).to.not.have.deep.own.property(t,r)};m.nestedProperty=function(e,t,r){new b(e,r,m.nestedProperty,!0).to.have.nested.property(t)};m.notNestedProperty=function(e,t,r){new b(e,r,m.notNestedProperty,!0).to.not.have.nested.property(t)};m.nestedPropertyVal=function(e,t,r,n){new b(e,n,m.nestedPropertyVal,!0).to.have.nested.property(t,r)};m.notNestedPropertyVal=function(e,t,r,n){new b(e,n,m.notNestedPropertyVal,!0).to.not.have.nested.property(t,r)};m.deepNestedPropertyVal=function(e,t,r,n){new b(e,n,m.deepNestedPropertyVal,!0).to.have.deep.nested.property(t,r)};m.notDeepNestedPropertyVal=function(e,t,r,n){new b(e,n,m.notDeepNestedPropertyVal,!0).to.not.have.deep.nested.property(t,r)};m.lengthOf=function(e,t,r){new b(e,r,m.lengthOf,!0).to.have.lengthOf(t)};m.hasAnyKeys=function(e,t,r){new b(e,r,m.hasAnyKeys,!0).to.have.any.keys(t)};m.hasAllKeys=function(e,t,r){new b(e,r,m.hasAllKeys,!0).to.have.all.keys(t)};m.containsAllKeys=function(e,t,r){new b(e,r,m.containsAllKeys,!0).to.contain.all.keys(t)};m.doesNotHaveAnyKeys=function(e,t,r){new b(e,r,m.doesNotHaveAnyKeys,!0).to.not.have.any.keys(t)};m.doesNotHaveAllKeys=function(e,t,r){new b(e,r,m.doesNotHaveAllKeys,!0).to.not.have.all.keys(t)};m.hasAnyDeepKeys=function(e,t,r){new b(e,r,m.hasAnyDeepKeys,!0).to.have.any.deep.keys(t)};m.hasAllDeepKeys=function(e,t,r){new b(e,r,m.hasAllDeepKeys,!0).to.have.all.deep.keys(t)};m.containsAllDeepKeys=function(e,t,r){new b(e,r,m.containsAllDeepKeys,!0).to.contain.all.deep.keys(t)};m.doesNotHaveAnyDeepKeys=function(e,t,r){new b(e,r,m.doesNotHaveAnyDeepKeys,!0).to.not.have.any.deep.keys(t)};m.doesNotHaveAllDeepKeys=function(e,t,r){new b(e,r,m.doesNotHaveAllDeepKeys,!0).to.not.have.all.deep.keys(t)};m.throws=function(e,t,r,n){(typeof t=="string"||t instanceof RegExp)&&(r=t,t=null);let o=new b(e,n,m.throws,!0).to.throw(t,r);return U(o,"object")};m.doesNotThrow=function(e,t,r,n){(typeof t=="string"||t instanceof RegExp)&&(r=t,t=null),new b(e,n,m.doesNotThrow,!0).to.not.throw(t,r)};m.operator=function(e,t,r,n){let o;switch(t){case"==":o=e==r;break;case"===":o=e===r;break;case">":o=e>r;break;case">=":o=e>=r;break;case"<":o=e<r;break;case"<=":o=e<=r;break;case"!=":o=e!=r;break;case"!==":o=e!==r;break;default:throw n=n&&n+": ",new G(n+'Invalid operator "'+t+'"',void 0,m.operator)}let a=new b(o,n,m.operator,!0);a.assert(U(a,"object")===!0,"expected "+H(e)+" to be "+t+" "+H(r),"expected "+H(e)+" to not be "+t+" "+H(r))};m.closeTo=function(e,t,r,n){new b(e,n,m.closeTo,!0).to.be.closeTo(t,r)};m.approximately=function(e,t,r,n){new b(e,n,m.approximately,!0).to.be.approximately(t,r)};m.sameMembers=function(e,t,r){new b(e,r,m.sameMembers,!0).to.have.same.members(t)};m.notSameMembers=function(e,t,r){new b(e,r,m.notSameMembers,!0).to.not.have.same.members(t)};m.sameDeepMembers=function(e,t,r){new b(e,r,m.sameDeepMembers,!0).to.have.same.deep.members(t)};m.notSameDeepMembers=function(e,t,r){new b(e,r,m.notSameDeepMembers,!0).to.not.have.same.deep.members(t)};m.sameOrderedMembers=function(e,t,r){new b(e,r,m.sameOrderedMembers,!0).to.have.same.ordered.members(t)};m.notSameOrderedMembers=function(e,t,r){new b(e,r,m.notSameOrderedMembers,!0).to.not.have.same.ordered.members(t)};m.sameDeepOrderedMembers=function(e,t,r){new b(e,r,m.sameDeepOrderedMembers,!0).to.have.same.deep.ordered.members(t)};m.notSameDeepOrderedMembers=function(e,t,r){new b(e,r,m.notSameDeepOrderedMembers,!0).to.not.have.same.deep.ordered.members(t)};m.includeMembers=function(e,t,r){new b(e,r,m.includeMembers,!0).to.include.members(t)};m.notIncludeMembers=function(e,t,r){new b(e,r,m.notIncludeMembers,!0).to.not.include.members(t)};m.includeDeepMembers=function(e,t,r){new b(e,r,m.includeDeepMembers,!0).to.include.deep.members(t)};m.notIncludeDeepMembers=function(e,t,r){new b(e,r,m.notIncludeDeepMembers,!0).to.not.include.deep.members(t)};m.includeOrderedMembers=function(e,t,r){new b(e,r,m.includeOrderedMembers,!0).to.include.ordered.members(t)};m.notIncludeOrderedMembers=function(e,t,r){new b(e,r,m.notIncludeOrderedMembers,!0).to.not.include.ordered.members(t)};m.includeDeepOrderedMembers=function(e,t,r){new b(e,r,m.includeDeepOrderedMembers,!0).to.include.deep.ordered.members(t)};m.notIncludeDeepOrderedMembers=function(e,t,r){new b(e,r,m.notIncludeDeepOrderedMembers,!0).to.not.include.deep.ordered.members(t)};m.oneOf=function(e,t,r){new b(e,r,m.oneOf,!0).to.be.oneOf(t)};m.isIterable=function(e,t){if(e==null||!e[Symbol.iterator])throw t=t?`${t} expected ${H(e)} to be an iterable`:`expected ${H(e)} to be an iterable`,new G(t,void 0,m.isIterable)};m.changes=function(e,t,r,n){arguments.length===3&&typeof t=="function"&&(n=r,r=null),new b(e,n,m.changes,!0).to.change(t,r)};m.changesBy=function(e,t,r,n,o){if(arguments.length===4&&typeof t=="function"){let a=n;n=r,o=a}else arguments.length===3&&(n=r,r=null);new b(e,o,m.changesBy,!0).to.change(t,r).by(n)};m.doesNotChange=function(e,t,r,n){return arguments.length===3&&typeof t=="function"&&(n=r,r=null),new b(e,n,m.doesNotChange,!0).to.not.change(t,r)};m.changesButNotBy=function(e,t,r,n,o){if(arguments.length===4&&typeof t=="function"){let a=n;n=r,o=a}else arguments.length===3&&(n=r,r=null);new b(e,o,m.changesButNotBy,!0).to.change(t,r).but.not.by(n)};m.increases=function(e,t,r,n){return arguments.length===3&&typeof t=="function"&&(n=r,r=null),new b(e,n,m.increases,!0).to.increase(t,r)};m.increasesBy=function(e,t,r,n,o){if(arguments.length===4&&typeof t=="function"){let a=n;n=r,o=a}else arguments.length===3&&(n=r,r=null);new b(e,o,m.increasesBy,!0).to.increase(t,r).by(n)};m.doesNotIncrease=function(e,t,r,n){return arguments.length===3&&typeof t=="function"&&(n=r,r=null),new b(e,n,m.doesNotIncrease,!0).to.not.increase(t,r)};m.increasesButNotBy=function(e,t,r,n,o){if(arguments.length===4&&typeof t=="function"){let a=n;n=r,o=a}else arguments.length===3&&(n=r,r=null);new b(e,o,m.increasesButNotBy,!0).to.increase(t,r).but.not.by(n)};m.decreases=function(e,t,r,n){return arguments.length===3&&typeof t=="function"&&(n=r,r=null),new b(e,n,m.decreases,!0).to.decrease(t,r)};m.decreasesBy=function(e,t,r,n,o){if(arguments.length===4&&typeof t=="function"){let a=n;n=r,o=a}else arguments.length===3&&(n=r,r=null);new b(e,o,m.decreasesBy,!0).to.decrease(t,r).by(n)};m.doesNotDecrease=function(e,t,r,n){return arguments.length===3&&typeof t=="function"&&(n=r,r=null),new b(e,n,m.doesNotDecrease,!0).to.not.decrease(t,r)};m.doesNotDecreaseBy=function(e,t,r,n,o){if(arguments.length===4&&typeof t=="function"){let a=n;n=r,o=a}else arguments.length===3&&(n=r,r=null);return new b(e,o,m.doesNotDecreaseBy,!0).to.not.decrease(t,r).by(n)};m.decreasesButNotBy=function(e,t,r,n,o){if(arguments.length===4&&typeof t=="function"){let a=n;n=r,o=a}else arguments.length===3&&(n=r,r=null);new b(e,o,m.decreasesButNotBy,!0).to.decrease(t,r).but.not.by(n)};m.ifError=function(e){if(e)throw e};m.isExtensible=function(e,t){new b(e,t,m.isExtensible,!0).to.be.extensible};m.isNotExtensible=function(e,t){new b(e,t,m.isNotExtensible,!0).to.not.be.extensible};m.isSealed=function(e,t){new b(e,t,m.isSealed,!0).to.be.sealed};m.isNotSealed=function(e,t){new b(e,t,m.isNotSealed,!0).to.not.be.sealed};m.isFrozen=function(e,t){new b(e,t,m.isFrozen,!0).to.be.frozen};m.isNotFrozen=function(e,t){new b(e,t,m.isNotFrozen,!0).to.not.be.frozen};m.isEmpty=function(e,t){new b(e,t,m.isEmpty,!0).to.be.empty};m.isNotEmpty=function(e,t){new b(e,t,m.isNotEmpty,!0).to.not.be.empty};m.containsSubset=function(e,t,r){new b(e,r).to.containSubset(t)};m.doesNotContainSubset=function(e,t,r){new b(e,r).to.not.containSubset(t)};var Km=[["isOk","ok"],["isNotOk","notOk"],["throws","throw"],["throws","Throw"],["isExtensible","extensible"],["isNotExtensible","notExtensible"],["isSealed","sealed"],["isNotSealed","notSealed"],["isFrozen","frozen"],["isNotFrozen","notFrozen"],["isEmpty","empty"],["isNotEmpty","notEmpty"],["isCallable","isFunction"],["isNotCallable","isNotFunction"],["containsSubset","containSubset"]];for(const[e,t]of Km)m[t]=m[e];var Ns=[];function mf(e){const t={use:mf,AssertionError:G,util:ia,config:ae,expect:To,assert:m,Assertion:b,...pf};return~Ns.indexOf(e)||(e(t,ia),Ns.push(e)),t}x(mf,"use");function Ym(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}const Xm=e=>{const t=new Map,r=[];for(const n of e)t.set(n.id,{...n,childrenNodes:[]});for(const n of t.values())n.parent?t.get(n.parent)?.childrenNodes?.push(n):r.push(n);return r},Jm={animation:"spin 1s linear infinite"},Qm=()=>B.jsxRuntimeExports.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"var(--twd-icon-color-secondary)",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:"lucide lucide-loader-circle-icon lucide-loader-circle",style:Jm,"data-testid":"loader-icon",children:B.jsxRuntimeExports.jsx("path",{d:"M21 12a9 9 0 1 1-6.219-8.56"})}),Vo=document.createElement("style");Vo&&!document.getElementById("loader-spin-keyframes")&&(Vo.id="loader-spin-keyframes",Vo.innerHTML=`
3
3
  @keyframes spin {
4
4
  0% { transform: rotate(0deg); }
5
5
  100% { transform: rotate(360deg); }
6
6
  }
7
- `,document.head.appendChild(zo));const Oi=({className:e,children:t,dataTestId:r})=>B.jsxRuntimeExports.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"#000",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:`lucide ${e}`,"data-testid":r,children:t}),Jm=()=>B.jsxRuntimeExports.jsx(Oi,{className:"lucide-play-icon lucide-play",dataTestId:"play-icon",children:B.jsxRuntimeExports.jsx("path",{d:"M5 5a2 2 0 0 1 3.008-1.728l11.997 6.998a2 2 0 0 1 .003 3.458l-12 7A2 2 0 0 1 5 19z"})}),hf=({id:e,name:t,skip:r,only:n})=>B.jsxRuntimeExports.jsxs(B.jsxRuntimeExports.Fragment,{children:[t," ",n&&B.jsxRuntimeExports.jsxs("span",{style:{color:"#2563eb"},"data-testid":`only-indicator-${e}`,children:[" ","(only)"]}),r&&B.jsxRuntimeExports.jsxs("span",{style:{color:"#6b7280"},"data-testid":`skip-indicator-${e}`,children:[" ","(skipped)"]})]}),Qm=e=>{switch(e.status){case"pass":return{item:{background:"#dcfce7"},container:{borderLeft:"3px solid #00c951"}};case"fail":return{item:{background:"#fee2e2"},container:{borderLeft:"3px solid #fb2c36"}};case"skip":return{item:{background:"#f3f4f6"}};case"running":return{item:{background:"#fef9c3"}};default:return{item:{background:"transparent"}}}},Zm=e=>e.startsWith("Assertion passed")||e.startsWith("Event fired")?{color:"#0d542b",fontWeight:"700"}:e.startsWith("Test failed")?{color:"#fb2c36",fontWeight:"700"}:{},eh=({node:e,depth:t,id:r,runTest:n})=>{const o=Qm(e);return B.jsxRuntimeExports.jsxs("li",{style:{marginBottom:"4px",marginLeft:t*6,...o.container},"data-testid":`test-list-item-${r}`,children:[B.jsxRuntimeExports.jsxs("div",{style:{display:"flex",alignItems:"left",justifyContent:"space-between",padding:"4px 6px",borderRadius:"4px",...o.item},children:[B.jsxRuntimeExports.jsx("span",{style:{fontWeight:"500",color:"#374151",maxWidth:"220px"},children:B.jsxRuntimeExports.jsx(hf,{id:r,name:e.name,skip:e.skip,only:e.only})}),B.jsxRuntimeExports.jsx("button",{onClick:()=>n(r),"aria-label":`Run ${e.name} test`,style:{background:"transparent",border:"1px solid #d1d5db",borderRadius:"4px",padding:"0",cursor:"pointer",verticalAlign:"middle",fontSize:"12px",width:"24px",height:"24px",display:"flex",alignItems:"center",justifyContent:"center"},disabled:e.status==="running","data-testid":`run-test-button-${r}`,children:e.status==="running"?B.jsxRuntimeExports.jsx(Xm,{}):B.jsxRuntimeExports.jsx(Jm,{})})]}),e.logs&&e.logs.length>0&&B.jsxRuntimeExports.jsx("ul",{style:{borderRadius:"4px",maxHeight:"260px",overflowY:"auto",padding:0,background:"#f3f4f6",listStyle:"none",marginTop:"4px",textAlign:"left"},children:e.logs.map((i,a)=>B.jsxRuntimeExports.jsx("li",{style:{fontSize:"12px",padding:"4px 6px",borderBottom:"1px solid #d1d5db",color:"#374151",...Zm(i)},children:i},a))})]},e.name)},th=()=>B.jsxRuntimeExports.jsx(Oi,{className:"lucide-chevron-down-icon lucide-chevron-down",dataTestId:"chevron-down-icon",children:B.jsxRuntimeExports.jsx("path",{d:"m6 9 6 6 6-6"})}),rh=()=>B.jsxRuntimeExports.jsx(Oi,{className:"lucide-chevron-right-icon lucide-chevron-right",dataTestId:"chevron-right-icon",children:B.jsxRuntimeExports.jsx("path",{d:"m9 18 6-6-6-6"})}),nh=({tests:e,runTest:t})=>{const[r,n]=oi.useState({}),o=s=>n(l=>({...l,[s]:!l[s]})),i=(s,l=0)=>{if(s.type==="test")return B.jsxRuntimeExports.jsx(eh,{node:s,depth:l,id:s.id,runTest:()=>t(s.id)},s.id);const u=r[s.id];return B.jsxRuntimeExports.jsxs("li",{style:{marginLeft:l*12},children:[B.jsxRuntimeExports.jsxs("span",{style:{fontWeight:"bold",cursor:"pointer",color:"#374151",display:"flex",alignItems:"center",justifyContent:"space-between",marginBottom:"4px",gap:"6px"},"data-testid":`test-group-${s.name}`,tabIndex:0,role:"button","aria-expanded":!u,onClick:()=>o(s.id),children:[B.jsxRuntimeExports.jsx(hf,{id:s.id,name:s.name,skip:s.skip,only:s.only}),u?B.jsxRuntimeExports.jsx(rh,{}):B.jsxRuntimeExports.jsx(th,{})]}),!u&&s.childrenNodes&&s.childrenNodes.length>0&&B.jsxRuntimeExports.jsx("ul",{style:{listStyle:"none",padding:0,margin:0},children:s.childrenNodes.map(f=>i(f,l+1))})]},s.id)},a=Km(e);return B.jsxRuntimeExports.jsx("ul",{style:{listStyle:"none",padding:0,margin:0},children:a.map(s=>i(s))})},oh={left:{left:0,borderTopRightRadius:"6px",borderBottomRightRadius:"6px",borderTopLeftRadius:"0",borderBottomLeftRadius:"0"},right:{right:0,borderTopLeftRadius:"6px",borderBottomLeftRadius:"6px",borderTopRightRadius:"0",borderBottomRightRadius:"0"}},ih=({setOpen:e,position:t})=>B.jsxRuntimeExports.jsx("button",{"aria-label":"Open TWD sidebar",style:{position:"fixed",top:"50%",transform:"translateY(-50%)",background:"#1A6EF4",color:"white",padding:"6px 10px",cursor:"pointer",fontSize:"12px",...oh[t]},onClick:()=>e(!0),children:"TWD"}),ah=({isOpen:e,position:t})=>{oi.useEffect(()=>{const r=document.documentElement;return e?t==="left"?r.style.marginLeft="280px":r.style.marginRight="280px":(r.style.marginRight="0",r.style.marginLeft="0"),()=>{r.style.marginRight="0",r.style.marginLeft="0"}},[e,t])},sh=()=>B.jsxRuntimeExports.jsxs(Oi,{className:"lucide-wifi-pen-icon lucide-wifi-pen",dataTestId:"wifi-pen-icon",children:[B.jsxRuntimeExports.jsx("path",{d:"M2 8.82a15 15 0 0 1 20 0"}),B.jsxRuntimeExports.jsx("path",{d:"M21.378 16.626a1 1 0 0 0-3.004-3.004l-4.01 4.012a2 2 0 0 0-.506.854l-.837 2.87a.5.5 0 0 0 .62.62l2.87-.837a2 2 0 0 0 .854-.506z"}),B.jsxRuntimeExports.jsx("path",{d:"M5 12.859a10 10 0 0 1 10.5-2.222"}),B.jsxRuntimeExports.jsx("path",{d:"M8.5 16.429a5 5 0 0 1 3-1.406"})]}),lh=()=>{const e=yd(),t=e.filter(n=>n.executed),r=()=>{console.group("🌐 TWD Mock Rules"),console.log("Total rules:",e.length),console.log("Triggered rules:",t.length),console.log("Rules details:"),console.log(e),console.groupEnd()};return B.jsxRuntimeExports.jsxs("button",{onClick:r,"aria-label":"View mock rules details in console",style:{background:"#f8fafc",border:"1px solid #cbd5e1",borderRadius:"6px",padding:"8px 12px",cursor:"pointer",fontSize:"12px",color:"#475569",display:"flex",alignItems:"center",gap:"8px",marginBottom:"10px",width:"100%",textAlign:"left",transition:"all 0.2s ease",boxShadow:"0 1px 2px rgba(0, 0, 0, 0.05)"},children:[B.jsxRuntimeExports.jsx(sh,{}),B.jsxRuntimeExports.jsxs("span",{style:{flex:1},children:["Rules: ",t.length,"/",e.length," triggered"]}),B.jsxRuntimeExports.jsx("span",{style:{fontSize:"10px",color:"#1E293B",fontWeight:"500"},children:"View rules in console"})]})},uh={left:{left:0,borderRight:"1px solid #e5e7eb"},right:{right:0,borderLeft:"1px solid #e5e7eb"}},ch='-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"',dh=({open:e,position:t="left"})=>{const[r,n]=oi.useState(0),[o,i]=oi.useState(e);ah({isOpen:o,position:t});const a=new xo.TestRunner({onStart:c=>{c.status="running",n(d=>d+1)},onPass:c=>{c.status="pass",n(d=>d+1)},onFail:(c,d)=>{c.status="fail",console.error("Test failed:",c.name,d),c.logs.push(`Test failed: ${d.message}`),n(b=>b+1)},onSkip:c=>{c.status="skip",n(d=>d+1)}}),s=async()=>{await a.runAll()},l=async c=>{const d=Array.from(xo.handlers.values()).filter(b=>b.type==="test").find(b=>b.id===c);d&&await a.runSingle(d.id)},u=Array.from(xo.handlers.values());if(!o)return B.jsxRuntimeExports.jsx(ih,{position:t,setOpen:i});const f=u.filter(c=>c.type==="test").length;return B.jsxRuntimeExports.jsxs("div",{style:{fontFamily:ch,position:"fixed",top:0,bottom:0,width:"280px",background:"#f9fafb",fontSize:"14px",overflowY:"auto",boxShadow:"2px 0 6px rgba(0,0,0,0.1)",textAlign:"left",zIndex:1e3,...uh[t]},"data-testid":"twd-sidebar",children:[B.jsxRuntimeExports.jsxs("div",{style:{padding:"8px",background:"#f9fafb",position:"sticky",top:0,zIndex:1e3,borderBottom:"1px solid #e5e7eb"},children:[B.jsxRuntimeExports.jsxs("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center",marginBottom:"14px"},children:[B.jsxRuntimeExports.jsx("button",{onClick:s,style:{background:"#1A6EF4",color:"white",padding:"4px 8px",borderRadius:"4px",border:"none",cursor:"pointer"},children:"Run All"}),B.jsxRuntimeExports.jsx("button",{"aria-label":"Close sidebar",style:{background:"transparent",border:"none",cursor:"pointer",fontSize:"14px",paddingRight:"0",paddingLeft:"0"},onClick:()=>i(!1),children:"✖"})]}),B.jsxRuntimeExports.jsxs("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center",fontSize:"14px",color:"#6b7280",marginBottom:"10px"},children:[B.jsxRuntimeExports.jsxs("span",{style:{color:"#374151"},children:["Total: ",f]}),B.jsxRuntimeExports.jsxs("div",{style:{display:"flex",gap:"4px"},children:[B.jsxRuntimeExports.jsxs("span",{style:{color:"#00c951"},children:["✓ ",u.filter(c=>c.status==="pass").length]}),B.jsxRuntimeExports.jsxs("span",{style:{color:"#fb2c36"},children:["✗ ",u.filter(c=>c.status==="fail").length]})]})]}),B.jsxRuntimeExports.jsx(lh,{})]}),B.jsxRuntimeExports.jsx("div",{style:{padding:"8px"},children:B.jsxRuntimeExports.jsx(nh,{tests:u.map(c=>({name:c.name,depth:c.depth,status:c.status,logs:c.logs,id:c.id,parent:c.parent,type:c.type,only:c.only,skip:c.skip})),runTest:l})})]})},fh=e=>{const{Component:t,createRoot:r}=e,n=document.createElement("div");n.setAttribute("id","twd-sidebar-root"),document.body.appendChild(n),r(n).render(t)},ph=async(e,t,r)=>{for(const n in e)await e[n]();fh({Component:t,createRoot:r})};function z(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 ve(e){var t;if(mh(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 ${hh(e)}`)}function mh(e){return e.nodeType===9}function hh(e){return typeof e=="function"?`function ${e.name}`:e===null?"null":String(e)}function bf(e,t){return new Promise((r,n)=>{const o=new t;o.onerror=n,o.onabort=n,o.onload=()=>{r(String(o.result))},o.readAsText(e)})}function us(e,t){const 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 Ye(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class vf{getAsFile(){return this.file}getAsString(t){typeof this.data=="string"&&t(this.data)}webkitGetAsEntry(){throw new Error("not implemented")}constructor(t,r){Ye(this,"kind",void 0),Ye(this,"type",void 0),Ye(this,"file",null),Ye(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)}}class bh extends Array{add(...t){const r=new vf(t[0],t[1]);return this.push(r),r}clear(){this.splice(0,this.length)}remove(t){this.splice(t,1)}}function Vo(e,t){const[r,n]=e.split("/"),o=!n||n==="*";return i=>t?i.type===(o?r:e):o?i.type.startsWith(`${r}/`):i.type===r}function vh(e){return new class{getData(r){var n;const o=(n=this.items.find(Vo(r,!0)))!==null&&n!==void 0?n:this.items.find(Vo(r,!1));let i="";return o?.getAsString(a=>{i=a}),i}setData(r,n){const o=this.items.findIndex(Vo(r,!0)),i=new vf(n,r);o>=0?this.items.splice(o,1,i):this.items.push(i)}clearData(r){if(r){const n=this.items.findIndex(Vo(r,!0));n>=0&&this.items.remove(n)}else this.items.clear()}get types(){const r=[];return this.files.length&&r.push("Files"),this.items.forEach(n=>r.push(n.type)),Object.freeze(r),r}setDragImage(){}constructor(){Ye(this,"dropEffect","none"),Ye(this,"effectAllowed","uninitialized"),Ye(this,"items",new bh),Ye(this,"files",us(e,[]))}}}function cs(e,t=[]){const r=typeof e.DataTransfer>"u"?vh(e):new e.DataTransfer;return Object.defineProperty(r,"files",{get:()=>us(e,t)}),r}async function yh(e,t){return t.kind==="file"?t.getAsFile():new e.Blob([await new Promise(r=>t.getAsString(r))],{type:t.type})}function yf(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function gf(e,...t){const 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){const 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){yf(this,"data",void 0),this.data=o}}(r)}const Rt=Symbol("Manage ClipboardSub");function ks(e,t){return Object.assign(new class extends e.EventTarget{async read(){return Array.from(this.items)}async readText(){let n="";for(const o of this.items){const i=o.types.includes("text/plain")?"text/plain":o.types.find(a=>a.startsWith("text/"));i&&(n+=await o.getType(i).then(a=>bf(a,e.FileReader)))}return n}async write(n){this.items=n}async writeText(n){this.items=[gf(e,n)]}constructor(...n){super(...n),yf(this,"items",[])}},{[Rt]:t})}function ds(e){return!!e?.[Rt]}function gh(e){if(ds(e.navigator.clipboard))return e.navigator.clipboard[Rt];const t=Object.getOwnPropertyDescriptor(e.navigator,"clipboard");let r;const n={resetClipboardStub:()=>{r=ks(e,n)},detachClipboardStub:()=>{t?Object.defineProperty(e.navigator,"clipboard",t):Object.defineProperty(e.navigator,"clipboard",{value:void 0,configurable:!0})}};return r=ks(e,n),Object.defineProperty(e.navigator,"clipboard",{get:()=>r,configurable:!0}),r[Rt]}function Rh(e){ds(e.navigator.clipboard)&&e.navigator.clipboard[Rt].resetClipboardStub()}function wh(e){ds(e.navigator.clipboard)&&e.navigator.clipboard[Rt].detachClipboardStub()}async function Eh(e){const t=e.defaultView,r=t?.navigator.clipboard,n=r&&await r.read();if(!n)throw new Error("The Clipboard API is unavailable.");const o=cs(t);for(const i of n)for(const a of i.types)o.setData(a,await i.getType(a).then(s=>bf(s,t.FileReader)));return o}async function Rf(e,t){const r=ve(e),n=r.navigator.clipboard,o=[];for(let a=0;a<t.items.length;a++){const s=t.items[a],l=await yh(r,s);o.push(gf(r,l))}if(!(n&&await n.write(o).then(()=>!0,()=>!1)))throw new Error("The Clipboard API is unavailable.")}const pi=globalThis;typeof pi.afterEach=="function"&&pi.afterEach(()=>Rh(globalThis.window));typeof pi.afterAll=="function"&&pi.afterAll(()=>wh(globalThis.window));const wf=["input:not([type=hidden]):not([disabled])","button:not([disabled])","select:not([disabled])","textarea:not([disabled])",'[contenteditable=""]','[contenteditable="true"]',"a[href]","[tabindex]:not([disabled])"].join(", ");function fs(e){return e.matches(wf)}function xh(e){return new e.constructor(e.type,e)}function Le(e){for(let r=e;r;r=r.parentElement)if(z(r,["button","input","select","textarea","optgroup","option"])){if(r.hasAttribute("disabled"))return!0}else if(z(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 Bo(e){const t=e.activeElement;return t?.shadowRoot?Bo(t.shadowRoot):Le(t)?e.ownerDocument?e.ownerDocument.body:e.body:t}function Fi(e){var t;return(t=Bo(e))!==null&&t!==void 0?t:e.body}function Ch(e,t){let r=e;do{if(t(r))return r;r=r.parentElement}while(r&&r!==e.ownerDocument.body)}function ct(e){return e.hasAttribute("contenteditable")&&(e.getAttribute("contenteditable")=="true"||e.getAttribute("contenteditable")=="")}function To(e){const t=qh(e);return t&&(t.closest('[contenteditable=""]')||t.closest('[contenteditable="true"]'))}function qh(e){return e.nodeType===1?e:e.parentElement}var Ef=(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})(Ef||{});function xf(e){return z(e,"button")||z(e,"input")&&e.type in Ef}function wt(e){return qf(e)&&!e.readOnly||ct(e)}var Cf=(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})(Cf||{});function qf(e){return z(e,"textarea")||z(e,"input")&&e.type in Cf}function _e(e){return _f(e)&&qf(e)}function _h(e){return _f(e)&&xf(e)}function _f(e){return e.nodeType===1}function Ph(e){const t=e.ownerDocument.getSelection();if(t?.focusNode&&_e(e)){const n=To(t.focusNode);if(n){if(!t.isCollapsed){var r;const 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)}}var xe={},Zo={exports:{}};Zo.exports;var js;function Pf(){return js||(js=1,(function(e){const r=(i=0)=>a=>`\x1B[${38+i};5;${a}m`,n=(i=0)=>(a,s,l)=>`\x1B[${38+i};2;${a};${s};${l}m`;function o(){const i=new Map,a={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]}};a.color.gray=a.color.blackBright,a.bgColor.bgGray=a.bgColor.bgBlackBright,a.color.grey=a.color.blackBright,a.bgColor.bgGrey=a.bgColor.bgBlackBright;for(const[s,l]of Object.entries(a)){for(const[u,f]of Object.entries(l))a[u]={open:`\x1B[${f[0]}m`,close:`\x1B[${f[1]}m`},l[u]=a[u],i.set(f[0],f[1]);Object.defineProperty(a,s,{value:l,enumerable:!1})}return Object.defineProperty(a,"codes",{value:i,enumerable:!1}),a.color.close="\x1B[39m",a.bgColor.close="\x1B[49m",a.color.ansi256=r(),a.color.ansi16m=n(),a.bgColor.ansi256=r(10),a.bgColor.ansi16m=n(10),Object.defineProperties(a,{rgbToAnsi256:{value:(s,l,u)=>s===l&&l===u?s<8?16:s>248?231:Math.round((s-8)/247*24)+232:16+36*Math.round(s/255*5)+6*Math.round(l/255*5)+Math.round(u/255*5),enumerable:!1},hexToRgb:{value:s=>{const l=/(?<colorString>[a-f\d]{6}|[a-f\d]{3})/i.exec(s.toString(16));if(!l)return[0,0,0];let{colorString:u}=l.groups;u.length===3&&(u=u.split("").map(c=>c+c).join(""));const f=Number.parseInt(u,16);return[f>>16&255,f>>8&255,f&255]},enumerable:!1},hexToAnsi256:{value:s=>a.rgbToAnsi256(...a.hexToRgb(s)),enumerable:!1}}),a}Object.defineProperty(e,"exports",{enumerable:!0,get:o})})(Zo)),Zo.exports}var nt={},Ds;function Ii(){if(Ds)return nt;Ds=1,Object.defineProperty(nt,"__esModule",{value:!0}),nt.printIteratorEntries=t,nt.printIteratorValues=r,nt.printListItems=n,nt.printObjectProperties=o;const e=(i,a)=>{const s=Object.keys(i).sort(a);return Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(i).forEach(l=>{Object.getOwnPropertyDescriptor(i,l).enumerable&&s.push(l)}),s};function t(i,a,s,l,u,f,c=": "){let d="",b=i.next();if(!b.done){d+=a.spacingOuter;const v=s+a.indent;for(;!b.done;){const R=f(b.value[0],a,v,l,u),S=f(b.value[1],a,v,l,u);d+=v+R+c+S,b=i.next(),b.done?a.min||(d+=","):d+=","+a.spacingInner}d+=a.spacingOuter+s}return d}function r(i,a,s,l,u,f){let c="",d=i.next();if(!d.done){c+=a.spacingOuter;const b=s+a.indent;for(;!d.done;)c+=b+f(d.value,a,b,l,u),d=i.next(),d.done?a.min||(c+=","):c+=","+a.spacingInner;c+=a.spacingOuter+s}return c}function n(i,a,s,l,u,f){let c="";if(i.length){c+=a.spacingOuter;const d=s+a.indent;for(let b=0;b<i.length;b++)c+=d,b in i&&(c+=f(i[b],a,d,l,u)),b<i.length-1?c+=","+a.spacingInner:a.min||(c+=",");c+=a.spacingOuter+s}return c}function o(i,a,s,l,u,f){let c="";const d=e(i,a.compareKeys);if(d.length){c+=a.spacingOuter;const b=s+a.indent;for(let v=0;v<d.length;v++){const R=d[v],S=f(R,a,b,l,u),p=f(i[R],a,b,l,u);c+=b+S+": "+p,v<d.length-1?c+=","+a.spacingInner:a.min||(c+=",")}c+=a.spacingOuter+s}return c}return nt}var Se={},$s;function Th(){if($s)return Se;$s=1,Object.defineProperty(Se,"__esModule",{value:!0}),Se.test=Se.serialize=Se.default=void 0;var e=Ii(),t=(function(){return typeof globalThis<"u"?globalThis:typeof t<"u"?t:typeof self<"u"?self:typeof window<"u"?window:Function("return this")()})(),r=t["jest-symbol-do-not-touch"]||t.Symbol;const n=typeof r=="function"&&r.for?r.for("jest.asymmetricMatcher"):1267621,o=" ",i=(u,f,c,d,b,v)=>{const R=u.toString();return R==="ArrayContaining"||R==="ArrayNotContaining"?++d>f.maxDepth?"["+R+"]":R+o+"["+(0,e.printListItems)(u.sample,f,c,d,b,v)+"]":R==="ObjectContaining"||R==="ObjectNotContaining"?++d>f.maxDepth?"["+R+"]":R+o+"{"+(0,e.printObjectProperties)(u.sample,f,c,d,b,v)+"}":R==="StringMatching"||R==="StringNotMatching"||R==="StringContaining"||R==="StringNotContaining"?R+o+v(u.sample,f,c,d,b):u.toAsymmetricMatcher()};Se.serialize=i;const a=u=>u&&u.$$typeof===n;Se.test=a;var l={serialize:i,test:a};return Se.default=l,Se}var Ae={},Ui,Bs;function Sh(){return Bs||(Bs=1,Ui=({onlyFirst:e=!1}={})=>{const t=["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)","(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))"].join("|");return new RegExp(t,e?void 0:"g")}),Ui}var Ls;function Ah(){if(Ls)return Ae;Ls=1,Object.defineProperty(Ae,"__esModule",{value:!0}),Ae.test=Ae.serialize=Ae.default=void 0;var e=r(Sh()),t=r(Pf());function r(l){return l&&l.__esModule?l:{default:l}}const n=l=>l.replace((0,e.default)(),u=>{switch(u){case t.default.red.close:case t.default.green.close:case t.default.cyan.close:case t.default.gray.close:case t.default.white.close:case t.default.yellow.close:case t.default.bgRed.close:case t.default.bgGreen.close:case t.default.bgYellow.close:case t.default.inverse.close:case t.default.dim.close:case t.default.bold.close:case t.default.reset.open:case t.default.reset.close:return"</>";case t.default.red.open:return"<red>";case t.default.green.open:return"<green>";case t.default.cyan.open:return"<cyan>";case t.default.gray.open:return"<gray>";case t.default.white.open:return"<white>";case t.default.yellow.open:return"<yellow>";case t.default.bgRed.open:return"<bgRed>";case t.default.bgGreen.open:return"<bgGreen>";case t.default.bgYellow.open:return"<bgYellow>";case t.default.inverse.open:return"<inverse>";case t.default.dim.open:return"<dim>";case t.default.bold.open:return"<bold>";default:return""}}),o=l=>typeof l=="string"&&!!l.match((0,e.default)());Ae.test=o;const i=(l,u,f,c,d,b)=>b(n(l),u,f,c,d);Ae.serialize=i;var s={serialize:i,test:o};return Ae.default=s,Ae}var Me={},Fs;function Mh(){if(Fs)return Me;Fs=1,Object.defineProperty(Me,"__esModule",{value:!0}),Me.test=Me.serialize=Me.default=void 0;var e=Ii();const t=" ",r=["DOMStringMap","NamedNodeMap"],n=/^(HTML\w*Collection|NodeList)$/,o=f=>r.indexOf(f)!==-1||n.test(f),i=f=>f&&f.constructor&&!!f.constructor.name&&o(f.constructor.name);Me.test=i;const a=f=>f.constructor.name==="NamedNodeMap",s=(f,c,d,b,v,R)=>{const S=f.constructor.name;return++b>c.maxDepth?"["+S+"]":(c.min?"":S+t)+(r.indexOf(S)!==-1?"{"+(0,e.printObjectProperties)(a(f)?Array.from(f).reduce((p,q)=>(p[q.name]=q.value,p),{}):{...f},c,d,b,v,R)+"}":"["+(0,e.printListItems)(Array.from(f),c,d,b,v,R)+"]")};Me.serialize=s;var u={serialize:s,test:i};return Me.default=u,Me}var Oe={},ce={},Ho={},Us;function Oh(){if(Us)return Ho;Us=1,Object.defineProperty(Ho,"__esModule",{value:!0}),Ho.default=e;function e(t){return t.replace(/</g,"&lt;").replace(/>/g,"&gt;")}return Ho}var zs;function ps(){if(zs)return ce;zs=1,Object.defineProperty(ce,"__esModule",{value:!0}),ce.printText=ce.printProps=ce.printElementAsLeaf=ce.printElement=ce.printComment=ce.printChildren=void 0;var e=t(Oh());function t(l){return l&&l.__esModule?l:{default:l}}const r=(l,u,f,c,d,b,v)=>{const R=c+f.indent,S=f.colors;return l.map(p=>{const q=u[p];let _=v(q,f,R,d,b);return typeof q!="string"&&(_.indexOf(`
8
- `)!==-1&&(_=f.spacingOuter+R+_+f.spacingOuter+c),_="{"+_+"}"),f.spacingInner+c+S.prop.open+p+S.prop.close+"="+S.value.open+_+S.value.close}).join("")};ce.printProps=r;const n=(l,u,f,c,d,b)=>l.map(v=>u.spacingOuter+f+(typeof v=="string"?o(v,u):b(v,u,f,c,d))).join("");ce.printChildren=n;const o=(l,u)=>{const f=u.colors.content;return f.open+(0,e.default)(l)+f.close};ce.printText=o;const i=(l,u)=>{const f=u.colors.comment;return f.open+"<!--"+(0,e.default)(l)+"-->"+f.close};ce.printComment=i;const a=(l,u,f,c,d)=>{const b=c.colors.tag;return b.open+"<"+l+(u&&b.close+u+c.spacingOuter+d+b.open)+(f?">"+b.close+f+c.spacingOuter+d+b.open+"</"+l:(u&&!c.min?"":" ")+"/")+">"+b.close};ce.printElement=a;const s=(l,u)=>{const f=u.colors.tag;return f.open+"<"+l+f.close+" …"+f.open+" />"+f.close};return ce.printElementAsLeaf=s,ce}var Vs;function Ih(){if(Vs)return Oe;Vs=1,Object.defineProperty(Oe,"__esModule",{value:!0}),Oe.test=Oe.serialize=Oe.default=void 0;var e=ps();const t=1,r=3,n=8,o=11,i=/^((HTML|SVG)\w*)?Element$/,a=R=>{try{return typeof R.hasAttribute=="function"&&R.hasAttribute("is")}catch{return!1}},s=R=>{const S=R.constructor.name,{nodeType:p,tagName:q}=R,_=typeof q=="string"&&q.includes("-")||a(R);return p===t&&(i.test(S)||_)||p===r&&S==="Text"||p===n&&S==="Comment"||p===o&&S==="DocumentFragment"},l=R=>{var S;return(R==null||(S=R.constructor)===null||S===void 0?void 0:S.name)&&s(R)};Oe.test=l;function u(R){return R.nodeType===r}function f(R){return R.nodeType===n}function c(R){return R.nodeType===o}const d=(R,S,p,q,_,T)=>{if(u(R))return(0,e.printText)(R.data,S);if(f(R))return(0,e.printComment)(R.data,S);const P=c(R)?"DocumentFragment":R.tagName.toLowerCase();return++q>S.maxDepth?(0,e.printElementAsLeaf)(P,S):(0,e.printElement)(P,(0,e.printProps)(c(R)?[]:Array.from(R.attributes).map(y=>y.name).sort(),c(R)?{}:Array.from(R.attributes).reduce((y,g)=>(y[g.name]=g.value,y),{}),S,p+S.indent,q,_,T),(0,e.printChildren)(Array.prototype.slice.call(R.childNodes||R.children),S,p+S.indent,q,_,T),S,p)};Oe.serialize=d;var v={serialize:d,test:l};return Oe.default=v,Oe}var Ie={},Hs;function Nh(){if(Hs)return Ie;Hs=1,Object.defineProperty(Ie,"__esModule",{value:!0}),Ie.test=Ie.serialize=Ie.default=void 0;var e=Ii();const t="@@__IMMUTABLE_ITERABLE__@@",r="@@__IMMUTABLE_LIST__@@",n="@@__IMMUTABLE_KEYED__@@",o="@@__IMMUTABLE_MAP__@@",i="@@__IMMUTABLE_ORDERED__@@",a="@@__IMMUTABLE_RECORD__@@",s="@@__IMMUTABLE_SEQ__@@",l="@@__IMMUTABLE_SET__@@",u="@@__IMMUTABLE_STACK__@@",f=g=>"Immutable."+g,c=g=>"["+g+"]",d=" ",b="…",v=(g,E,M,N,j,D,A)=>++N>E.maxDepth?c(f(A)):f(A)+d+"{"+(0,e.printIteratorEntries)(g.entries(),E,M,N,j,D)+"}";function R(g){let E=0;return{next(){if(E<g._keys.length){const M=g._keys[E++];return{done:!1,value:[M,g.get(M)]}}return{done:!0,value:void 0}}}}const S=(g,E,M,N,j,D)=>{const A=f(g._name||"Record");return++N>E.maxDepth?c(A):A+d+"{"+(0,e.printIteratorEntries)(R(g),E,M,N,j,D)+"}"},p=(g,E,M,N,j,D)=>{const A=f("Seq");return++N>E.maxDepth?c(A):g[n]?A+d+"{"+(g._iter||g._object?(0,e.printIteratorEntries)(g.entries(),E,M,N,j,D):b)+"}":A+d+"["+(g._iter||g._array||g._collection||g._iterable?(0,e.printIteratorValues)(g.values(),E,M,N,j,D):b)+"]"},q=(g,E,M,N,j,D,A)=>++N>E.maxDepth?c(f(A)):f(A)+d+"["+(0,e.printIteratorValues)(g.values(),E,M,N,j,D)+"]",_=(g,E,M,N,j,D)=>g[o]?v(g,E,M,N,j,D,g[i]?"OrderedMap":"Map"):g[r]?q(g,E,M,N,j,D,"List"):g[l]?q(g,E,M,N,j,D,g[i]?"OrderedSet":"Set"):g[u]?q(g,E,M,N,j,D,"Stack"):g[s]?p(g,E,M,N,j,D):S(g,E,M,N,j,D);Ie.serialize=_;const T=g=>g&&(g[t]===!0||g[a]===!0);Ie.test=T;var y={serialize:_,test:T};return Ie.default=y,Ie}var Ne={},Wo={exports:{}},X={};var Ws;function kh(){if(Ws)return X;Ws=1;var e=60103,t=60106,r=60107,n=60108,o=60114,i=60109,a=60110,s=60112,l=60113,u=60120,f=60115,c=60116,d=60121,b=60122,v=60117,R=60129,S=60131;if(typeof Symbol=="function"&&Symbol.for){var p=Symbol.for;e=p("react.element"),t=p("react.portal"),r=p("react.fragment"),n=p("react.strict_mode"),o=p("react.profiler"),i=p("react.provider"),a=p("react.context"),s=p("react.forward_ref"),l=p("react.suspense"),u=p("react.suspense_list"),f=p("react.memo"),c=p("react.lazy"),d=p("react.block"),b=p("react.server.block"),v=p("react.fundamental"),R=p("react.debug_trace_mode"),S=p("react.legacy_hidden")}function q(A){if(typeof A=="object"&&A!==null){var k=A.$$typeof;switch(k){case e:switch(A=A.type,A){case r:case o:case n:case l:case u:return A;default:switch(A=A&&A.$$typeof,A){case a:case s:case c:case f:case i:return A;default:return k}}case t:return k}}}var _=i,T=e,P=s,y=r,g=c,E=f,M=t,N=o,j=n,D=l;return X.ContextConsumer=a,X.ContextProvider=_,X.Element=T,X.ForwardRef=P,X.Fragment=y,X.Lazy=g,X.Memo=E,X.Portal=M,X.Profiler=N,X.StrictMode=j,X.Suspense=D,X.isAsyncMode=function(){return!1},X.isConcurrentMode=function(){return!1},X.isContextConsumer=function(A){return q(A)===a},X.isContextProvider=function(A){return q(A)===i},X.isElement=function(A){return typeof A=="object"&&A!==null&&A.$$typeof===e},X.isForwardRef=function(A){return q(A)===s},X.isFragment=function(A){return q(A)===r},X.isLazy=function(A){return q(A)===c},X.isMemo=function(A){return q(A)===f},X.isPortal=function(A){return q(A)===t},X.isProfiler=function(A){return q(A)===o},X.isStrictMode=function(A){return q(A)===n},X.isSuspense=function(A){return q(A)===l},X.isValidElementType=function(A){return typeof A=="string"||typeof A=="function"||A===r||A===o||A===R||A===n||A===l||A===u||A===S||typeof A=="object"&&A!==null&&(A.$$typeof===c||A.$$typeof===f||A.$$typeof===i||A.$$typeof===a||A.$$typeof===s||A.$$typeof===v||A.$$typeof===d||A[0]===b)},X.typeOf=q,X}var J={};var Gs;function jh(){return Gs||(Gs=1,process.env.NODE_ENV!=="production"&&(function(){var e=60103,t=60106,r=60107,n=60108,o=60114,i=60109,a=60110,s=60112,l=60113,u=60120,f=60115,c=60116,d=60121,b=60122,v=60117,R=60129,S=60131;if(typeof Symbol=="function"&&Symbol.for){var p=Symbol.for;e=p("react.element"),t=p("react.portal"),r=p("react.fragment"),n=p("react.strict_mode"),o=p("react.profiler"),i=p("react.provider"),a=p("react.context"),s=p("react.forward_ref"),l=p("react.suspense"),u=p("react.suspense_list"),f=p("react.memo"),c=p("react.lazy"),d=p("react.block"),b=p("react.server.block"),v=p("react.fundamental"),p("react.scope"),p("react.opaque.id"),R=p("react.debug_trace_mode"),p("react.offscreen"),S=p("react.legacy_hidden")}var q=!1;function _(O){return!!(typeof O=="string"||typeof O=="function"||O===r||O===o||O===R||O===n||O===l||O===u||O===S||q||typeof O=="object"&&O!==null&&(O.$$typeof===c||O.$$typeof===f||O.$$typeof===i||O.$$typeof===a||O.$$typeof===s||O.$$typeof===v||O.$$typeof===d||O[0]===b))}function T(O){if(typeof O=="object"&&O!==null){var W=O.$$typeof;switch(W){case e:var V=O.type;switch(V){case r:case o:case n:case l:case u:return V;default:var re=V&&V.$$typeof;switch(re){case a:case s:case c:case f:case i:return re;default:return W}}case t:return W}}}var P=a,y=i,g=e,E=s,M=r,N=c,j=f,D=t,A=o,k=n,F=l,Z=!1,Y=!1;function le(O){return Z||(Z=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")),!1}function ye(O){return Y||(Y=!0,console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")),!1}function tt(O){return T(O)===a}function ze(O){return T(O)===i}function Ve(O){return typeof O=="object"&&O!==null&&O.$$typeof===e}function L(O){return T(O)===s}function He(O){return T(O)===r}function rt(O){return T(O)===c}function ge(O){return T(O)===f}function St(O){return T(O)===t}function At(O){return T(O)===o}function C(O){return T(O)===n}function $(O){return T(O)===l}J.ContextConsumer=P,J.ContextProvider=y,J.Element=g,J.ForwardRef=E,J.Fragment=M,J.Lazy=N,J.Memo=j,J.Portal=D,J.Profiler=A,J.StrictMode=k,J.Suspense=F,J.isAsyncMode=le,J.isConcurrentMode=ye,J.isContextConsumer=tt,J.isContextProvider=ze,J.isElement=Ve,J.isForwardRef=L,J.isFragment=He,J.isLazy=rt,J.isMemo=ge,J.isPortal=St,J.isProfiler=At,J.isStrictMode=C,J.isSuspense=$,J.isValidElementType=_,J.typeOf=T})()),J}var Ks;function Dh(){return Ks||(Ks=1,process.env.NODE_ENV==="production"?Wo.exports=kh():Wo.exports=jh()),Wo.exports}var Ys;function $h(){if(Ys)return Ne;Ys=1,Object.defineProperty(Ne,"__esModule",{value:!0}),Ne.test=Ne.serialize=Ne.default=void 0;var e=n(Dh()),t=ps();function r(c){if(typeof WeakMap!="function")return null;var d=new WeakMap,b=new WeakMap;return(r=function(v){return v?b:d})(c)}function n(c,d){if(c&&c.__esModule)return c;if(c===null||typeof c!="object"&&typeof c!="function")return{default:c};var b=r(d);if(b&&b.has(c))return b.get(c);var v={},R=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var S in c)if(S!=="default"&&Object.prototype.hasOwnProperty.call(c,S)){var p=R?Object.getOwnPropertyDescriptor(c,S):null;p&&(p.get||p.set)?Object.defineProperty(v,S,p):v[S]=c[S]}return v.default=c,b&&b.set(c,v),v}const o=(c,d=[])=>(Array.isArray(c)?c.forEach(b=>{o(b,d)}):c!=null&&c!==!1&&d.push(c),d),i=c=>{const d=c.type;if(typeof d=="string")return d;if(typeof d=="function")return d.displayName||d.name||"Unknown";if(e.isFragment(c))return"React.Fragment";if(e.isSuspense(c))return"React.Suspense";if(typeof d=="object"&&d!==null){if(e.isContextProvider(c))return"Context.Provider";if(e.isContextConsumer(c))return"Context.Consumer";if(e.isForwardRef(c)){if(d.displayName)return d.displayName;const b=d.render.displayName||d.render.name||"";return b!==""?"ForwardRef("+b+")":"ForwardRef"}if(e.isMemo(c)){const b=d.displayName||d.type.displayName||d.type.name||"";return b!==""?"Memo("+b+")":"Memo"}}return"UNDEFINED"},a=c=>{const{props:d}=c;return Object.keys(d).filter(b=>b!=="children"&&d[b]!==void 0).sort()},s=(c,d,b,v,R,S)=>++v>d.maxDepth?(0,t.printElementAsLeaf)(i(c),d):(0,t.printElement)(i(c),(0,t.printProps)(a(c),c.props,d,b+d.indent,v,R,S),(0,t.printChildren)(o(c.props.children),d,b+d.indent,v,R,S),d,b);Ne.serialize=s;const l=c=>c!=null&&e.isElement(c);Ne.test=l;var f={serialize:s,test:l};return Ne.default=f,Ne}var ke={},Xs;function Bh(){if(Xs)return ke;Xs=1,Object.defineProperty(ke,"__esModule",{value:!0}),ke.test=ke.serialize=ke.default=void 0;var e=ps(),t=(function(){return typeof globalThis<"u"?globalThis:typeof t<"u"?t:typeof self<"u"?self:typeof window<"u"?window:Function("return this")()})(),r=t["jest-symbol-do-not-touch"]||t.Symbol;const n=typeof r=="function"&&r.for?r.for("react.test.json"):245830487,o=u=>{const{props:f}=u;return f?Object.keys(f).filter(c=>f[c]!==void 0).sort():[]},i=(u,f,c,d,b,v)=>++d>f.maxDepth?(0,e.printElementAsLeaf)(u.type,f):(0,e.printElement)(u.type,u.props?(0,e.printProps)(o(u),u.props,f,c+f.indent,d,b,v):"",u.children?(0,e.printChildren)(u.children,f,c+f.indent,d,b,v):"",f,c);ke.serialize=i;const a=u=>u&&u.$$typeof===n;ke.test=a;var l={serialize:i,test:a};return ke.default=l,ke}var Js;function Lh(){if(Js)return xe;Js=1,Object.defineProperty(xe,"__esModule",{value:!0}),xe.default=xe.DEFAULT_OPTIONS=void 0,xe.format=ge,xe.plugins=void 0;var e=u(Pf()),t=Ii(),r=u(Th()),n=u(Ah()),o=u(Mh()),i=u(Ih()),a=u(Nh()),s=u($h()),l=u(Bh());function u(C){return C&&C.__esModule?C:{default:C}}const f=Object.prototype.toString,c=Date.prototype.toISOString,d=Error.prototype.toString,b=RegExp.prototype.toString,v=C=>typeof C.constructor=="function"&&C.constructor.name||"Object",R=C=>typeof window<"u"&&C===window,S=/^Symbol\((.*)\)(.*)$/,p=/\n/gi;class q extends Error{constructor($,O){super($),this.stack=O,this.name=this.constructor.name}}function _(C){return C==="[object Array]"||C==="[object ArrayBuffer]"||C==="[object DataView]"||C==="[object Float32Array]"||C==="[object Float64Array]"||C==="[object Int8Array]"||C==="[object Int16Array]"||C==="[object Int32Array]"||C==="[object Uint8Array]"||C==="[object Uint8ClampedArray]"||C==="[object Uint16Array]"||C==="[object Uint32Array]"}function T(C){return Object.is(C,-0)?"-0":String(C)}function P(C){return`${C}n`}function y(C,$){return $?"[Function "+(C.name||"anonymous")+"]":"[Function]"}function g(C){return String(C).replace(S,"Symbol($1)")}function E(C){return"["+d.call(C)+"]"}function M(C,$,O,W){if(C===!0||C===!1)return""+C;if(C===void 0)return"undefined";if(C===null)return"null";const V=typeof C;if(V==="number")return T(C);if(V==="bigint")return P(C);if(V==="string")return W?'"'+C.replace(/"|\\/g,"\\$&")+'"':'"'+C+'"';if(V==="function")return y(C,$);if(V==="symbol")return g(C);const re=f.call(C);return re==="[object WeakMap]"?"WeakMap {}":re==="[object WeakSet]"?"WeakSet {}":re==="[object Function]"||re==="[object GeneratorFunction]"?y(C,$):re==="[object Symbol]"?g(C):re==="[object Date]"?isNaN(+C)?"Date { NaN }":c.call(C):re==="[object Error]"?E(C):re==="[object RegExp]"?O?b.call(C).replace(/[\\^$*+?.()|[\]{}]/g,"\\$&"):b.call(C):C instanceof Error?E(C):null}function N(C,$,O,W,V,re){if(V.indexOf(C)!==-1)return"[Circular]";V=V.slice(),V.push(C);const oe=++W>$.maxDepth,ue=$.min;if($.callToJSON&&!oe&&C.toJSON&&typeof C.toJSON=="function"&&!re)return k(C.toJSON(),$,O,W,V,!0);const Te=f.call(C);return Te==="[object Arguments]"?oe?"[Arguments]":(ue?"":"Arguments ")+"["+(0,t.printListItems)(C,$,O,W,V,k)+"]":_(Te)?oe?"["+C.constructor.name+"]":(ue||!$.printBasicPrototype&&C.constructor.name==="Array"?"":C.constructor.name+" ")+"["+(0,t.printListItems)(C,$,O,W,V,k)+"]":Te==="[object Map]"?oe?"[Map]":"Map {"+(0,t.printIteratorEntries)(C.entries(),$,O,W,V,k," => ")+"}":Te==="[object Set]"?oe?"[Set]":"Set {"+(0,t.printIteratorValues)(C.values(),$,O,W,V,k)+"}":oe||R(C)?"["+v(C)+"]":(ue||!$.printBasicPrototype&&v(C)==="Object"?"":v(C)+" ")+"{"+(0,t.printObjectProperties)(C,$,O,W,V,k)+"}"}function j(C){return C.serialize!=null}function D(C,$,O,W,V,re){let oe;try{oe=j(C)?C.serialize($,O,W,V,re,k):C.print($,ue=>k(ue,O,W,V,re),ue=>{const Te=W+O.indent;return Te+ue.replace(p,`
9
- `+Te)},{edgeSpacing:O.spacingOuter,min:O.min,spacing:O.spacingInner},O.colors)}catch(ue){throw new q(ue.message,ue.stack)}if(typeof oe!="string")throw new Error(`pretty-format: Plugin must return type "string" but instead returned "${typeof oe}".`);return oe}function A(C,$){for(let O=0;O<C.length;O++)try{if(C[O].test($))return C[O]}catch(W){throw new q(W.message,W.stack)}return null}function k(C,$,O,W,V,re){const oe=A($.plugins,C);if(oe!==null)return D(oe,C,$,O,W,V);const ue=M(C,$.printFunctionName,$.escapeRegex,$.escapeString);return ue!==null?ue:N(C,$,O,W,V,re)}const F={comment:"gray",content:"reset",prop:"yellow",tag:"cyan",value:"green"},Z=Object.keys(F),Y={callToJSON:!0,compareKeys:void 0,escapeRegex:!1,escapeString:!0,highlight:!1,indent:2,maxDepth:1/0,min:!1,plugins:[],printBasicPrototype:!0,printFunctionName:!0,theme:F};xe.DEFAULT_OPTIONS=Y;function le(C){if(Object.keys(C).forEach($=>{if(!Y.hasOwnProperty($))throw new Error(`pretty-format: Unknown option "${$}".`)}),C.min&&C.indent!==void 0&&C.indent!==0)throw new Error('pretty-format: Options "min" and "indent" cannot be used together.');if(C.theme!==void 0){if(C.theme===null)throw new Error('pretty-format: Option "theme" must not be null.');if(typeof C.theme!="object")throw new Error(`pretty-format: Option "theme" must be of type "object" but instead received "${typeof C.theme}".`)}}const ye=C=>Z.reduce(($,O)=>{const W=C.theme&&C.theme[O]!==void 0?C.theme[O]:F[O],V=W&&e.default[W];if(V&&typeof V.close=="string"&&typeof V.open=="string")$[O]=V;else throw new Error(`pretty-format: Option "theme" has a key "${O}" whose value "${W}" is undefined in ansi-styles.`);return $},Object.create(null)),tt=()=>Z.reduce((C,$)=>(C[$]={close:"",open:""},C),Object.create(null)),ze=C=>C&&C.printFunctionName!==void 0?C.printFunctionName:Y.printFunctionName,Ve=C=>C&&C.escapeRegex!==void 0?C.escapeRegex:Y.escapeRegex,L=C=>C&&C.escapeString!==void 0?C.escapeString:Y.escapeString,He=C=>{var $;return{callToJSON:C&&C.callToJSON!==void 0?C.callToJSON:Y.callToJSON,colors:C&&C.highlight?ye(C):tt(),compareKeys:C&&typeof C.compareKeys=="function"?C.compareKeys:Y.compareKeys,escapeRegex:Ve(C),escapeString:L(C),indent:C&&C.min?"":rt(C&&C.indent!==void 0?C.indent:Y.indent),maxDepth:C&&C.maxDepth!==void 0?C.maxDepth:Y.maxDepth,min:C&&C.min!==void 0?C.min:Y.min,plugins:C&&C.plugins!==void 0?C.plugins:Y.plugins,printBasicPrototype:($=C?.printBasicPrototype)!==null&&$!==void 0?$:!0,printFunctionName:ze(C),spacingInner:C&&C.min?" ":`
7
+ `,document.head.appendChild(Vo));const Oa=({className:e,children:t,dataTestId:r})=>B.jsxRuntimeExports.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"var(--twd-icon-color)",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:`lucide ${e}`,"data-testid":r,children:t}),Zm=()=>B.jsxRuntimeExports.jsx(Oa,{className:"lucide-play-icon lucide-play",dataTestId:"play-icon",children:B.jsxRuntimeExports.jsx("path",{d:"M5 5a2 2 0 0 1 3.008-1.728l11.997 6.998a2 2 0 0 1 .003 3.458l-12 7A2 2 0 0 1 5 19z"})}),hf=({id:e,name:t,skip:r,only:n})=>B.jsxRuntimeExports.jsxs(B.jsxRuntimeExports.Fragment,{children:[t," ",n&&B.jsxRuntimeExports.jsxs("span",{style:{color:"var(--twd-primary)"},"data-testid":`only-indicator-${e}`,children:[" ","(only)"]}),r&&B.jsxRuntimeExports.jsxs("span",{style:{color:"var(--twd-text-secondary)"},"data-testid":`skip-indicator-${e}`,children:[" ","(skipped)"]})]}),eh=e=>{switch(e.status){case"pass":return{item:{background:"var(--twd-success-bg)"},container:{borderLeft:"3px solid var(--twd-success)"}};case"fail":return{item:{background:"var(--twd-error-bg)"},container:{borderLeft:"3px solid var(--twd-error)"}};case"skip":return{item:{background:"var(--twd-skip-bg)"}};case"running":return{item:{background:"var(--twd-warning-bg)"}};default:return{item:{background:"transparent"}}}},th=e=>e.startsWith("Assertion passed")||e.startsWith("Event fired")?{color:"var(--twd-success)",fontWeight:"var(--twd-font-weight-bold)"}:e.startsWith("Test failed")?{color:"var(--twd-error)",fontWeight:"var(--twd-font-weight-bold)"}:{},rh=({node:e,depth:t,id:r,runTest:n})=>{const o=eh(e),a=Ee.useRef(null),i=Ee.useRef(e.status),s=Ee.useRef(e.logs?.length||0),l=typeof window<"u"&&sessionStorage.getItem("twd-last-run-test-name")===e.name;Ee.useEffect(()=>{const d=a.current;if(!d||!e.logs||e.logs.length===0)return;const f=i.current==="running"&&(e.status==="pass"||e.status==="fail"),c=e.logs.length>s.current;(f||c)&&setTimeout(()=>{d.scrollTop=d.scrollHeight},0),i.current=e.status,s.current=e.logs.length},[e.status,e.logs]);const u=()=>{switch(e.status){case"pass":return"passed";case"fail":return"failed";case"running":return"running";case"skip":return"skipped";default:return"not run"}};return B.jsxRuntimeExports.jsxs("li",{style:{marginBottom:"var(--twd-spacing-xs)",marginLeft:`calc(${t} * var(--twd-spacing-sm))`,...o.container},"data-testid":`test-list-item-${r}`,"data-test-name":e.name,role:"listitem","aria-label":`Test ${e.name}, status: ${u()}`,children:[B.jsxRuntimeExports.jsxs("div",{style:{display:"flex",alignItems:"left",justifyContent:"space-between",padding:"var(--twd-spacing-xs) var(--twd-spacing-sm)",borderRadius:"var(--twd-border-radius)",...o.item,...l&&{border:"1px dashed var(--twd-border)"}},children:[B.jsxRuntimeExports.jsx("span",{style:{fontWeight:"var(--twd-font-weight-medium)",color:"var(--twd-text)",maxWidth:"220px"},children:B.jsxRuntimeExports.jsx(hf,{id:r,name:e.name,skip:e.skip,only:e.only})}),B.jsxRuntimeExports.jsx("button",{onClick:()=>n(r),"aria-label":`Run ${e.name} test`,style:{background:"transparent",border:"1px solid var(--twd-border-light)",borderRadius:"var(--twd-border-radius)",padding:"0",cursor:"pointer",verticalAlign:"middle",fontSize:"var(--twd-font-size-sm)",width:"24px",height:"24px",display:"flex",alignItems:"center",justifyContent:"center"},disabled:e.status==="running","data-testid":`run-test-button-${r}`,children:e.status==="running"?B.jsxRuntimeExports.jsx(Qm,{}):B.jsxRuntimeExports.jsx(Zm,{})})]}),e.logs&&e.logs.length>0&&B.jsxRuntimeExports.jsx("ul",{ref:a,style:{borderRadius:"var(--twd-border-radius)",maxHeight:"260px",overflowY:"auto",padding:0,background:"var(--twd-background-secondary)",listStyle:"none",marginTop:"var(--twd-spacing-xs)",textAlign:"left"},children:e.logs.map((d,f)=>B.jsxRuntimeExports.jsx("li",{style:{fontSize:"var(--twd-font-size-sm)",padding:"var(--twd-spacing-xs) var(--twd-spacing-sm)",borderBottom:"1px solid var(--twd-border-light)",color:"var(--twd-text)",...th(d)},children:d},f))})]},e.name)},nh=()=>B.jsxRuntimeExports.jsx(Oa,{className:"lucide-chevron-down-icon lucide-chevron-down",dataTestId:"chevron-down-icon",children:B.jsxRuntimeExports.jsx("path",{d:"m6 9 6 6 6-6"})}),oh=()=>B.jsxRuntimeExports.jsx(Oa,{className:"lucide-chevron-right-icon lucide-chevron-right",dataTestId:"chevron-right-icon",children:B.jsxRuntimeExports.jsx("path",{d:"m9 18 6-6-6-6"})}),ah=({tests:e,runTest:t})=>{const[r,n]=Ee.useState({}),o=Ee.useRef(null),a=Ee.useRef(!1),i=u=>n(d=>({...d,[u]:!d[u]}));Ee.useEffect(()=>{if(a.current)return;const u=sessionStorage.getItem("twd-last-run-test-name");if(!u)return;const d=setTimeout(()=>{const f=document.querySelector(`[data-test-name="${u}"]`);if(f){const c=o.current?.closest('[data-testid="twd-sidebar"]');if(c){const h=f.getBoundingClientRect(),v=c.getBoundingClientRect(),w=c.scrollTop,S=h.top-v.top+w;c.scrollTo({top:S-150,behavior:"smooth"})}a.current=!0}},100);return()=>clearTimeout(d)},[]);const s=(u,d=0)=>{if(u.type==="test")return B.jsxRuntimeExports.jsx(rh,{node:u,depth:d,id:u.id,runTest:()=>t(u.id)},u.id);const f=r[u.id];return B.jsxRuntimeExports.jsxs("li",{style:{marginLeft:`calc(${d} * var(--twd-spacing-lg))`},children:[B.jsxRuntimeExports.jsxs("span",{style:{fontWeight:"var(--twd-font-weight-bold)",cursor:"pointer",color:"var(--twd-text)",display:"flex",alignItems:"center",justifyContent:"space-between",marginBottom:"var(--twd-spacing-xs)",gap:"var(--twd-spacing-sm)"},"data-testid":`test-group-${u.name}`,tabIndex:0,role:"button","aria-expanded":!f,"aria-label":`${f?"Expand":"Collapse"} test suite ${u.name}`,onClick:()=>i(u.id),children:[B.jsxRuntimeExports.jsx(hf,{id:u.id,name:u.name,skip:u.skip,only:u.only}),f?B.jsxRuntimeExports.jsx(oh,{}):B.jsxRuntimeExports.jsx(nh,{})]}),!f&&u.childrenNodes&&u.childrenNodes.length>0&&B.jsxRuntimeExports.jsx("ul",{style:{listStyle:"none",padding:0,margin:0},children:u.childrenNodes.map(c=>s(c,d+1))})]},u.id)},l=Xm(e);return B.jsxRuntimeExports.jsx("ul",{ref:o,style:{listStyle:"none",padding:0,margin:0},role:"list","aria-label":"Test list",children:l.map(u=>s(u))})},ih={left:{left:0,borderTopRightRadius:"var(--twd-border-radius-lg)",borderBottomRightRadius:"var(--twd-border-radius-lg)",borderTopLeftRadius:"0",borderBottomLeftRadius:"0"},right:{right:0,borderTopLeftRadius:"var(--twd-border-radius-lg)",borderBottomLeftRadius:"var(--twd-border-radius-lg)",borderTopRightRadius:"0",borderBottomRightRadius:"0"}},sh=({setOpen:e,position:t})=>B.jsxRuntimeExports.jsx("button",{"aria-label":"Open TWD sidebar",style:{position:"fixed",top:"50%",transform:"translateY(-50%)",background:"var(--twd-button-primary)",color:"var(--twd-button-primary-text)",padding:"var(--twd-spacing-sm) 10px",cursor:"pointer",fontSize:"var(--twd-font-size-sm)",...ih[t]},onClick:()=>e(!0),children:"TWD"}),lh=({isOpen:e,position:t})=>{Ee.useEffect(()=>{const r=document.documentElement,n=getComputedStyle(document.documentElement).getPropertyValue("--twd-sidebar-width")||"280px";return e?t==="left"?r.style.marginLeft=n:r.style.marginRight=n:(r.style.marginRight="0",r.style.marginLeft="0"),()=>{r.style.marginRight="0",r.style.marginLeft="0"}},[e,t])},uh=()=>B.jsxRuntimeExports.jsxs(Oa,{className:"lucide-wifi-pen-icon lucide-wifi-pen",dataTestId:"wifi-pen-icon",children:[B.jsxRuntimeExports.jsx("path",{d:"M2 8.82a15 15 0 0 1 20 0"}),B.jsxRuntimeExports.jsx("path",{d:"M21.378 16.626a1 1 0 0 0-3.004-3.004l-4.01 4.012a2 2 0 0 0-.506.854l-.837 2.87a.5.5 0 0 0 .62.62l2.87-.837a2 2 0 0 0 .854-.506z"}),B.jsxRuntimeExports.jsx("path",{d:"M5 12.859a10 10 0 0 1 10.5-2.222"}),B.jsxRuntimeExports.jsx("path",{d:"M8.5 16.429a5 5 0 0 1 3-1.406"})]}),ch=()=>{const e=yd(),t=e.filter(n=>n.executed),r=()=>{console.group("🌐 TWD Mock Rules"),console.log("Total rules:",e.length),console.log("Triggered rules:",t.length),console.log("Rules details:"),console.log(e),console.groupEnd()};return B.jsxRuntimeExports.jsxs("button",{onClick:r,"aria-label":"View mock rules details in console",style:{background:"var(--twd-button-secondary)",border:"1px solid var(--twd-button-border)",borderRadius:"var(--twd-border-radius-lg)",padding:"var(--twd-spacing-md) var(--twd-spacing-lg)",cursor:"pointer",fontSize:"var(--twd-font-size-sm)",color:"var(--twd-button-secondary-text)",display:"flex",alignItems:"center",gap:"var(--twd-spacing-md)",marginBottom:"10px",width:"100%",textAlign:"left",transition:"all var(--twd-animation-duration) ease",boxShadow:"var(--twd-shadow-sm)"},children:[B.jsxRuntimeExports.jsx(uh,{}),B.jsxRuntimeExports.jsxs("span",{style:{flex:1},children:["Rules: ",t.length,"/",e.length," triggered"]}),B.jsxRuntimeExports.jsx("span",{style:{fontSize:"var(--twd-font-size-xs)",color:"var(--twd-text)",fontWeight:"var(--twd-font-weight-medium)"},children:"View rules in console"})]})},dh={left:{left:0,borderRight:"1px solid var(--twd-border)"},right:{right:0,borderLeft:"1px solid var(--twd-border)"}},fh='-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"',ph=e=>sessionStorage.getItem("twd-sidebar-open")?sessionStorage.getItem("twd-sidebar-open")==="true":e,mh=({open:e,position:t="left"})=>{const[r,n]=Ee.useState(0),[o,a]=Ee.useState(ph(e));lh({isOpen:o,position:t});const i=new Co.TestRunner({onStart:c=>{c.status="running",n(h=>h+1)},onPass:c=>{c.status="pass",n(h=>h+1)},onFail:(c,h)=>{c.status="fail",console.error("Test failed:",c.name,h),c.logs.push(`Test failed: ${h.message}`),n(v=>v+1)},onSkip:c=>{c.status="skip",n(h=>h+1)}}),s=c=>{a(c),sessionStorage.setItem("twd-sidebar-open",c.toString())},l=async()=>{sessionStorage.removeItem("twd-last-run-test-name"),await i.runAll()},u=async c=>{const h=Array.from(Co.handlers.values()).filter(v=>v.type==="test").find(v=>v.id===c);h&&(sessionStorage.setItem("twd-last-run-test-name",h.name),await i.runSingle(h.id))},d=Array.from(Co.handlers.values());if(!o)return B.jsxRuntimeExports.jsx(sh,{position:t,setOpen:s});const f=d.filter(c=>c.type==="test").length;return B.jsxRuntimeExports.jsxs("div",{style:{fontFamily:fh,position:"fixed",top:0,bottom:0,width:"var(--twd-sidebar-width)",background:"var(--twd-background)",fontSize:"var(--twd-font-size-md)",overflowY:"auto",boxShadow:"var(--twd-shadow)",textAlign:"left",zIndex:"var(--twd-z-index-sidebar)",...dh[t]},"data-testid":"twd-sidebar",role:"complementary","aria-label":"Test While Developing sidebar",children:[B.jsxRuntimeExports.jsxs("div",{style:{padding:"var(--twd-spacing-md)",background:"var(--twd-background)",position:"sticky",top:0,zIndex:"var(--twd-z-index-sticky)",borderBottom:"1px solid var(--twd-border)"},children:[B.jsxRuntimeExports.jsxs("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center",marginBottom:"var(--twd-spacing-xl)"},children:[B.jsxRuntimeExports.jsx("button",{onClick:l,style:{background:"var(--twd-button-primary)",color:"var(--twd-button-primary-text)",padding:"var(--twd-spacing-xs) var(--twd-spacing-md)",borderRadius:"var(--twd-border-radius)",border:"none",cursor:"pointer"},children:"Run All"}),B.jsxRuntimeExports.jsx("button",{"aria-label":"Close sidebar",style:{background:"transparent",border:"none",cursor:"pointer",fontSize:"var(--twd-font-size-md)",paddingRight:"0",paddingLeft:"0"},onClick:()=>s(!1),children:"✖"})]}),B.jsxRuntimeExports.jsxs("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center",fontSize:"var(--twd-font-size-md)",color:"var(--twd-text-secondary)",marginBottom:"10px"},children:[B.jsxRuntimeExports.jsxs("span",{style:{color:"var(--twd-text)"},children:["Total: ",f]}),B.jsxRuntimeExports.jsxs("div",{style:{display:"flex",gap:"var(--twd-spacing-xs)"},children:[B.jsxRuntimeExports.jsxs("span",{style:{color:"var(--twd-success)"},children:["✓ ",d.filter(c=>c.status==="pass").length]}),B.jsxRuntimeExports.jsxs("span",{style:{color:"var(--twd-error)"},children:["✗ ",d.filter(c=>c.status==="fail").length]})]})]}),B.jsxRuntimeExports.jsx(ch,{})]}),B.jsxRuntimeExports.jsx("div",{style:{padding:"var(--twd-spacing-md)"},children:B.jsxRuntimeExports.jsx(ah,{tests:d.map(c=>({name:c.name,depth:c.depth,status:c.status,logs:c.logs,id:c.id,parent:c.parent,type:c.type,only:c.only,skip:c.skip})),runTest:u})})]})},bf={primary:"#3b82f6",background:"#1e293b",backgroundSecondary:"#334155",border:"#475569",borderLight:"#64748b",text:"#f1f5f9",textSecondary:"#cbd5e1",textMuted:"#94a3b8",success:"#22c55e",successBg:"#14532d",error:"#ef4444",errorBg:"#7f1d1d",warning:"#fbbf24",warningBg:"#78350f",skip:"#475569",skipBg:"#334155",buttonPrimary:"#3b82f6",buttonPrimaryText:"#ffffff",buttonSecondary:"#334155",buttonSecondaryText:"#f1f5f9",buttonBorder:"#475569",spacingXs:"4px",spacingSm:"6px",spacingMd:"8px",spacingLg:"12px",spacingXl:"14px",fontSizeXs:"10px",fontSizeSm:"12px",fontSizeMd:"14px",fontSizeLg:"16px",fontWeightNormal:"400",fontWeightMedium:"500",fontWeightBold:"700",sidebarWidth:"320px",borderRadius:"8px",borderRadiusLg:"6px",shadow:"2px 0 8px rgba(0,0,0,0.3)",shadowSm:"0 2px 4px rgba(0, 0, 0, 0.2)",zIndexSidebar:"1000",zIndexSticky:"1000",animationDuration:"0.2s",iconColor:"#f1f5f9",iconColorSecondary:"#cbd5e1"};function hh(e={}){const t={...bf,...e};return Object.entries(t).map(([r,n])=>`${`--twd-${r.replace(/([A-Z])/g,"-$1").toLowerCase()}`}: ${n};`).join(`
8
+ `)}function vf(e){const t="twd-theme-variables";let r=document.getElementById(t);r||(r=document.createElement("style"),r.id=t,document.head.appendChild(r));const n=hh(e);r.textContent=`
9
+ :root {
10
+ ${n}
11
+ }
12
+ `}const bh=e=>{const{Component:t,createRoot:r,theme:n}=e;vf(n);const o=document.createElement("div");o.setAttribute("id","twd-sidebar-root"),document.body.appendChild(o),r(o).render(t)},vh=async(e,t,r,n)=>{for(const o in e)await e[o]();bh({Component:t,createRoot:r,theme:n})};function z(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 ve(e){var t;if(yh(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 ${gh(e)}`)}function yh(e){return e.nodeType===9}function gh(e){return typeof e=="function"?`function ${e.name}`:e===null?"null":String(e)}function yf(e,t){return new Promise((r,n)=>{const o=new t;o.onerror=n,o.onabort=n,o.onload=()=>{r(String(o.result))},o.readAsText(e)})}function us(e,t){const 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 Xe(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class gf{getAsFile(){return this.file}getAsString(t){typeof this.data=="string"&&t(this.data)}webkitGetAsEntry(){throw new Error("not implemented")}constructor(t,r){Xe(this,"kind",void 0),Xe(this,"type",void 0),Xe(this,"file",null),Xe(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)}}class wh extends Array{add(...t){const r=new gf(t[0],t[1]);return this.push(r),r}clear(){this.splice(0,this.length)}remove(t){this.splice(t,1)}}function Ho(e,t){const[r,n]=e.split("/"),o=!n||n==="*";return a=>t?a.type===(o?r:e):o?a.type.startsWith(`${r}/`):a.type===r}function Rh(e){return new class{getData(r){var n;const o=(n=this.items.find(Ho(r,!0)))!==null&&n!==void 0?n:this.items.find(Ho(r,!1));let a="";return o?.getAsString(i=>{a=i}),a}setData(r,n){const o=this.items.findIndex(Ho(r,!0)),a=new gf(n,r);o>=0?this.items.splice(o,1,a):this.items.push(a)}clearData(r){if(r){const n=this.items.findIndex(Ho(r,!0));n>=0&&this.items.remove(n)}else this.items.clear()}get types(){const r=[];return this.files.length&&r.push("Files"),this.items.forEach(n=>r.push(n.type)),Object.freeze(r),r}setDragImage(){}constructor(){Xe(this,"dropEffect","none"),Xe(this,"effectAllowed","uninitialized"),Xe(this,"items",new wh),Xe(this,"files",us(e,[]))}}}function cs(e,t=[]){const r=typeof e.DataTransfer>"u"?Rh(e):new e.DataTransfer;return Object.defineProperty(r,"files",{get:()=>us(e,t)}),r}async function Eh(e,t){return t.kind==="file"?t.getAsFile():new e.Blob([await new Promise(r=>t.getAsString(r))],{type:t.type})}function wf(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Rf(e,...t){const 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){const a=await this.data[o];if(!a)throw new Error(`${o} is not one of the available MIME types on this item.`);return a instanceof e.Blob?a:new e.Blob([a],{type:o})}constructor(o){wf(this,"data",void 0),this.data=o}}(r)}const Rt=Symbol("Manage ClipboardSub");function ks(e,t){return Object.assign(new class extends e.EventTarget{async read(){return Array.from(this.items)}async readText(){let n="";for(const o of this.items){const a=o.types.includes("text/plain")?"text/plain":o.types.find(i=>i.startsWith("text/"));a&&(n+=await o.getType(a).then(i=>yf(i,e.FileReader)))}return n}async write(n){this.items=n}async writeText(n){this.items=[Rf(e,n)]}constructor(...n){super(...n),wf(this,"items",[])}},{[Rt]:t})}function ds(e){return!!e?.[Rt]}function xh(e){if(ds(e.navigator.clipboard))return e.navigator.clipboard[Rt];const t=Object.getOwnPropertyDescriptor(e.navigator,"clipboard");let r;const n={resetClipboardStub:()=>{r=ks(e,n)},detachClipboardStub:()=>{t?Object.defineProperty(e.navigator,"clipboard",t):Object.defineProperty(e.navigator,"clipboard",{value:void 0,configurable:!0})}};return r=ks(e,n),Object.defineProperty(e.navigator,"clipboard",{get:()=>r,configurable:!0}),r[Rt]}function Ch(e){ds(e.navigator.clipboard)&&e.navigator.clipboard[Rt].resetClipboardStub()}function qh(e){ds(e.navigator.clipboard)&&e.navigator.clipboard[Rt].detachClipboardStub()}async function _h(e){const t=e.defaultView,r=t?.navigator.clipboard,n=r&&await r.read();if(!n)throw new Error("The Clipboard API is unavailable.");const o=cs(t);for(const a of n)for(const i of a.types)o.setData(i,await a.getType(i).then(s=>yf(s,t.FileReader)));return o}async function Ef(e,t){const r=ve(e),n=r.navigator.clipboard,o=[];for(let i=0;i<t.items.length;i++){const s=t.items[i],l=await Eh(r,s);o.push(Rf(r,l))}if(!(n&&await n.write(o).then(()=>!0,()=>!1)))throw new Error("The Clipboard API is unavailable.")}const pa=globalThis;typeof pa.afterEach=="function"&&pa.afterEach(()=>Ch(globalThis.window));typeof pa.afterAll=="function"&&pa.afterAll(()=>qh(globalThis.window));const xf=["input:not([type=hidden]):not([disabled])","button:not([disabled])","select:not([disabled])","textarea:not([disabled])",'[contenteditable=""]','[contenteditable="true"]',"a[href]","[tabindex]:not([disabled])"].join(", ");function fs(e){return e.matches(xf)}function Ph(e){return new e.constructor(e.type,e)}function Fe(e){for(let r=e;r;r=r.parentElement)if(z(r,["button","input","select","textarea","optgroup","option"])){if(r.hasAttribute("disabled"))return!0}else if(z(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 Lo(e){const t=e.activeElement;return t?.shadowRoot?Lo(t.shadowRoot):Fe(t)?e.ownerDocument?e.ownerDocument.body:e.body:t}function Fa(e){var t;return(t=Lo(e))!==null&&t!==void 0?t:e.body}function Th(e,t){let r=e;do{if(t(r))return r;r=r.parentElement}while(r&&r!==e.ownerDocument.body)}function dt(e){return e.hasAttribute("contenteditable")&&(e.getAttribute("contenteditable")=="true"||e.getAttribute("contenteditable")=="")}function So(e){const t=Sh(e);return t&&(t.closest('[contenteditable=""]')||t.closest('[contenteditable="true"]'))}function Sh(e){return e.nodeType===1?e:e.parentElement}var Cf=(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})(Cf||{});function qf(e){return z(e,"button")||z(e,"input")&&e.type in Cf}function Et(e){return Pf(e)&&!e.readOnly||dt(e)}var _f=(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})(_f||{});function Pf(e){return z(e,"textarea")||z(e,"input")&&e.type in _f}function Pe(e){return Tf(e)&&Pf(e)}function Ah(e){return Tf(e)&&qf(e)}function Tf(e){return e.nodeType===1}function Mh(e){const t=e.ownerDocument.getSelection();if(t?.focusNode&&Pe(e)){const n=So(t.focusNode);if(n){if(!t.isCollapsed){var r;const 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)}}var Ce={},ea={exports:{}};ea.exports;var js;function Sf(){return js||(js=1,(function(e){const r=(a=0)=>i=>`\x1B[${38+a};5;${i}m`,n=(a=0)=>(i,s,l)=>`\x1B[${38+a};2;${i};${s};${l}m`;function o(){const a=new Map,i={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]}};i.color.gray=i.color.blackBright,i.bgColor.bgGray=i.bgColor.bgBlackBright,i.color.grey=i.color.blackBright,i.bgColor.bgGrey=i.bgColor.bgBlackBright;for(const[s,l]of Object.entries(i)){for(const[u,d]of Object.entries(l))i[u]={open:`\x1B[${d[0]}m`,close:`\x1B[${d[1]}m`},l[u]=i[u],a.set(d[0],d[1]);Object.defineProperty(i,s,{value:l,enumerable:!1})}return Object.defineProperty(i,"codes",{value:a,enumerable:!1}),i.color.close="\x1B[39m",i.bgColor.close="\x1B[49m",i.color.ansi256=r(),i.color.ansi16m=n(),i.bgColor.ansi256=r(10),i.bgColor.ansi16m=n(10),Object.defineProperties(i,{rgbToAnsi256:{value:(s,l,u)=>s===l&&l===u?s<8?16:s>248?231:Math.round((s-8)/247*24)+232:16+36*Math.round(s/255*5)+6*Math.round(l/255*5)+Math.round(u/255*5),enumerable:!1},hexToRgb:{value:s=>{const l=/(?<colorString>[a-f\d]{6}|[a-f\d]{3})/i.exec(s.toString(16));if(!l)return[0,0,0];let{colorString:u}=l.groups;u.length===3&&(u=u.split("").map(f=>f+f).join(""));const d=Number.parseInt(u,16);return[d>>16&255,d>>8&255,d&255]},enumerable:!1},hexToAnsi256:{value:s=>i.rgbToAnsi256(...i.hexToRgb(s)),enumerable:!1}}),i}Object.defineProperty(e,"exports",{enumerable:!0,get:o})})(ea)),ea.exports}var ot={},Ds;function Ia(){if(Ds)return ot;Ds=1,Object.defineProperty(ot,"__esModule",{value:!0}),ot.printIteratorEntries=t,ot.printIteratorValues=r,ot.printListItems=n,ot.printObjectProperties=o;const e=(a,i)=>{const s=Object.keys(a).sort(i);return Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(a).forEach(l=>{Object.getOwnPropertyDescriptor(a,l).enumerable&&s.push(l)}),s};function t(a,i,s,l,u,d,f=": "){let c="",h=a.next();if(!h.done){c+=i.spacingOuter;const v=s+i.indent;for(;!h.done;){const w=d(h.value[0],i,v,l,u),S=d(h.value[1],i,v,l,u);c+=v+w+f+S,h=a.next(),h.done?i.min||(c+=","):c+=","+i.spacingInner}c+=i.spacingOuter+s}return c}function r(a,i,s,l,u,d){let f="",c=a.next();if(!c.done){f+=i.spacingOuter;const h=s+i.indent;for(;!c.done;)f+=h+d(c.value,i,h,l,u),c=a.next(),c.done?i.min||(f+=","):f+=","+i.spacingInner;f+=i.spacingOuter+s}return f}function n(a,i,s,l,u,d){let f="";if(a.length){f+=i.spacingOuter;const c=s+i.indent;for(let h=0;h<a.length;h++)f+=c,h in a&&(f+=d(a[h],i,c,l,u)),h<a.length-1?f+=","+i.spacingInner:i.min||(f+=",");f+=i.spacingOuter+s}return f}function o(a,i,s,l,u,d){let f="";const c=e(a,i.compareKeys);if(c.length){f+=i.spacingOuter;const h=s+i.indent;for(let v=0;v<c.length;v++){const w=c[v],S=d(w,i,h,l,u),p=d(a[w],i,h,l,u);f+=h+S+": "+p,v<c.length-1?f+=","+i.spacingInner:i.min||(f+=",")}f+=i.spacingOuter+s}return f}return ot}var Ae={},$s;function Oh(){if($s)return Ae;$s=1,Object.defineProperty(Ae,"__esModule",{value:!0}),Ae.test=Ae.serialize=Ae.default=void 0;var e=Ia(),t=(function(){return typeof globalThis<"u"?globalThis:typeof t<"u"?t:typeof self<"u"?self:typeof window<"u"?window:Function("return this")()})(),r=t["jest-symbol-do-not-touch"]||t.Symbol;const n=typeof r=="function"&&r.for?r.for("jest.asymmetricMatcher"):1267621,o=" ",a=(u,d,f,c,h,v)=>{const w=u.toString();return w==="ArrayContaining"||w==="ArrayNotContaining"?++c>d.maxDepth?"["+w+"]":w+o+"["+(0,e.printListItems)(u.sample,d,f,c,h,v)+"]":w==="ObjectContaining"||w==="ObjectNotContaining"?++c>d.maxDepth?"["+w+"]":w+o+"{"+(0,e.printObjectProperties)(u.sample,d,f,c,h,v)+"}":w==="StringMatching"||w==="StringNotMatching"||w==="StringContaining"||w==="StringNotContaining"?w+o+v(u.sample,d,f,c,h):u.toAsymmetricMatcher()};Ae.serialize=a;const i=u=>u&&u.$$typeof===n;Ae.test=i;var l={serialize:a,test:i};return Ae.default=l,Ae}var Me={},Ua,Bs;function Ih(){return Bs||(Bs=1,Ua=({onlyFirst:e=!1}={})=>{const t=["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)","(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))"].join("|");return new RegExp(t,e?void 0:"g")}),Ua}var Ls;function Nh(){if(Ls)return Me;Ls=1,Object.defineProperty(Me,"__esModule",{value:!0}),Me.test=Me.serialize=Me.default=void 0;var e=r(Ih()),t=r(Sf());function r(l){return l&&l.__esModule?l:{default:l}}const n=l=>l.replace((0,e.default)(),u=>{switch(u){case t.default.red.close:case t.default.green.close:case t.default.cyan.close:case t.default.gray.close:case t.default.white.close:case t.default.yellow.close:case t.default.bgRed.close:case t.default.bgGreen.close:case t.default.bgYellow.close:case t.default.inverse.close:case t.default.dim.close:case t.default.bold.close:case t.default.reset.open:case t.default.reset.close:return"</>";case t.default.red.open:return"<red>";case t.default.green.open:return"<green>";case t.default.cyan.open:return"<cyan>";case t.default.gray.open:return"<gray>";case t.default.white.open:return"<white>";case t.default.yellow.open:return"<yellow>";case t.default.bgRed.open:return"<bgRed>";case t.default.bgGreen.open:return"<bgGreen>";case t.default.bgYellow.open:return"<bgYellow>";case t.default.inverse.open:return"<inverse>";case t.default.dim.open:return"<dim>";case t.default.bold.open:return"<bold>";default:return""}}),o=l=>typeof l=="string"&&!!l.match((0,e.default)());Me.test=o;const a=(l,u,d,f,c,h)=>h(n(l),u,d,f,c);Me.serialize=a;var s={serialize:a,test:o};return Me.default=s,Me}var Oe={},Fs;function kh(){if(Fs)return Oe;Fs=1,Object.defineProperty(Oe,"__esModule",{value:!0}),Oe.test=Oe.serialize=Oe.default=void 0;var e=Ia();const t=" ",r=["DOMStringMap","NamedNodeMap"],n=/^(HTML\w*Collection|NodeList)$/,o=d=>r.indexOf(d)!==-1||n.test(d),a=d=>d&&d.constructor&&!!d.constructor.name&&o(d.constructor.name);Oe.test=a;const i=d=>d.constructor.name==="NamedNodeMap",s=(d,f,c,h,v,w)=>{const S=d.constructor.name;return++h>f.maxDepth?"["+S+"]":(f.min?"":S+t)+(r.indexOf(S)!==-1?"{"+(0,e.printObjectProperties)(i(d)?Array.from(d).reduce((p,q)=>(p[q.name]=q.value,p),{}):{...d},f,c,h,v,w)+"}":"["+(0,e.printListItems)(Array.from(d),f,c,h,v,w)+"]")};Oe.serialize=s;var u={serialize:s,test:a};return Oe.default=u,Oe}var Ie={},ce={},Wo={},Us;function jh(){if(Us)return Wo;Us=1,Object.defineProperty(Wo,"__esModule",{value:!0}),Wo.default=e;function e(t){return t.replace(/</g,"&lt;").replace(/>/g,"&gt;")}return Wo}var zs;function ps(){if(zs)return ce;zs=1,Object.defineProperty(ce,"__esModule",{value:!0}),ce.printText=ce.printProps=ce.printElementAsLeaf=ce.printElement=ce.printComment=ce.printChildren=void 0;var e=t(jh());function t(l){return l&&l.__esModule?l:{default:l}}const r=(l,u,d,f,c,h,v)=>{const w=f+d.indent,S=d.colors;return l.map(p=>{const q=u[p];let _=v(q,d,w,c,h);return typeof q!="string"&&(_.indexOf(`
13
+ `)!==-1&&(_=d.spacingOuter+w+_+d.spacingOuter+f),_="{"+_+"}"),d.spacingInner+f+S.prop.open+p+S.prop.close+"="+S.value.open+_+S.value.close}).join("")};ce.printProps=r;const n=(l,u,d,f,c,h)=>l.map(v=>u.spacingOuter+d+(typeof v=="string"?o(v,u):h(v,u,d,f,c))).join("");ce.printChildren=n;const o=(l,u)=>{const d=u.colors.content;return d.open+(0,e.default)(l)+d.close};ce.printText=o;const a=(l,u)=>{const d=u.colors.comment;return d.open+"<!--"+(0,e.default)(l)+"-->"+d.close};ce.printComment=a;const i=(l,u,d,f,c)=>{const h=f.colors.tag;return h.open+"<"+l+(u&&h.close+u+f.spacingOuter+c+h.open)+(d?">"+h.close+d+f.spacingOuter+c+h.open+"</"+l:(u&&!f.min?"":" ")+"/")+">"+h.close};ce.printElement=i;const s=(l,u)=>{const d=u.colors.tag;return d.open+"<"+l+d.close+" …"+d.open+" />"+d.close};return ce.printElementAsLeaf=s,ce}var Vs;function Dh(){if(Vs)return Ie;Vs=1,Object.defineProperty(Ie,"__esModule",{value:!0}),Ie.test=Ie.serialize=Ie.default=void 0;var e=ps();const t=1,r=3,n=8,o=11,a=/^((HTML|SVG)\w*)?Element$/,i=w=>{try{return typeof w.hasAttribute=="function"&&w.hasAttribute("is")}catch{return!1}},s=w=>{const S=w.constructor.name,{nodeType:p,tagName:q}=w,_=typeof q=="string"&&q.includes("-")||i(w);return p===t&&(a.test(S)||_)||p===r&&S==="Text"||p===n&&S==="Comment"||p===o&&S==="DocumentFragment"},l=w=>{var S;return(w==null||(S=w.constructor)===null||S===void 0?void 0:S.name)&&s(w)};Ie.test=l;function u(w){return w.nodeType===r}function d(w){return w.nodeType===n}function f(w){return w.nodeType===o}const c=(w,S,p,q,_,T)=>{if(u(w))return(0,e.printText)(w.data,S);if(d(w))return(0,e.printComment)(w.data,S);const P=f(w)?"DocumentFragment":w.tagName.toLowerCase();return++q>S.maxDepth?(0,e.printElementAsLeaf)(P,S):(0,e.printElement)(P,(0,e.printProps)(f(w)?[]:Array.from(w.attributes).map(y=>y.name).sort(),f(w)?{}:Array.from(w.attributes).reduce((y,g)=>(y[g.name]=g.value,y),{}),S,p+S.indent,q,_,T),(0,e.printChildren)(Array.prototype.slice.call(w.childNodes||w.children),S,p+S.indent,q,_,T),S,p)};Ie.serialize=c;var v={serialize:c,test:l};return Ie.default=v,Ie}var Ne={},Hs;function $h(){if(Hs)return Ne;Hs=1,Object.defineProperty(Ne,"__esModule",{value:!0}),Ne.test=Ne.serialize=Ne.default=void 0;var e=Ia();const t="@@__IMMUTABLE_ITERABLE__@@",r="@@__IMMUTABLE_LIST__@@",n="@@__IMMUTABLE_KEYED__@@",o="@@__IMMUTABLE_MAP__@@",a="@@__IMMUTABLE_ORDERED__@@",i="@@__IMMUTABLE_RECORD__@@",s="@@__IMMUTABLE_SEQ__@@",l="@@__IMMUTABLE_SET__@@",u="@@__IMMUTABLE_STACK__@@",d=g=>"Immutable."+g,f=g=>"["+g+"]",c=" ",h="…",v=(g,E,M,N,j,D,A)=>++N>E.maxDepth?f(d(A)):d(A)+c+"{"+(0,e.printIteratorEntries)(g.entries(),E,M,N,j,D)+"}";function w(g){let E=0;return{next(){if(E<g._keys.length){const M=g._keys[E++];return{done:!1,value:[M,g.get(M)]}}return{done:!0,value:void 0}}}}const S=(g,E,M,N,j,D)=>{const A=d(g._name||"Record");return++N>E.maxDepth?f(A):A+c+"{"+(0,e.printIteratorEntries)(w(g),E,M,N,j,D)+"}"},p=(g,E,M,N,j,D)=>{const A=d("Seq");return++N>E.maxDepth?f(A):g[n]?A+c+"{"+(g._iter||g._object?(0,e.printIteratorEntries)(g.entries(),E,M,N,j,D):h)+"}":A+c+"["+(g._iter||g._array||g._collection||g._iterable?(0,e.printIteratorValues)(g.values(),E,M,N,j,D):h)+"]"},q=(g,E,M,N,j,D,A)=>++N>E.maxDepth?f(d(A)):d(A)+c+"["+(0,e.printIteratorValues)(g.values(),E,M,N,j,D)+"]",_=(g,E,M,N,j,D)=>g[o]?v(g,E,M,N,j,D,g[a]?"OrderedMap":"Map"):g[r]?q(g,E,M,N,j,D,"List"):g[l]?q(g,E,M,N,j,D,g[a]?"OrderedSet":"Set"):g[u]?q(g,E,M,N,j,D,"Stack"):g[s]?p(g,E,M,N,j,D):S(g,E,M,N,j,D);Ne.serialize=_;const T=g=>g&&(g[t]===!0||g[i]===!0);Ne.test=T;var y={serialize:_,test:T};return Ne.default=y,Ne}var ke={},Go={exports:{}},X={};var Ws;function Bh(){if(Ws)return X;Ws=1;var e=60103,t=60106,r=60107,n=60108,o=60114,a=60109,i=60110,s=60112,l=60113,u=60120,d=60115,f=60116,c=60121,h=60122,v=60117,w=60129,S=60131;if(typeof Symbol=="function"&&Symbol.for){var p=Symbol.for;e=p("react.element"),t=p("react.portal"),r=p("react.fragment"),n=p("react.strict_mode"),o=p("react.profiler"),a=p("react.provider"),i=p("react.context"),s=p("react.forward_ref"),l=p("react.suspense"),u=p("react.suspense_list"),d=p("react.memo"),f=p("react.lazy"),c=p("react.block"),h=p("react.server.block"),v=p("react.fundamental"),w=p("react.debug_trace_mode"),S=p("react.legacy_hidden")}function q(A){if(typeof A=="object"&&A!==null){var k=A.$$typeof;switch(k){case e:switch(A=A.type,A){case r:case o:case n:case l:case u:return A;default:switch(A=A&&A.$$typeof,A){case i:case s:case f:case d:case a:return A;default:return k}}case t:return k}}}var _=a,T=e,P=s,y=r,g=f,E=d,M=t,N=o,j=n,D=l;return X.ContextConsumer=i,X.ContextProvider=_,X.Element=T,X.ForwardRef=P,X.Fragment=y,X.Lazy=g,X.Memo=E,X.Portal=M,X.Profiler=N,X.StrictMode=j,X.Suspense=D,X.isAsyncMode=function(){return!1},X.isConcurrentMode=function(){return!1},X.isContextConsumer=function(A){return q(A)===i},X.isContextProvider=function(A){return q(A)===a},X.isElement=function(A){return typeof A=="object"&&A!==null&&A.$$typeof===e},X.isForwardRef=function(A){return q(A)===s},X.isFragment=function(A){return q(A)===r},X.isLazy=function(A){return q(A)===f},X.isMemo=function(A){return q(A)===d},X.isPortal=function(A){return q(A)===t},X.isProfiler=function(A){return q(A)===o},X.isStrictMode=function(A){return q(A)===n},X.isSuspense=function(A){return q(A)===l},X.isValidElementType=function(A){return typeof A=="string"||typeof A=="function"||A===r||A===o||A===w||A===n||A===l||A===u||A===S||typeof A=="object"&&A!==null&&(A.$$typeof===f||A.$$typeof===d||A.$$typeof===a||A.$$typeof===i||A.$$typeof===s||A.$$typeof===v||A.$$typeof===c||A[0]===h)},X.typeOf=q,X}var J={};var Gs;function Lh(){return Gs||(Gs=1,process.env.NODE_ENV!=="production"&&(function(){var e=60103,t=60106,r=60107,n=60108,o=60114,a=60109,i=60110,s=60112,l=60113,u=60120,d=60115,f=60116,c=60121,h=60122,v=60117,w=60129,S=60131;if(typeof Symbol=="function"&&Symbol.for){var p=Symbol.for;e=p("react.element"),t=p("react.portal"),r=p("react.fragment"),n=p("react.strict_mode"),o=p("react.profiler"),a=p("react.provider"),i=p("react.context"),s=p("react.forward_ref"),l=p("react.suspense"),u=p("react.suspense_list"),d=p("react.memo"),f=p("react.lazy"),c=p("react.block"),h=p("react.server.block"),v=p("react.fundamental"),p("react.scope"),p("react.opaque.id"),w=p("react.debug_trace_mode"),p("react.offscreen"),S=p("react.legacy_hidden")}var q=!1;function _(O){return!!(typeof O=="string"||typeof O=="function"||O===r||O===o||O===w||O===n||O===l||O===u||O===S||q||typeof O=="object"&&O!==null&&(O.$$typeof===f||O.$$typeof===d||O.$$typeof===a||O.$$typeof===i||O.$$typeof===s||O.$$typeof===v||O.$$typeof===c||O[0]===h))}function T(O){if(typeof O=="object"&&O!==null){var W=O.$$typeof;switch(W){case e:var V=O.type;switch(V){case r:case o:case n:case l:case u:return V;default:var re=V&&V.$$typeof;switch(re){case i:case s:case f:case d:case a:return re;default:return W}}case t:return W}}}var P=i,y=a,g=e,E=s,M=r,N=f,j=d,D=t,A=o,k=n,F=l,Z=!1,Y=!1;function le(O){return Z||(Z=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")),!1}function ye(O){return Y||(Y=!0,console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")),!1}function rt(O){return T(O)===i}function Ve(O){return T(O)===a}function He(O){return typeof O=="object"&&O!==null&&O.$$typeof===e}function L(O){return T(O)===s}function We(O){return T(O)===r}function nt(O){return T(O)===f}function ge(O){return T(O)===d}function At(O){return T(O)===t}function Mt(O){return T(O)===o}function C(O){return T(O)===n}function $(O){return T(O)===l}J.ContextConsumer=P,J.ContextProvider=y,J.Element=g,J.ForwardRef=E,J.Fragment=M,J.Lazy=N,J.Memo=j,J.Portal=D,J.Profiler=A,J.StrictMode=k,J.Suspense=F,J.isAsyncMode=le,J.isConcurrentMode=ye,J.isContextConsumer=rt,J.isContextProvider=Ve,J.isElement=He,J.isForwardRef=L,J.isFragment=We,J.isLazy=nt,J.isMemo=ge,J.isPortal=At,J.isProfiler=Mt,J.isStrictMode=C,J.isSuspense=$,J.isValidElementType=_,J.typeOf=T})()),J}var Ks;function Fh(){return Ks||(Ks=1,process.env.NODE_ENV==="production"?Go.exports=Bh():Go.exports=Lh()),Go.exports}var Ys;function Uh(){if(Ys)return ke;Ys=1,Object.defineProperty(ke,"__esModule",{value:!0}),ke.test=ke.serialize=ke.default=void 0;var e=n(Fh()),t=ps();function r(f){if(typeof WeakMap!="function")return null;var c=new WeakMap,h=new WeakMap;return(r=function(v){return v?h:c})(f)}function n(f,c){if(f&&f.__esModule)return f;if(f===null||typeof f!="object"&&typeof f!="function")return{default:f};var h=r(c);if(h&&h.has(f))return h.get(f);var v={},w=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var S in f)if(S!=="default"&&Object.prototype.hasOwnProperty.call(f,S)){var p=w?Object.getOwnPropertyDescriptor(f,S):null;p&&(p.get||p.set)?Object.defineProperty(v,S,p):v[S]=f[S]}return v.default=f,h&&h.set(f,v),v}const o=(f,c=[])=>(Array.isArray(f)?f.forEach(h=>{o(h,c)}):f!=null&&f!==!1&&c.push(f),c),a=f=>{const c=f.type;if(typeof c=="string")return c;if(typeof c=="function")return c.displayName||c.name||"Unknown";if(e.isFragment(f))return"React.Fragment";if(e.isSuspense(f))return"React.Suspense";if(typeof c=="object"&&c!==null){if(e.isContextProvider(f))return"Context.Provider";if(e.isContextConsumer(f))return"Context.Consumer";if(e.isForwardRef(f)){if(c.displayName)return c.displayName;const h=c.render.displayName||c.render.name||"";return h!==""?"ForwardRef("+h+")":"ForwardRef"}if(e.isMemo(f)){const h=c.displayName||c.type.displayName||c.type.name||"";return h!==""?"Memo("+h+")":"Memo"}}return"UNDEFINED"},i=f=>{const{props:c}=f;return Object.keys(c).filter(h=>h!=="children"&&c[h]!==void 0).sort()},s=(f,c,h,v,w,S)=>++v>c.maxDepth?(0,t.printElementAsLeaf)(a(f),c):(0,t.printElement)(a(f),(0,t.printProps)(i(f),f.props,c,h+c.indent,v,w,S),(0,t.printChildren)(o(f.props.children),c,h+c.indent,v,w,S),c,h);ke.serialize=s;const l=f=>f!=null&&e.isElement(f);ke.test=l;var d={serialize:s,test:l};return ke.default=d,ke}var je={},Xs;function zh(){if(Xs)return je;Xs=1,Object.defineProperty(je,"__esModule",{value:!0}),je.test=je.serialize=je.default=void 0;var e=ps(),t=(function(){return typeof globalThis<"u"?globalThis:typeof t<"u"?t:typeof self<"u"?self:typeof window<"u"?window:Function("return this")()})(),r=t["jest-symbol-do-not-touch"]||t.Symbol;const n=typeof r=="function"&&r.for?r.for("react.test.json"):245830487,o=u=>{const{props:d}=u;return d?Object.keys(d).filter(f=>d[f]!==void 0).sort():[]},a=(u,d,f,c,h,v)=>++c>d.maxDepth?(0,e.printElementAsLeaf)(u.type,d):(0,e.printElement)(u.type,u.props?(0,e.printProps)(o(u),u.props,d,f+d.indent,c,h,v):"",u.children?(0,e.printChildren)(u.children,d,f+d.indent,c,h,v):"",d,f);je.serialize=a;const i=u=>u&&u.$$typeof===n;je.test=i;var l={serialize:a,test:i};return je.default=l,je}var Js;function Vh(){if(Js)return Ce;Js=1,Object.defineProperty(Ce,"__esModule",{value:!0}),Ce.default=Ce.DEFAULT_OPTIONS=void 0,Ce.format=ge,Ce.plugins=void 0;var e=u(Sf()),t=Ia(),r=u(Oh()),n=u(Nh()),o=u(kh()),a=u(Dh()),i=u($h()),s=u(Uh()),l=u(zh());function u(C){return C&&C.__esModule?C:{default:C}}const d=Object.prototype.toString,f=Date.prototype.toISOString,c=Error.prototype.toString,h=RegExp.prototype.toString,v=C=>typeof C.constructor=="function"&&C.constructor.name||"Object",w=C=>typeof window<"u"&&C===window,S=/^Symbol\((.*)\)(.*)$/,p=/\n/gi;class q extends Error{constructor($,O){super($),this.stack=O,this.name=this.constructor.name}}function _(C){return C==="[object Array]"||C==="[object ArrayBuffer]"||C==="[object DataView]"||C==="[object Float32Array]"||C==="[object Float64Array]"||C==="[object Int8Array]"||C==="[object Int16Array]"||C==="[object Int32Array]"||C==="[object Uint8Array]"||C==="[object Uint8ClampedArray]"||C==="[object Uint16Array]"||C==="[object Uint32Array]"}function T(C){return Object.is(C,-0)?"-0":String(C)}function P(C){return`${C}n`}function y(C,$){return $?"[Function "+(C.name||"anonymous")+"]":"[Function]"}function g(C){return String(C).replace(S,"Symbol($1)")}function E(C){return"["+c.call(C)+"]"}function M(C,$,O,W){if(C===!0||C===!1)return""+C;if(C===void 0)return"undefined";if(C===null)return"null";const V=typeof C;if(V==="number")return T(C);if(V==="bigint")return P(C);if(V==="string")return W?'"'+C.replace(/"|\\/g,"\\$&")+'"':'"'+C+'"';if(V==="function")return y(C,$);if(V==="symbol")return g(C);const re=d.call(C);return re==="[object WeakMap]"?"WeakMap {}":re==="[object WeakSet]"?"WeakSet {}":re==="[object Function]"||re==="[object GeneratorFunction]"?y(C,$):re==="[object Symbol]"?g(C):re==="[object Date]"?isNaN(+C)?"Date { NaN }":f.call(C):re==="[object Error]"?E(C):re==="[object RegExp]"?O?h.call(C).replace(/[\\^$*+?.()|[\]{}]/g,"\\$&"):h.call(C):C instanceof Error?E(C):null}function N(C,$,O,W,V,re){if(V.indexOf(C)!==-1)return"[Circular]";V=V.slice(),V.push(C);const oe=++W>$.maxDepth,ue=$.min;if($.callToJSON&&!oe&&C.toJSON&&typeof C.toJSON=="function"&&!re)return k(C.toJSON(),$,O,W,V,!0);const Se=d.call(C);return Se==="[object Arguments]"?oe?"[Arguments]":(ue?"":"Arguments ")+"["+(0,t.printListItems)(C,$,O,W,V,k)+"]":_(Se)?oe?"["+C.constructor.name+"]":(ue||!$.printBasicPrototype&&C.constructor.name==="Array"?"":C.constructor.name+" ")+"["+(0,t.printListItems)(C,$,O,W,V,k)+"]":Se==="[object Map]"?oe?"[Map]":"Map {"+(0,t.printIteratorEntries)(C.entries(),$,O,W,V,k," => ")+"}":Se==="[object Set]"?oe?"[Set]":"Set {"+(0,t.printIteratorValues)(C.values(),$,O,W,V,k)+"}":oe||w(C)?"["+v(C)+"]":(ue||!$.printBasicPrototype&&v(C)==="Object"?"":v(C)+" ")+"{"+(0,t.printObjectProperties)(C,$,O,W,V,k)+"}"}function j(C){return C.serialize!=null}function D(C,$,O,W,V,re){let oe;try{oe=j(C)?C.serialize($,O,W,V,re,k):C.print($,ue=>k(ue,O,W,V,re),ue=>{const Se=W+O.indent;return Se+ue.replace(p,`
14
+ `+Se)},{edgeSpacing:O.spacingOuter,min:O.min,spacing:O.spacingInner},O.colors)}catch(ue){throw new q(ue.message,ue.stack)}if(typeof oe!="string")throw new Error(`pretty-format: Plugin must return type "string" but instead returned "${typeof oe}".`);return oe}function A(C,$){for(let O=0;O<C.length;O++)try{if(C[O].test($))return C[O]}catch(W){throw new q(W.message,W.stack)}return null}function k(C,$,O,W,V,re){const oe=A($.plugins,C);if(oe!==null)return D(oe,C,$,O,W,V);const ue=M(C,$.printFunctionName,$.escapeRegex,$.escapeString);return ue!==null?ue:N(C,$,O,W,V,re)}const F={comment:"gray",content:"reset",prop:"yellow",tag:"cyan",value:"green"},Z=Object.keys(F),Y={callToJSON:!0,compareKeys:void 0,escapeRegex:!1,escapeString:!0,highlight:!1,indent:2,maxDepth:1/0,min:!1,plugins:[],printBasicPrototype:!0,printFunctionName:!0,theme:F};Ce.DEFAULT_OPTIONS=Y;function le(C){if(Object.keys(C).forEach($=>{if(!Y.hasOwnProperty($))throw new Error(`pretty-format: Unknown option "${$}".`)}),C.min&&C.indent!==void 0&&C.indent!==0)throw new Error('pretty-format: Options "min" and "indent" cannot be used together.');if(C.theme!==void 0){if(C.theme===null)throw new Error('pretty-format: Option "theme" must not be null.');if(typeof C.theme!="object")throw new Error(`pretty-format: Option "theme" must be of type "object" but instead received "${typeof C.theme}".`)}}const ye=C=>Z.reduce(($,O)=>{const W=C.theme&&C.theme[O]!==void 0?C.theme[O]:F[O],V=W&&e.default[W];if(V&&typeof V.close=="string"&&typeof V.open=="string")$[O]=V;else throw new Error(`pretty-format: Option "theme" has a key "${O}" whose value "${W}" is undefined in ansi-styles.`);return $},Object.create(null)),rt=()=>Z.reduce((C,$)=>(C[$]={close:"",open:""},C),Object.create(null)),Ve=C=>C&&C.printFunctionName!==void 0?C.printFunctionName:Y.printFunctionName,He=C=>C&&C.escapeRegex!==void 0?C.escapeRegex:Y.escapeRegex,L=C=>C&&C.escapeString!==void 0?C.escapeString:Y.escapeString,We=C=>{var $;return{callToJSON:C&&C.callToJSON!==void 0?C.callToJSON:Y.callToJSON,colors:C&&C.highlight?ye(C):rt(),compareKeys:C&&typeof C.compareKeys=="function"?C.compareKeys:Y.compareKeys,escapeRegex:He(C),escapeString:L(C),indent:C&&C.min?"":nt(C&&C.indent!==void 0?C.indent:Y.indent),maxDepth:C&&C.maxDepth!==void 0?C.maxDepth:Y.maxDepth,min:C&&C.min!==void 0?C.min:Y.min,plugins:C&&C.plugins!==void 0?C.plugins:Y.plugins,printBasicPrototype:($=C?.printBasicPrototype)!==null&&$!==void 0?$:!0,printFunctionName:Ve(C),spacingInner:C&&C.min?" ":`
10
15
  `,spacingOuter:C&&C.min?"":`
11
- `}};function rt(C){return new Array(C+1).join(" ")}function ge(C,$){if($&&(le($),$.plugins)){const W=A($.plugins,C);if(W!==null)return D(W,C,He($),"",0,[])}const O=M(C,ze($),Ve($),L($));return O!==null?O:N(C,He($),"",0,[])}const St={AsymmetricMatcher:r.default,ConvertAnsi:n.default,DOMCollection:o.default,DOMElement:i.default,Immutable:a.default,ReactElement:s.default,ReactTestComponent:l.default};xe.plugins=St;var At=ge;return xe.default=At,xe}var Tf=Lh(),Fh=Object.prototype.toString;function Uh(e){return typeof e=="function"||Fh.call(e)==="[object Function]"}function zh(e){var t=Number(e);return isNaN(t)?0:t===0||!isFinite(t)?t:(t>0?1:-1)*Math.floor(Math.abs(t))}var Vh=Math.pow(2,53)-1;function Hh(e){var t=zh(e);return Math.min(Math.max(t,0),Vh)}function we(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");for(var o=Hh(n.length),i=Uh(r)?Object(new r(o)):new Array(o),a=0,s;a<o;)s=n[a],i[a]=s,a+=1;return i.length=o,i}function So(e){"@babel/helpers - typeof";return So=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},So(e)}function Wh(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Gh(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,Sf(n.key),n)}}function Kh(e,t,r){return t&&Gh(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function Yh(e,t,r){return t=Sf(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Sf(e){var t=Xh(e,"string");return So(t)==="symbol"?t:String(t)}function Xh(e,t){if(So(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(So(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var Jh=(function(){function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];Wh(this,e),Yh(this,"items",void 0),this.items=t}return Kh(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})();const Qh=typeof Set>"u"?Set:Jh;function ae(e){var t;return(t=e.localName)!==null&&t!==void 0?t:e.tagName.toLowerCase()}var Zh={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"},eb={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 tb(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=eb[t])!==null&&n!==void 0&&n.has(r))})}function Af(e,t){return tb(e,t)}function rb(e){var t=ob(e);if(t===null||t==="presentation"){var r=nb(e);if(t!=="presentation"||Af(e,r||""))return r}return t}function nb(e){var t=Zh[ae(e)];if(t!==void 0)return t;switch(ae(e)){case"a":case"area":case"link":if(e.hasAttribute("href"))return"link";break;case"img":return e.getAttribute("alt")===""&&!Af(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 ob(e){var t=e.getAttribute("role");if(t!==null){var r=t.trim().split(" ")[0];if(r.length>0)return r}return null}function ee(e){return e!==null&&e.nodeType===e.ELEMENT_NODE}function Mf(e){return ee(e)&&ae(e)==="caption"}function ei(e){return ee(e)&&ae(e)==="input"}function ib(e){return ee(e)&&ae(e)==="optgroup"}function ab(e){return ee(e)&&ae(e)==="select"}function sb(e){return ee(e)&&ae(e)==="table"}function lb(e){return ee(e)&&ae(e)==="textarea"}function ub(e){var t=e.ownerDocument===null?e:e.ownerDocument,r=t.defaultView;if(r===null)throw new TypeError("no window available");return r}function cb(e){return ee(e)&&ae(e)==="fieldset"}function db(e){return ee(e)&&ae(e)==="legend"}function fb(e){return ee(e)&&ae(e)==="slot"}function pb(e){return ee(e)&&e.ownerSVGElement!==void 0}function mb(e){return ee(e)&&ae(e)==="svg"}function hb(e){return pb(e)&&ae(e)==="title"}function mi(e,t){if(ee(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 De(e,t){return ee(e)?t.indexOf(rb(e))!==-1:!1}function bb(e){return e.trim().replace(/\s\s+/g," ")}function vb(e,t){if(!ee(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 yb(e){return De(e,["button","combobox","listbox","textbox"])||Of(e,"range")}function Of(e,t){if(!ee(e))return!1;if(t==="range")return De(e,["meter","progressbar","scrollbar","slider","spinbutton"]);throw new TypeError("No knowledge about abstract role '".concat(t,"'. This is likely a bug :("))}function Qs(e,t){var r=we(e.querySelectorAll(t));return mi(e,"aria-owns").forEach(function(n){r.push.apply(r,we(n.querySelectorAll(t)))}),r}function gb(e){return ab(e)?e.selectedOptions||Qs(e,"[selected]"):Qs(e,'[aria-selected="true"]')}function Rb(e){return De(e,["none","presentation"])}function wb(e){return Mf(e)}function Eb(e){return De(e,["button","cell","checkbox","columnheader","gridcell","heading","label","legend","link","menuitem","menuitemcheckbox","menuitemradio","option","radio","row","rowheader","switch","tab","tooltip","treeitem"])}function xb(e){return!1}function Cb(e){return ei(e)||lb(e)?e.value:e.textContent||""}function Zs(e){var t=e.getPropertyValue("content");return/^["'].*["']$/.test(t)?t.slice(1,-1):""}function If(e){var t=ae(e);return t==="button"||t==="input"&&e.getAttribute("type")!=="hidden"||t==="meter"||t==="output"||t==="progress"||t==="select"||t==="textarea"}function Nf(e){if(If(e))return e;var t=null;return e.childNodes.forEach(function(r){if(t===null&&ee(r)){var n=Nf(r);n!==null&&(t=n)}}),t}function qb(e){if(e.control!==void 0)return e.control;var t=e.getAttribute("for");return t!==null?e.ownerDocument.getElementById(t):Nf(e)}function _b(e){var t=e.labels;if(t===null)return t;if(t!==void 0)return we(t);if(!If(e))return null;var r=e.ownerDocument;return we(r.querySelectorAll("label")).filter(function(n){return qb(n)===e})}function Pb(e){var t=e.assignedNodes();return t.length===0?we(e.childNodes):t}function kf(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=new Qh,n=ub(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,f=t.hidden,c=f===void 0?!1:f;function d(p,q){var _="";if(ee(p)&&s){var T=u(p,"::before"),P=Zs(T);_="".concat(P," ").concat(_)}var y=fb(p)?Pb(p):we(p.childNodes).concat(mi(p,"aria-owns"));if(y.forEach(function(M){var N=S(M,{isEmbeddedInLabel:q.isEmbeddedInLabel,isReferenced:!1,recursion:!0}),j=ee(M)?u(M).getPropertyValue("display"):"inline",D=j!=="inline"?" ":"";_+="".concat(D).concat(N).concat(D)}),ee(p)&&s){var g=u(p,"::after"),E=Zs(g);_="".concat(_," ").concat(E)}return _.trim()}function b(p,q){var _=p.getAttributeNode(q);return _!==null&&!r.has(_)&&_.value.trim()!==""?(r.add(_),_.value):null}function v(p){return ee(p)?b(p,"title"):null}function R(p){if(!ee(p))return null;if(cb(p)){r.add(p);for(var q=we(p.childNodes),_=0;_<q.length;_+=1){var T=q[_];if(db(T))return S(T,{isEmbeddedInLabel:!1,isReferenced:!1,recursion:!1})}}else if(sb(p)){r.add(p);for(var P=we(p.childNodes),y=0;y<P.length;y+=1){var g=P[y];if(Mf(g))return S(g,{isEmbeddedInLabel:!1,isReferenced:!1,recursion:!1})}}else if(mb(p)){r.add(p);for(var E=we(p.childNodes),M=0;M<E.length;M+=1){var N=E[M];if(hb(N))return N.textContent}return null}else if(ae(p)==="img"||ae(p)==="area"){var j=b(p,"alt");if(j!==null)return j}else if(ib(p)){var D=b(p,"label");if(D!==null)return D}if(ei(p)&&(p.type==="button"||p.type==="submit"||p.type==="reset")){var A=b(p,"value");if(A!==null)return A;if(p.type==="submit")return"Submit";if(p.type==="reset")return"Reset"}var k=_b(p);if(k!==null&&k.length!==0)return r.add(p),we(k).map(function(le){return S(le,{isEmbeddedInLabel:!0,isReferenced:!1,recursion:!0})}).filter(function(le){return le.length>0}).join(" ");if(ei(p)&&p.type==="image"){var F=b(p,"alt");if(F!==null)return F;var Z=b(p,"title");return Z!==null?Z:"Submit Query"}if(De(p,["button"])){var Y=d(p,{isEmbeddedInLabel:!1});if(Y!=="")return Y}return null}function S(p,q){if(r.has(p))return"";if(!c&&vb(p,u)&&!q.isReferenced)return r.add(p),"";var _=ee(p)?p.getAttributeNode("aria-labelledby"):null,T=_!==null&&!r.has(_)?mi(p,"aria-labelledby"):[];if(i==="name"&&!q.isReferenced&&T.length>0)return r.add(_),T.map(function(j){return S(j,{isEmbeddedInLabel:q.isEmbeddedInLabel,isReferenced:!0,recursion:!1})}).join(" ");var P=q.recursion&&yb(p)&&i==="name";if(!P){var y=(ee(p)&&p.getAttribute("aria-label")||"").trim();if(y!==""&&i==="name")return r.add(p),y;if(!Rb(p)){var g=R(p);if(g!==null)return r.add(p),g}}if(De(p,["menu"]))return r.add(p),"";if(P||q.isEmbeddedInLabel||q.isReferenced){if(De(p,["combobox","listbox"])){r.add(p);var E=gb(p);return E.length===0?ei(p)?p.value:"":we(E).map(function(j){return S(j,{isEmbeddedInLabel:q.isEmbeddedInLabel,isReferenced:!1,recursion:!0})}).join(" ")}if(Of(p,"range"))return r.add(p),p.hasAttribute("aria-valuetext")?p.getAttribute("aria-valuetext"):p.hasAttribute("aria-valuenow")?p.getAttribute("aria-valuenow"):p.getAttribute("value")||"";if(De(p,["textbox"]))return r.add(p),Cb(p)}if(Eb(p)||ee(p)&&q.isReferenced||wb(p)||xb()){var M=d(p,{isEmbeddedInLabel:q.isEmbeddedInLabel});if(M!=="")return r.add(p),M}if(p.nodeType===p.TEXT_NODE)return r.add(p),p.textContent||"";if(q.recursion)return r.add(p),d(p,{isEmbeddedInLabel:q.isEmbeddedInLabel});var N=v(p);return N!==null?(r.add(p),N):(r.add(p),"")}return bb(S(e,{isEmbeddedInLabel:!1,isReferenced:i==="description",recursion:!1}))}function Ao(e){"@babel/helpers - typeof";return Ao=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},Ao(e)}function el(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 tl(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?el(Object(r),!0).forEach(function(n){Tb(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):el(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function Tb(e,t,r){return t=Sb(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Sb(e){var t=Ab(e,"string");return Ao(t)==="symbol"?t:String(t)}function Ab(e,t){if(Ao(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(Ao(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function jf(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=mi(e,"aria-describedby").map(function(o){return kf(o,tl(tl({},t),{},{compute:"description"}))}).join(" ");if(r===""){var n=e.getAttribute("title");r=n===null?"":n}return r}function Mb(e){return De(e,["caption","code","deletion","emphasis","generic","insertion","paragraph","presentation","strong","subscript","superscript"])}function ms(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return Mb(e)?"":kf(e,t)}var de={},Mt={},Go={},Ot={},rl;function Ob(){if(rl)return Ot;rl=1,Object.defineProperty(Ot,"__esModule",{value:!0}),Ot.default=void 0;function e(){var r=this,n=0,o={"@@iterator":function(){return o},next:function(){if(n<r.length){var a=r[n];return n=n+1,{done:!1,value:a}}else return{done:!0}}};return o}var t=e;return Ot.default=t,Ot}var nl;function Lo(){if(nl)return Go;nl=1,Object.defineProperty(Go,"__esModule",{value:!0}),Go.default=n;var e=t(Ob());function t(o){return o&&o.__esModule?o:{default:o}}function r(o){"@babel/helpers - typeof";return r=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},r(o)}function n(o,i){return typeof Symbol=="function"&&r(Symbol.iterator)==="symbol"&&Object.defineProperty(o,Symbol.iterator,{value:e.default.bind(i)}),o}return Go}var ol;function Ib(){if(ol)return Mt;ol=1,Object.defineProperty(Mt,"__esModule",{value:!0}),Mt.default=void 0;var e=t(Lo());function t(d){return d&&d.__esModule?d:{default:d}}function r(d,b){return i(d)||o(d,b)||s(d,b)||n()}function n(){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 o(d,b){var v=d==null?null:typeof Symbol<"u"&&d[Symbol.iterator]||d["@@iterator"];if(v!=null){var R=[],S=!0,p=!1,q,_;try{for(v=v.call(d);!(S=(q=v.next()).done)&&(R.push(q.value),!(b&&R.length===b));S=!0);}catch(T){p=!0,_=T}finally{try{!S&&v.return!=null&&v.return()}finally{if(p)throw _}}return R}}function i(d){if(Array.isArray(d))return d}function a(d,b){var v=typeof Symbol<"u"&&d[Symbol.iterator]||d["@@iterator"];if(!v){if(Array.isArray(d)||(v=s(d))||b){v&&(d=v);var R=0,S=function(){};return{s:S,n:function(){return R>=d.length?{done:!0}:{done:!1,value:d[R++]}},e:function(P){throw P},f:S}}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 p=!0,q=!1,_;return{s:function(){v=v.call(d)},n:function(){var P=v.next();return p=P.done,P},e:function(P){q=!0,_=P},f:function(){try{!p&&v.return!=null&&v.return()}finally{if(q)throw _}}}}function s(d,b){if(d){if(typeof d=="string")return l(d,b);var v=Object.prototype.toString.call(d).slice(8,-1);if(v==="Object"&&d.constructor&&(v=d.constructor.name),v==="Map"||v==="Set")return Array.from(d);if(v==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(v))return l(d,b)}}function l(d,b){(b==null||b>d.length)&&(b=d.length);for(var v=0,R=new Array(b);v<b;v++)R[v]=d[v];return R}var u=[["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"}]],f={entries:function(){return u},forEach:function(b){var v=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,R=a(u),S;try{for(R.s();!(S=R.n()).done;){var p=r(S.value,2),q=p[0],_=p[1];b.call(v,_,q,u)}}catch(T){R.e(T)}finally{R.f()}},get:function(b){var v=u.find(function(R){return R[0]===b});return v&&v[1]},has:function(b){return!!f.get(b)},keys:function(){return u.map(function(b){var v=r(b,1),R=v[0];return R})},values:function(){return u.map(function(b){var v=r(b,2),R=v[1];return R})}},c=(0,e.default)(f,f.entries());return Mt.default=c,Mt}var It={},il;function Nb(){if(il)return It;il=1,Object.defineProperty(It,"__esModule",{value:!0}),It.default=void 0;var e=t(Lo());function t(d){return d&&d.__esModule?d:{default:d}}function r(d,b){return i(d)||o(d,b)||s(d,b)||n()}function n(){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 o(d,b){var v=d==null?null:typeof Symbol<"u"&&d[Symbol.iterator]||d["@@iterator"];if(v!=null){var R=[],S=!0,p=!1,q,_;try{for(v=v.call(d);!(S=(q=v.next()).done)&&(R.push(q.value),!(b&&R.length===b));S=!0);}catch(T){p=!0,_=T}finally{try{!S&&v.return!=null&&v.return()}finally{if(p)throw _}}return R}}function i(d){if(Array.isArray(d))return d}function a(d,b){var v=typeof Symbol<"u"&&d[Symbol.iterator]||d["@@iterator"];if(!v){if(Array.isArray(d)||(v=s(d))||b){v&&(d=v);var R=0,S=function(){};return{s:S,n:function(){return R>=d.length?{done:!0}:{done:!1,value:d[R++]}},e:function(P){throw P},f:S}}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 p=!0,q=!1,_;return{s:function(){v=v.call(d)},n:function(){var P=v.next();return p=P.done,P},e:function(P){q=!0,_=P},f:function(){try{!p&&v.return!=null&&v.return()}finally{if(q)throw _}}}}function s(d,b){if(d){if(typeof d=="string")return l(d,b);var v=Object.prototype.toString.call(d).slice(8,-1);if(v==="Object"&&d.constructor&&(v=d.constructor.name),v==="Map"||v==="Set")return Array.from(d);if(v==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(v))return l(d,b)}}function l(d,b){(b==null||b>d.length)&&(b=d.length);for(var v=0,R=new Array(b);v<b;v++)R[v]=d[v];return R}var u=[["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}]],f={entries:function(){return u},forEach:function(b){var v=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,R=a(u),S;try{for(R.s();!(S=R.n()).done;){var p=r(S.value,2),q=p[0],_=p[1];b.call(v,_,q,u)}}catch(T){R.e(T)}finally{R.f()}},get:function(b){var v=u.find(function(R){return R[0]===b});return v&&v[1]},has:function(b){return!!f.get(b)},keys:function(){return u.map(function(b){var v=r(b,1),R=v[0];return R})},values:function(){return u.map(function(b){var v=r(b,2),R=v[1];return R})}},c=(0,e.default)(f,f.entries());return It.default=c,It}var Nt={},kt={},jt={},al;function kb(){if(al)return jt;al=1,Object.defineProperty(jt,"__esModule",{value:!0}),jt.default=void 0;var e={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]},t=e;return jt.default=t,jt}var Dt={},sl;function jb(){if(sl)return Dt;sl=1,Object.defineProperty(Dt,"__esModule",{value:!0}),Dt.default=void 0;var e={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"]]},t=e;return Dt.default=t,Dt}var $t={},ll;function Db(){if(ll)return $t;ll=1,Object.defineProperty($t,"__esModule",{value:!0}),$t.default=void 0;var e={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"]]},t=e;return $t.default=t,$t}var Bt={},ul;function $b(){if(ul)return Bt;ul=1,Object.defineProperty(Bt,"__esModule",{value:!0}),Bt.default=void 0;var e={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},t=e;return Bt.default=t,Bt}var Lt={},cl;function Bb(){if(cl)return Lt;cl=1,Object.defineProperty(Lt,"__esModule",{value:!0}),Lt.default=void 0;var e={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"]]},t=e;return Lt.default=t,Lt}var Ft={},dl;function Lb(){if(dl)return Ft;dl=1,Object.defineProperty(Ft,"__esModule",{value:!0}),Ft.default=void 0;var e={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:[]},t=e;return Ft.default=t,Ft}var Ut={},fl;function Fb(){if(fl)return Ut;fl=1,Object.defineProperty(Ut,"__esModule",{value:!0}),Ut.default=void 0;var e={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"]]},t=e;return Ut.default=t,Ut}var zt={},pl;function Ub(){if(pl)return zt;pl=1,Object.defineProperty(zt,"__esModule",{value:!0}),zt.default=void 0;var e={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},t=e;return zt.default=t,zt}var Vt={},ml;function zb(){if(ml)return Vt;ml=1,Object.defineProperty(Vt,"__esModule",{value:!0}),Vt.default=void 0;var e={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"]]},t=e;return Vt.default=t,Vt}var Ht={},hl;function Vb(){if(hl)return Ht;hl=1,Object.defineProperty(Ht,"__esModule",{value:!0}),Ht.default=void 0;var e={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]},t=e;return Ht.default=t,Ht}var Wt={},bl;function Hb(){if(bl)return Wt;bl=1,Object.defineProperty(Wt,"__esModule",{value:!0}),Wt.default=void 0;var e={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]},t=e;return Wt.default=t,Wt}var Gt={},vl;function Wb(){if(vl)return Gt;vl=1,Object.defineProperty(Gt,"__esModule",{value:!0}),Gt.default=void 0;var e={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-modal":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]},t=e;return Gt.default=t,Gt}var yl;function Gb(){if(yl)return kt;yl=1,Object.defineProperty(kt,"__esModule",{value:!0}),kt.default=void 0;var e=d(kb()),t=d(jb()),r=d(Db()),n=d($b()),o=d(Bb()),i=d(Lb()),a=d(Fb()),s=d(Ub()),l=d(zb()),u=d(Vb()),f=d(Hb()),c=d(Wb());function d(R){return R&&R.__esModule?R:{default:R}}var b=[["command",e.default],["composite",t.default],["input",r.default],["landmark",n.default],["range",o.default],["roletype",i.default],["section",a.default],["sectionhead",s.default],["select",l.default],["structure",u.default],["widget",f.default],["window",c.default]],v=b;return kt.default=v,kt}var Kt={},Yt={},gl;function Kb(){if(gl)return Yt;gl=1,Object.defineProperty(Yt,"__esModule",{value:!0}),Yt.default=void 0;var e={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"]]},t=e;return Yt.default=t,Yt}var Xt={},Rl;function Yb(){if(Rl)return Xt;Rl=1,Object.defineProperty(Xt,"__esModule",{value:!0}),Xt.default=void 0;var e={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"]]},t=e;return Xt.default=t,Xt}var Jt={},wl;function Xb(){if(wl)return Jt;wl=1,Object.defineProperty(Jt,"__esModule",{value:!0}),Jt.default=void 0;var e={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"]]},t=e;return Jt.default=t,Jt}var Qt={},El;function Jb(){if(El)return Qt;El=1,Object.defineProperty(Qt,"__esModule",{value:!0}),Qt.default=void 0;var e={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"]]},t=e;return Qt.default=t,Qt}var Zt={},xl;function Qb(){if(xl)return Zt;xl=1,Object.defineProperty(Zt,"__esModule",{value:!0}),Zt.default=void 0;var e={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"]]},t=e;return Zt.default=t,Zt}var er={},Cl;function Zb(){if(Cl)return er;Cl=1,Object.defineProperty(er,"__esModule",{value:!0}),er.default=void 0;var e={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"]]},t=e;return er.default=t,er}var tr={},ql;function ev(){if(ql)return tr;ql=1,Object.defineProperty(tr,"__esModule",{value:!0}),tr.default=void 0;var e={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"]]},t=e;return tr.default=t,tr}var rr={},_l;function tv(){if(_l)return rr;_l=1,Object.defineProperty(rr,"__esModule",{value:!0}),rr.default=void 0;var e={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"]]},t=e;return rr.default=t,rr}var nr={},Pl;function rv(){if(Pl)return nr;Pl=1,Object.defineProperty(nr,"__esModule",{value:!0}),nr.default=void 0;var e={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"]]},t=e;return nr.default=t,nr}var or={},Tl;function nv(){if(Tl)return or;Tl=1,Object.defineProperty(or,"__esModule",{value:!0}),or.default=void 0;var e={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"]]},t=e;return or.default=t,or}var ir={},Sl;function ov(){if(Sl)return ir;Sl=1,Object.defineProperty(ir,"__esModule",{value:!0}),ir.default=void 0;var e={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"]]},t=e;return ir.default=t,ir}var ar={},Al;function iv(){if(Al)return ar;Al=1,Object.defineProperty(ar,"__esModule",{value:!0}),ar.default=void 0;var e={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"]]},t=e;return ar.default=t,ar}var sr={},Ml;function av(){if(Ml)return sr;Ml=1,Object.defineProperty(sr,"__esModule",{value:!0}),sr.default=void 0;var e={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-autocomplete":null,"aria-errormessage":null,"aria-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"]]},t=e;return sr.default=t,sr}var lr={},Ol;function sv(){if(Ol)return lr;Ol=1,Object.defineProperty(lr,"__esModule",{value:!0}),lr.default=void 0;var e={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"]]},t=e;return lr.default=t,lr}var ur={},Il;function lv(){if(Il)return ur;Il=1,Object.defineProperty(ur,"__esModule",{value:!0}),ur.default=void 0;var e={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"]]},t=e;return ur.default=t,ur}var cr={},Nl;function uv(){if(Nl)return cr;Nl=1,Object.defineProperty(cr,"__esModule",{value:!0}),cr.default=void 0;var e={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"]]},t=e;return cr.default=t,cr}var dr={},kl;function cv(){if(kl)return dr;kl=1,Object.defineProperty(dr,"__esModule",{value:!0}),dr.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"del"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},t=e;return dr.default=t,dr}var fr={},jl;function dv(){if(jl)return fr;jl=1,Object.defineProperty(fr,"__esModule",{value:!0}),fr.default=void 0;var e={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"dialog"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","window"]]},t=e;return fr.default=t,fr}var pr={},Dl;function fv(){if(Dl)return pr;Dl=1,Object.defineProperty(pr,"__esModule",{value:!0}),pr.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{module:"DAISY Guide"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","list"]]},t=e;return pr.default=t,pr}var mr={},$l;function pv(){if($l)return mr;$l=1,Object.defineProperty(mr,"__esModule",{value:!0}),mr.default=void 0;var e={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"]]},t=e;return mr.default=t,mr}var hr={},Bl;function mv(){if(Bl)return hr;Bl=1,Object.defineProperty(hr,"__esModule",{value:!0}),hr.default=void 0;var e={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"]]},t=e;return hr.default=t,hr}var br={},Ll;function hv(){if(Ll)return br;Ll=1,Object.defineProperty(br,"__esModule",{value:!0}),br.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["article"]],requiredProps:{},superClass:[["roletype","structure","section","list"]]},t=e;return br.default=t,br}var vr={},Fl;function bv(){if(Fl)return vr;Fl=1,Object.defineProperty(vr,"__esModule",{value:!0}),vr.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"figure"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},t=e;return vr.default=t,vr}var yr={},Ul;function vv(){if(Ul)return yr;Ul=1,Object.defineProperty(yr,"__esModule",{value:!0}),yr.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"aria-label"}],name:"form"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-labelledby"}],name:"form"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"name"}],name:"form"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},t=e;return yr.default=t,yr}var gr={},zl;function yv(){if(zl)return gr;zl=1,Object.defineProperty(gr,"__esModule",{value:!0}),gr.default=void 0;var e={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"]]},t=e;return gr.default=t,gr}var Rr={},Vl;function gv(){if(Vl)return Rr;Vl=1,Object.defineProperty(Rr,"__esModule",{value:!0}),Rr.default=void 0;var e={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"]]},t=e;return Rr.default=t,Rr}var wr={},Hl;function Rv(){if(Hl)return wr;Hl=1,Object.defineProperty(wr,"__esModule",{value:!0}),wr.default=void 0;var e={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"]]},t=e;return wr.default=t,wr}var Er={},Wl;function wv(){if(Wl)return Er;Wl=1,Object.defineProperty(Er,"__esModule",{value:!0}),Er.default=void 0;var e={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"]]},t=e;return Er.default=t,Er}var xr={},Gl;function Ev(){if(Gl)return xr;Gl=1,Object.defineProperty(xr,"__esModule",{value:!0}),xr.default=void 0;var e={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"]]},t=e;return xr.default=t,xr}var Cr={},Kl;function xv(){if(Kl)return Cr;Kl=1,Object.defineProperty(Cr,"__esModule",{value:!0}),Cr.default=void 0;var e={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"]]},t=e;return Cr.default=t,Cr}var qr={},Yl;function Cv(){if(Yl)return qr;Yl=1,Object.defineProperty(qr,"__esModule",{value:!0}),qr.default=void 0;var e={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"]]},t=e;return qr.default=t,qr}var _r={},Xl;function qv(){if(Xl)return _r;Xl=1,Object.defineProperty(_r,"__esModule",{value:!0}),_r.default=void 0;var e={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"]]},t=e;return _r.default=t,_r}var Pr={},Jl;function _v(){if(Jl)return Pr;Jl=1,Object.defineProperty(Pr,"__esModule",{value:!0}),Pr.default=void 0;var e={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"]]},t=e;return Pr.default=t,Pr}var Tr={},Ql;function Pv(){if(Ql)return Tr;Ql=1,Object.defineProperty(Tr,"__esModule",{value:!0}),Tr.default=void 0;var e={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"]]},t=e;return Tr.default=t,Tr}var Sr={},Zl;function Tv(){if(Zl)return Sr;Zl=1,Object.defineProperty(Sr,"__esModule",{value:!0}),Sr.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-level":null,"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{constraints:["direct descendant of ol","direct descendant of ul","direct descendant of menu"],name:"li"},module:"HTML"},{concept:{name:"item"},module:"XForms"}],requireContextRole:["directory","list"],requiredContextRole:["directory","list"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},t=e;return Sr.default=t,Sr}var Ar={},eu;function Sv(){if(eu)return Ar;eu=1,Object.defineProperty(Ar,"__esModule",{value:!0}),Ar.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-live":"polite"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},t=e;return Ar.default=t,Ar}var Mr={},tu;function Av(){if(tu)return Mr;tu=1,Object.defineProperty(Mr,"__esModule",{value:!0}),Mr.default=void 0;var e={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"]]},t=e;return Mr.default=t,Mr}var Or={},ru;function Mv(){if(ru)return Or;ru=1,Object.defineProperty(Or,"__esModule",{value:!0}),Or.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"]]},t=e;return Or.default=t,Or}var Ir={},nu;function Ov(){if(nu)return Ir;nu=1,Object.defineProperty(Ir,"__esModule",{value:!0}),Ir.default=void 0;var e={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},t=e;return Ir.default=t,Ir}var Nr={},ou;function Iv(){if(ou)return Nr;ou=1,Object.defineProperty(Nr,"__esModule",{value:!0}),Nr.default=void 0;var e={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"]]},t=e;return Nr.default=t,Nr}var kr={},iu;function Nv(){if(iu)return kr;iu=1,Object.defineProperty(kr,"__esModule",{value:!0}),kr.default=void 0;var e={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"]]},t=e;return kr.default=t,kr}var jr={},au;function kv(){if(au)return jr;au=1,Object.defineProperty(jr,"__esModule",{value:!0}),jr.default=void 0;var e={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"]]},t=e;return jr.default=t,jr}var Dr={},su;function jv(){if(su)return Dr;su=1,Object.defineProperty(Dr,"__esModule",{value:!0}),Dr.default=void 0;var e={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"]]},t=e;return Dr.default=t,Dr}var $r={},lu;function Dv(){if(lu)return $r;lu=1,Object.defineProperty($r,"__esModule",{value:!0}),$r.default=void 0;var e={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"menuitem"},module:"ARIA"}],requireContextRole:["group","menu","menubar"],requiredContextRole:["group","menu","menubar"],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input","checkbox"],["roletype","widget","command","menuitem"]]},t=e;return $r.default=t,$r}var Br={},uu;function $v(){if(uu)return Br;uu=1,Object.defineProperty(Br,"__esModule",{value:!0}),Br.default=void 0;var e={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"menuitem"},module:"ARIA"}],requireContextRole:["group","menu","menubar"],requiredContextRole:["group","menu","menubar"],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input","checkbox","menuitemcheckbox"],["roletype","widget","command","menuitem","menuitemcheckbox"],["roletype","widget","input","radio"]]},t=e;return Br.default=t,Br}var Lr={},cu;function Bv(){if(cu)return Lr;cu=1,Object.defineProperty(Lr,"__esModule",{value:!0}),Lr.default=void 0;var e={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"]]},t=e;return Lr.default=t,Lr}var Fr={},du;function Lv(){if(du)return Fr;du=1,Object.defineProperty(Fr,"__esModule",{value:!0}),Fr.default=void 0;var e={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"]]},t=e;return Fr.default=t,Fr}var Ur={},fu;function Fv(){if(fu)return Ur;fu=1,Object.defineProperty(Ur,"__esModule",{value:!0}),Ur.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[]},t=e;return Ur.default=t,Ur}var zr={},pu;function Uv(){if(pu)return zr;pu=1,Object.defineProperty(zr,"__esModule",{value:!0}),zr.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},t=e;return zr.default=t,zr}var Vr={},mu;function zv(){if(mu)return Vr;mu=1,Object.defineProperty(Vr,"__esModule",{value:!0}),Vr.default=void 0;var e={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"]]},t=e;return Vr.default=t,Vr}var Hr={},hu;function Vv(){if(hu)return Hr;hu=1,Object.defineProperty(Hr,"__esModule",{value:!0}),Hr.default=void 0;var e={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"]]},t=e;return Hr.default=t,Hr}var Wr={},bu;function Hv(){if(bu)return Wr;bu=1,Object.defineProperty(Wr,"__esModule",{value:!0}),Wr.default=void 0;var e={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"]]},t=e;return Wr.default=t,Wr}var Gr={},vu;function Wv(){if(vu)return Gr;vu=1,Object.defineProperty(Gr,"__esModule",{value:!0}),Gr.default=void 0;var e={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"]]},t=e;return Gr.default=t,Gr}var Kr={},yu;function Gv(){if(yu)return Kr;yu=1,Object.defineProperty(Kr,"__esModule",{value:!0}),Kr.default=void 0;var e={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"]]},t=e;return Kr.default=t,Kr}var Yr={},gu;function Kv(){if(gu)return Yr;gu=1,Object.defineProperty(Yr,"__esModule",{value:!0}),Yr.default=void 0;var e={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"]]},t=e;return Yr.default=t,Yr}var Xr={},Ru;function Yv(){if(Ru)return Xr;Ru=1,Object.defineProperty(Xr,"__esModule",{value:!0}),Xr.default=void 0;var e={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"]]},t=e;return Xr.default=t,Xr}var Jr={},wu;function Xv(){if(wu)return Jr;wu=1,Object.defineProperty(Jr,"__esModule",{value:!0}),Jr.default=void 0;var e={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"]]},t=e;return Jr.default=t,Jr}var Qr={},Eu;function Jv(){if(Eu)return Qr;Eu=1,Object.defineProperty(Qr,"__esModule",{value:!0}),Qr.default=void 0;var e={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"]]},t=e;return Qr.default=t,Qr}var Zr={},xu;function Qv(){if(xu)return Zr;xu=1,Object.defineProperty(Zr,"__esModule",{value:!0}),Zr.default=void 0;var e={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"]]},t=e;return Zr.default=t,Zr}var en={},Cu;function Zv(){if(Cu)return en;Cu=1,Object.defineProperty(en,"__esModule",{value:!0}),en.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-valuetext":null,"aria-orientation":"vertical","aria-valuemax":"100","aria-valuemin":"0"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-controls":null,"aria-valuenow":null},superClass:[["roletype","structure","range"],["roletype","widget"]]},t=e;return en.default=t,en}var tn={},qu;function ey(){if(qu)return tn;qu=1,Object.defineProperty(tn,"__esModule",{value:!0}),tn.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},t=e;return tn.default=t,tn}var rn={},_u;function ty(){if(_u)return rn;_u=1,Object.defineProperty(rn,"__esModule",{value:!0}),rn.default=void 0;var e={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"]]},t=e;return rn.default=t,rn}var nn={},Pu;function ry(){if(Pu)return nn;Pu=1,Object.defineProperty(nn,"__esModule",{value:!0}),nn.default=void 0;var e={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"]]},t=e;return nn.default=t,nn}var on={},Tu;function ny(){if(Tu)return on;Tu=1,Object.defineProperty(on,"__esModule",{value:!0}),on.default=void 0;var e={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"]]},t=e;return on.default=t,on}var an={},Su;function oy(){if(Su)return an;Su=1,Object.defineProperty(an,"__esModule",{value:!0}),an.default=void 0;var e={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"]]},t=e;return an.default=t,an}var sn={},Au;function iy(){if(Au)return sn;Au=1,Object.defineProperty(sn,"__esModule",{value:!0}),sn.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-atomic":"true","aria-live":"polite"},relatedConcepts:[{concept:{name:"output"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},t=e;return sn.default=t,sn}var ln={},Mu;function ay(){if(Mu)return ln;Mu=1,Object.defineProperty(ln,"__esModule",{value:!0}),ln.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"strong"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},t=e;return ln.default=t,ln}var un={},Ou;function sy(){if(Ou)return un;Ou=1,Object.defineProperty(un,"__esModule",{value:!0}),un.default=void 0;var e={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"]]},t=e;return un.default=t,un}var cn={},Iu;function ly(){if(Iu)return cn;Iu=1,Object.defineProperty(cn,"__esModule",{value:!0}),cn.default=void 0;var e={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"]]},t=e;return cn.default=t,cn}var dn={},Nu;function uy(){if(Nu)return dn;Nu=1,Object.defineProperty(dn,"__esModule",{value:!0}),dn.default=void 0;var e={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"button"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input","checkbox"]]},t=e;return dn.default=t,dn}var fn={},ku;function cy(){if(ku)return fn;ku=1,Object.defineProperty(fn,"__esModule",{value:!0}),fn.default=void 0;var e={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"]]},t=e;return fn.default=t,fn}var pn={},ju;function dy(){if(ju)return pn;ju=1,Object.defineProperty(pn,"__esModule",{value:!0}),pn.default=void 0;var e={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"]]},t=e;return pn.default=t,pn}var mn={},Du;function fy(){if(Du)return mn;Du=1,Object.defineProperty(mn,"__esModule",{value:!0}),mn.default=void 0;var e={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"]]},t=e;return mn.default=t,mn}var hn={},$u;function py(){if($u)return hn;$u=1,Object.defineProperty(hn,"__esModule",{value:!0}),hn.default=void 0;var e={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},t=e;return hn.default=t,hn}var bn={},Bu;function my(){if(Bu)return bn;Bu=1,Object.defineProperty(bn,"__esModule",{value:!0}),bn.default=void 0;var e={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"]]},t=e;return bn.default=t,bn}var vn={},Lu;function hy(){if(Lu)return vn;Lu=1,Object.defineProperty(vn,"__esModule",{value:!0}),vn.default=void 0;var e={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-autocomplete":null,"aria-errormessage":null,"aria-haspopup":null,"aria-invalid":null,"aria-multiline":null,"aria-placeholder":null,"aria-readonly":null,"aria-required":null},relatedConcepts:[{concept:{attributes:[{constraints:["undefined"],name:"type"},{constraints:["undefined"],name:"list"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"email"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"tel"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"text"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"url"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{name:"input"},module:"XForms"},{concept:{name:"textarea"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","input"]]},t=e;return vn.default=t,vn}var yn={},Fu;function by(){if(Fu)return yn;Fu=1,Object.defineProperty(yn,"__esModule",{value:!0}),yn.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"time"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},t=e;return yn.default=t,yn}var gn={},Uu;function vy(){if(Uu)return gn;Uu=1,Object.defineProperty(gn,"__esModule",{value:!0}),gn.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","status"]]},t=e;return gn.default=t,gn}var Rn={},zu;function yy(){if(zu)return Rn;zu=1,Object.defineProperty(Rn,"__esModule",{value:!0}),Rn.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":"horizontal"},relatedConcepts:[{concept:{name:"menubar"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","group"]]},t=e;return Rn.default=t,Rn}var wn={},Vu;function gy(){if(Vu)return wn;Vu=1,Object.defineProperty(wn,"__esModule",{value:!0}),wn.default=void 0;var e={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},t=e;return wn.default=t,wn}var En={},Hu;function Ry(){if(Hu)return En;Hu=1,Object.defineProperty(En,"__esModule",{value:!0}),En.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;return En.default=t,En}var xn={},Wu;function wy(){if(Wu)return xn;Wu=1,Object.defineProperty(xn,"__esModule",{value:!0}),xn.default=void 0;var e={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"]]},t=e;return xn.default=t,xn}var Cn={},Gu;function Ey(){if(Gu)return Cn;Gu=1,Object.defineProperty(Cn,"__esModule",{value:!0}),Cn.default=void 0;var e={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"]]},t=e;return Cn.default=t,Cn}var Ku;function xy(){if(Ku)return Kt;Ku=1,Object.defineProperty(Kt,"__esModule",{value:!0}),Kt.default=void 0;var e=I(Kb()),t=I(Yb()),r=I(Xb()),n=I(Jb()),o=I(Qb()),i=I(Zb()),a=I(ev()),s=I(tv()),l=I(rv()),u=I(nv()),f=I(ov()),c=I(iv()),d=I(av()),b=I(sv()),v=I(lv()),R=I(uv()),S=I(cv()),p=I(dv()),q=I(fv()),_=I(pv()),T=I(mv()),P=I(hv()),y=I(bv()),g=I(vv()),E=I(yv()),M=I(gv()),N=I(Rv()),j=I(wv()),D=I(Ev()),A=I(xv()),k=I(Cv()),F=I(qv()),Z=I(_v()),Y=I(Pv()),le=I(Tv()),ye=I(Sv()),tt=I(Av()),ze=I(Mv()),Ve=I(Ov()),L=I(Iv()),He=I(Nv()),rt=I(kv()),ge=I(jv()),St=I(Dv()),At=I($v()),C=I(Bv()),$=I(Lv()),O=I(Fv()),W=I(Uv()),V=I(zv()),re=I(Vv()),oe=I(Hv()),ue=I(Wv()),Te=I(Gv()),Op=I(Kv()),Ip=I(Yv()),Np=I(Xv()),kp=I(Jv()),jp=I(Qv()),Dp=I(Zv()),$p=I(ey()),Bp=I(ty()),Lp=I(ry()),Fp=I(ny()),Up=I(oy()),zp=I(iy()),Vp=I(ay()),Hp=I(sy()),Wp=I(ly()),Gp=I(uy()),Kp=I(cy()),Yp=I(dy()),Xp=I(fy()),Jp=I(py()),Qp=I(my()),Zp=I(hy()),em=I(by()),tm=I(vy()),rm=I(yy()),nm=I(gy()),om=I(Ry()),im=I(wy()),am=I(Ey());function I(Uo){return Uo&&Uo.__esModule?Uo:{default:Uo}}var sm=[["alert",e.default],["alertdialog",t.default],["application",r.default],["article",n.default],["banner",o.default],["blockquote",i.default],["button",a.default],["caption",s.default],["cell",l.default],["checkbox",u.default],["code",f.default],["columnheader",c.default],["combobox",d.default],["complementary",b.default],["contentinfo",v.default],["definition",R.default],["deletion",S.default],["dialog",p.default],["directory",q.default],["document",_.default],["emphasis",T.default],["feed",P.default],["figure",y.default],["form",g.default],["generic",E.default],["grid",M.default],["gridcell",N.default],["group",j.default],["heading",D.default],["img",A.default],["insertion",k.default],["link",F.default],["list",Z.default],["listbox",Y.default],["listitem",le.default],["log",ye.default],["main",tt.default],["mark",ze.default],["marquee",Ve.default],["math",L.default],["menu",He.default],["menubar",rt.default],["menuitem",ge.default],["menuitemcheckbox",St.default],["menuitemradio",At.default],["meter",C.default],["navigation",$.default],["none",O.default],["note",W.default],["option",V.default],["paragraph",re.default],["presentation",oe.default],["progressbar",ue.default],["radio",Te.default],["radiogroup",Op.default],["region",Ip.default],["row",Np.default],["rowgroup",kp.default],["rowheader",jp.default],["scrollbar",Dp.default],["search",$p.default],["searchbox",Bp.default],["separator",Lp.default],["slider",Fp.default],["spinbutton",Up.default],["status",zp.default],["strong",Vp.default],["subscript",Hp.default],["superscript",Wp.default],["switch",Gp.default],["tab",Kp.default],["table",Yp.default],["tablist",Xp.default],["tabpanel",Jp.default],["term",Qp.default],["textbox",Zp.default],["time",em.default],["timer",tm.default],["toolbar",rm.default],["tooltip",nm.default],["tree",om.default],["treegrid",im.default],["treeitem",am.default]],lm=sm;return Kt.default=lm,Kt}var qn={},_n={},Yu;function Cy(){if(Yu)return _n;Yu=1,Object.defineProperty(_n,"__esModule",{value:!0}),_n.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],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"]]},t=e;return _n.default=t,_n}var Pn={},Xu;function qy(){if(Xu)return Pn;Xu=1,Object.defineProperty(Pn,"__esModule",{value:!0}),Pn.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],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"]]},t=e;return Pn.default=t,Pn}var Tn={},Ju;function _y(){if(Ju)return Tn;Ju=1,Object.defineProperty(Tn,"__esModule",{value:!0}),Tn.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],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"]]},t=e;return Tn.default=t,Tn}var Sn={},Qu;function Py(){if(Qu)return Sn;Qu=1,Object.defineProperty(Sn,"__esModule",{value:!0}),Sn.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],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"]]},t=e;return Sn.default=t,Sn}var An={},Zu;function Ty(){if(Zu)return An;Zu=1,Object.defineProperty(An,"__esModule",{value:!0}),An.default=void 0;var e={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"referrer [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]},t=e;return An.default=t,An}var Mn={},ec;function Sy(){if(ec)return Mn;ec=1,Object.defineProperty(Mn,"__esModule",{value:!0}),Mn.default=void 0;var e={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"]]},t=e;return Mn.default=t,Mn}var On={},tc;function Ay(){if(tc)return On;tc=1,Object.defineProperty(On,"__esModule",{value:!0}),On.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],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"]]},t=e;return On.default=t,On}var In={},rc;function My(){if(rc)return In;rc=1,Object.defineProperty(In,"__esModule",{value:!0}),In.default=void 0;var e={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"]]},t=e;return In.default=t,In}var Nn={},nc;function Oy(){if(nc)return Nn;nc=1,Object.defineProperty(Nn,"__esModule",{value:!0}),Nn.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],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"]]},t=e;return Nn.default=t,Nn}var kn={},oc;function Iy(){if(oc)return kn;oc=1,Object.defineProperty(kn,"__esModule",{value:!0}),kn.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],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"]]},t=e;return kn.default=t,kn}var jn={},ic;function Ny(){if(ic)return jn;ic=1,Object.defineProperty(jn,"__esModule",{value:!0}),jn.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],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"]]},t=e;return jn.default=t,jn}var Dn={},ac;function ky(){if(ac)return Dn;ac=1,Object.defineProperty(Dn,"__esModule",{value:!0}),Dn.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],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"]]},t=e;return Dn.default=t,Dn}var $n={},sc;function jy(){if(sc)return $n;sc=1,Object.defineProperty($n,"__esModule",{value:!0}),$n.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],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"]]},t=e;return $n.default=t,$n}var Bn={},lc;function Dy(){if(lc)return Bn;lc=1,Object.defineProperty(Bn,"__esModule",{value:!0}),Bn.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],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"]]},t=e;return Bn.default=t,Bn}var Ln={},uc;function $y(){if(uc)return Ln;uc=1,Object.defineProperty(Ln,"__esModule",{value:!0}),Ln.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],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"]]},t=e;return Ln.default=t,Ln}var Fn={},cc;function By(){if(cc)return Fn;cc=1,Object.defineProperty(Fn,"__esModule",{value:!0}),Fn.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],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"]]},t=e;return Fn.default=t,Fn}var Un={},dc;function Ly(){if(dc)return Un;dc=1,Object.defineProperty(Un,"__esModule",{value:!0}),Un.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],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"]]},t=e;return Un.default=t,Un}var zn={},fc;function Fy(){if(fc)return zn;fc=1,Object.defineProperty(zn,"__esModule",{value:!0}),zn.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],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"]]},t=e;return zn.default=t,zn}var Vn={},pc;function Uy(){if(pc)return Vn;pc=1,Object.defineProperty(Vn,"__esModule",{value:!0}),Vn.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],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"]]},t=e;return Vn.default=t,Vn}var Hn={},mc;function zy(){if(mc)return Hn;mc=1,Object.defineProperty(Hn,"__esModule",{value:!0}),Hn.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],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"]]},t=e;return Hn.default=t,Hn}var Wn={},hc;function Vy(){if(hc)return Wn;hc=1,Object.defineProperty(Wn,"__esModule",{value:!0}),Wn.default=void 0;var e={abstract:!1,accessibleNameRequired:!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"]]},t=e;return Wn.default=t,Wn}var Gn={},bc;function Hy(){if(bc)return Gn;bc=1,Object.defineProperty(Gn,"__esModule",{value:!0}),Gn.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],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"]]},t=e;return Gn.default=t,Gn}var Kn={},vc;function Wy(){if(vc)return Kn;vc=1,Object.defineProperty(Kn,"__esModule",{value:!0}),Kn.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],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"]]},t=e;return Kn.default=t,Kn}var Yn={},yc;function Gy(){if(yc)return Yn;yc=1,Object.defineProperty(Yn,"__esModule",{value:!0}),Yn.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],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"]]},t=e;return Yn.default=t,Yn}var Xn={},gc;function Ky(){if(gc)return Xn;gc=1,Object.defineProperty(Xn,"__esModule",{value:!0}),Xn.default=void 0;var e={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"]]},t=e;return Xn.default=t,Xn}var Jn={},Rc;function Yy(){if(Rc)return Jn;Rc=1,Object.defineProperty(Jn,"__esModule",{value:!0}),Jn.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],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"]]},t=e;return Jn.default=t,Jn}var Qn={},wc;function Xy(){if(wc)return Qn;wc=1,Object.defineProperty(Qn,"__esModule",{value:!0}),Qn.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],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"]]},t=e;return Qn.default=t,Qn}var Zn={},Ec;function Jy(){if(Ec)return Zn;Ec=1,Object.defineProperty(Zn,"__esModule",{value:!0}),Zn.default=void 0;var e={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"]]},t=e;return Zn.default=t,Zn}var eo={},xc;function Qy(){if(xc)return eo;xc=1,Object.defineProperty(eo,"__esModule",{value:!0}),eo.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],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"]]},t=e;return eo.default=t,eo}var to={},Cc;function Zy(){if(Cc)return to;Cc=1,Object.defineProperty(to,"__esModule",{value:!0}),to.default=void 0;var e={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"]]},t=e;return to.default=t,to}var ro={},qc;function eg(){if(qc)return ro;qc=1,Object.defineProperty(ro,"__esModule",{value:!0}),ro.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],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"]]},t=e;return ro.default=t,ro}var no={},_c;function tg(){if(_c)return no;_c=1,Object.defineProperty(no,"__esModule",{value:!0}),no.default=void 0;var e={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"]]},t=e;return no.default=t,no}var oo={},Pc;function rg(){if(Pc)return oo;Pc=1,Object.defineProperty(oo,"__esModule",{value:!0}),oo.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"preface [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},t=e;return oo.default=t,oo}var io={},Tc;function ng(){if(Tc)return io;Tc=1,Object.defineProperty(io,"__esModule",{value:!0}),io.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],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"]]},t=e;return io.default=t,io}var ao={},Sc;function og(){if(Sc)return ao;Sc=1,Object.defineProperty(ao,"__esModule",{value:!0}),ao.default=void 0;var e={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"]]},t=e;return ao.default=t,ao}var so={},Ac;function ig(){if(Ac)return so;Ac=1,Object.defineProperty(so,"__esModule",{value:!0}),so.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],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"]]},t=e;return so.default=t,so}var lo={},Mc;function ag(){if(Mc)return lo;Mc=1,Object.defineProperty(lo,"__esModule",{value:!0}),lo.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],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"]]},t=e;return lo.default=t,lo}var uo={},Oc;function sg(){if(Oc)return uo;Oc=1,Object.defineProperty(uo,"__esModule",{value:!0}),uo.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],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"]]},t=e;return uo.default=t,uo}var co={},Ic;function lg(){if(Ic)return co;Ic=1,Object.defineProperty(co,"__esModule",{value:!0}),co.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],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"]]},t=e;return co.default=t,co}var Nc;function ug(){if(Nc)return qn;Nc=1,Object.defineProperty(qn,"__esModule",{value:!0}),qn.default=void 0;var e=L(Cy()),t=L(qy()),r=L(_y()),n=L(Py()),o=L(Ty()),i=L(Sy()),a=L(Ay()),s=L(My()),l=L(Oy()),u=L(Iy()),f=L(Ny()),c=L(ky()),d=L(jy()),b=L(Dy()),v=L($y()),R=L(By()),S=L(Ly()),p=L(Fy()),q=L(Uy()),_=L(zy()),T=L(Vy()),P=L(Hy()),y=L(Wy()),g=L(Gy()),E=L(Ky()),M=L(Yy()),N=L(Xy()),j=L(Jy()),D=L(Qy()),A=L(Zy()),k=L(eg()),F=L(tg()),Z=L(rg()),Y=L(ng()),le=L(og()),ye=L(ig()),tt=L(ag()),ze=L(sg()),Ve=L(lg());function L(ge){return ge&&ge.__esModule?ge:{default:ge}}var He=[["doc-abstract",e.default],["doc-acknowledgments",t.default],["doc-afterword",r.default],["doc-appendix",n.default],["doc-backlink",o.default],["doc-biblioentry",i.default],["doc-bibliography",a.default],["doc-biblioref",s.default],["doc-chapter",l.default],["doc-colophon",u.default],["doc-conclusion",f.default],["doc-cover",c.default],["doc-credit",d.default],["doc-credits",b.default],["doc-dedication",v.default],["doc-endnote",R.default],["doc-endnotes",S.default],["doc-epigraph",p.default],["doc-epilogue",q.default],["doc-errata",_.default],["doc-example",T.default],["doc-footnote",P.default],["doc-foreword",y.default],["doc-glossary",g.default],["doc-glossref",E.default],["doc-index",M.default],["doc-introduction",N.default],["doc-noteref",j.default],["doc-notice",D.default],["doc-pagebreak",A.default],["doc-pagelist",k.default],["doc-part",F.default],["doc-preface",Z.default],["doc-prologue",Y.default],["doc-pullquote",le.default],["doc-qna",ye.default],["doc-subtitle",tt.default],["doc-tip",ze.default],["doc-toc",Ve.default]],rt=He;return qn.default=rt,qn}var fo={},po={},kc;function cg(){if(kc)return po;kc=1,Object.defineProperty(po,"__esModule",{value:!0}),po.default=void 0;var e={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"]]},t=e;return po.default=t,po}var mo={},jc;function dg(){if(jc)return mo;jc=1,Object.defineProperty(mo,"__esModule",{value:!0}),mo.default=void 0;var e={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"]]},t=e;return mo.default=t,mo}var ho={},Dc;function fg(){if(Dc)return ho;Dc=1,Object.defineProperty(ho,"__esModule",{value:!0}),ho.default=void 0;var e={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"]]},t=e;return ho.default=t,ho}var $c;function pg(){if($c)return fo;$c=1,Object.defineProperty(fo,"__esModule",{value:!0}),fo.default=void 0;var e=n(cg()),t=n(dg()),r=n(fg());function n(a){return a&&a.__esModule?a:{default:a}}var o=[["graphics-document",e.default],["graphics-object",t.default],["graphics-symbol",r.default]],i=o;return fo.default=i,fo}var Bc;function hs(){if(Bc)return Nt;Bc=1,Object.defineProperty(Nt,"__esModule",{value:!0}),Nt.default=void 0;var e=i(Gb()),t=i(xy()),r=i(ug()),n=i(pg()),o=i(Lo());function i(p){return p&&p.__esModule?p:{default:p}}function a(p,q,_){return q in p?Object.defineProperty(p,q,{value:_,enumerable:!0,configurable:!0,writable:!0}):p[q]=_,p}function s(p,q){var _=typeof Symbol<"u"&&p[Symbol.iterator]||p["@@iterator"];if(!_){if(Array.isArray(p)||(_=f(p))||q){_&&(p=_);var T=0,P=function(){};return{s:P,n:function(){return T>=p.length?{done:!0}:{done:!1,value:p[T++]}},e:function(N){throw N},f:P}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
16
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var y=!0,g=!1,E;return{s:function(){_=_.call(p)},n:function(){var N=_.next();return y=N.done,N},e:function(N){g=!0,E=N},f:function(){try{!y&&_.return!=null&&_.return()}finally{if(g)throw E}}}}function l(p,q){return b(p)||d(p,q)||f(p,q)||u()}function u(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
17
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function f(p,q){if(p){if(typeof p=="string")return c(p,q);var _=Object.prototype.toString.call(p).slice(8,-1);if(_==="Object"&&p.constructor&&(_=p.constructor.name),_==="Map"||_==="Set")return Array.from(p);if(_==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(_))return c(p,q)}}function c(p,q){(q==null||q>p.length)&&(q=p.length);for(var _=0,T=new Array(q);_<q;_++)T[_]=p[_];return T}function d(p,q){var _=p==null?null:typeof Symbol<"u"&&p[Symbol.iterator]||p["@@iterator"];if(_!=null){var T=[],P=!0,y=!1,g,E;try{for(_=_.call(p);!(P=(g=_.next()).done)&&(T.push(g.value),!(q&&T.length===q));P=!0);}catch(M){y=!0,E=M}finally{try{!P&&_.return!=null&&_.return()}finally{if(y)throw E}}return T}}function b(p){if(Array.isArray(p))return p}var v=[].concat(e.default,t.default,r.default,n.default);v.forEach(function(p){var q=l(p,2),_=q[1],T=s(_.superClass),P;try{for(T.s();!(P=T.n()).done;){var y=P.value,g=s(y),E;try{var M=function(){var j=E.value,D=v.find(function(Y){var le=l(Y,1),ye=le[0];return ye===j});if(D)for(var A=D[1],k=0,F=Object.keys(A.props);k<F.length;k++){var Z=F[k];Object.prototype.hasOwnProperty.call(_.props,Z)||Object.assign(_.props,a({},Z,A.props[Z]))}};for(g.s();!(E=g.n()).done;)M()}catch(N){g.e(N)}finally{g.f()}}}catch(N){T.e(N)}finally{T.f()}});var R={entries:function(){return v},forEach:function(q){var _=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,T=s(v),P;try{for(T.s();!(P=T.n()).done;){var y=l(P.value,2),g=y[0],E=y[1];q.call(_,E,g,v)}}catch(M){T.e(M)}finally{T.f()}},get:function(q){var _=v.find(function(T){return T[0]===q});return _&&_[1]},has:function(q){return!!R.get(q)},keys:function(){return v.map(function(q){var _=l(q,1),T=_[0];return T})},values:function(){return v.map(function(q){var _=l(q,2),T=_[1];return T})}},S=(0,o.default)(R,R.entries());return Nt.default=S,Nt}var bo={},zi={},Lc;function mg(){if(Lc)return zi;Lc=1;var e=Object.prototype.hasOwnProperty;function t(r,n){var o,i;if(r===n)return!0;if(r&&n&&(o=r.constructor)===n.constructor){if(o===Date)return r.getTime()===n.getTime();if(o===RegExp)return r.toString()===n.toString();if(o===Array){if((i=r.length)===n.length)for(;i--&&t(r[i],n[i]););return i===-1}if(!o||typeof r=="object"){i=0;for(o in r)if(e.call(r,o)&&++i&&!e.call(n,o)||!(o in n)||!t(r[o],n[o]))return!1;return Object.keys(n).length===i}}return r!==r&&n!==n}return zi.dequal=t,zi}var Fc;function hg(){if(Fc)return bo;Fc=1,Object.defineProperty(bo,"__esModule",{value:!0}),bo.default=void 0;var e=mg(),t=n(Lo()),r=n(hs());function n(P){return P&&P.__esModule?P:{default:P}}function o(P,y){return s(P)||a(P,y)||u(P,y)||i()}function i(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
18
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function a(P,y){var g=P==null?null:typeof Symbol<"u"&&P[Symbol.iterator]||P["@@iterator"];if(g!=null){var E=[],M=!0,N=!1,j,D;try{for(g=g.call(P);!(M=(j=g.next()).done)&&(E.push(j.value),!(y&&E.length===y));M=!0);}catch(A){N=!0,D=A}finally{try{!M&&g.return!=null&&g.return()}finally{if(N)throw D}}return E}}function s(P){if(Array.isArray(P))return P}function l(P,y){var g=typeof Symbol<"u"&&P[Symbol.iterator]||P["@@iterator"];if(!g){if(Array.isArray(P)||(g=u(P))||y){g&&(P=g);var E=0,M=function(){};return{s:M,n:function(){return E>=P.length?{done:!0}:{done:!1,value:P[E++]}},e:function(k){throw k},f:M}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
19
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var N=!0,j=!1,D;return{s:function(){g=g.call(P)},n:function(){var k=g.next();return N=k.done,k},e:function(k){j=!0,D=k},f:function(){try{!N&&g.return!=null&&g.return()}finally{if(j)throw D}}}}function u(P,y){if(P){if(typeof P=="string")return f(P,y);var g=Object.prototype.toString.call(P).slice(8,-1);if(g==="Object"&&P.constructor&&(g=P.constructor.name),g==="Map"||g==="Set")return Array.from(P);if(g==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(g))return f(P,y)}}function f(P,y){(y==null||y>P.length)&&(y=P.length);for(var g=0,E=new Array(y);g<y;g++)E[g]=P[g];return E}for(var c=[],d=r.default.keys(),b=0;b<d.length;b++){var v=d[b],R=r.default.get(v);if(R)for(var S=[].concat(R.baseConcepts,R.relatedConcepts),p=0;p<S.length;p++){var q=S[p];q.module==="HTML"&&(function(){var P=q.concept;if(P){var y=c.find(function(N){return(0,e.dequal)(N,P)}),g;y?g=y[1]:g=[];for(var E=!0,M=0;M<g.length;M++)if(g[M]===v){E=!1;break}E&&g.push(v),c.push([P,g])}})()}}var _={entries:function(){return c},forEach:function(y){var g=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,E=l(c),M;try{for(E.s();!(M=E.n()).done;){var N=o(M.value,2),j=N[0],D=N[1];y.call(g,D,j,c)}}catch(A){E.e(A)}finally{E.f()}},get:function(y){var g=c.find(function(E){return y.name===E[0].name&&(0,e.dequal)(y.attributes,E[0].attributes)});return g&&g[1]},has:function(y){return!!_.get(y)},keys:function(){return c.map(function(y){var g=o(y,1),E=g[0];return E})},values:function(){return c.map(function(y){var g=o(y,2),E=g[1];return E})}},T=(0,t.default)(_,_.entries());return bo.default=T,bo}var vo={},Uc;function bg(){if(Uc)return vo;Uc=1,Object.defineProperty(vo,"__esModule",{value:!0}),vo.default=void 0;var e=r(Lo()),t=r(hs());function r(y){return y&&y.__esModule?y:{default:y}}function n(y,g){return a(y)||i(y,g)||l(y,g)||o()}function o(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
20
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function i(y,g){var E=y==null?null:typeof Symbol<"u"&&y[Symbol.iterator]||y["@@iterator"];if(E!=null){var M=[],N=!0,j=!1,D,A;try{for(E=E.call(y);!(N=(D=E.next()).done)&&(M.push(D.value),!(g&&M.length===g));N=!0);}catch(k){j=!0,A=k}finally{try{!N&&E.return!=null&&E.return()}finally{if(j)throw A}}return M}}function a(y){if(Array.isArray(y))return y}function s(y,g){var E=typeof Symbol<"u"&&y[Symbol.iterator]||y["@@iterator"];if(!E){if(Array.isArray(y)||(E=l(y))||g){E&&(y=E);var M=0,N=function(){};return{s:N,n:function(){return M>=y.length?{done:!0}:{done:!1,value:y[M++]}},e:function(F){throw F},f:N}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
21
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var j=!0,D=!1,A;return{s:function(){E=E.call(y)},n:function(){var F=E.next();return j=F.done,F},e:function(F){D=!0,A=F},f:function(){try{!j&&E.return!=null&&E.return()}finally{if(D)throw A}}}}function l(y,g){if(y){if(typeof y=="string")return u(y,g);var E=Object.prototype.toString.call(y).slice(8,-1);if(E==="Object"&&y.constructor&&(E=y.constructor.name),E==="Map"||E==="Set")return Array.from(y);if(E==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(E))return u(y,g)}}function u(y,g){(g==null||g>y.length)&&(g=y.length);for(var E=0,M=new Array(g);E<g;E++)M[E]=y[E];return M}for(var f=[],c=t.default.keys(),d=0;d<c.length;d++){var b=c[d],v=t.default.get(b),R=[];if(v){for(var S=[].concat(v.baseConcepts,v.relatedConcepts),p=0;p<S.length;p++){var q=S[p];if(q.module==="HTML"){var _=q.concept;_!=null&&R.push(_)}}R.length>0&&f.push([b,R])}}var T={entries:function(){return f},forEach:function(g){var E=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,M=s(f),N;try{for(M.s();!(N=M.n()).done;){var j=n(N.value,2),D=j[0],A=j[1];g.call(E,A,D,f)}}catch(k){M.e(k)}finally{M.f()}},get:function(g){var E=f.find(function(M){return M[0]===g});return E&&E[1]},has:function(g){return!!T.get(g)},keys:function(){return f.map(function(g){var E=n(g,1),M=E[0];return M})},values:function(){return f.map(function(g){var E=n(g,2),M=E[1];return M})}},P=(0,e.default)(T,T.entries());return vo.default=P,vo}var zc;function vg(){if(zc)return de;zc=1,Object.defineProperty(de,"__esModule",{value:!0}),de.roles=de.roleElements=de.elementRoles=de.dom=de.aria=void 0;var e=i(Ib()),t=i(Nb()),r=i(hs()),n=i(hg()),o=i(bg());function i(c){return c&&c.__esModule?c:{default:c}}var a=e.default;de.aria=a;var s=t.default;de.dom=s;var l=r.default;de.roles=l;var u=n.default;de.elementRoles=u;var f=o.default;return de.roleElements=f,de}var me=vg(),Vi={exports:{}},Vc;function yg(){return Vc||(Vc=1,(function(e){var t=(function(){var r=String.fromCharCode,n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-$",i={};function a(l,u){if(!i[l]){i[l]={};for(var f=0;f<l.length;f++)i[l][l.charAt(f)]=f}return i[l][u]}var s={compressToBase64:function(l){if(l==null)return"";var u=s._compress(l,6,function(f){return n.charAt(f)});switch(u.length%4){default:case 0:return u;case 1:return u+"===";case 2:return u+"==";case 3:return u+"="}},decompressFromBase64:function(l){return l==null?"":l==""?null:s._decompress(l.length,32,function(u){return a(n,l.charAt(u))})},compressToUTF16:function(l){return l==null?"":s._compress(l,15,function(u){return r(u+32)})+" "},decompressFromUTF16:function(l){return l==null?"":l==""?null:s._decompress(l.length,16384,function(u){return l.charCodeAt(u)-32})},compressToUint8Array:function(l){for(var u=s.compress(l),f=new Uint8Array(u.length*2),c=0,d=u.length;c<d;c++){var b=u.charCodeAt(c);f[c*2]=b>>>8,f[c*2+1]=b%256}return f},decompressFromUint8Array:function(l){if(l==null)return s.decompress(l);for(var u=new Array(l.length/2),f=0,c=u.length;f<c;f++)u[f]=l[f*2]*256+l[f*2+1];var d=[];return u.forEach(function(b){d.push(r(b))}),s.decompress(d.join(""))},compressToEncodedURIComponent:function(l){return l==null?"":s._compress(l,6,function(u){return o.charAt(u)})},decompressFromEncodedURIComponent:function(l){return l==null?"":l==""?null:(l=l.replace(/ /g,"+"),s._decompress(l.length,32,function(u){return a(o,l.charAt(u))}))},compress:function(l){return s._compress(l,16,function(u){return r(u)})},_compress:function(l,u,f){if(l==null)return"";var c,d,b={},v={},R="",S="",p="",q=2,_=3,T=2,P=[],y=0,g=0,E;for(E=0;E<l.length;E+=1)if(R=l.charAt(E),Object.prototype.hasOwnProperty.call(b,R)||(b[R]=_++,v[R]=!0),S=p+R,Object.prototype.hasOwnProperty.call(b,S))p=S;else{if(Object.prototype.hasOwnProperty.call(v,p)){if(p.charCodeAt(0)<256){for(c=0;c<T;c++)y=y<<1,g==u-1?(g=0,P.push(f(y)),y=0):g++;for(d=p.charCodeAt(0),c=0;c<8;c++)y=y<<1|d&1,g==u-1?(g=0,P.push(f(y)),y=0):g++,d=d>>1}else{for(d=1,c=0;c<T;c++)y=y<<1|d,g==u-1?(g=0,P.push(f(y)),y=0):g++,d=0;for(d=p.charCodeAt(0),c=0;c<16;c++)y=y<<1|d&1,g==u-1?(g=0,P.push(f(y)),y=0):g++,d=d>>1}q--,q==0&&(q=Math.pow(2,T),T++),delete v[p]}else for(d=b[p],c=0;c<T;c++)y=y<<1|d&1,g==u-1?(g=0,P.push(f(y)),y=0):g++,d=d>>1;q--,q==0&&(q=Math.pow(2,T),T++),b[S]=_++,p=String(R)}if(p!==""){if(Object.prototype.hasOwnProperty.call(v,p)){if(p.charCodeAt(0)<256){for(c=0;c<T;c++)y=y<<1,g==u-1?(g=0,P.push(f(y)),y=0):g++;for(d=p.charCodeAt(0),c=0;c<8;c++)y=y<<1|d&1,g==u-1?(g=0,P.push(f(y)),y=0):g++,d=d>>1}else{for(d=1,c=0;c<T;c++)y=y<<1|d,g==u-1?(g=0,P.push(f(y)),y=0):g++,d=0;for(d=p.charCodeAt(0),c=0;c<16;c++)y=y<<1|d&1,g==u-1?(g=0,P.push(f(y)),y=0):g++,d=d>>1}q--,q==0&&(q=Math.pow(2,T),T++),delete v[p]}else for(d=b[p],c=0;c<T;c++)y=y<<1|d&1,g==u-1?(g=0,P.push(f(y)),y=0):g++,d=d>>1;q--,q==0&&(q=Math.pow(2,T),T++)}for(d=2,c=0;c<T;c++)y=y<<1|d&1,g==u-1?(g=0,P.push(f(y)),y=0):g++,d=d>>1;for(;;)if(y=y<<1,g==u-1){P.push(f(y));break}else g++;return P.join("")},decompress:function(l){return l==null?"":l==""?null:s._decompress(l.length,32768,function(u){return l.charCodeAt(u)})},_decompress:function(l,u,f){var c=[],d=4,b=4,v=3,R="",S=[],p,q,_,T,P,y,g,E={val:f(0),position:u,index:1};for(p=0;p<3;p+=1)c[p]=p;for(_=0,P=Math.pow(2,2),y=1;y!=P;)T=E.val&E.position,E.position>>=1,E.position==0&&(E.position=u,E.val=f(E.index++)),_|=(T>0?1:0)*y,y<<=1;switch(_){case 0:for(_=0,P=Math.pow(2,8),y=1;y!=P;)T=E.val&E.position,E.position>>=1,E.position==0&&(E.position=u,E.val=f(E.index++)),_|=(T>0?1:0)*y,y<<=1;g=r(_);break;case 1:for(_=0,P=Math.pow(2,16),y=1;y!=P;)T=E.val&E.position,E.position>>=1,E.position==0&&(E.position=u,E.val=f(E.index++)),_|=(T>0?1:0)*y,y<<=1;g=r(_);break;case 2:return""}for(c[3]=g,q=g,S.push(g);;){if(E.index>l)return"";for(_=0,P=Math.pow(2,v),y=1;y!=P;)T=E.val&E.position,E.position>>=1,E.position==0&&(E.position=u,E.val=f(E.index++)),_|=(T>0?1:0)*y,y<<=1;switch(g=_){case 0:for(_=0,P=Math.pow(2,8),y=1;y!=P;)T=E.val&E.position,E.position>>=1,E.position==0&&(E.position=u,E.val=f(E.index++)),_|=(T>0?1:0)*y,y<<=1;c[b++]=r(_),g=b-1,d--;break;case 1:for(_=0,P=Math.pow(2,16),y=1;y!=P;)T=E.val&E.position,E.position>>=1,E.position==0&&(E.position=u,E.val=f(E.index++)),_|=(T>0?1:0)*y,y<<=1;c[b++]=r(_),g=b-1,d--;break;case 2:return S.join("")}if(d==0&&(d=Math.pow(2,v),v++),c[g])R=c[g];else if(g===b)R=q+q.charAt(0);else return null;S.push(R),c[b++]=q+R.charAt(0),d--,q=R,d==0&&(d=Math.pow(2,v),v++)}}};return s})();e!=null?e.exports=t:typeof angular<"u"&&angular!=null&&angular.module("LZString",[]).factory("LZString",function(){return t})})(Vi)),Vi.exports}var gg=yg();const Rg=Gm(gg);function Df(e){return e.replace(/</g,"&lt;").replace(/>/g,"&gt;")}const wg=(e,t,r,n,o,i,a)=>{const s=n+r.indent,l=r.colors;return e.map(u=>{const f=t[u];let c=a(f,r,s,o,i);return typeof f!="string"&&(c.indexOf(`
22
- `)!==-1&&(c=r.spacingOuter+s+c+r.spacingOuter+n),c="{"+c+"}"),r.spacingInner+n+l.prop.open+u+l.prop.close+"="+l.value.open+c+l.value.close}).join("")},Eg=3,xg=(e,t,r,n,o,i)=>e.map(a=>{const s=typeof a=="string"?$f(a,t):i(a,t,r,n,o);return s===""&&typeof a=="object"&&a!==null&&a.nodeType!==Eg?"":t.spacingOuter+r+s}).join(""),$f=(e,t)=>{const r=t.colors.content;return r.open+Df(e)+r.close},Cg=(e,t)=>{const r=t.colors.comment;return r.open+"<!--"+Df(e)+"-->"+r.close},qg=(e,t,r,n,o)=>{const 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},_g=(e,t)=>{const r=t.colors.tag;return r.open+"<"+e+r.close+" …"+r.open+" />"+r.close},Pg=1,Bf=3,Lf=8,Ff=11,Tg=/^((HTML|SVG)\w*)?Element$/,Uf=e=>{const{tagName:t}=e;return!!(typeof t=="string"&&t.includes("-")||typeof e.hasAttribute=="function"&&e.hasAttribute("is"))},Sg=e=>{const t=e.constructor.name,{nodeType:r}=e;return r===Pg&&(Tg.test(t)||Uf(e))||r===Bf&&t==="Text"||r===Lf&&t==="Comment"||r===Ff&&t==="DocumentFragment"};function Ag(e){return e.nodeType===Bf}function Mg(e){return e.nodeType===Lf}function Hi(e){return e.nodeType===Ff}function Og(e){return{test:t=>{var r;return((t==null||(r=t.constructor)==null?void 0:r.name)||Uf(t))&&Sg(t)},serialize:(t,r,n,o,i,a)=>{if(Ag(t))return $f(t.data,r);if(Mg(t))return Cg(t.data,r);const s=Hi(t)?"DocumentFragment":t.tagName.toLowerCase();return++o>r.maxDepth?_g(s,r):qg(s,wg(Hi(t)?[]:Array.from(t.attributes).map(l=>l.name).sort(),Hi(t)?{}:Array.from(t.attributes).reduce((l,u)=>(l[u.name]=u.value,l),{}),r,n+r.indent,o,i,a),xg(Array.prototype.slice.call(t.childNodes||t.children).filter(e),r,n+r.indent,o,i,a),r,n)}}}let zf=null,bs=null,vs=null;try{const e=module&&module.require;bs=e.call(module,"fs").readFileSync,vs=e.call(module,"@babel/code-frame").codeFrameColumns,zf=e.call(module,"picocolors")}catch{}function Ig(e){const t=e.indexOf("(")+1,r=e.indexOf(")"),n=e.slice(t,r),o=n.split(":"),[i,a,s]=[o[0],parseInt(o[1],10),parseInt(o[2],10)];let l="";try{l=bs(i,"utf-8")}catch{return""}const u=vs(l,{start:{line:a,column:s}},{highlightCode:!0,linesBelow:0});return zf.dim(n)+`
16
+ `}};function nt(C){return new Array(C+1).join(" ")}function ge(C,$){if($&&(le($),$.plugins)){const W=A($.plugins,C);if(W!==null)return D(W,C,We($),"",0,[])}const O=M(C,Ve($),He($),L($));return O!==null?O:N(C,We($),"",0,[])}const At={AsymmetricMatcher:r.default,ConvertAnsi:n.default,DOMCollection:o.default,DOMElement:a.default,Immutable:i.default,ReactElement:s.default,ReactTestComponent:l.default};Ce.plugins=At;var Mt=ge;return Ce.default=Mt,Ce}var Af=Vh(),Hh=Object.prototype.toString;function Wh(e){return typeof e=="function"||Hh.call(e)==="[object Function]"}function Gh(e){var t=Number(e);return isNaN(t)?0:t===0||!isFinite(t)?t:(t>0?1:-1)*Math.floor(Math.abs(t))}var Kh=Math.pow(2,53)-1;function Yh(e){var t=Gh(e);return Math.min(Math.max(t,0),Kh)}function Re(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");for(var o=Yh(n.length),a=Wh(r)?Object(new r(o)):new Array(o),i=0,s;i<o;)s=n[i],a[i]=s,i+=1;return a.length=o,a}function Ao(e){"@babel/helpers - typeof";return Ao=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},Ao(e)}function Xh(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Jh(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,Mf(n.key),n)}}function Qh(e,t,r){return t&&Jh(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function Zh(e,t,r){return t=Mf(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Mf(e){var t=eb(e,"string");return Ao(t)==="symbol"?t:String(t)}function eb(e,t){if(Ao(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(Ao(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var tb=(function(){function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];Xh(this,e),Zh(this,"items",void 0),this.items=t}return Qh(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})();const rb=typeof Set>"u"?Set:tb;function ie(e){var t;return(t=e.localName)!==null&&t!==void 0?t:e.tagName.toLowerCase()}var nb={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"},ob={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 ab(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=ob[t])!==null&&n!==void 0&&n.has(r))})}function Of(e,t){return ab(e,t)}function ib(e){var t=lb(e);if(t===null||t==="presentation"){var r=sb(e);if(t!=="presentation"||Of(e,r||""))return r}return t}function sb(e){var t=nb[ie(e)];if(t!==void 0)return t;switch(ie(e)){case"a":case"area":case"link":if(e.hasAttribute("href"))return"link";break;case"img":return e.getAttribute("alt")===""&&!Of(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 lb(e){var t=e.getAttribute("role");if(t!==null){var r=t.trim().split(" ")[0];if(r.length>0)return r}return null}function ee(e){return e!==null&&e.nodeType===e.ELEMENT_NODE}function If(e){return ee(e)&&ie(e)==="caption"}function ta(e){return ee(e)&&ie(e)==="input"}function ub(e){return ee(e)&&ie(e)==="optgroup"}function cb(e){return ee(e)&&ie(e)==="select"}function db(e){return ee(e)&&ie(e)==="table"}function fb(e){return ee(e)&&ie(e)==="textarea"}function pb(e){var t=e.ownerDocument===null?e:e.ownerDocument,r=t.defaultView;if(r===null)throw new TypeError("no window available");return r}function mb(e){return ee(e)&&ie(e)==="fieldset"}function hb(e){return ee(e)&&ie(e)==="legend"}function bb(e){return ee(e)&&ie(e)==="slot"}function vb(e){return ee(e)&&e.ownerSVGElement!==void 0}function yb(e){return ee(e)&&ie(e)==="svg"}function gb(e){return vb(e)&&ie(e)==="title"}function ma(e,t){if(ee(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 $e(e,t){return ee(e)?t.indexOf(ib(e))!==-1:!1}function wb(e){return e.trim().replace(/\s\s+/g," ")}function Rb(e,t){if(!ee(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 Eb(e){return $e(e,["button","combobox","listbox","textbox"])||Nf(e,"range")}function Nf(e,t){if(!ee(e))return!1;if(t==="range")return $e(e,["meter","progressbar","scrollbar","slider","spinbutton"]);throw new TypeError("No knowledge about abstract role '".concat(t,"'. This is likely a bug :("))}function Qs(e,t){var r=Re(e.querySelectorAll(t));return ma(e,"aria-owns").forEach(function(n){r.push.apply(r,Re(n.querySelectorAll(t)))}),r}function xb(e){return cb(e)?e.selectedOptions||Qs(e,"[selected]"):Qs(e,'[aria-selected="true"]')}function Cb(e){return $e(e,["none","presentation"])}function qb(e){return If(e)}function _b(e){return $e(e,["button","cell","checkbox","columnheader","gridcell","heading","label","legend","link","menuitem","menuitemcheckbox","menuitemradio","option","radio","row","rowheader","switch","tab","tooltip","treeitem"])}function Pb(e){return!1}function Tb(e){return ta(e)||fb(e)?e.value:e.textContent||""}function Zs(e){var t=e.getPropertyValue("content");return/^["'].*["']$/.test(t)?t.slice(1,-1):""}function kf(e){var t=ie(e);return t==="button"||t==="input"&&e.getAttribute("type")!=="hidden"||t==="meter"||t==="output"||t==="progress"||t==="select"||t==="textarea"}function jf(e){if(kf(e))return e;var t=null;return e.childNodes.forEach(function(r){if(t===null&&ee(r)){var n=jf(r);n!==null&&(t=n)}}),t}function Sb(e){if(e.control!==void 0)return e.control;var t=e.getAttribute("for");return t!==null?e.ownerDocument.getElementById(t):jf(e)}function Ab(e){var t=e.labels;if(t===null)return t;if(t!==void 0)return Re(t);if(!kf(e))return null;var r=e.ownerDocument;return Re(r.querySelectorAll("label")).filter(function(n){return Sb(n)===e})}function Mb(e){var t=e.assignedNodes();return t.length===0?Re(e.childNodes):t}function Df(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=new rb,n=pb(e),o=t.compute,a=o===void 0?"name":o,i=t.computedStyleSupportsPseudoElements,s=i===void 0?t.getComputedStyle!==void 0:i,l=t.getComputedStyle,u=l===void 0?n.getComputedStyle.bind(n):l,d=t.hidden,f=d===void 0?!1:d;function c(p,q){var _="";if(ee(p)&&s){var T=u(p,"::before"),P=Zs(T);_="".concat(P," ").concat(_)}var y=bb(p)?Mb(p):Re(p.childNodes).concat(ma(p,"aria-owns"));if(y.forEach(function(M){var N=S(M,{isEmbeddedInLabel:q.isEmbeddedInLabel,isReferenced:!1,recursion:!0}),j=ee(M)?u(M).getPropertyValue("display"):"inline",D=j!=="inline"?" ":"";_+="".concat(D).concat(N).concat(D)}),ee(p)&&s){var g=u(p,"::after"),E=Zs(g);_="".concat(_," ").concat(E)}return _.trim()}function h(p,q){var _=p.getAttributeNode(q);return _!==null&&!r.has(_)&&_.value.trim()!==""?(r.add(_),_.value):null}function v(p){return ee(p)?h(p,"title"):null}function w(p){if(!ee(p))return null;if(mb(p)){r.add(p);for(var q=Re(p.childNodes),_=0;_<q.length;_+=1){var T=q[_];if(hb(T))return S(T,{isEmbeddedInLabel:!1,isReferenced:!1,recursion:!1})}}else if(db(p)){r.add(p);for(var P=Re(p.childNodes),y=0;y<P.length;y+=1){var g=P[y];if(If(g))return S(g,{isEmbeddedInLabel:!1,isReferenced:!1,recursion:!1})}}else if(yb(p)){r.add(p);for(var E=Re(p.childNodes),M=0;M<E.length;M+=1){var N=E[M];if(gb(N))return N.textContent}return null}else if(ie(p)==="img"||ie(p)==="area"){var j=h(p,"alt");if(j!==null)return j}else if(ub(p)){var D=h(p,"label");if(D!==null)return D}if(ta(p)&&(p.type==="button"||p.type==="submit"||p.type==="reset")){var A=h(p,"value");if(A!==null)return A;if(p.type==="submit")return"Submit";if(p.type==="reset")return"Reset"}var k=Ab(p);if(k!==null&&k.length!==0)return r.add(p),Re(k).map(function(le){return S(le,{isEmbeddedInLabel:!0,isReferenced:!1,recursion:!0})}).filter(function(le){return le.length>0}).join(" ");if(ta(p)&&p.type==="image"){var F=h(p,"alt");if(F!==null)return F;var Z=h(p,"title");return Z!==null?Z:"Submit Query"}if($e(p,["button"])){var Y=c(p,{isEmbeddedInLabel:!1});if(Y!=="")return Y}return null}function S(p,q){if(r.has(p))return"";if(!f&&Rb(p,u)&&!q.isReferenced)return r.add(p),"";var _=ee(p)?p.getAttributeNode("aria-labelledby"):null,T=_!==null&&!r.has(_)?ma(p,"aria-labelledby"):[];if(a==="name"&&!q.isReferenced&&T.length>0)return r.add(_),T.map(function(j){return S(j,{isEmbeddedInLabel:q.isEmbeddedInLabel,isReferenced:!0,recursion:!1})}).join(" ");var P=q.recursion&&Eb(p)&&a==="name";if(!P){var y=(ee(p)&&p.getAttribute("aria-label")||"").trim();if(y!==""&&a==="name")return r.add(p),y;if(!Cb(p)){var g=w(p);if(g!==null)return r.add(p),g}}if($e(p,["menu"]))return r.add(p),"";if(P||q.isEmbeddedInLabel||q.isReferenced){if($e(p,["combobox","listbox"])){r.add(p);var E=xb(p);return E.length===0?ta(p)?p.value:"":Re(E).map(function(j){return S(j,{isEmbeddedInLabel:q.isEmbeddedInLabel,isReferenced:!1,recursion:!0})}).join(" ")}if(Nf(p,"range"))return r.add(p),p.hasAttribute("aria-valuetext")?p.getAttribute("aria-valuetext"):p.hasAttribute("aria-valuenow")?p.getAttribute("aria-valuenow"):p.getAttribute("value")||"";if($e(p,["textbox"]))return r.add(p),Tb(p)}if(_b(p)||ee(p)&&q.isReferenced||qb(p)||Pb()){var M=c(p,{isEmbeddedInLabel:q.isEmbeddedInLabel});if(M!=="")return r.add(p),M}if(p.nodeType===p.TEXT_NODE)return r.add(p),p.textContent||"";if(q.recursion)return r.add(p),c(p,{isEmbeddedInLabel:q.isEmbeddedInLabel});var N=v(p);return N!==null?(r.add(p),N):(r.add(p),"")}return wb(S(e,{isEmbeddedInLabel:!1,isReferenced:a==="description",recursion:!1}))}function Mo(e){"@babel/helpers - typeof";return Mo=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},Mo(e)}function el(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 tl(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?el(Object(r),!0).forEach(function(n){Ob(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):el(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function Ob(e,t,r){return t=Ib(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ib(e){var t=Nb(e,"string");return Mo(t)==="symbol"?t:String(t)}function Nb(e,t){if(Mo(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(Mo(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function $f(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=ma(e,"aria-describedby").map(function(o){return Df(o,tl(tl({},t),{},{compute:"description"}))}).join(" ");if(r===""){var n=e.getAttribute("title");r=n===null?"":n}return r}function kb(e){return $e(e,["caption","code","deletion","emphasis","generic","insertion","paragraph","presentation","strong","subscript","superscript"])}function ms(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return kb(e)?"":Df(e,t)}var de={},Ot={},Ko={},It={},rl;function jb(){if(rl)return It;rl=1,Object.defineProperty(It,"__esModule",{value:!0}),It.default=void 0;function e(){var r=this,n=0,o={"@@iterator":function(){return o},next:function(){if(n<r.length){var i=r[n];return n=n+1,{done:!1,value:i}}else return{done:!0}}};return o}var t=e;return It.default=t,It}var nl;function Fo(){if(nl)return Ko;nl=1,Object.defineProperty(Ko,"__esModule",{value:!0}),Ko.default=n;var e=t(jb());function t(o){return o&&o.__esModule?o:{default:o}}function r(o){"@babel/helpers - typeof";return r=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(a){return typeof a}:function(a){return a&&typeof Symbol=="function"&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a},r(o)}function n(o,a){return typeof Symbol=="function"&&r(Symbol.iterator)==="symbol"&&Object.defineProperty(o,Symbol.iterator,{value:e.default.bind(a)}),o}return Ko}var ol;function Db(){if(ol)return Ot;ol=1,Object.defineProperty(Ot,"__esModule",{value:!0}),Ot.default=void 0;var e=t(Fo());function t(c){return c&&c.__esModule?c:{default:c}}function r(c,h){return a(c)||o(c,h)||s(c,h)||n()}function n(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
17
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function o(c,h){var v=c==null?null:typeof Symbol<"u"&&c[Symbol.iterator]||c["@@iterator"];if(v!=null){var w=[],S=!0,p=!1,q,_;try{for(v=v.call(c);!(S=(q=v.next()).done)&&(w.push(q.value),!(h&&w.length===h));S=!0);}catch(T){p=!0,_=T}finally{try{!S&&v.return!=null&&v.return()}finally{if(p)throw _}}return w}}function a(c){if(Array.isArray(c))return c}function i(c,h){var v=typeof Symbol<"u"&&c[Symbol.iterator]||c["@@iterator"];if(!v){if(Array.isArray(c)||(v=s(c))||h){v&&(c=v);var w=0,S=function(){};return{s:S,n:function(){return w>=c.length?{done:!0}:{done:!1,value:c[w++]}},e:function(P){throw P},f:S}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
18
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var p=!0,q=!1,_;return{s:function(){v=v.call(c)},n:function(){var P=v.next();return p=P.done,P},e:function(P){q=!0,_=P},f:function(){try{!p&&v.return!=null&&v.return()}finally{if(q)throw _}}}}function s(c,h){if(c){if(typeof c=="string")return l(c,h);var v=Object.prototype.toString.call(c).slice(8,-1);if(v==="Object"&&c.constructor&&(v=c.constructor.name),v==="Map"||v==="Set")return Array.from(c);if(v==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(v))return l(c,h)}}function l(c,h){(h==null||h>c.length)&&(h=c.length);for(var v=0,w=new Array(h);v<h;v++)w[v]=c[v];return w}var u=[["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"}]],d={entries:function(){return u},forEach:function(h){var v=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,w=i(u),S;try{for(w.s();!(S=w.n()).done;){var p=r(S.value,2),q=p[0],_=p[1];h.call(v,_,q,u)}}catch(T){w.e(T)}finally{w.f()}},get:function(h){var v=u.find(function(w){return w[0]===h});return v&&v[1]},has:function(h){return!!d.get(h)},keys:function(){return u.map(function(h){var v=r(h,1),w=v[0];return w})},values:function(){return u.map(function(h){var v=r(h,2),w=v[1];return w})}},f=(0,e.default)(d,d.entries());return Ot.default=f,Ot}var Nt={},al;function $b(){if(al)return Nt;al=1,Object.defineProperty(Nt,"__esModule",{value:!0}),Nt.default=void 0;var e=t(Fo());function t(c){return c&&c.__esModule?c:{default:c}}function r(c,h){return a(c)||o(c,h)||s(c,h)||n()}function n(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
19
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function o(c,h){var v=c==null?null:typeof Symbol<"u"&&c[Symbol.iterator]||c["@@iterator"];if(v!=null){var w=[],S=!0,p=!1,q,_;try{for(v=v.call(c);!(S=(q=v.next()).done)&&(w.push(q.value),!(h&&w.length===h));S=!0);}catch(T){p=!0,_=T}finally{try{!S&&v.return!=null&&v.return()}finally{if(p)throw _}}return w}}function a(c){if(Array.isArray(c))return c}function i(c,h){var v=typeof Symbol<"u"&&c[Symbol.iterator]||c["@@iterator"];if(!v){if(Array.isArray(c)||(v=s(c))||h){v&&(c=v);var w=0,S=function(){};return{s:S,n:function(){return w>=c.length?{done:!0}:{done:!1,value:c[w++]}},e:function(P){throw P},f:S}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
20
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var p=!0,q=!1,_;return{s:function(){v=v.call(c)},n:function(){var P=v.next();return p=P.done,P},e:function(P){q=!0,_=P},f:function(){try{!p&&v.return!=null&&v.return()}finally{if(q)throw _}}}}function s(c,h){if(c){if(typeof c=="string")return l(c,h);var v=Object.prototype.toString.call(c).slice(8,-1);if(v==="Object"&&c.constructor&&(v=c.constructor.name),v==="Map"||v==="Set")return Array.from(c);if(v==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(v))return l(c,h)}}function l(c,h){(h==null||h>c.length)&&(h=c.length);for(var v=0,w=new Array(h);v<h;v++)w[v]=c[v];return w}var u=[["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}]],d={entries:function(){return u},forEach:function(h){var v=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,w=i(u),S;try{for(w.s();!(S=w.n()).done;){var p=r(S.value,2),q=p[0],_=p[1];h.call(v,_,q,u)}}catch(T){w.e(T)}finally{w.f()}},get:function(h){var v=u.find(function(w){return w[0]===h});return v&&v[1]},has:function(h){return!!d.get(h)},keys:function(){return u.map(function(h){var v=r(h,1),w=v[0];return w})},values:function(){return u.map(function(h){var v=r(h,2),w=v[1];return w})}},f=(0,e.default)(d,d.entries());return Nt.default=f,Nt}var kt={},jt={},Dt={},il;function Bb(){if(il)return Dt;il=1,Object.defineProperty(Dt,"__esModule",{value:!0}),Dt.default=void 0;var e={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]},t=e;return Dt.default=t,Dt}var $t={},sl;function Lb(){if(sl)return $t;sl=1,Object.defineProperty($t,"__esModule",{value:!0}),$t.default=void 0;var e={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"]]},t=e;return $t.default=t,$t}var Bt={},ll;function Fb(){if(ll)return Bt;ll=1,Object.defineProperty(Bt,"__esModule",{value:!0}),Bt.default=void 0;var e={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"]]},t=e;return Bt.default=t,Bt}var Lt={},ul;function Ub(){if(ul)return Lt;ul=1,Object.defineProperty(Lt,"__esModule",{value:!0}),Lt.default=void 0;var e={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},t=e;return Lt.default=t,Lt}var Ft={},cl;function zb(){if(cl)return Ft;cl=1,Object.defineProperty(Ft,"__esModule",{value:!0}),Ft.default=void 0;var e={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"]]},t=e;return Ft.default=t,Ft}var Ut={},dl;function Vb(){if(dl)return Ut;dl=1,Object.defineProperty(Ut,"__esModule",{value:!0}),Ut.default=void 0;var e={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:[]},t=e;return Ut.default=t,Ut}var zt={},fl;function Hb(){if(fl)return zt;fl=1,Object.defineProperty(zt,"__esModule",{value:!0}),zt.default=void 0;var e={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"]]},t=e;return zt.default=t,zt}var Vt={},pl;function Wb(){if(pl)return Vt;pl=1,Object.defineProperty(Vt,"__esModule",{value:!0}),Vt.default=void 0;var e={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},t=e;return Vt.default=t,Vt}var Ht={},ml;function Gb(){if(ml)return Ht;ml=1,Object.defineProperty(Ht,"__esModule",{value:!0}),Ht.default=void 0;var e={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"]]},t=e;return Ht.default=t,Ht}var Wt={},hl;function Kb(){if(hl)return Wt;hl=1,Object.defineProperty(Wt,"__esModule",{value:!0}),Wt.default=void 0;var e={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]},t=e;return Wt.default=t,Wt}var Gt={},bl;function Yb(){if(bl)return Gt;bl=1,Object.defineProperty(Gt,"__esModule",{value:!0}),Gt.default=void 0;var e={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]},t=e;return Gt.default=t,Gt}var Kt={},vl;function Xb(){if(vl)return Kt;vl=1,Object.defineProperty(Kt,"__esModule",{value:!0}),Kt.default=void 0;var e={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-modal":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]},t=e;return Kt.default=t,Kt}var yl;function Jb(){if(yl)return jt;yl=1,Object.defineProperty(jt,"__esModule",{value:!0}),jt.default=void 0;var e=c(Bb()),t=c(Lb()),r=c(Fb()),n=c(Ub()),o=c(zb()),a=c(Vb()),i=c(Hb()),s=c(Wb()),l=c(Gb()),u=c(Kb()),d=c(Yb()),f=c(Xb());function c(w){return w&&w.__esModule?w:{default:w}}var h=[["command",e.default],["composite",t.default],["input",r.default],["landmark",n.default],["range",o.default],["roletype",a.default],["section",i.default],["sectionhead",s.default],["select",l.default],["structure",u.default],["widget",d.default],["window",f.default]],v=h;return jt.default=v,jt}var Yt={},Xt={},gl;function Qb(){if(gl)return Xt;gl=1,Object.defineProperty(Xt,"__esModule",{value:!0}),Xt.default=void 0;var e={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"]]},t=e;return Xt.default=t,Xt}var Jt={},wl;function Zb(){if(wl)return Jt;wl=1,Object.defineProperty(Jt,"__esModule",{value:!0}),Jt.default=void 0;var e={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"]]},t=e;return Jt.default=t,Jt}var Qt={},Rl;function ev(){if(Rl)return Qt;Rl=1,Object.defineProperty(Qt,"__esModule",{value:!0}),Qt.default=void 0;var e={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"]]},t=e;return Qt.default=t,Qt}var Zt={},El;function tv(){if(El)return Zt;El=1,Object.defineProperty(Zt,"__esModule",{value:!0}),Zt.default=void 0;var e={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"]]},t=e;return Zt.default=t,Zt}var er={},xl;function rv(){if(xl)return er;xl=1,Object.defineProperty(er,"__esModule",{value:!0}),er.default=void 0;var e={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"]]},t=e;return er.default=t,er}var tr={},Cl;function nv(){if(Cl)return tr;Cl=1,Object.defineProperty(tr,"__esModule",{value:!0}),tr.default=void 0;var e={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"]]},t=e;return tr.default=t,tr}var rr={},ql;function ov(){if(ql)return rr;ql=1,Object.defineProperty(rr,"__esModule",{value:!0}),rr.default=void 0;var e={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"]]},t=e;return rr.default=t,rr}var nr={},_l;function av(){if(_l)return nr;_l=1,Object.defineProperty(nr,"__esModule",{value:!0}),nr.default=void 0;var e={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"]]},t=e;return nr.default=t,nr}var or={},Pl;function iv(){if(Pl)return or;Pl=1,Object.defineProperty(or,"__esModule",{value:!0}),or.default=void 0;var e={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"]]},t=e;return or.default=t,or}var ar={},Tl;function sv(){if(Tl)return ar;Tl=1,Object.defineProperty(ar,"__esModule",{value:!0}),ar.default=void 0;var e={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"]]},t=e;return ar.default=t,ar}var ir={},Sl;function lv(){if(Sl)return ir;Sl=1,Object.defineProperty(ir,"__esModule",{value:!0}),ir.default=void 0;var e={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"]]},t=e;return ir.default=t,ir}var sr={},Al;function uv(){if(Al)return sr;Al=1,Object.defineProperty(sr,"__esModule",{value:!0}),sr.default=void 0;var e={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"]]},t=e;return sr.default=t,sr}var lr={},Ml;function cv(){if(Ml)return lr;Ml=1,Object.defineProperty(lr,"__esModule",{value:!0}),lr.default=void 0;var e={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-autocomplete":null,"aria-errormessage":null,"aria-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"]]},t=e;return lr.default=t,lr}var ur={},Ol;function dv(){if(Ol)return ur;Ol=1,Object.defineProperty(ur,"__esModule",{value:!0}),ur.default=void 0;var e={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"]]},t=e;return ur.default=t,ur}var cr={},Il;function fv(){if(Il)return cr;Il=1,Object.defineProperty(cr,"__esModule",{value:!0}),cr.default=void 0;var e={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"]]},t=e;return cr.default=t,cr}var dr={},Nl;function pv(){if(Nl)return dr;Nl=1,Object.defineProperty(dr,"__esModule",{value:!0}),dr.default=void 0;var e={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"]]},t=e;return dr.default=t,dr}var fr={},kl;function mv(){if(kl)return fr;kl=1,Object.defineProperty(fr,"__esModule",{value:!0}),fr.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"del"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},t=e;return fr.default=t,fr}var pr={},jl;function hv(){if(jl)return pr;jl=1,Object.defineProperty(pr,"__esModule",{value:!0}),pr.default=void 0;var e={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"dialog"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","window"]]},t=e;return pr.default=t,pr}var mr={},Dl;function bv(){if(Dl)return mr;Dl=1,Object.defineProperty(mr,"__esModule",{value:!0}),mr.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{module:"DAISY Guide"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","list"]]},t=e;return mr.default=t,mr}var hr={},$l;function vv(){if($l)return hr;$l=1,Object.defineProperty(hr,"__esModule",{value:!0}),hr.default=void 0;var e={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"]]},t=e;return hr.default=t,hr}var br={},Bl;function yv(){if(Bl)return br;Bl=1,Object.defineProperty(br,"__esModule",{value:!0}),br.default=void 0;var e={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"]]},t=e;return br.default=t,br}var vr={},Ll;function gv(){if(Ll)return vr;Ll=1,Object.defineProperty(vr,"__esModule",{value:!0}),vr.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["article"]],requiredProps:{},superClass:[["roletype","structure","section","list"]]},t=e;return vr.default=t,vr}var yr={},Fl;function wv(){if(Fl)return yr;Fl=1,Object.defineProperty(yr,"__esModule",{value:!0}),yr.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"figure"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},t=e;return yr.default=t,yr}var gr={},Ul;function Rv(){if(Ul)return gr;Ul=1,Object.defineProperty(gr,"__esModule",{value:!0}),gr.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"aria-label"}],name:"form"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-labelledby"}],name:"form"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"name"}],name:"form"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},t=e;return gr.default=t,gr}var wr={},zl;function Ev(){if(zl)return wr;zl=1,Object.defineProperty(wr,"__esModule",{value:!0}),wr.default=void 0;var e={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"]]},t=e;return wr.default=t,wr}var Rr={},Vl;function xv(){if(Vl)return Rr;Vl=1,Object.defineProperty(Rr,"__esModule",{value:!0}),Rr.default=void 0;var e={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"]]},t=e;return Rr.default=t,Rr}var Er={},Hl;function Cv(){if(Hl)return Er;Hl=1,Object.defineProperty(Er,"__esModule",{value:!0}),Er.default=void 0;var e={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"]]},t=e;return Er.default=t,Er}var xr={},Wl;function qv(){if(Wl)return xr;Wl=1,Object.defineProperty(xr,"__esModule",{value:!0}),xr.default=void 0;var e={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"]]},t=e;return xr.default=t,xr}var Cr={},Gl;function _v(){if(Gl)return Cr;Gl=1,Object.defineProperty(Cr,"__esModule",{value:!0}),Cr.default=void 0;var e={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"]]},t=e;return Cr.default=t,Cr}var qr={},Kl;function Pv(){if(Kl)return qr;Kl=1,Object.defineProperty(qr,"__esModule",{value:!0}),qr.default=void 0;var e={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"]]},t=e;return qr.default=t,qr}var _r={},Yl;function Tv(){if(Yl)return _r;Yl=1,Object.defineProperty(_r,"__esModule",{value:!0}),_r.default=void 0;var e={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"]]},t=e;return _r.default=t,_r}var Pr={},Xl;function Sv(){if(Xl)return Pr;Xl=1,Object.defineProperty(Pr,"__esModule",{value:!0}),Pr.default=void 0;var e={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"]]},t=e;return Pr.default=t,Pr}var Tr={},Jl;function Av(){if(Jl)return Tr;Jl=1,Object.defineProperty(Tr,"__esModule",{value:!0}),Tr.default=void 0;var e={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"]]},t=e;return Tr.default=t,Tr}var Sr={},Ql;function Mv(){if(Ql)return Sr;Ql=1,Object.defineProperty(Sr,"__esModule",{value:!0}),Sr.default=void 0;var e={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"]]},t=e;return Sr.default=t,Sr}var Ar={},Zl;function Ov(){if(Zl)return Ar;Zl=1,Object.defineProperty(Ar,"__esModule",{value:!0}),Ar.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-level":null,"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{constraints:["direct descendant of ol","direct descendant of ul","direct descendant of menu"],name:"li"},module:"HTML"},{concept:{name:"item"},module:"XForms"}],requireContextRole:["directory","list"],requiredContextRole:["directory","list"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},t=e;return Ar.default=t,Ar}var Mr={},eu;function Iv(){if(eu)return Mr;eu=1,Object.defineProperty(Mr,"__esModule",{value:!0}),Mr.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-live":"polite"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},t=e;return Mr.default=t,Mr}var Or={},tu;function Nv(){if(tu)return Or;tu=1,Object.defineProperty(Or,"__esModule",{value:!0}),Or.default=void 0;var e={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"]]},t=e;return Or.default=t,Or}var Ir={},ru;function kv(){if(ru)return Ir;ru=1,Object.defineProperty(Ir,"__esModule",{value:!0}),Ir.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"]]},t=e;return Ir.default=t,Ir}var Nr={},nu;function jv(){if(nu)return Nr;nu=1,Object.defineProperty(Nr,"__esModule",{value:!0}),Nr.default=void 0;var e={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},t=e;return Nr.default=t,Nr}var kr={},ou;function Dv(){if(ou)return kr;ou=1,Object.defineProperty(kr,"__esModule",{value:!0}),kr.default=void 0;var e={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"]]},t=e;return kr.default=t,kr}var jr={},au;function $v(){if(au)return jr;au=1,Object.defineProperty(jr,"__esModule",{value:!0}),jr.default=void 0;var e={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"]]},t=e;return jr.default=t,jr}var Dr={},iu;function Bv(){if(iu)return Dr;iu=1,Object.defineProperty(Dr,"__esModule",{value:!0}),Dr.default=void 0;var e={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"]]},t=e;return Dr.default=t,Dr}var $r={},su;function Lv(){if(su)return $r;su=1,Object.defineProperty($r,"__esModule",{value:!0}),$r.default=void 0;var e={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"]]},t=e;return $r.default=t,$r}var Br={},lu;function Fv(){if(lu)return Br;lu=1,Object.defineProperty(Br,"__esModule",{value:!0}),Br.default=void 0;var e={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"menuitem"},module:"ARIA"}],requireContextRole:["group","menu","menubar"],requiredContextRole:["group","menu","menubar"],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input","checkbox"],["roletype","widget","command","menuitem"]]},t=e;return Br.default=t,Br}var Lr={},uu;function Uv(){if(uu)return Lr;uu=1,Object.defineProperty(Lr,"__esModule",{value:!0}),Lr.default=void 0;var e={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"menuitem"},module:"ARIA"}],requireContextRole:["group","menu","menubar"],requiredContextRole:["group","menu","menubar"],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input","checkbox","menuitemcheckbox"],["roletype","widget","command","menuitem","menuitemcheckbox"],["roletype","widget","input","radio"]]},t=e;return Lr.default=t,Lr}var Fr={},cu;function zv(){if(cu)return Fr;cu=1,Object.defineProperty(Fr,"__esModule",{value:!0}),Fr.default=void 0;var e={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"]]},t=e;return Fr.default=t,Fr}var Ur={},du;function Vv(){if(du)return Ur;du=1,Object.defineProperty(Ur,"__esModule",{value:!0}),Ur.default=void 0;var e={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"]]},t=e;return Ur.default=t,Ur}var zr={},fu;function Hv(){if(fu)return zr;fu=1,Object.defineProperty(zr,"__esModule",{value:!0}),zr.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[]},t=e;return zr.default=t,zr}var Vr={},pu;function Wv(){if(pu)return Vr;pu=1,Object.defineProperty(Vr,"__esModule",{value:!0}),Vr.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},t=e;return Vr.default=t,Vr}var Hr={},mu;function Gv(){if(mu)return Hr;mu=1,Object.defineProperty(Hr,"__esModule",{value:!0}),Hr.default=void 0;var e={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"]]},t=e;return Hr.default=t,Hr}var Wr={},hu;function Kv(){if(hu)return Wr;hu=1,Object.defineProperty(Wr,"__esModule",{value:!0}),Wr.default=void 0;var e={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"]]},t=e;return Wr.default=t,Wr}var Gr={},bu;function Yv(){if(bu)return Gr;bu=1,Object.defineProperty(Gr,"__esModule",{value:!0}),Gr.default=void 0;var e={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"]]},t=e;return Gr.default=t,Gr}var Kr={},vu;function Xv(){if(vu)return Kr;vu=1,Object.defineProperty(Kr,"__esModule",{value:!0}),Kr.default=void 0;var e={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"]]},t=e;return Kr.default=t,Kr}var Yr={},yu;function Jv(){if(yu)return Yr;yu=1,Object.defineProperty(Yr,"__esModule",{value:!0}),Yr.default=void 0;var e={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"]]},t=e;return Yr.default=t,Yr}var Xr={},gu;function Qv(){if(gu)return Xr;gu=1,Object.defineProperty(Xr,"__esModule",{value:!0}),Xr.default=void 0;var e={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"]]},t=e;return Xr.default=t,Xr}var Jr={},wu;function Zv(){if(wu)return Jr;wu=1,Object.defineProperty(Jr,"__esModule",{value:!0}),Jr.default=void 0;var e={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"]]},t=e;return Jr.default=t,Jr}var Qr={},Ru;function ey(){if(Ru)return Qr;Ru=1,Object.defineProperty(Qr,"__esModule",{value:!0}),Qr.default=void 0;var e={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"]]},t=e;return Qr.default=t,Qr}var Zr={},Eu;function ty(){if(Eu)return Zr;Eu=1,Object.defineProperty(Zr,"__esModule",{value:!0}),Zr.default=void 0;var e={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"]]},t=e;return Zr.default=t,Zr}var en={},xu;function ry(){if(xu)return en;xu=1,Object.defineProperty(en,"__esModule",{value:!0}),en.default=void 0;var e={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"]]},t=e;return en.default=t,en}var tn={},Cu;function ny(){if(Cu)return tn;Cu=1,Object.defineProperty(tn,"__esModule",{value:!0}),tn.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-valuetext":null,"aria-orientation":"vertical","aria-valuemax":"100","aria-valuemin":"0"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-controls":null,"aria-valuenow":null},superClass:[["roletype","structure","range"],["roletype","widget"]]},t=e;return tn.default=t,tn}var rn={},qu;function oy(){if(qu)return rn;qu=1,Object.defineProperty(rn,"__esModule",{value:!0}),rn.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},t=e;return rn.default=t,rn}var nn={},_u;function ay(){if(_u)return nn;_u=1,Object.defineProperty(nn,"__esModule",{value:!0}),nn.default=void 0;var e={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"]]},t=e;return nn.default=t,nn}var on={},Pu;function iy(){if(Pu)return on;Pu=1,Object.defineProperty(on,"__esModule",{value:!0}),on.default=void 0;var e={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"]]},t=e;return on.default=t,on}var an={},Tu;function sy(){if(Tu)return an;Tu=1,Object.defineProperty(an,"__esModule",{value:!0}),an.default=void 0;var e={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"]]},t=e;return an.default=t,an}var sn={},Su;function ly(){if(Su)return sn;Su=1,Object.defineProperty(sn,"__esModule",{value:!0}),sn.default=void 0;var e={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"]]},t=e;return sn.default=t,sn}var ln={},Au;function uy(){if(Au)return ln;Au=1,Object.defineProperty(ln,"__esModule",{value:!0}),ln.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-atomic":"true","aria-live":"polite"},relatedConcepts:[{concept:{name:"output"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},t=e;return ln.default=t,ln}var un={},Mu;function cy(){if(Mu)return un;Mu=1,Object.defineProperty(un,"__esModule",{value:!0}),un.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"strong"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},t=e;return un.default=t,un}var cn={},Ou;function dy(){if(Ou)return cn;Ou=1,Object.defineProperty(cn,"__esModule",{value:!0}),cn.default=void 0;var e={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"]]},t=e;return cn.default=t,cn}var dn={},Iu;function fy(){if(Iu)return dn;Iu=1,Object.defineProperty(dn,"__esModule",{value:!0}),dn.default=void 0;var e={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"]]},t=e;return dn.default=t,dn}var fn={},Nu;function py(){if(Nu)return fn;Nu=1,Object.defineProperty(fn,"__esModule",{value:!0}),fn.default=void 0;var e={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"button"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input","checkbox"]]},t=e;return fn.default=t,fn}var pn={},ku;function my(){if(ku)return pn;ku=1,Object.defineProperty(pn,"__esModule",{value:!0}),pn.default=void 0;var e={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"]]},t=e;return pn.default=t,pn}var mn={},ju;function hy(){if(ju)return mn;ju=1,Object.defineProperty(mn,"__esModule",{value:!0}),mn.default=void 0;var e={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"]]},t=e;return mn.default=t,mn}var hn={},Du;function by(){if(Du)return hn;Du=1,Object.defineProperty(hn,"__esModule",{value:!0}),hn.default=void 0;var e={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"]]},t=e;return hn.default=t,hn}var bn={},$u;function vy(){if($u)return bn;$u=1,Object.defineProperty(bn,"__esModule",{value:!0}),bn.default=void 0;var e={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},t=e;return bn.default=t,bn}var vn={},Bu;function yy(){if(Bu)return vn;Bu=1,Object.defineProperty(vn,"__esModule",{value:!0}),vn.default=void 0;var e={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"]]},t=e;return vn.default=t,vn}var yn={},Lu;function gy(){if(Lu)return yn;Lu=1,Object.defineProperty(yn,"__esModule",{value:!0}),yn.default=void 0;var e={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-autocomplete":null,"aria-errormessage":null,"aria-haspopup":null,"aria-invalid":null,"aria-multiline":null,"aria-placeholder":null,"aria-readonly":null,"aria-required":null},relatedConcepts:[{concept:{attributes:[{constraints:["undefined"],name:"type"},{constraints:["undefined"],name:"list"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"email"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"tel"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"text"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"url"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{name:"input"},module:"XForms"},{concept:{name:"textarea"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","input"]]},t=e;return yn.default=t,yn}var gn={},Fu;function wy(){if(Fu)return gn;Fu=1,Object.defineProperty(gn,"__esModule",{value:!0}),gn.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"time"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},t=e;return gn.default=t,gn}var wn={},Uu;function Ry(){if(Uu)return wn;Uu=1,Object.defineProperty(wn,"__esModule",{value:!0}),wn.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","status"]]},t=e;return wn.default=t,wn}var Rn={},zu;function Ey(){if(zu)return Rn;zu=1,Object.defineProperty(Rn,"__esModule",{value:!0}),Rn.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":"horizontal"},relatedConcepts:[{concept:{name:"menubar"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","group"]]},t=e;return Rn.default=t,Rn}var En={},Vu;function xy(){if(Vu)return En;Vu=1,Object.defineProperty(En,"__esModule",{value:!0}),En.default=void 0;var e={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},t=e;return En.default=t,En}var xn={},Hu;function Cy(){if(Hu)return xn;Hu=1,Object.defineProperty(xn,"__esModule",{value:!0}),xn.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;return xn.default=t,xn}var Cn={},Wu;function qy(){if(Wu)return Cn;Wu=1,Object.defineProperty(Cn,"__esModule",{value:!0}),Cn.default=void 0;var e={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"]]},t=e;return Cn.default=t,Cn}var qn={},Gu;function _y(){if(Gu)return qn;Gu=1,Object.defineProperty(qn,"__esModule",{value:!0}),qn.default=void 0;var e={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"]]},t=e;return qn.default=t,qn}var Ku;function Py(){if(Ku)return Yt;Ku=1,Object.defineProperty(Yt,"__esModule",{value:!0}),Yt.default=void 0;var e=I(Qb()),t=I(Zb()),r=I(ev()),n=I(tv()),o=I(rv()),a=I(nv()),i=I(ov()),s=I(av()),l=I(iv()),u=I(sv()),d=I(lv()),f=I(uv()),c=I(cv()),h=I(dv()),v=I(fv()),w=I(pv()),S=I(mv()),p=I(hv()),q=I(bv()),_=I(vv()),T=I(yv()),P=I(gv()),y=I(wv()),g=I(Rv()),E=I(Ev()),M=I(xv()),N=I(Cv()),j=I(qv()),D=I(_v()),A=I(Pv()),k=I(Tv()),F=I(Sv()),Z=I(Av()),Y=I(Mv()),le=I(Ov()),ye=I(Iv()),rt=I(Nv()),Ve=I(kv()),He=I(jv()),L=I(Dv()),We=I($v()),nt=I(Bv()),ge=I(Lv()),At=I(Fv()),Mt=I(Uv()),C=I(zv()),$=I(Vv()),O=I(Hv()),W=I(Wv()),V=I(Gv()),re=I(Kv()),oe=I(Yv()),ue=I(Xv()),Se=I(Jv()),Np=I(Qv()),kp=I(Zv()),jp=I(ey()),Dp=I(ty()),$p=I(ry()),Bp=I(ny()),Lp=I(oy()),Fp=I(ay()),Up=I(iy()),zp=I(sy()),Vp=I(ly()),Hp=I(uy()),Wp=I(cy()),Gp=I(dy()),Kp=I(fy()),Yp=I(py()),Xp=I(my()),Jp=I(hy()),Qp=I(by()),Zp=I(vy()),em=I(yy()),tm=I(gy()),rm=I(wy()),nm=I(Ry()),om=I(Ey()),am=I(xy()),im=I(Cy()),sm=I(qy()),lm=I(_y());function I(zo){return zo&&zo.__esModule?zo:{default:zo}}var um=[["alert",e.default],["alertdialog",t.default],["application",r.default],["article",n.default],["banner",o.default],["blockquote",a.default],["button",i.default],["caption",s.default],["cell",l.default],["checkbox",u.default],["code",d.default],["columnheader",f.default],["combobox",c.default],["complementary",h.default],["contentinfo",v.default],["definition",w.default],["deletion",S.default],["dialog",p.default],["directory",q.default],["document",_.default],["emphasis",T.default],["feed",P.default],["figure",y.default],["form",g.default],["generic",E.default],["grid",M.default],["gridcell",N.default],["group",j.default],["heading",D.default],["img",A.default],["insertion",k.default],["link",F.default],["list",Z.default],["listbox",Y.default],["listitem",le.default],["log",ye.default],["main",rt.default],["mark",Ve.default],["marquee",He.default],["math",L.default],["menu",We.default],["menubar",nt.default],["menuitem",ge.default],["menuitemcheckbox",At.default],["menuitemradio",Mt.default],["meter",C.default],["navigation",$.default],["none",O.default],["note",W.default],["option",V.default],["paragraph",re.default],["presentation",oe.default],["progressbar",ue.default],["radio",Se.default],["radiogroup",Np.default],["region",kp.default],["row",jp.default],["rowgroup",Dp.default],["rowheader",$p.default],["scrollbar",Bp.default],["search",Lp.default],["searchbox",Fp.default],["separator",Up.default],["slider",zp.default],["spinbutton",Vp.default],["status",Hp.default],["strong",Wp.default],["subscript",Gp.default],["superscript",Kp.default],["switch",Yp.default],["tab",Xp.default],["table",Jp.default],["tablist",Qp.default],["tabpanel",Zp.default],["term",em.default],["textbox",tm.default],["time",rm.default],["timer",nm.default],["toolbar",om.default],["tooltip",am.default],["tree",im.default],["treegrid",sm.default],["treeitem",lm.default]],cm=um;return Yt.default=cm,Yt}var _n={},Pn={},Yu;function Ty(){if(Yu)return Pn;Yu=1,Object.defineProperty(Pn,"__esModule",{value:!0}),Pn.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],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"]]},t=e;return Pn.default=t,Pn}var Tn={},Xu;function Sy(){if(Xu)return Tn;Xu=1,Object.defineProperty(Tn,"__esModule",{value:!0}),Tn.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],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"]]},t=e;return Tn.default=t,Tn}var Sn={},Ju;function Ay(){if(Ju)return Sn;Ju=1,Object.defineProperty(Sn,"__esModule",{value:!0}),Sn.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],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"]]},t=e;return Sn.default=t,Sn}var An={},Qu;function My(){if(Qu)return An;Qu=1,Object.defineProperty(An,"__esModule",{value:!0}),An.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],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"]]},t=e;return An.default=t,An}var Mn={},Zu;function Oy(){if(Zu)return Mn;Zu=1,Object.defineProperty(Mn,"__esModule",{value:!0}),Mn.default=void 0;var e={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"referrer [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]},t=e;return Mn.default=t,Mn}var On={},ec;function Iy(){if(ec)return On;ec=1,Object.defineProperty(On,"__esModule",{value:!0}),On.default=void 0;var e={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"]]},t=e;return On.default=t,On}var In={},tc;function Ny(){if(tc)return In;tc=1,Object.defineProperty(In,"__esModule",{value:!0}),In.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],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"]]},t=e;return In.default=t,In}var Nn={},rc;function ky(){if(rc)return Nn;rc=1,Object.defineProperty(Nn,"__esModule",{value:!0}),Nn.default=void 0;var e={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"]]},t=e;return Nn.default=t,Nn}var kn={},nc;function jy(){if(nc)return kn;nc=1,Object.defineProperty(kn,"__esModule",{value:!0}),kn.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],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"]]},t=e;return kn.default=t,kn}var jn={},oc;function Dy(){if(oc)return jn;oc=1,Object.defineProperty(jn,"__esModule",{value:!0}),jn.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],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"]]},t=e;return jn.default=t,jn}var Dn={},ac;function $y(){if(ac)return Dn;ac=1,Object.defineProperty(Dn,"__esModule",{value:!0}),Dn.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],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"]]},t=e;return Dn.default=t,Dn}var $n={},ic;function By(){if(ic)return $n;ic=1,Object.defineProperty($n,"__esModule",{value:!0}),$n.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],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"]]},t=e;return $n.default=t,$n}var Bn={},sc;function Ly(){if(sc)return Bn;sc=1,Object.defineProperty(Bn,"__esModule",{value:!0}),Bn.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],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"]]},t=e;return Bn.default=t,Bn}var Ln={},lc;function Fy(){if(lc)return Ln;lc=1,Object.defineProperty(Ln,"__esModule",{value:!0}),Ln.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],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"]]},t=e;return Ln.default=t,Ln}var Fn={},uc;function Uy(){if(uc)return Fn;uc=1,Object.defineProperty(Fn,"__esModule",{value:!0}),Fn.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],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"]]},t=e;return Fn.default=t,Fn}var Un={},cc;function zy(){if(cc)return Un;cc=1,Object.defineProperty(Un,"__esModule",{value:!0}),Un.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],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"]]},t=e;return Un.default=t,Un}var zn={},dc;function Vy(){if(dc)return zn;dc=1,Object.defineProperty(zn,"__esModule",{value:!0}),zn.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],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"]]},t=e;return zn.default=t,zn}var Vn={},fc;function Hy(){if(fc)return Vn;fc=1,Object.defineProperty(Vn,"__esModule",{value:!0}),Vn.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],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"]]},t=e;return Vn.default=t,Vn}var Hn={},pc;function Wy(){if(pc)return Hn;pc=1,Object.defineProperty(Hn,"__esModule",{value:!0}),Hn.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],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"]]},t=e;return Hn.default=t,Hn}var Wn={},mc;function Gy(){if(mc)return Wn;mc=1,Object.defineProperty(Wn,"__esModule",{value:!0}),Wn.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],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"]]},t=e;return Wn.default=t,Wn}var Gn={},hc;function Ky(){if(hc)return Gn;hc=1,Object.defineProperty(Gn,"__esModule",{value:!0}),Gn.default=void 0;var e={abstract:!1,accessibleNameRequired:!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"]]},t=e;return Gn.default=t,Gn}var Kn={},bc;function Yy(){if(bc)return Kn;bc=1,Object.defineProperty(Kn,"__esModule",{value:!0}),Kn.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],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"]]},t=e;return Kn.default=t,Kn}var Yn={},vc;function Xy(){if(vc)return Yn;vc=1,Object.defineProperty(Yn,"__esModule",{value:!0}),Yn.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],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"]]},t=e;return Yn.default=t,Yn}var Xn={},yc;function Jy(){if(yc)return Xn;yc=1,Object.defineProperty(Xn,"__esModule",{value:!0}),Xn.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],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"]]},t=e;return Xn.default=t,Xn}var Jn={},gc;function Qy(){if(gc)return Jn;gc=1,Object.defineProperty(Jn,"__esModule",{value:!0}),Jn.default=void 0;var e={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"]]},t=e;return Jn.default=t,Jn}var Qn={},wc;function Zy(){if(wc)return Qn;wc=1,Object.defineProperty(Qn,"__esModule",{value:!0}),Qn.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],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"]]},t=e;return Qn.default=t,Qn}var Zn={},Rc;function eg(){if(Rc)return Zn;Rc=1,Object.defineProperty(Zn,"__esModule",{value:!0}),Zn.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],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"]]},t=e;return Zn.default=t,Zn}var eo={},Ec;function tg(){if(Ec)return eo;Ec=1,Object.defineProperty(eo,"__esModule",{value:!0}),eo.default=void 0;var e={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"]]},t=e;return eo.default=t,eo}var to={},xc;function rg(){if(xc)return to;xc=1,Object.defineProperty(to,"__esModule",{value:!0}),to.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],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"]]},t=e;return to.default=t,to}var ro={},Cc;function ng(){if(Cc)return ro;Cc=1,Object.defineProperty(ro,"__esModule",{value:!0}),ro.default=void 0;var e={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"]]},t=e;return ro.default=t,ro}var no={},qc;function og(){if(qc)return no;qc=1,Object.defineProperty(no,"__esModule",{value:!0}),no.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],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"]]},t=e;return no.default=t,no}var oo={},_c;function ag(){if(_c)return oo;_c=1,Object.defineProperty(oo,"__esModule",{value:!0}),oo.default=void 0;var e={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"]]},t=e;return oo.default=t,oo}var ao={},Pc;function ig(){if(Pc)return ao;Pc=1,Object.defineProperty(ao,"__esModule",{value:!0}),ao.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"preface [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},t=e;return ao.default=t,ao}var io={},Tc;function sg(){if(Tc)return io;Tc=1,Object.defineProperty(io,"__esModule",{value:!0}),io.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],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"]]},t=e;return io.default=t,io}var so={},Sc;function lg(){if(Sc)return so;Sc=1,Object.defineProperty(so,"__esModule",{value:!0}),so.default=void 0;var e={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"]]},t=e;return so.default=t,so}var lo={},Ac;function ug(){if(Ac)return lo;Ac=1,Object.defineProperty(lo,"__esModule",{value:!0}),lo.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],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"]]},t=e;return lo.default=t,lo}var uo={},Mc;function cg(){if(Mc)return uo;Mc=1,Object.defineProperty(uo,"__esModule",{value:!0}),uo.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],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"]]},t=e;return uo.default=t,uo}var co={},Oc;function dg(){if(Oc)return co;Oc=1,Object.defineProperty(co,"__esModule",{value:!0}),co.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],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"]]},t=e;return co.default=t,co}var fo={},Ic;function fg(){if(Ic)return fo;Ic=1,Object.defineProperty(fo,"__esModule",{value:!0}),fo.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],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"]]},t=e;return fo.default=t,fo}var Nc;function pg(){if(Nc)return _n;Nc=1,Object.defineProperty(_n,"__esModule",{value:!0}),_n.default=void 0;var e=L(Ty()),t=L(Sy()),r=L(Ay()),n=L(My()),o=L(Oy()),a=L(Iy()),i=L(Ny()),s=L(ky()),l=L(jy()),u=L(Dy()),d=L($y()),f=L(By()),c=L(Ly()),h=L(Fy()),v=L(Uy()),w=L(zy()),S=L(Vy()),p=L(Hy()),q=L(Wy()),_=L(Gy()),T=L(Ky()),P=L(Yy()),y=L(Xy()),g=L(Jy()),E=L(Qy()),M=L(Zy()),N=L(eg()),j=L(tg()),D=L(rg()),A=L(ng()),k=L(og()),F=L(ag()),Z=L(ig()),Y=L(sg()),le=L(lg()),ye=L(ug()),rt=L(cg()),Ve=L(dg()),He=L(fg());function L(ge){return ge&&ge.__esModule?ge:{default:ge}}var We=[["doc-abstract",e.default],["doc-acknowledgments",t.default],["doc-afterword",r.default],["doc-appendix",n.default],["doc-backlink",o.default],["doc-biblioentry",a.default],["doc-bibliography",i.default],["doc-biblioref",s.default],["doc-chapter",l.default],["doc-colophon",u.default],["doc-conclusion",d.default],["doc-cover",f.default],["doc-credit",c.default],["doc-credits",h.default],["doc-dedication",v.default],["doc-endnote",w.default],["doc-endnotes",S.default],["doc-epigraph",p.default],["doc-epilogue",q.default],["doc-errata",_.default],["doc-example",T.default],["doc-footnote",P.default],["doc-foreword",y.default],["doc-glossary",g.default],["doc-glossref",E.default],["doc-index",M.default],["doc-introduction",N.default],["doc-noteref",j.default],["doc-notice",D.default],["doc-pagebreak",A.default],["doc-pagelist",k.default],["doc-part",F.default],["doc-preface",Z.default],["doc-prologue",Y.default],["doc-pullquote",le.default],["doc-qna",ye.default],["doc-subtitle",rt.default],["doc-tip",Ve.default],["doc-toc",He.default]],nt=We;return _n.default=nt,_n}var po={},mo={},kc;function mg(){if(kc)return mo;kc=1,Object.defineProperty(mo,"__esModule",{value:!0}),mo.default=void 0;var e={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"]]},t=e;return mo.default=t,mo}var ho={},jc;function hg(){if(jc)return ho;jc=1,Object.defineProperty(ho,"__esModule",{value:!0}),ho.default=void 0;var e={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"]]},t=e;return ho.default=t,ho}var bo={},Dc;function bg(){if(Dc)return bo;Dc=1,Object.defineProperty(bo,"__esModule",{value:!0}),bo.default=void 0;var e={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"]]},t=e;return bo.default=t,bo}var $c;function vg(){if($c)return po;$c=1,Object.defineProperty(po,"__esModule",{value:!0}),po.default=void 0;var e=n(mg()),t=n(hg()),r=n(bg());function n(i){return i&&i.__esModule?i:{default:i}}var o=[["graphics-document",e.default],["graphics-object",t.default],["graphics-symbol",r.default]],a=o;return po.default=a,po}var Bc;function hs(){if(Bc)return kt;Bc=1,Object.defineProperty(kt,"__esModule",{value:!0}),kt.default=void 0;var e=a(Jb()),t=a(Py()),r=a(pg()),n=a(vg()),o=a(Fo());function a(p){return p&&p.__esModule?p:{default:p}}function i(p,q,_){return q in p?Object.defineProperty(p,q,{value:_,enumerable:!0,configurable:!0,writable:!0}):p[q]=_,p}function s(p,q){var _=typeof Symbol<"u"&&p[Symbol.iterator]||p["@@iterator"];if(!_){if(Array.isArray(p)||(_=d(p))||q){_&&(p=_);var T=0,P=function(){};return{s:P,n:function(){return T>=p.length?{done:!0}:{done:!1,value:p[T++]}},e:function(N){throw N},f:P}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
21
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var y=!0,g=!1,E;return{s:function(){_=_.call(p)},n:function(){var N=_.next();return y=N.done,N},e:function(N){g=!0,E=N},f:function(){try{!y&&_.return!=null&&_.return()}finally{if(g)throw E}}}}function l(p,q){return h(p)||c(p,q)||d(p,q)||u()}function u(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
22
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function d(p,q){if(p){if(typeof p=="string")return f(p,q);var _=Object.prototype.toString.call(p).slice(8,-1);if(_==="Object"&&p.constructor&&(_=p.constructor.name),_==="Map"||_==="Set")return Array.from(p);if(_==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(_))return f(p,q)}}function f(p,q){(q==null||q>p.length)&&(q=p.length);for(var _=0,T=new Array(q);_<q;_++)T[_]=p[_];return T}function c(p,q){var _=p==null?null:typeof Symbol<"u"&&p[Symbol.iterator]||p["@@iterator"];if(_!=null){var T=[],P=!0,y=!1,g,E;try{for(_=_.call(p);!(P=(g=_.next()).done)&&(T.push(g.value),!(q&&T.length===q));P=!0);}catch(M){y=!0,E=M}finally{try{!P&&_.return!=null&&_.return()}finally{if(y)throw E}}return T}}function h(p){if(Array.isArray(p))return p}var v=[].concat(e.default,t.default,r.default,n.default);v.forEach(function(p){var q=l(p,2),_=q[1],T=s(_.superClass),P;try{for(T.s();!(P=T.n()).done;){var y=P.value,g=s(y),E;try{var M=function(){var j=E.value,D=v.find(function(Y){var le=l(Y,1),ye=le[0];return ye===j});if(D)for(var A=D[1],k=0,F=Object.keys(A.props);k<F.length;k++){var Z=F[k];Object.prototype.hasOwnProperty.call(_.props,Z)||Object.assign(_.props,i({},Z,A.props[Z]))}};for(g.s();!(E=g.n()).done;)M()}catch(N){g.e(N)}finally{g.f()}}}catch(N){T.e(N)}finally{T.f()}});var w={entries:function(){return v},forEach:function(q){var _=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,T=s(v),P;try{for(T.s();!(P=T.n()).done;){var y=l(P.value,2),g=y[0],E=y[1];q.call(_,E,g,v)}}catch(M){T.e(M)}finally{T.f()}},get:function(q){var _=v.find(function(T){return T[0]===q});return _&&_[1]},has:function(q){return!!w.get(q)},keys:function(){return v.map(function(q){var _=l(q,1),T=_[0];return T})},values:function(){return v.map(function(q){var _=l(q,2),T=_[1];return T})}},S=(0,o.default)(w,w.entries());return kt.default=S,kt}var vo={},za={},Lc;function yg(){if(Lc)return za;Lc=1;var e=Object.prototype.hasOwnProperty;function t(r,n){var o,a;if(r===n)return!0;if(r&&n&&(o=r.constructor)===n.constructor){if(o===Date)return r.getTime()===n.getTime();if(o===RegExp)return r.toString()===n.toString();if(o===Array){if((a=r.length)===n.length)for(;a--&&t(r[a],n[a]););return a===-1}if(!o||typeof r=="object"){a=0;for(o in r)if(e.call(r,o)&&++a&&!e.call(n,o)||!(o in n)||!t(r[o],n[o]))return!1;return Object.keys(n).length===a}}return r!==r&&n!==n}return za.dequal=t,za}var Fc;function gg(){if(Fc)return vo;Fc=1,Object.defineProperty(vo,"__esModule",{value:!0}),vo.default=void 0;var e=yg(),t=n(Fo()),r=n(hs());function n(P){return P&&P.__esModule?P:{default:P}}function o(P,y){return s(P)||i(P,y)||u(P,y)||a()}function a(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
23
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function i(P,y){var g=P==null?null:typeof Symbol<"u"&&P[Symbol.iterator]||P["@@iterator"];if(g!=null){var E=[],M=!0,N=!1,j,D;try{for(g=g.call(P);!(M=(j=g.next()).done)&&(E.push(j.value),!(y&&E.length===y));M=!0);}catch(A){N=!0,D=A}finally{try{!M&&g.return!=null&&g.return()}finally{if(N)throw D}}return E}}function s(P){if(Array.isArray(P))return P}function l(P,y){var g=typeof Symbol<"u"&&P[Symbol.iterator]||P["@@iterator"];if(!g){if(Array.isArray(P)||(g=u(P))||y){g&&(P=g);var E=0,M=function(){};return{s:M,n:function(){return E>=P.length?{done:!0}:{done:!1,value:P[E++]}},e:function(k){throw k},f:M}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
24
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var N=!0,j=!1,D;return{s:function(){g=g.call(P)},n:function(){var k=g.next();return N=k.done,k},e:function(k){j=!0,D=k},f:function(){try{!N&&g.return!=null&&g.return()}finally{if(j)throw D}}}}function u(P,y){if(P){if(typeof P=="string")return d(P,y);var g=Object.prototype.toString.call(P).slice(8,-1);if(g==="Object"&&P.constructor&&(g=P.constructor.name),g==="Map"||g==="Set")return Array.from(P);if(g==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(g))return d(P,y)}}function d(P,y){(y==null||y>P.length)&&(y=P.length);for(var g=0,E=new Array(y);g<y;g++)E[g]=P[g];return E}for(var f=[],c=r.default.keys(),h=0;h<c.length;h++){var v=c[h],w=r.default.get(v);if(w)for(var S=[].concat(w.baseConcepts,w.relatedConcepts),p=0;p<S.length;p++){var q=S[p];q.module==="HTML"&&(function(){var P=q.concept;if(P){var y=f.find(function(N){return(0,e.dequal)(N,P)}),g;y?g=y[1]:g=[];for(var E=!0,M=0;M<g.length;M++)if(g[M]===v){E=!1;break}E&&g.push(v),f.push([P,g])}})()}}var _={entries:function(){return f},forEach:function(y){var g=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,E=l(f),M;try{for(E.s();!(M=E.n()).done;){var N=o(M.value,2),j=N[0],D=N[1];y.call(g,D,j,f)}}catch(A){E.e(A)}finally{E.f()}},get:function(y){var g=f.find(function(E){return y.name===E[0].name&&(0,e.dequal)(y.attributes,E[0].attributes)});return g&&g[1]},has:function(y){return!!_.get(y)},keys:function(){return f.map(function(y){var g=o(y,1),E=g[0];return E})},values:function(){return f.map(function(y){var g=o(y,2),E=g[1];return E})}},T=(0,t.default)(_,_.entries());return vo.default=T,vo}var yo={},Uc;function wg(){if(Uc)return yo;Uc=1,Object.defineProperty(yo,"__esModule",{value:!0}),yo.default=void 0;var e=r(Fo()),t=r(hs());function r(y){return y&&y.__esModule?y:{default:y}}function n(y,g){return i(y)||a(y,g)||l(y,g)||o()}function o(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
25
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function a(y,g){var E=y==null?null:typeof Symbol<"u"&&y[Symbol.iterator]||y["@@iterator"];if(E!=null){var M=[],N=!0,j=!1,D,A;try{for(E=E.call(y);!(N=(D=E.next()).done)&&(M.push(D.value),!(g&&M.length===g));N=!0);}catch(k){j=!0,A=k}finally{try{!N&&E.return!=null&&E.return()}finally{if(j)throw A}}return M}}function i(y){if(Array.isArray(y))return y}function s(y,g){var E=typeof Symbol<"u"&&y[Symbol.iterator]||y["@@iterator"];if(!E){if(Array.isArray(y)||(E=l(y))||g){E&&(y=E);var M=0,N=function(){};return{s:N,n:function(){return M>=y.length?{done:!0}:{done:!1,value:y[M++]}},e:function(F){throw F},f:N}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
26
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var j=!0,D=!1,A;return{s:function(){E=E.call(y)},n:function(){var F=E.next();return j=F.done,F},e:function(F){D=!0,A=F},f:function(){try{!j&&E.return!=null&&E.return()}finally{if(D)throw A}}}}function l(y,g){if(y){if(typeof y=="string")return u(y,g);var E=Object.prototype.toString.call(y).slice(8,-1);if(E==="Object"&&y.constructor&&(E=y.constructor.name),E==="Map"||E==="Set")return Array.from(y);if(E==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(E))return u(y,g)}}function u(y,g){(g==null||g>y.length)&&(g=y.length);for(var E=0,M=new Array(g);E<g;E++)M[E]=y[E];return M}for(var d=[],f=t.default.keys(),c=0;c<f.length;c++){var h=f[c],v=t.default.get(h),w=[];if(v){for(var S=[].concat(v.baseConcepts,v.relatedConcepts),p=0;p<S.length;p++){var q=S[p];if(q.module==="HTML"){var _=q.concept;_!=null&&w.push(_)}}w.length>0&&d.push([h,w])}}var T={entries:function(){return d},forEach:function(g){var E=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,M=s(d),N;try{for(M.s();!(N=M.n()).done;){var j=n(N.value,2),D=j[0],A=j[1];g.call(E,A,D,d)}}catch(k){M.e(k)}finally{M.f()}},get:function(g){var E=d.find(function(M){return M[0]===g});return E&&E[1]},has:function(g){return!!T.get(g)},keys:function(){return d.map(function(g){var E=n(g,1),M=E[0];return M})},values:function(){return d.map(function(g){var E=n(g,2),M=E[1];return M})}},P=(0,e.default)(T,T.entries());return yo.default=P,yo}var zc;function Rg(){if(zc)return de;zc=1,Object.defineProperty(de,"__esModule",{value:!0}),de.roles=de.roleElements=de.elementRoles=de.dom=de.aria=void 0;var e=a(Db()),t=a($b()),r=a(hs()),n=a(gg()),o=a(wg());function a(f){return f&&f.__esModule?f:{default:f}}var i=e.default;de.aria=i;var s=t.default;de.dom=s;var l=r.default;de.roles=l;var u=n.default;de.elementRoles=u;var d=o.default;return de.roleElements=d,de}var me=Rg(),Va={exports:{}},Vc;function Eg(){return Vc||(Vc=1,(function(e){var t=(function(){var r=String.fromCharCode,n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-$",a={};function i(l,u){if(!a[l]){a[l]={};for(var d=0;d<l.length;d++)a[l][l.charAt(d)]=d}return a[l][u]}var s={compressToBase64:function(l){if(l==null)return"";var u=s._compress(l,6,function(d){return n.charAt(d)});switch(u.length%4){default:case 0:return u;case 1:return u+"===";case 2:return u+"==";case 3:return u+"="}},decompressFromBase64:function(l){return l==null?"":l==""?null:s._decompress(l.length,32,function(u){return i(n,l.charAt(u))})},compressToUTF16:function(l){return l==null?"":s._compress(l,15,function(u){return r(u+32)})+" "},decompressFromUTF16:function(l){return l==null?"":l==""?null:s._decompress(l.length,16384,function(u){return l.charCodeAt(u)-32})},compressToUint8Array:function(l){for(var u=s.compress(l),d=new Uint8Array(u.length*2),f=0,c=u.length;f<c;f++){var h=u.charCodeAt(f);d[f*2]=h>>>8,d[f*2+1]=h%256}return d},decompressFromUint8Array:function(l){if(l==null)return s.decompress(l);for(var u=new Array(l.length/2),d=0,f=u.length;d<f;d++)u[d]=l[d*2]*256+l[d*2+1];var c=[];return u.forEach(function(h){c.push(r(h))}),s.decompress(c.join(""))},compressToEncodedURIComponent:function(l){return l==null?"":s._compress(l,6,function(u){return o.charAt(u)})},decompressFromEncodedURIComponent:function(l){return l==null?"":l==""?null:(l=l.replace(/ /g,"+"),s._decompress(l.length,32,function(u){return i(o,l.charAt(u))}))},compress:function(l){return s._compress(l,16,function(u){return r(u)})},_compress:function(l,u,d){if(l==null)return"";var f,c,h={},v={},w="",S="",p="",q=2,_=3,T=2,P=[],y=0,g=0,E;for(E=0;E<l.length;E+=1)if(w=l.charAt(E),Object.prototype.hasOwnProperty.call(h,w)||(h[w]=_++,v[w]=!0),S=p+w,Object.prototype.hasOwnProperty.call(h,S))p=S;else{if(Object.prototype.hasOwnProperty.call(v,p)){if(p.charCodeAt(0)<256){for(f=0;f<T;f++)y=y<<1,g==u-1?(g=0,P.push(d(y)),y=0):g++;for(c=p.charCodeAt(0),f=0;f<8;f++)y=y<<1|c&1,g==u-1?(g=0,P.push(d(y)),y=0):g++,c=c>>1}else{for(c=1,f=0;f<T;f++)y=y<<1|c,g==u-1?(g=0,P.push(d(y)),y=0):g++,c=0;for(c=p.charCodeAt(0),f=0;f<16;f++)y=y<<1|c&1,g==u-1?(g=0,P.push(d(y)),y=0):g++,c=c>>1}q--,q==0&&(q=Math.pow(2,T),T++),delete v[p]}else for(c=h[p],f=0;f<T;f++)y=y<<1|c&1,g==u-1?(g=0,P.push(d(y)),y=0):g++,c=c>>1;q--,q==0&&(q=Math.pow(2,T),T++),h[S]=_++,p=String(w)}if(p!==""){if(Object.prototype.hasOwnProperty.call(v,p)){if(p.charCodeAt(0)<256){for(f=0;f<T;f++)y=y<<1,g==u-1?(g=0,P.push(d(y)),y=0):g++;for(c=p.charCodeAt(0),f=0;f<8;f++)y=y<<1|c&1,g==u-1?(g=0,P.push(d(y)),y=0):g++,c=c>>1}else{for(c=1,f=0;f<T;f++)y=y<<1|c,g==u-1?(g=0,P.push(d(y)),y=0):g++,c=0;for(c=p.charCodeAt(0),f=0;f<16;f++)y=y<<1|c&1,g==u-1?(g=0,P.push(d(y)),y=0):g++,c=c>>1}q--,q==0&&(q=Math.pow(2,T),T++),delete v[p]}else for(c=h[p],f=0;f<T;f++)y=y<<1|c&1,g==u-1?(g=0,P.push(d(y)),y=0):g++,c=c>>1;q--,q==0&&(q=Math.pow(2,T),T++)}for(c=2,f=0;f<T;f++)y=y<<1|c&1,g==u-1?(g=0,P.push(d(y)),y=0):g++,c=c>>1;for(;;)if(y=y<<1,g==u-1){P.push(d(y));break}else g++;return P.join("")},decompress:function(l){return l==null?"":l==""?null:s._decompress(l.length,32768,function(u){return l.charCodeAt(u)})},_decompress:function(l,u,d){var f=[],c=4,h=4,v=3,w="",S=[],p,q,_,T,P,y,g,E={val:d(0),position:u,index:1};for(p=0;p<3;p+=1)f[p]=p;for(_=0,P=Math.pow(2,2),y=1;y!=P;)T=E.val&E.position,E.position>>=1,E.position==0&&(E.position=u,E.val=d(E.index++)),_|=(T>0?1:0)*y,y<<=1;switch(_){case 0:for(_=0,P=Math.pow(2,8),y=1;y!=P;)T=E.val&E.position,E.position>>=1,E.position==0&&(E.position=u,E.val=d(E.index++)),_|=(T>0?1:0)*y,y<<=1;g=r(_);break;case 1:for(_=0,P=Math.pow(2,16),y=1;y!=P;)T=E.val&E.position,E.position>>=1,E.position==0&&(E.position=u,E.val=d(E.index++)),_|=(T>0?1:0)*y,y<<=1;g=r(_);break;case 2:return""}for(f[3]=g,q=g,S.push(g);;){if(E.index>l)return"";for(_=0,P=Math.pow(2,v),y=1;y!=P;)T=E.val&E.position,E.position>>=1,E.position==0&&(E.position=u,E.val=d(E.index++)),_|=(T>0?1:0)*y,y<<=1;switch(g=_){case 0:for(_=0,P=Math.pow(2,8),y=1;y!=P;)T=E.val&E.position,E.position>>=1,E.position==0&&(E.position=u,E.val=d(E.index++)),_|=(T>0?1:0)*y,y<<=1;f[h++]=r(_),g=h-1,c--;break;case 1:for(_=0,P=Math.pow(2,16),y=1;y!=P;)T=E.val&E.position,E.position>>=1,E.position==0&&(E.position=u,E.val=d(E.index++)),_|=(T>0?1:0)*y,y<<=1;f[h++]=r(_),g=h-1,c--;break;case 2:return S.join("")}if(c==0&&(c=Math.pow(2,v),v++),f[g])w=f[g];else if(g===h)w=q+q.charAt(0);else return null;S.push(w),f[h++]=q+w.charAt(0),c--,q=w,c==0&&(c=Math.pow(2,v),v++)}}};return s})();e!=null?e.exports=t:typeof angular<"u"&&angular!=null&&angular.module("LZString",[]).factory("LZString",function(){return t})})(Va)),Va.exports}var xg=Eg();const Cg=Ym(xg);function Bf(e){return e.replace(/</g,"&lt;").replace(/>/g,"&gt;")}const qg=(e,t,r,n,o,a,i)=>{const s=n+r.indent,l=r.colors;return e.map(u=>{const d=t[u];let f=i(d,r,s,o,a);return typeof d!="string"&&(f.indexOf(`
27
+ `)!==-1&&(f=r.spacingOuter+s+f+r.spacingOuter+n),f="{"+f+"}"),r.spacingInner+n+l.prop.open+u+l.prop.close+"="+l.value.open+f+l.value.close}).join("")},_g=3,Pg=(e,t,r,n,o,a)=>e.map(i=>{const s=typeof i=="string"?Lf(i,t):a(i,t,r,n,o);return s===""&&typeof i=="object"&&i!==null&&i.nodeType!==_g?"":t.spacingOuter+r+s}).join(""),Lf=(e,t)=>{const r=t.colors.content;return r.open+Bf(e)+r.close},Tg=(e,t)=>{const r=t.colors.comment;return r.open+"<!--"+Bf(e)+"-->"+r.close},Sg=(e,t,r,n,o)=>{const a=n.colors.tag;return a.open+"<"+e+(t&&a.close+t+n.spacingOuter+o+a.open)+(r?">"+a.close+r+n.spacingOuter+o+a.open+"</"+e:(t&&!n.min?"":" ")+"/")+">"+a.close},Ag=(e,t)=>{const r=t.colors.tag;return r.open+"<"+e+r.close+" …"+r.open+" />"+r.close},Mg=1,Ff=3,Uf=8,zf=11,Og=/^((HTML|SVG)\w*)?Element$/,Vf=e=>{const{tagName:t}=e;return!!(typeof t=="string"&&t.includes("-")||typeof e.hasAttribute=="function"&&e.hasAttribute("is"))},Ig=e=>{const t=e.constructor.name,{nodeType:r}=e;return r===Mg&&(Og.test(t)||Vf(e))||r===Ff&&t==="Text"||r===Uf&&t==="Comment"||r===zf&&t==="DocumentFragment"};function Ng(e){return e.nodeType===Ff}function kg(e){return e.nodeType===Uf}function Ha(e){return e.nodeType===zf}function jg(e){return{test:t=>{var r;return((t==null||(r=t.constructor)==null?void 0:r.name)||Vf(t))&&Ig(t)},serialize:(t,r,n,o,a,i)=>{if(Ng(t))return Lf(t.data,r);if(kg(t))return Tg(t.data,r);const s=Ha(t)?"DocumentFragment":t.tagName.toLowerCase();return++o>r.maxDepth?Ag(s,r):Sg(s,qg(Ha(t)?[]:Array.from(t.attributes).map(l=>l.name).sort(),Ha(t)?{}:Array.from(t.attributes).reduce((l,u)=>(l[u.name]=u.value,l),{}),r,n+r.indent,o,a,i),Pg(Array.prototype.slice.call(t.childNodes||t.children).filter(e),r,n+r.indent,o,a,i),r,n)}}}let Hf=null,bs=null,vs=null;try{const e=module&&module.require;bs=e.call(module,"fs").readFileSync,vs=e.call(module,"@babel/code-frame").codeFrameColumns,Hf=e.call(module,"picocolors")}catch{}function Dg(e){const t=e.indexOf("(")+1,r=e.indexOf(")"),n=e.slice(t,r),o=n.split(":"),[a,i,s]=[o[0],parseInt(o[1],10),parseInt(o[2],10)];let l="";try{l=bs(a,"utf-8")}catch{return""}const u=vs(l,{start:{line:i,column:s}},{highlightCode:!0,linesBelow:0});return Hf.dim(n)+`
23
28
  `+u+`
24
- `}function Ng(){if(!bs||!vs)return"";const t=new Error().stack.split(`
25
- `).slice(1).find(r=>!r.includes("node_modules/"));return Ig(t)}const Vf=3;function Wi(){return typeof jest<"u"&&jest!==null?setTimeout._isMockFunction===!0||Object.prototype.hasOwnProperty.call(setTimeout,"clock"):!1}function ys(){if(typeof window>"u")throw new Error("Could not find default container");return window.document}function kg(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 Ue(e){if(!e||typeof e.querySelector!="function"||typeof e.querySelectorAll!="function")throw new TypeError("Expected container to be an Element, a Document or a DocumentFragment but got "+t(e)+".");function t(r){return typeof r=="object"?r===null?"null":r.constructor.name:typeof r}}const jg=()=>{if(typeof process>"u")return!1;let e;try{var t;const 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},{DOMCollection:Dg}=Tf.plugins,$g=1,Bg=8;function Lg(e){return e.nodeType!==Bg&&(e.nodeType!==$g||!e.matches(K().defaultIgnore))}function hi(e,t,r){if(r===void 0&&(r={}),e||(e=ys().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);const{filterNode:o=Lg,...i}=r,a=Tf.format(e,{plugins:[Og(o),Dg],printFunctionName:!1,highlight:jg(),...i});return t!==void 0&&e.outerHTML.length>t?a.slice(0,t)+"...":a}const Hc=function(){const e=Ng();console.log(e?hi(...arguments)+`
29
+ `}function $g(){if(!bs||!vs)return"";const t=new Error().stack.split(`
30
+ `).slice(1).find(r=>!r.includes("node_modules/"));return Dg(t)}const Wf=3;function Wa(){return typeof jest<"u"&&jest!==null?setTimeout._isMockFunction===!0||Object.prototype.hasOwnProperty.call(setTimeout,"clock"):!1}function ys(){if(typeof window>"u")throw new Error("Could not find default container");return window.document}function Bg(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 ze(e){if(!e||typeof e.querySelector!="function"||typeof e.querySelectorAll!="function")throw new TypeError("Expected container to be an Element, a Document or a DocumentFragment but got "+t(e)+".");function t(r){return typeof r=="object"?r===null?"null":r.constructor.name:typeof r}}const Lg=()=>{if(typeof process>"u")return!1;let e;try{var t;const 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},{DOMCollection:Fg}=Af.plugins,Ug=1,zg=8;function Vg(e){return e.nodeType!==zg&&(e.nodeType!==Ug||!e.matches(K().defaultIgnore))}function ha(e,t,r){if(r===void 0&&(r={}),e||(e=ys().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);const{filterNode:o=Vg,...a}=r,i=Af.format(e,{plugins:[jg(o),Fg],printFunctionName:!1,highlight:Lg(),...a});return t!==void 0&&e.outerHTML.length>t?i.slice(0,t)+"...":i}const Hc=function(){const e=$g();console.log(e?ha(...arguments)+`
26
31
 
27
- `+e:hi(...arguments))};let lt={testIdAttribute:"data-testid",asyncUtilTimeout:1e3,asyncWrapper:e=>e(),unstable_advanceTimersWrapper:e=>e(),eventWrapper:e=>e(),defaultHidden:!1,defaultIgnore:"script, style",showOriginalStackTrace:!1,throwSuggestions:!1,getElementError(e,t){const r=hi(t),n=new Error([e,"Ignored nodes: comments, "+lt.defaultIgnore+`
32
+ `+e:ha(...arguments))};let ut={testIdAttribute:"data-testid",asyncUtilTimeout:1e3,asyncWrapper:e=>e(),unstable_advanceTimersWrapper:e=>e(),eventWrapper:e=>e(),defaultHidden:!1,defaultIgnore:"script, style",showOriginalStackTrace:!1,throwSuggestions:!1,getElementError(e,t){const r=ha(t),n=new Error([e,"Ignored nodes: comments, "+ut.defaultIgnore+`
28
33
  `+r].filter(Boolean).join(`
29
34
 
30
- `));return n.name="TestingLibraryElementError",n},_disableExpensiveErrorDiagnostics:!1,computedStyleSupportsPseudoElements:!1};function Fg(e){try{return lt._disableExpensiveErrorDiagnostics=!0,e()}finally{lt._disableExpensiveErrorDiagnostics=!1}}function Hf(e){typeof e=="function"&&(e=e(lt)),lt={...lt,...e}}function K(){return lt}const Ug=["button","meter","output","progress","select","textarea","input"];function Wf(e){return Ug.includes(e.nodeName.toLowerCase())?"":e.nodeType===Vf?e.textContent:Array.from(e.childNodes).map(t=>Wf(t)).join("")}function da(e){let t;return e.tagName.toLowerCase()==="label"?t=Wf(e):t=e.value||e.textContent,t}function Gf(e){if(e.labels!==void 0){var t;return(t=e.labels)!=null?t:[]}if(!zg(e))return[];const r=e.ownerDocument.querySelectorAll("label");return Array.from(r).filter(n=>n.control===e)}function zg(e){return/BUTTON|METER|OUTPUT|PROGRESS|SELECT|TEXTAREA/.test(e.tagName)||e.tagName==="INPUT"&&e.getAttribute("type")!=="hidden"}function Kf(e,t,r){let{selector:n="*"}=r===void 0?{}:r;const o=t.getAttribute("aria-labelledby"),i=o?o.split(" "):[];return i.length?i.map(a=>{const s=e.querySelector('[id="'+a+'"]');return s?{content:da(s),formControl:null}:{content:"",formControl:null}}):Array.from(Gf(t)).map(a=>{const s=da(a),u=Array.from(a.querySelectorAll("button, input, meter, output, progress, select, textarea")).filter(f=>f.matches(n))[0];return{content:s,formControl:u}})}function Yf(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 Pt(e,t,r,n){if(typeof e!="string")return!1;Yf(r);const o=n(e);return typeof r=="string"||typeof r=="number"?o.toLowerCase().includes(r.toString().toLowerCase()):typeof r=="function"?r(o,t):Jf(r,o)}function Be(e,t,r,n){if(typeof e!="string")return!1;Yf(r);const o=n(e);return r instanceof Function?r(o,t):r instanceof RegExp?Jf(r,o):o===String(r)}function Xf(e){let{trim:t=!0,collapseWhitespace:r=!0}=e===void 0?{}:e;return n=>{let o=n;return o=t?o.trim():o,o=r?o.replace(/\s+/g," "):o,o}}function pt(e){let{trim:t,collapseWhitespace:r,normalizer:n}=e;if(!n)return Xf({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 Jf(e,t){const r=e.test(t);return e.global&&e.lastIndex!==0&&(console.warn("To match all elements we had to reset the lastIndex of the RegExp because the global flag is enabled. We encourage to remove the global flag from the RegExp."),e.lastIndex=0),r}function Ni(e){return e.matches("input[type=submit], input[type=button], input[type=reset]")?e.value:Array.from(e.childNodes).filter(t=>t.nodeType===Vf&&!!t.textContent).map(t=>t.textContent).join("")}const Vg=Hg(me.elementRoles);function Qf(e){return e.hidden===!0||e.getAttribute("aria-hidden")==="true"||e.ownerDocument.defaultView.getComputedStyle(e).display==="none"}function gs(e,t){t===void 0&&(t={});const{isSubtreeInaccessible:r=Qf}=t;if(e.ownerDocument.defaultView.getComputedStyle(e).visibility==="hidden")return!0;let o=e;for(;o;){if(r(o))return!0;o=o.parentElement}return!1}function Rs(e){for(const{match:t,roles:r}of Vg)if(t(e))return[...r];return[]}function Hg(e){function t(a){let{name:s,attributes:l}=a;return""+s+l.map(u=>{let{name:f,value:c,constraints:d=[]}=u;const b=d.indexOf("undefined")!==-1,v=d.indexOf("set")!==-1;return typeof c<"u"?"["+f+'="'+c+'"]':b?":not(["+f+"])":v?"["+f+"]:not(["+f+'=""])':"["+f+"]"}).join("")}function r(a){let{attributes:s=[]}=a;return s.length}function n(a,s){let{specificity:l}=a,{specificity:u}=s;return u-l}function o(a){let{attributes:s=[]}=a;const l=s.findIndex(f=>f.value&&f.name==="type"&&f.value==="text");l>=0&&(s=[...s.slice(0,l),...s.slice(l+1)]);const u=t({...a,attributes:s});return f=>l>=0&&f.type!=="text"?!1:f.matches(u)}let i=[];for(const[a,s]of e.entries())i=[...i,{match:o(a),roles:Array.from(s),specificity:r(a)}];return i.sort(n)}function Wg(e,t){let{hidden:r=!1}=t===void 0?{}:t;function n(o){return[o,...Array.from(o.children).reduce((i,a)=>[...i,...n(a)],[])]}return n(e).filter(o=>r===!1?gs(o)===!1:!0).reduce((o,i)=>{let a=[];return i.hasAttribute("role")?a=i.getAttribute("role").split(" ").slice(0,1):a=Rs(i),a.reduce((s,l)=>Array.isArray(s[l])?{...s,[l]:[...s[l],i]}:{...s,[l]:[i]},o)},{})}function Gg(e,t){let{hidden:r,includeDescription:n}=t;const o=Wg(e,{hidden:r});return Object.entries(o).filter(i=>{let[a]=i;return a!=="generic"}).map(i=>{let[a,s]=i;const l="-".repeat(50),u=s.map(f=>{const c='Name "'+ms(f,{computedStyleSupportsPseudoElements:K().computedStyleSupportsPseudoElements})+`":
31
- `,d=hi(f.cloneNode(!1));if(n){const b='Description "'+jf(f,{computedStyleSupportsPseudoElements:K().computedStyleSupportsPseudoElements})+`":
32
- `;return""+c+b+d}return""+c+d}).join(`
35
+ `));return n.name="TestingLibraryElementError",n},_disableExpensiveErrorDiagnostics:!1,computedStyleSupportsPseudoElements:!1};function Hg(e){try{return ut._disableExpensiveErrorDiagnostics=!0,e()}finally{ut._disableExpensiveErrorDiagnostics=!1}}function Gf(e){typeof e=="function"&&(e=e(ut)),ut={...ut,...e}}function K(){return ut}const Wg=["button","meter","output","progress","select","textarea","input"];function Kf(e){return Wg.includes(e.nodeName.toLowerCase())?"":e.nodeType===Wf?e.textContent:Array.from(e.childNodes).map(t=>Kf(t)).join("")}function di(e){let t;return e.tagName.toLowerCase()==="label"?t=Kf(e):t=e.value||e.textContent,t}function Yf(e){if(e.labels!==void 0){var t;return(t=e.labels)!=null?t:[]}if(!Gg(e))return[];const r=e.ownerDocument.querySelectorAll("label");return Array.from(r).filter(n=>n.control===e)}function Gg(e){return/BUTTON|METER|OUTPUT|PROGRESS|SELECT|TEXTAREA/.test(e.tagName)||e.tagName==="INPUT"&&e.getAttribute("type")!=="hidden"}function Xf(e,t,r){let{selector:n="*"}=r===void 0?{}:r;const o=t.getAttribute("aria-labelledby"),a=o?o.split(" "):[];return a.length?a.map(i=>{const s=e.querySelector('[id="'+i+'"]');return s?{content:di(s),formControl:null}:{content:"",formControl:null}}):Array.from(Yf(t)).map(i=>{const s=di(i),u=Array.from(i.querySelectorAll("button, input, meter, output, progress, select, textarea")).filter(d=>d.matches(n))[0];return{content:s,formControl:u}})}function Jf(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;Jf(r);const o=n(e);return typeof r=="string"||typeof r=="number"?o.toLowerCase().includes(r.toString().toLowerCase()):typeof r=="function"?r(o,t):Zf(r,o)}function Le(e,t,r,n){if(typeof e!="string")return!1;Jf(r);const o=n(e);return r instanceof Function?r(o,t):r instanceof RegExp?Zf(r,o):o===String(r)}function Qf(e){let{trim:t=!0,collapseWhitespace:r=!0}=e===void 0?{}:e;return n=>{let o=n;return o=t?o.trim():o,o=r?o.replace(/\s+/g," "):o,o}}function mt(e){let{trim:t,collapseWhitespace:r,normalizer:n}=e;if(!n)return Qf({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 Zf(e,t){const r=e.test(t);return e.global&&e.lastIndex!==0&&(console.warn("To match all elements we had to reset the lastIndex of the RegExp because the global flag is enabled. We encourage to remove the global flag from the RegExp."),e.lastIndex=0),r}function Na(e){return e.matches("input[type=submit], input[type=button], input[type=reset]")?e.value:Array.from(e.childNodes).filter(t=>t.nodeType===Wf&&!!t.textContent).map(t=>t.textContent).join("")}const Kg=Yg(me.elementRoles);function ep(e){return e.hidden===!0||e.getAttribute("aria-hidden")==="true"||e.ownerDocument.defaultView.getComputedStyle(e).display==="none"}function gs(e,t){t===void 0&&(t={});const{isSubtreeInaccessible:r=ep}=t;if(e.ownerDocument.defaultView.getComputedStyle(e).visibility==="hidden")return!0;let o=e;for(;o;){if(r(o))return!0;o=o.parentElement}return!1}function ws(e){for(const{match:t,roles:r}of Kg)if(t(e))return[...r];return[]}function Yg(e){function t(i){let{name:s,attributes:l}=i;return""+s+l.map(u=>{let{name:d,value:f,constraints:c=[]}=u;const h=c.indexOf("undefined")!==-1,v=c.indexOf("set")!==-1;return typeof f<"u"?"["+d+'="'+f+'"]':h?":not(["+d+"])":v?"["+d+"]:not(["+d+'=""])':"["+d+"]"}).join("")}function r(i){let{attributes:s=[]}=i;return s.length}function n(i,s){let{specificity:l}=i,{specificity:u}=s;return u-l}function o(i){let{attributes:s=[]}=i;const l=s.findIndex(d=>d.value&&d.name==="type"&&d.value==="text");l>=0&&(s=[...s.slice(0,l),...s.slice(l+1)]);const u=t({...i,attributes:s});return d=>l>=0&&d.type!=="text"?!1:d.matches(u)}let a=[];for(const[i,s]of e.entries())a=[...a,{match:o(i),roles:Array.from(s),specificity:r(i)}];return a.sort(n)}function Xg(e,t){let{hidden:r=!1}=t===void 0?{}:t;function n(o){return[o,...Array.from(o.children).reduce((a,i)=>[...a,...n(i)],[])]}return n(e).filter(o=>r===!1?gs(o)===!1:!0).reduce((o,a)=>{let i=[];return a.hasAttribute("role")?i=a.getAttribute("role").split(" ").slice(0,1):i=ws(a),i.reduce((s,l)=>Array.isArray(s[l])?{...s,[l]:[...s[l],a]}:{...s,[l]:[a]},o)},{})}function Jg(e,t){let{hidden:r,includeDescription:n}=t;const o=Xg(e,{hidden:r});return Object.entries(o).filter(a=>{let[i]=a;return i!=="generic"}).map(a=>{let[i,s]=a;const l="-".repeat(50),u=s.map(d=>{const f='Name "'+ms(d,{computedStyleSupportsPseudoElements:K().computedStyleSupportsPseudoElements})+`":
36
+ `,c=ha(d.cloneNode(!1));if(n){const h='Description "'+$f(d,{computedStyleSupportsPseudoElements:K().computedStyleSupportsPseudoElements})+`":
37
+ `;return""+f+h+c}return""+f+c}).join(`
33
38
 
34
- `);return a+`:
39
+ `);return i+`:
35
40
 
36
41
  `+u+`
37
42
 
38
43
  `+l}).join(`
39
- `)}function Kg(e){return e.tagName==="OPTION"?e.selected:Fo(e,"aria-selected")}function Yg(e){return e.getAttribute("aria-busy")==="true"}function Xg(e){if(!("indeterminate"in e&&e.indeterminate))return"checked"in e?e.checked:Fo(e,"aria-checked")}function Jg(e){return Fo(e,"aria-pressed")}function Qg(e){var t,r;return(t=(r=Fo(e,"aria-current"))!=null?r:e.getAttribute("aria-current"))!=null?t:!1}function Zg(e){return Fo(e,"aria-expanded")}function Fo(e,t){const r=e.getAttribute(t);if(r==="true")return!0;if(r==="false")return!1}function eR(e){const t={H1:1,H2:2,H3:3,H4:4,H5:5,H6:6};return e.getAttribute("aria-level")&&Number(e.getAttribute("aria-level"))||t[e.tagName]}function tR(e){const t=e.getAttribute("aria-valuenow");return t===null?void 0:+t}function rR(e){const t=e.getAttribute("aria-valuemax");return t===null?void 0:+t}function nR(e){const t=e.getAttribute("aria-valuemin");return t===null?void 0:+t}function oR(e){const t=e.getAttribute("aria-valuetext");return t===null?void 0:t}const Wc=Xf();function iR(e){return e.replace(/[.*+\-?^${}()|[\]\\]/g,"\\$&")}function Gc(e){return new RegExp(iR(e.toLowerCase()),"i")}function We(e,t,r,n){let{variant:o,name:i}=n,a="";const s={},l=[["Role","TestId"].includes(e)?r:Gc(r)];i&&(s.name=Gc(i)),e==="Role"&&gs(t)&&(s.hidden=!0,a=`Element is inaccessible. This means that the element and all its children are invisible to screen readers.
44
+ `)}function Qg(e){return e.tagName==="OPTION"?e.selected:Uo(e,"aria-selected")}function Zg(e){return e.getAttribute("aria-busy")==="true"}function ew(e){if(!("indeterminate"in e&&e.indeterminate))return"checked"in e?e.checked:Uo(e,"aria-checked")}function tw(e){return Uo(e,"aria-pressed")}function rw(e){var t,r;return(t=(r=Uo(e,"aria-current"))!=null?r:e.getAttribute("aria-current"))!=null?t:!1}function nw(e){return Uo(e,"aria-expanded")}function Uo(e,t){const r=e.getAttribute(t);if(r==="true")return!0;if(r==="false")return!1}function ow(e){const t={H1:1,H2:2,H3:3,H4:4,H5:5,H6:6};return e.getAttribute("aria-level")&&Number(e.getAttribute("aria-level"))||t[e.tagName]}function aw(e){const t=e.getAttribute("aria-valuenow");return t===null?void 0:+t}function iw(e){const t=e.getAttribute("aria-valuemax");return t===null?void 0:+t}function sw(e){const t=e.getAttribute("aria-valuemin");return t===null?void 0:+t}function lw(e){const t=e.getAttribute("aria-valuetext");return t===null?void 0:t}const Wc=Qf();function uw(e){return e.replace(/[.*+\-?^${}()|[\]\\]/g,"\\$&")}function Gc(e){return new RegExp(uw(e.toLowerCase()),"i")}function Ge(e,t,r,n){let{variant:o,name:a}=n,i="";const s={},l=[["Role","TestId"].includes(e)?r:Gc(r)];a&&(s.name=Gc(a)),e==="Role"&&gs(t)&&(s.hidden=!0,i=`Element is inaccessible. This means that the element and all its children are invisible to screen readers.
40
45
  If you are using the aria-hidden prop, make sure this is the right choice for your case.
41
- `),Object.keys(s).length>0&&l.push(s);const u=o+"By"+e;return{queryName:e,queryMethod:u,queryArgs:l,variant:o,warning:a,toString(){a&&console.warn(a);let[f,c]=l;return f=typeof f=="string"?"'"+f+"'":f,c=c?", { "+Object.entries(c).map(d=>{let[b,v]=d;return b+": "+v}).join(", ")+" }":"",u+"("+f+c+")"}}}function Ge(e,t,r){return r&&!0}function fa(e,t,r){var n,o;if(t===void 0&&(t="get"),e.matches(K().defaultIgnore))return;const i=(n=e.getAttribute("role"))!=null?n:(o=Rs(e))==null?void 0:o[0];if(i!=="generic"&&Ge("Role",r,i))return We("Role",e,i,{variant:t,name:ms(e,{computedStyleSupportsPseudoElements:K().computedStyleSupportsPseudoElements})});const a=Kf(document,e).map(d=>d.content).join(" ");if(Ge("LabelText",r,a))return We("LabelText",e,a,{variant:t});const s=e.getAttribute("placeholder");if(Ge("PlaceholderText",r,s))return We("PlaceholderText",e,s,{variant:t});const l=Wc(Ni(e));if(Ge("Text",r,l))return We("Text",e,l,{variant:t});if(Ge("DisplayValue",r,e.value))return We("DisplayValue",e,Wc(e.value),{variant:t});const u=e.getAttribute("alt");if(Ge("AltText",r,u))return We("AltText",e,u,{variant:t});const f=e.getAttribute("title");if(Ge("Title",r,f))return We("Title",e,f,{variant:t});const c=e.getAttribute(K().testIdAttribute);if(Ge("TestId",r,c))return We("TestId",e,c,{variant:t})}function Ko(e,t){e.stack=t.stack.replace(t.message,e.message)}function aR(e,t){let{container:r=ys(),timeout:n=K().asyncUtilTimeout,showOriginalStackTrace:o=K().showOriginalStackTrace,stackTraceError:i,interval:a=50,onTimeout:s=u=>(Object.defineProperty(u,"message",{value:K().getElementError(u.message,r).message}),u),mutationObserverOptions:l={subtree:!0,childList:!0,attributes:!0,characterData:!0}}=t;if(typeof e!="function")throw new TypeError("Received `callback` arg must be a function");return new Promise(async(u,f)=>{let c,d,b,v=!1,R="idle";const S=setTimeout(P,n),p=Wi();if(p){const{unstable_advanceTimersWrapper:y}=K();for(T();!v;){if(!Wi()){const g=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");o||Ko(g,i),f(g);return}if(await y(async()=>{jest.advanceTimersByTime(a)}),v)break;T()}}else{try{Ue(r)}catch(g){f(g);return}d=setInterval(_,a);const{MutationObserver:y}=kg(r);b=new y(_),b.observe(r,l),T()}function q(y,g){v=!0,clearTimeout(S),p||(clearInterval(d),b.disconnect()),y?f(y):u(g)}function _(){if(Wi()){const y=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 o||Ko(y,i),f(y)}else return T()}function T(){if(R!=="pending")try{const y=Fg(e);typeof y?.then=="function"?(R="pending",y.then(g=>{R="resolved",q(null,g)},g=>{R="rejected",c=g})):q(null,y)}catch(y){c=y}}function P(){let y;c?(y=c,!o&&y.name==="TestingLibraryElementError"&&Ko(y,i)):(y=new Error("Timed out in waitFor."),o||Ko(y,i)),q(s(y),null)}})}function sR(e,t){const r=new Error("STACK_TRACE_MESSAGE");return K().asyncWrapper(()=>aR(e,{stackTraceError:r,...t}))}function Zf(e,t){return K().getElementError(e,t)}function lR(e,t){return Zf(e+"\n\n(If this is intentional, then use the `*AllBy*` variant of the query (like `queryAllByText`, `getAllByText`, or `findAllByText`)).",t)}function ki(e,t,r,n){let{exact:o=!0,collapseWhitespace:i,trim:a,normalizer:s}=n===void 0?{}:n;const l=o?Be:Pt,u=pt({collapseWhitespace:i,trim:a,normalizer:s});return Array.from(t.querySelectorAll("["+e+"]")).filter(f=>l(f.getAttribute(e),f,r,u))}function bi(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];const a=e(r,...o);if(a.length>1){const s=a.map(l=>Zf(null,l).message).join(`
46
+ `),Object.keys(s).length>0&&l.push(s);const u=o+"By"+e;return{queryName:e,queryMethod:u,queryArgs:l,variant:o,warning:i,toString(){i&&console.warn(i);let[d,f]=l;return d=typeof d=="string"?"'"+d+"'":d,f=f?", { "+Object.entries(f).map(c=>{let[h,v]=c;return h+": "+v}).join(", ")+" }":"",u+"("+d+f+")"}}}function Ke(e,t,r){return r&&!0}function fi(e,t,r){var n,o;if(t===void 0&&(t="get"),e.matches(K().defaultIgnore))return;const a=(n=e.getAttribute("role"))!=null?n:(o=ws(e))==null?void 0:o[0];if(a!=="generic"&&Ke("Role",r,a))return Ge("Role",e,a,{variant:t,name:ms(e,{computedStyleSupportsPseudoElements:K().computedStyleSupportsPseudoElements})});const i=Xf(document,e).map(c=>c.content).join(" ");if(Ke("LabelText",r,i))return Ge("LabelText",e,i,{variant:t});const s=e.getAttribute("placeholder");if(Ke("PlaceholderText",r,s))return Ge("PlaceholderText",e,s,{variant:t});const l=Wc(Na(e));if(Ke("Text",r,l))return Ge("Text",e,l,{variant:t});if(Ke("DisplayValue",r,e.value))return Ge("DisplayValue",e,Wc(e.value),{variant:t});const u=e.getAttribute("alt");if(Ke("AltText",r,u))return Ge("AltText",e,u,{variant:t});const d=e.getAttribute("title");if(Ke("Title",r,d))return Ge("Title",e,d,{variant:t});const f=e.getAttribute(K().testIdAttribute);if(Ke("TestId",r,f))return Ge("TestId",e,f,{variant:t})}function Yo(e,t){e.stack=t.stack.replace(t.message,e.message)}function cw(e,t){let{container:r=ys(),timeout:n=K().asyncUtilTimeout,showOriginalStackTrace:o=K().showOriginalStackTrace,stackTraceError:a,interval:i=50,onTimeout:s=u=>(Object.defineProperty(u,"message",{value:K().getElementError(u.message,r).message}),u),mutationObserverOptions:l={subtree:!0,childList:!0,attributes:!0,characterData:!0}}=t;if(typeof e!="function")throw new TypeError("Received `callback` arg must be a function");return new Promise(async(u,d)=>{let f,c,h,v=!1,w="idle";const S=setTimeout(P,n),p=Wa();if(p){const{unstable_advanceTimersWrapper:y}=K();for(T();!v;){if(!Wa()){const g=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");o||Yo(g,a),d(g);return}if(await y(async()=>{jest.advanceTimersByTime(i)}),v)break;T()}}else{try{ze(r)}catch(g){d(g);return}c=setInterval(_,i);const{MutationObserver:y}=Bg(r);h=new y(_),h.observe(r,l),T()}function q(y,g){v=!0,clearTimeout(S),p||(clearInterval(c),h.disconnect()),y?d(y):u(g)}function _(){if(Wa()){const y=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 o||Yo(y,a),d(y)}else return T()}function T(){if(w!=="pending")try{const y=Hg(e);typeof y?.then=="function"?(w="pending",y.then(g=>{w="resolved",q(null,g)},g=>{w="rejected",f=g})):q(null,y)}catch(y){f=y}}function P(){let y;f?(y=f,!o&&y.name==="TestingLibraryElementError"&&Yo(y,a)):(y=new Error("Timed out in waitFor."),o||Yo(y,a)),q(s(y),null)}})}function dw(e,t){const r=new Error("STACK_TRACE_MESSAGE");return K().asyncWrapper(()=>cw(e,{stackTraceError:r,...t}))}function tp(e,t){return K().getElementError(e,t)}function fw(e,t){return tp(e+"\n\n(If this is intentional, then use the `*AllBy*` variant of the query (like `queryAllByText`, `getAllByText`, or `findAllByText`)).",t)}function ka(e,t,r,n){let{exact:o=!0,collapseWhitespace:a,trim:i,normalizer:s}=n===void 0?{}:n;const l=o?Le:Tt,u=mt({collapseWhitespace:a,trim:i,normalizer:s});return Array.from(t.querySelectorAll("["+e+"]")).filter(d=>l(d.getAttribute(e),d,r,u))}function ba(e,t){return function(r){for(var n=arguments.length,o=new Array(n>1?n-1:0),a=1;a<n;a++)o[a-1]=arguments[a];const i=e(r,...o);if(i.length>1){const s=i.map(l=>tp(null,l).message).join(`
42
47
 
43
- `);throw lR(t(r,...o)+`
48
+ `);throw fw(t(r,...o)+`
44
49
 
45
50
  Here are the matching elements:
46
51
 
47
- `+s,r)}return a[0]||null}}function ep(e,t){return K().getElementError(`A better query is available, try this:
52
+ `+s,r)}return i[0]||null}}function rp(e,t){return K().getElementError(`A better query is available, try this:
48
53
  `+e.toString()+`
49
- `,t)}function uR(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];const a=e(r,...o);if(!a.length)throw K().getElementError(t(r,...o),r);return a}}function vi(e){return(t,r,n,o)=>sR(()=>e(t,r,n),{container:t,...o})}const bt=(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];const s=e(n,...i),[{suggest:l=K().throwSuggestions}={}]=i.slice(-1);if(s&&l){const u=fa(s,r);if(u&&!t.endsWith(u.queryName))throw ep(u.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];const s=e(n,...i),[{suggest:l=K().throwSuggestions}={}]=i.slice(-1);if(s.length&&l){const u=[...new Set(s.map(f=>{var c;return(c=fa(f,r))==null?void 0:c.toString()}))];if(u.length===1&&!t.endsWith(fa(s[0],r).queryName))throw ep(u[0],n)}return s};function mt(e,t,r){const n=bt(bi(e,t),e.name,"query"),o=uR(e,r),i=bi(o,t),a=bt(i,e.name,"get"),s=be(o,e.name.replace("query","get"),"getAll"),l=vi(be(o,e.name,"findAll")),u=vi(bt(i,e.name,"find"));return[n,s,a,l,u]}function cR(e){return Array.from(e.querySelectorAll("label,input")).map(t=>({node:t,textToMatch:da(t)})).filter(t=>{let{textToMatch:r}=t;return r!==null})}const dR=function(e,t,r){let{exact:n=!0,trim:o,collapseWhitespace:i,normalizer:a}=r===void 0?{}:r;const s=n?Be:Pt,l=pt({collapseWhitespace:i,trim:o,normalizer:a});return cR(e).filter(f=>{let{node:c,textToMatch:d}=f;return s(d,c,t,l)}).map(f=>{let{node:c}=f;return c})},Mo=function(e,t,r){let{selector:n="*",exact:o=!0,collapseWhitespace:i,trim:a,normalizer:s}=r===void 0?{}:r;Ue(e);const l=o?Be:Pt,u=pt({collapseWhitespace:i,trim:a,normalizer:s}),f=Array.from(e.querySelectorAll("*")).filter(c=>Gf(c).length||c.hasAttribute("aria-labelledby")).reduce((c,d)=>{const b=Kf(e,d,{selector:n});b.filter(R=>!!R.formControl).forEach(R=>{l(R.content,R.formControl,t,u)&&R.formControl&&c.push(R.formControl)});const v=b.filter(R=>!!R.content).map(R=>R.content);return l(v.join(" "),d,t,u)&&c.push(d),v.length>1&&v.forEach((R,S)=>{l(R,d,t,u)&&c.push(d);const p=[...v];p.splice(S,1),p.length>1&&l(p.join(" "),d,t,u)&&c.push(d)}),c},[]).concat(ki("aria-label",e,t,{exact:o,normalizer:u}));return Array.from(new Set(f)).filter(c=>c.matches(n))},dt=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];const i=Mo(e,t,...n);if(!i.length){const a=dR(e,t,...n);if(a.length){const s=a.map(l=>fR(e,l)).filter(l=>!!l);throw s.length?K().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(`
54
+ `,t)}function pw(e,t){return function(r){for(var n=arguments.length,o=new Array(n>1?n-1:0),a=1;a<n;a++)o[a-1]=arguments[a];const i=e(r,...o);if(!i.length)throw K().getElementError(t(r,...o),r);return i}}function va(e){return(t,r,n,o)=>dw(()=>e(t,r,n),{container:t,...o})}const vt=(e,t,r)=>function(n){for(var o=arguments.length,a=new Array(o>1?o-1:0),i=1;i<o;i++)a[i-1]=arguments[i];const s=e(n,...a),[{suggest:l=K().throwSuggestions}={}]=a.slice(-1);if(s&&l){const u=fi(s,r);if(u&&!t.endsWith(u.queryName))throw rp(u.toString(),n)}return s},be=(e,t,r)=>function(n){for(var o=arguments.length,a=new Array(o>1?o-1:0),i=1;i<o;i++)a[i-1]=arguments[i];const s=e(n,...a),[{suggest:l=K().throwSuggestions}={}]=a.slice(-1);if(s.length&&l){const u=[...new Set(s.map(d=>{var f;return(f=fi(d,r))==null?void 0:f.toString()}))];if(u.length===1&&!t.endsWith(fi(s[0],r).queryName))throw rp(u[0],n)}return s};function ht(e,t,r){const n=vt(ba(e,t),e.name,"query"),o=pw(e,r),a=ba(o,t),i=vt(a,e.name,"get"),s=be(o,e.name.replace("query","get"),"getAll"),l=va(be(o,e.name,"findAll")),u=va(vt(a,e.name,"find"));return[n,s,i,l,u]}function mw(e){return Array.from(e.querySelectorAll("label,input")).map(t=>({node:t,textToMatch:di(t)})).filter(t=>{let{textToMatch:r}=t;return r!==null})}const hw=function(e,t,r){let{exact:n=!0,trim:o,collapseWhitespace:a,normalizer:i}=r===void 0?{}:r;const s=n?Le:Tt,l=mt({collapseWhitespace:a,trim:o,normalizer:i});return mw(e).filter(d=>{let{node:f,textToMatch:c}=d;return s(c,f,t,l)}).map(d=>{let{node:f}=d;return f})},Oo=function(e,t,r){let{selector:n="*",exact:o=!0,collapseWhitespace:a,trim:i,normalizer:s}=r===void 0?{}:r;ze(e);const l=o?Le:Tt,u=mt({collapseWhitespace:a,trim:i,normalizer:s}),d=Array.from(e.querySelectorAll("*")).filter(f=>Yf(f).length||f.hasAttribute("aria-labelledby")).reduce((f,c)=>{const h=Xf(e,c,{selector:n});h.filter(w=>!!w.formControl).forEach(w=>{l(w.content,w.formControl,t,u)&&w.formControl&&f.push(w.formControl)});const v=h.filter(w=>!!w.content).map(w=>w.content);return l(v.join(" "),c,t,u)&&f.push(c),v.length>1&&v.forEach((w,S)=>{l(w,c,t,u)&&f.push(c);const p=[...v];p.splice(S,1),p.length>1&&l(p.join(" "),c,t,u)&&f.push(c)}),f},[]).concat(ka("aria-label",e,t,{exact:o,normalizer:u}));return Array.from(new Set(d)).filter(f=>f.matches(n))},ft=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];const a=Oo(e,t,...n);if(!a.length){const i=hw(e,t,...n);if(i.length){const s=i.map(l=>bw(e,l)).filter(l=>!!l);throw s.length?K().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(`
50
55
 
51
- `),e):K().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 K().getElementError("Unable to find a label with the text of: "+t,e)}return i};function fR(e,t){const r=t.getAttribute("for");if(!r)return null;const n=e.querySelector('[id="'+r+'"]');return n?n.tagName.toLowerCase():null}const tp=(e,t)=>"Found multiple elements with the text of: "+t,pR=bt(bi(Mo,tp),Mo.name,"query"),rp=bi(dt,tp),mR=vi(be(dt,dt.name,"findAll")),hR=vi(bt(rp,dt.name,"find")),bR=be(dt,dt.name,"getAll"),vR=bt(rp,dt.name,"get"),yR=be(Mo,Mo.name,"queryAll"),pa=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return Ue(t[0]),ki("placeholder",...t)},gR=(e,t)=>"Found multiple elements with the placeholder text of: "+t,RR=(e,t)=>"Unable to find an element with the placeholder text of: "+t,wR=be(pa,pa.name,"queryAll"),[ER,xR,CR,qR,_R]=mt(pa,gR,RR),ma=function(e,t,r){let{selector:n="*",exact:o=!0,collapseWhitespace:i,trim:a,ignore:s=K().defaultIgnore,normalizer:l}=r===void 0?{}:r;Ue(e);const u=o?Be:Pt,f=pt({collapseWhitespace:i,trim:a,normalizer:l});let c=[];return typeof e.matches=="function"&&e.matches(n)&&(c=[e]),[...c,...Array.from(e.querySelectorAll(n))].filter(d=>!s||!d.matches(s)).filter(d=>u(Ni(d),d,t,f))},PR=(e,t)=>"Found multiple elements with the text: "+t,TR=function(e,t,r){r===void 0&&(r={});const{collapseWhitespace:n,trim:o,normalizer:i,selector:a}=r,l=pt({collapseWhitespace:n,trim:o,normalizer:i})(t.toString()),u=l!==t.toString(),f=(a??"*")!=="*";return"Unable to find an element with the text: "+(u?l+" (normalized from '"+t+"')":t)+(f?", which matches selector '"+a+"'":"")+". 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."},SR=be(ma,ma.name,"queryAll"),[AR,MR,OR,IR,NR]=mt(ma,PR,TR),ha=function(e,t,r){let{exact:n=!0,collapseWhitespace:o,trim:i,normalizer:a}=r===void 0?{}:r;Ue(e);const s=n?Be:Pt,l=pt({collapseWhitespace:o,trim:i,normalizer:a});return Array.from(e.querySelectorAll("input,textarea,select")).filter(u=>u.tagName==="SELECT"?Array.from(u.options).filter(c=>c.selected).some(c=>s(Ni(c),c,t,l)):s(u.value,u,t,l))},kR=(e,t)=>"Found multiple elements with the display value: "+t+".",jR=(e,t)=>"Unable to find an element with the display value: "+t+".",DR=be(ha,ha.name,"queryAll"),[$R,BR,LR,FR,UR]=mt(ha,kR,jR),zR=/^(img|input|area|.+-.+)$/i,ba=function(e,t,r){return r===void 0&&(r={}),Ue(e),ki("alt",e,t,r).filter(n=>zR.test(n.tagName))},VR=(e,t)=>"Found multiple elements with the alt text: "+t,HR=(e,t)=>"Unable to find an element with the alt text: "+t,WR=be(ba,ba.name,"queryAll"),[GR,KR,YR,XR,JR]=mt(ba,VR,HR),QR=e=>{var t;return e.tagName.toLowerCase()==="title"&&((t=e.parentElement)==null?void 0:t.tagName.toLowerCase())==="svg"},va=function(e,t,r){let{exact:n=!0,collapseWhitespace:o,trim:i,normalizer:a}=r===void 0?{}:r;Ue(e);const s=n?Be:Pt,l=pt({collapseWhitespace:o,trim:i,normalizer:a});return Array.from(e.querySelectorAll("[title], svg > title")).filter(u=>s(u.getAttribute("title"),u,t,l)||QR(u)&&s(Ni(u),u,t,l))},ZR=(e,t)=>"Found multiple elements with the title: "+t+".",ew=(e,t)=>"Unable to find an element with the title: "+t+".",tw=be(va,va.name,"queryAll"),[rw,nw,ow,iw,aw]=mt(va,ZR,ew),ya=function(e,t,r){let{hidden:n=K().defaultHidden,name:o,description:i,queryFallbacks:a=!1,selected:s,busy:l,checked:u,pressed:f,current:c,level:d,expanded:b,value:{now:v,min:R,max:S,text:p}={}}=r===void 0?{}:r;if(Ue(e),s!==void 0){var q;if(((q=me.roles.get(t))==null?void 0:q.props["aria-selected"])===void 0)throw new Error('"aria-selected" is not supported on role "'+t+'".')}if(l!==void 0){var _;if(((_=me.roles.get(t))==null?void 0:_.props["aria-busy"])===void 0)throw new Error('"aria-busy" is not supported on role "'+t+'".')}if(u!==void 0){var T;if(((T=me.roles.get(t))==null?void 0:T.props["aria-checked"])===void 0)throw new Error('"aria-checked" is not supported on role "'+t+'".')}if(f!==void 0){var P;if(((P=me.roles.get(t))==null?void 0:P.props["aria-pressed"])===void 0)throw new Error('"aria-pressed" is not supported on role "'+t+'".')}if(c!==void 0){var y;if(((y=me.roles.get(t))==null?void 0:y.props["aria-current"])===void 0)throw new Error('"aria-current" is not supported on role "'+t+'".')}if(d!==void 0&&t!=="heading")throw new Error('Role "'+t+'" cannot have "level" property.');if(v!==void 0){var g;if(((g=me.roles.get(t))==null?void 0:g.props["aria-valuenow"])===void 0)throw new Error('"aria-valuenow" is not supported on role "'+t+'".')}if(S!==void 0){var E;if(((E=me.roles.get(t))==null?void 0:E.props["aria-valuemax"])===void 0)throw new Error('"aria-valuemax" is not supported on role "'+t+'".')}if(R!==void 0){var M;if(((M=me.roles.get(t))==null?void 0:M.props["aria-valuemin"])===void 0)throw new Error('"aria-valuemin" is not supported on role "'+t+'".')}if(p!==void 0){var N;if(((N=me.roles.get(t))==null?void 0:N.props["aria-valuetext"])===void 0)throw new Error('"aria-valuetext" is not supported on role "'+t+'".')}if(b!==void 0){var j;if(((j=me.roles.get(t))==null?void 0:j.props["aria-expanded"])===void 0)throw new Error('"aria-expanded" is not supported on role "'+t+'".')}const D=new WeakMap;function A(k){return D.has(k)||D.set(k,Qf(k)),D.get(k)}return Array.from(e.querySelectorAll(sw(t))).filter(k=>{if(k.hasAttribute("role")){const Y=k.getAttribute("role");if(a)return Y.split(" ").filter(Boolean).some(ye=>ye===t);const[le]=Y.split(" ");return le===t}return Rs(k).some(Y=>Y===t)}).filter(k=>{if(s!==void 0)return s===Kg(k);if(l!==void 0)return l===Yg(k);if(u!==void 0)return u===Xg(k);if(f!==void 0)return f===Jg(k);if(c!==void 0)return c===Qg(k);if(b!==void 0)return b===Zg(k);if(d!==void 0)return d===eR(k);if(v!==void 0||S!==void 0||R!==void 0||p!==void 0){let Z=!0;if(v!==void 0&&Z&&(Z=v===tR(k)),S!==void 0&&Z&&(Z=S===rR(k)),R!==void 0&&Z&&(Z=R===nR(k)),p!==void 0){var F;Z&&(Z=Be((F=oR(k))!=null?F:null,k,p,Y=>Y))}return Z}return!0}).filter(k=>o===void 0?!0:Be(ms(k,{computedStyleSupportsPseudoElements:K().computedStyleSupportsPseudoElements}),k,o,F=>F)).filter(k=>i===void 0?!0:Be(jf(k,{computedStyleSupportsPseudoElements:K().computedStyleSupportsPseudoElements}),k,i,F=>F)).filter(k=>n===!1?gs(k,{isSubtreeInaccessible:A})===!1:!0)};function sw(e){var t;const r='*[role~="'+e+'"]',n=(t=me.roleElements.get(e))!=null?t:new Set,o=new Set(Array.from(n).map(i=>{let{name:a}=i;return a}));return[r].concat(Array.from(o)).join(",")}const np=e=>{let t="";return e===void 0?t="":typeof e=="string"?t=' and name "'+e+'"':t=" and name `"+e+"`",t},lw=function(e,t,r){let{name:n}=r===void 0?{}:r;return'Found multiple elements with the role "'+t+'"'+np(n)},uw=function(e,t,r){let{hidden:n=K().defaultHidden,name:o,description:i}=r===void 0?{}:r;if(K()._disableExpensiveErrorDiagnostics)return'Unable to find role="'+t+'"'+np(o);let a="";Array.from(e.children).forEach(f=>{a+=Gg(f,{hidden:n,includeDescription:i!==void 0})});let s;a.length===0?n===!1?s="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":s="There are no available roles.":s=(`
56
+ `),e):K().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 K().getElementError("Unable to find a label with the text of: "+t,e)}return a};function bw(e,t){const r=t.getAttribute("for");if(!r)return null;const n=e.querySelector('[id="'+r+'"]');return n?n.tagName.toLowerCase():null}const np=(e,t)=>"Found multiple elements with the text of: "+t,vw=vt(ba(Oo,np),Oo.name,"query"),op=ba(ft,np),yw=va(be(ft,ft.name,"findAll")),gw=va(vt(op,ft.name,"find")),ww=be(ft,ft.name,"getAll"),Rw=vt(op,ft.name,"get"),Ew=be(Oo,Oo.name,"queryAll"),pi=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return ze(t[0]),ka("placeholder",...t)},xw=(e,t)=>"Found multiple elements with the placeholder text of: "+t,Cw=(e,t)=>"Unable to find an element with the placeholder text of: "+t,qw=be(pi,pi.name,"queryAll"),[_w,Pw,Tw,Sw,Aw]=ht(pi,xw,Cw),mi=function(e,t,r){let{selector:n="*",exact:o=!0,collapseWhitespace:a,trim:i,ignore:s=K().defaultIgnore,normalizer:l}=r===void 0?{}:r;ze(e);const u=o?Le:Tt,d=mt({collapseWhitespace:a,trim:i,normalizer:l});let f=[];return typeof e.matches=="function"&&e.matches(n)&&(f=[e]),[...f,...Array.from(e.querySelectorAll(n))].filter(c=>!s||!c.matches(s)).filter(c=>u(Na(c),c,t,d))},Mw=(e,t)=>"Found multiple elements with the text: "+t,Ow=function(e,t,r){r===void 0&&(r={});const{collapseWhitespace:n,trim:o,normalizer:a,selector:i}=r,l=mt({collapseWhitespace:n,trim:o,normalizer:a})(t.toString()),u=l!==t.toString(),d=(i??"*")!=="*";return"Unable to find an element with the text: "+(u?l+" (normalized from '"+t+"')":t)+(d?", which matches selector '"+i+"'":"")+". 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."},Iw=be(mi,mi.name,"queryAll"),[Nw,kw,jw,Dw,$w]=ht(mi,Mw,Ow),hi=function(e,t,r){let{exact:n=!0,collapseWhitespace:o,trim:a,normalizer:i}=r===void 0?{}:r;ze(e);const s=n?Le:Tt,l=mt({collapseWhitespace:o,trim:a,normalizer:i});return Array.from(e.querySelectorAll("input,textarea,select")).filter(u=>u.tagName==="SELECT"?Array.from(u.options).filter(f=>f.selected).some(f=>s(Na(f),f,t,l)):s(u.value,u,t,l))},Bw=(e,t)=>"Found multiple elements with the display value: "+t+".",Lw=(e,t)=>"Unable to find an element with the display value: "+t+".",Fw=be(hi,hi.name,"queryAll"),[Uw,zw,Vw,Hw,Ww]=ht(hi,Bw,Lw),Gw=/^(img|input|area|.+-.+)$/i,bi=function(e,t,r){return r===void 0&&(r={}),ze(e),ka("alt",e,t,r).filter(n=>Gw.test(n.tagName))},Kw=(e,t)=>"Found multiple elements with the alt text: "+t,Yw=(e,t)=>"Unable to find an element with the alt text: "+t,Xw=be(bi,bi.name,"queryAll"),[Jw,Qw,Zw,eR,tR]=ht(bi,Kw,Yw),rR=e=>{var t;return e.tagName.toLowerCase()==="title"&&((t=e.parentElement)==null?void 0:t.tagName.toLowerCase())==="svg"},vi=function(e,t,r){let{exact:n=!0,collapseWhitespace:o,trim:a,normalizer:i}=r===void 0?{}:r;ze(e);const s=n?Le:Tt,l=mt({collapseWhitespace:o,trim:a,normalizer:i});return Array.from(e.querySelectorAll("[title], svg > title")).filter(u=>s(u.getAttribute("title"),u,t,l)||rR(u)&&s(Na(u),u,t,l))},nR=(e,t)=>"Found multiple elements with the title: "+t+".",oR=(e,t)=>"Unable to find an element with the title: "+t+".",aR=be(vi,vi.name,"queryAll"),[iR,sR,lR,uR,cR]=ht(vi,nR,oR),yi=function(e,t,r){let{hidden:n=K().defaultHidden,name:o,description:a,queryFallbacks:i=!1,selected:s,busy:l,checked:u,pressed:d,current:f,level:c,expanded:h,value:{now:v,min:w,max:S,text:p}={}}=r===void 0?{}:r;if(ze(e),s!==void 0){var q;if(((q=me.roles.get(t))==null?void 0:q.props["aria-selected"])===void 0)throw new Error('"aria-selected" is not supported on role "'+t+'".')}if(l!==void 0){var _;if(((_=me.roles.get(t))==null?void 0:_.props["aria-busy"])===void 0)throw new Error('"aria-busy" is not supported on role "'+t+'".')}if(u!==void 0){var T;if(((T=me.roles.get(t))==null?void 0:T.props["aria-checked"])===void 0)throw new Error('"aria-checked" is not supported on role "'+t+'".')}if(d!==void 0){var P;if(((P=me.roles.get(t))==null?void 0:P.props["aria-pressed"])===void 0)throw new Error('"aria-pressed" is not supported on role "'+t+'".')}if(f!==void 0){var y;if(((y=me.roles.get(t))==null?void 0:y.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(v!==void 0){var g;if(((g=me.roles.get(t))==null?void 0:g.props["aria-valuenow"])===void 0)throw new Error('"aria-valuenow" is not supported on role "'+t+'".')}if(S!==void 0){var E;if(((E=me.roles.get(t))==null?void 0:E.props["aria-valuemax"])===void 0)throw new Error('"aria-valuemax" is not supported on role "'+t+'".')}if(w!==void 0){var M;if(((M=me.roles.get(t))==null?void 0:M.props["aria-valuemin"])===void 0)throw new Error('"aria-valuemin" is not supported on role "'+t+'".')}if(p!==void 0){var N;if(((N=me.roles.get(t))==null?void 0:N.props["aria-valuetext"])===void 0)throw new Error('"aria-valuetext" is not supported on role "'+t+'".')}if(h!==void 0){var j;if(((j=me.roles.get(t))==null?void 0:j.props["aria-expanded"])===void 0)throw new Error('"aria-expanded" is not supported on role "'+t+'".')}const D=new WeakMap;function A(k){return D.has(k)||D.set(k,ep(k)),D.get(k)}return Array.from(e.querySelectorAll(dR(t))).filter(k=>{if(k.hasAttribute("role")){const Y=k.getAttribute("role");if(i)return Y.split(" ").filter(Boolean).some(ye=>ye===t);const[le]=Y.split(" ");return le===t}return ws(k).some(Y=>Y===t)}).filter(k=>{if(s!==void 0)return s===Qg(k);if(l!==void 0)return l===Zg(k);if(u!==void 0)return u===ew(k);if(d!==void 0)return d===tw(k);if(f!==void 0)return f===rw(k);if(h!==void 0)return h===nw(k);if(c!==void 0)return c===ow(k);if(v!==void 0||S!==void 0||w!==void 0||p!==void 0){let Z=!0;if(v!==void 0&&Z&&(Z=v===aw(k)),S!==void 0&&Z&&(Z=S===iw(k)),w!==void 0&&Z&&(Z=w===sw(k)),p!==void 0){var F;Z&&(Z=Le((F=lw(k))!=null?F:null,k,p,Y=>Y))}return Z}return!0}).filter(k=>o===void 0?!0:Le(ms(k,{computedStyleSupportsPseudoElements:K().computedStyleSupportsPseudoElements}),k,o,F=>F)).filter(k=>a===void 0?!0:Le($f(k,{computedStyleSupportsPseudoElements:K().computedStyleSupportsPseudoElements}),k,a,F=>F)).filter(k=>n===!1?gs(k,{isSubtreeInaccessible:A})===!1:!0)};function dR(e){var t;const r='*[role~="'+e+'"]',n=(t=me.roleElements.get(e))!=null?t:new Set,o=new Set(Array.from(n).map(a=>{let{name:i}=a;return i}));return[r].concat(Array.from(o)).join(",")}const ap=e=>{let t="";return e===void 0?t="":typeof e=="string"?t=' and name "'+e+'"':t=" and name `"+e+"`",t},fR=function(e,t,r){let{name:n}=r===void 0?{}:r;return'Found multiple elements with the role "'+t+'"'+ap(n)},pR=function(e,t,r){let{hidden:n=K().defaultHidden,name:o,description:a}=r===void 0?{}:r;if(K()._disableExpensiveErrorDiagnostics)return'Unable to find role="'+t+'"'+ap(o);let i="";Array.from(e.children).forEach(d=>{i+=Jg(d,{hidden:n,includeDescription:a!==void 0})});let s;i.length===0?n===!1?s="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":s="There are no available roles.":s=(`
52
57
  Here are the `+(n===!1?"accessible":"available")+` roles:
53
58
 
54
- `+a.replace(/\n/g,`
59
+ `+i.replace(/\n/g,`
55
60
  `).replace(/\n\s\s\n/g,`
56
61
 
57
62
  `)+`
58
- `).trim();let l="";o===void 0?l="":typeof o=="string"?l=' and name "'+o+'"':l=" and name `"+o+"`";let u="";return i===void 0?u="":typeof i=="string"?u=' and description "'+i+'"':u=" and description `"+i+"`",(`
63
+ `).trim();let l="";o===void 0?l="":typeof o=="string"?l=' and name "'+o+'"':l=" and name `"+o+"`";let u="";return a===void 0?u="":typeof a=="string"?u=' and description "'+a+'"':u=" and description `"+a+"`",(`
59
64
  Unable to find an `+(n===!1?"accessible ":"")+'element with the role "'+t+'"'+l+u+`
60
65
 
61
- `+s).trim()},cw=be(ya,ya.name,"queryAll"),[dw,fw,pw,mw,hw]=mt(ya,lw,uw),ws=()=>K().testIdAttribute,ga=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return Ue(t[0]),ki(ws(),...t)},bw=(e,t)=>"Found multiple elements by: ["+ws()+'="'+t+'"]',vw=(e,t)=>"Unable to find an element by: ["+ws()+'="'+t+'"]',yw=be(ga,ga.name,"queryAll"),[gw,Rw,ww,Ew,xw]=mt(ga,bw,vw);var Ra=Object.freeze({__proto__:null,queryAllByLabelText:yR,queryByLabelText:pR,getAllByLabelText:bR,getByLabelText:vR,findAllByLabelText:mR,findByLabelText:hR,queryByPlaceholderText:ER,queryAllByPlaceholderText:wR,getByPlaceholderText:CR,getAllByPlaceholderText:xR,findAllByPlaceholderText:qR,findByPlaceholderText:_R,queryByText:AR,queryAllByText:SR,getByText:OR,getAllByText:MR,findAllByText:IR,findByText:NR,queryByDisplayValue:$R,queryAllByDisplayValue:DR,getByDisplayValue:LR,getAllByDisplayValue:BR,findAllByDisplayValue:FR,findByDisplayValue:UR,queryByAltText:GR,queryAllByAltText:WR,getByAltText:YR,getAllByAltText:KR,findAllByAltText:XR,findByAltText:JR,queryByTitle:rw,queryAllByTitle:tw,getByTitle:ow,getAllByTitle:nw,findAllByTitle:iw,findByTitle:aw,queryByRole:dw,queryAllByRole:cw,getAllByRole:fw,getByRole:pw,findAllByRole:mw,findByRole:hw,queryByTestId:gw,queryAllByTestId:yw,getByTestId:ww,getAllByTestId:Rw,findAllByTestId:Ew,findByTestId:xw});function op(e,t,r){return t===void 0&&(t=Ra),r===void 0&&(r={}),Object.keys(t).reduce((n,o)=>{const i=t[o];return n[o]=i.bind(null,e),n},r)}const Kc={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}}},Cw={doubleClick:"dblClick"};Object.keys(Kc).forEach(e=>{const{EventType:t,defaultInit:r}=Kc[e];e.toLowerCase()});Object.keys(Cw).forEach(e=>{});function qw(e){return e.replace(/[ \t]*[\n][ \t]*/g,`
62
- `)}function _w(e){return Rg.compressToEncodedURIComponent(qw(e))}function Pw(e){return"https://testing-playground.com/#markup="+_w(e)}const Tw=(e,t,r)=>Array.isArray(e)?e.forEach(n=>Hc(n,t,r)):Hc(e,t,r),Sw=function(e){if(e===void 0&&(e=ys().body),!e||!("innerHTML"in e)){console.log("The element you're providing isn't a valid DOM element.");return}if(!e.innerHTML){console.log("The provided element doesn't have any children.");return}const t=Pw(e.innerHTML);return console.log(`Open this URL in your browser
66
+ `+s).trim()},mR=be(yi,yi.name,"queryAll"),[hR,bR,vR,yR,gR]=ht(yi,fR,pR),Rs=()=>K().testIdAttribute,gi=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return ze(t[0]),ka(Rs(),...t)},wR=(e,t)=>"Found multiple elements by: ["+Rs()+'="'+t+'"]',RR=(e,t)=>"Unable to find an element by: ["+Rs()+'="'+t+'"]',ER=be(gi,gi.name,"queryAll"),[xR,CR,qR,_R,PR]=ht(gi,wR,RR);var wi=Object.freeze({__proto__:null,queryAllByLabelText:Ew,queryByLabelText:vw,getAllByLabelText:ww,getByLabelText:Rw,findAllByLabelText:yw,findByLabelText:gw,queryByPlaceholderText:_w,queryAllByPlaceholderText:qw,getByPlaceholderText:Tw,getAllByPlaceholderText:Pw,findAllByPlaceholderText:Sw,findByPlaceholderText:Aw,queryByText:Nw,queryAllByText:Iw,getByText:jw,getAllByText:kw,findAllByText:Dw,findByText:$w,queryByDisplayValue:Uw,queryAllByDisplayValue:Fw,getByDisplayValue:Vw,getAllByDisplayValue:zw,findAllByDisplayValue:Hw,findByDisplayValue:Ww,queryByAltText:Jw,queryAllByAltText:Xw,getByAltText:Zw,getAllByAltText:Qw,findAllByAltText:eR,findByAltText:tR,queryByTitle:iR,queryAllByTitle:aR,getByTitle:lR,getAllByTitle:sR,findAllByTitle:uR,findByTitle:cR,queryByRole:hR,queryAllByRole:mR,getAllByRole:bR,getByRole:vR,findAllByRole:yR,findByRole:gR,queryByTestId:xR,queryAllByTestId:ER,getByTestId:qR,getAllByTestId:CR,findAllByTestId:_R,findByTestId:PR});function ip(e,t,r){return t===void 0&&(t=wi),r===void 0&&(r={}),Object.keys(t).reduce((n,o)=>{const a=t[o];return n[o]=a.bind(null,e),n},r)}const Kc={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}}},TR={doubleClick:"dblClick"};Object.keys(Kc).forEach(e=>{const{EventType:t,defaultInit:r}=Kc[e];e.toLowerCase()});Object.keys(TR).forEach(e=>{});function SR(e){return e.replace(/[ \t]*[\n][ \t]*/g,`
67
+ `)}function AR(e){return Cg.compressToEncodedURIComponent(SR(e))}function MR(e){return"https://testing-playground.com/#markup="+AR(e)}const OR=(e,t,r)=>Array.isArray(e)?e.forEach(n=>Hc(n,t,r)):Hc(e,t,r),IR=function(e){if(e===void 0&&(e=ys().body),!e||!("innerHTML"in e)){console.log("The element you're providing isn't a valid DOM element.");return}if(!e.innerHTML){console.log("The provided element doesn't have any children.");return}const t=MR(e.innerHTML);return console.log(`Open this URL in your browser
63
68
 
64
- `+t),t},Yc={debug:Tw,logTestingPlaygroundURL:Sw},ji=typeof document<"u"&&document.body?op(document.body,Ra,Yc):Object.keys(Ra).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),Yc);function Et(e,t){return K().eventWrapper(e)}function Qe(e){const t=Ch(e,fs),r=Bo(e.ownerDocument);(t??e.ownerDocument.body)!==r&&(Et(t?()=>t.focus():()=>r?.blur()),Ph(t??e.ownerDocument.body))}function Aw(e){!fs(e)||!(Bo(e.ownerDocument)===e)||Et(()=>e.blur())}const Ze={};Ze.click=(e,t,r)=>{const n=t.closest("button,input,label,select,textarea"),o=n&&z(n,"label")&&n.control;if(o&&o!==t)return()=>{fs(o)&&(Qe(o),r.dispatchEvent(o,xh(e)))};if(z(t,"input",{type:"file"}))return()=>{Aw(t),t.dispatchEvent(new(ve(t)).Event("fileDialog")),Qe(t)}};const xt=Symbol("Displayed value in UI"),$e=Symbol("Displayed selection in UI"),yi=Symbol("Initial value to compare on blur");function Mw(e){return typeof e=="object"&&xt in e}function Ow(e){return!!e&&typeof e=="object"&&$e in e}function Iw(e,t){e[yi]===void 0&&(e[yi]=e.value),e[xt]=t,e.value=Object.assign(new String(t),{[xt]:!0})}function Pe(e){return e[xt]===void 0?e.value:String(e[xt])}function Es(e){e[xt]=void 0}function ip(e){e[yi]=void 0}function Nw(e){return e[yi]}function kw(e,t){e[$e]=t}function Tt(e,{focusOffset:t,anchorOffset:r=t},n="replace"){const o=Pe(e).length,i=c=>Math.max(0,Math.min(o,c)),a=n==="replace"||e[$e]===void 0?i(r):e[$e].anchorOffset,s=i(t),l=Math.min(a,s),u=Math.max(a,s);if(e[$e]={anchorOffset:a,focusOffset:s},e.selectionStart===l&&e.selectionEnd===u)return;const f=Object.assign(new Number(l),{[$e]:!0});try{e.setSelectionRange(f,u)}catch{}}function Oo(e){var t,r,n;const o=(n=e[$e])!==null&&n!==void 0?n:{anchorOffset:(t=e.selectionStart)!==null&&t!==void 0?t:0,focusOffset:(r=e.selectionEnd)!==null&&r!==void 0?r:0};return{...o,startOffset:Math.min(o.anchorOffset,o.focusOffset),endOffset:Math.max(o.anchorOffset,o.focusOffset)}}function jw(e){return!!e[$e]}function ti(e){e[$e]=void 0}const gi=globalThis.parseInt;function Dw(e){const t=e.replace(/\D/g,"");if(t.length<2)return e;const r=gi(t[0],10),n=gi(t[1],10);if(r>=3||r===2&&n>=4){let o;return r>=3?o=1:o=2,Xc(t,o)}return e.length===2?e:Xc(t,2)}function Xc(e,t){const r=e.slice(0,t),n=Math.min(gi(r,10),23),o=e.slice(t),i=gi(o,10),a=Math.min(i,59);return`${n.toString().padStart(2,"0")}:${a.toString().padStart(2,"0")}`}function ap(e,t){const r=e.cloneNode();return r.value=t,r.value===t}var sp=(function(e){return e.email="email",e.password="password",e.search="search",e.telephone="telephone",e.text="text",e.url="url",e})(sp||{});function $w(e){var t;const r=(t=e.getAttribute("maxlength"))!==null&&t!==void 0?t:"";return/^\d+$/.test(r)&&Number(r)>=0?Number(r):void 0}function Bw(e){return z(e,"textarea")||z(e,"input")&&e.type in sp}function lp(e,t,r,n){if(ri(e)&&t+r>=0&&t+r<=e.nodeValue.length)return{node:e,offset:t+r};const o=Jc(e,t,r);if(o){if(ri(o))return{node:o,offset:r>0?Math.min(1,o.nodeValue.length):Math.max(o.nodeValue.length-1,0)};if(z(o,"br")){const i=Jc(o,void 0,r);return i?ri(i)?{node:i,offset:r>0?0:i.nodeValue.length}:r<0&&z(i,"br")?{node:o.parentNode,offset:Yo(o)}:{node:i.parentNode,offset:Yo(i)+(r>0?0:1)}:r<0&&n==="deleteContentBackward"?{node:o.parentNode,offset:Yo(o)}:void 0}else return{node:o.parentNode,offset:Yo(o)+(r>0?1:0)}}}function Jc(e,t,r){const n=Number(t)+(r<0?-1:0);return t!==void 0&&xs(e)&&n>=0&&n<e.children.length&&(e=e.children[n]),Fw(e,r===1?"next":"previous",Lw)}function Lw(e){if(ri(e))return!0;if(xs(e)){if(z(e,["input","textarea"]))return e.type!=="hidden";if(z(e,"br"))return!0}return!1}function Yo(e){let t=0;for(;e.previousSibling;)t++,e=e.previousSibling;return t}function xs(e){return e.nodeType===1}function ri(e){return e.nodeType===3}function Fw(e,t,r){for(;;){var n;const o=e[`${t}Sibling`];if(o){if(e=Uw(o,t==="next"?"first":"last"),r(e))return e}else if(e.parentNode&&(!xs(e.parentNode)||!ct(e.parentNode)&&e.parentNode!==((n=e.ownerDocument)===null||n===void 0?void 0:n.body)))e=e.parentNode;else break}}function Uw(e,t){for(;e.hasChildNodes();)e=e[`${t}Child`];return e}const Io=Symbol("Track programmatic changes for React workaround");function zw(e){return Object.getOwnPropertyNames(e).some(t=>t.startsWith("__react"))&&ve(e).REACT_VERSION===17}function Vw(e){zw(e)&&(e[Io]={previousValue:String(e.value),tracked:[]})}function Hw(e,t){var r,n;(n=e[Io])===null||n===void 0||(r=n.tracked)===null||r===void 0||r.push(t),e[Io]||(Es(e),Tt(e,{focusOffset:t.length}))}function Ww(e,t){var r;const n=e[Io];if(e[Io]=void 0,!(!(n==null||(r=n.tracked)===null||r===void 0)&&r.length))return;const o=n.tracked.length===2&&n.tracked[0]===n.previousValue&&n.tracked[1]===e.value;o||Es(e),jw(e)&&Tt(e,{focusOffset:o?t:e.value.length})}function up(e){const t=Gw(e);if(t&&_e(t))return{type:"input",selection:Oo(t)};const r=t?.ownerDocument.getSelection();return{type:To(e)&&r?.anchorNode&&To(r.anchorNode)?"contenteditable":"default",selection:r}}function Gw(e){return e.nodeType===1?e:e.parentElement}function Kw(e){const t=up(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 ft({focusNode:e,focusOffset:t,anchorNode:r=e,anchorOffset:n=t}){var o,i;if(up(e).type==="input")return Tt(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 cp(e){return z(e,"input")&&["date","time"].includes(e.type)}function Ct(e,t,r,n="insertText"){const o=Kw(t);o&&(!cp(t)&&!e.dispatchUIEvent(t,"beforeinput",{inputType:n,data:r})||("startContainer"in o?Yw(e,t,o,r,n):Xw(e,t,o,r,n)))}function Yw(e,t,r,n,o){let i=!1;if(!r.collapsed)i=!0,r.deleteContents();else if(["deleteContentBackward","deleteContentForward"].includes(o)){const a=lp(r.startContainer,r.startOffset,o==="deleteContentBackward"?-1:1,o);if(a){i=!0;const 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){const a=r.endOffset;r.endContainer.insertData(a,n),r.setStart(r.endContainer,a+n.length),r.setEnd(r.endContainer,a+n.length)}else{const 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 Xw(e,t,r,n,o){let i=n;if(Bw(t)){const u=$w(t);if(u!==void 0&&n.length>0){const f=u-t.value.length;if(f>0)i=n.substring(0,f);else return}}const{newValue:a,newOffset:s,oldValue:l}=Jw(i,t,r,o);a===l&&s===r.startOffset&&s===r.endOffset||z(t,"input",{type:"number"})&&!Qw(a)||(Iw(t,a),ft({focusNode:t,anchorOffset:s,focusOffset:s}),cp(t)?ap(t,a)&&(Qc(e,t,s,{}),e.dispatchUIEvent(t,"change"),ip(t)):Qc(e,t,s,{data:n,inputType:o}))}function Jw(e,t,{startOffset:r,endOffset:n},o){const i=Pe(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);let f=`${s}${e}${u}`,c=a+e.length;if(z(t,"input",{type:"time"})){const d=Dw(f);d!==""&&ap(t,d)&&(f=d,c=d.length)}return{oldValue:i,newValue:f,newOffset:c}}function Qc(e,t,r,n){e.dispatchUIEvent(t,"input",n),Ww(t,r)}function Qw(e){var t,r;const 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]))}Ze.cut=(e,t,r)=>()=>{wt(t)&&Ct(r,t,"","deleteByCut")};function Zw(e){return e?ct(e)?e.textContent:Pe(e):null}function eE(e){const t=ve(e);for(let r=e;r?.ownerDocument;r=r.parentElement){const{display:n,visibility:o}=t.getComputedStyle(r);if(n==="none"||o==="hidden")return!1}return!0}function tE(e,t){const r=e.ownerDocument,n=r.querySelectorAll(wf),o=Array.from(n).filter(l=>l===e||!(Number(l.getAttribute("tabindex"))<0||Le(l)));Number(e.getAttribute("tabindex"))>=0&&o.sort((l,u)=>{const f=Number(l.getAttribute("tabindex")),c=Number(u.getAttribute("tabindex"));return f===c?0:f===0?1:c===0?-1:f-c});const i={};let a=[r.body];const s=z(e,"input",{type:"radio"})?e.name:void 0;o.forEach(l=>{const u=l;if(z(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(f=>!z(f,"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||eE(a[l]))return a[l]}function Zc(e,t){if(_e(e)){const r=Oo(e);ft({focusNode:e,focusOffset:r.startOffset===r.endOffset?r.focusOffset+t:t<0?r.startOffset:r.endOffset})}else{const r=e.ownerDocument.getSelection();if(!r?.focusNode)return;if(r.isCollapsed){const n=lp(r.focusNode,r.focusOffset,t);n&&ft({focusNode:n.node,focusOffset:n.offset})}else r[t<0?"collapseToStart":"collapseToEnd"]()}}function dp(e){if(_e(e))return ft({focusNode:e,anchorOffset:0,focusOffset:Pe(e).length});var t;const r=(t=To(e))!==null&&t!==void 0?t:e.ownerDocument.body;ft({focusNode:r,anchorOffset:0,focusOffset:r.childNodes.length})}function rE(e){if(_e(e))return Oo(e).startOffset===0&&Oo(e).endOffset===Pe(e).length;var t;const r=(t=To(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 Ro(e,t,r){var n;if(_e(e))return ft({focusNode:e,anchorOffset:t,focusOffset:r});if(ct(e)&&((n=e.firstChild)===null||n===void 0?void 0:n.nodeType)===3)return ft({focusNode:e.firstChild,anchorOffset:t,focusOffset:r});throw new Error("Not implemented. The result of this interaction is unreliable.")}function Xo(e,t,r){const n=ve(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(!Le(o[i])){Qe(o[i]),e.dispatchUIEvent(o[i],"click");return}}}Ze.keydown=(e,t,r)=>{var n,o;return(o=(n=ed[e.key])===null||n===void 0?void 0:n.call(ed,e,t,r))!==null&&o!==void 0?o:nE(e,t,r)};const ed={ArrowDown:(e,t,r)=>{if(z(t,"input",{type:"radio"}))return()=>Xo(r,t,1)},ArrowLeft:(e,t,r)=>z(t,"input",{type:"radio"})?()=>Xo(r,t,-1):()=>Zc(t,-1),ArrowRight:(e,t,r)=>z(t,"input",{type:"radio"})?()=>Xo(r,t,1):()=>Zc(t,1),ArrowUp:(e,t,r)=>{if(z(t,"input",{type:"radio"}))return()=>Xo(r,t,-1)},Backspace:(e,t,r)=>{if(wt(t))return()=>{Ct(r,t,"","deleteContentBackward")}},Delete:(e,t,r)=>{if(wt(t))return()=>{Ct(r,t,"","deleteContentForward")}},End:(e,t)=>{if(z(t,["input","textarea"])||ct(t))return()=>{var r,n;const o=(n=(r=Zw(t))===null||r===void 0?void 0:r.length)!==null&&n!==void 0?n:0;Ro(t,o,o)}},Home:(e,t)=>{if(z(t,["input","textarea"])||ct(t))return()=>{Ro(t,0,0)}},PageDown:(e,t)=>{if(z(t,["input"]))return()=>{const r=Pe(t).length;Ro(t,r,r)}},PageUp:(e,t)=>{if(z(t,["input"]))return()=>{Ro(t,0,0)}},Tab:(e,t,r)=>()=>{const n=tE(t,r.system.keyboard.modifiers.Shift);Qe(n),_e(n)&&Tt(n,{anchorOffset:0,focusOffset:n.value.length})}},nE=(e,t,r)=>{if(e.code==="KeyA"&&r.system.keyboard.modifiers.Control)return()=>dp(t)};Ze.keypress=(e,t,r)=>{if(e.key==="Enter"){if(z(t,"button")||z(t,"input")&&oE.includes(t.type)||z(t,"a")&&t.href)return()=>{r.dispatchUIEvent(t,"click")};if(z(t,"input")){const n=t.form,o=n?.querySelector('input[type="submit"], button:not([type]), button[type="submit"]');return o?()=>r.dispatchUIEvent(o,"click"):n&&iE.includes(t.type)&&n.querySelectorAll("input").length===1?()=>r.dispatchUIEvent(n,"submit"):void 0}}if(wt(t)){const n=e.key==="Enter"?ct(t)&&!r.system.keyboard.modifiers.Shift?"insertParagraph":"insertLineBreak":"insertText",o=e.key==="Enter"?`
65
- `:e.key;return()=>Ct(r,t,o,n)}};const oE=["button","color","file","image","reset","submit"],iE=["email","month","password","search","tel","text","url","week"];Ze.keyup=(e,t,r)=>{var n;return(n=td[e.key])===null||n===void 0?void 0:n.call(td,e,t,r)};const td={" ":(e,t,r)=>{if(xf(t))return()=>r.dispatchUIEvent(t,"click")}};Ze.paste=(e,t,r)=>{if(wt(t))return()=>{var n;const o=(n=e.clipboardData)===null||n===void 0?void 0:n.getData("text");o&&Ct(r,t,o,"insertFromPaste")}};const fp={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 pp(e){return fp[e].EventType}const aE=["MouseEvent","PointerEvent"];function sE(e){return aE.includes(pp(e))}function lE(e){return pp(e)==="KeyboardEvent"}const uE={ClipboardEvent:[dE],Event:[],FocusEvent:[yo,fE],InputEvent:[yo,pE],MouseEvent:[yo,Gi,rd],PointerEvent:[yo,Gi,rd,hE],KeyboardEvent:[yo,Gi,mE]};function mp(e,t,r){const n=ve(t),{EventType:o,defaultInit:i}=fp[e],a=new(cE(n))[o](e,i);return uE[o].forEach(s=>s(a,r??{})),a}function cE(e){var t;const r=(t=e.Event)!==null&&t!==void 0?t:class{};var n;const o=(n=e.AnimationEvent)!==null&&n!==void 0?n:class extends r{};var i;const a=(i=e.ClipboardEvent)!==null&&i!==void 0?i:class extends r{};var s;const l=(s=e.PopStateEvent)!==null&&s!==void 0?s:class extends r{};var u;const f=(u=e.ProgressEvent)!==null&&u!==void 0?u:class extends r{};var c;const d=(c=e.TransitionEvent)!==null&&c!==void 0?c:class extends r{};var b;const v=(b=e.UIEvent)!==null&&b!==void 0?b:class extends r{};var R;const S=(R=e.CompositionEvent)!==null&&R!==void 0?R:class extends v{};var p;const q=(p=e.FocusEvent)!==null&&p!==void 0?p:class extends v{};var _;const T=(_=e.InputEvent)!==null&&_!==void 0?_:class extends v{};var P;const y=(P=e.KeyboardEvent)!==null&&P!==void 0?P:class extends v{};var g;const E=(g=e.MouseEvent)!==null&&g!==void 0?g:class extends v{};var M;const N=(M=e.DragEvent)!==null&&M!==void 0?M:class extends E{};var j;const D=(j=e.PointerEvent)!==null&&j!==void 0?j:class extends E{};var A;const k=(A=e.TouchEvent)!==null&&A!==void 0?A:class extends v{};return{Event:r,AnimationEvent:o,ClipboardEvent:a,PopStateEvent:l,ProgressEvent:f,TransitionEvent:d,UIEvent:v,CompositionEvent:S,FocusEvent:q,InputEvent:T,KeyboardEvent:y,MouseEvent:E,DragEvent:N,PointerEvent:D,TouchEvent:k}}function et(e,t){for(const[r,n]of Object.entries(t))Object.defineProperty(e,r,{get:()=>n??null})}function te(e){return Number(e??0)}function dE(e,{clipboardData:t}){et(e,{clipboardData:t})}function fE(e,{relatedTarget:t}){et(e,{relatedTarget:t})}function pE(e,{data:t,inputType:r,isComposing:n}){et(e,{data:t,isComposing:!!n,inputType:String(r)})}function yo(e,{view:t,detail:r}){et(e,{view:t,detail:te(r??0)})}function Gi(e,{altKey:t,ctrlKey:r,metaKey:n,shiftKey:o,modifierAltGraph:i,modifierCapsLock:a,modifierFn:s,modifierFnLock:l,modifierNumLock:u,modifierScrollLock:f,modifierSymbol:c,modifierSymbolLock:d}){et(e,{altKey:!!t,ctrlKey:!!r,metaKey:!!n,shiftKey:!!o,getModifierState(b){return!!{Alt:t,AltGraph:i,CapsLock:a,Control:r,Fn:s,FnLock:l,Meta:n,NumLock:u,ScrollLock:f,Shift:o,Symbol:c,SymbolLock:d}[b]}})}function mE(e,{key:t,code:r,location:n,repeat:o,isComposing:i,charCode:a}){et(e,{key:String(t),code:String(r),location:te(n),repeat:!!o,isComposing:!!i,charCode:a})}function rd(e,{x:t,y:r,screenX:n,screenY:o,clientX:i=t,clientY:a=r,button:s,buttons:l,relatedTarget:u,offsetX:f,offsetY:c,pageX:d,pageY:b}){et(e,{screenX:te(n),screenY:te(o),clientX:te(i),x:te(i),clientY:te(a),y:te(a),button:te(s),buttons:te(l),relatedTarget:u,offsetX:te(f),offsetY:te(c),pageX:te(d),pageY:te(b)})}function hE(e,{pointerId:t,width:r,height:n,pressure:o,tangentialPressure:i,tiltX:a,tiltY:s,twist:l,pointerType:u,isPrimary:f}){et(e,{pointerId:te(t),width:te(r??1),height:te(n??1),pressure:te(o),tangentialPressure:te(i),tiltX:te(a),tiltY:te(s),twist:te(l),pointerType:String(u),isPrimary:!!f})}function bE(e,t,r,n=!1){(sE(t)||lE(t))&&(r={...r,...this.system.getUIEventModifiers()});const o=mp(t,e,r);return hp.call(this,e,o,n)}function hp(e,t,r=!1){var n;const o=t.type,i=r?()=>{}:(n=Ze[o])===null||n===void 0?void 0:n.call(Ze,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}}),Et(()=>e.dispatchEvent(t)),a||i(),!a}return Et(()=>e.dispatchEvent(t))}function at(e,t,r){const n=mp(t,e,r);Et(()=>e.dispatchEvent(n))}const nd=Symbol("patched focus/blur methods");function bp(e){if(e.prototype[nd])return;const{focus:t,blur:r}=e.prototype;Object.defineProperties(e.prototype,{focus:{configurable:!0,get:()=>o},blur:{configurable:!0,get:()=>i},[nd]:{configurable:!0,get:()=>({focus:t,blur:r})}});let n;function o(a){if(this.ownerDocument.visibilityState!=="hidden")return t.call(this,a);const s=od(this.ownerDocument);if(s===this)return;const l=Symbol("focus call");n=l,s&&(r.call(s),at(s,"blur",{relatedTarget:this}),at(s,"focusout",{relatedTarget:n===l?this:null})),n===l&&(t.call(this,a),at(this,"focus",{relatedTarget:s})),n===l&&at(this,"focusin",{relatedTarget:s})}function i(){if(this.ownerDocument.visibilityState!=="hidden")return r.call(this);const a=od(this.ownerDocument);if(a!==this)return;n=Symbol("blur call"),r.call(this),at(a,"blur",{relatedTarget:null}),at(a,"focusout",{relatedTarget:null})}}function od(e){const t=Bo(e);return t?.tagName==="BODY"?null:t}const Ki=Symbol("Interceptor for programmatical calls");function ht(e,t,r){const n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),o=Object.getOwnPropertyDescriptor(e,t),i=n?.set?"set":"value";if(typeof n?.[i]!="function"||n[i][Ki])throw new Error(`Element ${e.tagName} does not implement "${String(t)}".`);function a(...s){const{applyNative:l=!1,realArgs:u,then:f}=r.call(this,...s),c=(!l&&o||n)[i];i==="set"?c.call(this,u):c.call(this,...u),f?.()}a[Ki]=Ki,Object.defineProperty(e,t,{...o??n,[i]:a})}function vE(e){ht(e,"value",function(r){const n=Mw(r);return n&&Vw(this),{applyNative:!!n,realArgs:yE(this,r),then:n?void 0:()=>Hw(this,String(r))}})}function yE(e,t){return z(e,"input",{type:"number"})&&String(t)!==""&&!Number.isNaN(Number(t))?String(Number(t)):String(t)}function gE(e){ht(e,"setSelectionRange",function(r,...n){const o=Ow(r);return{applyNative:!!o,realArgs:[Number(r),...n],then:()=>o?void 0:ti(e)}}),ht(e,"selectionStart",function(r){return{realArgs:r,then:()=>ti(e)}}),ht(e,"selectionEnd",function(r){return{realArgs:r,then:()=>ti(e)}}),ht(e,"select",function(){return{realArgs:[],then:()=>kw(e,{anchorOffset:0,focusOffset:Pe(e).length})}})}function RE(e){ht(e,"setRangeText",function(...r){return{realArgs:r,then:()=>{Es(e),ti(e)}}})}const vt=Symbol("Node prepared with document state workarounds");function vp(e){e[vt]||(e.addEventListener("focus",t=>{const r=t.target;id(r)},{capture:!0,passive:!0}),e.activeElement&&id(e.activeElement),e.addEventListener("blur",t=>{const r=t.target,n=Nw(r);n!==void 0&&(r.value!==n&&at(r,"change"),ip(r))},{capture:!0,passive:!0}),e[vt]=vt)}function id(e){e[vt]||(z(e,["input","textarea"])&&(vE(e),gE(e),RE(e)),e[vt]=vt)}function wE(e){return EE(e)?e:e.ownerDocument}function EE(e){return e.nodeType===9}var pe=(function(e){return e[e.Trigger=2]="Trigger",e[e.Call=1]="Call",e})({});function wo(e,t){e.levelRefs[t]={}}function Jo(e,t){return e.levelRefs[t]}function qt(e){const t=e.delay;if(typeof t=="number")return Promise.all([new Promise(r=>globalThis.setTimeout(()=>r(),t)),e.advanceTimers(t)])}var ni=(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 ot(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})({});const xE=["Alt","AltGraph","Control","Fn","Meta","Shift","Symbol"];function ad(e){return xE.includes(e)}const CE=["CapsLock","FnLock","NumLock","ScrollLock","SymbolLock"];function sd(e){return CE.includes(e)}class qE{isKeyPressed(t){return this.pressed.has(String(t.code))}getPressedKeys(){return this.pressed.values().map(t=>t.keyDef)}async keydown(t,r){const n=String(r.key),o=String(r.code),i=Fi(t.config.document);this.setKeydownTarget(i),this.pressed.add(o,r),ad(n)&&(this.modifiers[n]=!0);const a=t.dispatchUIEvent(i,"keydown",{key:n,code:o});sd(n)&&!this.modifiers[n]&&(this.modifiers[n]=!0,this.modifierLockStart[n]=!0),a&&this.pressed.setUnprevented(o),a&&this.hasKeyPress(n)&&t.dispatchUIEvent(Fi(t.config.document),"keypress",{key:n,code:o,charCode:r.key==="Enter"?13:String(r.key).charCodeAt(0)})}async keyup(t,r){const n=String(r.key),o=String(r.code),i=this.pressed.isUnprevented(o);this.pressed.delete(o),ad(n)&&!this.pressed.values().find(a=>a.keyDef.key===n)&&(this.modifiers[n]=!1),t.dispatchUIEvent(Fi(t.config.document),"keyup",{key:n,code:o},!i),sd(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){ot(this,"system",void 0),ot(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}),ot(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){const 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(){ot(this,"registry",{})}}),ot(this,"carryChar",""),ot(this,"lastKeydownTarget",void 0),ot(this,"modifierLockStart",{}),this.system=t}}const _E=[..."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"}],PE=[{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 TE(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class yp{getButtons(){let t=0;for(const r of Object.keys(this.pressed))t|=2**Number(r);return t}down(t){const r=wa(t.button);if(r in this.pressed){this.pressed[r].push(t);return}return this.pressed[r]=[t],r}up(t){const r=wa(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(){TE(this,"pressed",{})}}const ld={primary:0,secondary:1,auxiliary:2,back:3,X1:3,forward:4,X2:4};function wa(e=0){return e in ld?ld[e]:Number(e)}const ud={1:2,2:1};function Ea(e){return e=wa(e),e in ud?ud[e]:e}function SE(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class AE{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(){SE(this,"pressedKeys",new Set)}}function _o(e,t){const r=[];for(let i=e;i;i=i.parentElement)r.push(i);const 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 xa({target:e,node:t,offset:r}){return _e(e)?{node:e,offset:r??Pe(e).length}:t?{node:t,offset:r??(t.nodeType===3?t.nodeValue.length:t.childNodes.length)}:gp(e,r)}function gp(e,t,r=!0){let n=t===void 0?e.childNodes.length-1:0;const 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.");const 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 gp(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 ME({document:e,target:t,clickCount:r,node:n,offset:o}){if(_h(t))return;const i=_e(t),a=String(i?Pe(t):t.textContent),[s,l]=n?[o,o]:OE(a,o,r);if(i)return Tt(t,{anchorOffset:s??a.length,focusOffset:l??a.length}),{node:t,start:s??0,end:l??a.length};{const{node:u,offset:f}=xa({target:t,node:n,offset:s}),{node:c,offset:d}=xa({target:t,node:n,offset:l}),b=t.ownerDocument.createRange();try{b.setStart(u,f),b.setEnd(c,d)}catch{throw new Error("The given offset is out of bounds.")}const v=e.getSelection();return v?.removeAllRanges(),v?.addRange(b.cloneRange()),b}}function OE(e,t,r){if(r%3===1||e.length===0)return[t,t];const 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 IE(e,{document:t,target:r,node:n,offset:o}){const i=xa({target:r,node:n,offset:o});if("node"in e){if(i.node===e.node){const a=i.offset<e.start?e.end:e.start,s=i.offset>e.end||i.offset<e.start?i.offset:e.end;Tt(e.node,{anchorOffset:a,focusOffset:s})}}else{const 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);const l=t.getSelection();l?.removeAllRanges(),l?.addRange(a.cloneRange())}}function Rp(e,t){var r,n,o,i,a,s,l,u,f,c,d,b,v,R,S,p,q,_,T,P,y,g,E,M;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)||((f=e.coords)===null||f===void 0?void 0:f.offsetX)!==((c=t.coords)===null||c===void 0?void 0:c.offsetX)||((d=e.coords)===null||d===void 0?void 0:d.offsetY)!==((b=t.coords)===null||b===void 0?void 0:b.offsetY)||((v=e.coords)===null||v===void 0?void 0:v.pageX)!==((R=t.coords)===null||R===void 0?void 0:R.pageX)||((S=e.coords)===null||S===void 0?void 0:S.pageY)!==((p=t.coords)===null||p===void 0?void 0:p.pageY)||((q=e.coords)===null||q===void 0?void 0:q.screenX)!==((_=t.coords)===null||_===void 0?void 0:_.screenX)||((T=e.coords)===null||T===void 0?void 0:T.screenY)!==((P=t.coords)===null||P===void 0?void 0:P.screenY)||((y=e.caret)===null||y===void 0?void 0:y.node)!==((g=t.caret)===null||g===void 0?void 0:g.node)||((E=e.caret)===null||E===void 0?void 0:E.offset)!==((M=t.caret)===null||M===void 0?void 0:M.offset)}function it(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class NE{move(t,r,n){const o=this.position,i=this.getTarget(t);if(this.position=r,!Rp(o,r))return;const a=this.getTarget(t),s=this.getEventInit("mousemove"),[l,u]=_o(i,a);return{leave:()=>{i!==a&&(t.dispatchUIEvent(i,"mouseout",s),l.forEach(f=>t.dispatchUIEvent(f,"mouseleave",s)))},enter:()=>{i!==a&&(t.dispatchUIEvent(a,"mouseover",s),u.forEach(f=>t.dispatchUIEvent(f,"mouseenter",s)))},move:()=>{n||(t.dispatchUIEvent(a,"mousemove",s),this.modifySelecting(t))}}}down(t,r,n){const o=this.buttons.down(r);if(o===void 0)return;const i=this.getTarget(t);this.buttonDownTarget[o]=i;const a=this.getEventInit("mousedown",r.button),s=Le(i);!n&&(s||t.dispatchUIEvent(i,"mousedown",a))&&(this.startSelecting(t,a.detail),Qe(i)),!s&&Ea(r.button)===2&&t.dispatchUIEvent(i,"contextmenu",this.getEventInit("contextmenu",r.button))}up(t,r,n){const o=this.buttons.up(r);if(o===void 0)return;const i=this.getTarget(t);if(!Le(i)){if(!n){const s=this.getEventInit("mouseup",r.button);t.dispatchUIEvent(i,"mouseup",s),this.endSelecting()}const a=_o(this.buttonDownTarget[o],i)[2][0];if(a){const 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){const n={...this.position.coords};return n.button=Ea(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=ME({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&&IE(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(){it(this,"position",{}),it(this,"buttons",new yp),it(this,"selecting",void 0),it(this,"buttonDownTarget",{}),it(this,"clickCount",new class{incOnClick(t){const 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;this.down={[t]:(r=this.count[t])!==null&&r!==void 0?r:0};var n;return 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(){it(this,"down",{}),it(this,"count",{})}})}}function Ri(e,t){var r;return((r=wp(e,t))===null||r===void 0?void 0:r.pointerEvents)!=="none"}function kE(e){const t=ve(e);for(let r=e,n=[];r?.ownerDocument;r=r.parentElement){n.push(r);const o=t.getComputedStyle(r).pointerEvents;if(o&&!["inherit","unset"].includes(o))return{pointerEvents:o,tree:n}}}const cd=Symbol("Last check for pointer-events");function wp(e,t){const r=t[cd];if(!(e.config.pointerEventsCheck!==ni.Never&&(!r||dd(e.config.pointerEventsCheck,ni.EachApiCall)&&r[pe.Call]!==Jo(e,pe.Call)||dd(e.config.pointerEventsCheck,ni.EachTrigger)&&r[pe.Trigger]!==Jo(e,pe.Trigger))))return r?.result;const o=kE(t);return t[cd]={[pe.Call]:Jo(e,pe.Call),[pe.Trigger]:Jo(e,pe.Trigger),result:o},o}function Eo(e,t){const r=wp(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\`:`,"",jE(r.tree)].join(`
66
- `))}function jE(e){return e.reverse().map((t,r)=>["".padEnd(r),t.tagName,t.id&&`#${t.id}`,t.hasAttribute("data-testid")&&`(testId=${t.getAttribute("data-testid")})`,DE(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(`
67
- `)}function DE(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(z(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(z(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)}…`),r?`(label=${r})`:""}function dd(e,t){return(e&t)>0}function je(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class $E{init(t){const r=this.getTarget(t),[,n]=_o(null,r),o=this.getEventInit();return Eo(t,r),t.dispatchUIEvent(r,"pointerover",o),n.forEach(i=>t.dispatchUIEvent(i,"pointerenter",o)),this}move(t,r){const n=this.position,o=this.getTarget(t);if(this.position=r,!Rp(n,r))return;const i=this.getTarget(t),a=this.getEventInit(-1),[s,l]=_o(o,i);return{leave:()=>{Ri(t,o)&&o!==i&&(t.dispatchUIEvent(o,"pointerout",a),s.forEach(u=>t.dispatchUIEvent(u,"pointerleave",a)))},enter:()=>{Eo(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;const n=this.getTarget(t);Eo(t,n),this.isDown=!0,this.isPrevented=!t.dispatchUIEvent(n,"pointerdown",this.getEventInit(r))}up(t,r=0){if(!this.isDown)return;const n=this.getTarget(t);Eo(t,n),this.isPrevented=!1,this.isDown=!1,t.dispatchUIEvent(n,"pointerup",this.getEventInit(r))}release(t){const r=this.getTarget(t),[n]=_o(r,null),o=this.getEventInit();Ri(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:Ea(t),buttons:this.buttons.getButtons()}}constructor({pointerId:t,pointerType:r,isPrimary:n},o){je(this,"pointerId",void 0),je(this,"pointerType",void 0),je(this,"isPrimary",void 0),je(this,"buttons",void 0),je(this,"isMultitouch",!1),je(this,"isCancelled",!1),je(this,"isDown",!1),je(this,"isPrevented",!1),je(this,"position",{}),this.pointerId=t,this.pointerType=r,this.isPrimary=n,this.isMultitouch=!n,this.buttons=o}}function Ke(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class BE{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);const 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){const 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){const o=this.devices.get(r.pointerType);o.removePressed(r),this.buttons.up(r);const 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){const s=this.mouse.move(t,n,a);s?.leave(),s?.enter(),s?.move(),this.mouse.down(t,r,a)}if(!i.isMultitouch){const 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){Ke(this,"system",void 0),Ke(this,"mouse",void 0),Ke(this,"buttons",void 0),Ke(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 AE}constructor(){Ke(this,"registry",{})}}),Ke(this,"pointers",new class{new(r,n,o){const 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 $E({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(){Ke(this,"registry",{}),Ke(this,"nextId",1)}}),this.system=t,this.buttons=new yp,this.mouse=new NE,this.pointers.new("mouse","mouse",this.buttons)}}function fd(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class Ep{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(){fd(this,"keyboard",new qE(this)),fd(this,"pointer",new BE(this))}}async function LE(e){const t=[];return this.config.skipHover||t.push({target:e}),t.push({keys:"[MouseLeft]",target:e}),this.pointer(t)}async function FE(e){return this.pointer([{target:e},"[MouseLeft][MouseLeft]"])}async function UE(e){return this.pointer([{target:e},"[MouseLeft][MouseLeft][MouseLeft]"])}async function zE(e){return this.pointer({target:e})}async function VE(e){return Eo(this,this.system.pointer.getMouseTarget(this)),this.pointer({target:e.ownerDocument.body})}async function HE({shift:e}={}){return this.keyboard(e===!0?"{Shift>}{Tab}{/Shift}":e===!1?"[/ShiftLeft][/ShiftRight]{Tab}":"{Tab}")}var Cs=(function(e){return e["{"]="}",e["["]="]",e})(Cs||{});function xp(e,t){let r=0;const n=e[r]in Cs?e[r]:"";r+=n.length;const i=new RegExp(`^\\${n}{2}`).test(e)?"":n;return{type:i,...i===""?WE(e,r,t):GE(e,r,i,t)}}function WE(e,t,r){const n=e[t];return Cp(n,e,t,r),t+=n.length,{consumedLength:t,descriptor:n,releasePrevious:!1,releaseSelf:!0,repeat:1}}function GE(e,t,r,n){var o,i;const a=e[t]==="/"?"/":"";t+=a.length;const s=r==="{"&&e[t]==="\\";t+=Number(s);const l=s?e[t]:(o=e.slice(t).match(r==="{"?/^\w+|^[^}>/]/:/^\w+/))===null||o===void 0?void 0:o[0];Cp(l,e,t,n),t+=l.length;var u;const f=(u=(i=e.slice(t).match(/^>\d+/))===null||i===void 0?void 0:i[0])!==null&&u!==void 0?u:"";t+=f.length;const c=e[t]==="/"||!f&&e[t]===">"?e[t]:"";t+=c.length;const d=Cs[r],b=e[t]===d?d:"";if(!b)throw new Error(qp([!f&&"repeat modifier",!c&&"release modifier",`"${d}"`].filter(Boolean).join(" or "),e[t],e,n));return t+=b.length,{consumedLength:t,descriptor:l,releasePrevious:!!a,repeat:f?Math.max(Number(f.substr(1)),1):1,releaseSelf:KE(c,f)}}function Cp(e,t,r,n){if(!e)throw new Error(qp("key descriptor",t[r],t,n))}function KE(e,t){if(e)return e==="/";if(t)return!1}function qp(e,t,r,n){return`Expected ${e} but found "${t??""}" in "${r}"
69
+ `+t),t},Yc={debug:OR,logTestingPlaygroundURL:IR},ja=typeof document<"u"&&document.body?ip(document.body,wi,Yc):Object.keys(wi).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),Yc);function xt(e,t){return K().eventWrapper(e)}function Ze(e){const t=Th(e,fs),r=Lo(e.ownerDocument);(t??e.ownerDocument.body)!==r&&(xt(t?()=>t.focus():()=>r?.blur()),Mh(t??e.ownerDocument.body))}function NR(e){!fs(e)||!(Lo(e.ownerDocument)===e)||xt(()=>e.blur())}const et={};et.click=(e,t,r)=>{const n=t.closest("button,input,label,select,textarea"),o=n&&z(n,"label")&&n.control;if(o&&o!==t)return()=>{fs(o)&&(Ze(o),r.dispatchEvent(o,Ph(e)))};if(z(t,"input",{type:"file"}))return()=>{NR(t),t.dispatchEvent(new(ve(t)).Event("fileDialog")),Ze(t)}};const Ct=Symbol("Displayed value in UI"),Be=Symbol("Displayed selection in UI"),ya=Symbol("Initial value to compare on blur");function kR(e){return typeof e=="object"&&Ct in e}function jR(e){return!!e&&typeof e=="object"&&Be in e}function DR(e,t){e[ya]===void 0&&(e[ya]=e.value),e[Ct]=t,e.value=Object.assign(new String(t),{[Ct]:!0})}function Te(e){return e[Ct]===void 0?e.value:String(e[Ct])}function Es(e){e[Ct]=void 0}function sp(e){e[ya]=void 0}function $R(e){return e[ya]}function BR(e,t){e[Be]=t}function St(e,{focusOffset:t,anchorOffset:r=t},n="replace"){const o=Te(e).length,a=f=>Math.max(0,Math.min(o,f)),i=n==="replace"||e[Be]===void 0?a(r):e[Be].anchorOffset,s=a(t),l=Math.min(i,s),u=Math.max(i,s);if(e[Be]={anchorOffset:i,focusOffset:s},e.selectionStart===l&&e.selectionEnd===u)return;const d=Object.assign(new Number(l),{[Be]:!0});try{e.setSelectionRange(d,u)}catch{}}function Io(e){var t,r,n;const o=(n=e[Be])!==null&&n!==void 0?n:{anchorOffset:(t=e.selectionStart)!==null&&t!==void 0?t:0,focusOffset:(r=e.selectionEnd)!==null&&r!==void 0?r:0};return{...o,startOffset:Math.min(o.anchorOffset,o.focusOffset),endOffset:Math.max(o.anchorOffset,o.focusOffset)}}function LR(e){return!!e[Be]}function ra(e){e[Be]=void 0}const ga=globalThis.parseInt;function FR(e){const t=e.replace(/\D/g,"");if(t.length<2)return e;const r=ga(t[0],10),n=ga(t[1],10);if(r>=3||r===2&&n>=4){let o;return r>=3?o=1:o=2,Xc(t,o)}return e.length===2?e:Xc(t,2)}function Xc(e,t){const r=e.slice(0,t),n=Math.min(ga(r,10),23),o=e.slice(t),a=ga(o,10),i=Math.min(a,59);return`${n.toString().padStart(2,"0")}:${i.toString().padStart(2,"0")}`}function lp(e,t){const r=e.cloneNode();return r.value=t,r.value===t}var up=(function(e){return e.email="email",e.password="password",e.search="search",e.telephone="telephone",e.text="text",e.url="url",e})(up||{});function UR(e){var t;const r=(t=e.getAttribute("maxlength"))!==null&&t!==void 0?t:"";return/^\d+$/.test(r)&&Number(r)>=0?Number(r):void 0}function zR(e){return z(e,"textarea")||z(e,"input")&&e.type in up}function cp(e,t,r,n){if(na(e)&&t+r>=0&&t+r<=e.nodeValue.length)return{node:e,offset:t+r};const o=Jc(e,t,r);if(o){if(na(o))return{node:o,offset:r>0?Math.min(1,o.nodeValue.length):Math.max(o.nodeValue.length-1,0)};if(z(o,"br")){const a=Jc(o,void 0,r);return a?na(a)?{node:a,offset:r>0?0:a.nodeValue.length}:r<0&&z(a,"br")?{node:o.parentNode,offset:Xo(o)}:{node:a.parentNode,offset:Xo(a)+(r>0?0:1)}:r<0&&n==="deleteContentBackward"?{node:o.parentNode,offset:Xo(o)}:void 0}else return{node:o.parentNode,offset:Xo(o)+(r>0?1:0)}}}function Jc(e,t,r){const n=Number(t)+(r<0?-1:0);return t!==void 0&&xs(e)&&n>=0&&n<e.children.length&&(e=e.children[n]),HR(e,r===1?"next":"previous",VR)}function VR(e){if(na(e))return!0;if(xs(e)){if(z(e,["input","textarea"]))return e.type!=="hidden";if(z(e,"br"))return!0}return!1}function Xo(e){let t=0;for(;e.previousSibling;)t++,e=e.previousSibling;return t}function xs(e){return e.nodeType===1}function na(e){return e.nodeType===3}function HR(e,t,r){for(;;){var n;const o=e[`${t}Sibling`];if(o){if(e=WR(o,t==="next"?"first":"last"),r(e))return e}else if(e.parentNode&&(!xs(e.parentNode)||!dt(e.parentNode)&&e.parentNode!==((n=e.ownerDocument)===null||n===void 0?void 0:n.body)))e=e.parentNode;else break}}function WR(e,t){for(;e.hasChildNodes();)e=e[`${t}Child`];return e}const No=Symbol("Track programmatic changes for React workaround");function GR(e){return Object.getOwnPropertyNames(e).some(t=>t.startsWith("__react"))&&ve(e).REACT_VERSION===17}function KR(e){GR(e)&&(e[No]={previousValue:String(e.value),tracked:[]})}function YR(e,t){var r,n;(n=e[No])===null||n===void 0||(r=n.tracked)===null||r===void 0||r.push(t),e[No]||(Es(e),St(e,{focusOffset:t.length}))}function XR(e,t){var r;const n=e[No];if(e[No]=void 0,!(!(n==null||(r=n.tracked)===null||r===void 0)&&r.length))return;const o=n.tracked.length===2&&n.tracked[0]===n.previousValue&&n.tracked[1]===e.value;o||Es(e),LR(e)&&St(e,{focusOffset:o?t:e.value.length})}function dp(e){const t=JR(e);if(t&&Pe(t))return{type:"input",selection:Io(t)};const r=t?.ownerDocument.getSelection();return{type:So(e)&&r?.anchorNode&&So(r.anchorNode)?"contenteditable":"default",selection:r}}function JR(e){return e.nodeType===1?e:e.parentElement}function QR(e){const t=dp(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 pt({focusNode:e,focusOffset:t,anchorNode:r=e,anchorOffset:n=t}){var o,a;if(dp(e).type==="input")return St(e,{anchorOffset:n,focusOffset:t});(a=r.ownerDocument)===null||a===void 0||(o=a.getSelection())===null||o===void 0||o.setBaseAndExtent(r,n,e,t)}function fp(e){return z(e,"input")&&["date","time"].includes(e.type)}function qt(e,t,r,n="insertText"){const o=QR(t);o&&(!fp(t)&&!e.dispatchUIEvent(t,"beforeinput",{inputType:n,data:r})||("startContainer"in o?ZR(e,t,o,r,n):eE(e,t,o,r,n)))}function ZR(e,t,r,n,o){let a=!1;if(!r.collapsed)a=!0,r.deleteContents();else if(["deleteContentBackward","deleteContentForward"].includes(o)){const i=cp(r.startContainer,r.startOffset,o==="deleteContentBackward"?-1:1,o);if(i){a=!0;const s=r.cloneRange();s.comparePoint(i.node,i.offset)<0?s.setStart(i.node,i.offset):s.setEnd(i.node,i.offset),s.deleteContents()}}if(n)if(r.endContainer.nodeType===3){const i=r.endOffset;r.endContainer.insertData(i,n),r.setStart(r.endContainer,i+n.length),r.setEnd(r.endContainer,i+n.length)}else{const i=t.ownerDocument.createTextNode(n);r.insertNode(i),r.setStart(i,n.length),r.setEnd(i,n.length)}(a||n)&&e.dispatchUIEvent(t,"input",{inputType:o})}function eE(e,t,r,n,o){let a=n;if(zR(t)){const u=UR(t);if(u!==void 0&&n.length>0){const d=u-t.value.length;if(d>0)a=n.substring(0,d);else return}}const{newValue:i,newOffset:s,oldValue:l}=tE(a,t,r,o);i===l&&s===r.startOffset&&s===r.endOffset||z(t,"input",{type:"number"})&&!rE(i)||(DR(t,i),pt({focusNode:t,anchorOffset:s,focusOffset:s}),fp(t)?lp(t,i)&&(Qc(e,t,s,{}),e.dispatchUIEvent(t,"change"),sp(t)):Qc(e,t,s,{data:n,inputType:o}))}function tE(e,t,{startOffset:r,endOffset:n},o){const a=Te(t),i=Math.max(0,r===n&&o==="deleteContentBackward"?r-1:r),s=a.substring(0,i),l=Math.min(a.length,r===n&&o==="deleteContentForward"?r+1:n),u=a.substring(l,a.length);let d=`${s}${e}${u}`,f=i+e.length;if(z(t,"input",{type:"time"})){const c=FR(d);c!==""&&lp(t,c)&&(d=c,f=c.length)}return{oldValue:a,newValue:d,newOffset:f}}function Qc(e,t,r,n){e.dispatchUIEvent(t,"input",n),XR(t,r)}function rE(e){var t,r;const 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]))}et.cut=(e,t,r)=>()=>{Et(t)&&qt(r,t,"","deleteByCut")};function nE(e){return e?dt(e)?e.textContent:Te(e):null}function oE(e){const t=ve(e);for(let r=e;r?.ownerDocument;r=r.parentElement){const{display:n,visibility:o}=t.getComputedStyle(r);if(n==="none"||o==="hidden")return!1}return!0}function aE(e,t){const r=e.ownerDocument,n=r.querySelectorAll(xf),o=Array.from(n).filter(l=>l===e||!(Number(l.getAttribute("tabindex"))<0||Fe(l)));Number(e.getAttribute("tabindex"))>=0&&o.sort((l,u)=>{const d=Number(l.getAttribute("tabindex")),f=Number(u.getAttribute("tabindex"));return d===f?0:d===0?1:f===0?-1:d-f});const a={};let i=[r.body];const s=z(e,"input",{type:"radio"})?e.name:void 0;o.forEach(l=>{const u=l;if(z(u,"input",{type:"radio"})&&u.name){if(u===e){i.push(u);return}else if(u.name===s)return;if(u.checked){i=i.filter(d=>!z(d,"input",{type:"radio",name:u.name})),i.push(u),a[u.name]=u;return}if(typeof a[u.name]<"u")return}i.push(u)});for(let l=i.findIndex(u=>u===e);;)if(l+=t?-1:1,l===i.length?l=0:l===-1&&(l=i.length-1),i[l]===e||i[l]===r.body||oE(i[l]))return i[l]}function Zc(e,t){if(Pe(e)){const r=Io(e);pt({focusNode:e,focusOffset:r.startOffset===r.endOffset?r.focusOffset+t:t<0?r.startOffset:r.endOffset})}else{const r=e.ownerDocument.getSelection();if(!r?.focusNode)return;if(r.isCollapsed){const n=cp(r.focusNode,r.focusOffset,t);n&&pt({focusNode:n.node,focusOffset:n.offset})}else r[t<0?"collapseToStart":"collapseToEnd"]()}}function pp(e){if(Pe(e))return pt({focusNode:e,anchorOffset:0,focusOffset:Te(e).length});var t;const r=(t=So(e))!==null&&t!==void 0?t:e.ownerDocument.body;pt({focusNode:r,anchorOffset:0,focusOffset:r.childNodes.length})}function iE(e){if(Pe(e))return Io(e).startOffset===0&&Io(e).endOffset===Te(e).length;var t;const r=(t=So(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 Ro(e,t,r){var n;if(Pe(e))return pt({focusNode:e,anchorOffset:t,focusOffset:r});if(dt(e)&&((n=e.firstChild)===null||n===void 0?void 0:n.nodeType)===3)return pt({focusNode:e.firstChild,anchorOffset:t,focusOffset:r});throw new Error("Not implemented. The result of this interaction is unreliable.")}function Jo(e,t,r){const n=ve(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 a=o.findIndex(i=>i===t)+r;;a+=r){if(o[a]||(a=r>0?0:o.length-1),o[a]===t)return;if(!Fe(o[a])){Ze(o[a]),e.dispatchUIEvent(o[a],"click");return}}}et.keydown=(e,t,r)=>{var n,o;return(o=(n=ed[e.key])===null||n===void 0?void 0:n.call(ed,e,t,r))!==null&&o!==void 0?o:sE(e,t,r)};const ed={ArrowDown:(e,t,r)=>{if(z(t,"input",{type:"radio"}))return()=>Jo(r,t,1)},ArrowLeft:(e,t,r)=>z(t,"input",{type:"radio"})?()=>Jo(r,t,-1):()=>Zc(t,-1),ArrowRight:(e,t,r)=>z(t,"input",{type:"radio"})?()=>Jo(r,t,1):()=>Zc(t,1),ArrowUp:(e,t,r)=>{if(z(t,"input",{type:"radio"}))return()=>Jo(r,t,-1)},Backspace:(e,t,r)=>{if(Et(t))return()=>{qt(r,t,"","deleteContentBackward")}},Delete:(e,t,r)=>{if(Et(t))return()=>{qt(r,t,"","deleteContentForward")}},End:(e,t)=>{if(z(t,["input","textarea"])||dt(t))return()=>{var r,n;const o=(n=(r=nE(t))===null||r===void 0?void 0:r.length)!==null&&n!==void 0?n:0;Ro(t,o,o)}},Home:(e,t)=>{if(z(t,["input","textarea"])||dt(t))return()=>{Ro(t,0,0)}},PageDown:(e,t)=>{if(z(t,["input"]))return()=>{const r=Te(t).length;Ro(t,r,r)}},PageUp:(e,t)=>{if(z(t,["input"]))return()=>{Ro(t,0,0)}},Tab:(e,t,r)=>()=>{const n=aE(t,r.system.keyboard.modifiers.Shift);Ze(n),Pe(n)&&St(n,{anchorOffset:0,focusOffset:n.value.length})}},sE=(e,t,r)=>{if(e.code==="KeyA"&&r.system.keyboard.modifiers.Control)return()=>pp(t)};et.keypress=(e,t,r)=>{if(e.key==="Enter"){if(z(t,"button")||z(t,"input")&&lE.includes(t.type)||z(t,"a")&&t.href)return()=>{r.dispatchUIEvent(t,"click")};if(z(t,"input")){const n=t.form,o=n?.querySelector('input[type="submit"], button:not([type]), button[type="submit"]');return o?()=>r.dispatchUIEvent(o,"click"):n&&uE.includes(t.type)&&n.querySelectorAll("input").length===1?()=>r.dispatchUIEvent(n,"submit"):void 0}}if(Et(t)){const n=e.key==="Enter"?dt(t)&&!r.system.keyboard.modifiers.Shift?"insertParagraph":"insertLineBreak":"insertText",o=e.key==="Enter"?`
70
+ `:e.key;return()=>qt(r,t,o,n)}};const lE=["button","color","file","image","reset","submit"],uE=["email","month","password","search","tel","text","url","week"];et.keyup=(e,t,r)=>{var n;return(n=td[e.key])===null||n===void 0?void 0:n.call(td,e,t,r)};const td={" ":(e,t,r)=>{if(qf(t))return()=>r.dispatchUIEvent(t,"click")}};et.paste=(e,t,r)=>{if(Et(t))return()=>{var n;const o=(n=e.clipboardData)===null||n===void 0?void 0:n.getData("text");o&&qt(r,t,o,"insertFromPaste")}};const mp={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 hp(e){return mp[e].EventType}const cE=["MouseEvent","PointerEvent"];function dE(e){return cE.includes(hp(e))}function fE(e){return hp(e)==="KeyboardEvent"}const pE={ClipboardEvent:[hE],Event:[],FocusEvent:[go,bE],InputEvent:[go,vE],MouseEvent:[go,Ga,rd],PointerEvent:[go,Ga,rd,gE],KeyboardEvent:[go,Ga,yE]};function bp(e,t,r){const n=ve(t),{EventType:o,defaultInit:a}=mp[e],i=new(mE(n))[o](e,a);return pE[o].forEach(s=>s(i,r??{})),i}function mE(e){var t;const r=(t=e.Event)!==null&&t!==void 0?t:class{};var n;const o=(n=e.AnimationEvent)!==null&&n!==void 0?n:class extends r{};var a;const i=(a=e.ClipboardEvent)!==null&&a!==void 0?a:class extends r{};var s;const l=(s=e.PopStateEvent)!==null&&s!==void 0?s:class extends r{};var u;const d=(u=e.ProgressEvent)!==null&&u!==void 0?u:class extends r{};var f;const c=(f=e.TransitionEvent)!==null&&f!==void 0?f:class extends r{};var h;const v=(h=e.UIEvent)!==null&&h!==void 0?h:class extends r{};var w;const S=(w=e.CompositionEvent)!==null&&w!==void 0?w:class extends v{};var p;const q=(p=e.FocusEvent)!==null&&p!==void 0?p:class extends v{};var _;const T=(_=e.InputEvent)!==null&&_!==void 0?_:class extends v{};var P;const y=(P=e.KeyboardEvent)!==null&&P!==void 0?P:class extends v{};var g;const E=(g=e.MouseEvent)!==null&&g!==void 0?g:class extends v{};var M;const N=(M=e.DragEvent)!==null&&M!==void 0?M:class extends E{};var j;const D=(j=e.PointerEvent)!==null&&j!==void 0?j:class extends E{};var A;const k=(A=e.TouchEvent)!==null&&A!==void 0?A:class extends v{};return{Event:r,AnimationEvent:o,ClipboardEvent:i,PopStateEvent:l,ProgressEvent:d,TransitionEvent:c,UIEvent:v,CompositionEvent:S,FocusEvent:q,InputEvent:T,KeyboardEvent:y,MouseEvent:E,DragEvent:N,PointerEvent:D,TouchEvent:k}}function tt(e,t){for(const[r,n]of Object.entries(t))Object.defineProperty(e,r,{get:()=>n??null})}function te(e){return Number(e??0)}function hE(e,{clipboardData:t}){tt(e,{clipboardData:t})}function bE(e,{relatedTarget:t}){tt(e,{relatedTarget:t})}function vE(e,{data:t,inputType:r,isComposing:n}){tt(e,{data:t,isComposing:!!n,inputType:String(r)})}function go(e,{view:t,detail:r}){tt(e,{view:t,detail:te(r??0)})}function Ga(e,{altKey:t,ctrlKey:r,metaKey:n,shiftKey:o,modifierAltGraph:a,modifierCapsLock:i,modifierFn:s,modifierFnLock:l,modifierNumLock:u,modifierScrollLock:d,modifierSymbol:f,modifierSymbolLock:c}){tt(e,{altKey:!!t,ctrlKey:!!r,metaKey:!!n,shiftKey:!!o,getModifierState(h){return!!{Alt:t,AltGraph:a,CapsLock:i,Control:r,Fn:s,FnLock:l,Meta:n,NumLock:u,ScrollLock:d,Shift:o,Symbol:f,SymbolLock:c}[h]}})}function yE(e,{key:t,code:r,location:n,repeat:o,isComposing:a,charCode:i}){tt(e,{key:String(t),code:String(r),location:te(n),repeat:!!o,isComposing:!!a,charCode:i})}function rd(e,{x:t,y:r,screenX:n,screenY:o,clientX:a=t,clientY:i=r,button:s,buttons:l,relatedTarget:u,offsetX:d,offsetY:f,pageX:c,pageY:h}){tt(e,{screenX:te(n),screenY:te(o),clientX:te(a),x:te(a),clientY:te(i),y:te(i),button:te(s),buttons:te(l),relatedTarget:u,offsetX:te(d),offsetY:te(f),pageX:te(c),pageY:te(h)})}function gE(e,{pointerId:t,width:r,height:n,pressure:o,tangentialPressure:a,tiltX:i,tiltY:s,twist:l,pointerType:u,isPrimary:d}){tt(e,{pointerId:te(t),width:te(r??1),height:te(n??1),pressure:te(o),tangentialPressure:te(a),tiltX:te(i),tiltY:te(s),twist:te(l),pointerType:String(u),isPrimary:!!d})}function wE(e,t,r,n=!1){(dE(t)||fE(t))&&(r={...r,...this.system.getUIEventModifiers()});const o=bp(t,e,r);return vp.call(this,e,o,n)}function vp(e,t,r=!1){var n;const o=t.type,a=r?()=>{}:(n=et[o])===null||n===void 0?void 0:n.call(et,t,e,this);if(a){t.preventDefault();let i=!1;return Object.defineProperty(t,"defaultPrevented",{get:()=>i}),Object.defineProperty(t,"preventDefault",{value:()=>{i=t.cancelable}}),xt(()=>e.dispatchEvent(t)),i||a(),!i}return xt(()=>e.dispatchEvent(t))}function st(e,t,r){const n=bp(t,e,r);xt(()=>e.dispatchEvent(n))}const nd=Symbol("patched focus/blur methods");function yp(e){if(e.prototype[nd])return;const{focus:t,blur:r}=e.prototype;Object.defineProperties(e.prototype,{focus:{configurable:!0,get:()=>o},blur:{configurable:!0,get:()=>a},[nd]:{configurable:!0,get:()=>({focus:t,blur:r})}});let n;function o(i){if(this.ownerDocument.visibilityState!=="hidden")return t.call(this,i);const s=od(this.ownerDocument);if(s===this)return;const l=Symbol("focus call");n=l,s&&(r.call(s),st(s,"blur",{relatedTarget:this}),st(s,"focusout",{relatedTarget:n===l?this:null})),n===l&&(t.call(this,i),st(this,"focus",{relatedTarget:s})),n===l&&st(this,"focusin",{relatedTarget:s})}function a(){if(this.ownerDocument.visibilityState!=="hidden")return r.call(this);const i=od(this.ownerDocument);if(i!==this)return;n=Symbol("blur call"),r.call(this),st(i,"blur",{relatedTarget:null}),st(i,"focusout",{relatedTarget:null})}}function od(e){const t=Lo(e);return t?.tagName==="BODY"?null:t}const Ka=Symbol("Interceptor for programmatical calls");function bt(e,t,r){const n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),o=Object.getOwnPropertyDescriptor(e,t),a=n?.set?"set":"value";if(typeof n?.[a]!="function"||n[a][Ka])throw new Error(`Element ${e.tagName} does not implement "${String(t)}".`);function i(...s){const{applyNative:l=!1,realArgs:u,then:d}=r.call(this,...s),f=(!l&&o||n)[a];a==="set"?f.call(this,u):f.call(this,...u),d?.()}i[Ka]=Ka,Object.defineProperty(e,t,{...o??n,[a]:i})}function RE(e){bt(e,"value",function(r){const n=kR(r);return n&&KR(this),{applyNative:!!n,realArgs:EE(this,r),then:n?void 0:()=>YR(this,String(r))}})}function EE(e,t){return z(e,"input",{type:"number"})&&String(t)!==""&&!Number.isNaN(Number(t))?String(Number(t)):String(t)}function xE(e){bt(e,"setSelectionRange",function(r,...n){const o=jR(r);return{applyNative:!!o,realArgs:[Number(r),...n],then:()=>o?void 0:ra(e)}}),bt(e,"selectionStart",function(r){return{realArgs:r,then:()=>ra(e)}}),bt(e,"selectionEnd",function(r){return{realArgs:r,then:()=>ra(e)}}),bt(e,"select",function(){return{realArgs:[],then:()=>BR(e,{anchorOffset:0,focusOffset:Te(e).length})}})}function CE(e){bt(e,"setRangeText",function(...r){return{realArgs:r,then:()=>{Es(e),ra(e)}}})}const yt=Symbol("Node prepared with document state workarounds");function gp(e){e[yt]||(e.addEventListener("focus",t=>{const r=t.target;ad(r)},{capture:!0,passive:!0}),e.activeElement&&ad(e.activeElement),e.addEventListener("blur",t=>{const r=t.target,n=$R(r);n!==void 0&&(r.value!==n&&st(r,"change"),sp(r))},{capture:!0,passive:!0}),e[yt]=yt)}function ad(e){e[yt]||(z(e,["input","textarea"])&&(RE(e),xE(e),CE(e)),e[yt]=yt)}function qE(e){return _E(e)?e:e.ownerDocument}function _E(e){return e.nodeType===9}var pe=(function(e){return e[e.Trigger=2]="Trigger",e[e.Call=1]="Call",e})({});function Eo(e,t){e.levelRefs[t]={}}function Qo(e,t){return e.levelRefs[t]}function _t(e){const t=e.delay;if(typeof t=="number")return Promise.all([new Promise(r=>globalThis.setTimeout(()=>r(),t)),e.advanceTimers(t)])}var oa=(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 at(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var qe=(function(e){return e[e.STANDARD=0]="STANDARD",e[e.LEFT=1]="LEFT",e[e.RIGHT=2]="RIGHT",e[e.NUMPAD=3]="NUMPAD",e})({});const PE=["Alt","AltGraph","Control","Fn","Meta","Shift","Symbol"];function id(e){return PE.includes(e)}const TE=["CapsLock","FnLock","NumLock","ScrollLock","SymbolLock"];function sd(e){return TE.includes(e)}class SE{isKeyPressed(t){return this.pressed.has(String(t.code))}getPressedKeys(){return this.pressed.values().map(t=>t.keyDef)}async keydown(t,r){const n=String(r.key),o=String(r.code),a=Fa(t.config.document);this.setKeydownTarget(a),this.pressed.add(o,r),id(n)&&(this.modifiers[n]=!0);const i=t.dispatchUIEvent(a,"keydown",{key:n,code:o});sd(n)&&!this.modifiers[n]&&(this.modifiers[n]=!0,this.modifierLockStart[n]=!0),i&&this.pressed.setUnprevented(o),i&&this.hasKeyPress(n)&&t.dispatchUIEvent(Fa(t.config.document),"keypress",{key:n,code:o,charCode:r.key==="Enter"?13:String(r.key).charCodeAt(0)})}async keyup(t,r){const n=String(r.key),o=String(r.code),a=this.pressed.isUnprevented(o);this.pressed.delete(o),id(n)&&!this.pressed.values().find(i=>i.keyDef.key===n)&&(this.modifiers[n]=!1),t.dispatchUIEvent(Fa(t.config.document),"keyup",{key:n,code:o},!a),sd(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){at(this,"system",void 0),at(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}),at(this,"pressed",new class{add(r,n){var o,a,i;(i=(o=this.registry)[a=r])!==null&&i!==void 0||(o[a]={keyDef:n,unpreventedDefault:!1})}has(r){return!!this.registry[r]}setUnprevented(r){const 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(){at(this,"registry",{})}}),at(this,"carryChar",""),at(this,"lastKeydownTarget",void 0),at(this,"modifierLockStart",{}),this.system=t}}const AE=[..."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:qe.LEFT},{code:"AltRight",key:"Alt",location:qe.RIGHT},{code:"ShiftLeft",key:"Shift",location:qe.LEFT},{code:"ShiftRight",key:"Shift",location:qe.RIGHT},{code:"ControlLeft",key:"Control",location:qe.LEFT},{code:"ControlRight",key:"Control",location:qe.RIGHT},{code:"MetaLeft",key:"Meta",location:qe.LEFT},{code:"MetaRight",key:"Meta",location:qe.RIGHT},{code:"OSLeft",key:"OS",location:qe.LEFT},{code:"OSRight",key:"OS",location:qe.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"}],ME=[{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 OE(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class wp{getButtons(){let t=0;for(const r of Object.keys(this.pressed))t|=2**Number(r);return t}down(t){const r=Ri(t.button);if(r in this.pressed){this.pressed[r].push(t);return}return this.pressed[r]=[t],r}up(t){const r=Ri(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(){OE(this,"pressed",{})}}const ld={primary:0,secondary:1,auxiliary:2,back:3,X1:3,forward:4,X2:4};function Ri(e=0){return e in ld?ld[e]:Number(e)}const ud={1:2,2:1};function Ei(e){return e=Ri(e),e in ud?ud[e]:e}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}class NE{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(){IE(this,"pressedKeys",new Set)}}function Po(e,t){const r=[];for(let a=e;a;a=a.parentElement)r.push(a);const n=[];for(let a=t;a;a=a.parentElement)n.push(a);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 xi({target:e,node:t,offset:r}){return Pe(e)?{node:e,offset:r??Te(e).length}:t?{node:t,offset:r??(t.nodeType===3?t.nodeValue.length:t.childNodes.length)}:Rp(e,r)}function Rp(e,t,r=!0){let n=t===void 0?e.childNodes.length-1:0;const 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.");const a=e.childNodes.item(n),i=String(a.textContent);if(i.length)if(t!==void 0&&i.length<t)t-=i.length;else{if(a.nodeType===1)return Rp(a,t,!1);if(a.nodeType===3)return{node:a,offset:t??a.nodeValue.length}}n+=o}return{node:e,offset:e.childNodes.length}}function kE({document:e,target:t,clickCount:r,node:n,offset:o}){if(Ah(t))return;const a=Pe(t),i=String(a?Te(t):t.textContent),[s,l]=n?[o,o]:jE(i,o,r);if(a)return St(t,{anchorOffset:s??i.length,focusOffset:l??i.length}),{node:t,start:s??0,end:l??i.length};{const{node:u,offset:d}=xi({target:t,node:n,offset:s}),{node:f,offset:c}=xi({target:t,node:n,offset:l}),h=t.ownerDocument.createRange();try{h.setStart(u,d),h.setEnd(f,c)}catch{throw new Error("The given offset is out of bounds.")}const v=e.getSelection();return v?.removeAllRanges(),v?.addRange(h.cloneRange()),h}}function jE(e,t,r){if(r%3===1||e.length===0)return[t,t];const 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 DE(e,{document:t,target:r,node:n,offset:o}){const a=xi({target:r,node:n,offset:o});if("node"in e){if(a.node===e.node){const i=a.offset<e.start?e.end:e.start,s=a.offset>e.end||a.offset<e.start?a.offset:e.end;St(e.node,{anchorOffset:i,focusOffset:s})}}else{const i=e.cloneRange(),s=i.comparePoint(a.node,a.offset);s<0?i.setStart(a.node,a.offset):s>0&&i.setEnd(a.node,a.offset);const l=t.getSelection();l?.removeAllRanges(),l?.addRange(i.cloneRange())}}function Ep(e,t){var r,n,o,a,i,s,l,u,d,f,c,h,v,w,S,p,q,_,T,P,y,g,E,M;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)!==((a=t.coords)===null||a===void 0?void 0:a.y)||((i=e.coords)===null||i===void 0?void 0:i.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)||((d=e.coords)===null||d===void 0?void 0:d.offsetX)!==((f=t.coords)===null||f===void 0?void 0:f.offsetX)||((c=e.coords)===null||c===void 0?void 0:c.offsetY)!==((h=t.coords)===null||h===void 0?void 0:h.offsetY)||((v=e.coords)===null||v===void 0?void 0:v.pageX)!==((w=t.coords)===null||w===void 0?void 0:w.pageX)||((S=e.coords)===null||S===void 0?void 0:S.pageY)!==((p=t.coords)===null||p===void 0?void 0:p.pageY)||((q=e.coords)===null||q===void 0?void 0:q.screenX)!==((_=t.coords)===null||_===void 0?void 0:_.screenX)||((T=e.coords)===null||T===void 0?void 0:T.screenY)!==((P=t.coords)===null||P===void 0?void 0:P.screenY)||((y=e.caret)===null||y===void 0?void 0:y.node)!==((g=t.caret)===null||g===void 0?void 0:g.node)||((E=e.caret)===null||E===void 0?void 0:E.offset)!==((M=t.caret)===null||M===void 0?void 0:M.offset)}function it(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class $E{move(t,r,n){const o=this.position,a=this.getTarget(t);if(this.position=r,!Ep(o,r))return;const i=this.getTarget(t),s=this.getEventInit("mousemove"),[l,u]=Po(a,i);return{leave:()=>{a!==i&&(t.dispatchUIEvent(a,"mouseout",s),l.forEach(d=>t.dispatchUIEvent(d,"mouseleave",s)))},enter:()=>{a!==i&&(t.dispatchUIEvent(i,"mouseover",s),u.forEach(d=>t.dispatchUIEvent(d,"mouseenter",s)))},move:()=>{n||(t.dispatchUIEvent(i,"mousemove",s),this.modifySelecting(t))}}}down(t,r,n){const o=this.buttons.down(r);if(o===void 0)return;const a=this.getTarget(t);this.buttonDownTarget[o]=a;const i=this.getEventInit("mousedown",r.button),s=Fe(a);!n&&(s||t.dispatchUIEvent(a,"mousedown",i))&&(this.startSelecting(t,i.detail),Ze(a)),!s&&Ei(r.button)===2&&t.dispatchUIEvent(a,"contextmenu",this.getEventInit("contextmenu",r.button))}up(t,r,n){const o=this.buttons.up(r);if(o===void 0)return;const a=this.getTarget(t);if(!Fe(a)){if(!n){const s=this.getEventInit("mouseup",r.button);t.dispatchUIEvent(a,"mouseup",s),this.endSelecting()}const i=Po(this.buttonDownTarget[o],a)[2][0];if(i){const s=this.getEventInit("click",r.button);s.detail&&(t.dispatchUIEvent(i,s.button===0?"click":"auxclick",s),s.button===0&&s.detail===2&&t.dispatchUIEvent(i,"dblclick",{...this.getEventInit("dblclick",r.button),detail:s.detail}))}}}resetClickCount(){this.clickCount.reset()}getEventInit(t,r){const n={...this.position.coords};return n.button=Ei(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=kE({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&&DE(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(){it(this,"position",{}),it(this,"buttons",new wp),it(this,"selecting",void 0),it(this,"buttonDownTarget",{}),it(this,"clickCount",new class{incOnClick(t){const 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;this.down={[t]:(r=this.count[t])!==null&&r!==void 0?r:0};var n;return 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(){it(this,"down",{}),it(this,"count",{})}})}}function wa(e,t){var r;return((r=xp(e,t))===null||r===void 0?void 0:r.pointerEvents)!=="none"}function BE(e){const t=ve(e);for(let r=e,n=[];r?.ownerDocument;r=r.parentElement){n.push(r);const o=t.getComputedStyle(r).pointerEvents;if(o&&!["inherit","unset"].includes(o))return{pointerEvents:o,tree:n}}}const cd=Symbol("Last check for pointer-events");function xp(e,t){const r=t[cd];if(!(e.config.pointerEventsCheck!==oa.Never&&(!r||dd(e.config.pointerEventsCheck,oa.EachApiCall)&&r[pe.Call]!==Qo(e,pe.Call)||dd(e.config.pointerEventsCheck,oa.EachTrigger)&&r[pe.Trigger]!==Qo(e,pe.Trigger))))return r?.result;const o=BE(t);return t[cd]={[pe.Call]:Qo(e,pe.Call),[pe.Trigger]:Qo(e,pe.Trigger),result:o},o}function xo(e,t){const r=xp(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\`:`,"",LE(r.tree)].join(`
71
+ `))}function LE(e){return e.reverse().map((t,r)=>["".padEnd(r),t.tagName,t.id&&`#${t.id}`,t.hasAttribute("data-testid")&&`(testId=${t.getAttribute("data-testid")})`,FE(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(`
72
+ `)}function FE(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(z(e,["button","input","meter","output","progress","select","textarea"])&&(!((t=e.labels)===null||t===void 0)&&t.length))r=Array.from(e.labels).map(i=>{var s;return(s=i.textContent)===null||s===void 0?void 0:s.trim()}).join("|");else if(z(e,"button")){var a;r=(a=e.textContent)===null||a===void 0?void 0:a.trim()}return r=r?.replace(/\n/g," "),Number(r?.length)>30&&(r=`${r?.substring(0,29)}…`),r?`(label=${r})`:""}function dd(e,t){return(e&t)>0}function De(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class UE{init(t){const r=this.getTarget(t),[,n]=Po(null,r),o=this.getEventInit();return xo(t,r),t.dispatchUIEvent(r,"pointerover",o),n.forEach(a=>t.dispatchUIEvent(a,"pointerenter",o)),this}move(t,r){const n=this.position,o=this.getTarget(t);if(this.position=r,!Ep(n,r))return;const a=this.getTarget(t),i=this.getEventInit(-1),[s,l]=Po(o,a);return{leave:()=>{wa(t,o)&&o!==a&&(t.dispatchUIEvent(o,"pointerout",i),s.forEach(u=>t.dispatchUIEvent(u,"pointerleave",i)))},enter:()=>{xo(t,a),o!==a&&(t.dispatchUIEvent(a,"pointerover",i),l.forEach(u=>t.dispatchUIEvent(u,"pointerenter",i)))},move:()=>{t.dispatchUIEvent(a,"pointermove",i)}}}down(t,r=0){if(this.isDown)return;const n=this.getTarget(t);xo(t,n),this.isDown=!0,this.isPrevented=!t.dispatchUIEvent(n,"pointerdown",this.getEventInit(r))}up(t,r=0){if(!this.isDown)return;const n=this.getTarget(t);xo(t,n),this.isPrevented=!1,this.isDown=!1,t.dispatchUIEvent(n,"pointerup",this.getEventInit(r))}release(t){const r=this.getTarget(t),[n]=Po(r,null),o=this.getEventInit();wa(t,r)&&(t.dispatchUIEvent(r,"pointerout",o),n.forEach(a=>t.dispatchUIEvent(a,"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:Ei(t),buttons:this.buttons.getButtons()}}constructor({pointerId:t,pointerType:r,isPrimary:n},o){De(this,"pointerId",void 0),De(this,"pointerType",void 0),De(this,"isPrimary",void 0),De(this,"buttons",void 0),De(this,"isMultitouch",!1),De(this,"isCancelled",!1),De(this,"isDown",!1),De(this,"isPrevented",!1),De(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}class zE{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);const o=this.getPointerName(r),a=r.pointerType==="touch"?this.pointers.new(o,r.pointerType,this.buttons):this.pointers.get(o);a.position=n,a.pointerType!=="touch"&&(this.mouse.position=n),a.pointerType==="touch"&&a.init(t),a.down(t,r.button),a.pointerType!=="touch"&&this.mouse.down(t,r,a.isPrevented)}async move(t,r,n){const o=this.pointers.get(r),a=o.move(t,n),i=o.pointerType==="touch"?void 0:this.mouse.move(t,n,o.isPrevented);a?.leave(),i?.leave(),a?.enter(),i?.enter(),a?.move(),i?.move()}async release(t,r,n){const o=this.devices.get(r.pointerType);o.removePressed(r),this.buttons.up(r);const a=this.pointers.get(this.getPointerName(r)),i=a.isPrevented;if(a.position=n,a.pointerType!=="touch"&&(this.mouse.position=n),o.countPressed===0&&a.up(t,r.button),a.pointerType==="touch"&&a.release(t),a.pointerType==="touch"&&!a.isMultitouch){const s=this.mouse.move(t,n,i);s?.leave(),s?.enter(),s?.move(),this.mouse.down(t,r,i)}if(!a.isMultitouch){const s=this.mouse.move(t,n,i);s?.leave(),s?.enter(),s?.move(),this.mouse.up(t,r,i)}}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,a;return(a=(n=this.registry)[o=r])!==null&&a!==void 0?a:n[o]=new NE}constructor(){Ye(this,"registry",{})}}),Ye(this,"pointers",new class{new(r,n,o){const a=n!=="touch"||!Object.values(this.registry).some(i=>i.pointerType==="touch"&&!i.isCancelled);return a||Object.values(this.registry).forEach(i=>{i.pointerType===n&&!i.isCancelled&&(i.isMultitouch=!0)}),this.registry[r]=new UE({pointerId:this.nextId++,pointerType:n,isPrimary:a},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 wp,this.mouse=new $E,this.pointers.new("mouse","mouse",this.buttons)}}function fd(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class Cp{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(){fd(this,"keyboard",new SE(this)),fd(this,"pointer",new zE(this))}}async function VE(e){const t=[];return this.config.skipHover||t.push({target:e}),t.push({keys:"[MouseLeft]",target:e}),this.pointer(t)}async function HE(e){return this.pointer([{target:e},"[MouseLeft][MouseLeft]"])}async function WE(e){return this.pointer([{target:e},"[MouseLeft][MouseLeft][MouseLeft]"])}async function GE(e){return this.pointer({target:e})}async function KE(e){return xo(this,this.system.pointer.getMouseTarget(this)),this.pointer({target:e.ownerDocument.body})}async function YE({shift:e}={}){return this.keyboard(e===!0?"{Shift>}{Tab}{/Shift}":e===!1?"[/ShiftLeft][/ShiftRight]{Tab}":"{Tab}")}var Cs=(function(e){return e["{"]="}",e["["]="]",e})(Cs||{});function qp(e,t){let r=0;const n=e[r]in Cs?e[r]:"";r+=n.length;const a=new RegExp(`^\\${n}{2}`).test(e)?"":n;return{type:a,...a===""?XE(e,r,t):JE(e,r,a,t)}}function XE(e,t,r){const n=e[t];return _p(n,e,t,r),t+=n.length,{consumedLength:t,descriptor:n,releasePrevious:!1,releaseSelf:!0,repeat:1}}function JE(e,t,r,n){var o,a;const i=e[t]==="/"?"/":"";t+=i.length;const s=r==="{"&&e[t]==="\\";t+=Number(s);const l=s?e[t]:(o=e.slice(t).match(r==="{"?/^\w+|^[^}>/]/:/^\w+/))===null||o===void 0?void 0:o[0];_p(l,e,t,n),t+=l.length;var u;const d=(u=(a=e.slice(t).match(/^>\d+/))===null||a===void 0?void 0:a[0])!==null&&u!==void 0?u:"";t+=d.length;const f=e[t]==="/"||!d&&e[t]===">"?e[t]:"";t+=f.length;const c=Cs[r],h=e[t]===c?c:"";if(!h)throw new Error(Pp([!d&&"repeat modifier",!f&&"release modifier",`"${c}"`].filter(Boolean).join(" or "),e[t],e,n));return t+=h.length,{consumedLength:t,descriptor:l,releasePrevious:!!i,repeat:d?Math.max(Number(d.substr(1)),1):1,releaseSelf:QE(f,d)}}function _p(e,t,r,n){if(!e)throw new Error(Pp("key descriptor",t[r],t,n))}function QE(e,t){if(e)return e==="/";if(t)return!1}function Pp(e,t,r,n){return`Expected ${e} but found "${t??""}" in "${r}"
68
73
  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"}
69
- for more information about how userEvent parses your input.`}function YE(e,t){const r=[];do{const{type:o,descriptor:i,consumedLength:a,releasePrevious:s,releaseSelf:l=!0,repeat:u}=xp(t,"keyboard");var n;const f=(n=e.find(c=>{if(o==="["){var d;return((d=c.code)===null||d===void 0?void 0:d.toLowerCase())===i.toLowerCase()}else if(o==="{"){var b;return((b=c.key)===null||b===void 0?void 0:b.toLowerCase())===i.toLowerCase()}return c.key===i}))!==null&&n!==void 0?n:{key:"Unknown",code:"Unknown",[o==="["?"code":"key"]:i};r.push({keyDef:f,releasePrevious:s,releaseSelf:l,repeat:u}),t=t.slice(a)}while(t);return r}async function XE(e){const t=YE(this.config.keyboardMap,e);for(let r=0;r<t.length;r++)await qt(this.config),await JE(this,t[r])}async function JE(e,{keyDef:t,releasePrevious:r,releaseSelf:n,repeat:o}){const{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<o&&await qt(e.config);n&&await i.keyboard.keyup(e,t)}}async function QE(e){for(const t of e.system.keyboard.getPressedKeys())await e.system.keyboard.keyup(e,t)}function _p(e){const t=_e(e)?{"text/plain":ZE(e)}:{"text/plain":String(e.ownerDocument.getSelection())},r=cs(ve(e));for(const n in t)t[n]&&r.setData(n,t[n]);return r}function ZE(e){const t=Oo(e);return Pe(e).substring(t.startOffset,t.endOffset)}async function ex(){const e=this.config.document;var t;const r=(t=e.activeElement)!==null&&t!==void 0?t:e.body,n=_p(r);if(n.items.length!==0)return this.dispatchUIEvent(r,"copy",{clipboardData:n})&&this.config.writeToClipboard&&await Rf(e,n),n}async function tx(){const e=this.config.document;var t;const r=(t=e.activeElement)!==null&&t!==void 0?t:e.body,n=_p(r);if(n.items.length!==0)return this.dispatchUIEvent(r,"cut",{clipboardData:n})&&this.config.writeToClipboard&&await Rf(r.ownerDocument,n),n}async function rx(e){const t=this.config.document;var r;const n=(r=t.activeElement)!==null&&r!==void 0?r:t.body;var o;const i=(o=typeof e=="string"?nx(t,e):e)!==null&&o!==void 0?o:await Eh(t).catch(()=>{throw new Error("`userEvent.paste()` without `clipboardData` requires the `ClipboardAPI` to be available.")});this.dispatchUIEvent(n,"paste",{clipboardData:i})}function nx(e,t){const r=cs(ve(e));return r.setData("text",t),r}function pd(e,t){const r=[];do{const{descriptor:n,consumedLength:o,releasePrevious:i,releaseSelf:a=!0}=xp(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 ox(e){const{pointerMap:t}=this.config,r=[];(Array.isArray(e)?e:[e]).forEach(n=>{typeof n=="string"?r.push(...pd(t,n)):"keys"in n?r.push(...pd(t,n.keys).map(o=>({...n,...o}))):r.push(n)});for(let n=0;n<r.length;n++)await qt(this.config),await ix(this,r[n]);this.system.pointer.resetClickCount()}async function ix(e,t){var r,n;const o="pointerName"in t&&t.pointerName?t.pointerName:"keyDef"in t?e.system.pointer.getPointerName(t.keyDef):"mouse",i=e.system.pointer.getPreviousPosition(o);var a,s,l,u;const f={target:(a=t.target)!==null&&a!==void 0?a:ax(e,i),coords:(s=t.coords)!==null&&s!==void 0?s:i?.coords,caret:{node:(l=t.node)!==null&&l!==void 0?l:md(t)||i==null||(r=i.caret)===null||r===void 0?void 0:r.node,offset:(u=t.offset)!==null&&u!==void 0?u:md(t)||i==null||(n=i.caret)===null||n===void 0?void 0:n.offset}};"keyDef"in t?(e.system.pointer.isKeyPressed(t.keyDef)&&(wo(e,pe.Trigger),await e.system.pointer.release(e,t.keyDef,f)),t.releasePrevious||(wo(e,pe.Trigger),await e.system.pointer.press(e,t.keyDef,f),t.releaseSelf&&(wo(e,pe.Trigger),await e.system.pointer.release(e,t.keyDef,f)))):(wo(e,pe.Trigger),await e.system.pointer.move(e,o,f))}function md(e){var t,r;return!!((r=(t=e.target)!==null&&t!==void 0?t:e.node)!==null&&r!==void 0?r:e.offset!==void 0)}function ax(e,t){if(!t)throw new Error("This pointer has no previous position. Provide a target property!");var r;return(r=t.target)!==null&&r!==void 0?r:e.config.document.body}async function sx(e){if(!wt(e)||Le(e))throw new Error("clear()` is only supported on editable elements.");if(Qe(e),e.ownerDocument.activeElement!==e)throw new Error("The element to be cleared could not be focused.");if(dp(e),!rE(e))throw new Error("The element content to be cleared could not be selected.");Ct(this,e,"","deleteContentBackward")}async function lx(e,t){return Pp.call(this,!0,e,t)}async function ux(e,t){return Pp.call(this,!1,e,t)}async function Pp(e,t,r){if(!e&&!t.multiple)throw K().getElementError("Unable to deselect an option in a non-multiple select. Use selectOptions to change the selection instead.",t);const 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;{const l=o.find(u=>u.value===s||u.innerHTML===s);if(l)return l;throw K().getElementError(`Value "${String(s)}" not found in options`,t)}}).filter(s=>!Le(s));if(Le(t)||!i.length)return;const a=s=>{s.selected=e,this.dispatchUIEvent(t,"input",{bubbles:!0,cancelable:!1,composed:!0}),this.dispatchUIEvent(t,"change")};if(z(t,"select"))if(t.multiple)for(const s of i){const l=this.config.pointerEventsCheck===0?!0:Ri(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")),Qe(t),l&&(this.dispatchUIEvent(s,"pointerup"),this.dispatchUIEvent(s,"mouseup")),a(s),l&&this.dispatchUIEvent(s,"click"),await qt(this.config)}else if(i.length===1){const s=this.config.pointerEventsCheck===0?!0:Ri(this,t);s?await this.click(t):Qe(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 qt(this.config)}else throw K().getElementError("Cannot select multiple options on a non-multiple select",t);else if(t.getAttribute("role")==="listbox")for(const s of i)await this.click(s),await this.unhover(s);else throw K().getElementError("Cannot select options on elements that are neither select nor listbox elements",t)}async function cx(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&&Ro(e,o,i??o),await this.keyboard(t),n||await QE(this))}const hd=Symbol("files and value properties are mocked");function Yi(e,t,r){r?Object.defineProperty(e,t,r):delete e[t]}function dx(e,t){var r;(r=e[hd])===null||r===void 0||r.restore();const n=Object.getOwnPropertyDescriptor(e,"type"),o=Object.getOwnPropertyDescriptor(e,"value"),i=Object.getOwnPropertyDescriptor(e,"files");function a(){Yi(e,"type",n),Yi(e,"value",o),Yi(e,"files",i)}e[hd]={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 fx(e,t){const r=z(e,"label")?e.control:e;if(!r||!z(r,"input",{type:"file"}))throw new TypeError(`The ${r===e?"given":"associated"} ${r?.tagName} element does not accept file uploads`);if(Le(e))return;const n=(Array.isArray(t)?t:[t]).filter(i=>!this.config.applyAccept||px(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))})||(dx(r,us(ve(e),n)),this.dispatchUIEvent(r,"input"),this.dispatchUIEvent(r,"change"))};r.addEventListener("fileDialog",o),await this.click(e),r.removeEventListener("fileDialog",o)}function Qo(e){return e.toLowerCase().replace(/(\.|\/)jpg\b/g,"$1jpeg")}function px(e,t){if(!t)return!0;const r=["audio/*","image/*","video/*"];return Qo(t).trim().split(/\s*,\s*/).some(n=>n.startsWith(".")?Qo(e.name).endsWith(n):r.includes(n)?Qo(e.type).startsWith(n.replace("*","")):Qo(e.type)===n)}const bd={click:LE,dblClick:FE,tripleClick:UE,hover:zE,unhover:VE,tab:HE,keyboard:XE,copy:ex,cut:tx,paste:rx,pointer:ox,clear:sx,deselectOptions:ux,selectOptions:lx,type:cx,upload:fx};function mx(e){return K().asyncWrapper(e)}const Tp={applyAccept:!0,autoModify:!0,delay:0,document:globalThis.document,keyboardMap:_E,pointerMap:PE,pointerEventsCheck:ni.EachApiCall,skipAutoClose:!1,skipClick:!1,skipHover:!1,writeToClipboard:!1,advanceTimers:()=>Promise.resolve()},hx={...Tp,writeToClipboard:!0};function Sp(e={},t=hx,r){const n=gx(e,r,t);return{...t,...e,document:n}}function bx(e={}){const t=Sp(e);vp(t.document),bp(ve(t.document).HTMLElement);var r;const n=(r=t.document.defaultView)!==null&&r!==void 0?r:globalThis.window;return gh(n),qs(t).api}function se({keyboardState:e,pointerState:t,...r}={},n){const o=Sp(r,Tp,n);vp(o.document),bp(ve(o.document).HTMLElement);var i;const a=(i=t??e)!==null&&i!==void 0?i:new Ep;return{api:qs(o,a).api,system:a}}function vx(e){return qs({...this.config,...e},this.system).api}function yx(e,t){function r(...n){return wo(e,pe.Call),mx(()=>t.apply(e,n).then(async o=>(await qt(e.config),o)))}return Object.defineProperty(r,"name",{get:()=>t.name}),r}function qs(e,t=new Ep){const r={};return Object.assign(r,{config:e,dispatchEvent:hp.bind(r),dispatchUIEvent:bE.bind(r),system:t,levelRefs:{},...bd}),{instance:r,api:{...Object.fromEntries(Object.entries(bd).map(([n,o])=>[n,yx(r,o)])),setup:vx.bind(r)}}}function gx(e,t,r){var n,o;return(o=(n=e.document)!==null&&n!==void 0?n:t&&wE(t))!==null&&o!==void 0?o:r.document}function Rx(e){return se().api.clear(e)}function wx(e,t={}){return se(t,e).api.click(e)}function Ex(e={}){return se(e).api.copy()}function xx(e={}){return se(e).api.cut()}function Cx(e,t={}){return se(t).api.dblClick(e)}function qx(e,t,r={}){return se(r).api.deselectOptions(e,t)}function _x(e,t={}){return se(t).api.hover(e)}async function Px(e,t={}){const{api:r,system:n}=se(t);return r.keyboard(e).then(()=>n)}async function Tx(e,t={}){const{api:r,system:n}=se(t);return r.pointer(e).then(()=>n)}function Sx(e,t){return se(t).api.paste(e)}function Ax(e,t,r={}){return se(r).api.selectOptions(e,t)}function Mx(e,t={}){return se(t).api.tripleClick(e)}function Ox(e,t,r={}){return se(r,e).api.type(e,t,r)}function Ix(e,t={}){const{api:r,system:n}=se(t);return n.pointer.setMousePosition({target:e}),r.unhover(e)}function Nx(e,t,r={}){return se(r).api.upload(e,t)}function kx(e={}){return se().api.tab(e)}const jx=Object.freeze(Object.defineProperty({__proto__:null,clear:Rx,click:wx,copy:Ex,cut:xx,dblClick:Cx,deselectOptions:qx,hover:_x,keyboard:Px,paste:Sx,pointer:Tx,selectOptions:Ax,tab:kx,tripleClick:Mx,type:Ox,unhover:Ix,upload:Nx},Symbol.toStringTag,{value:"Module"})),Dx={...jx,setup:bx};function $x(e,t,r){switch(t){case"type":return`Event fired: Typed "${r[1]}" into element`;case"selectOptions":return`Event fired: Selected option(s) ${JSON.stringify(r[1])}`;case"click":return"Event fired: Clicked element";case"dblClick":return"Event fired: Double-clicked element";case"tripleClick":return"Event fired: Triple-clicked element";default:return`Event fired: ${e}.${String(t)} executed`}}function Ap(e,t="userEvent"){return new Proxy(e,{get(r,n,o){const i=Reflect.get(r,n,o);return typeof i!="function"?i:n==="setup"?(...a)=>{const s=i(...a);return Ap(s,`${t}.instance`)}:async(...a)=>{const s=await i(...a);return Re($x(t,n,a)),s}}})}const Bx=Ap(Dx);function Lx(e,t,r){const n=String(t);if(/^(get|query|find)(All)?By/.test(n)){const o=r[0];return`query: ${n}("${o}")`}return n==="within"?`helper: within(<${(r[0]?.tagName||"unknown").toLowerCase()}>) called`:n==="prettyDOM"||n==="logDOM"?`debug: ${n} called`:["act","waitFor","waitForElementToBeRemoved"].includes(n)?`async utility: ${n} executed`:`method: ${e}.${n} executed`}const Fx=()=>document.querySelector("body > :not(#twd-sidebar-root):not(script):not(style):not(svg):not(path):not(noscript):not(link):not(meta):not(iframe):not(template)")??document.body,Ux=(e,t)=>{const r=Fx(),o=op(r)[e];if(typeof o=="function")return o(...t);const i=ji[e];return typeof i=="function"?i(...t):i},zx=(e,t)=>{const r=ji[e];return typeof r!="function"?r:r(...t)};function Mp(e,t="screen",r=!1){return new Proxy(e,{get(n,o,i){const a=Reflect.get(n,o,i);return typeof a!="function"?a:(...s)=>{const l=r?Ux(o,s):zx(o,s);return Re(Lx(t,o,s)),l}}})}const Vx=Mp(ji,"screen",!0),Hx=Mp(ji,"screen",!1);Hf({getElementError(e){return new Error(`${e}`)}});const Wx=Hf;ie.truncateThreshold=0;exports.TWDSidebar=dh;exports.configureScreenDom=Wx;exports.expect=Po;exports.initTests=ph;exports.screenDom=Vx;exports.screenDomGlobal=Hx;exports.twd=Cm;exports.userEvent=Bx;
74
+ for more information about how userEvent parses your input.`}function ZE(e,t){const r=[];do{const{type:o,descriptor:a,consumedLength:i,releasePrevious:s,releaseSelf:l=!0,repeat:u}=qp(t,"keyboard");var n;const d=(n=e.find(f=>{if(o==="["){var c;return((c=f.code)===null||c===void 0?void 0:c.toLowerCase())===a.toLowerCase()}else if(o==="{"){var h;return((h=f.key)===null||h===void 0?void 0:h.toLowerCase())===a.toLowerCase()}return f.key===a}))!==null&&n!==void 0?n:{key:"Unknown",code:"Unknown",[o==="["?"code":"key"]:a};r.push({keyDef:d,releasePrevious:s,releaseSelf:l,repeat:u}),t=t.slice(i)}while(t);return r}async function ex(e){const t=ZE(this.config.keyboardMap,e);for(let r=0;r<t.length;r++)await _t(this.config),await tx(this,t[r])}async function tx(e,{keyDef:t,releasePrevious:r,releaseSelf:n,repeat:o}){const{system:a}=e;if(a.keyboard.isKeyPressed(t)&&await a.keyboard.keyup(e,t),!r){for(let i=1;i<=o;i++)await a.keyboard.keydown(e,t),i<o&&await _t(e.config);n&&await a.keyboard.keyup(e,t)}}async function rx(e){for(const t of e.system.keyboard.getPressedKeys())await e.system.keyboard.keyup(e,t)}function Tp(e){const t=Pe(e)?{"text/plain":nx(e)}:{"text/plain":String(e.ownerDocument.getSelection())},r=cs(ve(e));for(const n in t)t[n]&&r.setData(n,t[n]);return r}function nx(e){const t=Io(e);return Te(e).substring(t.startOffset,t.endOffset)}async function ox(){const e=this.config.document;var t;const r=(t=e.activeElement)!==null&&t!==void 0?t:e.body,n=Tp(r);if(n.items.length!==0)return this.dispatchUIEvent(r,"copy",{clipboardData:n})&&this.config.writeToClipboard&&await Ef(e,n),n}async function ax(){const e=this.config.document;var t;const r=(t=e.activeElement)!==null&&t!==void 0?t:e.body,n=Tp(r);if(n.items.length!==0)return this.dispatchUIEvent(r,"cut",{clipboardData:n})&&this.config.writeToClipboard&&await Ef(r.ownerDocument,n),n}async function ix(e){const t=this.config.document;var r;const n=(r=t.activeElement)!==null&&r!==void 0?r:t.body;var o;const a=(o=typeof e=="string"?sx(t,e):e)!==null&&o!==void 0?o:await _h(t).catch(()=>{throw new Error("`userEvent.paste()` without `clipboardData` requires the `ClipboardAPI` to be available.")});this.dispatchUIEvent(n,"paste",{clipboardData:a})}function sx(e,t){const r=cs(ve(e));return r.setData("text",t),r}function pd(e,t){const r=[];do{const{descriptor:n,consumedLength:o,releasePrevious:a,releaseSelf:i=!0}=qp(t,"pointer"),s=e.find(l=>l.name===n);s&&r.push({keyDef:s,releasePrevious:a,releaseSelf:i}),t=t.slice(o)}while(t);return r}async function lx(e){const{pointerMap:t}=this.config,r=[];(Array.isArray(e)?e:[e]).forEach(n=>{typeof n=="string"?r.push(...pd(t,n)):"keys"in n?r.push(...pd(t,n.keys).map(o=>({...n,...o}))):r.push(n)});for(let n=0;n<r.length;n++)await _t(this.config),await ux(this,r[n]);this.system.pointer.resetClickCount()}async function ux(e,t){var r,n;const o="pointerName"in t&&t.pointerName?t.pointerName:"keyDef"in t?e.system.pointer.getPointerName(t.keyDef):"mouse",a=e.system.pointer.getPreviousPosition(o);var i,s,l,u;const d={target:(i=t.target)!==null&&i!==void 0?i:cx(e,a),coords:(s=t.coords)!==null&&s!==void 0?s:a?.coords,caret:{node:(l=t.node)!==null&&l!==void 0?l:md(t)||a==null||(r=a.caret)===null||r===void 0?void 0:r.node,offset:(u=t.offset)!==null&&u!==void 0?u:md(t)||a==null||(n=a.caret)===null||n===void 0?void 0:n.offset}};"keyDef"in t?(e.system.pointer.isKeyPressed(t.keyDef)&&(Eo(e,pe.Trigger),await e.system.pointer.release(e,t.keyDef,d)),t.releasePrevious||(Eo(e,pe.Trigger),await e.system.pointer.press(e,t.keyDef,d),t.releaseSelf&&(Eo(e,pe.Trigger),await e.system.pointer.release(e,t.keyDef,d)))):(Eo(e,pe.Trigger),await e.system.pointer.move(e,o,d))}function md(e){var t,r;return!!((r=(t=e.target)!==null&&t!==void 0?t:e.node)!==null&&r!==void 0?r:e.offset!==void 0)}function cx(e,t){if(!t)throw new Error("This pointer has no previous position. Provide a target property!");var r;return(r=t.target)!==null&&r!==void 0?r:e.config.document.body}async function dx(e){if(!Et(e)||Fe(e))throw new Error("clear()` is only supported on editable elements.");if(Ze(e),e.ownerDocument.activeElement!==e)throw new Error("The element to be cleared could not be focused.");if(pp(e),!iE(e))throw new Error("The element content to be cleared could not be selected.");qt(this,e,"","deleteContentBackward")}async function fx(e,t){return Sp.call(this,!0,e,t)}async function px(e,t){return Sp.call(this,!1,e,t)}async function Sp(e,t,r){if(!e&&!t.multiple)throw K().getElementError("Unable to deselect an option in a non-multiple select. Use selectOptions to change the selection instead.",t);const n=Array.isArray(r)?r:[r],o=Array.from(t.querySelectorAll('option, [role="option"]')),a=n.map(s=>{if(typeof s!="string"&&o.includes(s))return s;{const l=o.find(u=>u.value===s||u.innerHTML===s);if(l)return l;throw K().getElementError(`Value "${String(s)}" not found in options`,t)}}).filter(s=>!Fe(s));if(Fe(t)||!a.length)return;const i=s=>{s.selected=e,this.dispatchUIEvent(t,"input",{bubbles:!0,cancelable:!1,composed:!0}),this.dispatchUIEvent(t,"change")};if(z(t,"select"))if(t.multiple)for(const s of a){const l=this.config.pointerEventsCheck===0?!0:wa(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")),Ze(t),l&&(this.dispatchUIEvent(s,"pointerup"),this.dispatchUIEvent(s,"mouseup")),i(s),l&&this.dispatchUIEvent(s,"click"),await _t(this.config)}else if(a.length===1){const s=this.config.pointerEventsCheck===0?!0:wa(this,t);s?await this.click(t):Ze(t),i(a[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 _t(this.config)}else throw K().getElementError("Cannot select multiple options on a non-multiple select",t);else if(t.getAttribute("role")==="listbox")for(const s of a)await this.click(s),await this.unhover(s);else throw K().getElementError("Cannot select options on elements that are neither select nor listbox elements",t)}async function mx(e,t,{skipClick:r=this.config.skipClick,skipAutoClose:n=this.config.skipAutoClose,initialSelectionStart:o,initialSelectionEnd:a}={}){e.disabled||(r||await this.click(e),o!==void 0&&Ro(e,o,a??o),await this.keyboard(t),n||await rx(this))}const hd=Symbol("files and value properties are mocked");function Ya(e,t,r){r?Object.defineProperty(e,t,r):delete e[t]}function hx(e,t){var r;(r=e[hd])===null||r===void 0||r.restore();const n=Object.getOwnPropertyDescriptor(e,"type"),o=Object.getOwnPropertyDescriptor(e,"value"),a=Object.getOwnPropertyDescriptor(e,"files");function i(){Ya(e,"type",n),Ya(e,"value",o),Ya(e,"files",a)}e[hd]={restore:i},Object.defineProperties(e,{files:{configurable:!0,get:()=>t},value:{configurable:!0,get:()=>t.length?`C:\\fakepath\\${t[0].name}`:"",set(s){if(s==="")i();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"&&(i(),e.type=s)}}})}async function bx(e,t){const r=z(e,"label")?e.control:e;if(!r||!z(r,"input",{type:"file"}))throw new TypeError(`The ${r===e?"given":"associated"} ${r?.tagName} element does not accept file uploads`);if(Fe(e))return;const n=(Array.isArray(t)?t:[t]).filter(a=>!this.config.applyAccept||vx(a,r.accept)).slice(0,r.multiple?void 0:1),o=()=>{var a;n.length===((a=r.files)===null||a===void 0?void 0:a.length)&&n.every((i,s)=>{var l;return i===((l=r.files)===null||l===void 0?void 0:l.item(s))})||(hx(r,us(ve(e),n)),this.dispatchUIEvent(r,"input"),this.dispatchUIEvent(r,"change"))};r.addEventListener("fileDialog",o),await this.click(e),r.removeEventListener("fileDialog",o)}function Zo(e){return e.toLowerCase().replace(/(\.|\/)jpg\b/g,"$1jpeg")}function vx(e,t){if(!t)return!0;const r=["audio/*","image/*","video/*"];return Zo(t).trim().split(/\s*,\s*/).some(n=>n.startsWith(".")?Zo(e.name).endsWith(n):r.includes(n)?Zo(e.type).startsWith(n.replace("*","")):Zo(e.type)===n)}const bd={click:VE,dblClick:HE,tripleClick:WE,hover:GE,unhover:KE,tab:YE,keyboard:ex,copy:ox,cut:ax,paste:ix,pointer:lx,clear:dx,deselectOptions:px,selectOptions:fx,type:mx,upload:bx};function yx(e){return K().asyncWrapper(e)}const Ap={applyAccept:!0,autoModify:!0,delay:0,document:globalThis.document,keyboardMap:AE,pointerMap:ME,pointerEventsCheck:oa.EachApiCall,skipAutoClose:!1,skipClick:!1,skipHover:!1,writeToClipboard:!1,advanceTimers:()=>Promise.resolve()},gx={...Ap,writeToClipboard:!0};function Mp(e={},t=gx,r){const n=xx(e,r,t);return{...t,...e,document:n}}function wx(e={}){const t=Mp(e);gp(t.document),yp(ve(t.document).HTMLElement);var r;const n=(r=t.document.defaultView)!==null&&r!==void 0?r:globalThis.window;return xh(n),qs(t).api}function se({keyboardState:e,pointerState:t,...r}={},n){const o=Mp(r,Ap,n);gp(o.document),yp(ve(o.document).HTMLElement);var a;const i=(a=t??e)!==null&&a!==void 0?a:new Cp;return{api:qs(o,i).api,system:i}}function Rx(e){return qs({...this.config,...e},this.system).api}function Ex(e,t){function r(...n){return Eo(e,pe.Call),yx(()=>t.apply(e,n).then(async o=>(await _t(e.config),o)))}return Object.defineProperty(r,"name",{get:()=>t.name}),r}function qs(e,t=new Cp){const r={};return Object.assign(r,{config:e,dispatchEvent:vp.bind(r),dispatchUIEvent:wE.bind(r),system:t,levelRefs:{},...bd}),{instance:r,api:{...Object.fromEntries(Object.entries(bd).map(([n,o])=>[n,Ex(r,o)])),setup:Rx.bind(r)}}}function xx(e,t,r){var n,o;return(o=(n=e.document)!==null&&n!==void 0?n:t&&qE(t))!==null&&o!==void 0?o:r.document}function Cx(e){return se().api.clear(e)}function qx(e,t={}){return se(t,e).api.click(e)}function _x(e={}){return se(e).api.copy()}function Px(e={}){return se(e).api.cut()}function Tx(e,t={}){return se(t).api.dblClick(e)}function Sx(e,t,r={}){return se(r).api.deselectOptions(e,t)}function Ax(e,t={}){return se(t).api.hover(e)}async function Mx(e,t={}){const{api:r,system:n}=se(t);return r.keyboard(e).then(()=>n)}async function Ox(e,t={}){const{api:r,system:n}=se(t);return r.pointer(e).then(()=>n)}function Ix(e,t){return se(t).api.paste(e)}function Nx(e,t,r={}){return se(r).api.selectOptions(e,t)}function kx(e,t={}){return se(t).api.tripleClick(e)}function jx(e,t,r={}){return se(r,e).api.type(e,t,r)}function Dx(e,t={}){const{api:r,system:n}=se(t);return n.pointer.setMousePosition({target:e}),r.unhover(e)}function $x(e,t,r={}){return se(r).api.upload(e,t)}function Bx(e={}){return se().api.tab(e)}const Lx=Object.freeze(Object.defineProperty({__proto__:null,clear:Cx,click:qx,copy:_x,cut:Px,dblClick:Tx,deselectOptions:Sx,hover:Ax,keyboard:Mx,paste:Ix,pointer:Ox,selectOptions:Nx,tab:Bx,tripleClick:kx,type:jx,unhover:Dx,upload:$x},Symbol.toStringTag,{value:"Module"})),Fx={...Lx,setup:wx};function Ux(e,t,r){switch(t){case"type":return`Event fired: Typed "${r[1]}" into element`;case"selectOptions":return`Event fired: Selected option(s) ${JSON.stringify(r[1])}`;case"click":return"Event fired: Clicked element";case"dblClick":return"Event fired: Double-clicked element";case"tripleClick":return"Event fired: Triple-clicked element";default:return`Event fired: ${e}.${String(t)} executed`}}function Op(e,t="userEvent"){return new Proxy(e,{get(r,n,o){const a=Reflect.get(r,n,o);return typeof a!="function"?a:n==="setup"?(...i)=>{const s=a(...i);return Op(s,`${t}.instance`)}:async(...i)=>{const s=await a(...i);return we(Ux(t,n,i)),s}}})}const zx=Op(Fx);function Vx(e,t,r){const n=String(t);if(/^(get|query|find)(All)?By/.test(n)){const o=r[0];return`query: ${n}("${o}")`}return n==="within"?`helper: within(<${(r[0]?.tagName||"unknown").toLowerCase()}>) called`:n==="prettyDOM"||n==="logDOM"?`debug: ${n} called`:["act","waitFor","waitForElementToBeRemoved"].includes(n)?`async utility: ${n} executed`:`method: ${e}.${n} executed`}const Hx=()=>document.querySelector("body > :not(#twd-sidebar-root):not(script):not(style):not(svg):not(path):not(noscript):not(link):not(meta):not(iframe):not(template)")??document.body,Wx=(e,t)=>{const r=Hx(),o=ip(r)[e];if(typeof o=="function")return o(...t);const a=ja[e];return typeof a=="function"?a(...t):a},Gx=(e,t)=>{const r=ja[e];return typeof r!="function"?r:r(...t)};function Ip(e,t="screen",r=!1){return new Proxy(e,{get(n,o,a){const i=Reflect.get(n,o,a);return typeof i!="function"?i:(...s)=>{const l=r?Wx(o,s):Gx(o,s);return we(Vx(t,o,s)),l}}})}const Kx=Ip(ja,"screen",!0),Yx=Ip(ja,"screen",!1);Gf({getElementError(e){return new Error(`${e}`)}});const Xx=Gf;ae.truncateThreshold=0;exports.TWDSidebar=mh;exports.configureScreenDom=Xx;exports.defaultTheme=bf;exports.expect=To;exports.initTests=vh;exports.injectTheme=vf;exports.screenDom=Kx;exports.screenDomGlobal=Yx;exports.twd=_m;exports.userEvent=zx;