twd-js 0.8.0 → 1.0.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,285 +1,39 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const Po=require("./runner.cjs.js"),Ao=require("react"),om=(e,t=2e3,r=50)=>new Promise((n,o)=>{const a=Date.now(),i=()=>{const s=e();if(s)return n(s);if(Date.now()-a>t)return o(new Error("Timeout waiting for element"));setTimeout(i,r)};i()}),am=(e,t=2e3,r=50)=>new Promise((n,o)=>{const a=Date.now(),i=()=>{const s=e();if(s&&s.length>0)return n(Array.from(s));if(Date.now()-a>t)return o(new Error("Timeout waiting for elements"));setTimeout(i,r)};i()}),Oo=e=>new Promise(t=>setTimeout(t,e)),ge=(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 im(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 _s=(e,t,...r)=>{const n=t.startsWith("not."),o=n?t.slice(4):t,a=(e.textContent||"").trim();switch(o){case"have.text":return ge(a===r[0],n,`Assertion passed: Text is exactly "${r[0]}"`,`Assertion failed: Expected text to be "${r[0]}", but got "${a}"`);case"contain.text":return ge(a.includes(r[0]),n,`Assertion passed: Text contains "${r[0]}"`,`Assertion failed: Expected text to contain "${r[0]}", but got "${a}"`);case"be.empty":return ge(a.length===0,n,"Assertion passed: Text is empty",`Assertion failed: Expected text to be empty, but got "${a}"`);case"have.attr":return ge(e.getAttribute(r[0])===r[1],n,`Assertion passed: Attribute "${r[0]}" is "${r[1]}"`,`Assertion failed: Expected attribute "${r[0]}" to be "${r[1]}", but got "${e.getAttribute(r[0])}"`);case"have.value":return ge(e.value===r[0],n,`Assertion passed: Value is "${r[0]}"`,`Assertion failed: Expected value to be "${r[0]}", but got "${e.value}"`);case"be.disabled":return ge(e.disabled===!0,n,"Assertion passed: Element is disabled","Assertion failed: Expected element to be disabled");case"be.enabled":return ge(e.disabled===!1,n,"Assertion passed: Element is enabled","Assertion failed: Expected element to be enabled");case"be.checked":return ge(e.checked===!0,n,"Assertion passed: Element is checked","Assertion failed: Expected element to be checked");case"be.selected":return ge(e.selected===!0,n,"Assertion passed: Element is selected","Assertion failed: Expected element to be selected");case"be.focused":return ge(document.activeElement===e,n,"Assertion passed: Element is focused","Assertion failed: Expected element to be focused");case"be.visible":return ge(im(e),n,"Assertion passed: Element is visible","Assertion failed: Expected element to be visible");case"have.class":return ge(e.classList.contains(r[0]),n,`Assertion passed: Element has class "${r[0]}"`,`Assertion failed: Expected element to have class "${r[0]}"`);default:throw new Error(`Unknown assertion: ${o}`)}},lt=e=>{const t=Po.handlers.size?Array.from(Po.handlers.values()).find(r=>r.status==="running"):null;t&&t.logs?.push(e)},Ko="0.8.0",ut=[],wd=100,sm=async()=>{if("serviceWorker"in navigator){if(localStorage.getItem("twd-sw-version")!==Ko){console.log("[TWD] Updating service worker to version",Ko);const r=await navigator.serviceWorker.getRegistrations();await Promise.all(r.map(n=>n.unregister())),localStorage.setItem("twd-sw-version",Ko)}await navigator.serviceWorker.register(`/mock-sw.js?v=${Ko}`),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=ut.find(i=>i.alias===n);a&&(a.executed=!0,a.request=o)}})}},lm=async(e,t)=>{const r={alias:e,...t,executed:!1},n=ut.findIndex(o=>o.alias===e);n!==-1?ut[n]=r:ut.push(r),navigator.serviceWorker.controller?.postMessage({type:"ADD_RULE",rule:r}),await Oo(wd),await Promise.resolve()},um=async e=>await Promise.all(e.map(r=>Ed(r))),Ed=async e=>{await Oo(wd);const t=ut.find(r=>r.alias===e&&r.executed);if(!t)throw new Error(`Rule ${e} not found or not executed`);return Promise.resolve(t)},cm=()=>ut,dm=()=>{navigator.serviceWorker.controller?.postMessage({type:"CLEAR_RULES"}),ut.length=0},fm=(e,t)=>{const r=e.startsWith("not.");switch(r?e.slice(4):e){case"eq":return ge(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 ge(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}`)}},pm=()=>({location:window.location,should:(e,t)=>{const r=fm(e,t);return lt(r),r}}),mm=100,hm=async e=>{if(lt(`visit("${e}")`),window.location.pathname===e){const t=`/__dummy_${Math.random().toString(36).slice(2)}`;window.history.pushState({},"",t),window.dispatchEvent(new PopStateEvent("popstate")),await Oo(10)}window.history.pushState({},"",e),window.dispatchEvent(new PopStateEvent("popstate")),await Oo(mm)},Cd={get:async e=>{const t=`body > div:not(#twd-sidebar-root) ${e}`;lt(`Searching get("${e}")`);const r=await om(()=>document.querySelector(t)),n={el:r,should:(o,...a)=>{const i=_s(r,o,...a);return lt(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 lt(`Searching getAll("${e}")`),(await am(()=>document.querySelectorAll(t))).map(n=>{const o={el:n,should:(a,...i)=>{const s=_s(n,a,...i);return lt(s),o}};return o})},visit:hm,url:pm,mockRequest:lm,waitForRequest:Ed,waitForRequests:um,initRequestMocking:sm,clearRequestMockRules:dm,getRequestMockRules:cm,wait:Oo};var xd=Object.defineProperty,x=(e,t)=>xd(e,"name",{value:t,configurable:!0}),Pi=(e,t)=>{for(var r in t)xd(e,r,{get:t[r],enumerable:!0})},da={};Pi(da,{addChainableMethod:()=>$i,addLengthGuard:()=>Fo,addMethod:()=>Di,addProperty:()=>ki,checkError:()=>we,compareByInspect:()=>ha,eql:()=>Jd,expectTypes:()=>Od,flag:()=>V,getActual:()=>Sa,getMessage:()=>Ai,getName:()=>Oa,getOperator:()=>zi,getOwnEnumerableProperties:()=>Ui,getOwnEnumerablePropertySymbols:()=>Fi,getPathInfo:()=>Ni,hasProperty:()=>Aa,inspect:()=>K,isNaN:()=>ba,isNumeric:()=>ue,isProxyEnabled:()=>Lo,isRegExp:()=>va,objDisplay:()=>ct,overwriteChainableMethod:()=>Li,overwriteMethod:()=>Bi,overwriteProperty:()=>ji,proxify:()=>At,test:()=>Ti,transferFlags:()=>Te,type:()=>re});var we={};Pi(we,{compatibleConstructor:()=>Pd,compatibleInstance:()=>_d,compatibleMessage:()=>Td,getConstructorName:()=>Sd,getMessage:()=>Ad});function Ta(e){return e instanceof Error||Object.prototype.toString.call(e)==="[object Error]"}x(Ta,"isErrorInstance");function qd(e){return Object.prototype.toString.call(e)==="[object RegExp]"}x(qd,"isRegExp");function _d(e,t){return Ta(t)&&e===t}x(_d,"compatibleInstance");function Pd(e,t){return Ta(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(Pd,"compatibleConstructor");function Td(e,t){const r=typeof e=="string"?e:e.message;return qd(t)?t.test(r):typeof t=="string"?r.indexOf(t)!==-1:!1}x(Td,"compatibleMessage");function Sd(e){let t=e;return Ta(e)?t=e.constructor.name:typeof e=="function"&&(t=e.name,t===""&&(t=new e().name||t)),t}x(Sd,"getConstructorName");function Ad(e){let t="";return e&&e.message?t=e.message:typeof e=="string"&&(t=e),t}x(Ad,"getMessage");function V(e,t,r){let n=e.__flags||(e.__flags=Object.create(null));if(arguments.length===3)n[t]=r;else return n[t]}x(V,"flag");function Ti(e,t){let r=V(e,"negate"),n=t[0];return r?!n:n}x(Ti,"test");function re(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(re,"type");var bm="captureStackTrace"in Error,dt,J=(dt=class extends Error{message;get name(){return"AssertionError"}get ok(){return!1}constructor(t="Unspecified AssertionError",r,n){super(t),this.message=t,bm&&Error.captureStackTrace(this,n||dt);for(const o in r)o in this||(this[o]=r[o])}toJSON(t){return{...this,name:this.name,message:this.message,ok:!1,stack:t!==!1?this.stack:void 0}}},x(dt,"AssertionError"),dt);function Od(e,t){let r=V(e,"message"),n=V(e,"ssfi");r=r?r+": ":"",e=V(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=re(e).toLowerCase();if(!t.some(function(i){return a===i}))throw new J(r+"object tested must be "+o+", but "+a+" given",void 0,n)}x(Od,"expectTypes");function Sa(e,t){return t.length>4?t[4]:e._obj}x(Sa,"getActual");var Ps={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"]},vm={special:"cyan",number:"yellow",bigint:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",symbol:"green",date:"magenta",regexp:"red"},Et="…";function Md(e,t){const r=Ps[vm[t]]||Ps[t]||"";return r?`\x1B[${r[0]}m${String(e)}\x1B[${r[1]}m`:String(e)}x(Md,"colorise");function Id({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}={},c){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:c,stylize:u};return f.colors&&(f.stylize=Md),f}x(Id,"normaliseOptions");function Nd(e){return e>="\uD800"&&e<="\uDBFF"}x(Nd,"isHighSurrogate");function Ke(e,t,r=Et){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&&Nd(e[a-1])&&(a=a-1),`${e.slice(0,a)}${r}`}return e}x(Ke,"truncate");function xe(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 c=u+1===e.length,f=u+2===e.length;l=`${Et}(${e.length-u})`;const d=e[u];t.truncate=a-i.length-(c?0:n.length);const b=s||r(d,t)+(c?"":n),v=i.length+b.length,R=v+l.length;if(c&&v>a&&i.length+l.length<=a||!c&&!f&&R>a||(s=c?"":r(e[u+1],t)+(f?"":n),!c&&f&&R>a&&v+s.length>a))break;if(i+=b,!c&&!f&&v+s.length>=a){l=`${Et}(${e.length-u-1})`;break}l=""}return`${i}${l}`}x(xe,"inspectList");function kd(e){return e.match(/^[a-zA-Z_][a-zA-Z_0-9]*$/)?e:JSON.stringify(e).replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'")}x(kd,"quoteComplexKey");function Ct([e,t],r){return r.truncate-=2,typeof e=="string"?e=kd(e):typeof e!="number"&&(e=`[${r.inspect(e,r)}]`),r.truncate-=e.length,t=r.inspect(t,r),`${e}: ${t}`}x(Ct,"inspectProperty");function Dd(e,t){const r=Object.keys(e).slice(e.length);if(!e.length&&!r.length)return"[]";t.truncate-=4;const n=xe(e,t);t.truncate-=n.length;let o="";return r.length&&(o=xe(r.map(a=>[a,e[a]]),t,Ct)),`[ ${n}${o?`, ${o}`:""} ]`}x(Dd,"inspectArray");var ym=x(e=>typeof Buffer=="function"&&e instanceof Buffer?"Buffer":e[Symbol.toStringTag]?e[Symbol.toStringTag]:e.constructor.name,"getArrayName");function Oe(e,t){const r=ym(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(Ke(e[i],t.truncate),"number")}${i===e.length-1?"":", "}`;if(t.truncate-=s.length,e[i]!==e.length&&t.truncate<=3){o+=`${Et}(${e.length-e[i]+1})`;break}o+=s}let a="";return n.length&&(a=xe(n.map(i=>[i,e[i]]),t,Ct)),`${r}[ ${o}${a?`, ${a}`:""} ]`}x(Oe,"inspectTypedArray");function jd(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${Ke(n[1],t.truncate-o.length-1)}`,"date")}x(jd,"inspectDate");function ei(e,t){const r=e[Symbol.toStringTag]||"Function",n=e.name;return n?t.stylize(`[${r} ${Ke(n,t.truncate-11)}]`,"special"):t.stylize(`[${r}]`,"special")}x(ei,"inspectFunction");function Bd([e,t],r){return r.truncate-=4,e=r.inspect(e,r),r.truncate-=e.length,t=r.inspect(t,r),`${e} => ${t}`}x(Bd,"inspectMapEntry");function $d(e){const t=[];return e.forEach((r,n)=>{t.push([n,r])}),t}x($d,"mapToEntries");function Ld(e,t){return e.size===0?"Map{}":(t.truncate-=7,`Map{ ${xe($d(e),t,Bd)} }`)}x(Ld,"inspectMap");var gm=Number.isNaN||(e=>e!==e);function ti(e,t){return gm(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(Ke(String(e),t.truncate),"number")}x(ti,"inspectNumber");function ri(e,t){let r=Ke(e.toString(),t.truncate-1);return r!==Et&&(r+="n"),t.stylize(r,"bigint")}x(ri,"inspectBigInt");function Fd(e,t){const r=e.toString().split("/")[2],n=t.truncate-(2+r.length),o=e.source;return t.stylize(`/${Ke(o,n)}/${r}`,"regexp")}x(Fd,"inspectRegExp");function Ud(e){const t=[];return e.forEach(r=>{t.push(r)}),t}x(Ud,"arrayFromSet");function zd(e,t){return e.size===0?"Set{}":(t.truncate-=7,`Set{ ${xe(Ud(e),t)} }`)}x(zd,"inspectSet");var Ts=new RegExp("['\\u0000-\\u001f\\u007f-\\u009f\\u00ad\\u0600-\\u0604\\u070f\\u17b4\\u17b5\\u200c-\\u200f\\u2028-\\u202f\\u2060-\\u206f\\ufeff\\ufff0-\\uffff]","g"),Rm={"\b":"\\b"," ":"\\t","\n":"\\n","\f":"\\f","\r":"\\r","'":"\\'","\\":"\\\\"},wm=16;function Vd(e){return Rm[e]||`\\u${`0000${e.charCodeAt(0).toString(wm)}`.slice(-4)}`}x(Vd,"escape");function ni(e,t){return Ts.test(e)&&(e=e.replace(Ts,Vd)),t.stylize(`'${Ke(e,t.truncate-2)}'`,"string")}x(ni,"inspectString");function oi(e){return"description"in Symbol.prototype?e.description?`Symbol(${e.description})`:"Symbol()":e.toString()}x(oi,"inspectSymbol");var Em=x(()=>"Promise{…}","getPromiseValue"),Cm=Em;function To(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=xe(r.map(s=>[s,e[s]]),t,Ct),a=xe(n.map(s=>[s,e[s]]),t,Ct);t.seen.pop();let i="";return o&&a&&(i=", "),`{ ${o}${i}${a} }`}x(To,"inspectObject");var Ua=typeof Symbol<"u"&&Symbol.toStringTag?Symbol.toStringTag:!1;function Hd(e,t){let r="";return Ua&&Ua in e&&(r=e[Ua]),r=r||e.constructor.name,(!r||r==="_class")&&(r="<Anonymous Class>"),t.truncate-=r.length,`${r}${To(e,t)}`}x(Hd,"inspectClass");function Wd(e,t){return e.length===0?"Arguments[]":(t.truncate-=13,`Arguments[ ${xe(e,t)} ]`)}x(Wd,"inspectArguments");var xm=["stack","line","column","name","message","fileName","lineNumber","columnNumber","number","description","cause"];function Gd(e,t){const r=Object.getOwnPropertyNames(e).filter(i=>xm.indexOf(i)===-1),n=e.name;t.truncate-=n.length;let o="";if(typeof e.message=="string"?o=Ke(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=xe(r.map(i=>[i,e[i]]),t,Ct);return`${n}${o}${a?` { ${a} }`:""}`}x(Gd,"inspectObject");function Kd([e,t],r){return r.truncate-=3,t?`${r.stylize(String(e),"yellow")}=${r.stylize(`"${t}"`,"string")}`:`${r.stylize(String(e),"yellow")}`}x(Kd,"inspectAttribute");function fa(e,t){return xe(e,t,Yd,`
2
- `)}x(fa,"inspectNodeCollection");function Yd(e,t){switch(e.nodeType){case 1:return Si(e,t);case 3:return t.inspect(e.data,t);default:return t.inspect(e,t)}}x(Yd,"inspectNode");function Si(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+=xe(r.map(c=>[c,e.getAttribute(c)]),t,Kd," ")),t.truncate-=s.length;const l=t.truncate;let u=fa(e.children,t);return u&&u.length>l&&(u=`${Et}(${e.children.length})`),`${o}${s}${a}${u}${i}`}x(Si,"inspectHTML");var qm=typeof Symbol=="function"&&typeof Symbol.for=="function",za=qm?Symbol.for("chai/inspect"):"@@chai/inspect",Va=Symbol.for("nodejs.util.inspect.custom"),Ss=new WeakMap,As={},Os={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:ti,Number:ti,bigint:ri,BigInt:ri,string:ni,String:ni,function:ei,Function:ei,symbol:oi,Symbol:oi,Array:Dd,Date:jd,Map:Ld,Set:zd,RegExp:Fd,Promise:Cm,WeakSet:x((e,t)=>t.stylize("WeakSet{…}","special"),"WeakSet"),WeakMap:x((e,t)=>t.stylize("WeakMap{…}","special"),"WeakMap"),Arguments:Wd,Int8Array:Oe,Uint8Array:Oe,Uint8ClampedArray:Oe,Int16Array:Oe,Uint16Array:Oe,Int32Array:Oe,Uint32Array:Oe,Float32Array:Oe,Float64Array:Oe,Generator:x(()=>"","Generator"),DataView:x(()=>"","DataView"),ArrayBuffer:x(()=>"","ArrayBuffer"),Error:Gd,HTMLCollection:fa,NodeList:fa},_m=x((e,t,r)=>za in e&&typeof e[za]=="function"?e[za](t):Va in e&&typeof e[Va]=="function"?e[Va](t.depth,t):"inspect"in e&&typeof e.inspect=="function"?e.inspect(t.depth,t):"constructor"in e&&Ss.has(e.constructor)?Ss.get(e.constructor)(e,t):As[r]?As[r](e,t):"","inspectCustom"),Pm=Object.prototype.toString;function pa(e,t={}){const r=Id(t,pa),{customInspect:n}=r;let o=e===null?"null":typeof e;if(o==="object"&&(o=Pm.call(e).slice(8,-1)),o in Os)return Os[o](e,r);if(n&&e){const i=_m(e,r,o);if(i)return typeof i=="string"?i:pa(i,r)}const a=e?Object.getPrototypeOf(e):!1;return a===Object.prototype||a===null?To(e,r):e&&typeof HTMLElement=="function"&&e instanceof HTMLElement?Si(e,r):"constructor"in e?e.constructor!==Object?Hd(e,r):To(e,r):e===Object(e)?To(e,r):r.stylize(String(e),o)}x(pa,"inspect");var fe={includeStack:!1,showDiff:!0,truncateThreshold:40,useProxy:!0,proxyExcludedKeys:["then","catch","inspect","toJSON"],deepEqual:null};function K(e,t,r,n){let o={colors:n,depth:typeof r>"u"?2:r,showHidden:t,truncate:fe.truncateThreshold?fe.truncateThreshold:1/0};return pa(e,o)}x(K,"inspect");function ct(e){let t=K(e),r=Object.prototype.toString.call(e);if(fe.truncateThreshold&&t.length>=fe.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(ct,"objDisplay");function Ai(e,t){let r=V(e,"negate"),n=V(e,"object"),o=t[3],a=Sa(e,t),i=r?t[2]:t[1],s=V(e,"message");return typeof i=="function"&&(i=i()),i=i||"",i=i.replace(/#\{this\}/g,function(){return ct(n)}).replace(/#\{act\}/g,function(){return ct(a)}).replace(/#\{exp\}/g,function(){return ct(o)}),s?s+": "+i:i}x(Ai,"getMessage");function Te(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(Te,"transferFlags");function ai(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(ai,"type");function Oi(){this._key="chai/deep-eql__"+Math.random()+Date.now()}x(Oi,"FakeMap");Oi.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 Xd=typeof WeakMap=="function"?WeakMap:Oi;function ii(e,t,r){if(!r||pt(e)||pt(t))return null;var n=r.get(e);if(n){var o=n.get(t);if(typeof o=="boolean")return o}return null}x(ii,"memoizeCompare");function Co(e,t,r,n){if(!(!r||pt(e)||pt(t))){var o=r.get(e);o?o.set(t,n):(o=new Xd,o.set(t,n),r.set(e,o))}}x(Co,"memoizeSet");var Jd=$o;function $o(e,t,r){if(r&&r.comparator)return si(e,t,r);var n=Mi(e,t);return n!==null?n:si(e,t,r)}x($o,"deepEqual");function Mi(e,t){return e===t?e!==0||1/e===1/t:e!==e&&t!==t?!0:pt(e)||pt(t)?!1:null}x(Mi,"simpleEqual");function si(e,t,r){r=r||{},r.memoize=r.memoize===!1?!1:r.memoize||new Xd;var n=r&&r.comparator,o=ii(e,t,r.memoize);if(o!==null)return o;var a=ii(t,e,r.memoize);if(a!==null)return a;if(n){var i=n(e,t);if(i===!1||i===!0)return Co(e,t,r.memoize,i),i;var s=Mi(e,t);if(s!==null)return s}var l=ai(e);if(l!==ai(t))return Co(e,t,r.memoize,!1),!1;Co(e,t,r.memoize,!0);var u=Qd(e,t,l,r);return Co(e,t,r.memoize,u),u}x(si,"extensiveDeepEqual");function Qd(e,t,r,n){switch(r){case"String":case"Number":case"Boolean":case"Date":return $o(e.valueOf(),t.valueOf());case"Promise":case"Symbol":case"function":case"WeakMap":case"WeakSet":return e===t;case"Error":return Ii(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 et(e,t,n);case"RegExp":return Zd(e,t);case"Generator":return ef(e,t,n);case"DataView":return et(new Uint8Array(e.buffer),new Uint8Array(t.buffer),n);case"ArrayBuffer":return et(new Uint8Array(e),new Uint8Array(t),n);case"Set":return li(e,t,n);case"Map":return li(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 rf(e,t,n)}}x(Qd,"extensiveDeepEqualByType");function Zd(e,t){return e.toString()===t.toString()}x(Zd,"regexpEqual");function li(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")),et(n.sort(),o.sort(),r)}x(li,"entriesEqual");function et(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($o(e[o],t[o],r)===!1)return!1;return!0}x(et,"iterableEqual");function ef(e,t,r){return et(ma(e),ma(t),r)}x(ef,"generatorEqual");function tf(e){return typeof Symbol<"u"&&typeof e=="object"&&typeof Symbol.iterator<"u"&&typeof e[Symbol.iterator]=="function"}x(tf,"hasIteratorFunction");function ui(e){if(tf(e))try{return ma(e[Symbol.iterator]())}catch{return[]}return[]}x(ui,"getIteratorEntries");function ma(e){for(var t=e.next(),r=[t.value];t.done===!1;)t=e.next(),r.push(t.value);return r}x(ma,"getGeneratorEntries");function ci(e){var t=[];for(var r in e)t.push(r);return t}x(ci,"getEnumerableKeys");function di(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(di,"getEnumerableSymbols");function Ii(e,t,r,n){var o=r.length;if(o===0)return!0;for(var a=0;a<o;a+=1)if($o(e[r[a]],t[r[a]],n)===!1)return!1;return!0}x(Ii,"keysEqual");function rf(e,t,r){var n=ci(e),o=ci(t),a=di(e),i=di(t);if(n=n.concat(a),o=o.concat(i),n.length&&n.length===o.length)return et(fi(n).sort(),fi(o).sort())===!1?!1:Ii(e,t,n,r);var s=ui(e),l=ui(t);return s.length&&s.length===l.length?(s.sort(),l.sort(),et(s,l,r)):n.length===0&&s.length===0&&o.length===0&&l.length===0}x(rf,"objectEqual");function pt(e){return e===null||typeof e!="object"}x(pt,"isPrimitive");function fi(e){return e.map(x(function(r){return typeof r=="symbol"?r.toString():r},"mapSymbol"))}x(fi,"mapSymbols");function Aa(e,t){return typeof e>"u"||e===null?!1:t in Object(e)}x(Aa,"hasProperty");function nf(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(nf,"parsePath");function pi(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(pi,"internalGetPathValue");function Ni(e,t){const r=nf(t),n=r[r.length-1],o={parent:r.length>1?pi(e,r,r.length-1):e,name:n.p||n.i,value:pi(e,r)};return o.exists=Aa(o.parent,o.name),o}x(Ni,"getPathInfo");var ft,h=(ft=class{__flags={};constructor(t,r,n,o){return V(this,"ssfi",n||ft),V(this,"lockSsfi",o),V(this,"object",t),V(this,"message",r),V(this,"eql",fe.deepEqual||Jd),At(this)}static get includeStack(){return console.warn("Assertion.includeStack is deprecated, use chai.config.includeStack instead."),fe.includeStack}static set includeStack(t){console.warn("Assertion.includeStack is deprecated, use chai.config.includeStack instead."),fe.includeStack=t}static get showDiff(){return console.warn("Assertion.showDiff is deprecated, use chai.config.showDiff instead."),fe.showDiff}static set showDiff(t){console.warn("Assertion.showDiff is deprecated, use chai.config.showDiff instead."),fe.showDiff=t}static addProperty(t,r){ki(this.prototype,t,r)}static addMethod(t,r){Di(this.prototype,t,r)}static addChainableMethod(t,r,n){$i(this.prototype,t,r,n)}static overwriteProperty(t,r){ji(this.prototype,t,r)}static overwriteMethod(t,r){Bi(this.prototype,t,r)}static overwriteChainableMethod(t,r,n){Li(this.prototype,t,r,n)}assert(t,r,n,o,a,i){const s=Ti(this,arguments);if(i!==!1&&(i=!0),o===void 0&&a===void 0&&(i=!1),fe.showDiff!==!0&&(i=!1),!s){r=Ai(this,arguments);const u={actual:Sa(this,arguments),expected:o,showDiff:i},c=zi(this,arguments);throw c&&(u.operator=c),new J(r,u,fe.includeStack?this.assert:V(this,"ssfi"))}}get _obj(){return V(this,"object")}set _obj(t){V(this,"object",t)}},x(ft,"Assertion"),ft);function Lo(){return fe.useProxy&&typeof Proxy<"u"&&typeof Reflect<"u"}x(Lo,"isProxyEnabled");function ki(e,t,r){r=r===void 0?function(){}:r,Object.defineProperty(e,t,{get:x(function n(){!Lo()&&!V(this,"lockSsfi")&&V(this,"ssfi",n);let o=r.call(this);if(o!==void 0)return o;let a=new h;return Te(this,a),a},"propertyGetter"),configurable:!0})}x(ki,"addProperty");var Tm=Object.getOwnPropertyDescriptor(function(){},"length");function Fo(e,t,r){return Tm.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(Fo,"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 At(e,t){return Lo()?new Proxy(e,{get:x(function r(n,o){if(typeof o=="string"&&fe.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&&!V(n,"lockSsfi")&&V(n,"ssfi",r),Reflect.get(n,o)},"proxyGetter")}):e}x(At,"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 Di(e,t,r){let n=x(function(){V(this,"lockSsfi")||V(this,"ssfi",n);let o=r.apply(this,arguments);if(o!==void 0)return o;let a=new h;return Te(this,a),a},"methodWrapper");Fo(n,t,!1),e[t]=At(n,t)}x(Di,"addMethod");function ji(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(){!Lo()&&!V(this,"lockSsfi")&&V(this,"ssfi",a);let i=V(this,"lockSsfi");V(this,"lockSsfi",!0);let s=r(o).call(this);if(V(this,"lockSsfi",i),s!==void 0)return s;let l=new h;return Te(this,l),l},"overwritingPropertyGetter"),configurable:!0})}x(ji,"overwriteProperty");function Bi(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(){V(this,"lockSsfi")||V(this,"ssfi",a);let i=V(this,"lockSsfi");V(this,"lockSsfi",!0);let s=r(o).apply(this,arguments);if(V(this,"lockSsfi",i),s!==void 0)return s;let l=new h;return Te(this,l),l},"overwritingMethodWrapper");Fo(a,t,!1),e[t]=At(a,t)}x(Bi,"overwriteMethod");var Sm=typeof Object.setPrototypeOf=="function",Is=x(function(){},"testFn"),Am=Object.getOwnPropertyNames(Is).filter(function(e){let t=Object.getOwnPropertyDescriptor(Is,e);return typeof t!="object"?!0:!t.configurable}),Om=Function.prototype.call,Mm=Function.prototype.apply;function $i(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(){V(this,"lockSsfi")||V(this,"ssfi",i);let s=o.method.apply(this,arguments);if(s!==void 0)return s;let l=new h;return Te(this,l),l},"chainableMethodWrapper");if(Fo(i,t,!0),Sm){let s=Object.create(this);s.call=Om,s.apply=Mm,Object.setPrototypeOf(i,s)}else Object.getOwnPropertyNames(e).forEach(function(l){if(Am.indexOf(l)!==-1)return;let u=Object.getOwnPropertyDescriptor(e,l);Object.defineProperty(i,l,u)});return Te(this,i),At(i)},"chainableMethodGetter"),configurable:!0})}x($i,"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 h;return Te(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 h;return Te(this,u),u},"overwritingChainableMethodWrapper")}x(Li,"overwriteChainableMethod");function ha(e,t){return K(e)<K(t)?-1:1}x(ha,"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 ba=Number.isNaN;function sf(e){let t=re(e);return["Array","Object","Function"].indexOf(t)!==-1}x(sf,"isObjectType");function zi(e,t){let r=V(e,"operator"),n=V(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=sf(o);return/\snot\s/.test(a)?i?"notDeepStrictEqual":"notStrictEqual":i?"deepStrictEqual":"strictEqual"}x(zi,"getOperator");function Oa(e){return e.name}x(Oa,"getName");function va(e){return Object.prototype.toString.call(e)==="[object RegExp]"}x(va,"isRegExp");function ue(e){return["Number","BigInt"].includes(re(e))}x(ue,"isNumeric");var{flag:w}=da;["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 Ns={function:["function","asyncfunction","generatorfunction","asyncgeneratorfunction"],asyncfunction:["asyncfunction","asyncgeneratorfunction"],generatorfunction:["generatorfunction","asyncgeneratorfunction"],asyncgeneratorfunction:["asyncgeneratorfunction"]};function Vi(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=re(r).toLowerCase();Ns.function.includes(e)?this.assert(Ns[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");h.addChainableMethod("an",Vi);h.addChainableMethod("a",Vi);function lf(e,t){return ba(e)&&ba(t)||e===t}x(lf,"SameValueZero");function Uo(){w(this,"contains",!0)}x(Uo,"includeChainingBehavior");function zo(e,t){t&&w(this,"message",t);let r=w(this,"object"),n=re(r).toLowerCase(),o=w(this,"message"),a=w(this,"negate"),i=w(this,"ssfi"),s=w(this,"deep"),l=s?"deep ":"",u=s?w(this,"eql"):lf;o=o?o+": ":"";let c=!1;switch(n){case"string":c=r.indexOf(e)!==-1;break;case"weakset":if(s)throw new J(o+"unable to use .deep.include with WeakSet",void 0,i);c=r.has(e);break;case"map":r.forEach(function(f){c=c||u(f,e)});break;case"set":s?r.forEach(function(f){c=c||u(f,e)}):c=r.has(e);break;case"array":s?c=r.some(function(f){return u(f,e)}):c=r.indexOf(e)!==-1;break;default:{if(e!==Object(e))throw new J(o+"the given combination of arguments ("+n+" and "+re(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 "+re(e).toLowerCase(),void 0,i);let f=Object.keys(e),d=null,b=0;if(f.forEach(function(v){let R=new h(r);if(Te(this,R,!0),w(R,"lockSsfi",!0),!a||f.length===1){R.property(v,e[v]);return}try{R.property(v,e[v])}catch(S){if(!we.compatibleConstructor(S,J))throw S;d===null&&(d=S),b++}},this),a&&f.length>1&&b===f.length)throw d;return}}this.assert(c,"expected #{this} to "+l+"include "+K(e),"expected #{this} to not "+l+"include "+K(e))}x(zo,"include");h.addChainableMethod("include",zo,Uo);h.addChainableMethod("contain",zo,Uo);h.addChainableMethod("contains",zo,Uo);h.addChainableMethod("includes",zo,Uo);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(re(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"),a=o?`${n}expected ${K(e)} not to be a callable function`:`${n}expected ${K(e)} to be a callable function`,i=["Function","AsyncFunction","GeneratorFunction","AsyncGeneratorFunction"].includes(re(e));if(i&&o||!i&&!o)throw new J(a,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(ba(w(this,"object")),"expected #{this} to be NaN","expected #{this} not to be NaN")});function Hi(){let e=w(this,"object");this.assert(e!=null,"expected #{this} to exist","expected #{this} to not exist")}x(Hi,"assertExist");h.addProperty("exist",Hi);h.addProperty("exists",Hi);h.addProperty("empty",function(){let e=w(this,"object"),t=w(this,"ssfi"),r=w(this,"message"),n;switch(r=r?r+": ":"",re(e).toLowerCase()){case"array":case"string":n=e.length;break;case"map":case"set":n=e.size;break;case"weakmap":case"weakset":throw new J(r+".empty was passed a weak collection",void 0,t);case"function":{const o=r+".empty was passed a function "+Oa(e);throw new J(o.trim(),void 0,t)}default:if(e!==Object(e))throw new J(r+".empty was passed non-string primitive "+K(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=w(this,"object"),t=re(e);this.assert(t==="Arguments","expected #{this} to be arguments but got "+t,"expected #{this} to not be arguments")}x(Wi,"checkArguments");h.addProperty("arguments",Wi);h.addProperty("Arguments",Wi);function Ma(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(Ma,"assertEqual");h.addMethod("equal",Ma);h.addMethod("equals",Ma);h.addMethod("eq",Ma);function Gi(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(Gi,"assertEql");h.addMethod("eql",Gi);h.addMethod("eqls",Gi);function Ia(e,t){t&&w(this,"message",t);let r=w(this,"object"),n=w(this,"doLength"),o=w(this,"message"),a=o?o+": ":"",i=w(this,"ssfi"),s=re(r).toLowerCase(),l=re(e).toLowerCase();if(n&&s!=="map"&&s!=="set"&&new h(r,o,i,!0).to.have.property("length"),!n&&s==="date"&&l!=="date")throw new J(a+"the argument to above must be a date",void 0,i);if(!ue(e)&&(n||ue(r)))throw new J(a+"the argument to above must be a number",void 0,i);if(!n&&s!=="date"&&!ue(r)){let u=s==="string"?"'"+r+"'":r;throw new J(a+"expected "+u+" to be a number or a date",void 0,i)}if(n){let u="length",c;s==="map"||s==="set"?(u="size",c=r.size):c=r.length,this.assert(c>e,"expected #{this} to have a "+u+" above #{exp} but got #{act}","expected #{this} to not have a "+u+" above #{exp}",e,c)}else this.assert(r>e,"expected #{this} to be above #{exp}","expected #{this} to be at most #{exp}",e)}x(Ia,"assertAbove");h.addMethod("above",Ia);h.addMethod("gt",Ia);h.addMethod("greaterThan",Ia);function Na(e,t){t&&w(this,"message",t);let r=w(this,"object"),n=w(this,"doLength"),o=w(this,"message"),a=o?o+": ":"",i=w(this,"ssfi"),s=re(r).toLowerCase(),l=re(e).toLowerCase(),u,c=!0;if(n&&s!=="map"&&s!=="set"&&new h(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(!ue(e)&&(n||ue(r)))u=a+"the argument to least must be a number";else if(!n&&s!=="date"&&!ue(r)){let f=s==="string"?"'"+r+"'":r;u=a+"expected "+f+" to be a number or a date"}else c=!1;if(c)throw new J(u,void 0,i);if(n){let f="length",d;s==="map"||s==="set"?(f="size",d=r.size):d=r.length,this.assert(d>=e,"expected #{this} to have a "+f+" at least #{exp} but got #{act}","expected #{this} to have a "+f+" below #{exp}",e,d)}else this.assert(r>=e,"expected #{this} to be at least #{exp}","expected #{this} to be below #{exp}",e)}x(Na,"assertLeast");h.addMethod("least",Na);h.addMethod("gte",Na);h.addMethod("greaterThanOrEqual",Na);function ka(e,t){t&&w(this,"message",t);let r=w(this,"object"),n=w(this,"doLength"),o=w(this,"message"),a=o?o+": ":"",i=w(this,"ssfi"),s=re(r).toLowerCase(),l=re(e).toLowerCase(),u,c=!0;if(n&&s!=="map"&&s!=="set"&&new h(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(!ue(e)&&(n||ue(r)))u=a+"the argument to below must be a number";else if(!n&&s!=="date"&&!ue(r)){let f=s==="string"?"'"+r+"'":r;u=a+"expected "+f+" to be a number or a date"}else c=!1;if(c)throw new J(u,void 0,i);if(n){let f="length",d;s==="map"||s==="set"?(f="size",d=r.size):d=r.length,this.assert(d<e,"expected #{this} to have a "+f+" below #{exp} but got #{act}","expected #{this} to not have a "+f+" below #{exp}",e,d)}else this.assert(r<e,"expected #{this} to be below #{exp}","expected #{this} to be at least #{exp}",e)}x(ka,"assertBelow");h.addMethod("below",ka);h.addMethod("lt",ka);h.addMethod("lessThan",ka);function Da(e,t){t&&w(this,"message",t);let r=w(this,"object"),n=w(this,"doLength"),o=w(this,"message"),a=o?o+": ":"",i=w(this,"ssfi"),s=re(r).toLowerCase(),l=re(e).toLowerCase(),u,c=!0;if(n&&s!=="map"&&s!=="set"&&new h(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(!ue(e)&&(n||ue(r)))u=a+"the argument to most must be a number";else if(!n&&s!=="date"&&!ue(r)){let f=s==="string"?"'"+r+"'":r;u=a+"expected "+f+" to be a number or a date"}else c=!1;if(c)throw new J(u,void 0,i);if(n){let f="length",d;s==="map"||s==="set"?(f="size",d=r.size):d=r.length,this.assert(d<=e,"expected #{this} to have a "+f+" at most #{exp} but got #{act}","expected #{this} to have a "+f+" above #{exp}",e,d)}else this.assert(r<=e,"expected #{this} to be at most #{exp}","expected #{this} to be above #{exp}",e)}x(Da,"assertMost");h.addMethod("most",Da);h.addMethod("lte",Da);h.addMethod("lessThanOrEqual",Da);h.addMethod("within",function(e,t,r){r&&w(this,"message",r);let n=w(this,"object"),o=w(this,"doLength"),a=w(this,"message"),i=a?a+": ":"",s=w(this,"ssfi"),l=re(n).toLowerCase(),u=re(e).toLowerCase(),c=re(t).toLowerCase(),f,d=!0,b=u==="date"&&c==="date"?e.toISOString()+".."+t.toISOString():e+".."+t;if(o&&l!=="map"&&l!=="set"&&new h(n,a,s,!0).to.have.property("length"),!o&&l==="date"&&(u!=="date"||c!=="date"))f=i+"the arguments to within must be dates";else if((!ue(e)||!ue(t))&&(o||ue(n)))f=i+"the arguments to within must be numbers";else if(!o&&l!=="date"&&!ue(n)){let v=l==="string"?"'"+n+"'":n;f=i+"expected "+v+" to be a number or a date"}else d=!1;if(d)throw new J(f,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 Ki(e,t){t&&w(this,"message",t);let r=w(this,"object"),n=w(this,"ssfi"),o=w(this,"message"),a;try{a=r instanceof e}catch(s){throw s instanceof TypeError?(o=o?o+": ":"",new J(o+"The instanceof assertion needs a constructor but "+re(e)+" was given.",void 0,n)):s}let i=Oa(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");h.addMethod("instanceof",Ki);h.addMethod("instanceOf",Ki);function Yi(e,t,r){r&&w(this,"message",r);let n=w(this,"nested"),o=w(this,"own"),a=w(this,"message"),i=w(this,"object"),s=w(this,"ssfi"),l=typeof e;if(a=a?a+": ":"",n){if(l!=="string")throw new J(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 J(a+"the argument to property must be a string, number, or symbol",void 0,s);if(n&&o)throw new J(a+'The "nested" and "own" flags cannot be combined.',void 0,s);if(i==null)throw new J(a+"Target cannot be null or undefined.",void 0,s);let u=w(this,"deep"),c=w(this,"negate"),f=n?Ni(i,e):null,d=n?f.value:i[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(i,e):n?R=f.exists:R=Aa(i,e),(!c||arguments.length===1)&&this.assert(R,"expected #{this} to have "+v+K(e),"expected #{this} to not have "+v+K(e)),arguments.length>1&&this.assert(R&&b(t,d),"expected #{this} to have "+v+K(e)+" of #{exp}, but got #{act}","expected #{this} to not have "+v+K(e)+" of #{act}",t,d),w(this,"object",d)}x(Yi,"assertProperty");h.addMethod("property",Yi);function Xi(e,t,r){w(this,"own",!0),Yi.apply(this,arguments)}x(Xi,"assertOwnProperty");h.addMethod("ownProperty",Xi);h.addMethod("haveOwnProperty",Xi);function Ji(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),a=w(this,"eql");o&&t?this.assert(a(t,o),"expected the own property descriptor for "+K(e)+" on #{this} to match "+K(t)+", got "+K(o),"expected the own property descriptor for "+K(e)+" on #{this} to not match "+K(t),t,o,!0):this.assert(o,"expected #{this} to have an own property descriptor for "+K(e),"expected #{this} to not have an own property descriptor for "+K(e)),w(this,"object",o)}x(Ji,"assertOwnPropertyDescriptor");h.addMethod("ownPropertyDescriptor",Ji);h.addMethod("haveOwnPropertyDescriptor",Ji);function Qi(){w(this,"doLength",!0)}x(Qi,"assertLengthChain");function Zi(e,t){t&&w(this,"message",t);let r=w(this,"object"),n=re(r).toLowerCase(),o=w(this,"message"),a=w(this,"ssfi"),i="length",s;switch(n){case"map":case"set":i="size",s=r.size;break;default:new h(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");h.addChainableMethod("length",Zi,Qi);h.addChainableMethod("lengthOf",Zi,Qi);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 "+K(e),"expected #{this} to not contain "+K(e))});function ts(e){let t=w(this,"object"),r=re(t),n=re(e),o=w(this,"ssfi"),a=w(this,"deep"),i,s="",l,u=!0,c=w(this,"message");c=c?c+": ":"";let f=c+"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 J(f,void 0,o);break;case"Object":if(arguments.length>1)throw new J(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 J(c+"keys required",void 0,o);let d=e.length,b=w(this,"any"),v=w(this,"all"),R=e,S=a?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 K(q)});let p=e.pop();v&&(i=e.join(", ")+", and "+p),b&&(i=e.join(", ")+", or "+p)}else i=K(e[0]);i=(d>1?"keys ":"key ")+i,i=(w(this,"contains")?"contain ":"have ")+i,this.assert(u,"expected #{this} to "+s+i,"expected #{this} to not "+s+i,R.slice(0).sort(ha),l.sort(ha),!0)}x(ts,"assertKeys");h.addMethod("keys",ts);h.addMethod("key",ts);function ja(e,t,r){r&&w(this,"message",r);let n=w(this,"object"),o=w(this,"ssfi"),a=w(this,"message"),i=w(this,"negate")||!1;new h(n,a,o,!0).is.a("function"),(va(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,c=!!(e&&t),f=!1,d=!1;if(u||!u&&!i){let b="an error";e instanceof Error?b="#{exp}":e&&(b=we.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=we.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&&we.compatibleInstance(s,e)===i&&(c&&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())),we.compatibleConstructor(s,e)===i&&(c&&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&&we.getConstructorName(e),s instanceof Error?s.toString():s&&we.getConstructorName(s)))),s&&t!==void 0&&t!==null){let b="including";va(t)&&(b="matching"),we.compatibleMessage(s,t)===i&&(c&&i?d=!0:this.assert(i,"expected #{this} to throw error "+b+" #{exp} but got #{act}","expected #{this} to throw error not "+b+" #{exp}",t,we.getMessage(s)))}f&&d&&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&&we.getConstructorName(e),s instanceof Error?s.toString():s&&we.getConstructorName(s)),w(this,"object",s)}x(ja,"assertThrows");h.addMethod("throw",ja);h.addMethod("throws",ja);h.addMethod("Throw",ja);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 "+K(e),"expected #{this} to not respond to "+K(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 "+ct(e),"expected #{this} to not satisfy"+ct(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"),a=w(this,"ssfi");new h(n,o,a,!0).is.numeric;let i="A `delta` value is required for `closeTo`";if(t==null)throw new J(o?`${o}: ${i}`:i,void 0,a);if(new h(t,o,a,!0).is.numeric,i="A `expected` value is required for `closeTo`",e==null)throw new J(o?`${o}: ${i}`:i,void 0,a);new h(e,o,a,!0).is.numeric;const s=x(u=>u<0n?-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 uf(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,c){return r(s,u)?(n||a.splice(c,1),!0):!1})})}x(uf,"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 a=w(this,"contains"),i=w(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 c=w(this,"deep")?w(this,"eql"):void 0;this.assert(uf(e,r,c,a,i),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 cf(e,t){t&&w(this,"message",t);let r=w(this,"object"),n=w(this,"message"),o=w(this,"ssfi"),a=w(this,"contains"),i=w(this,"deep"),s=w(this,"eql");new h(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(cf,"oneOf");h.addMethod("oneOf",cf);function as(e,t,r){r&&w(this,"message",r);let n=w(this,"object"),o=w(this,"message"),a=w(this,"ssfi");new h(n,o,a,!0).is.a("function");let i;t?(new h(e,o,a,!0).to.have.property(t),i=e[t]):(new h(e,o,a,!0).is.a("function"),i=e()),n();let s=t==null?e():e[t],l=t==null?i:"."+t;w(this,"deltaMsgObj",l),w(this,"initialDeltaValue",i),w(this,"finalDeltaValue",s),w(this,"deltaBehavior","change"),w(this,"realDelta",s!==i),this.assert(i!==s,"expected "+l+" to change","expected "+l+" to not change")}x(as,"assertChanges");h.addMethod("change",as);h.addMethod("changes",as);function is(e,t,r){r&&w(this,"message",r);let n=w(this,"object"),o=w(this,"message"),a=w(this,"ssfi");new h(n,o,a,!0).is.a("function");let i;t?(new h(e,o,a,!0).to.have.property(t),i=e[t]):(new h(e,o,a,!0).is.a("function"),i=e()),new h(i,o,a,!0).is.a("number"),n();let s=t==null?e():e[t],l=t==null?i:"."+t;w(this,"deltaMsgObj",l),w(this,"initialDeltaValue",i),w(this,"finalDeltaValue",s),w(this,"deltaBehavior","increase"),w(this,"realDelta",s-i),this.assert(s-i>0,"expected "+l+" to increase","expected "+l+" to not increase")}x(is,"assertIncreases");h.addMethod("increase",is);h.addMethod("increases",is);function ss(e,t,r){r&&w(this,"message",r);let n=w(this,"object"),o=w(this,"message"),a=w(this,"ssfi");new h(n,o,a,!0).is.a("function");let i;t?(new h(e,o,a,!0).to.have.property(t),i=e[t]):(new h(e,o,a,!0).is.a("function"),i=e()),new h(i,o,a,!0).is.a("number"),n();let s=t==null?e():e[t],l=t==null?i:"."+t;w(this,"deltaMsgObj",l),w(this,"initialDeltaValue",i),w(this,"finalDeltaValue",s),w(this,"deltaBehavior","decrease"),w(this,"realDelta",i-s),this.assert(s-i<0,"expected "+l+" to decrease","expected "+l+" to not decrease")}x(ss,"assertDecreases");h.addMethod("decrease",ss);h.addMethod("decreases",ss);function df(e,t){t&&w(this,"message",t);let r=w(this,"deltaMsgObj"),n=w(this,"initialDeltaValue"),o=w(this,"finalDeltaValue"),a=w(this,"deltaBehavior"),i=w(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(df,"assertDelta");h.addMethod("by",df);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 ya(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 ya(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?ya(n,o):typeof n=="function"?n(o):o===n}):!1}x(ya,"compareSubset");h.addMethod("containSubset",function(e){const t=V(this,"object"),r=fe.showDiff;this.assert(ya(e,t),"expected #{act} to contain subset #{exp}","expected #{act} to not contain subset #{exp}",e,t,r)});function Mo(e,t){return new h(e,t)}x(Mo,"expect");Mo.fail=function(e,t,r,n){throw arguments.length<2&&(r=e,e=void 0),r=r||"expect.fail()",new J(r,{actual:e,expected:t,operator:n},Mo.fail)};var ff={};Pi(ff,{Should:()=>Nm,should:()=>Im});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,a,i){throw arguments.length<2&&(a=n,n=void 0),a=a||"should.fail()",new J(a,{actual:n,expected:o,operator:i},r.fail)},r.equal=function(n,o,a){new h(n,a).to.equal(o)},r.Throw=function(n,o,a,i){new h(n,i).to.Throw(o,a)},r.exist=function(n,o){new h(n,o).to.exist},r.not={},r.not.equal=function(n,o,a){new h(n,a).to.not.equal(o)},r.not.Throw=function(n,o,a,i){new h(n,i).to.not.Throw(o,a)},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 Im=ls,Nm=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 J(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==V(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!=V(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 V(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 J(n+'Invalid operator "'+t+'"',void 0,m.operator)}let a=new h(o,n,m.operator,!0);a.assert(V(a,"object")===!0,"expected "+K(e)+" to be "+t+" "+K(r),"expected "+K(e)+" to not be "+t+" "+K(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 ${K(e)} to be an iterable`:`expected ${K(e)} to be an iterable`,new J(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 a=n;n=r,o=a}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 a=n;n=r,o=a}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 a=n;n=r,o=a}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 a=n;n=r,o=a}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 a=n;n=r,o=a}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 a=n;n=r,o=a}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 a=n;n=r,o=a}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 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 ks=[];function pf(e){const t={use:pf,AssertionError:J,util:da,config:fe,expect:Mo,assert:m,Assertion:h,...ff};return~ks.indexOf(e)||(e(t,da),ks.push(e)),t}x(pf,"use");/*!
3
- * Chai - flag utility
4
- * Copyright(c) 2012-2014 Jake Luer <jake@alogicalparadox.com>
5
- * MIT Licensed
6
- *//*!
7
- * Chai - test utility
8
- * Copyright(c) 2012-2014 Jake Luer <jake@alogicalparadox.com>
9
- * MIT Licensed
10
- *//*!
11
- * Chai - expectTypes utility
12
- * Copyright(c) 2012-2014 Jake Luer <jake@alogicalparadox.com>
13
- * MIT Licensed
14
- *//*!
15
- * Chai - getActual utility
16
- * Copyright(c) 2012-2014 Jake Luer <jake@alogicalparadox.com>
17
- * MIT Licensed
18
- *//*!
19
- * Chai - message composition utility
20
- * Copyright(c) 2012-2014 Jake Luer <jake@alogicalparadox.com>
21
- * MIT Licensed
22
- *//*!
23
- * Chai - transferFlags utility
24
- * Copyright(c) 2012-2014 Jake Luer <jake@alogicalparadox.com>
25
- * MIT Licensed
26
- *//*!
27
- * chai
28
- * http://chaijs.com
29
- * Copyright(c) 2011-2014 Jake Luer <jake@alogicalparadox.com>
30
- * MIT Licensed
31
- *//*!
32
- * Chai - isProxyEnabled helper
33
- * Copyright(c) 2012-2014 Jake Luer <jake@alogicalparadox.com>
34
- * MIT Licensed
35
- *//*!
36
- * Chai - addProperty utility
37
- * Copyright(c) 2012-2014 Jake Luer <jake@alogicalparadox.com>
38
- * MIT Licensed
39
- *//*!
40
- * Chai - addLengthGuard utility
41
- * Copyright(c) 2012-2014 Jake Luer <jake@alogicalparadox.com>
42
- * MIT Licensed
43
- *//*!
44
- * Chai - getProperties utility
45
- * Copyright(c) 2012-2014 Jake Luer <jake@alogicalparadox.com>
46
- * MIT Licensed
47
- *//*!
48
- * Chai - proxify utility
49
- * Copyright(c) 2012-2014 Jake Luer <jake@alogicalparadox.com>
50
- * MIT Licensed
51
- *//*!
52
- * Chai - addMethod utility
53
- * Copyright(c) 2012-2014 Jake Luer <jake@alogicalparadox.com>
54
- * MIT Licensed
55
- *//*!
56
- * Chai - overwriteProperty utility
57
- * Copyright(c) 2012-2014 Jake Luer <jake@alogicalparadox.com>
58
- * MIT Licensed
59
- *//*!
60
- * Chai - overwriteMethod utility
61
- * Copyright(c) 2012-2014 Jake Luer <jake@alogicalparadox.com>
62
- * MIT Licensed
63
- *//*!
64
- * Chai - addChainingMethod utility
65
- * Copyright(c) 2012-2014 Jake Luer <jake@alogicalparadox.com>
66
- * MIT Licensed
67
- *//*!
68
- * Chai - overwriteChainableMethod utility
69
- * Copyright(c) 2012-2014 Jake Luer <jake@alogicalparadox.com>
70
- * MIT Licensed
71
- *//*!
72
- * Chai - compareByInspect utility
73
- * Copyright(c) 2011-2016 Jake Luer <jake@alogicalparadox.com>
74
- * MIT Licensed
75
- *//*!
76
- * Chai - getOwnEnumerablePropertySymbols utility
77
- * Copyright(c) 2011-2016 Jake Luer <jake@alogicalparadox.com>
78
- * MIT Licensed
79
- *//*!
80
- * Chai - getOwnEnumerableProperties utility
81
- * Copyright(c) 2011-2016 Jake Luer <jake@alogicalparadox.com>
82
- * MIT Licensed
83
- *//*!
84
- * Chai - isNaN utility
85
- * Copyright(c) 2012-2015 Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
86
- * MIT Licensed
87
- *//*!
88
- * chai
89
- * Copyright(c) 2011 Jake Luer <jake@alogicalparadox.com>
90
- * MIT Licensed
91
- *//*!
92
- * chai
93
- * Copyright(c) 2011-2014 Jake Luer <jake@alogicalparadox.com>
94
- * MIT Licensed
95
- *//*! Bundled license information:
96
-
97
- deep-eql/index.js:
98
- (*!
99
- * deep-eql
100
- * Copyright(c) 2013 Jake Luer <jake@alogicalparadox.com>
101
- * MIT Licensed
102
- *)
103
- (*!
104
- * Check to see if the MemoizeMap has recorded a result of the two operands
105
- *
106
- * @param {Mixed} leftHandOperand
107
- * @param {Mixed} rightHandOperand
108
- * @param {MemoizeMap} memoizeMap
109
- * @returns {Boolean|null} result
110
- *)
111
- (*!
112
- * Set the result of the equality into the MemoizeMap
113
- *
114
- * @param {Mixed} leftHandOperand
115
- * @param {Mixed} rightHandOperand
116
- * @param {MemoizeMap} memoizeMap
117
- * @param {Boolean} result
118
- *)
119
- (*!
120
- * Primary Export
121
- *)
122
- (*!
123
- * The main logic of the `deepEqual` function.
124
- *
125
- * @param {Mixed} leftHandOperand
126
- * @param {Mixed} rightHandOperand
127
- * @param {Object} [options] (optional) Additional options
128
- * @param {Array} [options.comparator] (optional) Override default algorithm, determining custom equality.
129
- * @param {Array} [options.memoize] (optional) Provide a custom memoization object which will cache the results of
130
- complex objects for a speed boost. By passing `false` you can disable memoization, but this will cause circular
131
- references to blow the stack.
132
- * @return {Boolean} equal match
133
- *)
134
- (*!
135
- * Compare two Regular Expressions for equality.
136
- *
137
- * @param {RegExp} leftHandOperand
138
- * @param {RegExp} rightHandOperand
139
- * @return {Boolean} result
140
- *)
141
- (*!
142
- * Compare two Sets/Maps for equality. Faster than other equality functions.
143
- *
144
- * @param {Set} leftHandOperand
145
- * @param {Set} rightHandOperand
146
- * @param {Object} [options] (Optional)
147
- * @return {Boolean} result
148
- *)
149
- (*!
150
- * Simple equality for flat iterable objects such as Arrays, TypedArrays or Node.js buffers.
151
- *
152
- * @param {Iterable} leftHandOperand
153
- * @param {Iterable} rightHandOperand
154
- * @param {Object} [options] (Optional)
155
- * @return {Boolean} result
156
- *)
157
- (*!
158
- * Simple equality for generator objects such as those returned by generator functions.
159
- *
160
- * @param {Iterable} leftHandOperand
161
- * @param {Iterable} rightHandOperand
162
- * @param {Object} [options] (Optional)
163
- * @return {Boolean} result
164
- *)
165
- (*!
166
- * Determine if the given object has an @@iterator function.
167
- *
168
- * @param {Object} target
169
- * @return {Boolean} `true` if the object has an @@iterator function.
170
- *)
171
- (*!
172
- * Gets all iterator entries from the given Object. If the Object has no @@iterator function, returns an empty array.
173
- * This will consume the iterator - which could have side effects depending on the @@iterator implementation.
174
- *
175
- * @param {Object} target
176
- * @returns {Array} an array of entries from the @@iterator function
177
- *)
178
- (*!
179
- * Gets all entries from a Generator. This will consume the generator - which could have side effects.
180
- *
181
- * @param {Generator} target
182
- * @returns {Array} an array of entries from the Generator.
183
- *)
184
- (*!
185
- * Gets all own and inherited enumerable keys from a target.
186
- *
187
- * @param {Object} target
188
- * @returns {Array} an array of own and inherited enumerable keys from the target.
189
- *)
190
- (*!
191
- * Determines if two objects have matching values, given a set of keys. Defers to deepEqual for the equality check of
192
- * each key. If any value of the given key is not equal, the function will return false (early).
193
- *
194
- * @param {Mixed} leftHandOperand
195
- * @param {Mixed} rightHandOperand
196
- * @param {Array} keys An array of keys to compare the values of leftHandOperand and rightHandOperand against
197
- * @param {Object} [options] (Optional)
198
- * @return {Boolean} result
199
- *)
200
- (*!
201
- * Recursively check the equality of two Objects. Once basic sameness has been established it will defer to `deepEqual`
202
- * for each enumerable key in the object.
203
- *
204
- * @param {Mixed} leftHandOperand
205
- * @param {Mixed} rightHandOperand
206
- * @param {Object} [options] (Optional)
207
- * @return {Boolean} result
208
- *)
209
- (*!
210
- * Returns true if the argument is a primitive.
211
- *
212
- * This intentionally returns true for all objects that can be compared by reference,
213
- * including functions and symbols.
214
- *
215
- * @param {Mixed} value
216
- * @return {Boolean} result
217
- *)
218
- */function Dm(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Yo={exports:{}},It={};/**
219
- * @license React
220
- * react-jsx-runtime.production.js
221
- *
222
- * Copyright (c) Meta Platforms, Inc. and affiliates.
223
- *
224
- * This source code is licensed under the MIT license found in the
225
- * LICENSE file in the root directory of this source tree.
226
- */var Ds;function jm(){if(Ds)return It;Ds=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.fragment");function r(n,o,a){var i=null;if(a!==void 0&&(i=""+a),o.key!==void 0&&(i=""+o.key),"key"in o){a={};for(var s in o)s!=="key"&&(a[s]=o[s])}else a=o;return o=a.ref,{$$typeof:e,type:n,key:i,ref:o!==void 0?o:null,props:a}}return It.Fragment=t,It.jsx=r,It.jsxs=r,It}var Nt={};/**
227
- * @license React
228
- * react-jsx-runtime.development.js
229
- *
230
- * Copyright (c) Meta Platforms, Inc. and affiliates.
231
- *
232
- * This source code is licensed under the MIT license found in the
233
- * LICENSE file in the root directory of this source tree.
234
- */var js;function Bm(){return js||(js=1,process.env.NODE_ENV!=="production"&&(function(){function e(M){if(M==null)return null;if(typeof M=="function")return M.$$typeof===D?null:M.displayName||M.name||null;if(typeof M=="string")return M;switch(M){case R:return"Fragment";case p:return"Profiler";case S:return"StrictMode";case P:return"Suspense";case y:return"SuspenseList";case O:return"Activity"}if(typeof M=="object")switch(typeof M.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),M.$$typeof){case v:return"Portal";case _:return(M.displayName||"Context")+".Provider";case q:return(M._context.displayName||"Context")+".Consumer";case T:var U=M.render;return M=M.displayName,M||(M=U.displayName||U.name||"",M=M!==""?"ForwardRef("+M+")":"ForwardRef"),M;case g:return U=M.displayName||null,U!==null?U:e(M.type)||"Memo";case E:U=M._payload,M=M._init;try{return e(M(U))}catch{}}return null}function t(M){return""+M}function r(M){try{t(M);var U=!1}catch{U=!0}if(U){U=console;var Y=U.error,B=typeof Symbol=="function"&&Symbol.toStringTag&&M[Symbol.toStringTag]||M.constructor.name||"Object";return Y.call(U,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",B),t(M)}}function n(M){if(M===R)return"<>";if(typeof M=="object"&&M!==null&&M.$$typeof===E)return"<...>";try{var U=e(M);return U?"<"+U+">":"<...>"}catch{return"<...>"}}function o(){var M=j.A;return M===null?null:M.getOwner()}function a(){return Error("react-stack-top-frame")}function i(M){if($.call(M,"key")){var U=Object.getOwnPropertyDescriptor(M,"key").get;if(U&&U.isReactWarning)return!1}return M.key!==void 0}function s(M,U){function Y(){F||(F=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",U))}Y.isReactWarning=!0,Object.defineProperty(M,"key",{get:Y,configurable:!0})}function l(){var M=e(this.type);return Z[M]||(Z[M]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),M=this.props.ref,M!==void 0?M:null}function u(M,U,Y,B,ce,le,he,Ne){return Y=le.ref,M={$$typeof:b,type:M,key:U,props:le,_owner:ce},(Y!==void 0?Y:null)!==null?Object.defineProperty(M,"ref",{enumerable:!1,get:l}):Object.defineProperty(M,"ref",{enumerable:!1,value:null}),M._store={},Object.defineProperty(M._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(M,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(M,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:he}),Object.defineProperty(M,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:Ne}),Object.freeze&&(Object.freeze(M.props),Object.freeze(M)),M}function c(M,U,Y,B,ce,le,he,Ne){var oe=U.children;if(oe!==void 0)if(B)if(A(oe)){for(B=0;B<oe.length;B++)f(oe[B]);Object.freeze&&Object.freeze(oe)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else f(oe);if($.call(U,"key")){oe=e(M);var C=Object.keys(U).filter(function(I){return I!=="key"});B=0<C.length?"{key: someKey, "+C.join(": ..., ")+": ...}":"{key: someKey}",ye[oe+B]||(C=0<C.length?"{"+C.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const To=require("./runner.cjs.js"),Mo=require("react"),lm=(e,t=2e3,r=50)=>new Promise((n,o)=>{const a=Date.now(),i=()=>{const s=e();if(s)return n(s);if(Date.now()-a>t)return o(new Error("Timeout waiting for element"));setTimeout(i,r)};i()}),um=(e,t=2e3,r=50)=>new Promise((n,o)=>{const a=Date.now(),i=()=>{const s=e();if(s&&s.length>0)return n(Array.from(s));if(Date.now()-a>t)return o(new Error("Timeout waiting for elements"));setTimeout(i,r)};i()}),Io=e=>new Promise(t=>setTimeout(t,e)),ri=(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 cm(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 dm={"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]}"`}}},As=(e,t,...r)=>{const n=t.startsWith("not."),o=n?t.slice(4):t,a=(e.textContent||"").trim(),i=dm[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=cm(e);break;case"have.class":l=e.classList.contains(r[0]);break;default:throw new Error(`Unknown assertion: ${o}`)}return ri(l,n,i[s].pass(r),i[s].fail(r,u))},st=e=>{const t=To.handlers.size?Array.from(To.handlers.values()).find(r=>r.status==="running"):null;t&&t.logs?.push(e)},Xo="1.0.0",lt=[],qd=100,fm=async()=>{if("serviceWorker"in navigator){if(localStorage.getItem("twd-sw-version")!==Xo){console.log("[TWD] Updating service worker to version",Xo);const r=await navigator.serviceWorker.getRegistrations();await Promise.all(r.map(n=>n.unregister())),localStorage.setItem("twd-sw-version",Xo)}await navigator.serviceWorker.register(`/mock-sw.js?v=${Xo}`),navigator.serviceWorker.controller||await new Promise(r=>{navigator.serviceWorker.addEventListener("controllerchange",r,{once:!0})}),navigator.serviceWorker.addEventListener("message",r=>{if(r.data?.type==="EXECUTED"){console.log(r);const{alias:n,request:o}=r.data,a=lt.find(i=>i.alias===n);a&&(a.executed=!0,a.request=o)}})}},pm=async(e,t)=>{const r={alias:e,...t,executed:!1},n=lt.findIndex(o=>o.alias===e);n!==-1?lt[n]=r:lt.push(r),navigator.serviceWorker.controller?.postMessage({type:"ADD_RULE",rule:r}),await Io(qd),await Promise.resolve()},mm=async e=>await Promise.all(e.map(r=>_d(r))),_d=async e=>{await Io(qd);const t=lt.find(r=>r.alias===e&&r.executed);if(!t)throw new Error(`Rule ${e} not found or not executed`);return Promise.resolve(t)},hm=()=>lt,bm=()=>{navigator.serviceWorker.controller?.postMessage({type:"CLEAR_RULES"}),lt.length=0},vm=(e,t)=>{const r=e.startsWith("not.");switch(r?e.slice(4):e){case"eq":return ri(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 ri(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}`)}},ym=()=>({location:window.location,should:(e,t)=>{const r=vm(e,t);return st(r),r}}),gm=100,Rm=async(e,t)=>{if(st(`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 Io(10)}window.history.pushState({},"",e),window.dispatchEvent(new PopStateEvent("popstate")),await Io(gm)},Pd={get:async e=>{const t=`body > div:not(#twd-sidebar-root) ${e}`;st(`Searching get("${e}")`);const r=await lm(()=>document.querySelector(t)),n={el:r,should:(o,...a)=>{const i=As(r,o,...a);return st(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 st(`Searching getAll("${e}")`),(await um(()=>document.querySelectorAll(t))).map(n=>{const o={el:n,should:(a,...i)=>{const s=As(n,a,...i);return st(s),o}};return o})},visit:Rm,url:ym,mockRequest:pm,waitForRequest:_d,waitForRequests:mm,initRequestMocking:fm,clearRequestMockRules:bm,getRequestMockRules:hm,wait:Io};var Td=Object.defineProperty,x=(e,t)=>Td(e,"name",{value:t,configurable:!0}),Ai=(e,t)=>{for(var r in t)Td(e,r,{get:t[r],enumerable:!0})},pa={};Ai(pa,{addChainableMethod:()=>zi,addLengthGuard:()=>zo,addMethod:()=>Li,addProperty:()=>Bi,checkError:()=>Re,compareByInspect:()=>ba,eql:()=>tf,events:()=>Ma,expectTypes:()=>kd,flag:()=>V,getActual:()=>Aa,getMessage:()=>Ii,getName:()=>Ia,getOperator:()=>Gi,getOwnEnumerableProperties:()=>Wi,getOwnEnumerablePropertySymbols:()=>Hi,getPathInfo:()=>ji,hasProperty:()=>Oa,inspect:()=>K,isNaN:()=>va,isNumeric:()=>ue,isProxyEnabled:()=>Uo,isRegExp:()=>ya,objDisplay:()=>ut,overwriteChainableMethod:()=>Vi,overwriteMethod:()=>Ui,overwriteProperty:()=>Fi,proxify:()=>Ot,test:()=>Oi,transferFlags:()=>Pe,type:()=>re});var Re={};Ai(Re,{compatibleConstructor:()=>Od,compatibleInstance:()=>Ad,compatibleMessage:()=>Md,getConstructorName:()=>Id,getMessage:()=>Nd});function Sa(e){return e instanceof Error||Object.prototype.toString.call(e)==="[object Error]"}x(Sa,"isErrorInstance");function Sd(e){return Object.prototype.toString.call(e)==="[object RegExp]"}x(Sd,"isRegExp");function Ad(e,t){return Sa(t)&&e===t}x(Ad,"compatibleInstance");function Od(e,t){return Sa(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(Od,"compatibleConstructor");function Md(e,t){const r=typeof e=="string"?e:e.message;return Sd(t)?t.test(r):typeof t=="string"?r.indexOf(t)!==-1:!1}x(Md,"compatibleMessage");function Id(e){let t=e;return Sa(e)?t=e.constructor.name:typeof e=="function"&&(t=e.name,t===""&&(t=new e().name||t)),t}x(Id,"getConstructorName");function Nd(e){let t="";return e&&e.message?t=e.message:typeof e=="string"&&(t=e),t}x(Nd,"getMessage");function V(e,t,r){let n=e.__flags||(e.__flags=Object.create(null));if(arguments.length===3)n[t]=r;else return n[t]}x(V,"flag");function Oi(e,t){let r=V(e,"negate"),n=t[0];return r?!n:n}x(Oi,"test");function re(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(re,"type");var wm="captureStackTrace"in Error,ct,J=(ct=class extends Error{message;get name(){return"AssertionError"}get ok(){return!1}constructor(t="Unspecified AssertionError",r,n){super(t),this.message=t,wm&&Error.captureStackTrace(this,n||ct);for(const o in r)o in this||(this[o]=r[o])}toJSON(t){return{...this,name:this.name,message:this.message,ok:!1,stack:t!==!1?this.stack:void 0}}},x(ct,"AssertionError"),ct);function kd(e,t){let r=V(e,"message"),n=V(e,"ssfi");r=r?r+": ":"",e=V(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=re(e).toLowerCase();if(!t.some(function(i){return a===i}))throw new J(r+"object tested must be "+o+", but "+a+" given",void 0,n)}x(kd,"expectTypes");function Aa(e,t){return t.length>4?t[4]:e._obj}x(Aa,"getActual");var Os={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"]},Em={special:"cyan",number:"yellow",bigint:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",symbol:"green",date:"magenta",regexp:"red"},Ct="…";function Dd(e,t){const r=Os[Em[t]]||Os[t]||"";return r?`\x1B[${r[0]}m${String(e)}\x1B[${r[1]}m`:String(e)}x(Dd,"colorise");function jd({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}={},c){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:c,stylize:u};return f.colors&&(f.stylize=Dd),f}x(jd,"normaliseOptions");function $d(e){return e>="\uD800"&&e<="\uDBFF"}x($d,"isHighSurrogate");function Ge(e,t,r=Ct){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&&$d(e[a-1])&&(a=a-1),`${e.slice(0,a)}${r}`}return e}x(Ge,"truncate");function Ce(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 c=u+1===e.length,f=u+2===e.length;l=`${Ct}(${e.length-u})`;const d=e[u];t.truncate=a-i.length-(c?0:n.length);const b=s||r(d,t)+(c?"":n),v=i.length+b.length,R=v+l.length;if(c&&v>a&&i.length+l.length<=a||!c&&!f&&R>a||(s=c?"":r(e[u+1],t)+(f?"":n),!c&&f&&R>a&&v+s.length>a))break;if(i+=b,!c&&!f&&v+s.length>=a){l=`${Ct}(${e.length-u-1})`;break}l=""}return`${i}${l}`}x(Ce,"inspectList");function Bd(e){return e.match(/^[a-zA-Z_][a-zA-Z_0-9]*$/)?e:JSON.stringify(e).replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'")}x(Bd,"quoteComplexKey");function xt([e,t],r){return r.truncate-=2,typeof e=="string"?e=Bd(e):typeof e!="number"&&(e=`[${r.inspect(e,r)}]`),r.truncate-=e.length,t=r.inspect(t,r),`${e}: ${t}`}x(xt,"inspectProperty");function Ld(e,t){const r=Object.keys(e).slice(e.length);if(!e.length&&!r.length)return"[]";t.truncate-=4;const n=Ce(e,t);t.truncate-=n.length;let o="";return r.length&&(o=Ce(r.map(a=>[a,e[a]]),t,xt)),`[ ${n}${o?`, ${o}`:""} ]`}x(Ld,"inspectArray");var Cm=x(e=>typeof Buffer=="function"&&e instanceof Buffer?"Buffer":e[Symbol.toStringTag]?e[Symbol.toStringTag]:e.constructor.name,"getArrayName");function Ae(e,t){const r=Cm(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(Ge(e[i],t.truncate),"number")}${i===e.length-1?"":", "}`;if(t.truncate-=s.length,e[i]!==e.length&&t.truncate<=3){o+=`${Ct}(${e.length-e[i]+1})`;break}o+=s}let a="";return n.length&&(a=Ce(n.map(i=>[i,e[i]]),t,xt)),`${r}[ ${o}${a?`, ${a}`:""} ]`}x(Ae,"inspectTypedArray");function Fd(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${Ge(n[1],t.truncate-o.length-1)}`,"date")}x(Fd,"inspectDate");function ni(e,t){const r=e[Symbol.toStringTag]||"Function",n=e.name;return n?t.stylize(`[${r} ${Ge(n,t.truncate-11)}]`,"special"):t.stylize(`[${r}]`,"special")}x(ni,"inspectFunction");function Ud([e,t],r){return r.truncate-=4,e=r.inspect(e,r),r.truncate-=e.length,t=r.inspect(t,r),`${e} => ${t}`}x(Ud,"inspectMapEntry");function zd(e){const t=[];return e.forEach((r,n)=>{t.push([n,r])}),t}x(zd,"mapToEntries");function Vd(e,t){return e.size===0?"Map{}":(t.truncate-=7,`Map{ ${Ce(zd(e),t,Ud)} }`)}x(Vd,"inspectMap");var xm=Number.isNaN||(e=>e!==e);function oi(e,t){return xm(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(Ge(String(e),t.truncate),"number")}x(oi,"inspectNumber");function ai(e,t){let r=Ge(e.toString(),t.truncate-1);return r!==Ct&&(r+="n"),t.stylize(r,"bigint")}x(ai,"inspectBigInt");function Hd(e,t){const r=e.toString().split("/")[2],n=t.truncate-(2+r.length),o=e.source;return t.stylize(`/${Ge(o,n)}/${r}`,"regexp")}x(Hd,"inspectRegExp");function Wd(e){const t=[];return e.forEach(r=>{t.push(r)}),t}x(Wd,"arrayFromSet");function Gd(e,t){return e.size===0?"Set{}":(t.truncate-=7,`Set{ ${Ce(Wd(e),t)} }`)}x(Gd,"inspectSet");var Ms=new RegExp("['\\u0000-\\u001f\\u007f-\\u009f\\u00ad\\u0600-\\u0604\\u070f\\u17b4\\u17b5\\u200c-\\u200f\\u2028-\\u202f\\u2060-\\u206f\\ufeff\\ufff0-\\uffff]","g"),qm={"\b":"\\b"," ":"\\t","\n":"\\n","\f":"\\f","\r":"\\r","'":"\\'","\\":"\\\\"},_m=16;function Kd(e){return qm[e]||`\\u${`0000${e.charCodeAt(0).toString(_m)}`.slice(-4)}`}x(Kd,"escape");function ii(e,t){return Ms.test(e)&&(e=e.replace(Ms,Kd)),t.stylize(`'${Ge(e,t.truncate-2)}'`,"string")}x(ii,"inspectString");function si(e){return"description"in Symbol.prototype?e.description?`Symbol(${e.description})`:"Symbol()":e.toString()}x(si,"inspectSymbol");var Pm=x(()=>"Promise{…}","getPromiseValue"),Tm=Pm;function So(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=Ce(r.map(s=>[s,e[s]]),t,xt),a=Ce(n.map(s=>[s,e[s]]),t,xt);t.seen.pop();let i="";return o&&a&&(i=", "),`{ ${o}${i}${a} }`}x(So,"inspectObject");var Va=typeof Symbol<"u"&&Symbol.toStringTag?Symbol.toStringTag:!1;function Yd(e,t){let r="";return Va&&Va in e&&(r=e[Va]),r=r||e.constructor.name,(!r||r==="_class")&&(r="<Anonymous Class>"),t.truncate-=r.length,`${r}${So(e,t)}`}x(Yd,"inspectClass");function Xd(e,t){return e.length===0?"Arguments[]":(t.truncate-=13,`Arguments[ ${Ce(e,t)} ]`)}x(Xd,"inspectArguments");var Sm=["stack","line","column","name","message","fileName","lineNumber","columnNumber","number","description","cause"];function Jd(e,t){const r=Object.getOwnPropertyNames(e).filter(i=>Sm.indexOf(i)===-1),n=e.name;t.truncate-=n.length;let o="";if(typeof e.message=="string"?o=Ge(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=Ce(r.map(i=>[i,e[i]]),t,xt);return`${n}${o}${a?` { ${a} }`:""}`}x(Jd,"inspectObject");function Qd([e,t],r){return r.truncate-=3,t?`${r.stylize(String(e),"yellow")}=${r.stylize(`"${t}"`,"string")}`:`${r.stylize(String(e),"yellow")}`}x(Qd,"inspectAttribute");function ma(e,t){return Ce(e,t,Zd,`
2
+ `)}x(ma,"inspectNodeCollection");function Zd(e,t){switch(e.nodeType){case 1:return Mi(e,t);case 3:return t.inspect(e.data,t);default:return t.inspect(e,t)}}x(Zd,"inspectNode");function Mi(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+=Ce(r.map(c=>[c,e.getAttribute(c)]),t,Qd," ")),t.truncate-=s.length;const l=t.truncate;let u=ma(e.children,t);return u&&u.length>l&&(u=`${Ct}(${e.children.length})`),`${o}${s}${a}${u}${i}`}x(Mi,"inspectHTML");var Am=typeof Symbol=="function"&&typeof Symbol.for=="function",Ha=Am?Symbol.for("chai/inspect"):"@@chai/inspect",Wa=Symbol.for("nodejs.util.inspect.custom"),Is=new WeakMap,Ns={},ks={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:oi,Number:oi,bigint:ai,BigInt:ai,string:ii,String:ii,function:ni,Function:ni,symbol:si,Symbol:si,Array:Ld,Date:Fd,Map:Vd,Set:Gd,RegExp:Hd,Promise:Tm,WeakSet:x((e,t)=>t.stylize("WeakSet{…}","special"),"WeakSet"),WeakMap:x((e,t)=>t.stylize("WeakMap{…}","special"),"WeakMap"),Arguments:Xd,Int8Array:Ae,Uint8Array:Ae,Uint8ClampedArray:Ae,Int16Array:Ae,Uint16Array:Ae,Int32Array:Ae,Uint32Array:Ae,Float32Array:Ae,Float64Array:Ae,Generator:x(()=>"","Generator"),DataView:x(()=>"","DataView"),ArrayBuffer:x(()=>"","ArrayBuffer"),Error:Jd,HTMLCollection:ma,NodeList:ma},Om=x((e,t,r,n)=>Ha in e&&typeof e[Ha]=="function"?e[Ha](t):Wa in e&&typeof e[Wa]=="function"?e[Wa](t.depth,t,n):"inspect"in e&&typeof e.inspect=="function"?e.inspect(t.depth,t):"constructor"in e&&Is.has(e.constructor)?Is.get(e.constructor)(e,t):Ns[r]?Ns[r](e,t):"","inspectCustom"),Mm=Object.prototype.toString;function Ao(e,t={}){const r=jd(t,Ao),{customInspect:n}=r;let o=e===null?"null":typeof e;if(o==="object"&&(o=Mm.call(e).slice(8,-1)),o in ks)return ks[o](e,r);if(n&&e){const i=Om(e,r,o,Ao);if(i)return typeof i=="string"?i:Ao(i,r)}const a=e?Object.getPrototypeOf(e):!1;return a===Object.prototype||a===null?So(e,r):e&&typeof HTMLElement=="function"&&e instanceof HTMLElement?Mi(e,r):"constructor"in e?e.constructor!==Object?Yd(e,r):So(e,r):e===Object(e)?So(e,r):r.stylize(String(e),o)}x(Ao,"inspect");var fe={includeStack:!1,showDiff:!0,truncateThreshold:40,useProxy:!0,proxyExcludedKeys:["then","catch","inspect","toJSON"],deepEqual:null};function K(e,t,r,n){let o={colors:n,depth:typeof r>"u"?2:r,showHidden:t,truncate:fe.truncateThreshold?fe.truncateThreshold:1/0};return Ao(e,o)}x(K,"inspect");function ut(e){let t=K(e),r=Object.prototype.toString.call(e);if(fe.truncateThreshold&&t.length>=fe.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(ut,"objDisplay");function Ii(e,t){let r=V(e,"negate"),n=V(e,"object"),o=t[3],a=Aa(e,t),i=r?t[2]:t[1],s=V(e,"message");return typeof i=="function"&&(i=i()),i=i||"",i=i.replace(/#\{this\}/g,function(){return ut(n)}).replace(/#\{act\}/g,function(){return ut(a)}).replace(/#\{exp\}/g,function(){return ut(o)}),s?s+": "+i:i}x(Ii,"getMessage");function Pe(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(Pe,"transferFlags");function li(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(li,"type");function Ni(){this._key="chai/deep-eql__"+Math.random()+Date.now()}x(Ni,"FakeMap");Ni.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 ef=typeof WeakMap=="function"?WeakMap:Ni;function ui(e,t,r){if(!r||ft(e)||ft(t))return null;var n=r.get(e);if(n){var o=n.get(t);if(typeof o=="boolean")return o}return null}x(ui,"memoizeCompare");function xo(e,t,r,n){if(!(!r||ft(e)||ft(t))){var o=r.get(e);o?o.set(t,n):(o=new ef,o.set(t,n),r.set(e,o))}}x(xo,"memoizeSet");var tf=Fo;function Fo(e,t,r){if(r&&r.comparator)return ci(e,t,r);var n=ki(e,t);return n!==null?n:ci(e,t,r)}x(Fo,"deepEqual");function ki(e,t){return e===t?e!==0||1/e===1/t:e!==e&&t!==t?!0:ft(e)||ft(t)?!1:null}x(ki,"simpleEqual");function ci(e,t,r){r=r||{},r.memoize=r.memoize===!1?!1:r.memoize||new ef;var n=r&&r.comparator,o=ui(e,t,r.memoize);if(o!==null)return o;var a=ui(t,e,r.memoize);if(a!==null)return a;if(n){var i=n(e,t);if(i===!1||i===!0)return xo(e,t,r.memoize,i),i;var s=ki(e,t);if(s!==null)return s}var l=li(e);if(l!==li(t))return xo(e,t,r.memoize,!1),!1;xo(e,t,r.memoize,!0);var u=rf(e,t,l,r);return xo(e,t,r.memoize,u),u}x(ci,"extensiveDeepEqual");function rf(e,t,r,n){switch(r){case"String":case"Number":case"Boolean":case"Date":return Fo(e.valueOf(),t.valueOf());case"Promise":case"Symbol":case"function":case"WeakMap":case"WeakSet":return e===t;case"Error":return Di(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 Ze(e,t,n);case"RegExp":return nf(e,t);case"Generator":return of(e,t,n);case"DataView":return Ze(new Uint8Array(e.buffer),new Uint8Array(t.buffer),n);case"ArrayBuffer":return Ze(new Uint8Array(e),new Uint8Array(t),n);case"Set":return di(e,t,n);case"Map":return di(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 sf(e,t,n)}}x(rf,"extensiveDeepEqualByType");function nf(e,t){return e.toString()===t.toString()}x(nf,"regexpEqual");function di(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")),Ze(n.sort(),o.sort(),r)}x(di,"entriesEqual");function Ze(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(Fo(e[o],t[o],r)===!1)return!1;return!0}x(Ze,"iterableEqual");function of(e,t,r){return Ze(ha(e),ha(t),r)}x(of,"generatorEqual");function af(e){return typeof Symbol<"u"&&typeof e=="object"&&typeof Symbol.iterator<"u"&&typeof e[Symbol.iterator]=="function"}x(af,"hasIteratorFunction");function fi(e){if(af(e))try{return ha(e[Symbol.iterator]())}catch{return[]}return[]}x(fi,"getIteratorEntries");function ha(e){for(var t=e.next(),r=[t.value];t.done===!1;)t=e.next(),r.push(t.value);return r}x(ha,"getGeneratorEntries");function pi(e){var t=[];for(var r in e)t.push(r);return t}x(pi,"getEnumerableKeys");function mi(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(mi,"getEnumerableSymbols");function Di(e,t,r,n){var o=r.length;if(o===0)return!0;for(var a=0;a<o;a+=1)if(Fo(e[r[a]],t[r[a]],n)===!1)return!1;return!0}x(Di,"keysEqual");function sf(e,t,r){var n=pi(e),o=pi(t),a=mi(e),i=mi(t);if(n=n.concat(a),o=o.concat(i),n.length&&n.length===o.length)return Ze(hi(n).sort(),hi(o).sort())===!1?!1:Di(e,t,n,r);var s=fi(e),l=fi(t);return s.length&&s.length===l.length?(s.sort(),l.sort(),Ze(s,l,r)):n.length===0&&s.length===0&&o.length===0&&l.length===0}x(sf,"objectEqual");function ft(e){return e===null||typeof e!="object"}x(ft,"isPrimitive");function hi(e){return e.map(x(function(r){return typeof r=="symbol"?r.toString():r},"mapSymbol"))}x(hi,"mapSymbols");function Oa(e,t){return typeof e>"u"||e===null?!1:t in Object(e)}x(Oa,"hasProperty");function lf(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(lf,"parsePath");function bi(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(bi,"internalGetPathValue");function ji(e,t){const r=lf(t),n=r[r.length-1],o={parent:r.length>1?bi(e,r,r.length-1):e,name:n.p||n.i,value:bi(e,r)};return o.exists=Oa(o.parent,o.name),o}x(ji,"getPathInfo");var dt,h=(dt=class{__flags={};constructor(t,r,n,o){return V(this,"ssfi",n||dt),V(this,"lockSsfi",o),V(this,"object",t),V(this,"message",r),V(this,"eql",fe.deepEqual||tf),Ot(this)}static get includeStack(){return console.warn("Assertion.includeStack is deprecated, use chai.config.includeStack instead."),fe.includeStack}static set includeStack(t){console.warn("Assertion.includeStack is deprecated, use chai.config.includeStack instead."),fe.includeStack=t}static get showDiff(){return console.warn("Assertion.showDiff is deprecated, use chai.config.showDiff instead."),fe.showDiff}static set showDiff(t){console.warn("Assertion.showDiff is deprecated, use chai.config.showDiff instead."),fe.showDiff=t}static addProperty(t,r){Bi(this.prototype,t,r)}static addMethod(t,r){Li(this.prototype,t,r)}static addChainableMethod(t,r,n){zi(this.prototype,t,r,n)}static overwriteProperty(t,r){Fi(this.prototype,t,r)}static overwriteMethod(t,r){Ui(this.prototype,t,r)}static overwriteChainableMethod(t,r,n){Vi(this.prototype,t,r,n)}assert(t,r,n,o,a,i){const s=Oi(this,arguments);if(i!==!1&&(i=!0),o===void 0&&a===void 0&&(i=!1),fe.showDiff!==!0&&(i=!1),!s){r=Ii(this,arguments);const u={actual:Aa(this,arguments),expected:o,showDiff:i},c=Gi(this,arguments);throw c&&(u.operator=c),new J(r,u,fe.includeStack?this.assert:V(this,"ssfi"))}}get _obj(){return V(this,"object")}set _obj(t){V(this,"object",t)}},x(dt,"Assertion"),dt),Ma=new EventTarget,wt,$i=(wt=class extends Event{constructor(t,r,n){super(t),this.name=String(r),this.fn=n}},x(wt,"PluginEvent"),wt);function Uo(){return fe.useProxy&&typeof Proxy<"u"&&typeof Reflect<"u"}x(Uo,"isProxyEnabled");function Bi(e,t,r){r=r===void 0?function(){}:r,Object.defineProperty(e,t,{get:x(function n(){!Uo()&&!V(this,"lockSsfi")&&V(this,"ssfi",n);let o=r.call(this);if(o!==void 0)return o;let a=new h;return Pe(this,a),a},"propertyGetter"),configurable:!0}),Ma.dispatchEvent(new $i("addProperty",t,r))}x(Bi,"addProperty");var Im=Object.getOwnPropertyDescriptor(function(){},"length");function zo(e,t,r){return Im.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(zo,"addLengthGuard");function uf(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(uf,"getProperties");var Ds=["__flags","__methods","_obj","assert"];function Ot(e,t){return Uo()?new Proxy(e,{get:x(function r(n,o){if(typeof o=="string"&&fe.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 uf(n).forEach(function(s){if(!Object.prototype.hasOwnProperty(s)&&Ds.indexOf(s)===-1){let l=cf(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 Ds.indexOf(o)===-1&&!V(n,"lockSsfi")&&V(n,"ssfi",r),Reflect.get(n,o)},"proxyGetter")}):e}x(Ot,"proxify");function cf(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(cf,"stringDistanceCapped");function Li(e,t,r){let n=x(function(){V(this,"lockSsfi")||V(this,"ssfi",n);let o=r.apply(this,arguments);if(o!==void 0)return o;let a=new h;return Pe(this,a),a},"methodWrapper");zo(n,t,!1),e[t]=Ot(n,t),Ma.dispatchEvent(new $i("addMethod",t,r))}x(Li,"addMethod");function Fi(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(){!Uo()&&!V(this,"lockSsfi")&&V(this,"ssfi",a);let i=V(this,"lockSsfi");V(this,"lockSsfi",!0);let s=r(o).call(this);if(V(this,"lockSsfi",i),s!==void 0)return s;let l=new h;return Pe(this,l),l},"overwritingPropertyGetter"),configurable:!0})}x(Fi,"overwriteProperty");function Ui(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(){V(this,"lockSsfi")||V(this,"ssfi",a);let i=V(this,"lockSsfi");V(this,"lockSsfi",!0);let s=r(o).apply(this,arguments);if(V(this,"lockSsfi",i),s!==void 0)return s;let l=new h;return Pe(this,l),l},"overwritingMethodWrapper");zo(a,t,!1),e[t]=Ot(a,t)}x(Ui,"overwriteMethod");var Nm=typeof Object.setPrototypeOf=="function",js=x(function(){},"testFn"),km=Object.getOwnPropertyNames(js).filter(function(e){let t=Object.getOwnPropertyDescriptor(js,e);return typeof t!="object"?!0:!t.configurable}),Dm=Function.prototype.call,jm=Function.prototype.apply,Et,$m=(Et=class extends $i{constructor(t,r,n,o){super(t,r,n),this.chainingBehavior=o}},x(Et,"PluginAddChainableMethodEvent"),Et);function zi(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(){V(this,"lockSsfi")||V(this,"ssfi",i);let s=o.method.apply(this,arguments);if(s!==void 0)return s;let l=new h;return Pe(this,l),l},"chainableMethodWrapper");if(zo(i,t,!0),Nm){let s=Object.create(this);s.call=Dm,s.apply=jm,Object.setPrototypeOf(i,s)}else Object.getOwnPropertyNames(e).forEach(function(l){if(km.indexOf(l)!==-1)return;let u=Object.getOwnPropertyDescriptor(e,l);Object.defineProperty(i,l,u)});return Pe(this,i),Ot(i)},"chainableMethodGetter"),configurable:!0}),Ma.dispatchEvent(new $m("addChainableMethod",t,r,n))}x(zi,"addChainableMethod");function Vi(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 h;return Pe(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 h;return Pe(this,u),u},"overwritingChainableMethodWrapper")}x(Vi,"overwriteChainableMethod");function ba(e,t){return K(e)<K(t)?-1:1}x(ba,"compareByInspect");function Hi(e){return typeof Object.getOwnPropertySymbols!="function"?[]:Object.getOwnPropertySymbols(e).filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})}x(Hi,"getOwnEnumerablePropertySymbols");function Wi(e){return Object.keys(e).concat(Hi(e))}x(Wi,"getOwnEnumerableProperties");var va=Number.isNaN;function df(e){let t=re(e);return["Array","Object","Function"].indexOf(t)!==-1}x(df,"isObjectType");function Gi(e,t){let r=V(e,"operator"),n=V(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=df(o);return/\snot\s/.test(a)?i?"notDeepStrictEqual":"notStrictEqual":i?"deepStrictEqual":"strictEqual"}x(Gi,"getOperator");function Ia(e){return e.name}x(Ia,"getName");function ya(e){return Object.prototype.toString.call(e)==="[object RegExp]"}x(ya,"isRegExp");function ue(e){return["Number","BigInt"].includes(re(e))}x(ue,"isNumeric");var{flag:w}=pa;["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 $s={function:["function","asyncfunction","generatorfunction","asyncgeneratorfunction"],asyncfunction:["asyncfunction","asyncgeneratorfunction"],generatorfunction:["generatorfunction","asyncgeneratorfunction"],asyncgeneratorfunction:["asyncgeneratorfunction"]};function Ki(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=re(r).toLowerCase();$s.function.includes(e)?this.assert($s[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(Ki,"an");h.addChainableMethod("an",Ki);h.addChainableMethod("a",Ki);function ff(e,t){return va(e)&&va(t)||e===t}x(ff,"SameValueZero");function Vo(){w(this,"contains",!0)}x(Vo,"includeChainingBehavior");function Ho(e,t){t&&w(this,"message",t);let r=w(this,"object"),n=re(r).toLowerCase(),o=w(this,"message"),a=w(this,"negate"),i=w(this,"ssfi"),s=w(this,"deep"),l=s?"deep ":"",u=s?w(this,"eql"):ff;o=o?o+": ":"";let c=!1;switch(n){case"string":c=r.indexOf(e)!==-1;break;case"weakset":if(s)throw new J(o+"unable to use .deep.include with WeakSet",void 0,i);c=r.has(e);break;case"map":r.forEach(function(f){c=c||u(f,e)});break;case"set":s?r.forEach(function(f){c=c||u(f,e)}):c=r.has(e);break;case"array":s?c=r.some(function(f){return u(f,e)}):c=r.indexOf(e)!==-1;break;default:{if(e!==Object(e))throw new J(o+"the given combination of arguments ("+n+" and "+re(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 "+re(e).toLowerCase(),void 0,i);let f=Object.keys(e),d=null,b=0;if(f.forEach(function(v){let R=new h(r);if(Pe(this,R,!0),w(R,"lockSsfi",!0),!a||f.length===1){R.property(v,e[v]);return}try{R.property(v,e[v])}catch(S){if(!Re.compatibleConstructor(S,J))throw S;d===null&&(d=S),b++}},this),a&&f.length>1&&b===f.length)throw d;return}}this.assert(c,"expected #{this} to "+l+"include "+K(e),"expected #{this} to not "+l+"include "+K(e))}x(Ho,"include");h.addChainableMethod("include",Ho,Vo);h.addChainableMethod("contain",Ho,Vo);h.addChainableMethod("contains",Ho,Vo);h.addChainableMethod("includes",Ho,Vo);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(re(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"),a=o?`${n}expected ${K(e)} not to be a callable function`:`${n}expected ${K(e)} to be a callable function`,i=["Function","AsyncFunction","GeneratorFunction","AsyncGeneratorFunction"].includes(re(e));if(i&&o||!i&&!o)throw new J(a,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(va(w(this,"object")),"expected #{this} to be NaN","expected #{this} not to be NaN")});function Yi(){let e=w(this,"object");this.assert(e!=null,"expected #{this} to exist","expected #{this} to not exist")}x(Yi,"assertExist");h.addProperty("exist",Yi);h.addProperty("exists",Yi);h.addProperty("empty",function(){let e=w(this,"object"),t=w(this,"ssfi"),r=w(this,"message"),n;switch(r=r?r+": ":"",re(e).toLowerCase()){case"array":case"string":n=e.length;break;case"map":case"set":n=e.size;break;case"weakmap":case"weakset":throw new J(r+".empty was passed a weak collection",void 0,t);case"function":{const o=r+".empty was passed a function "+Ia(e);throw new J(o.trim(),void 0,t)}default:if(e!==Object(e))throw new J(r+".empty was passed non-string primitive "+K(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 Xi(){let e=w(this,"object"),t=re(e);this.assert(t==="Arguments","expected #{this} to be arguments but got "+t,"expected #{this} to not be arguments")}x(Xi,"checkArguments");h.addProperty("arguments",Xi);h.addProperty("Arguments",Xi);function Na(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(Na,"assertEqual");h.addMethod("equal",Na);h.addMethod("equals",Na);h.addMethod("eq",Na);function Ji(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(Ji,"assertEql");h.addMethod("eql",Ji);h.addMethod("eqls",Ji);function ka(e,t){t&&w(this,"message",t);let r=w(this,"object"),n=w(this,"doLength"),o=w(this,"message"),a=o?o+": ":"",i=w(this,"ssfi"),s=re(r).toLowerCase(),l=re(e).toLowerCase();if(n&&s!=="map"&&s!=="set"&&new h(r,o,i,!0).to.have.property("length"),!n&&s==="date"&&l!=="date")throw new J(a+"the argument to above must be a date",void 0,i);if(!ue(e)&&(n||ue(r)))throw new J(a+"the argument to above must be a number",void 0,i);if(!n&&s!=="date"&&!ue(r)){let u=s==="string"?"'"+r+"'":r;throw new J(a+"expected "+u+" to be a number or a date",void 0,i)}if(n){let u="length",c;s==="map"||s==="set"?(u="size",c=r.size):c=r.length,this.assert(c>e,"expected #{this} to have a "+u+" above #{exp} but got #{act}","expected #{this} to not have a "+u+" above #{exp}",e,c)}else this.assert(r>e,"expected #{this} to be above #{exp}","expected #{this} to be at most #{exp}",e)}x(ka,"assertAbove");h.addMethod("above",ka);h.addMethod("gt",ka);h.addMethod("greaterThan",ka);function Da(e,t){t&&w(this,"message",t);let r=w(this,"object"),n=w(this,"doLength"),o=w(this,"message"),a=o?o+": ":"",i=w(this,"ssfi"),s=re(r).toLowerCase(),l=re(e).toLowerCase(),u,c=!0;if(n&&s!=="map"&&s!=="set"&&new h(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(!ue(e)&&(n||ue(r)))u=a+"the argument to least must be a number";else if(!n&&s!=="date"&&!ue(r)){let f=s==="string"?"'"+r+"'":r;u=a+"expected "+f+" to be a number or a date"}else c=!1;if(c)throw new J(u,void 0,i);if(n){let f="length",d;s==="map"||s==="set"?(f="size",d=r.size):d=r.length,this.assert(d>=e,"expected #{this} to have a "+f+" at least #{exp} but got #{act}","expected #{this} to have a "+f+" below #{exp}",e,d)}else this.assert(r>=e,"expected #{this} to be at least #{exp}","expected #{this} to be below #{exp}",e)}x(Da,"assertLeast");h.addMethod("least",Da);h.addMethod("gte",Da);h.addMethod("greaterThanOrEqual",Da);function ja(e,t){t&&w(this,"message",t);let r=w(this,"object"),n=w(this,"doLength"),o=w(this,"message"),a=o?o+": ":"",i=w(this,"ssfi"),s=re(r).toLowerCase(),l=re(e).toLowerCase(),u,c=!0;if(n&&s!=="map"&&s!=="set"&&new h(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(!ue(e)&&(n||ue(r)))u=a+"the argument to below must be a number";else if(!n&&s!=="date"&&!ue(r)){let f=s==="string"?"'"+r+"'":r;u=a+"expected "+f+" to be a number or a date"}else c=!1;if(c)throw new J(u,void 0,i);if(n){let f="length",d;s==="map"||s==="set"?(f="size",d=r.size):d=r.length,this.assert(d<e,"expected #{this} to have a "+f+" below #{exp} but got #{act}","expected #{this} to not have a "+f+" below #{exp}",e,d)}else this.assert(r<e,"expected #{this} to be below #{exp}","expected #{this} to be at least #{exp}",e)}x(ja,"assertBelow");h.addMethod("below",ja);h.addMethod("lt",ja);h.addMethod("lessThan",ja);function $a(e,t){t&&w(this,"message",t);let r=w(this,"object"),n=w(this,"doLength"),o=w(this,"message"),a=o?o+": ":"",i=w(this,"ssfi"),s=re(r).toLowerCase(),l=re(e).toLowerCase(),u,c=!0;if(n&&s!=="map"&&s!=="set"&&new h(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(!ue(e)&&(n||ue(r)))u=a+"the argument to most must be a number";else if(!n&&s!=="date"&&!ue(r)){let f=s==="string"?"'"+r+"'":r;u=a+"expected "+f+" to be a number or a date"}else c=!1;if(c)throw new J(u,void 0,i);if(n){let f="length",d;s==="map"||s==="set"?(f="size",d=r.size):d=r.length,this.assert(d<=e,"expected #{this} to have a "+f+" at most #{exp} but got #{act}","expected #{this} to have a "+f+" above #{exp}",e,d)}else this.assert(r<=e,"expected #{this} to be at most #{exp}","expected #{this} to be above #{exp}",e)}x($a,"assertMost");h.addMethod("most",$a);h.addMethod("lte",$a);h.addMethod("lessThanOrEqual",$a);h.addMethod("within",function(e,t,r){r&&w(this,"message",r);let n=w(this,"object"),o=w(this,"doLength"),a=w(this,"message"),i=a?a+": ":"",s=w(this,"ssfi"),l=re(n).toLowerCase(),u=re(e).toLowerCase(),c=re(t).toLowerCase(),f,d=!0,b=u==="date"&&c==="date"?e.toISOString()+".."+t.toISOString():e+".."+t;if(o&&l!=="map"&&l!=="set"&&new h(n,a,s,!0).to.have.property("length"),!o&&l==="date"&&(u!=="date"||c!=="date"))f=i+"the arguments to within must be dates";else if((!ue(e)||!ue(t))&&(o||ue(n)))f=i+"the arguments to within must be numbers";else if(!o&&l!=="date"&&!ue(n)){let v=l==="string"?"'"+n+"'":n;f=i+"expected "+v+" to be a number or a date"}else d=!1;if(d)throw new J(f,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 Qi(e,t){t&&w(this,"message",t);let r=w(this,"object"),n=w(this,"ssfi"),o=w(this,"message"),a;try{a=r instanceof e}catch(s){throw s instanceof TypeError?(o=o?o+": ":"",new J(o+"The instanceof assertion needs a constructor but "+re(e)+" was given.",void 0,n)):s}let i=Ia(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(Qi,"assertInstanceOf");h.addMethod("instanceof",Qi);h.addMethod("instanceOf",Qi);function Zi(e,t,r){r&&w(this,"message",r);let n=w(this,"nested"),o=w(this,"own"),a=w(this,"message"),i=w(this,"object"),s=w(this,"ssfi"),l=typeof e;if(a=a?a+": ":"",n){if(l!=="string")throw new J(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 J(a+"the argument to property must be a string, number, or symbol",void 0,s);if(n&&o)throw new J(a+'The "nested" and "own" flags cannot be combined.',void 0,s);if(i==null)throw new J(a+"Target cannot be null or undefined.",void 0,s);let u=w(this,"deep"),c=w(this,"negate"),f=n?ji(i,e):null,d=n?f.value:i[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(i,e):n?R=f.exists:R=Oa(i,e),(!c||arguments.length===1)&&this.assert(R,"expected #{this} to have "+v+K(e),"expected #{this} to not have "+v+K(e)),arguments.length>1&&this.assert(R&&b(t,d),"expected #{this} to have "+v+K(e)+" of #{exp}, but got #{act}","expected #{this} to not have "+v+K(e)+" of #{act}",t,d),w(this,"object",d)}x(Zi,"assertProperty");h.addMethod("property",Zi);function es(e,t,r){w(this,"own",!0),Zi.apply(this,arguments)}x(es,"assertOwnProperty");h.addMethod("ownProperty",es);h.addMethod("haveOwnProperty",es);function ts(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),a=w(this,"eql");o&&t?this.assert(a(t,o),"expected the own property descriptor for "+K(e)+" on #{this} to match "+K(t)+", got "+K(o),"expected the own property descriptor for "+K(e)+" on #{this} to not match "+K(t),t,o,!0):this.assert(o,"expected #{this} to have an own property descriptor for "+K(e),"expected #{this} to not have an own property descriptor for "+K(e)),w(this,"object",o)}x(ts,"assertOwnPropertyDescriptor");h.addMethod("ownPropertyDescriptor",ts);h.addMethod("haveOwnPropertyDescriptor",ts);function rs(){w(this,"doLength",!0)}x(rs,"assertLengthChain");function ns(e,t){t&&w(this,"message",t);let r=w(this,"object"),n=re(r).toLowerCase(),o=w(this,"message"),a=w(this,"ssfi"),i="length",s;switch(n){case"map":case"set":i="size",s=r.size;break;default:new h(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(ns,"assertLength");h.addChainableMethod("length",ns,rs);h.addChainableMethod("lengthOf",ns,rs);function os(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(os,"assertMatch");h.addMethod("match",os);h.addMethod("matches",os);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 "+K(e),"expected #{this} to not contain "+K(e))});function as(e){let t=w(this,"object"),r=re(t),n=re(e),o=w(this,"ssfi"),a=w(this,"deep"),i,s="",l,u=!0,c=w(this,"message");c=c?c+": ":"";let f=c+"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=Wi(t),n){case"Array":if(arguments.length>1)throw new J(f,void 0,o);break;case"Object":if(arguments.length>1)throw new J(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 J(c+"keys required",void 0,o);let d=e.length,b=w(this,"any"),v=w(this,"all"),R=e,S=a?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 K(q)});let p=e.pop();v&&(i=e.join(", ")+", and "+p),b&&(i=e.join(", ")+", or "+p)}else i=K(e[0]);i=(d>1?"keys ":"key ")+i,i=(w(this,"contains")?"contain ":"have ")+i,this.assert(u,"expected #{this} to "+s+i,"expected #{this} to not "+s+i,R.slice(0).sort(ba),l.sort(ba),!0)}x(as,"assertKeys");h.addMethod("keys",as);h.addMethod("key",as);function Ba(e,t,r){r&&w(this,"message",r);let n=w(this,"object"),o=w(this,"ssfi"),a=w(this,"message"),i=w(this,"negate")||!1;new h(n,a,o,!0).is.a("function"),(ya(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,c=!!(e&&t),f=!1,d=!1;if(u||!u&&!i){let b="an error";e instanceof Error?b="#{exp}":e&&(b=Re.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=Re.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&&Re.compatibleInstance(s,e)===i&&(c&&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())),Re.compatibleConstructor(s,e)===i&&(c&&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&&Re.getConstructorName(e),s instanceof Error?s.toString():s&&Re.getConstructorName(s)))),s&&t!==void 0&&t!==null){let b="including";ya(t)&&(b="matching"),Re.compatibleMessage(s,t)===i&&(c&&i?d=!0:this.assert(i,"expected #{this} to throw error "+b+" #{exp} but got #{act}","expected #{this} to throw error not "+b+" #{exp}",t,Re.getMessage(s)))}f&&d&&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&&Re.getConstructorName(e),s instanceof Error?s.toString():s&&Re.getConstructorName(s)),w(this,"object",s)}x(Ba,"assertThrows");h.addMethod("throw",Ba);h.addMethod("throws",Ba);h.addMethod("Throw",Ba);function is(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 "+K(e),"expected #{this} to not respond to "+K(e))}x(is,"respondTo");h.addMethod("respondTo",is);h.addMethod("respondsTo",is);h.addProperty("itself",function(){w(this,"itself",!0)});function ss(e,t){t&&w(this,"message",t);let r=w(this,"object"),n=e(r);this.assert(n,"expected #{this} to satisfy "+ut(e),"expected #{this} to not satisfy"+ut(e),!w(this,"negate"),n)}x(ss,"satisfy");h.addMethod("satisfy",ss);h.addMethod("satisfies",ss);function ls(e,t,r){r&&w(this,"message",r);let n=w(this,"object"),o=w(this,"message"),a=w(this,"ssfi");new h(n,o,a,!0).is.numeric;let i="A `delta` value is required for `closeTo`";if(t==null)throw new J(o?`${o}: ${i}`:i,void 0,a);if(new h(t,o,a,!0).is.numeric,i="A `expected` value is required for `closeTo`",e==null)throw new J(o?`${o}: ${i}`:i,void 0,a);new h(e,o,a,!0).is.numeric;const s=x(u=>u<0n?-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(ls,"closeTo");h.addMethod("closeTo",ls);h.addMethod("approximately",ls);function pf(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,c){return r(s,u)?(n||a.splice(c,1),!0):!1})})}x(pf,"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 a=w(this,"contains"),i=w(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 c=w(this,"deep")?w(this,"eql"):void 0;this.assert(pf(e,r,c,a,i),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 mf(e,t){t&&w(this,"message",t);let r=w(this,"object"),n=w(this,"message"),o=w(this,"ssfi"),a=w(this,"contains"),i=w(this,"deep"),s=w(this,"eql");new h(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(mf,"oneOf");h.addMethod("oneOf",mf);function us(e,t,r){r&&w(this,"message",r);let n=w(this,"object"),o=w(this,"message"),a=w(this,"ssfi");new h(n,o,a,!0).is.a("function");let i;t?(new h(e,o,a,!0).to.have.property(t),i=e[t]):(new h(e,o,a,!0).is.a("function"),i=e()),n();let s=t==null?e():e[t],l=t==null?i:"."+t;w(this,"deltaMsgObj",l),w(this,"initialDeltaValue",i),w(this,"finalDeltaValue",s),w(this,"deltaBehavior","change"),w(this,"realDelta",s!==i),this.assert(i!==s,"expected "+l+" to change","expected "+l+" to not change")}x(us,"assertChanges");h.addMethod("change",us);h.addMethod("changes",us);function cs(e,t,r){r&&w(this,"message",r);let n=w(this,"object"),o=w(this,"message"),a=w(this,"ssfi");new h(n,o,a,!0).is.a("function");let i;t?(new h(e,o,a,!0).to.have.property(t),i=e[t]):(new h(e,o,a,!0).is.a("function"),i=e()),new h(i,o,a,!0).is.a("number"),n();let s=t==null?e():e[t],l=t==null?i:"."+t;w(this,"deltaMsgObj",l),w(this,"initialDeltaValue",i),w(this,"finalDeltaValue",s),w(this,"deltaBehavior","increase"),w(this,"realDelta",s-i),this.assert(s-i>0,"expected "+l+" to increase","expected "+l+" to not increase")}x(cs,"assertIncreases");h.addMethod("increase",cs);h.addMethod("increases",cs);function ds(e,t,r){r&&w(this,"message",r);let n=w(this,"object"),o=w(this,"message"),a=w(this,"ssfi");new h(n,o,a,!0).is.a("function");let i;t?(new h(e,o,a,!0).to.have.property(t),i=e[t]):(new h(e,o,a,!0).is.a("function"),i=e()),new h(i,o,a,!0).is.a("number"),n();let s=t==null?e():e[t],l=t==null?i:"."+t;w(this,"deltaMsgObj",l),w(this,"initialDeltaValue",i),w(this,"finalDeltaValue",s),w(this,"deltaBehavior","decrease"),w(this,"realDelta",i-s),this.assert(s-i<0,"expected "+l+" to decrease","expected "+l+" to not decrease")}x(ds,"assertDecreases");h.addMethod("decrease",ds);h.addMethod("decreases",ds);function hf(e,t){t&&w(this,"message",t);let r=w(this,"deltaMsgObj"),n=w(this,"initialDeltaValue"),o=w(this,"finalDeltaValue"),a=w(this,"deltaBehavior"),i=w(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(hf,"assertDelta");h.addMethod("by",hf);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 ga(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 ga(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?ga(n,o):typeof n=="function"?n(o):o===n}):!1}x(ga,"compareSubset");h.addMethod("containSubset",function(e){const t=V(this,"object"),r=fe.showDiff;this.assert(ga(e,t),"expected #{act} to contain subset #{exp}","expected #{act} to not contain subset #{exp}",e,t,r)});function No(e,t){return new h(e,t)}x(No,"expect");No.fail=function(e,t,r,n){throw arguments.length<2&&(r=e,e=void 0),r=r||"expect.fail()",new J(r,{actual:e,expected:t,operator:n},No.fail)};var bf={};Ai(bf,{Should:()=>Lm,should:()=>Bm});function fs(){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,a,i){throw arguments.length<2&&(a=n,n=void 0),a=a||"should.fail()",new J(a,{actual:n,expected:o,operator:i},r.fail)},r.equal=function(n,o,a){new h(n,a).to.equal(o)},r.Throw=function(n,o,a,i){new h(n,i).to.Throw(o,a)},r.exist=function(n,o){new h(n,o).to.exist},r.not={},r.not.equal=function(n,o,a){new h(n,a).to.not.equal(o)},r.not.Throw=function(n,o,a,i){new h(n,i).to.not.Throw(o,a)},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(fs,"loadShould");var Bm=fs,Lm=fs;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 J(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==V(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!=V(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 V(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 J(n+'Invalid operator "'+t+'"',void 0,m.operator)}let a=new h(o,n,m.operator,!0);a.assert(V(a,"object")===!0,"expected "+K(e)+" to be "+t+" "+K(r),"expected "+K(e)+" to not be "+t+" "+K(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 ${K(e)} to be an iterable`:`expected ${K(e)} to be an iterable`,new J(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 a=n;n=r,o=a}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 a=n;n=r,o=a}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 a=n;n=r,o=a}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 a=n;n=r,o=a}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 a=n;n=r,o=a}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 a=n;n=r,o=a}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 a=n;n=r,o=a}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 Fm=[["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 Fm)m[t]=m[e];var Bs=[];function vf(e){const t={use:vf,AssertionError:J,util:pa,config:fe,expect:No,assert:m,Assertion:h,...bf};return~Bs.indexOf(e)||(e(t,pa),Bs.push(e)),t}x(vf,"use");function Um(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Jo={exports:{}},Nt={};var Ls;function zm(){if(Ls)return Nt;Ls=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.fragment");function r(n,o,a){var i=null;if(a!==void 0&&(i=""+a),o.key!==void 0&&(i=""+o.key),"key"in o){a={};for(var s in o)s!=="key"&&(a[s]=o[s])}else a=o;return o=a.ref,{$$typeof:e,type:n,key:i,ref:o!==void 0?o:null,props:a}}return Nt.Fragment=t,Nt.jsx=r,Nt.jsxs=r,Nt}var kt={};var Fs;function Vm(){return Fs||(Fs=1,process.env.NODE_ENV!=="production"&&(function(){function e(M){if(M==null)return null;if(typeof M=="function")return M.$$typeof===D?null:M.displayName||M.name||null;if(typeof M=="string")return M;switch(M){case R:return"Fragment";case p:return"Profiler";case S:return"StrictMode";case P:return"Suspense";case y:return"SuspenseList";case O:return"Activity"}if(typeof M=="object")switch(typeof M.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),M.$$typeof){case v:return"Portal";case _:return(M.displayName||"Context")+".Provider";case q:return(M._context.displayName||"Context")+".Consumer";case T:var U=M.render;return M=M.displayName,M||(M=U.displayName||U.name||"",M=M!==""?"ForwardRef("+M+")":"ForwardRef"),M;case g:return U=M.displayName||null,U!==null?U:e(M.type)||"Memo";case E:U=M._payload,M=M._init;try{return e(M(U))}catch{}}return null}function t(M){return""+M}function r(M){try{t(M);var U=!1}catch{U=!0}if(U){U=console;var Y=U.error,$=typeof Symbol=="function"&&Symbol.toStringTag&&M[Symbol.toStringTag]||M.constructor.name||"Object";return Y.call(U,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",$),t(M)}}function n(M){if(M===R)return"<>";if(typeof M=="object"&&M!==null&&M.$$typeof===E)return"<...>";try{var U=e(M);return U?"<"+U+">":"<...>"}catch{return"<...>"}}function o(){var M=j.A;return M===null?null:M.getOwner()}function a(){return Error("react-stack-top-frame")}function i(M){if(B.call(M,"key")){var U=Object.getOwnPropertyDescriptor(M,"key").get;if(U&&U.isReactWarning)return!1}return M.key!==void 0}function s(M,U){function Y(){F||(F=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",U))}Y.isReactWarning=!0,Object.defineProperty(M,"key",{get:Y,configurable:!0})}function l(){var M=e(this.type);return Z[M]||(Z[M]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),M=this.props.ref,M!==void 0?M:null}function u(M,U,Y,$,ce,le,he,Ie){return Y=le.ref,M={$$typeof:b,type:M,key:U,props:le,_owner:ce},(Y!==void 0?Y:null)!==null?Object.defineProperty(M,"ref",{enumerable:!1,get:l}):Object.defineProperty(M,"ref",{enumerable:!1,value:null}),M._store={},Object.defineProperty(M._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(M,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(M,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:he}),Object.defineProperty(M,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:Ie}),Object.freeze&&(Object.freeze(M.props),Object.freeze(M)),M}function c(M,U,Y,$,ce,le,he,Ie){var oe=U.children;if(oe!==void 0)if($)if(A(oe)){for($=0;$<oe.length;$++)f(oe[$]);Object.freeze&&Object.freeze(oe)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else f(oe);if(B.call(U,"key")){oe=e(M);var C=Object.keys(U).filter(function(I){return I!=="key"});$=0<C.length?"{key: someKey, "+C.join(": ..., ")+": ...}":"{key: someKey}",ye[oe+$]||(C=0<C.length?"{"+C.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
235
3
  let props = %s;
236
4
  <%s {...props} />
237
5
  React keys must be passed directly to JSX without using spread:
238
6
  let props = %s;
239
- <%s key={someKey} {...props} />`,B,oe,C,oe),ye[oe+B]=!0)}if(oe=null,Y!==void 0&&(r(Y),oe=""+Y),i(U)&&(r(U.key),oe=""+U.key),"key"in U){Y={};for(var L in U)L!=="key"&&(Y[L]=U[L])}else Y=U;return oe&&s(Y,typeof M=="function"?M.displayName||M.name||"Unknown":M),u(M,oe,le,ce,o(),Y,he,Ne)}function f(M){typeof M=="object"&&M!==null&&M.$$typeof===b&&M._store&&(M._store.validated=1)}var d=Ao,b=Symbol.for("react.transitional.element"),v=Symbol.for("react.portal"),R=Symbol.for("react.fragment"),S=Symbol.for("react.strict_mode"),p=Symbol.for("react.profiler"),q=Symbol.for("react.consumer"),_=Symbol.for("react.context"),T=Symbol.for("react.forward_ref"),P=Symbol.for("react.suspense"),y=Symbol.for("react.suspense_list"),g=Symbol.for("react.memo"),E=Symbol.for("react.lazy"),O=Symbol.for("react.activity"),D=Symbol.for("react.client.reference"),j=d.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,$=Object.prototype.hasOwnProperty,A=Array.isArray,k=console.createTask?console.createTask:function(){return null};d={react_stack_bottom_frame:function(M){return M()}};var F,Z={},G=d.react_stack_bottom_frame.bind(d,a)(),se=k(n(a)),ye={};Nt.Fragment=R,Nt.jsx=function(M,U,Y,B,ce){var le=1e4>j.recentlyCreatedOwnerStacks++;return c(M,U,Y,!1,B,ce,le?Error("react-stack-top-frame"):G,le?k(n(M)):se)},Nt.jsxs=function(M,U,Y,B,ce){var le=1e4>j.recentlyCreatedOwnerStacks++;return c(M,U,Y,!0,B,ce,le?Error("react-stack-top-frame"):G,le?k(n(M)):se)}})()),Nt}var Bs;function $m(){return Bs||(Bs=1,process.env.NODE_ENV==="production"?Yo.exports=jm():Yo.exports=Bm()),Yo.exports}var z=$m();const Lm=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},Fm={animation:"spin 1s linear infinite"},Um=()=>z.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:"lucide lucide-loader-circle-icon lucide-loader-circle",style:Fm,"data-testid":"loader-icon",children:z.jsx("path",{d:"M21 12a9 9 0 1 1-6.219-8.56"})}),Xo=typeof document<"u"?document.createElement("style"):null;Xo&&!document.getElementById("loader-spin-keyframes")&&(Xo.id="loader-spin-keyframes",Xo.innerHTML=`
7
+ <%s key={someKey} {...props} />`,$,oe,C,oe),ye[oe+$]=!0)}if(oe=null,Y!==void 0&&(r(Y),oe=""+Y),i(U)&&(r(U.key),oe=""+U.key),"key"in U){Y={};for(var L in U)L!=="key"&&(Y[L]=U[L])}else Y=U;return oe&&s(Y,typeof M=="function"?M.displayName||M.name||"Unknown":M),u(M,oe,le,ce,o(),Y,he,Ie)}function f(M){typeof M=="object"&&M!==null&&M.$$typeof===b&&M._store&&(M._store.validated=1)}var d=Mo,b=Symbol.for("react.transitional.element"),v=Symbol.for("react.portal"),R=Symbol.for("react.fragment"),S=Symbol.for("react.strict_mode"),p=Symbol.for("react.profiler"),q=Symbol.for("react.consumer"),_=Symbol.for("react.context"),T=Symbol.for("react.forward_ref"),P=Symbol.for("react.suspense"),y=Symbol.for("react.suspense_list"),g=Symbol.for("react.memo"),E=Symbol.for("react.lazy"),O=Symbol.for("react.activity"),D=Symbol.for("react.client.reference"),j=d.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,B=Object.prototype.hasOwnProperty,A=Array.isArray,k=console.createTask?console.createTask:function(){return null};d={react_stack_bottom_frame:function(M){return M()}};var F,Z={},G=d.react_stack_bottom_frame.bind(d,a)(),se=k(n(a)),ye={};kt.Fragment=R,kt.jsx=function(M,U,Y,$,ce){var le=1e4>j.recentlyCreatedOwnerStacks++;return c(M,U,Y,!1,$,ce,le?Error("react-stack-top-frame"):G,le?k(n(M)):se)},kt.jsxs=function(M,U,Y,$,ce){var le=1e4>j.recentlyCreatedOwnerStacks++;return c(M,U,Y,!0,$,ce,le?Error("react-stack-top-frame"):G,le?k(n(M)):se)}})()),kt}var Us;function Hm(){return Us||(Us=1,process.env.NODE_ENV==="production"?Jo.exports=zm():Jo.exports=Vm()),Jo.exports}var z=Hm();const Wm=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},Gm={animation:"spin 1s linear infinite"},Km=()=>z.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:"lucide lucide-loader-circle-icon lucide-loader-circle",style:Gm,"data-testid":"loader-icon",children:z.jsx("path",{d:"M21 12a9 9 0 1 1-6.219-8.56"})}),Qo=typeof document<"u"?document.createElement("style"):null;Qo&&!document.getElementById("loader-spin-keyframes")&&(Qo.id="loader-spin-keyframes",Qo.innerHTML=`
240
8
  @keyframes spin {
241
9
  0% { transform: rotate(0deg); }
242
10
  100% { transform: rotate(360deg); }
243
11
  }
244
- `,document.head.appendChild(Xo));const Ba=({className:e,children:t,dataTestId:r})=>z.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}),zm=()=>z.jsx(Ba,{className:"lucide-play-icon lucide-play",dataTestId:"play-icon",children:z.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"})}),Vm=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"}}}},Hm=e=>e.startsWith("Assertion passed")||e.startsWith("Event fired")?{color:"#0d542b",fontWeight:"700"}:e.startsWith("Test failed")?{color:"#fb2c36",fontWeight:"700"}:{},Wm=({node:e,depth:t,id:r,runTest:n})=>{const o=Vm(e);return z.jsxs("li",{style:{marginBottom:"4px",marginLeft:t*6,...o.container},"data-testid":`test-list-item-${r}`,children:[z.jsxs("div",{style:{display:"flex",alignItems:"left",justifyContent:"space-between",padding:"4px 6px",borderRadius:"4px",...o.item},children:[z.jsxs("span",{style:{fontWeight:"500",color:"#374151",maxWidth:"220px"},children:[e.name," ",e.only&&z.jsxs("span",{style:{color:"#2563eb"},"data-testid":`only-indicator-${r}`,children:[" ","(only)"]}),e.skip&&z.jsxs("span",{style:{color:"#6b7280"},"data-testid":`skip-indicator-${r}`,children:[" ","(skipped)"]})]}),z.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"?z.jsx(Um,{}):z.jsx(zm,{})})]}),e.logs&&e.logs.length>0&&z.jsx("ul",{style:{borderRadius:"4px",maxHeight:"260px",overflowY:"auto",padding:0,background:"#f3f4f6",listStyle:"none",marginTop:"4px",textAlign:"left"},children:e.logs.map((a,i)=>z.jsx("li",{style:{fontSize:"12px",padding:"4px 6px",borderBottom:"1px solid #d1d5db",color:"#374151",...Hm(a)},children:a},i))})]},e.name)},Gm=()=>z.jsx(Ba,{className:"lucide-chevron-down-icon lucide-chevron-down",dataTestId:"chevron-down-icon",children:z.jsx("path",{d:"m6 9 6 6 6-6"})}),Km=()=>z.jsx(Ba,{className:"lucide-chevron-right-icon lucide-chevron-right",dataTestId:"chevron-right-icon",children:z.jsx("path",{d:"m9 18 6-6-6-6"})}),Ym=({tests:e,runTest:t})=>{const[r,n]=Ao.useState({}),o=s=>n(l=>({...l,[s]:!l[s]})),a=(s,l=0)=>{if(s.type==="test")return z.jsx(Wm,{node:s,depth:l,id:s.id,runTest:()=>t(s.id)},s.id);const u=r[s.id];return z.jsxs("li",{style:{marginLeft:l*12},children:[z.jsxs("div",{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:[s.name,u?z.jsx(Km,{}):z.jsx(Gm,{})]}),!u&&s.childrenNodes&&s.childrenNodes.length>0&&z.jsx("ul",{style:{listStyle:"none",padding:0,margin:0},children:s.childrenNodes.map(c=>a(c,l+1))})]},s.id)},i=Lm(e);return z.jsx("ul",{style:{listStyle:"none",padding:0,margin:0},children:i.map(s=>a(s))})},Xm={left:{left:0,borderTopRightRadius:"6px",borderBottomRightRadius:"6px",borderTopLeftRadius:"0",borderBottomLeftRadius:"0"},right:{right:0,borderTopLeftRadius:"6px",borderBottomLeftRadius:"6px",borderTopRightRadius:"0",borderBottomRightRadius:"0"}},Jm=({setOpen:e,position:t})=>z.jsx("button",{"aria-label":"Open TWD sidebar",style:{position:"fixed",top:"50%",transform:"translateY(-50%)",background:"#3b82f6",color:"white",padding:"6px 10px",cursor:"pointer",fontSize:"12px",...Xm[t]},onClick:()=>e(!0),children:"TWD"}),Qm=({isOpen:e,position:t})=>{Ao.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])},Zm=()=>z.jsxs(Ba,{className:"lucide-wifi-pen-icon lucide-wifi-pen",dataTestId:"wifi-pen-icon",children:[z.jsx("path",{d:"M2 8.82a15 15 0 0 1 20 0"}),z.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"}),z.jsx("path",{d:"M5 12.859a10 10 0 0 1 10.5-2.222"}),z.jsx("path",{d:"M8.5 16.429a5 5 0 0 1 3-1.406"})]}),eh=()=>{const e=Cd.getRequestMockRules(),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 z.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:[z.jsx(Zm,{}),z.jsxs("span",{style:{flex:1},children:["Rules: ",t.length,"/",e.length," triggered"]}),z.jsx("span",{style:{fontSize:"10px",color:"#94a3b8",fontWeight:"500"},children:"View rules in console"})]})},th={left:{left:0,borderRight:"1px solid #e5e7eb"},right:{right:0,borderLeft:"1px solid #e5e7eb"}},rh='-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"',nh=({open:e,position:t="left"})=>{const[r,n]=Ao.useState(0),[o,a]=Ao.useState(e);Qm({isOpen:o,position:t});const i=new Po.TestRunner({onStart:c=>{c.status="running",n(f=>f+1)},onPass:c=>{c.status="pass",n(f=>f+1)},onFail:(c,f)=>{c.status="fail",console.error("Test failed:",c.name,f),c.logs.push(`Test failed: ${f.message}`),n(d=>d+1)},onSkip:c=>{c.status="skip",n(f=>f+1)}}),s=async()=>{await i.runAll()},l=async c=>{const f=Array.from(Po.handlers.values()).filter(d=>d.type==="test").find(d=>d.id===c);f&&await i.runSingle(f.id)},u=Array.from(Po.handlers.values());return o?z.jsxs("div",{style:{fontFamily:rh,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,...th[t]},"data-testid":"twd-sidebar",children:[z.jsxs("div",{style:{padding:"8px",background:"#f9fafb",position:"sticky",top:0,zIndex:1e3},children:[z.jsxs("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center",marginBottom:"14px"},children:[z.jsx("button",{onClick:s,style:{background:"#3b82f6",color:"white",padding:"4px 8px",borderRadius:"4px",border:"none",cursor:"pointer"},children:"Run All"}),z.jsx("button",{"aria-label":"Close sidebar",style:{background:"transparent",border:"none",cursor:"pointer",fontSize:"14px"},onClick:()=>a(!1),children:"✖"})]}),z.jsx(eh,{})]}),z.jsx("div",{style:{padding:"8px"},children:z.jsx(Ym,{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})})]}):z.jsx(Jm,{position:t,setOpen:a})},oh=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)},ah=async(e,t,r)=>{for(const n in e)await e[n]();oh({Component:t,createRoot:r})};function H(e,t,r){return e.namespaceURI&&e.namespaceURI!=="http://www.w3.org/1999/xhtml"||(t=Array.isArray(t)?t:[t],!t.includes(e.tagName.toLowerCase()))?!1:r?Object.entries(r).every(([n,o])=>e[n]===o):!0}function _e(e){var t;if(ih(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 ${sh(e)}`)}function ih(e){return e.nodeType===9}function sh(e){return typeof e=="function"?`function ${e.name}`:e===null?"null":String(e)}function mf(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 Ze(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class hf{getAsFile(){return this.file}getAsString(t){typeof this.data=="string"&&t(this.data)}webkitGetAsEntry(){throw new Error("not implemented")}constructor(t,r){Ze(this,"kind",void 0),Ze(this,"type",void 0),Ze(this,"file",null),Ze(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 lh extends Array{add(...t){const r=new hf(t[0],t[1]);return this.push(r),r}clear(){this.splice(0,this.length)}remove(t){this.splice(t,1)}}function Jo(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 uh(e){return new class{getData(r){var n;const o=(n=this.items.find(Jo(r,!0)))!==null&&n!==void 0?n:this.items.find(Jo(r,!1));let a="";return o?.getAsString(i=>{a=i}),a}setData(r,n){const o=this.items.findIndex(Jo(r,!0)),a=new hf(n,r);o>=0?this.items.splice(o,1,a):this.items.push(a)}clearData(r){if(r){const n=this.items.findIndex(Jo(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(){Ze(this,"dropEffect","none"),Ze(this,"effectAllowed","uninitialized"),Ze(this,"items",new lh),Ze(this,"files",us(e,[]))}}}function cs(e,t=[]){const r=typeof e.DataTransfer>"u"?uh(e):new e.DataTransfer;return Object.defineProperty(r,"files",{get:()=>us(e,t)}),r}async function ch(e,t){return t.kind==="file"?t.getAsFile():new e.Blob([await new Promise(r=>t.getAsString(r))],{type:t.type})}function bf(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function vf(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){bf(this,"data",void 0),this.data=o}}(r)}const xt=Symbol("Manage ClipboardSub");function $s(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=>mf(i,e.FileReader)))}return n}async write(n){this.items=n}async writeText(n){this.items=[vf(e,n)]}constructor(...n){super(...n),bf(this,"items",[])}},{[xt]:t})}function ds(e){return!!e?.[xt]}function dh(e){if(ds(e.navigator.clipboard))return e.navigator.clipboard[xt];const t=Object.getOwnPropertyDescriptor(e.navigator,"clipboard");let r;const n={resetClipboardStub:()=>{r=$s(e,n)},detachClipboardStub:()=>{t?Object.defineProperty(e.navigator,"clipboard",t):Object.defineProperty(e.navigator,"clipboard",{value:void 0,configurable:!0})}};return r=$s(e,n),Object.defineProperty(e.navigator,"clipboard",{get:()=>r,configurable:!0}),r[xt]}function fh(e){ds(e.navigator.clipboard)&&e.navigator.clipboard[xt].resetClipboardStub()}function ph(e){ds(e.navigator.clipboard)&&e.navigator.clipboard[xt].detachClipboardStub()}async function mh(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=>mf(s,t.FileReader)));return o}async function yf(e,t){const r=_e(e),n=r.navigator.clipboard,o=[];for(let i=0;i<t.items.length;i++){const s=t.items[i],l=await ch(r,s);o.push(vf(r,l))}if(!(n&&await n.write(o).then(()=>!0,()=>!1)))throw new Error("The Clipboard API is unavailable.")}const ga=globalThis;typeof ga.afterEach=="function"&&ga.afterEach(()=>fh(globalThis.window));typeof ga.afterAll=="function"&&ga.afterAll(()=>ph(globalThis.window));const gf=["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(gf)}function hh(e){return new e.constructor(e.type,e)}function Ge(e){for(let r=e;r;r=r.parentElement)if(H(r,["button","input","select","textarea","optgroup","option"])){if(r.hasAttribute("disabled"))return!0}else if(H(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 Vo(e){const t=e.activeElement;return t?.shadowRoot?Vo(t.shadowRoot):Ge(t)?e.ownerDocument?e.ownerDocument.body:e.body:t}function Ha(e){var t;return(t=Vo(e))!==null&&t!==void 0?t:e.body}function bh(e,t){let r=e;do{if(t(r))return r;r=r.parentElement}while(r&&r!==e.ownerDocument.body)}function mt(e){return e.hasAttribute("contenteditable")&&(e.getAttribute("contenteditable")=="true"||e.getAttribute("contenteditable")=="")}function Io(e){const t=vh(e);return t&&(t.closest('[contenteditable=""]')||t.closest('[contenteditable="true"]'))}function vh(e){return e.nodeType===1?e:e.parentElement}var Rf=(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})(Rf||{});function wf(e){return H(e,"button")||H(e,"input")&&e.type in Rf}function qt(e){return Cf(e)&&!e.readOnly||mt(e)}var Ef=(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})(Ef||{});function Cf(e){return H(e,"textarea")||H(e,"input")&&e.type in Ef}function Me(e){return xf(e)&&Cf(e)}function yh(e){return xf(e)&&wf(e)}function xf(e){return e.nodeType===1}function gh(e){const t=e.ownerDocument.getSelection();if(t?.focusNode&&Me(e)){const n=Io(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 Se={},ia={exports:{}};ia.exports;var Ls;function qf(){return Ls||(Ls=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,c]of Object.entries(l))i[u]={open:`\x1B[${c[0]}m`,close:`\x1B[${c[1]}m`},l[u]=i[u],a.set(c[0],c[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 c=Number.parseInt(u,16);return[c>>16&255,c>>8&255,c&255]},enumerable:!1},hexToAnsi256:{value:s=>i.rgbToAnsi256(...i.hexToRgb(s)),enumerable:!1}}),i}Object.defineProperty(e,"exports",{enumerable:!0,get:o})})(ia)),ia.exports}var ot={},Fs;function $a(){if(Fs)return ot;Fs=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,c,f=": "){let d="",b=a.next();if(!b.done){d+=i.spacingOuter;const v=s+i.indent;for(;!b.done;){const R=c(b.value[0],i,v,l,u),S=c(b.value[1],i,v,l,u);d+=v+R+f+S,b=a.next(),b.done?i.min||(d+=","):d+=","+i.spacingInner}d+=i.spacingOuter+s}return d}function r(a,i,s,l,u,c){let f="",d=a.next();if(!d.done){f+=i.spacingOuter;const b=s+i.indent;for(;!d.done;)f+=b+c(d.value,i,b,l,u),d=a.next(),d.done?i.min||(f+=","):f+=","+i.spacingInner;f+=i.spacingOuter+s}return f}function n(a,i,s,l,u,c){let f="";if(a.length){f+=i.spacingOuter;const d=s+i.indent;for(let b=0;b<a.length;b++)f+=d,b in a&&(f+=c(a[b],i,d,l,u)),b<a.length-1?f+=","+i.spacingInner:i.min||(f+=",");f+=i.spacingOuter+s}return f}function o(a,i,s,l,u,c){let f="";const d=e(a,i.compareKeys);if(d.length){f+=i.spacingOuter;const b=s+i.indent;for(let v=0;v<d.length;v++){const R=d[v],S=c(R,i,b,l,u),p=c(a[R],i,b,l,u);f+=b+S+": "+p,v<d.length-1?f+=","+i.spacingInner:i.min||(f+=",")}f+=i.spacingOuter+s}return f}return ot}var De={},Us;function Rh(){if(Us)return De;Us=1,Object.defineProperty(De,"__esModule",{value:!0}),De.test=De.serialize=De.default=void 0;var e=$a(),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,c,f,d,b,v)=>{const R=u.toString();return R==="ArrayContaining"||R==="ArrayNotContaining"?++d>c.maxDepth?"["+R+"]":R+o+"["+(0,e.printListItems)(u.sample,c,f,d,b,v)+"]":R==="ObjectContaining"||R==="ObjectNotContaining"?++d>c.maxDepth?"["+R+"]":R+o+"{"+(0,e.printObjectProperties)(u.sample,c,f,d,b,v)+"}":R==="StringMatching"||R==="StringNotMatching"||R==="StringContaining"||R==="StringNotContaining"?R+o+v(u.sample,c,f,d,b):u.toAsymmetricMatcher()};De.serialize=a;const i=u=>u&&u.$$typeof===n;De.test=i;var l={serialize:a,test:i};return De.default=l,De}var je={},Wa,zs;function wh(){return zs||(zs=1,Wa=({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")}),Wa}var Vs;function Eh(){if(Vs)return je;Vs=1,Object.defineProperty(je,"__esModule",{value:!0}),je.test=je.serialize=je.default=void 0;var e=r(wh()),t=r(qf());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)());je.test=o;const a=(l,u,c,f,d,b)=>b(n(l),u,c,f,d);je.serialize=a;var s={serialize:a,test:o};return je.default=s,je}var Be={},Hs;function Ch(){if(Hs)return Be;Hs=1,Object.defineProperty(Be,"__esModule",{value:!0}),Be.test=Be.serialize=Be.default=void 0;var e=$a();const t=" ",r=["DOMStringMap","NamedNodeMap"],n=/^(HTML\w*Collection|NodeList)$/,o=c=>r.indexOf(c)!==-1||n.test(c),a=c=>c&&c.constructor&&!!c.constructor.name&&o(c.constructor.name);Be.test=a;const i=c=>c.constructor.name==="NamedNodeMap",s=(c,f,d,b,v,R)=>{const S=c.constructor.name;return++b>f.maxDepth?"["+S+"]":(f.min?"":S+t)+(r.indexOf(S)!==-1?"{"+(0,e.printObjectProperties)(i(c)?Array.from(c).reduce((p,q)=>(p[q.name]=q.value,p),{}):{...c},f,d,b,v,R)+"}":"["+(0,e.printListItems)(Array.from(c),f,d,b,v,R)+"]")};Be.serialize=s;var u={serialize:s,test:a};return Be.default=u,Be}var $e={},ve={},Qo={},Ws;function xh(){if(Ws)return Qo;Ws=1,Object.defineProperty(Qo,"__esModule",{value:!0}),Qo.default=e;function e(t){return t.replace(/</g,"&lt;").replace(/>/g,"&gt;")}return Qo}var Gs;function ps(){if(Gs)return ve;Gs=1,Object.defineProperty(ve,"__esModule",{value:!0}),ve.printText=ve.printProps=ve.printElementAsLeaf=ve.printElement=ve.printComment=ve.printChildren=void 0;var e=t(xh());function t(l){return l&&l.__esModule?l:{default:l}}const r=(l,u,c,f,d,b,v)=>{const R=f+c.indent,S=c.colors;return l.map(p=>{const q=u[p];let _=v(q,c,R,d,b);return typeof q!="string"&&(_.indexOf(`
245
- `)!==-1&&(_=c.spacingOuter+R+_+c.spacingOuter+f),_="{"+_+"}"),c.spacingInner+f+S.prop.open+p+S.prop.close+"="+S.value.open+_+S.value.close}).join("")};ve.printProps=r;const n=(l,u,c,f,d,b)=>l.map(v=>u.spacingOuter+c+(typeof v=="string"?o(v,u):b(v,u,c,f,d))).join("");ve.printChildren=n;const o=(l,u)=>{const c=u.colors.content;return c.open+(0,e.default)(l)+c.close};ve.printText=o;const a=(l,u)=>{const c=u.colors.comment;return c.open+"<!--"+(0,e.default)(l)+"-->"+c.close};ve.printComment=a;const i=(l,u,c,f,d)=>{const b=f.colors.tag;return b.open+"<"+l+(u&&b.close+u+f.spacingOuter+d+b.open)+(c?">"+b.close+c+f.spacingOuter+d+b.open+"</"+l:(u&&!f.min?"":" ")+"/")+">"+b.close};ve.printElement=i;const s=(l,u)=>{const c=u.colors.tag;return c.open+"<"+l+c.close+" …"+c.open+" />"+c.close};return ve.printElementAsLeaf=s,ve}var Ks;function qh(){if(Ks)return $e;Ks=1,Object.defineProperty($e,"__esModule",{value:!0}),$e.test=$e.serialize=$e.default=void 0;var e=ps();const t=1,r=3,n=8,o=11,a=/^((HTML|SVG)\w*)?Element$/,i=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("-")||i(R);return p===t&&(a.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)};$e.test=l;function u(R){return R.nodeType===r}function c(R){return R.nodeType===n}function f(R){return R.nodeType===o}const d=(R,S,p,q,_,T)=>{if(u(R))return(0,e.printText)(R.data,S);if(c(R))return(0,e.printComment)(R.data,S);const P=f(R)?"DocumentFragment":R.tagName.toLowerCase();return++q>S.maxDepth?(0,e.printElementAsLeaf)(P,S):(0,e.printElement)(P,(0,e.printProps)(f(R)?[]:Array.from(R.attributes).map(y=>y.name).sort(),f(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)};$e.serialize=d;var v={serialize:d,test:l};return $e.default=v,$e}var Le={},Ys;function _h(){if(Ys)return Le;Ys=1,Object.defineProperty(Le,"__esModule",{value:!0}),Le.test=Le.serialize=Le.default=void 0;var e=$a();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__@@",c=g=>"Immutable."+g,f=g=>"["+g+"]",d=" ",b="…",v=(g,E,O,D,j,$,A)=>++D>E.maxDepth?f(c(A)):c(A)+d+"{"+(0,e.printIteratorEntries)(g.entries(),E,O,D,j,$)+"}";function R(g){let E=0;return{next(){if(E<g._keys.length){const O=g._keys[E++];return{done:!1,value:[O,g.get(O)]}}return{done:!0,value:void 0}}}}const S=(g,E,O,D,j,$)=>{const A=c(g._name||"Record");return++D>E.maxDepth?f(A):A+d+"{"+(0,e.printIteratorEntries)(R(g),E,O,D,j,$)+"}"},p=(g,E,O,D,j,$)=>{const A=c("Seq");return++D>E.maxDepth?f(A):g[n]?A+d+"{"+(g._iter||g._object?(0,e.printIteratorEntries)(g.entries(),E,O,D,j,$):b)+"}":A+d+"["+(g._iter||g._array||g._collection||g._iterable?(0,e.printIteratorValues)(g.values(),E,O,D,j,$):b)+"]"},q=(g,E,O,D,j,$,A)=>++D>E.maxDepth?f(c(A)):c(A)+d+"["+(0,e.printIteratorValues)(g.values(),E,O,D,j,$)+"]",_=(g,E,O,D,j,$)=>g[o]?v(g,E,O,D,j,$,g[a]?"OrderedMap":"Map"):g[r]?q(g,E,O,D,j,$,"List"):g[l]?q(g,E,O,D,j,$,g[a]?"OrderedSet":"Set"):g[u]?q(g,E,O,D,j,$,"Stack"):g[s]?p(g,E,O,D,j,$):S(g,E,O,D,j,$);Le.serialize=_;const T=g=>g&&(g[t]===!0||g[i]===!0);Le.test=T;var y={serialize:_,test:T};return Le.default=y,Le}var Fe={},Zo={exports:{}},ee={};/** @license React v17.0.2
246
- * react-is.production.min.js
247
- *
248
- * Copyright (c) Facebook, Inc. and its affiliates.
249
- *
250
- * This source code is licensed under the MIT license found in the
251
- * LICENSE file in the root directory of this source tree.
252
- */var Xs;function Ph(){if(Xs)return ee;Xs=1;var e=60103,t=60106,r=60107,n=60108,o=60114,a=60109,i=60110,s=60112,l=60113,u=60120,c=60115,f=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"),a=p("react.provider"),i=p("react.context"),s=p("react.forward_ref"),l=p("react.suspense"),u=p("react.suspense_list"),c=p("react.memo"),f=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 i:case s:case f:case c:case a:return A;default:return k}}case t:return k}}}var _=a,T=e,P=s,y=r,g=f,E=c,O=t,D=o,j=n,$=l;return ee.ContextConsumer=i,ee.ContextProvider=_,ee.Element=T,ee.ForwardRef=P,ee.Fragment=y,ee.Lazy=g,ee.Memo=E,ee.Portal=O,ee.Profiler=D,ee.StrictMode=j,ee.Suspense=$,ee.isAsyncMode=function(){return!1},ee.isConcurrentMode=function(){return!1},ee.isContextConsumer=function(A){return q(A)===i},ee.isContextProvider=function(A){return q(A)===a},ee.isElement=function(A){return typeof A=="object"&&A!==null&&A.$$typeof===e},ee.isForwardRef=function(A){return q(A)===s},ee.isFragment=function(A){return q(A)===r},ee.isLazy=function(A){return q(A)===f},ee.isMemo=function(A){return q(A)===c},ee.isPortal=function(A){return q(A)===t},ee.isProfiler=function(A){return q(A)===o},ee.isStrictMode=function(A){return q(A)===n},ee.isSuspense=function(A){return q(A)===l},ee.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===f||A.$$typeof===c||A.$$typeof===a||A.$$typeof===i||A.$$typeof===s||A.$$typeof===v||A.$$typeof===d||A[0]===b)},ee.typeOf=q,ee}var te={};/** @license React v17.0.2
253
- * react-is.development.js
254
- *
255
- * Copyright (c) Facebook, Inc. and its affiliates.
256
- *
257
- * This source code is licensed under the MIT license found in the
258
- * LICENSE file in the root directory of this source tree.
259
- */var Js;function Th(){return Js||(Js=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,c=60115,f=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"),a=p("react.provider"),i=p("react.context"),s=p("react.forward_ref"),l=p("react.suspense"),u=p("react.suspense_list"),c=p("react.memo"),f=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 _(I){return!!(typeof I=="string"||typeof I=="function"||I===r||I===o||I===R||I===n||I===l||I===u||I===S||q||typeof I=="object"&&I!==null&&(I.$$typeof===f||I.$$typeof===c||I.$$typeof===a||I.$$typeof===i||I.$$typeof===s||I.$$typeof===v||I.$$typeof===d||I[0]===b))}function T(I){if(typeof I=="object"&&I!==null){var X=I.$$typeof;switch(X){case e:var W=I.type;switch(W){case r:case o:case n:case l:case u:return W;default:var ie=W&&W.$$typeof;switch(ie){case i:case s:case f:case c:case a:return ie;default:return X}}case t:return X}}}var P=i,y=a,g=e,E=s,O=r,D=f,j=c,$=t,A=o,k=n,F=l,Z=!1,G=!1;function se(I){return Z||(Z=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")),!1}function ye(I){return G||(G=!0,console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")),!1}function M(I){return T(I)===i}function U(I){return T(I)===a}function Y(I){return typeof I=="object"&&I!==null&&I.$$typeof===e}function B(I){return T(I)===s}function ce(I){return T(I)===r}function le(I){return T(I)===f}function he(I){return T(I)===c}function Ne(I){return T(I)===t}function oe(I){return T(I)===o}function C(I){return T(I)===n}function L(I){return T(I)===l}te.ContextConsumer=P,te.ContextProvider=y,te.Element=g,te.ForwardRef=E,te.Fragment=O,te.Lazy=D,te.Memo=j,te.Portal=$,te.Profiler=A,te.StrictMode=k,te.Suspense=F,te.isAsyncMode=se,te.isConcurrentMode=ye,te.isContextConsumer=M,te.isContextProvider=U,te.isElement=Y,te.isForwardRef=B,te.isFragment=ce,te.isLazy=le,te.isMemo=he,te.isPortal=Ne,te.isProfiler=oe,te.isStrictMode=C,te.isSuspense=L,te.isValidElementType=_,te.typeOf=T})()),te}var Qs;function Sh(){return Qs||(Qs=1,process.env.NODE_ENV==="production"?Zo.exports=Ph():Zo.exports=Th()),Zo.exports}var Zs;function Ah(){if(Zs)return Fe;Zs=1,Object.defineProperty(Fe,"__esModule",{value:!0}),Fe.test=Fe.serialize=Fe.default=void 0;var e=n(Sh()),t=ps();function r(f){if(typeof WeakMap!="function")return null;var d=new WeakMap,b=new WeakMap;return(r=function(v){return v?b:d})(f)}function n(f,d){if(f&&f.__esModule)return f;if(f===null||typeof f!="object"&&typeof f!="function")return{default:f};var b=r(d);if(b&&b.has(f))return b.get(f);var v={},R=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var S in f)if(S!=="default"&&Object.prototype.hasOwnProperty.call(f,S)){var p=R?Object.getOwnPropertyDescriptor(f,S):null;p&&(p.get||p.set)?Object.defineProperty(v,S,p):v[S]=f[S]}return v.default=f,b&&b.set(f,v),v}const o=(f,d=[])=>(Array.isArray(f)?f.forEach(b=>{o(b,d)}):f!=null&&f!==!1&&d.push(f),d),a=f=>{const d=f.type;if(typeof d=="string")return d;if(typeof d=="function")return d.displayName||d.name||"Unknown";if(e.isFragment(f))return"React.Fragment";if(e.isSuspense(f))return"React.Suspense";if(typeof d=="object"&&d!==null){if(e.isContextProvider(f))return"Context.Provider";if(e.isContextConsumer(f))return"Context.Consumer";if(e.isForwardRef(f)){if(d.displayName)return d.displayName;const b=d.render.displayName||d.render.name||"";return b!==""?"ForwardRef("+b+")":"ForwardRef"}if(e.isMemo(f)){const b=d.displayName||d.type.displayName||d.type.name||"";return b!==""?"Memo("+b+")":"Memo"}}return"UNDEFINED"},i=f=>{const{props:d}=f;return Object.keys(d).filter(b=>b!=="children"&&d[b]!==void 0).sort()},s=(f,d,b,v,R,S)=>++v>d.maxDepth?(0,t.printElementAsLeaf)(a(f),d):(0,t.printElement)(a(f),(0,t.printProps)(i(f),f.props,d,b+d.indent,v,R,S),(0,t.printChildren)(o(f.props.children),d,b+d.indent,v,R,S),d,b);Fe.serialize=s;const l=f=>f!=null&&e.isElement(f);Fe.test=l;var c={serialize:s,test:l};return Fe.default=c,Fe}var Ue={},el;function Oh(){if(el)return Ue;el=1,Object.defineProperty(Ue,"__esModule",{value:!0}),Ue.test=Ue.serialize=Ue.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:c}=u;return c?Object.keys(c).filter(f=>c[f]!==void 0).sort():[]},a=(u,c,f,d,b,v)=>++d>c.maxDepth?(0,e.printElementAsLeaf)(u.type,c):(0,e.printElement)(u.type,u.props?(0,e.printProps)(o(u),u.props,c,f+c.indent,d,b,v):"",u.children?(0,e.printChildren)(u.children,c,f+c.indent,d,b,v):"",c,f);Ue.serialize=a;const i=u=>u&&u.$$typeof===n;Ue.test=i;var l={serialize:a,test:i};return Ue.default=l,Ue}var tl;function Mh(){if(tl)return Se;tl=1,Object.defineProperty(Se,"__esModule",{value:!0}),Se.default=Se.DEFAULT_OPTIONS=void 0,Se.format=he,Se.plugins=void 0;var e=u(qf()),t=$a(),r=u(Rh()),n=u(Eh()),o=u(Ch()),a=u(qh()),i=u(_h()),s=u(Ah()),l=u(Oh());function u(C){return C&&C.__esModule?C:{default:C}}const c=Object.prototype.toString,f=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(L,I){super(L),this.stack=I,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,L){return L?"[Function "+(C.name||"anonymous")+"]":"[Function]"}function g(C){return String(C).replace(S,"Symbol($1)")}function E(C){return"["+d.call(C)+"]"}function O(C,L,I,X){if(C===!0||C===!1)return""+C;if(C===void 0)return"undefined";if(C===null)return"null";const W=typeof C;if(W==="number")return T(C);if(W==="bigint")return P(C);if(W==="string")return X?'"'+C.replace(/"|\\/g,"\\$&")+'"':'"'+C+'"';if(W==="function")return y(C,L);if(W==="symbol")return g(C);const ie=c.call(C);return ie==="[object WeakMap]"?"WeakMap {}":ie==="[object WeakSet]"?"WeakSet {}":ie==="[object Function]"||ie==="[object GeneratorFunction]"?y(C,L):ie==="[object Symbol]"?g(C):ie==="[object Date]"?isNaN(+C)?"Date { NaN }":f.call(C):ie==="[object Error]"?E(C):ie==="[object RegExp]"?I?b.call(C).replace(/[\\^$*+?.()|[\]{}]/g,"\\$&"):b.call(C):C instanceof Error?E(C):null}function D(C,L,I,X,W,ie){if(W.indexOf(C)!==-1)return"[Circular]";W=W.slice(),W.push(C);const de=++X>L.maxDepth,be=L.min;if(L.callToJSON&&!de&&C.toJSON&&typeof C.toJSON=="function"&&!ie)return k(C.toJSON(),L,I,X,W,!0);const ke=c.call(C);return ke==="[object Arguments]"?de?"[Arguments]":(be?"":"Arguments ")+"["+(0,t.printListItems)(C,L,I,X,W,k)+"]":_(ke)?de?"["+C.constructor.name+"]":(be||!L.printBasicPrototype&&C.constructor.name==="Array"?"":C.constructor.name+" ")+"["+(0,t.printListItems)(C,L,I,X,W,k)+"]":ke==="[object Map]"?de?"[Map]":"Map {"+(0,t.printIteratorEntries)(C.entries(),L,I,X,W,k," => ")+"}":ke==="[object Set]"?de?"[Set]":"Set {"+(0,t.printIteratorValues)(C.values(),L,I,X,W,k)+"}":de||R(C)?"["+v(C)+"]":(be||!L.printBasicPrototype&&v(C)==="Object"?"":v(C)+" ")+"{"+(0,t.printObjectProperties)(C,L,I,X,W,k)+"}"}function j(C){return C.serialize!=null}function $(C,L,I,X,W,ie){let de;try{de=j(C)?C.serialize(L,I,X,W,ie,k):C.print(L,be=>k(be,I,X,W,ie),be=>{const ke=X+I.indent;return ke+be.replace(p,`
260
- `+ke)},{edgeSpacing:I.spacingOuter,min:I.min,spacing:I.spacingInner},I.colors)}catch(be){throw new q(be.message,be.stack)}if(typeof de!="string")throw new Error(`pretty-format: Plugin must return type "string" but instead returned "${typeof de}".`);return de}function A(C,L){for(let I=0;I<C.length;I++)try{if(C[I].test(L))return C[I]}catch(X){throw new q(X.message,X.stack)}return null}function k(C,L,I,X,W,ie){const de=A(L.plugins,C);if(de!==null)return $(de,C,L,I,X,W);const be=O(C,L.printFunctionName,L.escapeRegex,L.escapeString);return be!==null?be:D(C,L,I,X,W,ie)}const F={comment:"gray",content:"reset",prop:"yellow",tag:"cyan",value:"green"},Z=Object.keys(F),G={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};Se.DEFAULT_OPTIONS=G;function se(C){if(Object.keys(C).forEach(L=>{if(!G.hasOwnProperty(L))throw new Error(`pretty-format: Unknown option "${L}".`)}),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((L,I)=>{const X=C.theme&&C.theme[I]!==void 0?C.theme[I]:F[I],W=X&&e.default[X];if(W&&typeof W.close=="string"&&typeof W.open=="string")L[I]=W;else throw new Error(`pretty-format: Option "theme" has a key "${I}" whose value "${X}" is undefined in ansi-styles.`);return L},Object.create(null)),M=()=>Z.reduce((C,L)=>(C[L]={close:"",open:""},C),Object.create(null)),U=C=>C&&C.printFunctionName!==void 0?C.printFunctionName:G.printFunctionName,Y=C=>C&&C.escapeRegex!==void 0?C.escapeRegex:G.escapeRegex,B=C=>C&&C.escapeString!==void 0?C.escapeString:G.escapeString,ce=C=>{var L;return{callToJSON:C&&C.callToJSON!==void 0?C.callToJSON:G.callToJSON,colors:C&&C.highlight?ye(C):M(),compareKeys:C&&typeof C.compareKeys=="function"?C.compareKeys:G.compareKeys,escapeRegex:Y(C),escapeString:B(C),indent:C&&C.min?"":le(C&&C.indent!==void 0?C.indent:G.indent),maxDepth:C&&C.maxDepth!==void 0?C.maxDepth:G.maxDepth,min:C&&C.min!==void 0?C.min:G.min,plugins:C&&C.plugins!==void 0?C.plugins:G.plugins,printBasicPrototype:(L=C?.printBasicPrototype)!==null&&L!==void 0?L:!0,printFunctionName:U(C),spacingInner:C&&C.min?" ":`
12
+ `,document.head.appendChild(Qo));const La=({className:e,children:t,dataTestId:r})=>z.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}),Ym=()=>z.jsx(La,{className:"lucide-play-icon lucide-play",dataTestId:"play-icon",children:z.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"})}),Xm=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"}}}},Jm=e=>e.startsWith("Assertion passed")||e.startsWith("Event fired")?{color:"#0d542b",fontWeight:"700"}:e.startsWith("Test failed")?{color:"#fb2c36",fontWeight:"700"}:{},Qm=({node:e,depth:t,id:r,runTest:n})=>{const o=Xm(e);return z.jsxs("li",{style:{marginBottom:"4px",marginLeft:t*6,...o.container},"data-testid":`test-list-item-${r}`,children:[z.jsxs("div",{style:{display:"flex",alignItems:"left",justifyContent:"space-between",padding:"4px 6px",borderRadius:"4px",...o.item},children:[z.jsxs("span",{style:{fontWeight:"500",color:"#374151",maxWidth:"220px"},children:[e.name," ",e.only&&z.jsxs("span",{style:{color:"#2563eb"},"data-testid":`only-indicator-${r}`,children:[" ","(only)"]}),e.skip&&z.jsxs("span",{style:{color:"#6b7280"},"data-testid":`skip-indicator-${r}`,children:[" ","(skipped)"]})]}),z.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"?z.jsx(Km,{}):z.jsx(Ym,{})})]}),e.logs&&e.logs.length>0&&z.jsx("ul",{style:{borderRadius:"4px",maxHeight:"260px",overflowY:"auto",padding:0,background:"#f3f4f6",listStyle:"none",marginTop:"4px",textAlign:"left"},children:e.logs.map((a,i)=>z.jsx("li",{style:{fontSize:"12px",padding:"4px 6px",borderBottom:"1px solid #d1d5db",color:"#374151",...Jm(a)},children:a},i))})]},e.name)},Zm=()=>z.jsx(La,{className:"lucide-chevron-down-icon lucide-chevron-down",dataTestId:"chevron-down-icon",children:z.jsx("path",{d:"m6 9 6 6 6-6"})}),eh=()=>z.jsx(La,{className:"lucide-chevron-right-icon lucide-chevron-right",dataTestId:"chevron-right-icon",children:z.jsx("path",{d:"m9 18 6-6-6-6"})}),th=({tests:e,runTest:t})=>{const[r,n]=Mo.useState({}),o=s=>n(l=>({...l,[s]:!l[s]})),a=(s,l=0)=>{if(s.type==="test")return z.jsx(Qm,{node:s,depth:l,id:s.id,runTest:()=>t(s.id)},s.id);const u=r[s.id];return z.jsxs("li",{style:{marginLeft:l*12},children:[z.jsxs("div",{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:[s.name,u?z.jsx(eh,{}):z.jsx(Zm,{})]}),!u&&s.childrenNodes&&s.childrenNodes.length>0&&z.jsx("ul",{style:{listStyle:"none",padding:0,margin:0},children:s.childrenNodes.map(c=>a(c,l+1))})]},s.id)},i=Wm(e);return z.jsx("ul",{style:{listStyle:"none",padding:0,margin:0},children:i.map(s=>a(s))})},rh={left:{left:0,borderTopRightRadius:"6px",borderBottomRightRadius:"6px",borderTopLeftRadius:"0",borderBottomLeftRadius:"0"},right:{right:0,borderTopLeftRadius:"6px",borderBottomLeftRadius:"6px",borderTopRightRadius:"0",borderBottomRightRadius:"0"}},nh=({setOpen:e,position:t})=>z.jsx("button",{"aria-label":"Open TWD sidebar",style:{position:"fixed",top:"50%",transform:"translateY(-50%)",background:"#3b82f6",color:"white",padding:"6px 10px",cursor:"pointer",fontSize:"12px",...rh[t]},onClick:()=>e(!0),children:"TWD"}),oh=({isOpen:e,position:t})=>{Mo.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])},ah=()=>z.jsxs(La,{className:"lucide-wifi-pen-icon lucide-wifi-pen",dataTestId:"wifi-pen-icon",children:[z.jsx("path",{d:"M2 8.82a15 15 0 0 1 20 0"}),z.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"}),z.jsx("path",{d:"M5 12.859a10 10 0 0 1 10.5-2.222"}),z.jsx("path",{d:"M8.5 16.429a5 5 0 0 1 3-1.406"})]}),ih=()=>{const e=Pd.getRequestMockRules(),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 z.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:[z.jsx(ah,{}),z.jsxs("span",{style:{flex:1},children:["Rules: ",t.length,"/",e.length," triggered"]}),z.jsx("span",{style:{fontSize:"10px",color:"#94a3b8",fontWeight:"500"},children:"View rules in console"})]})},sh={left:{left:0,borderRight:"1px solid #e5e7eb"},right:{right:0,borderLeft:"1px solid #e5e7eb"}},lh='-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"',uh=({open:e,position:t="left"})=>{const[r,n]=Mo.useState(0),[o,a]=Mo.useState(e);oh({isOpen:o,position:t});const i=new To.TestRunner({onStart:c=>{c.status="running",n(f=>f+1)},onPass:c=>{c.status="pass",n(f=>f+1)},onFail:(c,f)=>{c.status="fail",console.error("Test failed:",c.name,f),c.logs.push(`Test failed: ${f.message}`),n(d=>d+1)},onSkip:c=>{c.status="skip",n(f=>f+1)}}),s=async()=>{await i.runAll()},l=async c=>{const f=Array.from(To.handlers.values()).filter(d=>d.type==="test").find(d=>d.id===c);f&&await i.runSingle(f.id)},u=Array.from(To.handlers.values());return o?z.jsxs("div",{style:{fontFamily:lh,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,...sh[t]},"data-testid":"twd-sidebar",children:[z.jsxs("div",{style:{padding:"8px",background:"#f9fafb",position:"sticky",top:0,zIndex:1e3},children:[z.jsxs("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center",marginBottom:"14px"},children:[z.jsx("button",{onClick:s,style:{background:"#3b82f6",color:"white",padding:"4px 8px",borderRadius:"4px",border:"none",cursor:"pointer"},children:"Run All"}),z.jsx("button",{"aria-label":"Close sidebar",style:{background:"transparent",border:"none",cursor:"pointer",fontSize:"14px"},onClick:()=>a(!1),children:"✖"})]}),z.jsx(ih,{})]}),z.jsx("div",{style:{padding:"8px"},children:z.jsx(th,{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})})]}):z.jsx(nh,{position:t,setOpen:a})},ch=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)},dh=async(e,t,r)=>{for(const n in e)await e[n]();ch({Component:t,createRoot:r})};function H(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 qe(e){var t;if(fh(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 ${ph(e)}`)}function fh(e){return e.nodeType===9}function ph(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 ps(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 Qe(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){Qe(this,"kind",void 0),Qe(this,"type",void 0),Qe(this,"file",null),Qe(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 mh 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 Zo(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 hh(e){return new class{getData(r){var n;const o=(n=this.items.find(Zo(r,!0)))!==null&&n!==void 0?n:this.items.find(Zo(r,!1));let a="";return o?.getAsString(i=>{a=i}),a}setData(r,n){const o=this.items.findIndex(Zo(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(Zo(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(){Qe(this,"dropEffect","none"),Qe(this,"effectAllowed","uninitialized"),Qe(this,"items",new mh),Qe(this,"files",ps(e,[]))}}}function ms(e,t=[]){const r=typeof e.DataTransfer>"u"?hh(e):new e.DataTransfer;return Object.defineProperty(r,"files",{get:()=>ps(e,t)}),r}async function bh(e,t){return t.kind==="file"?t.getAsFile():new e.Blob([await new Promise(r=>t.getAsString(r))],{type:t.type})}function Rf(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function wf(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){Rf(this,"data",void 0),this.data=o}}(r)}const qt=Symbol("Manage ClipboardSub");function zs(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=[wf(e,n)]}constructor(...n){super(...n),Rf(this,"items",[])}},{[qt]:t})}function hs(e){return!!e?.[qt]}function vh(e){if(hs(e.navigator.clipboard))return e.navigator.clipboard[qt];const t=Object.getOwnPropertyDescriptor(e.navigator,"clipboard");let r;const n={resetClipboardStub:()=>{r=zs(e,n)},detachClipboardStub:()=>{t?Object.defineProperty(e.navigator,"clipboard",t):Object.defineProperty(e.navigator,"clipboard",{value:void 0,configurable:!0})}};return r=zs(e,n),Object.defineProperty(e.navigator,"clipboard",{get:()=>r,configurable:!0}),r[qt]}function yh(e){hs(e.navigator.clipboard)&&e.navigator.clipboard[qt].resetClipboardStub()}function gh(e){hs(e.navigator.clipboard)&&e.navigator.clipboard[qt].detachClipboardStub()}async function Rh(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=ms(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=qe(e),n=r.navigator.clipboard,o=[];for(let i=0;i<t.items.length;i++){const s=t.items[i],l=await bh(r,s);o.push(wf(r,l))}if(!(n&&await n.write(o).then(()=>!0,()=>!1)))throw new Error("The Clipboard API is unavailable.")}const Ra=globalThis;typeof Ra.afterEach=="function"&&Ra.afterEach(()=>yh(globalThis.window));typeof Ra.afterAll=="function"&&Ra.afterAll(()=>gh(globalThis.window));const Cf=["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 bs(e){return e.matches(Cf)}function wh(e){return new e.constructor(e.type,e)}function We(e){for(let r=e;r;r=r.parentElement)if(H(r,["button","input","select","textarea","optgroup","option"])){if(r.hasAttribute("disabled"))return!0}else if(H(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 Wo(e){const t=e.activeElement;return t?.shadowRoot?Wo(t.shadowRoot):We(t)?e.ownerDocument?e.ownerDocument.body:e.body:t}function Ga(e){var t;return(t=Wo(e))!==null&&t!==void 0?t:e.body}function Eh(e,t){let r=e;do{if(t(r))return r;r=r.parentElement}while(r&&r!==e.ownerDocument.body)}function pt(e){return e.hasAttribute("contenteditable")&&(e.getAttribute("contenteditable")=="true"||e.getAttribute("contenteditable")=="")}function ko(e){const t=Ch(e);return t&&(t.closest('[contenteditable=""]')||t.closest('[contenteditable="true"]'))}function Ch(e){return e.nodeType===1?e:e.parentElement}var xf=(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})(xf||{});function qf(e){return H(e,"button")||H(e,"input")&&e.type in xf}function _t(e){return Pf(e)&&!e.readOnly||pt(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 H(e,"textarea")||H(e,"input")&&e.type in _f}function Oe(e){return Tf(e)&&Pf(e)}function xh(e){return Tf(e)&&qf(e)}function Tf(e){return e.nodeType===1}function qh(e){const t=e.ownerDocument.getSelection();if(t?.focusNode&&Oe(e)){const n=ko(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 Te={},la={exports:{}};la.exports;var Vs;function Sf(){return Vs||(Vs=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,c]of Object.entries(l))i[u]={open:`\x1B[${c[0]}m`,close:`\x1B[${c[1]}m`},l[u]=i[u],a.set(c[0],c[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 c=Number.parseInt(u,16);return[c>>16&255,c>>8&255,c&255]},enumerable:!1},hexToAnsi256:{value:s=>i.rgbToAnsi256(...i.hexToRgb(s)),enumerable:!1}}),i}Object.defineProperty(e,"exports",{enumerable:!0,get:o})})(la)),la.exports}var nt={},Hs;function Fa(){if(Hs)return nt;Hs=1,Object.defineProperty(nt,"__esModule",{value:!0}),nt.printIteratorEntries=t,nt.printIteratorValues=r,nt.printListItems=n,nt.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,c,f=": "){let d="",b=a.next();if(!b.done){d+=i.spacingOuter;const v=s+i.indent;for(;!b.done;){const R=c(b.value[0],i,v,l,u),S=c(b.value[1],i,v,l,u);d+=v+R+f+S,b=a.next(),b.done?i.min||(d+=","):d+=","+i.spacingInner}d+=i.spacingOuter+s}return d}function r(a,i,s,l,u,c){let f="",d=a.next();if(!d.done){f+=i.spacingOuter;const b=s+i.indent;for(;!d.done;)f+=b+c(d.value,i,b,l,u),d=a.next(),d.done?i.min||(f+=","):f+=","+i.spacingInner;f+=i.spacingOuter+s}return f}function n(a,i,s,l,u,c){let f="";if(a.length){f+=i.spacingOuter;const d=s+i.indent;for(let b=0;b<a.length;b++)f+=d,b in a&&(f+=c(a[b],i,d,l,u)),b<a.length-1?f+=","+i.spacingInner:i.min||(f+=",");f+=i.spacingOuter+s}return f}function o(a,i,s,l,u,c){let f="";const d=e(a,i.compareKeys);if(d.length){f+=i.spacingOuter;const b=s+i.indent;for(let v=0;v<d.length;v++){const R=d[v],S=c(R,i,b,l,u),p=c(a[R],i,b,l,u);f+=b+S+": "+p,v<d.length-1?f+=","+i.spacingInner:i.min||(f+=",")}f+=i.spacingOuter+s}return f}return nt}var ke={},Ws;function _h(){if(Ws)return ke;Ws=1,Object.defineProperty(ke,"__esModule",{value:!0}),ke.test=ke.serialize=ke.default=void 0;var e=Fa(),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,c,f,d,b,v)=>{const R=u.toString();return R==="ArrayContaining"||R==="ArrayNotContaining"?++d>c.maxDepth?"["+R+"]":R+o+"["+(0,e.printListItems)(u.sample,c,f,d,b,v)+"]":R==="ObjectContaining"||R==="ObjectNotContaining"?++d>c.maxDepth?"["+R+"]":R+o+"{"+(0,e.printObjectProperties)(u.sample,c,f,d,b,v)+"}":R==="StringMatching"||R==="StringNotMatching"||R==="StringContaining"||R==="StringNotContaining"?R+o+v(u.sample,c,f,d,b):u.toAsymmetricMatcher()};ke.serialize=a;const i=u=>u&&u.$$typeof===n;ke.test=i;var l={serialize:a,test:i};return ke.default=l,ke}var De={},Ka,Gs;function Ph(){return Gs||(Gs=1,Ka=({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")}),Ka}var Ks;function Th(){if(Ks)return De;Ks=1,Object.defineProperty(De,"__esModule",{value:!0}),De.test=De.serialize=De.default=void 0;var e=r(Ph()),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)());De.test=o;const a=(l,u,c,f,d,b)=>b(n(l),u,c,f,d);De.serialize=a;var s={serialize:a,test:o};return De.default=s,De}var je={},Ys;function Sh(){if(Ys)return je;Ys=1,Object.defineProperty(je,"__esModule",{value:!0}),je.test=je.serialize=je.default=void 0;var e=Fa();const t=" ",r=["DOMStringMap","NamedNodeMap"],n=/^(HTML\w*Collection|NodeList)$/,o=c=>r.indexOf(c)!==-1||n.test(c),a=c=>c&&c.constructor&&!!c.constructor.name&&o(c.constructor.name);je.test=a;const i=c=>c.constructor.name==="NamedNodeMap",s=(c,f,d,b,v,R)=>{const S=c.constructor.name;return++b>f.maxDepth?"["+S+"]":(f.min?"":S+t)+(r.indexOf(S)!==-1?"{"+(0,e.printObjectProperties)(i(c)?Array.from(c).reduce((p,q)=>(p[q.name]=q.value,p),{}):{...c},f,d,b,v,R)+"}":"["+(0,e.printListItems)(Array.from(c),f,d,b,v,R)+"]")};je.serialize=s;var u={serialize:s,test:a};return je.default=u,je}var $e={},ve={},ea={},Xs;function Ah(){if(Xs)return ea;Xs=1,Object.defineProperty(ea,"__esModule",{value:!0}),ea.default=e;function e(t){return t.replace(/</g,"&lt;").replace(/>/g,"&gt;")}return ea}var Js;function vs(){if(Js)return ve;Js=1,Object.defineProperty(ve,"__esModule",{value:!0}),ve.printText=ve.printProps=ve.printElementAsLeaf=ve.printElement=ve.printComment=ve.printChildren=void 0;var e=t(Ah());function t(l){return l&&l.__esModule?l:{default:l}}const r=(l,u,c,f,d,b,v)=>{const R=f+c.indent,S=c.colors;return l.map(p=>{const q=u[p];let _=v(q,c,R,d,b);return typeof q!="string"&&(_.indexOf(`
13
+ `)!==-1&&(_=c.spacingOuter+R+_+c.spacingOuter+f),_="{"+_+"}"),c.spacingInner+f+S.prop.open+p+S.prop.close+"="+S.value.open+_+S.value.close}).join("")};ve.printProps=r;const n=(l,u,c,f,d,b)=>l.map(v=>u.spacingOuter+c+(typeof v=="string"?o(v,u):b(v,u,c,f,d))).join("");ve.printChildren=n;const o=(l,u)=>{const c=u.colors.content;return c.open+(0,e.default)(l)+c.close};ve.printText=o;const a=(l,u)=>{const c=u.colors.comment;return c.open+"<!--"+(0,e.default)(l)+"-->"+c.close};ve.printComment=a;const i=(l,u,c,f,d)=>{const b=f.colors.tag;return b.open+"<"+l+(u&&b.close+u+f.spacingOuter+d+b.open)+(c?">"+b.close+c+f.spacingOuter+d+b.open+"</"+l:(u&&!f.min?"":" ")+"/")+">"+b.close};ve.printElement=i;const s=(l,u)=>{const c=u.colors.tag;return c.open+"<"+l+c.close+" …"+c.open+" />"+c.close};return ve.printElementAsLeaf=s,ve}var Qs;function Oh(){if(Qs)return $e;Qs=1,Object.defineProperty($e,"__esModule",{value:!0}),$e.test=$e.serialize=$e.default=void 0;var e=vs();const t=1,r=3,n=8,o=11,a=/^((HTML|SVG)\w*)?Element$/,i=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("-")||i(R);return p===t&&(a.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)};$e.test=l;function u(R){return R.nodeType===r}function c(R){return R.nodeType===n}function f(R){return R.nodeType===o}const d=(R,S,p,q,_,T)=>{if(u(R))return(0,e.printText)(R.data,S);if(c(R))return(0,e.printComment)(R.data,S);const P=f(R)?"DocumentFragment":R.tagName.toLowerCase();return++q>S.maxDepth?(0,e.printElementAsLeaf)(P,S):(0,e.printElement)(P,(0,e.printProps)(f(R)?[]:Array.from(R.attributes).map(y=>y.name).sort(),f(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)};$e.serialize=d;var v={serialize:d,test:l};return $e.default=v,$e}var Be={},Zs;function Mh(){if(Zs)return Be;Zs=1,Object.defineProperty(Be,"__esModule",{value:!0}),Be.test=Be.serialize=Be.default=void 0;var e=Fa();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__@@",c=g=>"Immutable."+g,f=g=>"["+g+"]",d=" ",b="…",v=(g,E,O,D,j,B,A)=>++D>E.maxDepth?f(c(A)):c(A)+d+"{"+(0,e.printIteratorEntries)(g.entries(),E,O,D,j,B)+"}";function R(g){let E=0;return{next(){if(E<g._keys.length){const O=g._keys[E++];return{done:!1,value:[O,g.get(O)]}}return{done:!0,value:void 0}}}}const S=(g,E,O,D,j,B)=>{const A=c(g._name||"Record");return++D>E.maxDepth?f(A):A+d+"{"+(0,e.printIteratorEntries)(R(g),E,O,D,j,B)+"}"},p=(g,E,O,D,j,B)=>{const A=c("Seq");return++D>E.maxDepth?f(A):g[n]?A+d+"{"+(g._iter||g._object?(0,e.printIteratorEntries)(g.entries(),E,O,D,j,B):b)+"}":A+d+"["+(g._iter||g._array||g._collection||g._iterable?(0,e.printIteratorValues)(g.values(),E,O,D,j,B):b)+"]"},q=(g,E,O,D,j,B,A)=>++D>E.maxDepth?f(c(A)):c(A)+d+"["+(0,e.printIteratorValues)(g.values(),E,O,D,j,B)+"]",_=(g,E,O,D,j,B)=>g[o]?v(g,E,O,D,j,B,g[a]?"OrderedMap":"Map"):g[r]?q(g,E,O,D,j,B,"List"):g[l]?q(g,E,O,D,j,B,g[a]?"OrderedSet":"Set"):g[u]?q(g,E,O,D,j,B,"Stack"):g[s]?p(g,E,O,D,j,B):S(g,E,O,D,j,B);Be.serialize=_;const T=g=>g&&(g[t]===!0||g[i]===!0);Be.test=T;var y={serialize:_,test:T};return Be.default=y,Be}var Le={},ta={exports:{}},ee={};var el;function Ih(){if(el)return ee;el=1;var e=60103,t=60106,r=60107,n=60108,o=60114,a=60109,i=60110,s=60112,l=60113,u=60120,c=60115,f=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"),a=p("react.provider"),i=p("react.context"),s=p("react.forward_ref"),l=p("react.suspense"),u=p("react.suspense_list"),c=p("react.memo"),f=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 i:case s:case f:case c:case a:return A;default:return k}}case t:return k}}}var _=a,T=e,P=s,y=r,g=f,E=c,O=t,D=o,j=n,B=l;return ee.ContextConsumer=i,ee.ContextProvider=_,ee.Element=T,ee.ForwardRef=P,ee.Fragment=y,ee.Lazy=g,ee.Memo=E,ee.Portal=O,ee.Profiler=D,ee.StrictMode=j,ee.Suspense=B,ee.isAsyncMode=function(){return!1},ee.isConcurrentMode=function(){return!1},ee.isContextConsumer=function(A){return q(A)===i},ee.isContextProvider=function(A){return q(A)===a},ee.isElement=function(A){return typeof A=="object"&&A!==null&&A.$$typeof===e},ee.isForwardRef=function(A){return q(A)===s},ee.isFragment=function(A){return q(A)===r},ee.isLazy=function(A){return q(A)===f},ee.isMemo=function(A){return q(A)===c},ee.isPortal=function(A){return q(A)===t},ee.isProfiler=function(A){return q(A)===o},ee.isStrictMode=function(A){return q(A)===n},ee.isSuspense=function(A){return q(A)===l},ee.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===f||A.$$typeof===c||A.$$typeof===a||A.$$typeof===i||A.$$typeof===s||A.$$typeof===v||A.$$typeof===d||A[0]===b)},ee.typeOf=q,ee}var te={};var tl;function Nh(){return tl||(tl=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,c=60115,f=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"),a=p("react.provider"),i=p("react.context"),s=p("react.forward_ref"),l=p("react.suspense"),u=p("react.suspense_list"),c=p("react.memo"),f=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 _(I){return!!(typeof I=="string"||typeof I=="function"||I===r||I===o||I===R||I===n||I===l||I===u||I===S||q||typeof I=="object"&&I!==null&&(I.$$typeof===f||I.$$typeof===c||I.$$typeof===a||I.$$typeof===i||I.$$typeof===s||I.$$typeof===v||I.$$typeof===d||I[0]===b))}function T(I){if(typeof I=="object"&&I!==null){var X=I.$$typeof;switch(X){case e:var W=I.type;switch(W){case r:case o:case n:case l:case u:return W;default:var ie=W&&W.$$typeof;switch(ie){case i:case s:case f:case c:case a:return ie;default:return X}}case t:return X}}}var P=i,y=a,g=e,E=s,O=r,D=f,j=c,B=t,A=o,k=n,F=l,Z=!1,G=!1;function se(I){return Z||(Z=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")),!1}function ye(I){return G||(G=!0,console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")),!1}function M(I){return T(I)===i}function U(I){return T(I)===a}function Y(I){return typeof I=="object"&&I!==null&&I.$$typeof===e}function $(I){return T(I)===s}function ce(I){return T(I)===r}function le(I){return T(I)===f}function he(I){return T(I)===c}function Ie(I){return T(I)===t}function oe(I){return T(I)===o}function C(I){return T(I)===n}function L(I){return T(I)===l}te.ContextConsumer=P,te.ContextProvider=y,te.Element=g,te.ForwardRef=E,te.Fragment=O,te.Lazy=D,te.Memo=j,te.Portal=B,te.Profiler=A,te.StrictMode=k,te.Suspense=F,te.isAsyncMode=se,te.isConcurrentMode=ye,te.isContextConsumer=M,te.isContextProvider=U,te.isElement=Y,te.isForwardRef=$,te.isFragment=ce,te.isLazy=le,te.isMemo=he,te.isPortal=Ie,te.isProfiler=oe,te.isStrictMode=C,te.isSuspense=L,te.isValidElementType=_,te.typeOf=T})()),te}var rl;function kh(){return rl||(rl=1,process.env.NODE_ENV==="production"?ta.exports=Ih():ta.exports=Nh()),ta.exports}var nl;function Dh(){if(nl)return Le;nl=1,Object.defineProperty(Le,"__esModule",{value:!0}),Le.test=Le.serialize=Le.default=void 0;var e=n(kh()),t=vs();function r(f){if(typeof WeakMap!="function")return null;var d=new WeakMap,b=new WeakMap;return(r=function(v){return v?b:d})(f)}function n(f,d){if(f&&f.__esModule)return f;if(f===null||typeof f!="object"&&typeof f!="function")return{default:f};var b=r(d);if(b&&b.has(f))return b.get(f);var v={},R=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var S in f)if(S!=="default"&&Object.prototype.hasOwnProperty.call(f,S)){var p=R?Object.getOwnPropertyDescriptor(f,S):null;p&&(p.get||p.set)?Object.defineProperty(v,S,p):v[S]=f[S]}return v.default=f,b&&b.set(f,v),v}const o=(f,d=[])=>(Array.isArray(f)?f.forEach(b=>{o(b,d)}):f!=null&&f!==!1&&d.push(f),d),a=f=>{const d=f.type;if(typeof d=="string")return d;if(typeof d=="function")return d.displayName||d.name||"Unknown";if(e.isFragment(f))return"React.Fragment";if(e.isSuspense(f))return"React.Suspense";if(typeof d=="object"&&d!==null){if(e.isContextProvider(f))return"Context.Provider";if(e.isContextConsumer(f))return"Context.Consumer";if(e.isForwardRef(f)){if(d.displayName)return d.displayName;const b=d.render.displayName||d.render.name||"";return b!==""?"ForwardRef("+b+")":"ForwardRef"}if(e.isMemo(f)){const b=d.displayName||d.type.displayName||d.type.name||"";return b!==""?"Memo("+b+")":"Memo"}}return"UNDEFINED"},i=f=>{const{props:d}=f;return Object.keys(d).filter(b=>b!=="children"&&d[b]!==void 0).sort()},s=(f,d,b,v,R,S)=>++v>d.maxDepth?(0,t.printElementAsLeaf)(a(f),d):(0,t.printElement)(a(f),(0,t.printProps)(i(f),f.props,d,b+d.indent,v,R,S),(0,t.printChildren)(o(f.props.children),d,b+d.indent,v,R,S),d,b);Le.serialize=s;const l=f=>f!=null&&e.isElement(f);Le.test=l;var c={serialize:s,test:l};return Le.default=c,Le}var Fe={},ol;function jh(){if(ol)return Fe;ol=1,Object.defineProperty(Fe,"__esModule",{value:!0}),Fe.test=Fe.serialize=Fe.default=void 0;var e=vs(),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:c}=u;return c?Object.keys(c).filter(f=>c[f]!==void 0).sort():[]},a=(u,c,f,d,b,v)=>++d>c.maxDepth?(0,e.printElementAsLeaf)(u.type,c):(0,e.printElement)(u.type,u.props?(0,e.printProps)(o(u),u.props,c,f+c.indent,d,b,v):"",u.children?(0,e.printChildren)(u.children,c,f+c.indent,d,b,v):"",c,f);Fe.serialize=a;const i=u=>u&&u.$$typeof===n;Fe.test=i;var l={serialize:a,test:i};return Fe.default=l,Fe}var al;function $h(){if(al)return Te;al=1,Object.defineProperty(Te,"__esModule",{value:!0}),Te.default=Te.DEFAULT_OPTIONS=void 0,Te.format=he,Te.plugins=void 0;var e=u(Sf()),t=Fa(),r=u(_h()),n=u(Th()),o=u(Sh()),a=u(Oh()),i=u(Mh()),s=u(Dh()),l=u(jh());function u(C){return C&&C.__esModule?C:{default:C}}const c=Object.prototype.toString,f=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(L,I){super(L),this.stack=I,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,L){return L?"[Function "+(C.name||"anonymous")+"]":"[Function]"}function g(C){return String(C).replace(S,"Symbol($1)")}function E(C){return"["+d.call(C)+"]"}function O(C,L,I,X){if(C===!0||C===!1)return""+C;if(C===void 0)return"undefined";if(C===null)return"null";const W=typeof C;if(W==="number")return T(C);if(W==="bigint")return P(C);if(W==="string")return X?'"'+C.replace(/"|\\/g,"\\$&")+'"':'"'+C+'"';if(W==="function")return y(C,L);if(W==="symbol")return g(C);const ie=c.call(C);return ie==="[object WeakMap]"?"WeakMap {}":ie==="[object WeakSet]"?"WeakSet {}":ie==="[object Function]"||ie==="[object GeneratorFunction]"?y(C,L):ie==="[object Symbol]"?g(C):ie==="[object Date]"?isNaN(+C)?"Date { NaN }":f.call(C):ie==="[object Error]"?E(C):ie==="[object RegExp]"?I?b.call(C).replace(/[\\^$*+?.()|[\]{}]/g,"\\$&"):b.call(C):C instanceof Error?E(C):null}function D(C,L,I,X,W,ie){if(W.indexOf(C)!==-1)return"[Circular]";W=W.slice(),W.push(C);const de=++X>L.maxDepth,be=L.min;if(L.callToJSON&&!de&&C.toJSON&&typeof C.toJSON=="function"&&!ie)return k(C.toJSON(),L,I,X,W,!0);const Ne=c.call(C);return Ne==="[object Arguments]"?de?"[Arguments]":(be?"":"Arguments ")+"["+(0,t.printListItems)(C,L,I,X,W,k)+"]":_(Ne)?de?"["+C.constructor.name+"]":(be||!L.printBasicPrototype&&C.constructor.name==="Array"?"":C.constructor.name+" ")+"["+(0,t.printListItems)(C,L,I,X,W,k)+"]":Ne==="[object Map]"?de?"[Map]":"Map {"+(0,t.printIteratorEntries)(C.entries(),L,I,X,W,k," => ")+"}":Ne==="[object Set]"?de?"[Set]":"Set {"+(0,t.printIteratorValues)(C.values(),L,I,X,W,k)+"}":de||R(C)?"["+v(C)+"]":(be||!L.printBasicPrototype&&v(C)==="Object"?"":v(C)+" ")+"{"+(0,t.printObjectProperties)(C,L,I,X,W,k)+"}"}function j(C){return C.serialize!=null}function B(C,L,I,X,W,ie){let de;try{de=j(C)?C.serialize(L,I,X,W,ie,k):C.print(L,be=>k(be,I,X,W,ie),be=>{const Ne=X+I.indent;return Ne+be.replace(p,`
14
+ `+Ne)},{edgeSpacing:I.spacingOuter,min:I.min,spacing:I.spacingInner},I.colors)}catch(be){throw new q(be.message,be.stack)}if(typeof de!="string")throw new Error(`pretty-format: Plugin must return type "string" but instead returned "${typeof de}".`);return de}function A(C,L){for(let I=0;I<C.length;I++)try{if(C[I].test(L))return C[I]}catch(X){throw new q(X.message,X.stack)}return null}function k(C,L,I,X,W,ie){const de=A(L.plugins,C);if(de!==null)return B(de,C,L,I,X,W);const be=O(C,L.printFunctionName,L.escapeRegex,L.escapeString);return be!==null?be:D(C,L,I,X,W,ie)}const F={comment:"gray",content:"reset",prop:"yellow",tag:"cyan",value:"green"},Z=Object.keys(F),G={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};Te.DEFAULT_OPTIONS=G;function se(C){if(Object.keys(C).forEach(L=>{if(!G.hasOwnProperty(L))throw new Error(`pretty-format: Unknown option "${L}".`)}),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((L,I)=>{const X=C.theme&&C.theme[I]!==void 0?C.theme[I]:F[I],W=X&&e.default[X];if(W&&typeof W.close=="string"&&typeof W.open=="string")L[I]=W;else throw new Error(`pretty-format: Option "theme" has a key "${I}" whose value "${X}" is undefined in ansi-styles.`);return L},Object.create(null)),M=()=>Z.reduce((C,L)=>(C[L]={close:"",open:""},C),Object.create(null)),U=C=>C&&C.printFunctionName!==void 0?C.printFunctionName:G.printFunctionName,Y=C=>C&&C.escapeRegex!==void 0?C.escapeRegex:G.escapeRegex,$=C=>C&&C.escapeString!==void 0?C.escapeString:G.escapeString,ce=C=>{var L;return{callToJSON:C&&C.callToJSON!==void 0?C.callToJSON:G.callToJSON,colors:C&&C.highlight?ye(C):M(),compareKeys:C&&typeof C.compareKeys=="function"?C.compareKeys:G.compareKeys,escapeRegex:Y(C),escapeString:$(C),indent:C&&C.min?"":le(C&&C.indent!==void 0?C.indent:G.indent),maxDepth:C&&C.maxDepth!==void 0?C.maxDepth:G.maxDepth,min:C&&C.min!==void 0?C.min:G.min,plugins:C&&C.plugins!==void 0?C.plugins:G.plugins,printBasicPrototype:(L=C?.printBasicPrototype)!==null&&L!==void 0?L:!0,printFunctionName:U(C),spacingInner:C&&C.min?" ":`
261
15
  `,spacingOuter:C&&C.min?"":`
262
- `}};function le(C){return new Array(C+1).join(" ")}function he(C,L){if(L&&(se(L),L.plugins)){const X=A(L.plugins,C);if(X!==null)return $(X,C,ce(L),"",0,[])}const I=O(C,U(L),Y(L),B(L));return I!==null?I:D(C,ce(L),"",0,[])}const Ne={AsymmetricMatcher:r.default,ConvertAnsi:n.default,DOMCollection:o.default,DOMElement:a.default,Immutable:i.default,ReactElement:s.default,ReactTestComponent:l.default};Se.plugins=Ne;var oe=he;return Se.default=oe,Se}var _f=Mh(),Ih=Object.prototype.toString;function Nh(e){return typeof e=="function"||Ih.call(e)==="[object Function]"}function kh(e){var t=Number(e);return isNaN(t)?0:t===0||!isFinite(t)?t:(t>0?1:-1)*Math.floor(Math.abs(t))}var Dh=Math.pow(2,53)-1;function jh(e){var t=kh(e);return Math.min(Math.max(t,0),Dh)}function Pe(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=jh(n.length),a=Nh(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 No(e){"@babel/helpers - typeof";return No=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},No(e)}function Bh(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $h(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,Pf(n.key),n)}}function Lh(e,t,r){return t&&$h(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function Fh(e,t,r){return t=Pf(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Pf(e){var t=Uh(e,"string");return No(t)==="symbol"?t:String(t)}function Uh(e,t){if(No(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(No(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var zh=(function(){function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];Bh(this,e),Fh(this,"items",void 0),this.items=t}return Lh(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 Vh=typeof Set>"u"?Set:zh;function pe(e){var t;return(t=e.localName)!==null&&t!==void 0?t:e.tagName.toLowerCase()}var Hh={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"},Wh={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 Gh(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=Wh[t])!==null&&n!==void 0&&n.has(r))})}function Tf(e,t){return Gh(e,t)}function Kh(e){var t=Xh(e);if(t===null||t==="presentation"){var r=Yh(e);if(t!=="presentation"||Tf(e,r||""))return r}return t}function Yh(e){var t=Hh[pe(e)];if(t!==void 0)return t;switch(pe(e)){case"a":case"area":case"link":if(e.hasAttribute("href"))return"link";break;case"img":return e.getAttribute("alt")===""&&!Tf(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 Xh(e){var t=e.getAttribute("role");if(t!==null){var r=t.trim().split(" ")[0];if(r.length>0)return r}return null}function ne(e){return e!==null&&e.nodeType===e.ELEMENT_NODE}function Sf(e){return ne(e)&&pe(e)==="caption"}function sa(e){return ne(e)&&pe(e)==="input"}function Jh(e){return ne(e)&&pe(e)==="optgroup"}function Qh(e){return ne(e)&&pe(e)==="select"}function Zh(e){return ne(e)&&pe(e)==="table"}function eb(e){return ne(e)&&pe(e)==="textarea"}function tb(e){var t=e.ownerDocument===null?e:e.ownerDocument,r=t.defaultView;if(r===null)throw new TypeError("no window available");return r}function rb(e){return ne(e)&&pe(e)==="fieldset"}function nb(e){return ne(e)&&pe(e)==="legend"}function ob(e){return ne(e)&&pe(e)==="slot"}function ab(e){return ne(e)&&e.ownerSVGElement!==void 0}function ib(e){return ne(e)&&pe(e)==="svg"}function sb(e){return ab(e)&&pe(e)==="title"}function Ra(e,t){if(ne(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 Ve(e,t){return ne(e)?t.indexOf(Kh(e))!==-1:!1}function lb(e){return e.trim().replace(/\s\s+/g," ")}function ub(e,t){if(!ne(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 cb(e){return Ve(e,["button","combobox","listbox","textbox"])||Af(e,"range")}function Af(e,t){if(!ne(e))return!1;switch(t){case"range":return Ve(e,["meter","progressbar","scrollbar","slider","spinbutton"]);default:throw new TypeError("No knowledge about abstract role '".concat(t,"'. This is likely a bug :("))}}function rl(e,t){var r=Pe(e.querySelectorAll(t));return Ra(e,"aria-owns").forEach(function(n){r.push.apply(r,Pe(n.querySelectorAll(t)))}),r}function db(e){return Qh(e)?e.selectedOptions||rl(e,"[selected]"):rl(e,'[aria-selected="true"]')}function fb(e){return Ve(e,["none","presentation"])}function pb(e){return Sf(e)}function mb(e){return Ve(e,["button","cell","checkbox","columnheader","gridcell","heading","label","legend","link","menuitem","menuitemcheckbox","menuitemradio","option","radio","row","rowheader","switch","tab","tooltip","treeitem"])}function hb(e){return!1}function bb(e){return sa(e)||eb(e)?e.value:e.textContent||""}function nl(e){var t=e.getPropertyValue("content");return/^["'].*["']$/.test(t)?t.slice(1,-1):""}function Of(e){var t=pe(e);return t==="button"||t==="input"&&e.getAttribute("type")!=="hidden"||t==="meter"||t==="output"||t==="progress"||t==="select"||t==="textarea"}function Mf(e){if(Of(e))return e;var t=null;return e.childNodes.forEach(function(r){if(t===null&&ne(r)){var n=Mf(r);n!==null&&(t=n)}}),t}function vb(e){if(e.control!==void 0)return e.control;var t=e.getAttribute("for");return t!==null?e.ownerDocument.getElementById(t):Mf(e)}function yb(e){var t=e.labels;if(t===null)return t;if(t!==void 0)return Pe(t);if(!Of(e))return null;var r=e.ownerDocument;return Pe(r.querySelectorAll("label")).filter(function(n){return vb(n)===e})}function gb(e){var t=e.assignedNodes();return t.length===0?Pe(e.childNodes):t}function If(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=new Vh,n=tb(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,c=t.hidden,f=c===void 0?!1:c;function d(p,q){var _="";if(ne(p)&&s){var T=u(p,"::before"),P=nl(T);_="".concat(P," ").concat(_)}var y=ob(p)?gb(p):Pe(p.childNodes).concat(Ra(p,"aria-owns"));if(y.forEach(function(O){var D=S(O,{isEmbeddedInLabel:q.isEmbeddedInLabel,isReferenced:!1,recursion:!0}),j=ne(O)?u(O).getPropertyValue("display"):"inline",$=j!=="inline"?" ":"";_+="".concat($).concat(D).concat($)}),ne(p)&&s){var g=u(p,"::after"),E=nl(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 ne(p)?b(p,"title"):null}function R(p){if(!ne(p))return null;if(rb(p)){r.add(p);for(var q=Pe(p.childNodes),_=0;_<q.length;_+=1){var T=q[_];if(nb(T))return S(T,{isEmbeddedInLabel:!1,isReferenced:!1,recursion:!1})}}else if(Zh(p)){r.add(p);for(var P=Pe(p.childNodes),y=0;y<P.length;y+=1){var g=P[y];if(Sf(g))return S(g,{isEmbeddedInLabel:!1,isReferenced:!1,recursion:!1})}}else if(ib(p)){r.add(p);for(var E=Pe(p.childNodes),O=0;O<E.length;O+=1){var D=E[O];if(sb(D))return D.textContent}return null}else if(pe(p)==="img"||pe(p)==="area"){var j=b(p,"alt");if(j!==null)return j}else if(Jh(p)){var $=b(p,"label");if($!==null)return $}if(sa(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=yb(p);if(k!==null&&k.length!==0)return r.add(p),Pe(k).map(function(se){return S(se,{isEmbeddedInLabel:!0,isReferenced:!1,recursion:!0})}).filter(function(se){return se.length>0}).join(" ");if(sa(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(Ve(p,["button"])){var G=d(p,{isEmbeddedInLabel:!1});if(G!=="")return G}return null}function S(p,q){if(r.has(p))return"";if(!f&&ub(p,u)&&!q.isReferenced)return r.add(p),"";var _=ne(p)?p.getAttributeNode("aria-labelledby"):null,T=_!==null&&!r.has(_)?Ra(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&&cb(p)&&a==="name";if(!P){var y=(ne(p)&&p.getAttribute("aria-label")||"").trim();if(y!==""&&a==="name")return r.add(p),y;if(!fb(p)){var g=R(p);if(g!==null)return r.add(p),g}}if(Ve(p,["menu"]))return r.add(p),"";if(P||q.isEmbeddedInLabel||q.isReferenced){if(Ve(p,["combobox","listbox"])){r.add(p);var E=db(p);return E.length===0?sa(p)?p.value:"":Pe(E).map(function(j){return S(j,{isEmbeddedInLabel:q.isEmbeddedInLabel,isReferenced:!1,recursion:!0})}).join(" ")}if(Af(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(Ve(p,["textbox"]))return r.add(p),bb(p)}if(mb(p)||ne(p)&&q.isReferenced||pb(p)||hb()){var O=d(p,{isEmbeddedInLabel:q.isEmbeddedInLabel});if(O!=="")return r.add(p),O}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 D=v(p);return D!==null?(r.add(p),D):(r.add(p),"")}return lb(S(e,{isEmbeddedInLabel:!1,isReferenced:a==="description",recursion:!1}))}function ko(e){"@babel/helpers - typeof";return ko=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},ko(e)}function ol(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 al(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?ol(Object(r),!0).forEach(function(n){Rb(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ol(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function Rb(e,t,r){return t=wb(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function wb(e){var t=Eb(e,"string");return ko(t)==="symbol"?t:String(t)}function Eb(e,t){if(ko(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(ko(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Nf(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=Ra(e,"aria-describedby").map(function(o){return If(o,al(al({},t),{},{compute:"description"}))}).join(" ");if(r===""){var n=e.getAttribute("title");r=n===null?"":n}return r}function Cb(e){return Ve(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 Cb(e)?"":If(e,t)}var Re={},kt={},ea={},Dt={},il;function xb(){if(il)return Dt;il=1,Object.defineProperty(Dt,"__esModule",{value:!0}),Dt.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 Dt.default=t,Dt}var sl;function Ho(){if(sl)return ea;sl=1,Object.defineProperty(ea,"__esModule",{value:!0}),ea.default=n;var e=t(xb());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 ea}var ll;function qb(){if(ll)return kt;ll=1,Object.defineProperty(kt,"__esModule",{value:!0}),kt.default=void 0;var e=t(Ho());function t(d){return d&&d.__esModule?d:{default:d}}function r(d,b){return a(d)||o(d,b)||s(d,b)||n()}function n(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
16
+ `}};function le(C){return new Array(C+1).join(" ")}function he(C,L){if(L&&(se(L),L.plugins)){const X=A(L.plugins,C);if(X!==null)return B(X,C,ce(L),"",0,[])}const I=O(C,U(L),Y(L),$(L));return I!==null?I:D(C,ce(L),"",0,[])}const Ie={AsymmetricMatcher:r.default,ConvertAnsi:n.default,DOMCollection:o.default,DOMElement:a.default,Immutable:i.default,ReactElement:s.default,ReactTestComponent:l.default};Te.plugins=Ie;var oe=he;return Te.default=oe,Te}var Af=$h(),Bh=Object.prototype.toString;function Lh(e){return typeof e=="function"||Bh.call(e)==="[object Function]"}function Fh(e){var t=Number(e);return isNaN(t)?0:t===0||!isFinite(t)?t:(t>0?1:-1)*Math.floor(Math.abs(t))}var Uh=Math.pow(2,53)-1;function zh(e){var t=Fh(e);return Math.min(Math.max(t,0),Uh)}function _e(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=zh(n.length),a=Lh(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 Do(e){"@babel/helpers - typeof";return Do=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},Do(e)}function Vh(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Hh(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,Of(n.key),n)}}function Wh(e,t,r){return t&&Hh(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function Gh(e,t,r){return t=Of(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Of(e){var t=Kh(e,"string");return Do(t)==="symbol"?t:String(t)}function Kh(e,t){if(Do(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(Do(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var Yh=(function(){function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];Vh(this,e),Gh(this,"items",void 0),this.items=t}return Wh(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 Xh=typeof Set>"u"?Set:Yh;function pe(e){var t;return(t=e.localName)!==null&&t!==void 0?t:e.tagName.toLowerCase()}var Jh={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"},Qh={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 Zh(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=Qh[t])!==null&&n!==void 0&&n.has(r))})}function Mf(e,t){return Zh(e,t)}function eb(e){var t=rb(e);if(t===null||t==="presentation"){var r=tb(e);if(t!=="presentation"||Mf(e,r||""))return r}return t}function tb(e){var t=Jh[pe(e)];if(t!==void 0)return t;switch(pe(e)){case"a":case"area":case"link":if(e.hasAttribute("href"))return"link";break;case"img":return e.getAttribute("alt")===""&&!Mf(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 rb(e){var t=e.getAttribute("role");if(t!==null){var r=t.trim().split(" ")[0];if(r.length>0)return r}return null}function ne(e){return e!==null&&e.nodeType===e.ELEMENT_NODE}function If(e){return ne(e)&&pe(e)==="caption"}function ua(e){return ne(e)&&pe(e)==="input"}function nb(e){return ne(e)&&pe(e)==="optgroup"}function ob(e){return ne(e)&&pe(e)==="select"}function ab(e){return ne(e)&&pe(e)==="table"}function ib(e){return ne(e)&&pe(e)==="textarea"}function sb(e){var t=e.ownerDocument===null?e:e.ownerDocument,r=t.defaultView;if(r===null)throw new TypeError("no window available");return r}function lb(e){return ne(e)&&pe(e)==="fieldset"}function ub(e){return ne(e)&&pe(e)==="legend"}function cb(e){return ne(e)&&pe(e)==="slot"}function db(e){return ne(e)&&e.ownerSVGElement!==void 0}function fb(e){return ne(e)&&pe(e)==="svg"}function pb(e){return db(e)&&pe(e)==="title"}function wa(e,t){if(ne(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 ze(e,t){return ne(e)?t.indexOf(eb(e))!==-1:!1}function mb(e){return e.trim().replace(/\s\s+/g," ")}function hb(e,t){if(!ne(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 bb(e){return ze(e,["button","combobox","listbox","textbox"])||Nf(e,"range")}function Nf(e,t){if(!ne(e))return!1;switch(t){case"range":return ze(e,["meter","progressbar","scrollbar","slider","spinbutton"]);default:throw new TypeError("No knowledge about abstract role '".concat(t,"'. This is likely a bug :("))}}function il(e,t){var r=_e(e.querySelectorAll(t));return wa(e,"aria-owns").forEach(function(n){r.push.apply(r,_e(n.querySelectorAll(t)))}),r}function vb(e){return ob(e)?e.selectedOptions||il(e,"[selected]"):il(e,'[aria-selected="true"]')}function yb(e){return ze(e,["none","presentation"])}function gb(e){return If(e)}function Rb(e){return ze(e,["button","cell","checkbox","columnheader","gridcell","heading","label","legend","link","menuitem","menuitemcheckbox","menuitemradio","option","radio","row","rowheader","switch","tab","tooltip","treeitem"])}function wb(e){return!1}function Eb(e){return ua(e)||ib(e)?e.value:e.textContent||""}function sl(e){var t=e.getPropertyValue("content");return/^["'].*["']$/.test(t)?t.slice(1,-1):""}function kf(e){var t=pe(e);return t==="button"||t==="input"&&e.getAttribute("type")!=="hidden"||t==="meter"||t==="output"||t==="progress"||t==="select"||t==="textarea"}function Df(e){if(kf(e))return e;var t=null;return e.childNodes.forEach(function(r){if(t===null&&ne(r)){var n=Df(r);n!==null&&(t=n)}}),t}function Cb(e){if(e.control!==void 0)return e.control;var t=e.getAttribute("for");return t!==null?e.ownerDocument.getElementById(t):Df(e)}function xb(e){var t=e.labels;if(t===null)return t;if(t!==void 0)return _e(t);if(!kf(e))return null;var r=e.ownerDocument;return _e(r.querySelectorAll("label")).filter(function(n){return Cb(n)===e})}function qb(e){var t=e.assignedNodes();return t.length===0?_e(e.childNodes):t}function jf(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=new Xh,n=sb(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,c=t.hidden,f=c===void 0?!1:c;function d(p,q){var _="";if(ne(p)&&s){var T=u(p,"::before"),P=sl(T);_="".concat(P," ").concat(_)}var y=cb(p)?qb(p):_e(p.childNodes).concat(wa(p,"aria-owns"));if(y.forEach(function(O){var D=S(O,{isEmbeddedInLabel:q.isEmbeddedInLabel,isReferenced:!1,recursion:!0}),j=ne(O)?u(O).getPropertyValue("display"):"inline",B=j!=="inline"?" ":"";_+="".concat(B).concat(D).concat(B)}),ne(p)&&s){var g=u(p,"::after"),E=sl(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 ne(p)?b(p,"title"):null}function R(p){if(!ne(p))return null;if(lb(p)){r.add(p);for(var q=_e(p.childNodes),_=0;_<q.length;_+=1){var T=q[_];if(ub(T))return S(T,{isEmbeddedInLabel:!1,isReferenced:!1,recursion:!1})}}else if(ab(p)){r.add(p);for(var P=_e(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(fb(p)){r.add(p);for(var E=_e(p.childNodes),O=0;O<E.length;O+=1){var D=E[O];if(pb(D))return D.textContent}return null}else if(pe(p)==="img"||pe(p)==="area"){var j=b(p,"alt");if(j!==null)return j}else if(nb(p)){var B=b(p,"label");if(B!==null)return B}if(ua(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=xb(p);if(k!==null&&k.length!==0)return r.add(p),_e(k).map(function(se){return S(se,{isEmbeddedInLabel:!0,isReferenced:!1,recursion:!0})}).filter(function(se){return se.length>0}).join(" ");if(ua(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(ze(p,["button"])){var G=d(p,{isEmbeddedInLabel:!1});if(G!=="")return G}return null}function S(p,q){if(r.has(p))return"";if(!f&&hb(p,u)&&!q.isReferenced)return r.add(p),"";var _=ne(p)?p.getAttributeNode("aria-labelledby"):null,T=_!==null&&!r.has(_)?wa(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&&bb(p)&&a==="name";if(!P){var y=(ne(p)&&p.getAttribute("aria-label")||"").trim();if(y!==""&&a==="name")return r.add(p),y;if(!yb(p)){var g=R(p);if(g!==null)return r.add(p),g}}if(ze(p,["menu"]))return r.add(p),"";if(P||q.isEmbeddedInLabel||q.isReferenced){if(ze(p,["combobox","listbox"])){r.add(p);var E=vb(p);return E.length===0?ua(p)?p.value:"":_e(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(ze(p,["textbox"]))return r.add(p),Eb(p)}if(Rb(p)||ne(p)&&q.isReferenced||gb(p)||wb()){var O=d(p,{isEmbeddedInLabel:q.isEmbeddedInLabel});if(O!=="")return r.add(p),O}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 D=v(p);return D!==null?(r.add(p),D):(r.add(p),"")}return mb(S(e,{isEmbeddedInLabel:!1,isReferenced:a==="description",recursion:!1}))}function jo(e){"@babel/helpers - typeof";return jo=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},jo(e)}function ll(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 ul(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?ll(Object(r),!0).forEach(function(n){_b(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ll(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function _b(e,t,r){return t=Pb(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Pb(e){var t=Tb(e,"string");return jo(t)==="symbol"?t:String(t)}function Tb(e,t){if(jo(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(jo(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=wa(e,"aria-describedby").map(function(o){return jf(o,ul(ul({},t),{},{compute:"description"}))}).join(" ");if(r===""){var n=e.getAttribute("title");r=n===null?"":n}return r}function Sb(e){return ze(e,["caption","code","deletion","emphasis","generic","insertion","paragraph","presentation","strong","subscript","superscript"])}function ys(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return Sb(e)?"":jf(e,t)}var ge={},Dt={},ra={},jt={},cl;function Ab(){if(cl)return jt;cl=1,Object.defineProperty(jt,"__esModule",{value:!0}),jt.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 jt.default=t,jt}var dl;function Go(){if(dl)return ra;dl=1,Object.defineProperty(ra,"__esModule",{value:!0}),ra.default=n;var e=t(Ab());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 ra}var fl;function Ob(){if(fl)return Dt;fl=1,Object.defineProperty(Dt,"__esModule",{value:!0}),Dt.default=void 0;var e=t(Go());function t(d){return d&&d.__esModule?d:{default:d}}function r(d,b){return a(d)||o(d,b)||s(d,b)||n()}function n(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
263
17
  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 a(d){if(Array.isArray(d))return d}function i(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.
264
- 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"}]],c={entries:function(){return u},forEach:function(b){var v=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,R=i(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!!c.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})}},f=(0,e.default)(c,c.entries());return kt.default=f,kt}var jt={},ul;function _b(){if(ul)return jt;ul=1,Object.defineProperty(jt,"__esModule",{value:!0}),jt.default=void 0;var e=t(Ho());function t(d){return d&&d.__esModule?d:{default:d}}function r(d,b){return a(d)||o(d,b)||s(d,b)||n()}function n(){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.`)}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"}]],c={entries:function(){return u},forEach:function(b){var v=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,R=i(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!!c.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})}},f=(0,e.default)(c,c.entries());return Dt.default=f,Dt}var $t={},pl;function Mb(){if(pl)return $t;pl=1,Object.defineProperty($t,"__esModule",{value:!0}),$t.default=void 0;var e=t(Go());function t(d){return d&&d.__esModule?d:{default:d}}function r(d,b){return a(d)||o(d,b)||s(d,b)||n()}function n(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
265
19
  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 a(d){if(Array.isArray(d))return d}function i(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.
266
- 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}]],c={entries:function(){return u},forEach:function(b){var v=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,R=i(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!!c.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})}},f=(0,e.default)(c,c.entries());return jt.default=f,jt}var Bt={},$t={},Lt={},cl;function Pb(){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:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]},t=e;return Lt.default=t,Lt}var Ft={},dl;function Tb(){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:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-disabled":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]},t=e;return Ft.default=t,Ft}var Ut={},fl;function Sb(){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:["author"],prohibitedProps:[],props:{"aria-disabled":null},relatedConcepts:[{concept:{name:"input"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]},t=e;return Ut.default=t,Ut}var zt={},pl;function Ab(){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"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},t=e;return zt.default=t,zt}var Vt={},ml;function Ob(){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-valuemax":null,"aria-valuemin":null,"aria-valuenow":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},t=e;return Vt.default=t,Vt}var Ht={},hl;function Mb(){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:{"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 Ht.default=t,Ht}var Wt={},bl;function Ib(){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:[{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 Wt.default=t,Wt}var Gt={},vl;function Nb(){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","contents"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},t=e;return Gt.default=t,Gt}var Kt={},yl;function kb(){if(yl)return Kt;yl=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-orientation":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","composite"],["roletype","structure","section","group"]]},t=e;return Kt.default=t,Kt}var Yt={},gl;function Db(){if(gl)return Yt;gl=1,Object.defineProperty(Yt,"__esModule",{value:!0}),Yt.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 Yt.default=t,Yt}var Xt={},Rl;function jb(){if(Rl)return Xt;Rl=1,Object.defineProperty(Xt,"__esModule",{value:!0}),Xt.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 Xt.default=t,Xt}var Jt={},wl;function Bb(){if(wl)return Jt;wl=1,Object.defineProperty(Jt,"__esModule",{value:!0}),Jt.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 Jt.default=t,Jt}var El;function $b(){if(El)return $t;El=1,Object.defineProperty($t,"__esModule",{value:!0}),$t.default=void 0;var e=d(Pb()),t=d(Tb()),r=d(Sb()),n=d(Ab()),o=d(Ob()),a=d(Mb()),i=d(Ib()),s=d(Nb()),l=d(kb()),u=d(Db()),c=d(jb()),f=d(Bb());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",a.default],["section",i.default],["sectionhead",s.default],["select",l.default],["structure",u.default],["widget",c.default],["window",f.default]],v=b;return $t.default=v,$t}var Qt={},Zt={},Cl;function Lb(){if(Cl)return Zt;Cl=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-atomic":"true","aria-live":"assertive"},relatedConcepts:[{concept:{name:"alert"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},t=e;return Zt.default=t,Zt}var er={},xl;function Fb(){if(xl)return er;xl=1,Object.defineProperty(er,"__esModule",{value:!0}),er.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 er.default=t,er}var tr={},ql;function Ub(){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-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 tr.default=t,tr}var rr={},_l;function zb(){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:["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 rr.default=t,rr}var nr={},Pl;function Vb(){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"],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 nr.default=t,nr}var or={},Tl;function Hb(){if(Tl)return or;Tl=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:"blockquote"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},t=e;return or.default=t,or}var ar={},Sl;function Wb(){if(Sl)return ar;Sl=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-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 ar.default=t,ar}var ir={},Al;function Gb(){if(Al)return ir;Al=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:"caption"},module:"HTML"}],requireContextRole:["figure","grid","table"],requiredContextRole:["figure","grid","table"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},t=e;return ir.default=t,ir}var sr={},Ol;function Kb(){if(Ol)return sr;Ol=1,Object.defineProperty(sr,"__esModule",{value:!0}),sr.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 sr.default=t,sr}var lr={},Ml;function Yb(){if(Ml)return lr;Ml=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:{"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 lr.default=t,lr}var ur={},Il;function Xb(){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:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"code"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},t=e;return ur.default=t,ur}var cr={},Nl;function Jb(){if(Nl)return cr;Nl=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-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 cr.default=t,cr}var dr={},kl;function Qb(){if(kl)return dr;kl=1,Object.defineProperty(dr,"__esModule",{value:!0}),dr.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 dr.default=t,dr}var fr={},Dl;function Zb(){if(Dl)return fr;Dl=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:"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 fr.default=t,fr}var pr={},jl;function ev(){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:{constraints:["scoped to the body element"],name:"footer"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},t=e;return pr.default=t,pr}var mr={},Bl;function tv(){if(Bl)return mr;Bl=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:"dd"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},t=e;return mr.default=t,mr}var hr={},$l;function rv(){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:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"del"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},t=e;return hr.default=t,hr}var br={},Ll;function nv(){if(Ll)return br;Ll=1,Object.defineProperty(br,"__esModule",{value:!0}),br.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 br.default=t,br}var vr={},Fl;function ov(){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:[{module:"DAISY Guide"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","list"]]},t=e;return vr.default=t,vr}var yr={},Ul;function av(){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:{name:"Device Independence Delivery Unit"}},{concept:{name:"html"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},t=e;return yr.default=t,yr}var gr={},zl;function iv(){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:"em"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},t=e;return gr.default=t,gr}var Rr={},Vl;function sv(){if(Vl)return Rr;Vl=1,Object.defineProperty(Rr,"__esModule",{value:!0}),Rr.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 Rr.default=t,Rr}var wr={},Hl;function lv(){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"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"figure"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},t=e;return wr.default=t,wr}var Er={},Wl;function uv(){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:{},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 Er.default=t,Er}var Cr={},Gl;function cv(){if(Gl)return Cr;Gl=1,Object.defineProperty(Cr,"__esModule",{value:!0}),Cr.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 Cr.default=t,Cr}var xr={},Kl;function dv(){if(Kl)return xr;Kl=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-multiselectable":null,"aria-readonly":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["row"],["row","rowgroup"]],requiredProps:{},superClass:[["roletype","widget","composite"],["roletype","structure","section","table"]]},t=e;return xr.default=t,xr}var qr={},Yl;function fv(){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:["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 qr.default=t,qr}var _r={},Xl;function pv(){if(Xl)return _r;Xl=1,Object.defineProperty(_r,"__esModule",{value:!0}),_r.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 _r.default=t,_r}var Pr={},Jl;function mv(){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","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 Pr.default=t,Pr}var Tr={},Ql;function hv(){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"],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 Tr.default=t,Tr}var Sr={},Zl;function bv(){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:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"ins"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},t=e;return Sr.default=t,Sr}var Ar={},eu;function vv(){if(eu)return Ar;eu=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-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 Ar.default=t,Ar}var Or={},tu;function yv(){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:"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 Or.default=t,Or}var Mr={},ru;function gv(){if(ru)return Mr;ru=1,Object.defineProperty(Mr,"__esModule",{value:!0}),Mr.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 Mr.default=t,Mr}var Ir={},nu;function Rv(){if(nu)return Ir;nu=1,Object.defineProperty(Ir,"__esModule",{value:!0}),Ir.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 Ir.default=t,Ir}var Nr={},ou;function wv(){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:{"aria-live":"polite"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},t=e;return Nr.default=t,Nr}var kr={},au;function Ev(){if(au)return kr;au=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:"main"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},t=e;return kr.default=t,kr}var Dr={},iu;function Cv(){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:["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 Dr.default=t,Dr}var jr={},su;function xv(){if(su)return jr;su=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:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},t=e;return jr.default=t,jr}var Br={},lu;function qv(){if(lu)return Br;lu=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:[{concept:{name:"math"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},t=e;return Br.default=t,Br}var $r={},uu;function _v(){if(uu)return $r;uu=1,Object.defineProperty($r,"__esModule",{value:!0}),$r.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 $r.default=t,$r}var Lr={},cu;function Pv(){if(cu)return Lr;cu=1,Object.defineProperty(Lr,"__esModule",{value:!0}),Lr.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 Lr.default=t,Lr}var Fr={},du;function Tv(){if(du)return Fr;du=1,Object.defineProperty(Fr,"__esModule",{value:!0}),Fr.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 Fr.default=t,Fr}var Ur={},fu;function Sv(){if(fu)return Ur;fu=1,Object.defineProperty(Ur,"__esModule",{value:!0}),Ur.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 Ur.default=t,Ur}var zr={},pu;function Av(){if(pu)return zr;pu=1,Object.defineProperty(zr,"__esModule",{value:!0}),zr.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 zr.default=t,zr}var Vr={},mu;function Ov(){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"],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 Vr.default=t,Vr}var Hr={},hu;function Mv(){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:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"nav"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},t=e;return Hr.default=t,Hr}var Wr={},bu;function Iv(){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:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[]},t=e;return Wr.default=t,Wr}var Gr={},vu;function Nv(){if(vu)return Gr;vu=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:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},t=e;return Gr.default=t,Gr}var Kr={},yu;function kv(){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,"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 Kr.default=t,Kr}var Yr={},gu;function Dv(){if(gu)return Yr;gu=1,Object.defineProperty(Yr,"__esModule",{value:!0}),Yr.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 Yr.default=t,Yr}var Xr={},Ru;function jv(){if(Ru)return Xr;Ru=1,Object.defineProperty(Xr,"__esModule",{value:!0}),Xr.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 Xr.default=t,Xr}var Jr={},wu;function Bv(){if(wu)return Jr;wu=1,Object.defineProperty(Jr,"__esModule",{value:!0}),Jr.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 Jr.default=t,Jr}var Qr={},Eu;function $v(){if(Eu)return Qr;Eu=1,Object.defineProperty(Qr,"__esModule",{value:!0}),Qr.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 Qr.default=t,Qr}var Zr={},Cu;function Lv(){if(Cu)return Zr;Cu=1,Object.defineProperty(Zr,"__esModule",{value:!0}),Zr.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 Zr.default=t,Zr}var en={},xu;function Fv(){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"],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 en.default=t,en}var tn={},qu;function Uv(){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","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 tn.default=t,tn}var rn={},_u;function zv(){if(_u)return rn;_u=1,Object.defineProperty(rn,"__esModule",{value:!0}),rn.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 rn.default=t,rn}var nn={},Pu;function Vv(){if(Pu)return nn;Pu=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-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 nn.default=t,nn}var on={},Tu;function Hv(){if(Tu)return on;Tu=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-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 on.default=t,on}var an={},Su;function Wv(){if(Su)return an;Su=1,Object.defineProperty(an,"__esModule",{value:!0}),an.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 an.default=t,an}var sn={},Au;function Gv(){if(Au)return sn;Au=1,Object.defineProperty(sn,"__esModule",{value:!0}),sn.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 sn.default=t,sn}var ln={},Ou;function Kv(){if(Ou)return ln;Ou=1,Object.defineProperty(ln,"__esModule",{value:!0}),ln.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 ln.default=t,ln}var un={},Mu;function Yv(){if(Mu)return un;Mu=1,Object.defineProperty(un,"__esModule",{value:!0}),un.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 un.default=t,un}var cn={},Iu;function Xv(){if(Iu)return cn;Iu=1,Object.defineProperty(cn,"__esModule",{value:!0}),cn.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 cn.default=t,cn}var dn={},Nu;function Jv(){if(Nu)return dn;Nu=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-atomic":"true","aria-live":"polite"},relatedConcepts:[{concept:{name:"output"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},t=e;return dn.default=t,dn}var fn={},ku;function Qv(){if(ku)return fn;ku=1,Object.defineProperty(fn,"__esModule",{value:!0}),fn.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 fn.default=t,fn}var pn={},Du;function Zv(){if(Du)return pn;Du=1,Object.defineProperty(pn,"__esModule",{value:!0}),pn.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 pn.default=t,pn}var mn={},ju;function ey(){if(ju)return mn;ju=1,Object.defineProperty(mn,"__esModule",{value:!0}),mn.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 mn.default=t,mn}var hn={},Bu;function ty(){if(Bu)return hn;Bu=1,Object.defineProperty(hn,"__esModule",{value:!0}),hn.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 hn.default=t,hn}var bn={},$u;function ry(){if($u)return bn;$u=1,Object.defineProperty(bn,"__esModule",{value:!0}),bn.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 bn.default=t,bn}var vn={},Lu;function ny(){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-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 vn.default=t,vn}var yn={},Fu;function oy(){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:{"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 yn.default=t,yn}var gn={},Uu;function ay(){if(Uu)return gn;Uu=1,Object.defineProperty(gn,"__esModule",{value:!0}),gn.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 gn.default=t,gn}var Rn={},zu;function iy(){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:{},relatedConcepts:[{concept:{name:"dfn"},module:"HTML"},{concept:{name:"dt"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},t=e;return Rn.default=t,Rn}var wn={},Vu;function sy(){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"],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 wn.default=t,wn}var En={},Hu;function ly(){if(Hu)return En;Hu=1,Object.defineProperty(En,"__esModule",{value:!0}),En.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 En.default=t,En}var Cn={},Wu;function uy(){if(Wu)return Cn;Wu=1,Object.defineProperty(Cn,"__esModule",{value:!0}),Cn.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 Cn.default=t,Cn}var xn={},Gu;function cy(){if(Gu)return xn;Gu=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-orientation":"horizontal"},relatedConcepts:[{concept:{name:"menubar"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","group"]]},t=e;return xn.default=t,xn}var qn={},Ku;function dy(){if(Ku)return qn;Ku=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:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},t=e;return qn.default=t,qn}var _n={},Yu;function fy(){if(Yu)return _n;Yu=1,Object.defineProperty(_n,"__esModule",{value:!0}),_n.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 _n.default=t,_n}var Pn={},Xu;function py(){if(Xu)return Pn;Xu=1,Object.defineProperty(Pn,"__esModule",{value:!0}),Pn.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 Pn.default=t,Pn}var Tn={},Ju;function my(){if(Ju)return Tn;Ju=1,Object.defineProperty(Tn,"__esModule",{value:!0}),Tn.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 Tn.default=t,Tn}var Qu;function hy(){if(Qu)return Qt;Qu=1,Object.defineProperty(Qt,"__esModule",{value:!0}),Qt.default=void 0;var e=N(Lb()),t=N(Fb()),r=N(Ub()),n=N(zb()),o=N(Vb()),a=N(Hb()),i=N(Wb()),s=N(Gb()),l=N(Kb()),u=N(Yb()),c=N(Xb()),f=N(Jb()),d=N(Qb()),b=N(Zb()),v=N(ev()),R=N(tv()),S=N(rv()),p=N(nv()),q=N(ov()),_=N(av()),T=N(iv()),P=N(sv()),y=N(lv()),g=N(uv()),E=N(cv()),O=N(dv()),D=N(fv()),j=N(pv()),$=N(mv()),A=N(hv()),k=N(bv()),F=N(vv()),Z=N(yv()),G=N(gv()),se=N(Rv()),ye=N(wv()),M=N(Ev()),U=N(Cv()),Y=N(xv()),B=N(qv()),ce=N(_v()),le=N(Pv()),he=N(Tv()),Ne=N(Sv()),oe=N(Av()),C=N(Ov()),L=N(Mv()),I=N(Iv()),X=N(Nv()),W=N(kv()),ie=N(Dv()),de=N(jv()),be=N(Bv()),ke=N($v()),Pp=N(Lv()),Tp=N(Fv()),Sp=N(Uv()),Ap=N(zv()),Op=N(Vv()),Mp=N(Hv()),Ip=N(Wv()),Np=N(Gv()),kp=N(Kv()),Dp=N(Yv()),jp=N(Xv()),Bp=N(Jv()),$p=N(Qv()),Lp=N(Zv()),Fp=N(ey()),Up=N(ty()),zp=N(ry()),Vp=N(ny()),Hp=N(oy()),Wp=N(ay()),Gp=N(iy()),Kp=N(sy()),Yp=N(ly()),Xp=N(uy()),Jp=N(cy()),Qp=N(dy()),Zp=N(fy()),em=N(py()),tm=N(my());function N(Go){return Go&&Go.__esModule?Go:{default:Go}}var rm=[["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",c.default],["columnheader",f.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",O.default],["gridcell",D.default],["group",j.default],["heading",$.default],["img",A.default],["insertion",k.default],["link",F.default],["list",Z.default],["listbox",G.default],["listitem",se.default],["log",ye.default],["main",M.default],["mark",U.default],["marquee",Y.default],["math",B.default],["menu",ce.default],["menubar",le.default],["menuitem",he.default],["menuitemcheckbox",Ne.default],["menuitemradio",oe.default],["meter",C.default],["navigation",L.default],["none",I.default],["note",X.default],["option",W.default],["paragraph",ie.default],["presentation",de.default],["progressbar",be.default],["radio",ke.default],["radiogroup",Pp.default],["region",Tp.default],["row",Sp.default],["rowgroup",Ap.default],["rowheader",Op.default],["scrollbar",Mp.default],["search",Ip.default],["searchbox",Np.default],["separator",kp.default],["slider",Dp.default],["spinbutton",jp.default],["status",Bp.default],["strong",$p.default],["subscript",Lp.default],["superscript",Fp.default],["switch",Up.default],["tab",zp.default],["table",Vp.default],["tablist",Hp.default],["tabpanel",Wp.default],["term",Gp.default],["textbox",Kp.default],["time",Yp.default],["timer",Xp.default],["toolbar",Jp.default],["tooltip",Qp.default],["tree",Zp.default],["treegrid",em.default],["treeitem",tm.default]],nm=rm;return Qt.default=nm,Qt}var Sn={},An={},Zu;function by(){if(Zu)return An;Zu=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:"abstract [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},t=e;return An.default=t,An}var On={},ec;function vy(){if(ec)return On;ec=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:"acknowledgments [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},t=e;return On.default=t,On}var Mn={},tc;function yy(){if(tc)return Mn;tc=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-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 Mn.default=t,Mn}var In={},rc;function gy(){if(rc)return In;rc=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:"appendix [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},t=e;return In.default=t,In}var Nn={},nc;function Ry(){if(nc)return Nn;nc=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:"referrer [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]},t=e;return Nn.default=t,Nn}var kn={},oc;function wy(){if(oc)return kn;oc=1,Object.defineProperty(kn,"__esModule",{value:!0}),kn.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 kn.default=t,kn}var Dn={},ac;function Ey(){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:"bibliography [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["doc-biblioentry"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},t=e;return Dn.default=t,Dn}var jn={},ic;function Cy(){if(ic)return jn;ic=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:"biblioref [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]},t=e;return jn.default=t,jn}var Bn={},sc;function xy(){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:"chapter [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},t=e;return Bn.default=t,Bn}var $n={},lc;function qy(){if(lc)return $n;lc=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:"colophon [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},t=e;return $n.default=t,$n}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:"conclusion [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},t=e;return Ln.default=t,Ln}var Fn={},cc;function Py(){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:"cover [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","img"]]},t=e;return Fn.default=t,Fn}var Un={},dc;function Ty(){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:"credit [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},t=e;return Un.default=t,Un}var zn={},fc;function Sy(){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:"credits [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},t=e;return zn.default=t,zn}var Vn={},pc;function Ay(){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:"dedication [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},t=e;return Vn.default=t,Vn}var Hn={},mc;function Oy(){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:"rearnote [EPUB-SSV]"},module:"EPUB"}],requireContextRole:["doc-endnotes"],requiredContextRole:["doc-endnotes"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","listitem"]]},t=e;return Hn.default=t,Hn}var Wn={},hc;function My(){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:[{concept:{name:"rearnotes [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["doc-endnote"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},t=e;return Wn.default=t,Wn}var Gn={},bc;function Iy(){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:"epigraph [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},t=e;return Gn.default=t,Gn}var Kn={},vc;function Ny(){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:"epilogue [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},t=e;return Kn.default=t,Kn}var Yn={},yc;function ky(){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:"errata [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},t=e;return Yn.default=t,Yn}var Xn={},gc;function Dy(){if(gc)return Xn;gc=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:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},t=e;return Xn.default=t,Xn}var Jn={},Rc;function jy(){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:"footnote [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},t=e;return Jn.default=t,Jn}var Qn={},wc;function By(){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:"foreword [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},t=e;return Qn.default=t,Qn}var Zn={},Ec;function $y(){if(Ec)return Zn;Ec=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:"glossary [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["definition"],["term"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},t=e;return Zn.default=t,Zn}var eo={},Cc;function Ly(){if(Cc)return eo;Cc=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:"glossref [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]},t=e;return eo.default=t,eo}var to={},xc;function Fy(){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:"index [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]},t=e;return to.default=t,to}var ro={},qc;function Uy(){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:"introduction [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},t=e;return ro.default=t,ro}var no={},_c;function zy(){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","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 no.default=t,no}var oo={},Pc;function Vy(){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:"notice [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","note"]]},t=e;return oo.default=t,oo}var ao={},Tc;function Hy(){if(Tc)return ao;Tc=1,Object.defineProperty(ao,"__esModule",{value:!0}),ao.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 ao.default=t,ao}var io={},Sc;function Wy(){if(Sc)return io;Sc=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:"page-list [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]},t=e;return io.default=t,io}var so={},Ac;function Gy(){if(Ac)return so;Ac=1,Object.defineProperty(so,"__esModule",{value:!0}),so.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 so.default=t,so}var lo={},Oc;function Ky(){if(Oc)return lo;Oc=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:"preface [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},t=e;return lo.default=t,lo}var uo={},Mc;function Yy(){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:"prologue [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},t=e;return uo.default=t,uo}var co={},Ic;function Xy(){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:{},relatedConcepts:[{concept:{name:"pullquote [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["none"]]},t=e;return co.default=t,co}var fo={},Nc;function Jy(){if(Nc)return fo;Nc=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:"qna [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},t=e;return fo.default=t,fo}var po={},kc;function Qy(){if(kc)return po;kc=1,Object.defineProperty(po,"__esModule",{value:!0}),po.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 po.default=t,po}var mo={},Dc;function Zy(){if(Dc)return mo;Dc=1,Object.defineProperty(mo,"__esModule",{value:!0}),mo.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 mo.default=t,mo}var ho={},jc;function eg(){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"],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 ho.default=t,ho}var Bc;function tg(){if(Bc)return Sn;Bc=1,Object.defineProperty(Sn,"__esModule",{value:!0}),Sn.default=void 0;var e=B(by()),t=B(vy()),r=B(yy()),n=B(gy()),o=B(Ry()),a=B(wy()),i=B(Ey()),s=B(Cy()),l=B(xy()),u=B(qy()),c=B(_y()),f=B(Py()),d=B(Ty()),b=B(Sy()),v=B(Ay()),R=B(Oy()),S=B(My()),p=B(Iy()),q=B(Ny()),_=B(ky()),T=B(Dy()),P=B(jy()),y=B(By()),g=B($y()),E=B(Ly()),O=B(Fy()),D=B(Uy()),j=B(zy()),$=B(Vy()),A=B(Hy()),k=B(Wy()),F=B(Gy()),Z=B(Ky()),G=B(Yy()),se=B(Xy()),ye=B(Jy()),M=B(Qy()),U=B(Zy()),Y=B(eg());function B(he){return he&&he.__esModule?he:{default:he}}var ce=[["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",c.default],["doc-cover",f.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",O.default],["doc-introduction",D.default],["doc-noteref",j.default],["doc-notice",$.default],["doc-pagebreak",A.default],["doc-pagelist",k.default],["doc-part",F.default],["doc-preface",Z.default],["doc-prologue",G.default],["doc-pullquote",se.default],["doc-qna",ye.default],["doc-subtitle",M.default],["doc-tip",U.default],["doc-toc",Y.default]],le=ce;return Sn.default=le,Sn}var bo={},vo={},$c;function rg(){if($c)return vo;$c=1,Object.defineProperty(vo,"__esModule",{value:!0}),vo.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 vo.default=t,vo}var yo={},Lc;function ng(){if(Lc)return yo;Lc=1,Object.defineProperty(yo,"__esModule",{value:!0}),yo.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 yo.default=t,yo}var go={},Fc;function og(){if(Fc)return go;Fc=1,Object.defineProperty(go,"__esModule",{value:!0}),go.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 go.default=t,go}var Uc;function ag(){if(Uc)return bo;Uc=1,Object.defineProperty(bo,"__esModule",{value:!0}),bo.default=void 0;var e=n(rg()),t=n(ng()),r=n(og());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 bo.default=a,bo}var zc;function hs(){if(zc)return Bt;zc=1,Object.defineProperty(Bt,"__esModule",{value:!0}),Bt.default=void 0;var e=a($b()),t=a(hy()),r=a(tg()),n=a(ag()),o=a(Ho());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)||(_=c(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(D){throw D},f:P}}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(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}]],c={entries:function(){return u},forEach:function(b){var v=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,R=i(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!!c.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})}},f=(0,e.default)(c,c.entries());return $t.default=f,$t}var Bt={},Lt={},Ft={},ml;function Ib(){if(ml)return Ft;ml=1,Object.defineProperty(Ft,"__esModule",{value:!0}),Ft.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 Ft.default=t,Ft}var Ut={},hl;function Nb(){if(hl)return Ut;hl=1,Object.defineProperty(Ut,"__esModule",{value:!0}),Ut.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 Ut.default=t,Ut}var zt={},bl;function kb(){if(bl)return zt;bl=1,Object.defineProperty(zt,"__esModule",{value:!0}),zt.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 zt.default=t,zt}var Vt={},vl;function Db(){if(vl)return Vt;vl=1,Object.defineProperty(Vt,"__esModule",{value:!0}),Vt.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 Vt.default=t,Vt}var Ht={},yl;function jb(){if(yl)return Ht;yl=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-valuemax":null,"aria-valuemin":null,"aria-valuenow":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},t=e;return Ht.default=t,Ht}var Wt={},gl;function $b(){if(gl)return Wt;gl=1,Object.defineProperty(Wt,"__esModule",{value:!0}),Wt.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 Wt.default=t,Wt}var Gt={},Rl;function Bb(){if(Rl)return Gt;Rl=1,Object.defineProperty(Gt,"__esModule",{value:!0}),Gt.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 Gt.default=t,Gt}var Kt={},wl;function Lb(){if(wl)return Kt;wl=1,Object.defineProperty(Kt,"__esModule",{value:!0}),Kt.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 Kt.default=t,Kt}var Yt={},El;function Fb(){if(El)return Yt;El=1,Object.defineProperty(Yt,"__esModule",{value:!0}),Yt.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 Yt.default=t,Yt}var Xt={},Cl;function Ub(){if(Cl)return Xt;Cl=1,Object.defineProperty(Xt,"__esModule",{value:!0}),Xt.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 Xt.default=t,Xt}var Jt={},xl;function zb(){if(xl)return Jt;xl=1,Object.defineProperty(Jt,"__esModule",{value:!0}),Jt.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 Jt.default=t,Jt}var Qt={},ql;function Vb(){if(ql)return Qt;ql=1,Object.defineProperty(Qt,"__esModule",{value:!0}),Qt.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 Qt.default=t,Qt}var _l;function Hb(){if(_l)return Lt;_l=1,Object.defineProperty(Lt,"__esModule",{value:!0}),Lt.default=void 0;var e=d(Ib()),t=d(Nb()),r=d(kb()),n=d(Db()),o=d(jb()),a=d($b()),i=d(Bb()),s=d(Lb()),l=d(Fb()),u=d(Ub()),c=d(zb()),f=d(Vb());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",a.default],["section",i.default],["sectionhead",s.default],["select",l.default],["structure",u.default],["widget",c.default],["window",f.default]],v=b;return Lt.default=v,Lt}var Zt={},er={},Pl;function Wb(){if(Pl)return er;Pl=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-atomic":"true","aria-live":"assertive"},relatedConcepts:[{concept:{name:"alert"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},t=e;return er.default=t,er}var tr={},Tl;function Gb(){if(Tl)return tr;Tl=1,Object.defineProperty(tr,"__esModule",{value:!0}),tr.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 tr.default=t,tr}var rr={},Sl;function Kb(){if(Sl)return rr;Sl=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-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 rr.default=t,rr}var nr={},Al;function Yb(){if(Al)return nr;Al=1,Object.defineProperty(nr,"__esModule",{value:!0}),nr.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 nr.default=t,nr}var or={},Ol;function Xb(){if(Ol)return or;Ol=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:{constraints:["scoped to the body element"],name:"header"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},t=e;return or.default=t,or}var ar={},Ml;function Jb(){if(Ml)return ar;Ml=1,Object.defineProperty(ar,"__esModule",{value:!0}),ar.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 ar.default=t,ar}var ir={},Il;function Qb(){if(Il)return ir;Il=1,Object.defineProperty(ir,"__esModule",{value:!0}),ir.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 ir.default=t,ir}var sr={},Nl;function Zb(){if(Nl)return sr;Nl=1,Object.defineProperty(sr,"__esModule",{value:!0}),sr.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 sr.default=t,sr}var lr={},kl;function ev(){if(kl)return lr;kl=1,Object.defineProperty(lr,"__esModule",{value:!0}),lr.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 lr.default=t,lr}var ur={},Dl;function tv(){if(Dl)return ur;Dl=1,Object.defineProperty(ur,"__esModule",{value:!0}),ur.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 ur.default=t,ur}var cr={},jl;function rv(){if(jl)return cr;jl=1,Object.defineProperty(cr,"__esModule",{value:!0}),cr.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 cr.default=t,cr}var dr={},$l;function nv(){if($l)return dr;$l=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-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 dr.default=t,dr}var fr={},Bl;function ov(){if(Bl)return fr;Bl=1,Object.defineProperty(fr,"__esModule",{value:!0}),fr.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 fr.default=t,fr}var pr={},Ll;function av(){if(Ll)return pr;Ll=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:"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 pr.default=t,pr}var mr={},Fl;function iv(){if(Fl)return mr;Fl=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:{constraints:["scoped to the body element"],name:"footer"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},t=e;return mr.default=t,mr}var hr={},Ul;function sv(){if(Ul)return hr;Ul=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:"dd"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},t=e;return hr.default=t,hr}var br={},zl;function lv(){if(zl)return br;zl=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:"del"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},t=e;return br.default=t,br}var vr={},Vl;function uv(){if(Vl)return vr;Vl=1,Object.defineProperty(vr,"__esModule",{value:!0}),vr.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 vr.default=t,vr}var yr={},Hl;function cv(){if(Hl)return yr;Hl=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:[{module:"DAISY Guide"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","list"]]},t=e;return yr.default=t,yr}var gr={},Wl;function dv(){if(Wl)return gr;Wl=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:{name:"Device Independence Delivery Unit"}},{concept:{name:"html"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},t=e;return gr.default=t,gr}var Rr={},Gl;function fv(){if(Gl)return Rr;Gl=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:"em"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},t=e;return Rr.default=t,Rr}var wr={},Kl;function pv(){if(Kl)return wr;Kl=1,Object.defineProperty(wr,"__esModule",{value:!0}),wr.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 wr.default=t,wr}var Er={},Yl;function mv(){if(Yl)return Er;Yl=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:"figure"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},t=e;return Er.default=t,Er}var Cr={},Xl;function hv(){if(Xl)return Cr;Xl=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:{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 Cr.default=t,Cr}var xr={},Jl;function bv(){if(Jl)return xr;Jl=1,Object.defineProperty(xr,"__esModule",{value:!0}),xr.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 xr.default=t,xr}var qr={},Ql;function vv(){if(Ql)return qr;Ql=1,Object.defineProperty(qr,"__esModule",{value:!0}),qr.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 qr.default=t,qr}var _r={},Zl;function yv(){if(Zl)return _r;Zl=1,Object.defineProperty(_r,"__esModule",{value:!0}),_r.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 _r.default=t,_r}var Pr={},eu;function gv(){if(eu)return Pr;eu=1,Object.defineProperty(Pr,"__esModule",{value:!0}),Pr.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 Pr.default=t,Pr}var Tr={},tu;function Rv(){if(tu)return Tr;tu=1,Object.defineProperty(Tr,"__esModule",{value:!0}),Tr.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 Tr.default=t,Tr}var Sr={},ru;function wv(){if(ru)return Sr;ru=1,Object.defineProperty(Sr,"__esModule",{value:!0}),Sr.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 Sr.default=t,Sr}var Ar={},nu;function Ev(){if(nu)return Ar;nu=1,Object.defineProperty(Ar,"__esModule",{value:!0}),Ar.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 Ar.default=t,Ar}var Or={},ou;function Cv(){if(ou)return Or;ou=1,Object.defineProperty(Or,"__esModule",{value:!0}),Or.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 Or.default=t,Or}var Mr={},au;function xv(){if(au)return Mr;au=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:"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 Mr.default=t,Mr}var Ir={},iu;function qv(){if(iu)return Ir;iu=1,Object.defineProperty(Ir,"__esModule",{value:!0}),Ir.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 Ir.default=t,Ir}var Nr={},su;function _v(){if(su)return Nr;su=1,Object.defineProperty(Nr,"__esModule",{value:!0}),Nr.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 Nr.default=t,Nr}var kr={},lu;function Pv(){if(lu)return kr;lu=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-live":"polite"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},t=e;return kr.default=t,kr}var Dr={},uu;function Tv(){if(uu)return Dr;uu=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:"main"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},t=e;return Dr.default=t,Dr}var jr={},cu;function Sv(){if(cu)return jr;cu=1,Object.defineProperty(jr,"__esModule",{value:!0}),jr.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 jr.default=t,jr}var $r={},du;function Av(){if(du)return $r;du=1,Object.defineProperty($r,"__esModule",{value:!0}),$r.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 $r.default=t,$r}var Br={},fu;function Ov(){if(fu)return Br;fu=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:[{concept:{name:"math"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},t=e;return Br.default=t,Br}var Lr={},pu;function Mv(){if(pu)return Lr;pu=1,Object.defineProperty(Lr,"__esModule",{value:!0}),Lr.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 Lr.default=t,Lr}var Fr={},mu;function Iv(){if(mu)return Fr;mu=1,Object.defineProperty(Fr,"__esModule",{value:!0}),Fr.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 Fr.default=t,Fr}var Ur={},hu;function Nv(){if(hu)return Ur;hu=1,Object.defineProperty(Ur,"__esModule",{value:!0}),Ur.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 Ur.default=t,Ur}var zr={},bu;function kv(){if(bu)return zr;bu=1,Object.defineProperty(zr,"__esModule",{value:!0}),zr.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 zr.default=t,zr}var Vr={},vu;function Dv(){if(vu)return Vr;vu=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:{},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 Vr.default=t,Vr}var Hr={},yu;function jv(){if(yu)return Hr;yu=1,Object.defineProperty(Hr,"__esModule",{value:!0}),Hr.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 Hr.default=t,Hr}var Wr={},gu;function $v(){if(gu)return Wr;gu=1,Object.defineProperty(Wr,"__esModule",{value:!0}),Wr.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 Wr.default=t,Wr}var Gr={},Ru;function Bv(){if(Ru)return Gr;Ru=1,Object.defineProperty(Gr,"__esModule",{value:!0}),Gr.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[]},t=e;return Gr.default=t,Gr}var Kr={},wu;function Lv(){if(wu)return Kr;wu=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:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},t=e;return Kr.default=t,Kr}var Yr={},Eu;function Fv(){if(Eu)return Yr;Eu=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,"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 Yr.default=t,Yr}var Xr={},Cu;function Uv(){if(Cu)return Xr;Cu=1,Object.defineProperty(Xr,"__esModule",{value:!0}),Xr.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 Xr.default=t,Xr}var Jr={},xu;function zv(){if(xu)return Jr;xu=1,Object.defineProperty(Jr,"__esModule",{value:!0}),Jr.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 Jr.default=t,Jr}var Qr={},qu;function Vv(){if(qu)return Qr;qu=1,Object.defineProperty(Qr,"__esModule",{value:!0}),Qr.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 Qr.default=t,Qr}var Zr={},_u;function Hv(){if(_u)return Zr;_u=1,Object.defineProperty(Zr,"__esModule",{value:!0}),Zr.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 Zr.default=t,Zr}var en={},Pu;function Wv(){if(Pu)return en;Pu=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-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 en.default=t,en}var tn={},Tu;function Gv(){if(Tu)return tn;Tu=1,Object.defineProperty(tn,"__esModule",{value:!0}),tn.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 tn.default=t,tn}var rn={},Su;function Kv(){if(Su)return rn;Su=1,Object.defineProperty(rn,"__esModule",{value:!0}),rn.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 rn.default=t,rn}var nn={},Au;function Yv(){if(Au)return nn;Au=1,Object.defineProperty(nn,"__esModule",{value:!0}),nn.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 nn.default=t,nn}var on={},Ou;function Xv(){if(Ou)return on;Ou=1,Object.defineProperty(on,"__esModule",{value:!0}),on.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 on.default=t,on}var an={},Mu;function Jv(){if(Mu)return an;Mu=1,Object.defineProperty(an,"__esModule",{value:!0}),an.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 an.default=t,an}var sn={},Iu;function Qv(){if(Iu)return sn;Iu=1,Object.defineProperty(sn,"__esModule",{value:!0}),sn.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 sn.default=t,sn}var ln={},Nu;function Zv(){if(Nu)return ln;Nu=1,Object.defineProperty(ln,"__esModule",{value:!0}),ln.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 ln.default=t,ln}var un={},ku;function ey(){if(ku)return un;ku=1,Object.defineProperty(un,"__esModule",{value:!0}),un.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 un.default=t,un}var cn={},Du;function ty(){if(Du)return cn;Du=1,Object.defineProperty(cn,"__esModule",{value:!0}),cn.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 cn.default=t,cn}var dn={},ju;function ry(){if(ju)return dn;ju=1,Object.defineProperty(dn,"__esModule",{value:!0}),dn.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 dn.default=t,dn}var fn={},$u;function ny(){if($u)return fn;$u=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-atomic":"true","aria-live":"polite"},relatedConcepts:[{concept:{name:"output"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},t=e;return fn.default=t,fn}var pn={},Bu;function oy(){if(Bu)return pn;Bu=1,Object.defineProperty(pn,"__esModule",{value:!0}),pn.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 pn.default=t,pn}var mn={},Lu;function ay(){if(Lu)return mn;Lu=1,Object.defineProperty(mn,"__esModule",{value:!0}),mn.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 mn.default=t,mn}var hn={},Fu;function iy(){if(Fu)return hn;Fu=1,Object.defineProperty(hn,"__esModule",{value:!0}),hn.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 hn.default=t,hn}var bn={},Uu;function sy(){if(Uu)return bn;Uu=1,Object.defineProperty(bn,"__esModule",{value:!0}),bn.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 bn.default=t,bn}var vn={},zu;function ly(){if(zu)return vn;zu=1,Object.defineProperty(vn,"__esModule",{value:!0}),vn.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 vn.default=t,vn}var yn={},Vu;function uy(){if(Vu)return yn;Vu=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-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 yn.default=t,yn}var gn={},Hu;function cy(){if(Hu)return gn;Hu=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-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 gn.default=t,gn}var Rn={},Wu;function dy(){if(Wu)return Rn;Wu=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:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},t=e;return Rn.default=t,Rn}var wn={},Gu;function fy(){if(Gu)return wn;Gu=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:[{concept:{name:"dfn"},module:"HTML"},{concept:{name:"dt"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},t=e;return wn.default=t,wn}var En={},Ku;function py(){if(Ku)return En;Ku=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-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 En.default=t,En}var Cn={},Yu;function my(){if(Yu)return Cn;Yu=1,Object.defineProperty(Cn,"__esModule",{value:!0}),Cn.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 Cn.default=t,Cn}var xn={},Xu;function hy(){if(Xu)return xn;Xu=1,Object.defineProperty(xn,"__esModule",{value:!0}),xn.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 xn.default=t,xn}var qn={},Ju;function by(){if(Ju)return qn;Ju=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-orientation":"horizontal"},relatedConcepts:[{concept:{name:"menubar"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","group"]]},t=e;return qn.default=t,qn}var _n={},Qu;function vy(){if(Qu)return _n;Qu=1,Object.defineProperty(_n,"__esModule",{value:!0}),_n.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 _n.default=t,_n}var Pn={},Zu;function yy(){if(Zu)return Pn;Zu=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-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 Pn.default=t,Pn}var Tn={},ec;function gy(){if(ec)return Tn;ec=1,Object.defineProperty(Tn,"__esModule",{value:!0}),Tn.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 Tn.default=t,Tn}var Sn={},tc;function Ry(){if(tc)return Sn;tc=1,Object.defineProperty(Sn,"__esModule",{value:!0}),Sn.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 Sn.default=t,Sn}var rc;function wy(){if(rc)return Zt;rc=1,Object.defineProperty(Zt,"__esModule",{value:!0}),Zt.default=void 0;var e=N(Wb()),t=N(Gb()),r=N(Kb()),n=N(Yb()),o=N(Xb()),a=N(Jb()),i=N(Qb()),s=N(Zb()),l=N(ev()),u=N(tv()),c=N(rv()),f=N(nv()),d=N(ov()),b=N(av()),v=N(iv()),R=N(sv()),S=N(lv()),p=N(uv()),q=N(cv()),_=N(dv()),T=N(fv()),P=N(pv()),y=N(mv()),g=N(hv()),E=N(bv()),O=N(vv()),D=N(yv()),j=N(gv()),B=N(Rv()),A=N(wv()),k=N(Ev()),F=N(Cv()),Z=N(xv()),G=N(qv()),se=N(_v()),ye=N(Pv()),M=N(Tv()),U=N(Sv()),Y=N(Av()),$=N(Ov()),ce=N(Mv()),le=N(Iv()),he=N(Nv()),Ie=N(kv()),oe=N(Dv()),C=N(jv()),L=N($v()),I=N(Bv()),X=N(Lv()),W=N(Fv()),ie=N(Uv()),de=N(zv()),be=N(Vv()),Ne=N(Hv()),Op=N(Wv()),Mp=N(Gv()),Ip=N(Kv()),Np=N(Yv()),kp=N(Xv()),Dp=N(Jv()),jp=N(Qv()),$p=N(Zv()),Bp=N(ey()),Lp=N(ty()),Fp=N(ry()),Up=N(ny()),zp=N(oy()),Vp=N(ay()),Hp=N(iy()),Wp=N(sy()),Gp=N(ly()),Kp=N(uy()),Yp=N(cy()),Xp=N(dy()),Jp=N(fy()),Qp=N(py()),Zp=N(my()),em=N(hy()),tm=N(by()),rm=N(vy()),nm=N(yy()),om=N(gy()),am=N(Ry());function N(Yo){return Yo&&Yo.__esModule?Yo:{default:Yo}}var im=[["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",c.default],["columnheader",f.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",O.default],["gridcell",D.default],["group",j.default],["heading",B.default],["img",A.default],["insertion",k.default],["link",F.default],["list",Z.default],["listbox",G.default],["listitem",se.default],["log",ye.default],["main",M.default],["mark",U.default],["marquee",Y.default],["math",$.default],["menu",ce.default],["menubar",le.default],["menuitem",he.default],["menuitemcheckbox",Ie.default],["menuitemradio",oe.default],["meter",C.default],["navigation",L.default],["none",I.default],["note",X.default],["option",W.default],["paragraph",ie.default],["presentation",de.default],["progressbar",be.default],["radio",Ne.default],["radiogroup",Op.default],["region",Mp.default],["row",Ip.default],["rowgroup",Np.default],["rowheader",kp.default],["scrollbar",Dp.default],["search",jp.default],["searchbox",$p.default],["separator",Bp.default],["slider",Lp.default],["spinbutton",Fp.default],["status",Up.default],["strong",zp.default],["subscript",Vp.default],["superscript",Hp.default],["switch",Wp.default],["tab",Gp.default],["table",Kp.default],["tablist",Yp.default],["tabpanel",Xp.default],["term",Jp.default],["textbox",Qp.default],["time",Zp.default],["timer",em.default],["toolbar",tm.default],["tooltip",rm.default],["tree",nm.default],["treegrid",om.default],["treeitem",am.default]],sm=im;return Zt.default=sm,Zt}var An={},On={},nc;function Ey(){if(nc)return On;nc=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:"abstract [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},t=e;return On.default=t,On}var Mn={},oc;function Cy(){if(oc)return Mn;oc=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-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 Mn.default=t,Mn}var In={},ac;function xy(){if(ac)return In;ac=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:"afterword [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},t=e;return In.default=t,In}var Nn={},ic;function qy(){if(ic)return Nn;ic=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:"appendix [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},t=e;return Nn.default=t,Nn}var kn={},sc;function _y(){if(sc)return kn;sc=1,Object.defineProperty(kn,"__esModule",{value:!0}),kn.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 kn.default=t,kn}var Dn={},lc;function Py(){if(lc)return Dn;lc=1,Object.defineProperty(Dn,"__esModule",{value:!0}),Dn.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 Dn.default=t,Dn}var jn={},uc;function Ty(){if(uc)return jn;uc=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:"bibliography [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["doc-biblioentry"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},t=e;return jn.default=t,jn}var $n={},cc;function Sy(){if(cc)return $n;cc=1,Object.defineProperty($n,"__esModule",{value:!0}),$n.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 $n.default=t,$n}var Bn={},dc;function Ay(){if(dc)return Bn;dc=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:"chapter [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},t=e;return Bn.default=t,Bn}var Ln={},fc;function Oy(){if(fc)return Ln;fc=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:"colophon [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},t=e;return Ln.default=t,Ln}var Fn={},pc;function My(){if(pc)return Fn;pc=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:"conclusion [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},t=e;return Fn.default=t,Fn}var Un={},mc;function Iy(){if(mc)return Un;mc=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:"cover [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","img"]]},t=e;return Un.default=t,Un}var zn={},hc;function Ny(){if(hc)return zn;hc=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:"credit [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},t=e;return zn.default=t,zn}var Vn={},bc;function ky(){if(bc)return Vn;bc=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:"credits [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},t=e;return Vn.default=t,Vn}var Hn={},vc;function Dy(){if(vc)return Hn;vc=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:"dedication [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},t=e;return Hn.default=t,Hn}var Wn={},yc;function jy(){if(yc)return Wn;yc=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:"rearnote [EPUB-SSV]"},module:"EPUB"}],requireContextRole:["doc-endnotes"],requiredContextRole:["doc-endnotes"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","listitem"]]},t=e;return Wn.default=t,Wn}var Gn={},gc;function $y(){if(gc)return Gn;gc=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:"rearnotes [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["doc-endnote"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},t=e;return Gn.default=t,Gn}var Kn={},Rc;function By(){if(Rc)return Kn;Rc=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:"epigraph [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},t=e;return Kn.default=t,Kn}var Yn={},wc;function Ly(){if(wc)return Yn;wc=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:"epilogue [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},t=e;return Yn.default=t,Yn}var Xn={},Ec;function Fy(){if(Ec)return Xn;Ec=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:"errata [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},t=e;return Xn.default=t,Xn}var Jn={},Cc;function Uy(){if(Cc)return Jn;Cc=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:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},t=e;return Jn.default=t,Jn}var Qn={},xc;function zy(){if(xc)return Qn;xc=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:"footnote [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},t=e;return Qn.default=t,Qn}var Zn={},qc;function Vy(){if(qc)return Zn;qc=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:"foreword [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},t=e;return Zn.default=t,Zn}var eo={},_c;function Hy(){if(_c)return eo;_c=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:"glossary [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["definition"],["term"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},t=e;return eo.default=t,eo}var to={},Pc;function Wy(){if(Pc)return to;Pc=1,Object.defineProperty(to,"__esModule",{value:!0}),to.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 to.default=t,to}var ro={},Tc;function Gy(){if(Tc)return ro;Tc=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:"index [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]},t=e;return ro.default=t,ro}var no={},Sc;function Ky(){if(Sc)return no;Sc=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:"introduction [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},t=e;return no.default=t,no}var oo={},Ac;function Yy(){if(Ac)return oo;Ac=1,Object.defineProperty(oo,"__esModule",{value:!0}),oo.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 oo.default=t,oo}var ao={},Oc;function Xy(){if(Oc)return ao;Oc=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:"notice [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","note"]]},t=e;return ao.default=t,ao}var io={},Mc;function Jy(){if(Mc)return io;Mc=1,Object.defineProperty(io,"__esModule",{value:!0}),io.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 io.default=t,io}var so={},Ic;function Qy(){if(Ic)return so;Ic=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:"page-list [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]},t=e;return so.default=t,so}var lo={},Nc;function Zy(){if(Nc)return lo;Nc=1,Object.defineProperty(lo,"__esModule",{value:!0}),lo.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 lo.default=t,lo}var uo={},kc;function eg(){if(kc)return uo;kc=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:"preface [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},t=e;return uo.default=t,uo}var co={},Dc;function tg(){if(Dc)return co;Dc=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:"prologue [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},t=e;return co.default=t,co}var fo={},jc;function rg(){if(jc)return fo;jc=1,Object.defineProperty(fo,"__esModule",{value:!0}),fo.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 fo.default=t,fo}var po={},$c;function ng(){if($c)return po;$c=1,Object.defineProperty(po,"__esModule",{value:!0}),po.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 po.default=t,po}var mo={},Bc;function og(){if(Bc)return mo;Bc=1,Object.defineProperty(mo,"__esModule",{value:!0}),mo.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 mo.default=t,mo}var ho={},Lc;function ag(){if(Lc)return ho;Lc=1,Object.defineProperty(ho,"__esModule",{value:!0}),ho.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 ho.default=t,ho}var bo={},Fc;function ig(){if(Fc)return bo;Fc=1,Object.defineProperty(bo,"__esModule",{value:!0}),bo.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 bo.default=t,bo}var Uc;function sg(){if(Uc)return An;Uc=1,Object.defineProperty(An,"__esModule",{value:!0}),An.default=void 0;var e=$(Ey()),t=$(Cy()),r=$(xy()),n=$(qy()),o=$(_y()),a=$(Py()),i=$(Ty()),s=$(Sy()),l=$(Ay()),u=$(Oy()),c=$(My()),f=$(Iy()),d=$(Ny()),b=$(ky()),v=$(Dy()),R=$(jy()),S=$($y()),p=$(By()),q=$(Ly()),_=$(Fy()),T=$(Uy()),P=$(zy()),y=$(Vy()),g=$(Hy()),E=$(Wy()),O=$(Gy()),D=$(Ky()),j=$(Yy()),B=$(Xy()),A=$(Jy()),k=$(Qy()),F=$(Zy()),Z=$(eg()),G=$(tg()),se=$(rg()),ye=$(ng()),M=$(og()),U=$(ag()),Y=$(ig());function $(he){return he&&he.__esModule?he:{default:he}}var ce=[["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",c.default],["doc-cover",f.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",O.default],["doc-introduction",D.default],["doc-noteref",j.default],["doc-notice",B.default],["doc-pagebreak",A.default],["doc-pagelist",k.default],["doc-part",F.default],["doc-preface",Z.default],["doc-prologue",G.default],["doc-pullquote",se.default],["doc-qna",ye.default],["doc-subtitle",M.default],["doc-tip",U.default],["doc-toc",Y.default]],le=ce;return An.default=le,An}var vo={},yo={},zc;function lg(){if(zc)return yo;zc=1,Object.defineProperty(yo,"__esModule",{value:!0}),yo.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 yo.default=t,yo}var go={},Vc;function ug(){if(Vc)return go;Vc=1,Object.defineProperty(go,"__esModule",{value:!0}),go.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 go.default=t,go}var Ro={},Hc;function cg(){if(Hc)return Ro;Hc=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-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 Ro.default=t,Ro}var Wc;function dg(){if(Wc)return vo;Wc=1,Object.defineProperty(vo,"__esModule",{value:!0}),vo.default=void 0;var e=n(lg()),t=n(ug()),r=n(cg());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 vo.default=a,vo}var Gc;function gs(){if(Gc)return Bt;Gc=1,Object.defineProperty(Bt,"__esModule",{value:!0}),Bt.default=void 0;var e=a(Hb()),t=a(wy()),r=a(sg()),n=a(dg()),o=a(Go());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)||(_=c(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(D){throw D},f:P}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
267
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 D=_.next();return y=D.done,D},e:function(D){g=!0,E=D},f:function(){try{!y&&_.return!=null&&_.return()}finally{if(g)throw E}}}}function l(p,q){return b(p)||d(p,q)||c(p,q)||u()}function u(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
268
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function c(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 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(O){y=!0,E=O}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 O=function(){var j=E.value,$=v.find(function(G){var se=l(G,1),ye=se[0];return ye===j});if($)for(var A=$[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;)O()}catch(D){g.e(D)}finally{g.f()}}}catch(D){T.e(D)}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(O){T.e(O)}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 Bt.default=S,Bt}var Ro={},Ga={},Vc;function ig(){if(Vc)return Ga;Vc=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 Ga.dequal=t,Ga}var Hc;function sg(){if(Hc)return Ro;Hc=1,Object.defineProperty(Ro,"__esModule",{value:!0}),Ro.default=void 0;var e=ig(),t=n(Ho()),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.
269
- 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=[],O=!0,D=!1,j,$;try{for(g=g.call(P);!(O=(j=g.next()).done)&&(E.push(j.value),!(y&&E.length===y));O=!0);}catch(A){D=!0,$=A}finally{try{!O&&g.return!=null&&g.return()}finally{if(D)throw $}}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,O=function(){};return{s:O,n:function(){return E>=P.length?{done:!0}:{done:!1,value:P[E++]}},e:function(k){throw k},f:O}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
270
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var D=!0,j=!1,$;return{s:function(){g=g.call(P)},n:function(){var k=g.next();return D=k.done,k},e:function(k){j=!0,$=k},f:function(){try{!D&&g.return!=null&&g.return()}finally{if(j)throw $}}}}function u(P,y){if(P){if(typeof P=="string")return c(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 c(P,y)}}function c(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=[],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=f.find(function(D){return(0,e.dequal)(D,P)}),g;y?g=y[1]:g=[];for(var E=!0,O=0;O<g.length;O++)if(g[O]===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),O;try{for(E.s();!(O=E.n()).done;){var D=o(O.value,2),j=D[0],$=D[1];y.call(g,$,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 Ro.default=T,Ro}var wo={},Wc;function lg(){if(Wc)return wo;Wc=1,Object.defineProperty(wo,"__esModule",{value:!0}),wo.default=void 0;var e=r(Ho()),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.
271
- 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 O=[],D=!0,j=!1,$,A;try{for(E=E.call(y);!(D=($=E.next()).done)&&(O.push($.value),!(g&&O.length===g));D=!0);}catch(k){j=!0,A=k}finally{try{!D&&E.return!=null&&E.return()}finally{if(j)throw A}}return O}}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 O=0,D=function(){};return{s:D,n:function(){return O>=y.length?{done:!0}:{done:!1,value:y[O++]}},e:function(F){throw F},f:D}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
272
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var j=!0,$=!1,A;return{s:function(){E=E.call(y)},n:function(){var F=E.next();return j=F.done,F},e:function(F){$=!0,A=F},f:function(){try{!j&&E.return!=null&&E.return()}finally{if($)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,O=new Array(g);E<g;E++)O[E]=y[E];return O}for(var c=[],f=t.default.keys(),d=0;d<f.length;d++){var b=f[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&&c.push([b,R])}}var T={entries:function(){return c},forEach:function(g){var E=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,O=s(c),D;try{for(O.s();!(D=O.n()).done;){var j=n(D.value,2),$=j[0],A=j[1];g.call(E,A,$,c)}}catch(k){O.e(k)}finally{O.f()}},get:function(g){var E=c.find(function(O){return O[0]===g});return E&&E[1]},has:function(g){return!!T.get(g)},keys:function(){return c.map(function(g){var E=n(g,1),O=E[0];return O})},values:function(){return c.map(function(g){var E=n(g,2),O=E[1];return O})}},P=(0,e.default)(T,T.entries());return wo.default=P,wo}var Gc;function ug(){if(Gc)return Re;Gc=1,Object.defineProperty(Re,"__esModule",{value:!0}),Re.roles=Re.roleElements=Re.elementRoles=Re.dom=Re.aria=void 0;var e=a(qb()),t=a(_b()),r=a(hs()),n=a(sg()),o=a(lg());function a(f){return f&&f.__esModule?f:{default:f}}var i=e.default;Re.aria=i;var s=t.default;Re.dom=s;var l=r.default;Re.roles=l;var u=n.default;Re.elementRoles=u;var c=o.default;return Re.roleElements=c,Re}var Ce=ug(),Ka={exports:{}},Kc;function cg(){return Kc||(Kc=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 c=0;c<l.length;c++)a[l][l.charAt(c)]=c}return a[l][u]}var s={compressToBase64:function(l){if(l==null)return"";var u=s._compress(l,6,function(c){return n.charAt(c)});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),c=new Uint8Array(u.length*2),f=0,d=u.length;f<d;f++){var b=u.charCodeAt(f);c[f*2]=b>>>8,c[f*2+1]=b%256}return c},decompressFromUint8Array:function(l){if(l==null)return s.decompress(l);for(var u=new Array(l.length/2),c=0,f=u.length;c<f;c++)u[c]=l[c*2]*256+l[c*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 i(o,l.charAt(u))}))},compress:function(l){return s._compress(l,16,function(u){return r(u)})},_compress:function(l,u,c){if(l==null)return"";var f,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(f=0;f<T;f++)y=y<<1,g==u-1?(g=0,P.push(c(y)),y=0):g++;for(d=p.charCodeAt(0),f=0;f<8;f++)y=y<<1|d&1,g==u-1?(g=0,P.push(c(y)),y=0):g++,d=d>>1}else{for(d=1,f=0;f<T;f++)y=y<<1|d,g==u-1?(g=0,P.push(c(y)),y=0):g++,d=0;for(d=p.charCodeAt(0),f=0;f<16;f++)y=y<<1|d&1,g==u-1?(g=0,P.push(c(y)),y=0):g++,d=d>>1}q--,q==0&&(q=Math.pow(2,T),T++),delete v[p]}else for(d=b[p],f=0;f<T;f++)y=y<<1|d&1,g==u-1?(g=0,P.push(c(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(f=0;f<T;f++)y=y<<1,g==u-1?(g=0,P.push(c(y)),y=0):g++;for(d=p.charCodeAt(0),f=0;f<8;f++)y=y<<1|d&1,g==u-1?(g=0,P.push(c(y)),y=0):g++,d=d>>1}else{for(d=1,f=0;f<T;f++)y=y<<1|d,g==u-1?(g=0,P.push(c(y)),y=0):g++,d=0;for(d=p.charCodeAt(0),f=0;f<16;f++)y=y<<1|d&1,g==u-1?(g=0,P.push(c(y)),y=0):g++,d=d>>1}q--,q==0&&(q=Math.pow(2,T),T++),delete v[p]}else for(d=b[p],f=0;f<T;f++)y=y<<1|d&1,g==u-1?(g=0,P.push(c(y)),y=0):g++,d=d>>1;q--,q==0&&(q=Math.pow(2,T),T++)}for(d=2,f=0;f<T;f++)y=y<<1|d&1,g==u-1?(g=0,P.push(c(y)),y=0):g++,d=d>>1;for(;;)if(y=y<<1,g==u-1){P.push(c(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,c){var f=[],d=4,b=4,v=3,R="",S=[],p,q,_,T,P,y,g,E={val:c(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=c(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=c(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=c(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=c(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=c(E.index++)),_|=(T>0?1:0)*y,y<<=1;f[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=c(E.index++)),_|=(T>0?1:0)*y,y<<=1;f[b++]=r(_),g=b-1,d--;break;case 2:return S.join("")}if(d==0&&(d=Math.pow(2,v),v++),f[g])R=f[g];else if(g===b)R=q+q.charAt(0);else return null;S.push(R),f[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})})(Ka)),Ka.exports}var dg=cg();const fg=Dm(dg);function kf(e){return e.replace(/</g,"&lt;").replace(/>/g,"&gt;")}const pg=(e,t,r,n,o,a,i)=>{const s=n+r.indent,l=r.colors;return e.map(u=>{const c=t[u];let f=i(c,r,s,o,a);return typeof c!="string"&&(f.indexOf(`
273
- `)!==-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("")},mg=3,hg=(e,t,r,n,o,a)=>e.map(i=>{const s=typeof i=="string"?Df(i,t):a(i,t,r,n,o);return s===""&&typeof i=="object"&&i!==null&&i.nodeType!==mg?"":t.spacingOuter+r+s}).join(""),Df=(e,t)=>{const r=t.colors.content;return r.open+kf(e)+r.close},bg=(e,t)=>{const r=t.colors.comment;return r.open+"<!--"+kf(e)+"-->"+r.close},vg=(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},yg=(e,t)=>{const r=t.colors.tag;return r.open+"<"+e+r.close+" …"+r.open+" />"+r.close},gg=1,jf=3,Bf=8,$f=11,Rg=/^((HTML|SVG)\w*)?Element$/,Lf=e=>{const{tagName:t}=e;return!!(typeof t=="string"&&t.includes("-")||typeof e.hasAttribute=="function"&&e.hasAttribute("is"))},wg=e=>{const t=e.constructor.name,{nodeType:r}=e;return r===gg&&(Rg.test(t)||Lf(e))||r===jf&&t==="Text"||r===Bf&&t==="Comment"||r===$f&&t==="DocumentFragment"};function Eg(e){return e.nodeType===jf}function Cg(e){return e.nodeType===Bf}function Ya(e){return e.nodeType===$f}function xg(e){return{test:t=>{var r;return((t==null||(r=t.constructor)==null?void 0:r.name)||Lf(t))&&wg(t)},serialize:(t,r,n,o,a,i)=>{if(Eg(t))return Df(t.data,r);if(Cg(t))return bg(t.data,r);const s=Ya(t)?"DocumentFragment":t.tagName.toLowerCase();return++o>r.maxDepth?yg(s,r):vg(s,pg(Ya(t)?[]:Array.from(t.attributes).map(l=>l.name).sort(),Ya(t)?{}:Array.from(t.attributes).reduce((l,u)=>(l[u.name]=u.value,l),{}),r,n+r.indent,o,a,i),hg(Array.prototype.slice.call(t.childNodes||t.children).filter(e),r,n+r.indent,o,a,i),r,n)}}}let Ff=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,Ff=e.call(module,"picocolors")}catch{}function qg(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 Ff.dim(n)+`
22
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function c(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 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(O){y=!0,E=O}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 O=function(){var j=E.value,B=v.find(function(G){var se=l(G,1),ye=se[0];return ye===j});if(B)for(var A=B[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;)O()}catch(D){g.e(D)}finally{g.f()}}}catch(D){T.e(D)}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(O){T.e(O)}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 Bt.default=S,Bt}var wo={},Ya={},Kc;function fg(){if(Kc)return Ya;Kc=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 Ya.dequal=t,Ya}var Yc;function pg(){if(Yc)return wo;Yc=1,Object.defineProperty(wo,"__esModule",{value:!0}),wo.default=void 0;var e=fg(),t=n(Go()),r=n(gs());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=[],O=!0,D=!1,j,B;try{for(g=g.call(P);!(O=(j=g.next()).done)&&(E.push(j.value),!(y&&E.length===y));O=!0);}catch(A){D=!0,B=A}finally{try{!O&&g.return!=null&&g.return()}finally{if(D)throw B}}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,O=function(){};return{s:O,n:function(){return E>=P.length?{done:!0}:{done:!1,value:P[E++]}},e:function(k){throw k},f:O}}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 D=!0,j=!1,B;return{s:function(){g=g.call(P)},n:function(){var k=g.next();return D=k.done,k},e:function(k){j=!0,B=k},f:function(){try{!D&&g.return!=null&&g.return()}finally{if(j)throw B}}}}function u(P,y){if(P){if(typeof P=="string")return c(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 c(P,y)}}function c(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=[],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=f.find(function(D){return(0,e.dequal)(D,P)}),g;y?g=y[1]:g=[];for(var E=!0,O=0;O<g.length;O++)if(g[O]===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),O;try{for(E.s();!(O=E.n()).done;){var D=o(O.value,2),j=D[0],B=D[1];y.call(g,B,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 wo.default=T,wo}var Eo={},Xc;function mg(){if(Xc)return Eo;Xc=1,Object.defineProperty(Eo,"__esModule",{value:!0}),Eo.default=void 0;var e=r(Go()),t=r(gs());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 O=[],D=!0,j=!1,B,A;try{for(E=E.call(y);!(D=(B=E.next()).done)&&(O.push(B.value),!(g&&O.length===g));D=!0);}catch(k){j=!0,A=k}finally{try{!D&&E.return!=null&&E.return()}finally{if(j)throw A}}return O}}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 O=0,D=function(){};return{s:D,n:function(){return O>=y.length?{done:!0}:{done:!1,value:y[O++]}},e:function(F){throw F},f:D}}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,B=!1,A;return{s:function(){E=E.call(y)},n:function(){var F=E.next();return j=F.done,F},e:function(F){B=!0,A=F},f:function(){try{!j&&E.return!=null&&E.return()}finally{if(B)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,O=new Array(g);E<g;E++)O[E]=y[E];return O}for(var c=[],f=t.default.keys(),d=0;d<f.length;d++){var b=f[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&&c.push([b,R])}}var T={entries:function(){return c},forEach:function(g){var E=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,O=s(c),D;try{for(O.s();!(D=O.n()).done;){var j=n(D.value,2),B=j[0],A=j[1];g.call(E,A,B,c)}}catch(k){O.e(k)}finally{O.f()}},get:function(g){var E=c.find(function(O){return O[0]===g});return E&&E[1]},has:function(g){return!!T.get(g)},keys:function(){return c.map(function(g){var E=n(g,1),O=E[0];return O})},values:function(){return c.map(function(g){var E=n(g,2),O=E[1];return O})}},P=(0,e.default)(T,T.entries());return Eo.default=P,Eo}var Jc;function hg(){if(Jc)return ge;Jc=1,Object.defineProperty(ge,"__esModule",{value:!0}),ge.roles=ge.roleElements=ge.elementRoles=ge.dom=ge.aria=void 0;var e=a(Ob()),t=a(Mb()),r=a(gs()),n=a(pg()),o=a(mg());function a(f){return f&&f.__esModule?f:{default:f}}var i=e.default;ge.aria=i;var s=t.default;ge.dom=s;var l=r.default;ge.roles=l;var u=n.default;ge.elementRoles=u;var c=o.default;return ge.roleElements=c,ge}var Ee=hg(),Xa={exports:{}},Qc;function bg(){return Qc||(Qc=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 c=0;c<l.length;c++)a[l][l.charAt(c)]=c}return a[l][u]}var s={compressToBase64:function(l){if(l==null)return"";var u=s._compress(l,6,function(c){return n.charAt(c)});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),c=new Uint8Array(u.length*2),f=0,d=u.length;f<d;f++){var b=u.charCodeAt(f);c[f*2]=b>>>8,c[f*2+1]=b%256}return c},decompressFromUint8Array:function(l){if(l==null)return s.decompress(l);for(var u=new Array(l.length/2),c=0,f=u.length;c<f;c++)u[c]=l[c*2]*256+l[c*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 i(o,l.charAt(u))}))},compress:function(l){return s._compress(l,16,function(u){return r(u)})},_compress:function(l,u,c){if(l==null)return"";var f,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(f=0;f<T;f++)y=y<<1,g==u-1?(g=0,P.push(c(y)),y=0):g++;for(d=p.charCodeAt(0),f=0;f<8;f++)y=y<<1|d&1,g==u-1?(g=0,P.push(c(y)),y=0):g++,d=d>>1}else{for(d=1,f=0;f<T;f++)y=y<<1|d,g==u-1?(g=0,P.push(c(y)),y=0):g++,d=0;for(d=p.charCodeAt(0),f=0;f<16;f++)y=y<<1|d&1,g==u-1?(g=0,P.push(c(y)),y=0):g++,d=d>>1}q--,q==0&&(q=Math.pow(2,T),T++),delete v[p]}else for(d=b[p],f=0;f<T;f++)y=y<<1|d&1,g==u-1?(g=0,P.push(c(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(f=0;f<T;f++)y=y<<1,g==u-1?(g=0,P.push(c(y)),y=0):g++;for(d=p.charCodeAt(0),f=0;f<8;f++)y=y<<1|d&1,g==u-1?(g=0,P.push(c(y)),y=0):g++,d=d>>1}else{for(d=1,f=0;f<T;f++)y=y<<1|d,g==u-1?(g=0,P.push(c(y)),y=0):g++,d=0;for(d=p.charCodeAt(0),f=0;f<16;f++)y=y<<1|d&1,g==u-1?(g=0,P.push(c(y)),y=0):g++,d=d>>1}q--,q==0&&(q=Math.pow(2,T),T++),delete v[p]}else for(d=b[p],f=0;f<T;f++)y=y<<1|d&1,g==u-1?(g=0,P.push(c(y)),y=0):g++,d=d>>1;q--,q==0&&(q=Math.pow(2,T),T++)}for(d=2,f=0;f<T;f++)y=y<<1|d&1,g==u-1?(g=0,P.push(c(y)),y=0):g++,d=d>>1;for(;;)if(y=y<<1,g==u-1){P.push(c(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,c){var f=[],d=4,b=4,v=3,R="",S=[],p,q,_,T,P,y,g,E={val:c(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=c(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=c(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=c(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=c(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=c(E.index++)),_|=(T>0?1:0)*y,y<<=1;f[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=c(E.index++)),_|=(T>0?1:0)*y,y<<=1;f[b++]=r(_),g=b-1,d--;break;case 2:return S.join("")}if(d==0&&(d=Math.pow(2,v),v++),f[g])R=f[g];else if(g===b)R=q+q.charAt(0);else return null;S.push(R),f[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})})(Xa)),Xa.exports}var vg=bg();const yg=Um(vg);function Bf(e){return e.replace(/</g,"&lt;").replace(/>/g,"&gt;")}const gg=(e,t,r,n,o,a,i)=>{const s=n+r.indent,l=r.colors;return e.map(u=>{const c=t[u];let f=i(c,r,s,o,a);return typeof c!="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("")},Rg=3,wg=(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!==Rg?"":t.spacingOuter+r+s}).join(""),Lf=(e,t)=>{const r=t.colors.content;return r.open+Bf(e)+r.close},Eg=(e,t)=>{const r=t.colors.comment;return r.open+"<!--"+Bf(e)+"-->"+r.close},Cg=(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},xg=(e,t)=>{const r=t.colors.tag;return r.open+"<"+e+r.close+" …"+r.open+" />"+r.close},qg=1,Ff=3,Uf=8,zf=11,_g=/^((HTML|SVG)\w*)?Element$/,Vf=e=>{const{tagName:t}=e;return!!(typeof t=="string"&&t.includes("-")||typeof e.hasAttribute=="function"&&e.hasAttribute("is"))},Pg=e=>{const t=e.constructor.name,{nodeType:r}=e;return r===qg&&(_g.test(t)||Vf(e))||r===Ff&&t==="Text"||r===Uf&&t==="Comment"||r===zf&&t==="DocumentFragment"};function Tg(e){return e.nodeType===Ff}function Sg(e){return e.nodeType===Uf}function Ja(e){return e.nodeType===zf}function Ag(e){return{test:t=>{var r;return((t==null||(r=t.constructor)==null?void 0:r.name)||Vf(t))&&Pg(t)},serialize:(t,r,n,o,a,i)=>{if(Tg(t))return Lf(t.data,r);if(Sg(t))return Eg(t.data,r);const s=Ja(t)?"DocumentFragment":t.tagName.toLowerCase();return++o>r.maxDepth?xg(s,r):Cg(s,gg(Ja(t)?[]:Array.from(t.attributes).map(l=>l.name).sort(),Ja(t)?{}:Array.from(t.attributes).reduce((l,u)=>(l[u.name]=u.value,l),{}),r,n+r.indent,o,a,i),wg(Array.prototype.slice.call(t.childNodes||t.children).filter(e),r,n+r.indent,o,a,i),r,n)}}}let Hf=null,Rs=null,ws=null;try{const e=module&&module.require;Rs=e.call(module,"fs").readFileSync,ws=e.call(module,"@babel/code-frame").codeFrameColumns,Hf=e.call(module,"picocolors")}catch{}function Og(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=Rs(a,"utf-8")}catch{return""}const u=ws(l,{start:{line:i,column:s}},{highlightCode:!0,linesBelow:0});return Hf.dim(n)+`
274
28
  `+u+`
275
- `}function _g(){if(!bs||!vs)return"";const t=new Error().stack.split(`
276
- `).slice(1).find(r=>!r.includes("node_modules/"));return qg(t)}const Uf=3;function Xa(){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 Pg(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 Ye(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 Tg=()=>{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:Sg}=_f.plugins,Ag=1,Og=8;function Mg(e){return e.nodeType!==Og&&(e.nodeType!==Ag||!e.matches(Q().defaultIgnore))}function wa(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=Mg,...a}=r,i=_f.format(e,{plugins:[xg(o),Sg],printFunctionName:!1,highlight:Tg(),...a});return t!==void 0&&e.outerHTML.length>t?i.slice(0,t)+"...":i}const Yc=function(){const e=_g();console.log(e?wa(...arguments)+`
29
+ `}function Mg(){if(!Rs||!ws)return"";const t=new Error().stack.split(`
30
+ `).slice(1).find(r=>!r.includes("node_modules/"));return Og(t)}const Wf=3;function Qa(){return typeof jest<"u"&&jest!==null?setTimeout._isMockFunction===!0||Object.prototype.hasOwnProperty.call(setTimeout,"clock"):!1}function Es(){if(typeof window>"u")throw new Error("Could not find default container");return window.document}function Ig(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 Ke(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 Ng=()=>{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:kg}=Af.plugins,Dg=1,jg=8;function $g(e){return e.nodeType!==jg&&(e.nodeType!==Dg||!e.matches(Q().defaultIgnore))}function Ea(e,t,r){if(r===void 0&&(r={}),e||(e=Es().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=$g,...a}=r,i=Af.format(e,{plugins:[Ag(o),kg],printFunctionName:!1,highlight:Ng(),...a});return t!==void 0&&e.outerHTML.length>t?i.slice(0,t)+"...":i}const Zc=function(){const e=Mg();console.log(e?Ea(...arguments)+`
277
31
 
278
- `+e:wa(...arguments))};let Ea={testIdAttribute:"data-testid",asyncUtilTimeout:1e3,asyncWrapper:e=>e(),unstable_advanceTimersWrapper:e=>e(),eventWrapper:e=>e(),defaultHidden:!1,defaultIgnore:"script, style",showOriginalStackTrace:!1,throwSuggestions:!1,getElementError(e,t){const r=wa(t),n=new Error([e,"Ignored nodes: comments, "+Ea.defaultIgnore+`
32
+ `+e:Ea(...arguments))};let Ca={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=Ea(t),n=new Error([e,"Ignored nodes: comments, "+Ca.defaultIgnore+`
279
33
  `+r].filter(Boolean).join(`
280
34
 
281
- `));return n.name="TestingLibraryElementError",n},_disableExpensiveErrorDiagnostics:!1,computedStyleSupportsPseudoElements:!1};function Ig(e){try{return Ea._disableExpensiveErrorDiagnostics=!0,e()}finally{Ea._disableExpensiveErrorDiagnostics=!1}}function Q(){return Ea}const Ng=["button","meter","output","progress","select","textarea","input"];function zf(e){return Ng.includes(e.nodeName.toLowerCase())?"":e.nodeType===Uf?e.textContent:Array.from(e.childNodes).map(t=>zf(t)).join("")}function mi(e){let t;return e.tagName.toLowerCase()==="label"?t=zf(e):t=e.value||e.textContent,t}function Vf(e){if(e.labels!==void 0){var t;return(t=e.labels)!=null?t:[]}if(!kg(e))return[];const r=e.ownerDocument.querySelectorAll("label");return Array.from(r).filter(n=>n.control===e)}function kg(e){return/BUTTON|METER|OUTPUT|PROGRESS|SELECT|TEXTAREA/.test(e.tagName)||e.tagName==="INPUT"&&e.getAttribute("type")!=="hidden"}function Hf(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:mi(s),formControl:null}:{content:"",formControl:null}}):Array.from(Vf(t)).map(i=>{const s=mi(i),u=Array.from(i.querySelectorAll("button, input, meter, output, progress, select, textarea")).filter(c=>c.matches(n))[0];return{content:s,formControl:u}})}function Wf(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 Ot(e,t,r,n){if(typeof e!="string")return!1;Wf(r);const o=n(e);return typeof r=="string"||typeof r=="number"?o.toLowerCase().includes(r.toString().toLowerCase()):typeof r=="function"?r(o,t):Kf(r,o)}function We(e,t,r,n){if(typeof e!="string")return!1;Wf(r);const o=n(e);return r instanceof Function?r(o,t):r instanceof RegExp?Kf(r,o):o===String(r)}function Gf(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 vt(e){let{trim:t,collapseWhitespace:r,normalizer:n}=e;if(!n)return Gf({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 Kf(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 La(e){return e.matches("input[type=submit], input[type=button], input[type=reset]")?e.value:Array.from(e.childNodes).filter(t=>t.nodeType===Uf&&!!t.textContent).map(t=>t.textContent).join("")}const Dg=jg(Ce.elementRoles);function Yf(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=Yf}=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 Dg)if(t(e))return[...r];return[]}function jg(e){function t(i){let{name:s,attributes:l}=i;return""+s+l.map(u=>{let{name:c,value:f,constraints:d=[]}=u;const b=d.indexOf("undefined")!==-1,v=d.indexOf("set")!==-1;return typeof f<"u"?"["+c+'="'+f+'"]':b?":not(["+c+"])":v?"["+c+"]:not(["+c+'=""])':"["+c+"]"}).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(c=>c.value&&c.name==="type"&&c.value==="text");l>=0&&(s=[...s.slice(0,l),...s.slice(l+1)]);const u=t({...i,attributes:s});return c=>l>=0&&c.type!=="text"?!1:c.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 Bg(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=Rs(a),i.reduce((s,l)=>Array.isArray(s[l])?{...s,[l]:[...s[l],a]}:{...s,[l]:[a]},o)},{})}function $g(e,t){let{hidden:r,includeDescription:n}=t;const o=Bg(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(c=>{const f='Name "'+ms(c,{computedStyleSupportsPseudoElements:Q().computedStyleSupportsPseudoElements})+`":
282
- `,d=wa(c.cloneNode(!1));if(n){const b='Description "'+Nf(c,{computedStyleSupportsPseudoElements:Q().computedStyleSupportsPseudoElements})+`":
35
+ `));return n.name="TestingLibraryElementError",n},_disableExpensiveErrorDiagnostics:!1,computedStyleSupportsPseudoElements:!1};function Bg(e){try{return Ca._disableExpensiveErrorDiagnostics=!0,e()}finally{Ca._disableExpensiveErrorDiagnostics=!1}}function Q(){return Ca}const Lg=["button","meter","output","progress","select","textarea","input"];function Gf(e){return Lg.includes(e.nodeName.toLowerCase())?"":e.nodeType===Wf?e.textContent:Array.from(e.childNodes).map(t=>Gf(t)).join("")}function vi(e){let t;return e.tagName.toLowerCase()==="label"?t=Gf(e):t=e.value||e.textContent,t}function Kf(e){if(e.labels!==void 0){var t;return(t=e.labels)!=null?t:[]}if(!Fg(e))return[];const r=e.ownerDocument.querySelectorAll("label");return Array.from(r).filter(n=>n.control===e)}function Fg(e){return/BUTTON|METER|OUTPUT|PROGRESS|SELECT|TEXTAREA/.test(e.tagName)||e.tagName==="INPUT"&&e.getAttribute("type")!=="hidden"}function Yf(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:vi(s),formControl:null}:{content:"",formControl:null}}):Array.from(Kf(t)).map(i=>{const s=vi(i),u=Array.from(i.querySelectorAll("button, input, meter, output, progress, select, textarea")).filter(c=>c.matches(n))[0];return{content:s,formControl:u}})}function Xf(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 Mt(e,t,r,n){if(typeof e!="string")return!1;Xf(r);const o=n(e);return typeof r=="string"||typeof r=="number"?o.toLowerCase().includes(r.toString().toLowerCase()):typeof r=="function"?r(o,t):Qf(r,o)}function He(e,t,r,n){if(typeof e!="string")return!1;Xf(r);const o=n(e);return r instanceof Function?r(o,t):r instanceof RegExp?Qf(r,o):o===String(r)}function Jf(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 bt(e){let{trim:t,collapseWhitespace:r,normalizer:n}=e;if(!n)return Jf({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 Qf(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 Ua(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 Ug=zg(Ee.elementRoles);function Zf(e){return e.hidden===!0||e.getAttribute("aria-hidden")==="true"||e.ownerDocument.defaultView.getComputedStyle(e).display==="none"}function Cs(e,t){t===void 0&&(t={});const{isSubtreeInaccessible:r=Zf}=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 xs(e){for(const{match:t,roles:r}of Ug)if(t(e))return[...r];return[]}function zg(e){function t(i){let{name:s,attributes:l}=i;return""+s+l.map(u=>{let{name:c,value:f,constraints:d=[]}=u;const b=d.indexOf("undefined")!==-1,v=d.indexOf("set")!==-1;return typeof f<"u"?"["+c+'="'+f+'"]':b?":not(["+c+"])":v?"["+c+"]:not(["+c+'=""])':"["+c+"]"}).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(c=>c.value&&c.name==="type"&&c.value==="text");l>=0&&(s=[...s.slice(0,l),...s.slice(l+1)]);const u=t({...i,attributes:s});return c=>l>=0&&c.type!=="text"?!1:c.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 Vg(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?Cs(o)===!1:!0).reduce((o,a)=>{let i=[];return a.hasAttribute("role")?i=a.getAttribute("role").split(" ").slice(0,1):i=xs(a),i.reduce((s,l)=>Array.isArray(s[l])?{...s,[l]:[...s[l],a]}:{...s,[l]:[a]},o)},{})}function Hg(e,t){let{hidden:r,includeDescription:n}=t;const o=Vg(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(c=>{const f='Name "'+ys(c,{computedStyleSupportsPseudoElements:Q().computedStyleSupportsPseudoElements})+`":
36
+ `,d=Ea(c.cloneNode(!1));if(n){const b='Description "'+$f(c,{computedStyleSupportsPseudoElements:Q().computedStyleSupportsPseudoElements})+`":
283
37
  `;return""+f+b+d}return""+f+d}).join(`
284
38
 
285
39
  `);return i+`:
@@ -287,19 +41,19 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
287
41
  `+u+`
288
42
 
289
43
  `+l}).join(`
290
- `)}function Lg(e){return e.tagName==="OPTION"?e.selected:Wo(e,"aria-selected")}function Fg(e){return e.getAttribute("aria-busy")==="true"}function Ug(e){if(!("indeterminate"in e&&e.indeterminate))return"checked"in e?e.checked:Wo(e,"aria-checked")}function zg(e){return Wo(e,"aria-pressed")}function Vg(e){var t,r;return(t=(r=Wo(e,"aria-current"))!=null?r:e.getAttribute("aria-current"))!=null?t:!1}function Hg(e){return Wo(e,"aria-expanded")}function Wo(e,t){const r=e.getAttribute(t);if(r==="true")return!0;if(r==="false")return!1}function Wg(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 Gg(e){const t=e.getAttribute("aria-valuenow");return t===null?void 0:+t}function Kg(e){const t=e.getAttribute("aria-valuemax");return t===null?void 0:+t}function Yg(e){const t=e.getAttribute("aria-valuemin");return t===null?void 0:+t}function Xg(e){const t=e.getAttribute("aria-valuetext");return t===null?void 0:t}const Xc=Gf();function Jg(e){return e.replace(/[.*+\-?^${}()|[\]\\]/g,"\\$&")}function Jc(e){return new RegExp(Jg(e.toLowerCase()),"i")}function Xe(e,t,r,n){let{variant:o,name:a}=n,i="";const s={},l=[["Role","TestId"].includes(e)?r:Jc(r)];a&&(s.name=Jc(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.
44
+ `)}function Wg(e){return e.tagName==="OPTION"?e.selected:Ko(e,"aria-selected")}function Gg(e){return e.getAttribute("aria-busy")==="true"}function Kg(e){if(!("indeterminate"in e&&e.indeterminate))return"checked"in e?e.checked:Ko(e,"aria-checked")}function Yg(e){return Ko(e,"aria-pressed")}function Xg(e){var t,r;return(t=(r=Ko(e,"aria-current"))!=null?r:e.getAttribute("aria-current"))!=null?t:!1}function Jg(e){return Ko(e,"aria-expanded")}function Ko(e,t){const r=e.getAttribute(t);if(r==="true")return!0;if(r==="false")return!1}function Qg(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 Zg(e){const t=e.getAttribute("aria-valuenow");return t===null?void 0:+t}function eR(e){const t=e.getAttribute("aria-valuemax");return t===null?void 0:+t}function tR(e){const t=e.getAttribute("aria-valuemin");return t===null?void 0:+t}function rR(e){const t=e.getAttribute("aria-valuetext");return t===null?void 0:t}const ed=Jf();function nR(e){return e.replace(/[.*+\-?^${}()|[\]\\]/g,"\\$&")}function td(e){return new RegExp(nR(e.toLowerCase()),"i")}function Ye(e,t,r,n){let{variant:o,name:a}=n,i="";const s={},l=[["Role","TestId"].includes(e)?r:td(r)];a&&(s.name=td(a)),e==="Role"&&Cs(t)&&(s.hidden=!0,i=`Element is inaccessible. This means that the element and all its children are invisible to screen readers.
291
45
  If you are using the aria-hidden prop, make sure this is the right choice for your case.
292
- `),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[c,f]=l;return c=typeof c=="string"?"'"+c+"'":c,f=f?", { "+Object.entries(f).map(d=>{let[b,v]=d;return b+": "+v}).join(", ")+" }":"",u+"("+c+f+")"}}}function Je(e,t,r){return r&&!0}function hi(e,t,r){var n,o;if(t===void 0&&(t="get"),e.matches(Q().defaultIgnore))return;const a=(n=e.getAttribute("role"))!=null?n:(o=Rs(e))==null?void 0:o[0];if(a!=="generic"&&Je("Role",r,a))return Xe("Role",e,a,{variant:t,name:ms(e,{computedStyleSupportsPseudoElements:Q().computedStyleSupportsPseudoElements})});const i=Hf(document,e).map(d=>d.content).join(" ");if(Je("LabelText",r,i))return Xe("LabelText",e,i,{variant:t});const s=e.getAttribute("placeholder");if(Je("PlaceholderText",r,s))return Xe("PlaceholderText",e,s,{variant:t});const l=Xc(La(e));if(Je("Text",r,l))return Xe("Text",e,l,{variant:t});if(Je("DisplayValue",r,e.value))return Xe("DisplayValue",e,Xc(e.value),{variant:t});const u=e.getAttribute("alt");if(Je("AltText",r,u))return Xe("AltText",e,u,{variant:t});const c=e.getAttribute("title");if(Je("Title",r,c))return Xe("Title",e,c,{variant:t});const f=e.getAttribute(Q().testIdAttribute);if(Je("TestId",r,f))return Xe("TestId",e,f,{variant:t})}function ta(e,t){e.stack=t.stack.replace(t.message,e.message)}function Qg(e,t){let{container:r=ys(),timeout:n=Q().asyncUtilTimeout,showOriginalStackTrace:o=Q().showOriginalStackTrace,stackTraceError:a,interval:i=50,onTimeout:s=u=>(Object.defineProperty(u,"message",{value:Q().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,c)=>{let f,d,b,v=!1,R="idle";const S=setTimeout(P,n),p=Xa();if(p){const{unstable_advanceTimersWrapper:y}=Q();for(T();!v;){if(!Xa()){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||ta(g,a),c(g);return}if(await y(async()=>{jest.advanceTimersByTime(i)}),v)break;T()}}else{try{Ye(r)}catch(g){c(g);return}d=setInterval(_,i);const{MutationObserver:y}=Pg(r);b=new y(_),b.observe(r,l),T()}function q(y,g){v=!0,clearTimeout(S),p||(clearInterval(d),b.disconnect()),y?c(y):u(g)}function _(){if(Xa()){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||ta(y,a),c(y)}else return T()}function T(){if(R!=="pending")try{const y=Ig(e);typeof y?.then=="function"?(R="pending",y.then(g=>{R="resolved",q(null,g)},g=>{R="rejected",f=g})):q(null,y)}catch(y){f=y}}function P(){let y;f?(y=f,!o&&y.name==="TestingLibraryElementError"&&ta(y,a)):(y=new Error("Timed out in waitFor."),o||ta(y,a)),q(s(y),null)}})}function Zg(e,t){const r=new Error("STACK_TRACE_MESSAGE");return Q().asyncWrapper(()=>Qg(e,{stackTraceError:r,...t}))}function Xf(e,t){return Q().getElementError(e,t)}function eR(e,t){return Xf(e+"\n\n(If this is intentional, then use the `*AllBy*` variant of the query (like `queryAllByText`, `getAllByText`, or `findAllByText`)).",t)}function Fa(e,t,r,n){let{exact:o=!0,collapseWhitespace:a,trim:i,normalizer:s}=n===void 0?{}:n;const l=o?We:Ot,u=vt({collapseWhitespace:a,trim:i,normalizer:s});return Array.from(t.querySelectorAll("["+e+"]")).filter(c=>l(c.getAttribute(e),c,r,u))}function Ca(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=>Xf(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[c,f]=l;return c=typeof c=="string"?"'"+c+"'":c,f=f?", { "+Object.entries(f).map(d=>{let[b,v]=d;return b+": "+v}).join(", ")+" }":"",u+"("+c+f+")"}}}function Xe(e,t,r){return r&&!0}function yi(e,t,r){var n,o;if(t===void 0&&(t="get"),e.matches(Q().defaultIgnore))return;const a=(n=e.getAttribute("role"))!=null?n:(o=xs(e))==null?void 0:o[0];if(a!=="generic"&&Xe("Role",r,a))return Ye("Role",e,a,{variant:t,name:ys(e,{computedStyleSupportsPseudoElements:Q().computedStyleSupportsPseudoElements})});const i=Yf(document,e).map(d=>d.content).join(" ");if(Xe("LabelText",r,i))return Ye("LabelText",e,i,{variant:t});const s=e.getAttribute("placeholder");if(Xe("PlaceholderText",r,s))return Ye("PlaceholderText",e,s,{variant:t});const l=ed(Ua(e));if(Xe("Text",r,l))return Ye("Text",e,l,{variant:t});if(Xe("DisplayValue",r,e.value))return Ye("DisplayValue",e,ed(e.value),{variant:t});const u=e.getAttribute("alt");if(Xe("AltText",r,u))return Ye("AltText",e,u,{variant:t});const c=e.getAttribute("title");if(Xe("Title",r,c))return Ye("Title",e,c,{variant:t});const f=e.getAttribute(Q().testIdAttribute);if(Xe("TestId",r,f))return Ye("TestId",e,f,{variant:t})}function na(e,t){e.stack=t.stack.replace(t.message,e.message)}function oR(e,t){let{container:r=Es(),timeout:n=Q().asyncUtilTimeout,showOriginalStackTrace:o=Q().showOriginalStackTrace,stackTraceError:a,interval:i=50,onTimeout:s=u=>(Object.defineProperty(u,"message",{value:Q().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,c)=>{let f,d,b,v=!1,R="idle";const S=setTimeout(P,n),p=Qa();if(p){const{unstable_advanceTimersWrapper:y}=Q();for(T();!v;){if(!Qa()){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||na(g,a),c(g);return}if(await y(async()=>{jest.advanceTimersByTime(i)}),v)break;T()}}else{try{Ke(r)}catch(g){c(g);return}d=setInterval(_,i);const{MutationObserver:y}=Ig(r);b=new y(_),b.observe(r,l),T()}function q(y,g){v=!0,clearTimeout(S),p||(clearInterval(d),b.disconnect()),y?c(y):u(g)}function _(){if(Qa()){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||na(y,a),c(y)}else return T()}function T(){if(R!=="pending")try{const y=Bg(e);typeof y?.then=="function"?(R="pending",y.then(g=>{R="resolved",q(null,g)},g=>{R="rejected",f=g})):q(null,y)}catch(y){f=y}}function P(){let y;f?(y=f,!o&&y.name==="TestingLibraryElementError"&&na(y,a)):(y=new Error("Timed out in waitFor."),o||na(y,a)),q(s(y),null)}})}function aR(e,t){const r=new Error("STACK_TRACE_MESSAGE");return Q().asyncWrapper(()=>oR(e,{stackTraceError:r,...t}))}function ep(e,t){return Q().getElementError(e,t)}function iR(e,t){return ep(e+"\n\n(If this is intentional, then use the `*AllBy*` variant of the query (like `queryAllByText`, `getAllByText`, or `findAllByText`)).",t)}function za(e,t,r,n){let{exact:o=!0,collapseWhitespace:a,trim:i,normalizer:s}=n===void 0?{}:n;const l=o?He:Mt,u=bt({collapseWhitespace:a,trim:i,normalizer:s});return Array.from(t.querySelectorAll("["+e+"]")).filter(c=>l(c.getAttribute(e),c,r,u))}function xa(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=>ep(null,l).message).join(`
293
47
 
294
- `);throw eR(t(r,...o)+`
48
+ `);throw iR(t(r,...o)+`
295
49
 
296
50
  Here are the matching elements:
297
51
 
298
- `+s,r)}return i[0]||null}}function Jf(e,t){return Q().getElementError(`A better query is available, try this:
52
+ `+s,r)}return i[0]||null}}function tp(e,t){return Q().getElementError(`A better query is available, try this:
299
53
  `+e.toString()+`
300
- `,t)}function tR(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 Q().getElementError(t(r,...o),r);return i}}function xa(e){return(t,r,n,o)=>Zg(()=>e(t,r,n),{container:t,...o})}const Rt=(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=Q().throwSuggestions}={}]=a.slice(-1);if(s&&l){const u=hi(s,r);if(u&&!t.endsWith(u.queryName))throw Jf(u.toString(),n)}return s},qe=(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=Q().throwSuggestions}={}]=a.slice(-1);if(s.length&&l){const u=[...new Set(s.map(c=>{var f;return(f=hi(c,r))==null?void 0:f.toString()}))];if(u.length===1&&!t.endsWith(hi(s[0],r).queryName))throw Jf(u[0],n)}return s};function yt(e,t,r){const n=Rt(Ca(e,t),e.name,"query"),o=tR(e,r),a=Ca(o,t),i=Rt(a,e.name,"get"),s=qe(o,e.name.replace("query","get"),"getAll"),l=xa(qe(o,e.name,"findAll")),u=xa(Rt(a,e.name,"find"));return[n,s,i,l,u]}function rR(e){return Array.from(e.querySelectorAll("label,input")).map(t=>({node:t,textToMatch:mi(t)})).filter(t=>{let{textToMatch:r}=t;return r!==null})}const nR=function(e,t,r){let{exact:n=!0,trim:o,collapseWhitespace:a,normalizer:i}=r===void 0?{}:r;const s=n?We:Ot,l=vt({collapseWhitespace:a,trim:o,normalizer:i});return rR(e).filter(c=>{let{node:f,textToMatch:d}=c;return s(d,f,t,l)}).map(c=>{let{node:f}=c;return f})},Do=function(e,t,r){let{selector:n="*",exact:o=!0,collapseWhitespace:a,trim:i,normalizer:s}=r===void 0?{}:r;Ye(e);const l=o?We:Ot,u=vt({collapseWhitespace:a,trim:i,normalizer:s}),c=Array.from(e.querySelectorAll("*")).filter(f=>Vf(f).length||f.hasAttribute("aria-labelledby")).reduce((f,d)=>{const b=Hf(e,d,{selector:n});b.filter(R=>!!R.formControl).forEach(R=>{l(R.content,R.formControl,t,u)&&R.formControl&&f.push(R.formControl)});const v=b.filter(R=>!!R.content).map(R=>R.content);return l(v.join(" "),d,t,u)&&f.push(d),v.length>1&&v.forEach((R,S)=>{l(R,d,t,u)&&f.push(d);const p=[...v];p.splice(S,1),p.length>1&&l(p.join(" "),d,t,u)&&f.push(d)}),f},[]).concat(Fa("aria-label",e,t,{exact:o,normalizer:u}));return Array.from(new Set(c)).filter(f=>f.matches(n))},ht=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=Do(e,t,...n);if(!a.length){const i=nR(e,t,...n);if(i.length){const s=i.map(l=>oR(e,l)).filter(l=>!!l);throw s.length?Q().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 sR(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 Q().getElementError(t(r,...o),r);return i}}function qa(e){return(t,r,n,o)=>aR(()=>e(t,r,n),{container:t,...o})}const gt=(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=Q().throwSuggestions}={}]=a.slice(-1);if(s&&l){const u=yi(s,r);if(u&&!t.endsWith(u.queryName))throw tp(u.toString(),n)}return s},xe=(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=Q().throwSuggestions}={}]=a.slice(-1);if(s.length&&l){const u=[...new Set(s.map(c=>{var f;return(f=yi(c,r))==null?void 0:f.toString()}))];if(u.length===1&&!t.endsWith(yi(s[0],r).queryName))throw tp(u[0],n)}return s};function vt(e,t,r){const n=gt(xa(e,t),e.name,"query"),o=sR(e,r),a=xa(o,t),i=gt(a,e.name,"get"),s=xe(o,e.name.replace("query","get"),"getAll"),l=qa(xe(o,e.name,"findAll")),u=qa(gt(a,e.name,"find"));return[n,s,i,l,u]}function lR(e){return Array.from(e.querySelectorAll("label,input")).map(t=>({node:t,textToMatch:vi(t)})).filter(t=>{let{textToMatch:r}=t;return r!==null})}const uR=function(e,t,r){let{exact:n=!0,trim:o,collapseWhitespace:a,normalizer:i}=r===void 0?{}:r;const s=n?He:Mt,l=bt({collapseWhitespace:a,trim:o,normalizer:i});return lR(e).filter(c=>{let{node:f,textToMatch:d}=c;return s(d,f,t,l)}).map(c=>{let{node:f}=c;return f})},$o=function(e,t,r){let{selector:n="*",exact:o=!0,collapseWhitespace:a,trim:i,normalizer:s}=r===void 0?{}:r;Ke(e);const l=o?He:Mt,u=bt({collapseWhitespace:a,trim:i,normalizer:s}),c=Array.from(e.querySelectorAll("*")).filter(f=>Kf(f).length||f.hasAttribute("aria-labelledby")).reduce((f,d)=>{const b=Yf(e,d,{selector:n});b.filter(R=>!!R.formControl).forEach(R=>{l(R.content,R.formControl,t,u)&&R.formControl&&f.push(R.formControl)});const v=b.filter(R=>!!R.content).map(R=>R.content);return l(v.join(" "),d,t,u)&&f.push(d),v.length>1&&v.forEach((R,S)=>{l(R,d,t,u)&&f.push(d);const p=[...v];p.splice(S,1),p.length>1&&l(p.join(" "),d,t,u)&&f.push(d)}),f},[]).concat(za("aria-label",e,t,{exact:o,normalizer:u}));return Array.from(new Set(c)).filter(f=>f.matches(n))},mt=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=$o(e,t,...n);if(!a.length){const i=uR(e,t,...n);if(i.length){const s=i.map(l=>cR(e,l)).filter(l=>!!l);throw s.length?Q().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(`
301
55
 
302
- `),e):Q().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 Q().getElementError("Unable to find a label with the text of: "+t,e)}return a};function oR(e,t){const r=t.getAttribute("for");if(!r)return null;const n=e.querySelector('[id="'+r+'"]');return n?n.tagName.toLowerCase():null}const Qf=(e,t)=>"Found multiple elements with the text of: "+t,aR=Rt(Ca(Do,Qf),Do.name,"query"),Zf=Ca(ht,Qf),iR=xa(qe(ht,ht.name,"findAll")),sR=xa(Rt(Zf,ht.name,"find")),lR=qe(ht,ht.name,"getAll"),uR=Rt(Zf,ht.name,"get"),cR=qe(Do,Do.name,"queryAll"),bi=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return Ye(t[0]),Fa("placeholder",...t)},dR=(e,t)=>"Found multiple elements with the placeholder text of: "+t,fR=(e,t)=>"Unable to find an element with the placeholder text of: "+t,pR=qe(bi,bi.name,"queryAll"),[mR,hR,bR,vR,yR]=yt(bi,dR,fR),vi=function(e,t,r){let{selector:n="*",exact:o=!0,collapseWhitespace:a,trim:i,ignore:s=Q().defaultIgnore,normalizer:l}=r===void 0?{}:r;Ye(e);const u=o?We:Ot,c=vt({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(d=>!s||!d.matches(s)).filter(d=>u(La(d),d,t,c))},gR=(e,t)=>"Found multiple elements with the text: "+t,RR=function(e,t,r){r===void 0&&(r={});const{collapseWhitespace:n,trim:o,normalizer:a,selector:i}=r,l=vt({collapseWhitespace:n,trim:o,normalizer:a})(t.toString()),u=l!==t.toString(),c=(i??"*")!=="*";return"Unable to find an element with the text: "+(u?l+" (normalized from '"+t+"')":t)+(c?", 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."},wR=qe(vi,vi.name,"queryAll"),[ER,CR,xR,qR,_R]=yt(vi,gR,RR),yi=function(e,t,r){let{exact:n=!0,collapseWhitespace:o,trim:a,normalizer:i}=r===void 0?{}:r;Ye(e);const s=n?We:Ot,l=vt({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(La(f),f,t,l)):s(u.value,u,t,l))},PR=(e,t)=>"Found multiple elements with the display value: "+t+".",TR=(e,t)=>"Unable to find an element with the display value: "+t+".",SR=qe(yi,yi.name,"queryAll"),[AR,OR,MR,IR,NR]=yt(yi,PR,TR),kR=/^(img|input|area|.+-.+)$/i,gi=function(e,t,r){return r===void 0&&(r={}),Ye(e),Fa("alt",e,t,r).filter(n=>kR.test(n.tagName))},DR=(e,t)=>"Found multiple elements with the alt text: "+t,jR=(e,t)=>"Unable to find an element with the alt text: "+t,BR=qe(gi,gi.name,"queryAll"),[$R,LR,FR,UR,zR]=yt(gi,DR,jR),VR=e=>{var t;return e.tagName.toLowerCase()==="title"&&((t=e.parentElement)==null?void 0:t.tagName.toLowerCase())==="svg"},Ri=function(e,t,r){let{exact:n=!0,collapseWhitespace:o,trim:a,normalizer:i}=r===void 0?{}:r;Ye(e);const s=n?We:Ot,l=vt({collapseWhitespace:o,trim:a,normalizer:i});return Array.from(e.querySelectorAll("[title], svg > title")).filter(u=>s(u.getAttribute("title"),u,t,l)||VR(u)&&s(La(u),u,t,l))},HR=(e,t)=>"Found multiple elements with the title: "+t+".",WR=(e,t)=>"Unable to find an element with the title: "+t+".",GR=qe(Ri,Ri.name,"queryAll"),[KR,YR,XR,JR,QR]=yt(Ri,HR,WR),wi=function(e,t,r){let{hidden:n=Q().defaultHidden,name:o,description:a,queryFallbacks:i=!1,selected:s,busy:l,checked:u,pressed:c,current:f,level:d,expanded:b,value:{now:v,min:R,max:S,text:p}={}}=r===void 0?{}:r;if(Ye(e),s!==void 0){var q;if(((q=Ce.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(((_=Ce.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=Ce.roles.get(t))==null?void 0:T.props["aria-checked"])===void 0)throw new Error('"aria-checked" is not supported on role "'+t+'".')}if(c!==void 0){var P;if(((P=Ce.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=Ce.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=Ce.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=Ce.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 O;if(((O=Ce.roles.get(t))==null?void 0:O.props["aria-valuemin"])===void 0)throw new Error('"aria-valuemin" is not supported on role "'+t+'".')}if(p!==void 0){var D;if(((D=Ce.roles.get(t))==null?void 0:D.props["aria-valuetext"])===void 0)throw new Error('"aria-valuetext" is not supported on role "'+t+'".')}if(b!==void 0){var j;if(((j=Ce.roles.get(t))==null?void 0:j.props["aria-expanded"])===void 0)throw new Error('"aria-expanded" is not supported on role "'+t+'".')}const $=new WeakMap;function A(k){return $.has(k)||$.set(k,Yf(k)),$.get(k)}return Array.from(e.querySelectorAll(ZR(t))).filter(k=>{if(k.hasAttribute("role")){const G=k.getAttribute("role");if(i)return G.split(" ").filter(Boolean).some(ye=>ye===t);const[se]=G.split(" ");return se===t}return Rs(k).some(G=>G===t)}).filter(k=>{if(s!==void 0)return s===Lg(k);if(l!==void 0)return l===Fg(k);if(u!==void 0)return u===Ug(k);if(c!==void 0)return c===zg(k);if(f!==void 0)return f===Vg(k);if(b!==void 0)return b===Hg(k);if(d!==void 0)return d===Wg(k);if(v!==void 0||S!==void 0||R!==void 0||p!==void 0){let Z=!0;if(v!==void 0&&Z&&(Z=v===Gg(k)),S!==void 0&&Z&&(Z=S===Kg(k)),R!==void 0&&Z&&(Z=R===Yg(k)),p!==void 0){var F;Z&&(Z=We((F=Xg(k))!=null?F:null,k,p,G=>G))}return Z}return!0}).filter(k=>o===void 0?!0:We(ms(k,{computedStyleSupportsPseudoElements:Q().computedStyleSupportsPseudoElements}),k,o,F=>F)).filter(k=>a===void 0?!0:We(Nf(k,{computedStyleSupportsPseudoElements:Q().computedStyleSupportsPseudoElements}),k,a,F=>F)).filter(k=>n===!1?gs(k,{isSubtreeInaccessible:A})===!1:!0)};function ZR(e){var t;const r='*[role~="'+e+'"]',n=(t=Ce.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 ep=e=>{let t="";return e===void 0?t="":typeof e=="string"?t=' and name "'+e+'"':t=" and name `"+e+"`",t},ew=function(e,t,r){let{name:n}=r===void 0?{}:r;return'Found multiple elements with the role "'+t+'"'+ep(n)},tw=function(e,t,r){let{hidden:n=Q().defaultHidden,name:o,description:a}=r===void 0?{}:r;if(Q()._disableExpensiveErrorDiagnostics)return'Unable to find role="'+t+'"'+ep(o);let i="";Array.from(e.children).forEach(c=>{i+=$g(c,{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=(`
56
+ `),e):Q().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 Q().getElementError("Unable to find a label with the text of: "+t,e)}return a};function cR(e,t){const r=t.getAttribute("for");if(!r)return null;const n=e.querySelector('[id="'+r+'"]');return n?n.tagName.toLowerCase():null}const rp=(e,t)=>"Found multiple elements with the text of: "+t,dR=gt(xa($o,rp),$o.name,"query"),np=xa(mt,rp),fR=qa(xe(mt,mt.name,"findAll")),pR=qa(gt(np,mt.name,"find")),mR=xe(mt,mt.name,"getAll"),hR=gt(np,mt.name,"get"),bR=xe($o,$o.name,"queryAll"),gi=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return Ke(t[0]),za("placeholder",...t)},vR=(e,t)=>"Found multiple elements with the placeholder text of: "+t,yR=(e,t)=>"Unable to find an element with the placeholder text of: "+t,gR=xe(gi,gi.name,"queryAll"),[RR,wR,ER,CR,xR]=vt(gi,vR,yR),Ri=function(e,t,r){let{selector:n="*",exact:o=!0,collapseWhitespace:a,trim:i,ignore:s=Q().defaultIgnore,normalizer:l}=r===void 0?{}:r;Ke(e);const u=o?He:Mt,c=bt({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(d=>!s||!d.matches(s)).filter(d=>u(Ua(d),d,t,c))},qR=(e,t)=>"Found multiple elements with the text: "+t,_R=function(e,t,r){r===void 0&&(r={});const{collapseWhitespace:n,trim:o,normalizer:a,selector:i}=r,l=bt({collapseWhitespace:n,trim:o,normalizer:a})(t.toString()),u=l!==t.toString(),c=(i??"*")!=="*";return"Unable to find an element with the text: "+(u?l+" (normalized from '"+t+"')":t)+(c?", 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."},PR=xe(Ri,Ri.name,"queryAll"),[TR,SR,AR,OR,MR]=vt(Ri,qR,_R),wi=function(e,t,r){let{exact:n=!0,collapseWhitespace:o,trim:a,normalizer:i}=r===void 0?{}:r;Ke(e);const s=n?He:Mt,l=bt({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(Ua(f),f,t,l)):s(u.value,u,t,l))},IR=(e,t)=>"Found multiple elements with the display value: "+t+".",NR=(e,t)=>"Unable to find an element with the display value: "+t+".",kR=xe(wi,wi.name,"queryAll"),[DR,jR,$R,BR,LR]=vt(wi,IR,NR),FR=/^(img|input|area|.+-.+)$/i,Ei=function(e,t,r){return r===void 0&&(r={}),Ke(e),za("alt",e,t,r).filter(n=>FR.test(n.tagName))},UR=(e,t)=>"Found multiple elements with the alt text: "+t,zR=(e,t)=>"Unable to find an element with the alt text: "+t,VR=xe(Ei,Ei.name,"queryAll"),[HR,WR,GR,KR,YR]=vt(Ei,UR,zR),XR=e=>{var t;return e.tagName.toLowerCase()==="title"&&((t=e.parentElement)==null?void 0:t.tagName.toLowerCase())==="svg"},Ci=function(e,t,r){let{exact:n=!0,collapseWhitespace:o,trim:a,normalizer:i}=r===void 0?{}:r;Ke(e);const s=n?He:Mt,l=bt({collapseWhitespace:o,trim:a,normalizer:i});return Array.from(e.querySelectorAll("[title], svg > title")).filter(u=>s(u.getAttribute("title"),u,t,l)||XR(u)&&s(Ua(u),u,t,l))},JR=(e,t)=>"Found multiple elements with the title: "+t+".",QR=(e,t)=>"Unable to find an element with the title: "+t+".",ZR=xe(Ci,Ci.name,"queryAll"),[ew,tw,rw,nw,ow]=vt(Ci,JR,QR),xi=function(e,t,r){let{hidden:n=Q().defaultHidden,name:o,description:a,queryFallbacks:i=!1,selected:s,busy:l,checked:u,pressed:c,current:f,level:d,expanded:b,value:{now:v,min:R,max:S,text:p}={}}=r===void 0?{}:r;if(Ke(e),s!==void 0){var q;if(((q=Ee.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(((_=Ee.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=Ee.roles.get(t))==null?void 0:T.props["aria-checked"])===void 0)throw new Error('"aria-checked" is not supported on role "'+t+'".')}if(c!==void 0){var P;if(((P=Ee.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=Ee.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=Ee.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=Ee.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 O;if(((O=Ee.roles.get(t))==null?void 0:O.props["aria-valuemin"])===void 0)throw new Error('"aria-valuemin" is not supported on role "'+t+'".')}if(p!==void 0){var D;if(((D=Ee.roles.get(t))==null?void 0:D.props["aria-valuetext"])===void 0)throw new Error('"aria-valuetext" is not supported on role "'+t+'".')}if(b!==void 0){var j;if(((j=Ee.roles.get(t))==null?void 0:j.props["aria-expanded"])===void 0)throw new Error('"aria-expanded" is not supported on role "'+t+'".')}const B=new WeakMap;function A(k){return B.has(k)||B.set(k,Zf(k)),B.get(k)}return Array.from(e.querySelectorAll(aw(t))).filter(k=>{if(k.hasAttribute("role")){const G=k.getAttribute("role");if(i)return G.split(" ").filter(Boolean).some(ye=>ye===t);const[se]=G.split(" ");return se===t}return xs(k).some(G=>G===t)}).filter(k=>{if(s!==void 0)return s===Wg(k);if(l!==void 0)return l===Gg(k);if(u!==void 0)return u===Kg(k);if(c!==void 0)return c===Yg(k);if(f!==void 0)return f===Xg(k);if(b!==void 0)return b===Jg(k);if(d!==void 0)return d===Qg(k);if(v!==void 0||S!==void 0||R!==void 0||p!==void 0){let Z=!0;if(v!==void 0&&Z&&(Z=v===Zg(k)),S!==void 0&&Z&&(Z=S===eR(k)),R!==void 0&&Z&&(Z=R===tR(k)),p!==void 0){var F;Z&&(Z=He((F=rR(k))!=null?F:null,k,p,G=>G))}return Z}return!0}).filter(k=>o===void 0?!0:He(ys(k,{computedStyleSupportsPseudoElements:Q().computedStyleSupportsPseudoElements}),k,o,F=>F)).filter(k=>a===void 0?!0:He($f(k,{computedStyleSupportsPseudoElements:Q().computedStyleSupportsPseudoElements}),k,a,F=>F)).filter(k=>n===!1?Cs(k,{isSubtreeInaccessible:A})===!1:!0)};function aw(e){var t;const r='*[role~="'+e+'"]',n=(t=Ee.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 op=e=>{let t="";return e===void 0?t="":typeof e=="string"?t=' and name "'+e+'"':t=" and name `"+e+"`",t},iw=function(e,t,r){let{name:n}=r===void 0?{}:r;return'Found multiple elements with the role "'+t+'"'+op(n)},sw=function(e,t,r){let{hidden:n=Q().defaultHidden,name:o,description:a}=r===void 0?{}:r;if(Q()._disableExpensiveErrorDiagnostics)return'Unable to find role="'+t+'"'+op(o);let i="";Array.from(e.children).forEach(c=>{i+=Hg(c,{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=(`
303
57
  Here are the `+(n===!1?"accessible":"available")+` roles:
304
58
 
305
59
  `+i.replace(/\n/g,`
@@ -309,12 +63,12 @@ Here are the `+(n===!1?"accessible":"available")+` roles:
309
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+"`",(`
310
64
  Unable to find an `+(n===!1?"accessible ":"")+'element with the role "'+t+'"'+l+u+`
311
65
 
312
- `+s).trim()},rw=qe(wi,wi.name,"queryAll"),[nw,ow,aw,iw,sw]=yt(wi,ew,tw),ws=()=>Q().testIdAttribute,Ei=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return Ye(t[0]),Fa(ws(),...t)},lw=(e,t)=>"Found multiple elements by: ["+ws()+'="'+t+'"]',uw=(e,t)=>"Unable to find an element by: ["+ws()+'="'+t+'"]',cw=qe(Ei,Ei.name,"queryAll"),[dw,fw,pw,mw,hw]=yt(Ei,lw,uw);var Ci=Object.freeze({__proto__:null,queryAllByLabelText:cR,queryByLabelText:aR,getAllByLabelText:lR,getByLabelText:uR,findAllByLabelText:iR,findByLabelText:sR,queryByPlaceholderText:mR,queryAllByPlaceholderText:pR,getByPlaceholderText:bR,getAllByPlaceholderText:hR,findAllByPlaceholderText:vR,findByPlaceholderText:yR,queryByText:ER,queryAllByText:wR,getByText:xR,getAllByText:CR,findAllByText:qR,findByText:_R,queryByDisplayValue:AR,queryAllByDisplayValue:SR,getByDisplayValue:MR,getAllByDisplayValue:OR,findAllByDisplayValue:IR,findByDisplayValue:NR,queryByAltText:$R,queryAllByAltText:BR,getByAltText:FR,getAllByAltText:LR,findAllByAltText:UR,findByAltText:zR,queryByTitle:KR,queryAllByTitle:GR,getByTitle:XR,getAllByTitle:YR,findAllByTitle:JR,findByTitle:QR,queryByRole:nw,queryAllByRole:rw,getAllByRole:ow,getByRole:aw,findAllByRole:iw,findByRole:sw,queryByTestId:dw,queryAllByTestId:cw,getByTestId:pw,getAllByTestId:fw,findAllByTestId:mw,findByTestId:hw});function bw(e,t,r){return t===void 0&&(t=Ci),r===void 0&&(r={}),Object.keys(t).reduce((n,o)=>{const a=t[o];return n[o]=a.bind(null,e),n},r)}const Qc={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}}},vw={doubleClick:"dblClick"};Object.keys(Qc).forEach(e=>{const{EventType:t,defaultInit:r}=Qc[e];e.toLowerCase()});Object.keys(vw).forEach(e=>{});function yw(e){return e.replace(/[ \t]*[\n][ \t]*/g,`
313
- `)}function gw(e){return fg.compressToEncodedURIComponent(yw(e))}function Rw(e){return"https://testing-playground.com/#markup="+gw(e)}const ww=(e,t,r)=>Array.isArray(e)?e.forEach(n=>Yc(n,t,r)):Yc(e,t,r),Ew=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=Rw(e.innerHTML);return console.log(`Open this URL in your browser
66
+ `+s).trim()},lw=xe(xi,xi.name,"queryAll"),[uw,cw,dw,fw,pw]=vt(xi,iw,sw),qs=()=>Q().testIdAttribute,qi=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return Ke(t[0]),za(qs(),...t)},mw=(e,t)=>"Found multiple elements by: ["+qs()+'="'+t+'"]',hw=(e,t)=>"Unable to find an element by: ["+qs()+'="'+t+'"]',bw=xe(qi,qi.name,"queryAll"),[vw,yw,gw,Rw,ww]=vt(qi,mw,hw);var _i=Object.freeze({__proto__:null,queryAllByLabelText:bR,queryByLabelText:dR,getAllByLabelText:mR,getByLabelText:hR,findAllByLabelText:fR,findByLabelText:pR,queryByPlaceholderText:RR,queryAllByPlaceholderText:gR,getByPlaceholderText:ER,getAllByPlaceholderText:wR,findAllByPlaceholderText:CR,findByPlaceholderText:xR,queryByText:TR,queryAllByText:PR,getByText:AR,getAllByText:SR,findAllByText:OR,findByText:MR,queryByDisplayValue:DR,queryAllByDisplayValue:kR,getByDisplayValue:$R,getAllByDisplayValue:jR,findAllByDisplayValue:BR,findByDisplayValue:LR,queryByAltText:HR,queryAllByAltText:VR,getByAltText:GR,getAllByAltText:WR,findAllByAltText:KR,findByAltText:YR,queryByTitle:ew,queryAllByTitle:ZR,getByTitle:rw,getAllByTitle:tw,findAllByTitle:nw,findByTitle:ow,queryByRole:uw,queryAllByRole:lw,getAllByRole:cw,getByRole:dw,findAllByRole:fw,findByRole:pw,queryByTestId:vw,queryAllByTestId:bw,getByTestId:gw,getAllByTestId:yw,findAllByTestId:Rw,findByTestId:ww});function Ew(e,t,r){return t===void 0&&(t=_i),r===void 0&&(r={}),Object.keys(t).reduce((n,o)=>{const a=t[o];return n[o]=a.bind(null,e),n},r)}const rd={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(rd).forEach(e=>{const{EventType:t,defaultInit:r}=rd[e];e.toLowerCase()});Object.keys(Cw).forEach(e=>{});function xw(e){return e.replace(/[ \t]*[\n][ \t]*/g,`
67
+ `)}function qw(e){return yg.compressToEncodedURIComponent(xw(e))}function _w(e){return"https://testing-playground.com/#markup="+qw(e)}const Pw=(e,t,r)=>Array.isArray(e)?e.forEach(n=>Zc(n,t,r)):Zc(e,t,r),Tw=function(e){if(e===void 0&&(e=Es().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=_w(e.innerHTML);return console.log(`Open this URL in your browser
314
68
 
315
- `+t),t},Zc={debug:ww,logTestingPlaygroundURL:Ew};typeof document<"u"&&document.body?bw(document.body,Ci,Zc):Object.keys(Ci).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),Zc);function _t(e,t){return Q().eventWrapper(e)}function tt(e){const t=bh(e,fs),r=Vo(e.ownerDocument);(t??e.ownerDocument.body)!==r&&(_t(t?()=>t.focus():()=>r?.blur()),gh(t??e.ownerDocument.body))}function Cw(e){!fs(e)||!(Vo(e.ownerDocument)===e)||_t(()=>e.blur())}const rt={};rt.click=(e,t,r)=>{const n=t.closest("button,input,label,select,textarea"),o=n&&H(n,"label")&&n.control;if(o&&o!==t)return()=>{fs(o)&&(tt(o),r.dispatchEvent(o,hh(e)))};if(H(t,"input",{type:"file"}))return()=>{Cw(t),t.dispatchEvent(new(_e(t)).Event("fileDialog")),tt(t)}};const Pt=Symbol("Displayed value in UI"),He=Symbol("Displayed selection in UI"),qa=Symbol("Initial value to compare on blur");function xw(e){return typeof e=="object"&&Pt in e}function qw(e){return!!e&&typeof e=="object"&&He in e}function _w(e,t){e[qa]===void 0&&(e[qa]=e.value),e[Pt]=t,e.value=Object.assign(new String(t),{[Pt]:!0})}function Ie(e){return e[Pt]===void 0?e.value:String(e[Pt])}function Es(e){e[Pt]=void 0}function tp(e){e[qa]=void 0}function Pw(e){return e[qa]}function Tw(e,t){e[He]=t}function Mt(e,{focusOffset:t,anchorOffset:r=t},n="replace"){const o=Ie(e).length,a=f=>Math.max(0,Math.min(o,f)),i=n==="replace"||e[He]===void 0?a(r):e[He].anchorOffset,s=a(t),l=Math.min(i,s),u=Math.max(i,s);if(e[He]={anchorOffset:i,focusOffset:s},e.selectionStart===l&&e.selectionEnd===u)return;const c=Object.assign(new Number(l),{[He]:!0});try{e.setSelectionRange(c,u)}catch{}}function jo(e){var t,r,n;const o=(n=e[He])!==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 Sw(e){return!!e[He]}function la(e){e[He]=void 0}const _a=globalThis.parseInt;function Aw(e){const t=e.replace(/\D/g,"");if(t.length<2)return e;const r=_a(t[0],10),n=_a(t[1],10);if(r>=3||r===2&&n>=4){let o;return r>=3?o=1:o=2,ed(t,o)}return e.length===2?e:ed(t,2)}function ed(e,t){const r=e.slice(0,t),n=Math.min(_a(r,10),23),o=e.slice(t),a=_a(o,10),i=Math.min(a,59);return`${n.toString().padStart(2,"0")}:${i.toString().padStart(2,"0")}`}function rp(e,t){const r=e.cloneNode();return r.value=t,r.value===t}var np=(function(e){return e.email="email",e.password="password",e.search="search",e.telephone="telephone",e.text="text",e.url="url",e})(np||{});function Ow(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 Mw(e){return H(e,"textarea")||H(e,"input")&&e.type in np}function op(e,t,r,n){if(ua(e)&&t+r>=0&&t+r<=e.nodeValue.length)return{node:e,offset:t+r};const o=td(e,t,r);if(o){if(ua(o))return{node:o,offset:r>0?Math.min(1,o.nodeValue.length):Math.max(o.nodeValue.length-1,0)};if(H(o,"br")){const a=td(o,void 0,r);return a?ua(a)?{node:a,offset:r>0?0:a.nodeValue.length}:r<0&&H(a,"br")?{node:o.parentNode,offset:ra(o)}:{node:a.parentNode,offset:ra(a)+(r>0?0:1)}:r<0&&n==="deleteContentBackward"?{node:o.parentNode,offset:ra(o)}:void 0}else return{node:o.parentNode,offset:ra(o)+(r>0?1:0)}}}function td(e,t,r){const n=Number(t)+(r<0?-1:0);return t!==void 0&&Cs(e)&&n>=0&&n<e.children.length&&(e=e.children[n]),Nw(e,r===1?"next":"previous",Iw)}function Iw(e){if(ua(e))return!0;if(Cs(e)){if(H(e,["input","textarea"]))return e.type!=="hidden";if(H(e,"br"))return!0}return!1}function ra(e){let t=0;for(;e.previousSibling;)t++,e=e.previousSibling;return t}function Cs(e){return e.nodeType===1}function ua(e){return e.nodeType===3}function Nw(e,t,r){for(;;){var n;const o=e[`${t}Sibling`];if(o){if(e=kw(o,t==="next"?"first":"last"),r(e))return e}else if(e.parentNode&&(!Cs(e.parentNode)||!mt(e.parentNode)&&e.parentNode!==((n=e.ownerDocument)===null||n===void 0?void 0:n.body)))e=e.parentNode;else break}}function kw(e,t){for(;e.hasChildNodes();)e=e[`${t}Child`];return e}const Bo=Symbol("Track programmatic changes for React workaround");function Dw(e){return Object.getOwnPropertyNames(e).some(t=>t.startsWith("__react"))&&_e(e).REACT_VERSION===17}function jw(e){Dw(e)&&(e[Bo]={previousValue:String(e.value),tracked:[]})}function Bw(e,t){var r,n;(n=e[Bo])===null||n===void 0||(r=n.tracked)===null||r===void 0||r.push(t),e[Bo]||(Es(e),Mt(e,{focusOffset:t.length}))}function $w(e,t){var r;const n=e[Bo];if(e[Bo]=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),Sw(e)&&Mt(e,{focusOffset:o?t:e.value.length})}function ap(e){const t=Lw(e);if(t&&Me(t))return{type:"input",selection:jo(t)};const r=t?.ownerDocument.getSelection();return{type:Io(e)&&r?.anchorNode&&Io(r.anchorNode)?"contenteditable":"default",selection:r}}function Lw(e){return e.nodeType===1?e:e.parentElement}function Fw(e){const t=ap(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 bt({focusNode:e,focusOffset:t,anchorNode:r=e,anchorOffset:n=t}){var o,a;if(ap(e).type==="input")return Mt(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 ip(e){return H(e,"input")&&["date","time"].includes(e.type)}function Tt(e,t,r,n="insertText"){const o=Fw(t);o&&(!ip(t)&&!e.dispatchUIEvent(t,"beforeinput",{inputType:n,data:r})||("startContainer"in o?Uw(e,t,o,r,n):zw(e,t,o,r,n)))}function Uw(e,t,r,n,o){let a=!1;if(!r.collapsed)a=!0,r.deleteContents();else if(["deleteContentBackward","deleteContentForward"].includes(o)){const i=op(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 zw(e,t,r,n,o){let a=n;if(Mw(t)){const u=Ow(t);if(u!==void 0&&n.length>0){const c=u-t.value.length;if(c>0)a=n.substring(0,c);else return}}const{newValue:i,newOffset:s,oldValue:l}=Vw(a,t,r,o);i===l&&s===r.startOffset&&s===r.endOffset||H(t,"input",{type:"number"})&&!Hw(i)||(_w(t,i),bt({focusNode:t,anchorOffset:s,focusOffset:s}),ip(t)?rp(t,i)&&(rd(e,t,s,{}),e.dispatchUIEvent(t,"change"),tp(t)):rd(e,t,s,{data:n,inputType:o}))}function Vw(e,t,{startOffset:r,endOffset:n},o){const a=Ie(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 c=`${s}${e}${u}`,f=i+e.length;if(H(t,"input",{type:"time"})){const d=Aw(c);d!==""&&rp(t,d)&&(c=d,f=d.length)}return{oldValue:a,newValue:c,newOffset:f}}function rd(e,t,r,n){e.dispatchUIEvent(t,"input",n),$w(t,r)}function Hw(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]))}rt.cut=(e,t,r)=>()=>{qt(t)&&Tt(r,t,"","deleteByCut")};function Ww(e){return e?mt(e)?e.textContent:Ie(e):null}function Gw(e){const t=_e(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 Kw(e,t){const r=e.ownerDocument,n=r.querySelectorAll(gf),o=Array.from(n).filter(l=>l===e||!(Number(l.getAttribute("tabindex"))<0||Ge(l)));Number(e.getAttribute("tabindex"))>=0&&o.sort((l,u)=>{const c=Number(l.getAttribute("tabindex")),f=Number(u.getAttribute("tabindex"));return c===f?0:c===0?1:f===0?-1:c-f});const a={};let i=[r.body];const s=H(e,"input",{type:"radio"})?e.name:void 0;o.forEach(l=>{const u=l;if(H(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(c=>!H(c,"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||Gw(i[l]))return i[l]}function nd(e,t){if(Me(e)){const r=jo(e);bt({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=op(r.focusNode,r.focusOffset,t);n&&bt({focusNode:n.node,focusOffset:n.offset})}else r[t<0?"collapseToStart":"collapseToEnd"]()}}function sp(e){if(Me(e))return bt({focusNode:e,anchorOffset:0,focusOffset:Ie(e).length});var t;const r=(t=Io(e))!==null&&t!==void 0?t:e.ownerDocument.body;bt({focusNode:r,anchorOffset:0,focusOffset:r.childNodes.length})}function Yw(e){if(Me(e))return jo(e).startOffset===0&&jo(e).endOffset===Ie(e).length;var t;const r=(t=Io(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 xo(e,t,r){var n;if(Me(e))return bt({focusNode:e,anchorOffset:t,focusOffset:r});if(mt(e)&&((n=e.firstChild)===null||n===void 0?void 0:n.nodeType)===3)return bt({focusNode:e.firstChild,anchorOffset:t,focusOffset:r});throw new Error("Not implemented. The result of this interaction is unreliable.")}function na(e,t,r){const n=_e(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(!Ge(o[a])){tt(o[a]),e.dispatchUIEvent(o[a],"click");return}}}rt.keydown=(e,t,r)=>{var n,o;return(o=(n=od[e.key])===null||n===void 0?void 0:n.call(od,e,t,r))!==null&&o!==void 0?o:Xw(e,t,r)};const od={ArrowDown:(e,t,r)=>{if(H(t,"input",{type:"radio"}))return()=>na(r,t,1)},ArrowLeft:(e,t,r)=>H(t,"input",{type:"radio"})?()=>na(r,t,-1):()=>nd(t,-1),ArrowRight:(e,t,r)=>H(t,"input",{type:"radio"})?()=>na(r,t,1):()=>nd(t,1),ArrowUp:(e,t,r)=>{if(H(t,"input",{type:"radio"}))return()=>na(r,t,-1)},Backspace:(e,t,r)=>{if(qt(t))return()=>{Tt(r,t,"","deleteContentBackward")}},Delete:(e,t,r)=>{if(qt(t))return()=>{Tt(r,t,"","deleteContentForward")}},End:(e,t)=>{if(H(t,["input","textarea"])||mt(t))return()=>{var r,n;const o=(n=(r=Ww(t))===null||r===void 0?void 0:r.length)!==null&&n!==void 0?n:0;xo(t,o,o)}},Home:(e,t)=>{if(H(t,["input","textarea"])||mt(t))return()=>{xo(t,0,0)}},PageDown:(e,t)=>{if(H(t,["input"]))return()=>{const r=Ie(t).length;xo(t,r,r)}},PageUp:(e,t)=>{if(H(t,["input"]))return()=>{xo(t,0,0)}},Tab:(e,t,r)=>()=>{const n=Kw(t,r.system.keyboard.modifiers.Shift);tt(n),Me(n)&&Mt(n,{anchorOffset:0,focusOffset:n.value.length})}},Xw=(e,t,r)=>{if(e.code==="KeyA"&&r.system.keyboard.modifiers.Control)return()=>sp(t)};rt.keypress=(e,t,r)=>{if(e.key==="Enter"){if(H(t,"button")||H(t,"input")&&Jw.includes(t.type)||H(t,"a")&&t.href)return()=>{r.dispatchUIEvent(t,"click")};if(H(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&&Qw.includes(t.type)&&n.querySelectorAll("input").length===1?()=>r.dispatchUIEvent(n,"submit"):void 0}}if(qt(t)){const n=e.key==="Enter"?mt(t)&&!r.system.keyboard.modifiers.Shift?"insertParagraph":"insertLineBreak":"insertText",o=e.key==="Enter"?`
316
- `:e.key;return()=>Tt(r,t,o,n)}};const Jw=["button","color","file","image","reset","submit"],Qw=["email","month","password","search","tel","text","url","week"];rt.keyup=(e,t,r)=>{var n;return(n=ad[e.key])===null||n===void 0?void 0:n.call(ad,e,t,r)};const ad={" ":(e,t,r)=>{if(wf(t))return()=>r.dispatchUIEvent(t,"click")}};rt.paste=(e,t,r)=>{if(qt(t))return()=>{var n;const o=(n=e.clipboardData)===null||n===void 0?void 0:n.getData("text");o&&Tt(r,t,o,"insertFromPaste")}};const lp={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 up(e){return lp[e].EventType}const Zw=["MouseEvent","PointerEvent"];function eE(e){return Zw.includes(up(e))}function tE(e){return up(e)==="KeyboardEvent"}const rE={ClipboardEvent:[oE],Event:[],FocusEvent:[Eo,aE],InputEvent:[Eo,iE],MouseEvent:[Eo,Ja,id],PointerEvent:[Eo,Ja,id,lE],KeyboardEvent:[Eo,Ja,sE]};function cp(e,t,r){const n=_e(t),{EventType:o,defaultInit:a}=lp[e],i=new(nE(n))[o](e,a);return rE[o].forEach(s=>s(i,r??{})),i}function nE(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 c=(u=e.ProgressEvent)!==null&&u!==void 0?u:class extends r{};var f;const d=(f=e.TransitionEvent)!==null&&f!==void 0?f: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 O;const D=(O=e.DragEvent)!==null&&O!==void 0?O:class extends E{};var j;const $=(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:c,TransitionEvent:d,UIEvent:v,CompositionEvent:S,FocusEvent:q,InputEvent:T,KeyboardEvent:y,MouseEvent:E,DragEvent:D,PointerEvent:$,TouchEvent:k}}function nt(e,t){for(const[r,n]of Object.entries(t))Object.defineProperty(e,r,{get:()=>n??null})}function ae(e){return Number(e??0)}function oE(e,{clipboardData:t}){nt(e,{clipboardData:t})}function aE(e,{relatedTarget:t}){nt(e,{relatedTarget:t})}function iE(e,{data:t,inputType:r,isComposing:n}){nt(e,{data:t,isComposing:!!n,inputType:String(r)})}function Eo(e,{view:t,detail:r}){nt(e,{view:t,detail:ae(r??0)})}function Ja(e,{altKey:t,ctrlKey:r,metaKey:n,shiftKey:o,modifierAltGraph:a,modifierCapsLock:i,modifierFn:s,modifierFnLock:l,modifierNumLock:u,modifierScrollLock:c,modifierSymbol:f,modifierSymbolLock:d}){nt(e,{altKey:!!t,ctrlKey:!!r,metaKey:!!n,shiftKey:!!o,getModifierState(b){return!!{Alt:t,AltGraph:a,CapsLock:i,Control:r,Fn:s,FnLock:l,Meta:n,NumLock:u,ScrollLock:c,Shift:o,Symbol:f,SymbolLock:d}[b]}})}function sE(e,{key:t,code:r,location:n,repeat:o,isComposing:a,charCode:i}){nt(e,{key:String(t),code:String(r),location:ae(n),repeat:!!o,isComposing:!!a,charCode:i})}function id(e,{x:t,y:r,screenX:n,screenY:o,clientX:a=t,clientY:i=r,button:s,buttons:l,relatedTarget:u,offsetX:c,offsetY:f,pageX:d,pageY:b}){nt(e,{screenX:ae(n),screenY:ae(o),clientX:ae(a),x:ae(a),clientY:ae(i),y:ae(i),button:ae(s),buttons:ae(l),relatedTarget:u,offsetX:ae(c),offsetY:ae(f),pageX:ae(d),pageY:ae(b)})}function lE(e,{pointerId:t,width:r,height:n,pressure:o,tangentialPressure:a,tiltX:i,tiltY:s,twist:l,pointerType:u,isPrimary:c}){nt(e,{pointerId:ae(t),width:ae(r??1),height:ae(n??1),pressure:ae(o),tangentialPressure:ae(a),tiltX:ae(i),tiltY:ae(s),twist:ae(l),pointerType:String(u),isPrimary:!!c})}function uE(e,t,r,n=!1){(eE(t)||tE(t))&&(r={...r,...this.system.getUIEventModifiers()});const o=cp(t,e,r);return dp.call(this,e,o,n)}function dp(e,t,r=!1){var n;const o=t.type,a=r?()=>{}:(n=rt[o])===null||n===void 0?void 0:n.call(rt,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}}),_t(()=>e.dispatchEvent(t)),i||a(),!i}return _t(()=>e.dispatchEvent(t))}function st(e,t,r){const n=cp(t,e,r);_t(()=>e.dispatchEvent(n))}const sd=Symbol("patched focus/blur methods");function fp(e){if(e.prototype[sd])return;const{focus:t,blur:r}=e.prototype;Object.defineProperties(e.prototype,{focus:{configurable:!0,get:()=>o},blur:{configurable:!0,get:()=>a},[sd]:{configurable:!0,get:()=>({focus:t,blur:r})}});let n;function o(i){if(this.ownerDocument.visibilityState!=="hidden")return t.call(this,i);const s=ld(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=ld(this.ownerDocument);if(i!==this)return;n=Symbol("blur call"),r.call(this),st(i,"blur",{relatedTarget:null}),st(i,"focusout",{relatedTarget:null})}}function ld(e){const t=Vo(e);return t?.tagName==="BODY"?null:t}const Qa=Symbol("Interceptor for programmatical calls");function gt(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][Qa])throw new Error(`Element ${e.tagName} does not implement "${String(t)}".`);function i(...s){const{applyNative:l=!1,realArgs:u,then:c}=r.call(this,...s),f=(!l&&o||n)[a];a==="set"?f.call(this,u):f.call(this,...u),c?.()}i[Qa]=Qa,Object.defineProperty(e,t,{...o??n,[a]:i})}function cE(e){gt(e,"value",function(r){const n=xw(r);return n&&jw(this),{applyNative:!!n,realArgs:dE(this,r),then:n?void 0:()=>Bw(this,String(r))}})}function dE(e,t){return H(e,"input",{type:"number"})&&String(t)!==""&&!Number.isNaN(Number(t))?String(Number(t)):String(t)}function fE(e){gt(e,"setSelectionRange",function(r,...n){const o=qw(r);return{applyNative:!!o,realArgs:[Number(r),...n],then:()=>o?void 0:la(e)}}),gt(e,"selectionStart",function(r){return{realArgs:r,then:()=>la(e)}}),gt(e,"selectionEnd",function(r){return{realArgs:r,then:()=>la(e)}}),gt(e,"select",function(){return{realArgs:[],then:()=>Tw(e,{anchorOffset:0,focusOffset:Ie(e).length})}})}function pE(e){gt(e,"setRangeText",function(...r){return{realArgs:r,then:()=>{Es(e),la(e)}}})}const wt=Symbol("Node prepared with document state workarounds");function pp(e){e[wt]||(e.addEventListener("focus",t=>{const r=t.target;ud(r)},{capture:!0,passive:!0}),e.activeElement&&ud(e.activeElement),e.addEventListener("blur",t=>{const r=t.target,n=Pw(r);n!==void 0&&(r.value!==n&&st(r,"change"),tp(r))},{capture:!0,passive:!0}),e[wt]=wt)}function ud(e){e[wt]||(H(e,["input","textarea"])&&(cE(e),fE(e),pE(e)),e[wt]=wt)}function mE(e){return hE(e)?e:e.ownerDocument}function hE(e){return e.nodeType===9}var Ee=(function(e){return e[e.Trigger=2]="Trigger",e[e.Call=1]="Call",e})({});function qo(e,t){e.levelRefs[t]={}}function oa(e,t){return e.levelRefs[t]}function St(e){const t=e.delay;if(typeof t=="number")return Promise.all([new Promise(r=>globalThis.setTimeout(()=>r(),t)),e.advanceTimers(t)])}var ca=(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 Ae=(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 bE=["Alt","AltGraph","Control","Fn","Meta","Shift","Symbol"];function cd(e){return bE.includes(e)}const vE=["CapsLock","FnLock","NumLock","ScrollLock","SymbolLock"];function dd(e){return vE.includes(e)}class yE{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=Ha(t.config.document);this.setKeydownTarget(a),this.pressed.add(o,r),cd(n)&&(this.modifiers[n]=!0);const i=t.dispatchUIEvent(a,"keydown",{key:n,code:o});dd(n)&&!this.modifiers[n]&&(this.modifiers[n]=!0,this.modifierLockStart[n]=!0),i&&this.pressed.setUnprevented(o),i&&this.hasKeyPress(n)&&t.dispatchUIEvent(Ha(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),cd(n)&&!this.pressed.values().find(i=>i.keyDef.key===n)&&(this.modifiers[n]=!1),t.dispatchUIEvent(Ha(t.config.document),"keyup",{key:n,code:o},!a),dd(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 gE=[..."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:Ae.LEFT},{code:"AltRight",key:"Alt",location:Ae.RIGHT},{code:"ShiftLeft",key:"Shift",location:Ae.LEFT},{code:"ShiftRight",key:"Shift",location:Ae.RIGHT},{code:"ControlLeft",key:"Control",location:Ae.LEFT},{code:"ControlRight",key:"Control",location:Ae.RIGHT},{code:"MetaLeft",key:"Meta",location:Ae.LEFT},{code:"MetaRight",key:"Meta",location:Ae.RIGHT},{code:"OSLeft",key:"OS",location:Ae.LEFT},{code:"OSRight",key:"OS",location:Ae.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"}],RE=[{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 wE(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class mp{getButtons(){let t=0;for(const r of Object.keys(this.pressed))t|=2**Number(r);return t}down(t){const r=xi(t.button);if(r in this.pressed){this.pressed[r].push(t);return}return this.pressed[r]=[t],r}up(t){const r=xi(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(){wE(this,"pressed",{})}}const fd={primary:0,secondary:1,auxiliary:2,back:3,X1:3,forward:4,X2:4};function xi(e=0){return e in fd?fd[e]:Number(e)}const pd={1:2,2:1};function qi(e){return e=xi(e),e in pd?pd[e]:e}function EE(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class CE{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(){EE(this,"pressedKeys",new Set)}}function So(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 _i({target:e,node:t,offset:r}){return Me(e)?{node:e,offset:r??Ie(e).length}:t?{node:t,offset:r??(t.nodeType===3?t.nodeValue.length:t.childNodes.length)}:hp(e,r)}function hp(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 hp(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 xE({document:e,target:t,clickCount:r,node:n,offset:o}){if(yh(t))return;const a=Me(t),i=String(a?Ie(t):t.textContent),[s,l]=n?[o,o]:qE(i,o,r);if(a)return Mt(t,{anchorOffset:s??i.length,focusOffset:l??i.length}),{node:t,start:s??0,end:l??i.length};{const{node:u,offset:c}=_i({target:t,node:n,offset:s}),{node:f,offset:d}=_i({target:t,node:n,offset:l}),b=t.ownerDocument.createRange();try{b.setStart(u,c),b.setEnd(f,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 qE(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 _E(e,{document:t,target:r,node:n,offset:o}){const a=_i({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;Mt(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 bp(e,t){var r,n,o,a,i,s,l,u,c,f,d,b,v,R,S,p,q,_,T,P,y,g,E,O;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)||((c=e.coords)===null||c===void 0?void 0:c.offsetX)!==((f=t.coords)===null||f===void 0?void 0:f.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)!==((O=t.caret)===null||O===void 0?void 0:O.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 PE{move(t,r,n){const o=this.position,a=this.getTarget(t);if(this.position=r,!bp(o,r))return;const i=this.getTarget(t),s=this.getEventInit("mousemove"),[l,u]=So(a,i);return{leave:()=>{a!==i&&(t.dispatchUIEvent(a,"mouseout",s),l.forEach(c=>t.dispatchUIEvent(c,"mouseleave",s)))},enter:()=>{a!==i&&(t.dispatchUIEvent(i,"mouseover",s),u.forEach(c=>t.dispatchUIEvent(c,"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=Ge(a);!n&&(s||t.dispatchUIEvent(a,"mousedown",i))&&(this.startSelecting(t,i.detail),tt(a)),!s&&qi(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(!Ge(a)){if(!n){const s=this.getEventInit("mouseup",r.button);t.dispatchUIEvent(a,"mouseup",s),this.endSelecting()}const i=So(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=qi(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=xE({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&&_E(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 mp),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 Pa(e,t){var r;return((r=vp(e,t))===null||r===void 0?void 0:r.pointerEvents)!=="none"}function TE(e){const t=_e(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 md=Symbol("Last check for pointer-events");function vp(e,t){const r=t[md];if(!(e.config.pointerEventsCheck!==ca.Never&&(!r||hd(e.config.pointerEventsCheck,ca.EachApiCall)&&r[Ee.Call]!==oa(e,Ee.Call)||hd(e.config.pointerEventsCheck,ca.EachTrigger)&&r[Ee.Trigger]!==oa(e,Ee.Trigger))))return r?.result;const o=TE(t);return t[md]={[Ee.Call]:oa(e,Ee.Call),[Ee.Trigger]:oa(e,Ee.Trigger),result:o},o}function _o(e,t){const r=vp(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\`:`,"",SE(r.tree)].join(`
317
- `))}function SE(e){return e.reverse().map((t,r)=>["".padEnd(r),t.tagName,t.id&&`#${t.id}`,t.hasAttribute("data-testid")&&`(testId=${t.getAttribute("data-testid")})`,AE(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(`
318
- `)}function AE(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(H(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(H(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 hd(e,t){return(e&t)>0}function ze(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class OE{init(t){const r=this.getTarget(t),[,n]=So(null,r),o=this.getEventInit();return _o(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,!bp(n,r))return;const a=this.getTarget(t),i=this.getEventInit(-1),[s,l]=So(o,a);return{leave:()=>{Pa(t,o)&&o!==a&&(t.dispatchUIEvent(o,"pointerout",i),s.forEach(u=>t.dispatchUIEvent(u,"pointerleave",i)))},enter:()=>{_o(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);_o(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);_o(t,n),this.isPrevented=!1,this.isDown=!1,t.dispatchUIEvent(n,"pointerup",this.getEventInit(r))}release(t){const r=this.getTarget(t),[n]=So(r,null),o=this.getEventInit();Pa(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:qi(t),buttons:this.buttons.getButtons()}}constructor({pointerId:t,pointerType:r,isPrimary:n},o){ze(this,"pointerId",void 0),ze(this,"pointerType",void 0),ze(this,"isPrimary",void 0),ze(this,"buttons",void 0),ze(this,"isMultitouch",!1),ze(this,"isCancelled",!1),ze(this,"isDown",!1),ze(this,"isPrevented",!1),ze(this,"position",{}),this.pointerId=t,this.pointerType=r,this.isPrimary=n,this.isMultitouch=!n,this.buttons=o}}function Qe(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class ME{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){Qe(this,"system",void 0),Qe(this,"mouse",void 0),Qe(this,"buttons",void 0),Qe(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 CE}constructor(){Qe(this,"registry",{})}}),Qe(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 OE({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(){Qe(this,"registry",{}),Qe(this,"nextId",1)}}),this.system=t,this.buttons=new mp,this.mouse=new PE,this.pointers.new("mouse","mouse",this.buttons)}}function bd(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{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(){bd(this,"keyboard",new yE(this)),bd(this,"pointer",new ME(this))}}async function IE(e){const t=[];return this.config.skipHover||t.push({target:e}),t.push({keys:"[MouseLeft]",target:e}),this.pointer(t)}async function NE(e){return this.pointer([{target:e},"[MouseLeft][MouseLeft]"])}async function kE(e){return this.pointer([{target:e},"[MouseLeft][MouseLeft][MouseLeft]"])}async function DE(e){return this.pointer({target:e})}async function jE(e){return _o(this,this.system.pointer.getMouseTarget(this)),this.pointer({target:e.ownerDocument.body})}async function BE({shift:e}={}){return this.keyboard(e===!0?"{Shift>}{Tab}{/Shift}":e===!1?"[/ShiftLeft][/ShiftRight]{Tab}":"{Tab}")}var xs=(function(e){return e["{"]="}",e["["]="]",e})(xs||{});function gp(e,t){let r=0;const n=e[r]in xs?e[r]:"";r+=n.length;const a=new RegExp(`^\\${n}{2}`).test(e)?"":n;return{type:a,...a===""?$E(e,r,t):LE(e,r,a,t)}}function $E(e,t,r){const n=e[t];return Rp(n,e,t,r),t+=n.length,{consumedLength:t,descriptor:n,releasePrevious:!1,releaseSelf:!0,repeat:1}}function LE(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];Rp(l,e,t,n),t+=l.length;var u;const c=(u=(a=e.slice(t).match(/^>\d+/))===null||a===void 0?void 0:a[0])!==null&&u!==void 0?u:"";t+=c.length;const f=e[t]==="/"||!c&&e[t]===">"?e[t]:"";t+=f.length;const d=xs[r],b=e[t]===d?d:"";if(!b)throw new Error(wp([!c&&"repeat modifier",!f&&"release modifier",`"${d}"`].filter(Boolean).join(" or "),e[t],e,n));return t+=b.length,{consumedLength:t,descriptor:l,releasePrevious:!!i,repeat:c?Math.max(Number(c.substr(1)),1):1,releaseSelf:FE(f,c)}}function Rp(e,t,r,n){if(!e)throw new Error(wp("key descriptor",t[r],t,n))}function FE(e,t){if(e)return e==="/";if(t)return!1}function wp(e,t,r,n){return`Expected ${e} but found "${t??""}" in "${r}"
69
+ `+t),t},nd={debug:Pw,logTestingPlaygroundURL:Tw};typeof document<"u"&&document.body?Ew(document.body,_i,nd):Object.keys(_i).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),nd);function Pt(e,t){return Q().eventWrapper(e)}function et(e){const t=Eh(e,bs),r=Wo(e.ownerDocument);(t??e.ownerDocument.body)!==r&&(Pt(t?()=>t.focus():()=>r?.blur()),qh(t??e.ownerDocument.body))}function Sw(e){!bs(e)||!(Wo(e.ownerDocument)===e)||Pt(()=>e.blur())}const tt={};tt.click=(e,t,r)=>{const n=t.closest("button,input,label,select,textarea"),o=n&&H(n,"label")&&n.control;if(o&&o!==t)return()=>{bs(o)&&(et(o),r.dispatchEvent(o,wh(e)))};if(H(t,"input",{type:"file"}))return()=>{Sw(t),t.dispatchEvent(new(qe(t)).Event("fileDialog")),et(t)}};const Tt=Symbol("Displayed value in UI"),Ve=Symbol("Displayed selection in UI"),_a=Symbol("Initial value to compare on blur");function Aw(e){return typeof e=="object"&&Tt in e}function Ow(e){return!!e&&typeof e=="object"&&Ve in e}function Mw(e,t){e[_a]===void 0&&(e[_a]=e.value),e[Tt]=t,e.value=Object.assign(new String(t),{[Tt]:!0})}function Me(e){return e[Tt]===void 0?e.value:String(e[Tt])}function _s(e){e[Tt]=void 0}function ap(e){e[_a]=void 0}function Iw(e){return e[_a]}function Nw(e,t){e[Ve]=t}function It(e,{focusOffset:t,anchorOffset:r=t},n="replace"){const o=Me(e).length,a=f=>Math.max(0,Math.min(o,f)),i=n==="replace"||e[Ve]===void 0?a(r):e[Ve].anchorOffset,s=a(t),l=Math.min(i,s),u=Math.max(i,s);if(e[Ve]={anchorOffset:i,focusOffset:s},e.selectionStart===l&&e.selectionEnd===u)return;const c=Object.assign(new Number(l),{[Ve]:!0});try{e.setSelectionRange(c,u)}catch{}}function Bo(e){var t,r,n;const o=(n=e[Ve])!==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 kw(e){return!!e[Ve]}function ca(e){e[Ve]=void 0}const Pa=globalThis.parseInt;function Dw(e){const t=e.replace(/\D/g,"");if(t.length<2)return e;const r=Pa(t[0],10),n=Pa(t[1],10);if(r>=3||r===2&&n>=4){let o;return r>=3?o=1:o=2,od(t,o)}return e.length===2?e:od(t,2)}function od(e,t){const r=e.slice(0,t),n=Math.min(Pa(r,10),23),o=e.slice(t),a=Pa(o,10),i=Math.min(a,59);return`${n.toString().padStart(2,"0")}:${i.toString().padStart(2,"0")}`}function ip(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 jw(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 $w(e){return H(e,"textarea")||H(e,"input")&&e.type in sp}function lp(e,t,r,n){if(da(e)&&t+r>=0&&t+r<=e.nodeValue.length)return{node:e,offset:t+r};const o=ad(e,t,r);if(o){if(da(o))return{node:o,offset:r>0?Math.min(1,o.nodeValue.length):Math.max(o.nodeValue.length-1,0)};if(H(o,"br")){const a=ad(o,void 0,r);return a?da(a)?{node:a,offset:r>0?0:a.nodeValue.length}:r<0&&H(a,"br")?{node:o.parentNode,offset:oa(o)}:{node:a.parentNode,offset:oa(a)+(r>0?0:1)}:r<0&&n==="deleteContentBackward"?{node:o.parentNode,offset:oa(o)}:void 0}else return{node:o.parentNode,offset:oa(o)+(r>0?1:0)}}}function ad(e,t,r){const n=Number(t)+(r<0?-1:0);return t!==void 0&&Ps(e)&&n>=0&&n<e.children.length&&(e=e.children[n]),Lw(e,r===1?"next":"previous",Bw)}function Bw(e){if(da(e))return!0;if(Ps(e)){if(H(e,["input","textarea"]))return e.type!=="hidden";if(H(e,"br"))return!0}return!1}function oa(e){let t=0;for(;e.previousSibling;)t++,e=e.previousSibling;return t}function Ps(e){return e.nodeType===1}function da(e){return e.nodeType===3}function Lw(e,t,r){for(;;){var n;const o=e[`${t}Sibling`];if(o){if(e=Fw(o,t==="next"?"first":"last"),r(e))return e}else if(e.parentNode&&(!Ps(e.parentNode)||!pt(e.parentNode)&&e.parentNode!==((n=e.ownerDocument)===null||n===void 0?void 0:n.body)))e=e.parentNode;else break}}function Fw(e,t){for(;e.hasChildNodes();)e=e[`${t}Child`];return e}const Lo=Symbol("Track programmatic changes for React workaround");function Uw(e){return Object.getOwnPropertyNames(e).some(t=>t.startsWith("__react"))&&qe(e).REACT_VERSION===17}function zw(e){Uw(e)&&(e[Lo]={previousValue:String(e.value),tracked:[]})}function Vw(e,t){var r,n;(n=e[Lo])===null||n===void 0||(r=n.tracked)===null||r===void 0||r.push(t),e[Lo]||(_s(e),It(e,{focusOffset:t.length}))}function Hw(e,t){var r;const n=e[Lo];if(e[Lo]=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||_s(e),kw(e)&&It(e,{focusOffset:o?t:e.value.length})}function up(e){const t=Ww(e);if(t&&Oe(t))return{type:"input",selection:Bo(t)};const r=t?.ownerDocument.getSelection();return{type:ko(e)&&r?.anchorNode&&ko(r.anchorNode)?"contenteditable":"default",selection:r}}function Ww(e){return e.nodeType===1?e:e.parentElement}function Gw(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 ht({focusNode:e,focusOffset:t,anchorNode:r=e,anchorOffset:n=t}){var o,a;if(up(e).type==="input")return It(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 cp(e){return H(e,"input")&&["date","time"].includes(e.type)}function St(e,t,r,n="insertText"){const o=Gw(t);o&&(!cp(t)&&!e.dispatchUIEvent(t,"beforeinput",{inputType:n,data:r})||("startContainer"in o?Kw(e,t,o,r,n):Yw(e,t,o,r,n)))}function Kw(e,t,r,n,o){let a=!1;if(!r.collapsed)a=!0,r.deleteContents();else if(["deleteContentBackward","deleteContentForward"].includes(o)){const i=lp(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 Yw(e,t,r,n,o){let a=n;if($w(t)){const u=jw(t);if(u!==void 0&&n.length>0){const c=u-t.value.length;if(c>0)a=n.substring(0,c);else return}}const{newValue:i,newOffset:s,oldValue:l}=Xw(a,t,r,o);i===l&&s===r.startOffset&&s===r.endOffset||H(t,"input",{type:"number"})&&!Jw(i)||(Mw(t,i),ht({focusNode:t,anchorOffset:s,focusOffset:s}),cp(t)?ip(t,i)&&(id(e,t,s,{}),e.dispatchUIEvent(t,"change"),ap(t)):id(e,t,s,{data:n,inputType:o}))}function Xw(e,t,{startOffset:r,endOffset:n},o){const a=Me(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 c=`${s}${e}${u}`,f=i+e.length;if(H(t,"input",{type:"time"})){const d=Dw(c);d!==""&&ip(t,d)&&(c=d,f=d.length)}return{oldValue:a,newValue:c,newOffset:f}}function id(e,t,r,n){e.dispatchUIEvent(t,"input",n),Hw(t,r)}function Jw(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]))}tt.cut=(e,t,r)=>()=>{_t(t)&&St(r,t,"","deleteByCut")};function Qw(e){return e?pt(e)?e.textContent:Me(e):null}function Zw(e){const t=qe(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 eE(e,t){const r=e.ownerDocument,n=r.querySelectorAll(Cf),o=Array.from(n).filter(l=>l===e||!(Number(l.getAttribute("tabindex"))<0||We(l)));Number(e.getAttribute("tabindex"))>=0&&o.sort((l,u)=>{const c=Number(l.getAttribute("tabindex")),f=Number(u.getAttribute("tabindex"));return c===f?0:c===0?1:f===0?-1:c-f});const a={};let i=[r.body];const s=H(e,"input",{type:"radio"})?e.name:void 0;o.forEach(l=>{const u=l;if(H(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(c=>!H(c,"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||Zw(i[l]))return i[l]}function sd(e,t){if(Oe(e)){const r=Bo(e);ht({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&&ht({focusNode:n.node,focusOffset:n.offset})}else r[t<0?"collapseToStart":"collapseToEnd"]()}}function dp(e){if(Oe(e))return ht({focusNode:e,anchorOffset:0,focusOffset:Me(e).length});var t;const r=(t=ko(e))!==null&&t!==void 0?t:e.ownerDocument.body;ht({focusNode:r,anchorOffset:0,focusOffset:r.childNodes.length})}function tE(e){if(Oe(e))return Bo(e).startOffset===0&&Bo(e).endOffset===Me(e).length;var t;const r=(t=ko(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 qo(e,t,r){var n;if(Oe(e))return ht({focusNode:e,anchorOffset:t,focusOffset:r});if(pt(e)&&((n=e.firstChild)===null||n===void 0?void 0:n.nodeType)===3)return ht({focusNode:e.firstChild,anchorOffset:t,focusOffset:r});throw new Error("Not implemented. The result of this interaction is unreliable.")}function aa(e,t,r){const n=qe(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(!We(o[a])){et(o[a]),e.dispatchUIEvent(o[a],"click");return}}}tt.keydown=(e,t,r)=>{var n,o;return(o=(n=ld[e.key])===null||n===void 0?void 0:n.call(ld,e,t,r))!==null&&o!==void 0?o:rE(e,t,r)};const ld={ArrowDown:(e,t,r)=>{if(H(t,"input",{type:"radio"}))return()=>aa(r,t,1)},ArrowLeft:(e,t,r)=>H(t,"input",{type:"radio"})?()=>aa(r,t,-1):()=>sd(t,-1),ArrowRight:(e,t,r)=>H(t,"input",{type:"radio"})?()=>aa(r,t,1):()=>sd(t,1),ArrowUp:(e,t,r)=>{if(H(t,"input",{type:"radio"}))return()=>aa(r,t,-1)},Backspace:(e,t,r)=>{if(_t(t))return()=>{St(r,t,"","deleteContentBackward")}},Delete:(e,t,r)=>{if(_t(t))return()=>{St(r,t,"","deleteContentForward")}},End:(e,t)=>{if(H(t,["input","textarea"])||pt(t))return()=>{var r,n;const o=(n=(r=Qw(t))===null||r===void 0?void 0:r.length)!==null&&n!==void 0?n:0;qo(t,o,o)}},Home:(e,t)=>{if(H(t,["input","textarea"])||pt(t))return()=>{qo(t,0,0)}},PageDown:(e,t)=>{if(H(t,["input"]))return()=>{const r=Me(t).length;qo(t,r,r)}},PageUp:(e,t)=>{if(H(t,["input"]))return()=>{qo(t,0,0)}},Tab:(e,t,r)=>()=>{const n=eE(t,r.system.keyboard.modifiers.Shift);et(n),Oe(n)&&It(n,{anchorOffset:0,focusOffset:n.value.length})}},rE=(e,t,r)=>{if(e.code==="KeyA"&&r.system.keyboard.modifiers.Control)return()=>dp(t)};tt.keypress=(e,t,r)=>{if(e.key==="Enter"){if(H(t,"button")||H(t,"input")&&nE.includes(t.type)||H(t,"a")&&t.href)return()=>{r.dispatchUIEvent(t,"click")};if(H(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&&oE.includes(t.type)&&n.querySelectorAll("input").length===1?()=>r.dispatchUIEvent(n,"submit"):void 0}}if(_t(t)){const n=e.key==="Enter"?pt(t)&&!r.system.keyboard.modifiers.Shift?"insertParagraph":"insertLineBreak":"insertText",o=e.key==="Enter"?`
70
+ `:e.key;return()=>St(r,t,o,n)}};const nE=["button","color","file","image","reset","submit"],oE=["email","month","password","search","tel","text","url","week"];tt.keyup=(e,t,r)=>{var n;return(n=ud[e.key])===null||n===void 0?void 0:n.call(ud,e,t,r)};const ud={" ":(e,t,r)=>{if(qf(t))return()=>r.dispatchUIEvent(t,"click")}};tt.paste=(e,t,r)=>{if(_t(t))return()=>{var n;const o=(n=e.clipboardData)===null||n===void 0?void 0:n.getData("text");o&&St(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 iE(e){return aE.includes(pp(e))}function sE(e){return pp(e)==="KeyboardEvent"}const lE={ClipboardEvent:[cE],Event:[],FocusEvent:[Co,dE],InputEvent:[Co,fE],MouseEvent:[Co,Za,cd],PointerEvent:[Co,Za,cd,mE],KeyboardEvent:[Co,Za,pE]};function mp(e,t,r){const n=qe(t),{EventType:o,defaultInit:a}=fp[e],i=new(uE(n))[o](e,a);return lE[o].forEach(s=>s(i,r??{})),i}function uE(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 c=(u=e.ProgressEvent)!==null&&u!==void 0?u:class extends r{};var f;const d=(f=e.TransitionEvent)!==null&&f!==void 0?f: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 O;const D=(O=e.DragEvent)!==null&&O!==void 0?O:class extends E{};var j;const B=(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:c,TransitionEvent:d,UIEvent:v,CompositionEvent:S,FocusEvent:q,InputEvent:T,KeyboardEvent:y,MouseEvent:E,DragEvent:D,PointerEvent:B,TouchEvent:k}}function rt(e,t){for(const[r,n]of Object.entries(t))Object.defineProperty(e,r,{get:()=>n??null})}function ae(e){return Number(e??0)}function cE(e,{clipboardData:t}){rt(e,{clipboardData:t})}function dE(e,{relatedTarget:t}){rt(e,{relatedTarget:t})}function fE(e,{data:t,inputType:r,isComposing:n}){rt(e,{data:t,isComposing:!!n,inputType:String(r)})}function Co(e,{view:t,detail:r}){rt(e,{view:t,detail:ae(r??0)})}function Za(e,{altKey:t,ctrlKey:r,metaKey:n,shiftKey:o,modifierAltGraph:a,modifierCapsLock:i,modifierFn:s,modifierFnLock:l,modifierNumLock:u,modifierScrollLock:c,modifierSymbol:f,modifierSymbolLock:d}){rt(e,{altKey:!!t,ctrlKey:!!r,metaKey:!!n,shiftKey:!!o,getModifierState(b){return!!{Alt:t,AltGraph:a,CapsLock:i,Control:r,Fn:s,FnLock:l,Meta:n,NumLock:u,ScrollLock:c,Shift:o,Symbol:f,SymbolLock:d}[b]}})}function pE(e,{key:t,code:r,location:n,repeat:o,isComposing:a,charCode:i}){rt(e,{key:String(t),code:String(r),location:ae(n),repeat:!!o,isComposing:!!a,charCode:i})}function cd(e,{x:t,y:r,screenX:n,screenY:o,clientX:a=t,clientY:i=r,button:s,buttons:l,relatedTarget:u,offsetX:c,offsetY:f,pageX:d,pageY:b}){rt(e,{screenX:ae(n),screenY:ae(o),clientX:ae(a),x:ae(a),clientY:ae(i),y:ae(i),button:ae(s),buttons:ae(l),relatedTarget:u,offsetX:ae(c),offsetY:ae(f),pageX:ae(d),pageY:ae(b)})}function mE(e,{pointerId:t,width:r,height:n,pressure:o,tangentialPressure:a,tiltX:i,tiltY:s,twist:l,pointerType:u,isPrimary:c}){rt(e,{pointerId:ae(t),width:ae(r??1),height:ae(n??1),pressure:ae(o),tangentialPressure:ae(a),tiltX:ae(i),tiltY:ae(s),twist:ae(l),pointerType:String(u),isPrimary:!!c})}function hE(e,t,r,n=!1){(iE(t)||sE(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,a=r?()=>{}:(n=tt[o])===null||n===void 0?void 0:n.call(tt,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}}),Pt(()=>e.dispatchEvent(t)),i||a(),!i}return Pt(()=>e.dispatchEvent(t))}function it(e,t,r){const n=mp(t,e,r);Pt(()=>e.dispatchEvent(n))}const dd=Symbol("patched focus/blur methods");function bp(e){if(e.prototype[dd])return;const{focus:t,blur:r}=e.prototype;Object.defineProperties(e.prototype,{focus:{configurable:!0,get:()=>o},blur:{configurable:!0,get:()=>a},[dd]:{configurable:!0,get:()=>({focus:t,blur:r})}});let n;function o(i){if(this.ownerDocument.visibilityState!=="hidden")return t.call(this,i);const s=fd(this.ownerDocument);if(s===this)return;const l=Symbol("focus call");n=l,s&&(r.call(s),it(s,"blur",{relatedTarget:this}),it(s,"focusout",{relatedTarget:n===l?this:null})),n===l&&(t.call(this,i),it(this,"focus",{relatedTarget:s})),n===l&&it(this,"focusin",{relatedTarget:s})}function a(){if(this.ownerDocument.visibilityState!=="hidden")return r.call(this);const i=fd(this.ownerDocument);if(i!==this)return;n=Symbol("blur call"),r.call(this),it(i,"blur",{relatedTarget:null}),it(i,"focusout",{relatedTarget:null})}}function fd(e){const t=Wo(e);return t?.tagName==="BODY"?null:t}const ei=Symbol("Interceptor for programmatical calls");function yt(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][ei])throw new Error(`Element ${e.tagName} does not implement "${String(t)}".`);function i(...s){const{applyNative:l=!1,realArgs:u,then:c}=r.call(this,...s),f=(!l&&o||n)[a];a==="set"?f.call(this,u):f.call(this,...u),c?.()}i[ei]=ei,Object.defineProperty(e,t,{...o??n,[a]:i})}function bE(e){yt(e,"value",function(r){const n=Aw(r);return n&&zw(this),{applyNative:!!n,realArgs:vE(this,r),then:n?void 0:()=>Vw(this,String(r))}})}function vE(e,t){return H(e,"input",{type:"number"})&&String(t)!==""&&!Number.isNaN(Number(t))?String(Number(t)):String(t)}function yE(e){yt(e,"setSelectionRange",function(r,...n){const o=Ow(r);return{applyNative:!!o,realArgs:[Number(r),...n],then:()=>o?void 0:ca(e)}}),yt(e,"selectionStart",function(r){return{realArgs:r,then:()=>ca(e)}}),yt(e,"selectionEnd",function(r){return{realArgs:r,then:()=>ca(e)}}),yt(e,"select",function(){return{realArgs:[],then:()=>Nw(e,{anchorOffset:0,focusOffset:Me(e).length})}})}function gE(e){yt(e,"setRangeText",function(...r){return{realArgs:r,then:()=>{_s(e),ca(e)}}})}const Rt=Symbol("Node prepared with document state workarounds");function vp(e){e[Rt]||(e.addEventListener("focus",t=>{const r=t.target;pd(r)},{capture:!0,passive:!0}),e.activeElement&&pd(e.activeElement),e.addEventListener("blur",t=>{const r=t.target,n=Iw(r);n!==void 0&&(r.value!==n&&it(r,"change"),ap(r))},{capture:!0,passive:!0}),e[Rt]=Rt)}function pd(e){e[Rt]||(H(e,["input","textarea"])&&(bE(e),yE(e),gE(e)),e[Rt]=Rt)}function RE(e){return wE(e)?e:e.ownerDocument}function wE(e){return e.nodeType===9}var we=(function(e){return e[e.Trigger=2]="Trigger",e[e.Call=1]="Call",e})({});function _o(e,t){e.levelRefs[t]={}}function ia(e,t){return e.levelRefs[t]}function At(e){const t=e.delay;if(typeof t=="number")return Promise.all([new Promise(r=>globalThis.setTimeout(()=>r(),t)),e.advanceTimers(t)])}var fa=(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 Se=(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 EE=["Alt","AltGraph","Control","Fn","Meta","Shift","Symbol"];function md(e){return EE.includes(e)}const CE=["CapsLock","FnLock","NumLock","ScrollLock","SymbolLock"];function hd(e){return CE.includes(e)}class xE{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=Ga(t.config.document);this.setKeydownTarget(a),this.pressed.add(o,r),md(n)&&(this.modifiers[n]=!0);const i=t.dispatchUIEvent(a,"keydown",{key:n,code:o});hd(n)&&!this.modifiers[n]&&(this.modifiers[n]=!0,this.modifierLockStart[n]=!0),i&&this.pressed.setUnprevented(o),i&&this.hasKeyPress(n)&&t.dispatchUIEvent(Ga(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),md(n)&&!this.pressed.values().find(i=>i.keyDef.key===n)&&(this.modifiers[n]=!1),t.dispatchUIEvent(Ga(t.config.document),"keyup",{key:n,code:o},!a),hd(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,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(){ot(this,"registry",{})}}),ot(this,"carryChar",""),ot(this,"lastKeydownTarget",void 0),ot(this,"modifierLockStart",{}),this.system=t}}const qE=[..."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:Se.LEFT},{code:"AltRight",key:"Alt",location:Se.RIGHT},{code:"ShiftLeft",key:"Shift",location:Se.LEFT},{code:"ShiftRight",key:"Shift",location:Se.RIGHT},{code:"ControlLeft",key:"Control",location:Se.LEFT},{code:"ControlRight",key:"Control",location:Se.RIGHT},{code:"MetaLeft",key:"Meta",location:Se.LEFT},{code:"MetaRight",key:"Meta",location:Se.RIGHT},{code:"OSLeft",key:"OS",location:Se.LEFT},{code:"OSRight",key:"OS",location:Se.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"}],_E=[{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 PE(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=Pi(t.button);if(r in this.pressed){this.pressed[r].push(t);return}return this.pressed[r]=[t],r}up(t){const r=Pi(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(){PE(this,"pressed",{})}}const bd={primary:0,secondary:1,auxiliary:2,back:3,X1:3,forward:4,X2:4};function Pi(e=0){return e in bd?bd[e]:Number(e)}const vd={1:2,2:1};function Ti(e){return e=Pi(e),e in vd?vd[e]:e}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 SE{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(){TE(this,"pressedKeys",new Set)}}function Oo(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 Si({target:e,node:t,offset:r}){return Oe(e)?{node:e,offset:r??Me(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 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 gp(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 AE({document:e,target:t,clickCount:r,node:n,offset:o}){if(xh(t))return;const a=Oe(t),i=String(a?Me(t):t.textContent),[s,l]=n?[o,o]:OE(i,o,r);if(a)return It(t,{anchorOffset:s??i.length,focusOffset:l??i.length}),{node:t,start:s??0,end:l??i.length};{const{node:u,offset:c}=Si({target:t,node:n,offset:s}),{node:f,offset:d}=Si({target:t,node:n,offset:l}),b=t.ownerDocument.createRange();try{b.setStart(u,c),b.setEnd(f,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 ME(e,{document:t,target:r,node:n,offset:o}){const a=Si({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;It(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 Rp(e,t){var r,n,o,a,i,s,l,u,c,f,d,b,v,R,S,p,q,_,T,P,y,g,E,O;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)||((c=e.coords)===null||c===void 0?void 0:c.offsetX)!==((f=t.coords)===null||f===void 0?void 0:f.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)!==((O=t.caret)===null||O===void 0?void 0:O.offset)}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}class IE{move(t,r,n){const o=this.position,a=this.getTarget(t);if(this.position=r,!Rp(o,r))return;const i=this.getTarget(t),s=this.getEventInit("mousemove"),[l,u]=Oo(a,i);return{leave:()=>{a!==i&&(t.dispatchUIEvent(a,"mouseout",s),l.forEach(c=>t.dispatchUIEvent(c,"mouseleave",s)))},enter:()=>{a!==i&&(t.dispatchUIEvent(i,"mouseover",s),u.forEach(c=>t.dispatchUIEvent(c,"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=We(a);!n&&(s||t.dispatchUIEvent(a,"mousedown",i))&&(this.startSelecting(t,i.detail),et(a)),!s&&Ti(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(!We(a)){if(!n){const s=this.getEventInit("mouseup",r.button);t.dispatchUIEvent(a,"mouseup",s),this.endSelecting()}const i=Oo(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=Ti(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=AE({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&&ME(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(){at(this,"position",{}),at(this,"buttons",new yp),at(this,"selecting",void 0),at(this,"buttonDownTarget",{}),at(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(){at(this,"down",{}),at(this,"count",{})}})}}function Ta(e,t){var r;return((r=wp(e,t))===null||r===void 0?void 0:r.pointerEvents)!=="none"}function NE(e){const t=qe(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 yd=Symbol("Last check for pointer-events");function wp(e,t){const r=t[yd];if(!(e.config.pointerEventsCheck!==fa.Never&&(!r||gd(e.config.pointerEventsCheck,fa.EachApiCall)&&r[we.Call]!==ia(e,we.Call)||gd(e.config.pointerEventsCheck,fa.EachTrigger)&&r[we.Trigger]!==ia(e,we.Trigger))))return r?.result;const o=NE(t);return t[yd]={[we.Call]:ia(e,we.Call),[we.Trigger]:ia(e,we.Trigger),result:o},o}function Po(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\`:`,"",kE(r.tree)].join(`
71
+ `))}function kE(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(`
72
+ `)}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(H(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(H(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 gd(e,t){return(e&t)>0}function Ue(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class jE{init(t){const r=this.getTarget(t),[,n]=Oo(null,r),o=this.getEventInit();return Po(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,!Rp(n,r))return;const a=this.getTarget(t),i=this.getEventInit(-1),[s,l]=Oo(o,a);return{leave:()=>{Ta(t,o)&&o!==a&&(t.dispatchUIEvent(o,"pointerout",i),s.forEach(u=>t.dispatchUIEvent(u,"pointerleave",i)))},enter:()=>{Po(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);Po(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);Po(t,n),this.isPrevented=!1,this.isDown=!1,t.dispatchUIEvent(n,"pointerup",this.getEventInit(r))}release(t){const r=this.getTarget(t),[n]=Oo(r,null),o=this.getEventInit();Ta(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:Ti(t),buttons:this.buttons.getButtons()}}constructor({pointerId:t,pointerType:r,isPrimary:n},o){Ue(this,"pointerId",void 0),Ue(this,"pointerType",void 0),Ue(this,"isPrimary",void 0),Ue(this,"buttons",void 0),Ue(this,"isMultitouch",!1),Ue(this,"isCancelled",!1),Ue(this,"isDown",!1),Ue(this,"isPrevented",!1),Ue(this,"position",{}),this.pointerId=t,this.pointerType=r,this.isPrimary=n,this.isMultitouch=!n,this.buttons=o}}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{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){Je(this,"system",void 0),Je(this,"mouse",void 0),Je(this,"buttons",void 0),Je(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 SE}constructor(){Je(this,"registry",{})}}),Je(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 jE({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(){Je(this,"registry",{}),Je(this,"nextId",1)}}),this.system=t,this.buttons=new yp,this.mouse=new IE,this.pointers.new("mouse","mouse",this.buttons)}}function Rd(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(){Rd(this,"keyboard",new xE(this)),Rd(this,"pointer",new $E(this))}}async function BE(e){const t=[];return this.config.skipHover||t.push({target:e}),t.push({keys:"[MouseLeft]",target:e}),this.pointer(t)}async function LE(e){return this.pointer([{target:e},"[MouseLeft][MouseLeft]"])}async function FE(e){return this.pointer([{target:e},"[MouseLeft][MouseLeft][MouseLeft]"])}async function UE(e){return this.pointer({target:e})}async function zE(e){return Po(this,this.system.pointer.getMouseTarget(this)),this.pointer({target:e.ownerDocument.body})}async function VE({shift:e}={}){return this.keyboard(e===!0?"{Shift>}{Tab}{/Shift}":e===!1?"[/ShiftLeft][/ShiftRight]{Tab}":"{Tab}")}var Ts=(function(e){return e["{"]="}",e["["]="]",e})(Ts||{});function Cp(e,t){let r=0;const n=e[r]in Ts?e[r]:"";r+=n.length;const a=new RegExp(`^\\${n}{2}`).test(e)?"":n;return{type:a,...a===""?HE(e,r,t):WE(e,r,a,t)}}function HE(e,t,r){const n=e[t];return xp(n,e,t,r),t+=n.length,{consumedLength:t,descriptor:n,releasePrevious:!1,releaseSelf:!0,repeat:1}}function WE(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];xp(l,e,t,n),t+=l.length;var u;const c=(u=(a=e.slice(t).match(/^>\d+/))===null||a===void 0?void 0:a[0])!==null&&u!==void 0?u:"";t+=c.length;const f=e[t]==="/"||!c&&e[t]===">"?e[t]:"";t+=f.length;const d=Ts[r],b=e[t]===d?d:"";if(!b)throw new Error(qp([!c&&"repeat modifier",!f&&"release modifier",`"${d}"`].filter(Boolean).join(" or "),e[t],e,n));return t+=b.length,{consumedLength:t,descriptor:l,releasePrevious:!!i,repeat:c?Math.max(Number(c.substr(1)),1):1,releaseSelf:GE(f,c)}}function xp(e,t,r,n){if(!e)throw new Error(qp("key descriptor",t[r],t,n))}function GE(e,t){if(e)return e==="/";if(t)return!1}function qp(e,t,r,n){return`Expected ${e} but found "${t??""}" in "${r}"
319
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"}
320
- for more information about how userEvent parses your input.`}function UE(e,t){const r=[];do{const{type:o,descriptor:a,consumedLength:i,releasePrevious:s,releaseSelf:l=!0,repeat:u}=gp(t,"keyboard");var n;const c=(n=e.find(f=>{if(o==="["){var d;return((d=f.code)===null||d===void 0?void 0:d.toLowerCase())===a.toLowerCase()}else if(o==="{"){var b;return((b=f.key)===null||b===void 0?void 0:b.toLowerCase())===a.toLowerCase()}return f.key===a}))!==null&&n!==void 0?n:{key:"Unknown",code:"Unknown",[o==="["?"code":"key"]:a};r.push({keyDef:c,releasePrevious:s,releaseSelf:l,repeat:u}),t=t.slice(i)}while(t);return r}async function zE(e){const t=UE(this.config.keyboardMap,e);for(let r=0;r<t.length;r++)await St(this.config),await VE(this,t[r])}async function VE(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 St(e.config);n&&await a.keyboard.keyup(e,t)}}async function HE(e){for(const t of e.system.keyboard.getPressedKeys())await e.system.keyboard.keyup(e,t)}function Ep(e){const t=Me(e)?{"text/plain":WE(e)}:{"text/plain":String(e.ownerDocument.getSelection())},r=cs(_e(e));for(const n in t)t[n]&&r.setData(n,t[n]);return r}function WE(e){const t=jo(e);return Ie(e).substring(t.startOffset,t.endOffset)}async function GE(){const e=this.config.document;var t;const r=(t=e.activeElement)!==null&&t!==void 0?t:e.body,n=Ep(r);if(n.items.length!==0)return this.dispatchUIEvent(r,"copy",{clipboardData:n})&&this.config.writeToClipboard&&await yf(e,n),n}async function KE(){const e=this.config.document;var t;const r=(t=e.activeElement)!==null&&t!==void 0?t:e.body,n=Ep(r);if(n.items.length!==0)return this.dispatchUIEvent(r,"cut",{clipboardData:n})&&this.config.writeToClipboard&&await yf(r.ownerDocument,n),n}async function YE(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"?XE(t,e):e)!==null&&o!==void 0?o:await mh(t).catch(()=>{throw new Error("`userEvent.paste()` without `clipboardData` requires the `ClipboardAPI` to be available.")});this.dispatchUIEvent(n,"paste",{clipboardData:a})}function XE(e,t){const r=cs(_e(e));return r.setData("text",t),r}function vd(e,t){const r=[];do{const{descriptor:n,consumedLength:o,releasePrevious:a,releaseSelf:i=!0}=gp(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 JE(e){const{pointerMap:t}=this.config,r=[];(Array.isArray(e)?e:[e]).forEach(n=>{typeof n=="string"?r.push(...vd(t,n)):"keys"in n?r.push(...vd(t,n.keys).map(o=>({...n,...o}))):r.push(n)});for(let n=0;n<r.length;n++)await St(this.config),await QE(this,r[n]);this.system.pointer.resetClickCount()}async function QE(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 c={target:(i=t.target)!==null&&i!==void 0?i:ZE(e,a),coords:(s=t.coords)!==null&&s!==void 0?s:a?.coords,caret:{node:(l=t.node)!==null&&l!==void 0?l:yd(t)||a==null||(r=a.caret)===null||r===void 0?void 0:r.node,offset:(u=t.offset)!==null&&u!==void 0?u:yd(t)||a==null||(n=a.caret)===null||n===void 0?void 0:n.offset}};"keyDef"in t?(e.system.pointer.isKeyPressed(t.keyDef)&&(qo(e,Ee.Trigger),await e.system.pointer.release(e,t.keyDef,c)),t.releasePrevious||(qo(e,Ee.Trigger),await e.system.pointer.press(e,t.keyDef,c),t.releaseSelf&&(qo(e,Ee.Trigger),await e.system.pointer.release(e,t.keyDef,c)))):(qo(e,Ee.Trigger),await e.system.pointer.move(e,o,c))}function yd(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 ZE(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 eC(e){if(!qt(e)||Ge(e))throw new Error("clear()` is only supported on editable elements.");if(tt(e),e.ownerDocument.activeElement!==e)throw new Error("The element to be cleared could not be focused.");if(sp(e),!Yw(e))throw new Error("The element content to be cleared could not be selected.");Tt(this,e,"","deleteContentBackward")}async function tC(e,t){return Cp.call(this,!0,e,t)}async function rC(e,t){return Cp.call(this,!1,e,t)}async function Cp(e,t,r){if(!e&&!t.multiple)throw Q().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 Q().getElementError(`Value "${String(s)}" not found in options`,t)}}).filter(s=>!Ge(s));if(Ge(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(H(t,"select"))if(t.multiple)for(const s of a){const l=this.config.pointerEventsCheck===0?!0:Pa(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")),tt(t),l&&(this.dispatchUIEvent(s,"pointerup"),this.dispatchUIEvent(s,"mouseup")),i(s),l&&this.dispatchUIEvent(s,"click"),await St(this.config)}else if(a.length===1){const s=this.config.pointerEventsCheck===0?!0:Pa(this,t);s?await this.click(t):tt(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 St(this.config)}else throw Q().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 Q().getElementError("Cannot select options on elements that are neither select nor listbox elements",t)}async function nC(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&&xo(e,o,a??o),await this.keyboard(t),n||await HE(this))}const gd=Symbol("files and value properties are mocked");function Za(e,t,r){r?Object.defineProperty(e,t,r):delete e[t]}function oC(e,t){var r;(r=e[gd])===null||r===void 0||r.restore();const n=Object.getOwnPropertyDescriptor(e,"type"),o=Object.getOwnPropertyDescriptor(e,"value"),a=Object.getOwnPropertyDescriptor(e,"files");function i(){Za(e,"type",n),Za(e,"value",o),Za(e,"files",a)}e[gd]={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 aC(e,t){const r=H(e,"label")?e.control:e;if(!r||!H(r,"input",{type:"file"}))throw new TypeError(`The ${r===e?"given":"associated"} ${r?.tagName} element does not accept file uploads`);if(Ge(e))return;const n=(Array.isArray(t)?t:[t]).filter(a=>!this.config.applyAccept||iC(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))})||(oC(r,us(_e(e),n)),this.dispatchUIEvent(r,"input"),this.dispatchUIEvent(r,"change"))};r.addEventListener("fileDialog",o),await this.click(e),r.removeEventListener("fileDialog",o)}function aa(e){return e.toLowerCase().replace(/(\.|\/)jpg\b/g,"$1jpeg")}function iC(e,t){if(!t)return!0;const r=["audio/*","image/*","video/*"];return aa(t).trim().split(/\s*,\s*/).some(n=>n.startsWith(".")?aa(e.name).endsWith(n):r.includes(n)?aa(e.type).startsWith(n.replace("*","")):aa(e.type)===n)}const Rd={click:IE,dblClick:NE,tripleClick:kE,hover:DE,unhover:jE,tab:BE,keyboard:zE,copy:GE,cut:KE,paste:YE,pointer:JE,clear:eC,deselectOptions:rC,selectOptions:tC,type:nC,upload:aC};function sC(e){return Q().asyncWrapper(e)}const xp={applyAccept:!0,autoModify:!0,delay:0,document:globalThis.document,keyboardMap:gE,pointerMap:RE,pointerEventsCheck:ca.EachApiCall,skipAutoClose:!1,skipClick:!1,skipHover:!1,writeToClipboard:!1,advanceTimers:()=>Promise.resolve()},lC={...xp,writeToClipboard:!0};function qp(e={},t=lC,r){const n=fC(e,r,t);return{...t,...e,document:n}}function uC(e={}){const t=qp(e);pp(t.document),fp(_e(t.document).HTMLElement);var r;const n=(r=t.document.defaultView)!==null&&r!==void 0?r:globalThis.window;return dh(n),qs(t).api}function me({keyboardState:e,pointerState:t,...r}={},n){const o=qp(r,xp,n);pp(o.document),fp(_e(o.document).HTMLElement);var a;const i=(a=t??e)!==null&&a!==void 0?a:new yp;return{api:qs(o,i).api,system:i}}function cC(e){return qs({...this.config,...e},this.system).api}function dC(e,t){function r(...n){return qo(e,Ee.Call),sC(()=>t.apply(e,n).then(async o=>(await St(e.config),o)))}return Object.defineProperty(r,"name",{get:()=>t.name}),r}function qs(e,t=new yp){const r={};return Object.assign(r,{config:e,dispatchEvent:dp.bind(r),dispatchUIEvent:uE.bind(r),system:t,levelRefs:{},...Rd}),{instance:r,api:{...Object.fromEntries(Object.entries(Rd).map(([n,o])=>[n,dC(r,o)])),setup:cC.bind(r)}}}function fC(e,t,r){var n,o;return(o=(n=e.document)!==null&&n!==void 0?n:t&&mE(t))!==null&&o!==void 0?o:r.document}function pC(e){return me().api.clear(e)}function mC(e,t={}){return me(t,e).api.click(e)}function hC(e={}){return me(e).api.copy()}function bC(e={}){return me(e).api.cut()}function vC(e,t={}){return me(t).api.dblClick(e)}function yC(e,t,r={}){return me(r).api.deselectOptions(e,t)}function gC(e,t={}){return me(t).api.hover(e)}async function RC(e,t={}){const{api:r,system:n}=me(t);return r.keyboard(e).then(()=>n)}async function wC(e,t={}){const{api:r,system:n}=me(t);return r.pointer(e).then(()=>n)}function EC(e,t){return me(t).api.paste(e)}function CC(e,t,r={}){return me(r).api.selectOptions(e,t)}function xC(e,t={}){return me(t).api.tripleClick(e)}function qC(e,t,r={}){return me(r,e).api.type(e,t,r)}function _C(e,t={}){const{api:r,system:n}=me(t);return n.pointer.setMousePosition({target:e}),r.unhover(e)}function PC(e,t,r={}){return me(r).api.upload(e,t)}function TC(e={}){return me().api.tab(e)}const SC=Object.freeze(Object.defineProperty({__proto__:null,clear:pC,click:mC,copy:hC,cut:bC,dblClick:vC,deselectOptions:yC,hover:gC,keyboard:RC,paste:EC,pointer:wC,selectOptions:CC,tab:TC,tripleClick:xC,type:qC,unhover:_C,upload:PC},Symbol.toStringTag,{value:"Module"})),AC={...SC,setup:uC};function OC(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 _p(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 _p(s,`${t}.instance`)}:async(...i)=>{const s=await a(...i);return lt(OC(t,n,i)),s}}})}const MC=_p(AC);fe.truncateThreshold=0;exports.TWDSidebar=nh;exports.expect=Mo;exports.initTests=ah;exports.twd=Cd;exports.userEvent=MC;
74
+ for more information about how userEvent parses your input.`}function KE(e,t){const r=[];do{const{type:o,descriptor:a,consumedLength:i,releasePrevious:s,releaseSelf:l=!0,repeat:u}=Cp(t,"keyboard");var n;const c=(n=e.find(f=>{if(o==="["){var d;return((d=f.code)===null||d===void 0?void 0:d.toLowerCase())===a.toLowerCase()}else if(o==="{"){var b;return((b=f.key)===null||b===void 0?void 0:b.toLowerCase())===a.toLowerCase()}return f.key===a}))!==null&&n!==void 0?n:{key:"Unknown",code:"Unknown",[o==="["?"code":"key"]:a};r.push({keyDef:c,releasePrevious:s,releaseSelf:l,repeat:u}),t=t.slice(i)}while(t);return r}async function YE(e){const t=KE(this.config.keyboardMap,e);for(let r=0;r<t.length;r++)await At(this.config),await XE(this,t[r])}async function XE(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 At(e.config);n&&await a.keyboard.keyup(e,t)}}async function JE(e){for(const t of e.system.keyboard.getPressedKeys())await e.system.keyboard.keyup(e,t)}function _p(e){const t=Oe(e)?{"text/plain":QE(e)}:{"text/plain":String(e.ownerDocument.getSelection())},r=ms(qe(e));for(const n in t)t[n]&&r.setData(n,t[n]);return r}function QE(e){const t=Bo(e);return Me(e).substring(t.startOffset,t.endOffset)}async function ZE(){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 Ef(e,n),n}async function eC(){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 Ef(r.ownerDocument,n),n}async function tC(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"?rC(t,e):e)!==null&&o!==void 0?o:await Rh(t).catch(()=>{throw new Error("`userEvent.paste()` without `clipboardData` requires the `ClipboardAPI` to be available.")});this.dispatchUIEvent(n,"paste",{clipboardData:a})}function rC(e,t){const r=ms(qe(e));return r.setData("text",t),r}function wd(e,t){const r=[];do{const{descriptor:n,consumedLength:o,releasePrevious:a,releaseSelf:i=!0}=Cp(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 nC(e){const{pointerMap:t}=this.config,r=[];(Array.isArray(e)?e:[e]).forEach(n=>{typeof n=="string"?r.push(...wd(t,n)):"keys"in n?r.push(...wd(t,n.keys).map(o=>({...n,...o}))):r.push(n)});for(let n=0;n<r.length;n++)await At(this.config),await oC(this,r[n]);this.system.pointer.resetClickCount()}async function oC(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 c={target:(i=t.target)!==null&&i!==void 0?i:aC(e,a),coords:(s=t.coords)!==null&&s!==void 0?s:a?.coords,caret:{node:(l=t.node)!==null&&l!==void 0?l:Ed(t)||a==null||(r=a.caret)===null||r===void 0?void 0:r.node,offset:(u=t.offset)!==null&&u!==void 0?u:Ed(t)||a==null||(n=a.caret)===null||n===void 0?void 0:n.offset}};"keyDef"in t?(e.system.pointer.isKeyPressed(t.keyDef)&&(_o(e,we.Trigger),await e.system.pointer.release(e,t.keyDef,c)),t.releasePrevious||(_o(e,we.Trigger),await e.system.pointer.press(e,t.keyDef,c),t.releaseSelf&&(_o(e,we.Trigger),await e.system.pointer.release(e,t.keyDef,c)))):(_o(e,we.Trigger),await e.system.pointer.move(e,o,c))}function Ed(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 aC(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 iC(e){if(!_t(e)||We(e))throw new Error("clear()` is only supported on editable elements.");if(et(e),e.ownerDocument.activeElement!==e)throw new Error("The element to be cleared could not be focused.");if(dp(e),!tE(e))throw new Error("The element content to be cleared could not be selected.");St(this,e,"","deleteContentBackward")}async function sC(e,t){return Pp.call(this,!0,e,t)}async function lC(e,t){return Pp.call(this,!1,e,t)}async function Pp(e,t,r){if(!e&&!t.multiple)throw Q().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 Q().getElementError(`Value "${String(s)}" not found in options`,t)}}).filter(s=>!We(s));if(We(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(H(t,"select"))if(t.multiple)for(const s of a){const l=this.config.pointerEventsCheck===0?!0:Ta(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")),et(t),l&&(this.dispatchUIEvent(s,"pointerup"),this.dispatchUIEvent(s,"mouseup")),i(s),l&&this.dispatchUIEvent(s,"click"),await At(this.config)}else if(a.length===1){const s=this.config.pointerEventsCheck===0?!0:Ta(this,t);s?await this.click(t):et(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 At(this.config)}else throw Q().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 Q().getElementError("Cannot select options on elements that are neither select nor listbox elements",t)}async function uC(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&&qo(e,o,a??o),await this.keyboard(t),n||await JE(this))}const Cd=Symbol("files and value properties are mocked");function ti(e,t,r){r?Object.defineProperty(e,t,r):delete e[t]}function cC(e,t){var r;(r=e[Cd])===null||r===void 0||r.restore();const n=Object.getOwnPropertyDescriptor(e,"type"),o=Object.getOwnPropertyDescriptor(e,"value"),a=Object.getOwnPropertyDescriptor(e,"files");function i(){ti(e,"type",n),ti(e,"value",o),ti(e,"files",a)}e[Cd]={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 dC(e,t){const r=H(e,"label")?e.control:e;if(!r||!H(r,"input",{type:"file"}))throw new TypeError(`The ${r===e?"given":"associated"} ${r?.tagName} element does not accept file uploads`);if(We(e))return;const n=(Array.isArray(t)?t:[t]).filter(a=>!this.config.applyAccept||fC(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))})||(cC(r,ps(qe(e),n)),this.dispatchUIEvent(r,"input"),this.dispatchUIEvent(r,"change"))};r.addEventListener("fileDialog",o),await this.click(e),r.removeEventListener("fileDialog",o)}function sa(e){return e.toLowerCase().replace(/(\.|\/)jpg\b/g,"$1jpeg")}function fC(e,t){if(!t)return!0;const r=["audio/*","image/*","video/*"];return sa(t).trim().split(/\s*,\s*/).some(n=>n.startsWith(".")?sa(e.name).endsWith(n):r.includes(n)?sa(e.type).startsWith(n.replace("*","")):sa(e.type)===n)}const xd={click:BE,dblClick:LE,tripleClick:FE,hover:UE,unhover:zE,tab:VE,keyboard:YE,copy:ZE,cut:eC,paste:tC,pointer:nC,clear:iC,deselectOptions:lC,selectOptions:sC,type:uC,upload:dC};function pC(e){return Q().asyncWrapper(e)}const Tp={applyAccept:!0,autoModify:!0,delay:0,document:globalThis.document,keyboardMap:qE,pointerMap:_E,pointerEventsCheck:fa.EachApiCall,skipAutoClose:!1,skipClick:!1,skipHover:!1,writeToClipboard:!1,advanceTimers:()=>Promise.resolve()},mC={...Tp,writeToClipboard:!0};function Sp(e={},t=mC,r){const n=yC(e,r,t);return{...t,...e,document:n}}function hC(e={}){const t=Sp(e);vp(t.document),bp(qe(t.document).HTMLElement);var r;const n=(r=t.document.defaultView)!==null&&r!==void 0?r:globalThis.window;return vh(n),Ss(t).api}function me({keyboardState:e,pointerState:t,...r}={},n){const o=Sp(r,Tp,n);vp(o.document),bp(qe(o.document).HTMLElement);var a;const i=(a=t??e)!==null&&a!==void 0?a:new Ep;return{api:Ss(o,i).api,system:i}}function bC(e){return Ss({...this.config,...e},this.system).api}function vC(e,t){function r(...n){return _o(e,we.Call),pC(()=>t.apply(e,n).then(async o=>(await At(e.config),o)))}return Object.defineProperty(r,"name",{get:()=>t.name}),r}function Ss(e,t=new Ep){const r={};return Object.assign(r,{config:e,dispatchEvent:hp.bind(r),dispatchUIEvent:hE.bind(r),system:t,levelRefs:{},...xd}),{instance:r,api:{...Object.fromEntries(Object.entries(xd).map(([n,o])=>[n,vC(r,o)])),setup:bC.bind(r)}}}function yC(e,t,r){var n,o;return(o=(n=e.document)!==null&&n!==void 0?n:t&&RE(t))!==null&&o!==void 0?o:r.document}function gC(e){return me().api.clear(e)}function RC(e,t={}){return me(t,e).api.click(e)}function wC(e={}){return me(e).api.copy()}function EC(e={}){return me(e).api.cut()}function CC(e,t={}){return me(t).api.dblClick(e)}function xC(e,t,r={}){return me(r).api.deselectOptions(e,t)}function qC(e,t={}){return me(t).api.hover(e)}async function _C(e,t={}){const{api:r,system:n}=me(t);return r.keyboard(e).then(()=>n)}async function PC(e,t={}){const{api:r,system:n}=me(t);return r.pointer(e).then(()=>n)}function TC(e,t){return me(t).api.paste(e)}function SC(e,t,r={}){return me(r).api.selectOptions(e,t)}function AC(e,t={}){return me(t).api.tripleClick(e)}function OC(e,t,r={}){return me(r,e).api.type(e,t,r)}function MC(e,t={}){const{api:r,system:n}=me(t);return n.pointer.setMousePosition({target:e}),r.unhover(e)}function IC(e,t,r={}){return me(r).api.upload(e,t)}function NC(e={}){return me().api.tab(e)}const kC=Object.freeze(Object.defineProperty({__proto__:null,clear:gC,click:RC,copy:wC,cut:EC,dblClick:CC,deselectOptions:xC,hover:qC,keyboard:_C,paste:TC,pointer:PC,selectOptions:SC,tab:NC,tripleClick:AC,type:OC,unhover:MC,upload:IC},Symbol.toStringTag,{value:"Module"})),DC={...kC,setup:hC};function jC(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 a=Reflect.get(r,n,o);return typeof a!="function"?a:n==="setup"?(...i)=>{const s=a(...i);return Ap(s,`${t}.instance`)}:async(...i)=>{const s=await a(...i);return st(jC(t,n,i)),s}}})}const $C=Ap(DC);fe.truncateThreshold=0;exports.TWDSidebar=uh;exports.expect=No;exports.initTests=dh;exports.twd=Pd;exports.userEvent=$C;