twd-js 1.6.3 → 1.6.5
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/bundled.es.js +301 -301
- package/dist/index.cjs.js +33 -33
- package/dist/index.d.ts +624 -0
- package/dist/index.es.js +1474 -1427
- package/dist/mock-sw.js +1 -1
- package/dist/runner-ci.d.ts +27 -0
- package/dist/runner.d.ts +62 -0
- package/dist/ui.d.ts +9 -0
- package/dist/vite-plugin.d.ts +66 -0
- package/package.json +2 -2
- /package/dist/{src/bundled.d.ts → bundled.d.ts} +0 -0
package/dist/index.cjs.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var
|
|
2
|
-
`);throw console.log(s),new Error(s)},So=()=>Ce,xo=()=>{navigator.serviceWorker.controller?.postMessage({type:"CLEAR_RULES",version:
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var Rl=Object.create,ur=Object.defineProperty,Tl=Object.getOwnPropertyDescriptor,Sl=Object.getOwnPropertyNames,xl=Object.getPrototypeOf,Ol=Object.prototype.hasOwnProperty,P=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),Ml=(e,t)=>{let r={};for(var n in e)ur(r,n,{get:e[n],enumerable:!0});return t||ur(r,Symbol.toStringTag,{value:"Module"}),r},Al=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(var a=Sl(t),o=0,i=a.length,s;o<i;o++)s=a[o],!Ol.call(e,s)&&s!==r&&ur(e,s,{get:(u=>t[u]).bind(null,s),enumerable:!(n=Tl(t,s))||n.enumerable});return e},In=(e,t,r)=>(r=e!=null?Rl(xl(e)):{},Al(t||!e||!e.__esModule?ur(r,"default",{value:e,enumerable:!0}):r,e));const At=require("./runner-Dr_mUWED.cjs"),tn=require("./componentMocks-CwMyWCu5.cjs");let re=require("react"),j=require("react/jsx-runtime");var Il=(e,t,r=2e3,n=50)=>new Promise((a,o)=>{const i=Date.now(),s=()=>{const u=t();if(u)return a(u);if(Date.now()-i>r)return o(new Error(`Timeout waiting for element ${e}`));setTimeout(s,n)};s()}),Nl=(e,t,r=2e3,n=50)=>new Promise((a,o)=>{const i=Date.now(),s=()=>{const u=t();if(u&&u.length>0)return a(Array.from(u));if(Date.now()-i>r)return o(new Error(`Timeout waiting for elements ${e}`));setTimeout(s,n)};s()}),cr=e=>new Promise(t=>setTimeout(t,e)),rn=(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 kl(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}var jl={"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]}"`}}},Vr=(e,t,...r)=>{const n=t.startsWith("not."),a=n?t.slice(4):t,o=(e.textContent||"").trim(),i=jl[a];if(!i)throw new Error(`Unknown assertion: ${a}`);const s=n?"negative":"positive";let u,l;switch(a){case"have.text":u=o===r[0],l=o;break;case"contain.text":u=o.includes(r[0]),l=o;break;case"be.empty":u=o.length===0,l=o;break;case"have.attr":l=e.getAttribute(r[0]),u=l===r[1];break;case"have.value":l=e.value,u=l===r[0];break;case"be.disabled":u=e.disabled===!0;break;case"be.enabled":u=e.disabled===!1;break;case"be.checked":u=e.checked===!0;break;case"be.selected":u=e.selected===!0;break;case"be.focused":u=document.activeElement===e;break;case"be.visible":u=kl(e);break;case"have.class":u=e.classList.contains(r[0]);break;default:throw new Error(`Unknown assertion: ${a}`)}return rn(u,n,i[s].pass(r),i[s].fail(r,l))},ne=e=>{const t=At.handlers.size?Array.from(At.handlers.values()).find(r=>r.status==="running"):null;t&&t.logs?.push(e)},Tr="1.6.5",Dl=()=>typeof window<"u"?(window.__TWD_MOCK_STATE__||(window.__TWD_MOCK_STATE__={rules:[],counts:{}}),window.__TWD_MOCK_STATE__):{rules:[],counts:{}},tt=Dl(),Ce=tt.rules,Ll=100,ka=!1,Bl=async e=>{if(ka){console.warn("[TWD] Request mocking already initialized");return}if("serviceWorker"in navigator){ka=!0;const t=e??"/mock-sw.js";await navigator.serviceWorker.register(`${t}?v=${Tr}`),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:a,hitCount:o}=r.data,i=Ce.find(s=>s.alias===n);i&&(i.executed=!0,i.request=a,i.hitCount=o),tt.counts[n]=o??(tt.counts[n]??0)+1}})}},$l=async(e,t)=>{const r={alias:e,...t,executed:!1},n=Ce.findIndex(a=>a.alias===e);if(n!==-1?Ce[n]=r:Ce.push(r),typeof window.__twdCollectMock=="function"){const a=window.__TWD_STATE__?.handlers,o=a&&[...a.values()].find(i=>i.status==="running");o&&window.__twdCollectMock({alias:e,url:String(t.url),method:t.method,status:t.status||200,response:t.response,urlRegex:t.urlRegex||!1,testId:o.id})}navigator.serviceWorker.controller?.postMessage({type:"ADD_RULE",rule:r,version:Tr}),await cr(Ll),await Promise.resolve()},Fl=async e=>await Promise.all(e.map(t=>To(t))),To=async(e,t=10,r=100)=>{const n=Ce.find(u=>u.alias===e);if(!n)throw new Error(`Rule ${e} not found`);for(let u=0;u<t;u++){const l=Ce.find(c=>c.alias===e&&c.executed);if(l)return Promise.resolve(l);u<t-1&&await new Promise(c=>setTimeout(c,r))}const a=t*r,o=Ce.filter(u=>u.executed).map(u=>`${u.alias} (${u.method} ${u.url})`).join(", "),i=Ce.filter(u=>!u.executed).map(u=>`${u.alias} (${u.method} ${u.url})`).join(", "),s=[`Rule "${e}" was not executed within ${a}ms.`,` Expected: ${n.method} ${n.url}`,` Executed rules: ${o||"none"}`,` Not executed rules: ${i||"none"}`].join(`
|
|
2
|
+
`);throw console.log(s),new Error(s)},So=()=>Ce,xo=()=>{navigator.serviceWorker.controller?.postMessage({type:"CLEAR_RULES",version:Tr}),Ce.length=0;for(const e in tt.counts)delete tt.counts[e]},Ul=e=>tt.counts[e]??0,zl=()=>({...tt.counts}),Vl=(e,t)=>{const r=e.startsWith("not.");switch(r?e.slice(4):e){case"eq":return rn(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 rn(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}`)}},Hl=()=>({location:window.location,should:async(e,t,r=5)=>{let n="",a;for(let o=0;o<r;o++)try{n=Vl(e,t),ne(n);break}catch(i){await new Promise(s=>setTimeout(s,100)),a=i}if(a)throw a;return n}}),Wl=100,Kl=async(e,t)=>{if(ne(`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 cr(10)}window.history.pushState({},"",e),window.dispatchEvent(new PopStateEvent("popstate")),await cr(Wl)},nn="twd-viewport-styles",an="twd-viewport-iframe",fe=null,ut=null,Gl=()=>{if(fe)return;const{style:e}=document.body;fe={maxWidth:e.maxWidth,maxHeight:e.maxHeight,minHeight:e.minHeight,overflow:e.overflow,margin:e.margin,boxSizing:e.boxSizing,boxShadow:e.boxShadow}},Yl=(e,t)=>{let r=document.getElementById(nn);r||(r=document.createElement("style"),r.id=nn,document.head.appendChild(r));const n=t?`${e} × ${t}`:`${e}`;r.textContent=`
|
|
3
3
|
#twd-viewport-badge {
|
|
4
4
|
position: fixed;
|
|
5
5
|
bottom: 8px;
|
|
@@ -15,42 +15,42 @@ Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var ql=Object
|
|
|
15
15
|
pointer-events: none;
|
|
16
16
|
white-space: nowrap;
|
|
17
17
|
}
|
|
18
|
-
`;let a=document.getElementById("twd-viewport-badge");a||(a=document.createElement("div"),a.id="twd-viewport-badge",document.body.appendChild(a)),a.textContent=n},Yl=()=>{document.getElementById(nn)?.remove(),document.getElementById("twd-viewport-badge")?.remove()},Xl=(e,t)=>{let r=document.getElementById(an);return r||(r=document.createElement("iframe"),r.id=an,r.style.cssText="position:fixed;top:-9999px;left:-9999px;visibility:hidden;pointer-events:none;border:none;",document.body.appendChild(r)),r.style.width=`${e}px`,r.style.height=`${t}px`,r},Jl=()=>{document.getElementById(an)?.remove()},Ql=(e,t,r)=>{e.originalInnerWidthDesc=Object.getOwnPropertyDescriptor(window,"innerWidth"),e.originalInnerHeightDesc=Object.getOwnPropertyDescriptor(window,"innerHeight"),e.originalMatchMedia=window.matchMedia??null,Object.defineProperty(window,"innerWidth",{get:()=>t,configurable:!0}),r!==void 0&&Object.defineProperty(window,"innerHeight",{get:()=>r,configurable:!0});const n=e.iframe;if(n?.contentWindow?.matchMedia){const a=n.contentWindow.matchMedia.bind(n.contentWindow);window.matchMedia=(o=>a(o))}},Zl=e=>{e.originalInnerWidthDesc?Object.defineProperty(window,"innerWidth",e.originalInnerWidthDesc):delete window.innerWidth,e.originalInnerHeightDesc?Object.defineProperty(window,"innerHeight",e.originalInnerHeightDesc):delete window.innerHeight,e.originalMatchMedia&&(window.matchMedia=e.originalMatchMedia)},eu=(e,t,r)=>{const n=document.styleSheets;for(let a=0;a<n.length;a++){const o=n[a];let i;try{i=o.cssRules}catch{continue}for(let s=i.length-1;s>=0;s--){const u=i[s];u instanceof CSSMediaRule&&tu(e,o,s,u,t,r)}}},tu=(e,t,r,n,a,o)=>{const i=n.conditionText??n.media.mediaText;if(!i)return;const s=o(i).matches,u=a(i).matches;if(s===u)return;const l=n.cssText;if(u&&!s){const c=[];for(let p=0;p<n.cssRules.length;p++)c.push(n.cssRules[p].cssText);t.deleteRule(r);let d=0;for(let p=0;p<c.length;p++)try{t.insertRule(c[p],r+p),d++}catch{}e.patches.push({sheet:t,originalIndex:r,originalCssText:l,injectedRulesCount:d})}else!u&&s&&(t.deleteRule(r),e.patches.push({sheet:t,originalIndex:r,originalCssText:l,injectedRulesCount:0}))},ru=e=>{for(let t=e.patches.length-1;t>=0;t--){const{sheet:r,originalIndex:n,originalCssText:a,injectedRulesCount:o}=e.patches[t];try{for(let i=0;i<o;i++)r.deleteRule(n);r.insertRule(a,n)}catch{}}},nu=(e,t)=>{lt&&Oo();const r=Xl(e,t??window.innerHeight),n={patches:[],originalInnerWidthDesc:void 0,originalInnerHeightDesc:void 0,originalMatchMedia:null,iframe:r};lt=n;const a=window.matchMedia?window.matchMedia.bind(window):null;Ql(n,e,t),a&&r.contentWindow?.matchMedia&&eu(n,r.contentWindow.matchMedia.bind(r.contentWindow),a),window.dispatchEvent(new Event("resize"))},Oo=()=>{lt&&(ru(lt),Zl(lt),Jl(),lt=null,window.dispatchEvent(new Event("resize")))},au=(e,t)=>{if(e===void 0){Mo();return}Kl();const{style:r}=document.body;r.maxWidth=`${e}px`,r.margin="0 auto",r.overflow="auto",r.boxSizing="border-box",r.boxShadow="0 0 0 1px rgba(37, 99, 235, 0.4)",t!==void 0?(r.minHeight=`${t}px`,r.maxHeight=`${t}px`):(r.minHeight=fe.minHeight,r.maxHeight=fe.maxHeight),nu(e,t),Gl(e,t),ce(`viewport(${e}${t!==void 0?`, ${t}`:""})`)},Mo=()=>{if(!fe)return;Oo();const{style:e}=document.body;e.maxWidth=fe.maxWidth,e.maxHeight=fe.maxHeight,e.minHeight=fe.minHeight,e.overflow=fe.overflow,e.margin=fe.margin,e.boxSizing=fe.boxSizing,e.boxShadow=fe.boxShadow,fe=null,Yl(),ce("resetViewport()")},ou={get:async e=>{const t=`body > div:not(#twd-sidebar-root) ${e}`;ce(`Searching get("${e}")`);const r=await Al(e,()=>document.querySelector(t)),n={el:r,should:(a,...o)=>(ce(zr(r,a,...o)),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 ce(`Searching getAll("${e}")`),(await Il(e,()=>document.querySelectorAll(t))).map(r=>{const n={el:r,should:(a,...o)=>(ce(zr(r,a,...o)),n)};return n})},visit:Wl,url:Vl,mockRequest:Bl,waitForRequest:To,waitForRequests:$l,initRequestMocking:Ll,clearRequestMockRules:xo,getRequestMockRules:So,getRequestCount:Fl,getRequestCounts:Ul,should:(e,t,...r)=>{ce(zr(e,t,...r))},wait:ur,mockComponent:tn.mockComponent,clearComponentMocks:tn.clearComponentMocks,viewport:au,resetViewport:Mo,notExists:async e=>{const t=`body > div:not(#twd-sidebar-root) ${e}`;if(ce(`Checking notExists("${e}")`),document.querySelector(t))throw new Error(`Element "${e}" exists in the DOM.`);ce(`Assertion passed: Element "${e}" does not exist in the DOM.`)}},Nn=Object.defineProperty,iu=(e,t,r)=>t in e?Nn(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,q=(e,t)=>Nn(e,"name",{value:t,configurable:!0}),kn=(e,t)=>{for(var r in t)Nn(e,r,{get:t[r],enumerable:!0})},Ao=(e,t,r)=>iu(e,typeof t!="symbol"?t+"":t,r),cr={};kn(cr,{addChainableMethod:()=>Gn,addLengthGuard:()=>Vt,addMethod:()=>Hn,addProperty:()=>Vn,checkError:()=>de,compareByInspect:()=>pr,eql:()=>si,events:()=>Or,expectTypes:()=>Fo,flag:()=>z,getActual:()=>Sr,getMessage:()=>Ln,getName:()=>Mr,getOperator:()=>Qn,getOwnEnumerableProperties:()=>Jn,getOwnEnumerablePropertySymbols:()=>Xn,getPathInfo:()=>Un,hasProperty:()=>xr,inspect:()=>K,isNaN:()=>mr,isNumeric:()=>ae,isProxyEnabled:()=>zt,isRegExp:()=>hr,objDisplay:()=>Qe,overwriteChainableMethod:()=>Yn,overwriteMethod:()=>Kn,overwriteProperty:()=>Wn,proxify:()=>wt,test:()=>jn,transferFlags:()=>ye,type:()=>J});var de={};kn(de,{compatibleConstructor:()=>ko,compatibleInstance:()=>No,compatibleMessage:()=>jo,getConstructorName:()=>Do,getMessage:()=>Lo});function Tr(e){return e instanceof Error||Object.prototype.toString.call(e)==="[object Error]"}q(Tr,"isErrorInstance");function Io(e){return Object.prototype.toString.call(e)==="[object RegExp]"}q(Io,"isRegExp");function No(e,t){return Tr(t)&&e===t}q(No,"compatibleInstance");function ko(e,t){return Tr(t)?e.constructor===t.constructor||e instanceof t.constructor:(typeof t=="object"||typeof t=="function")&&t.prototype?e.constructor===t||e instanceof t:!1}q(ko,"compatibleConstructor");function jo(e,t){const r=typeof e=="string"?e:e.message;return Io(t)?t.test(r):typeof t=="string"?r.indexOf(t)!==-1:!1}q(jo,"compatibleMessage");function Do(e){let t=e;return Tr(e)?t=e.constructor.name:typeof e=="function"&&(t=e.name,t===""&&(t=new e().name||t)),t}q(Do,"getConstructorName");function Lo(e){let t="";return e&&e.message?t=e.message:typeof e=="string"&&(t=e),t}q(Lo,"getMessage");function z(e,t,r){let n=e.__flags||(e.__flags=Object.create(null));if(arguments.length===3)n[t]=r;else return n[t]}q(z,"flag");function jn(e,t){let r=z(e,"negate"),n=t[0];return r?!n:n}q(jn,"test");function J(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)}q(J,"type");var su="captureStackTrace"in Error,Bo=class $o extends Error{constructor(t="Unspecified AssertionError",r,n){super(t),Ao(this,"message"),this.message=t,su&&Error.captureStackTrace(this,n||$o);for(const a in r)a in this||(this[a]=r[a])}get name(){return"AssertionError"}get ok(){return!1}toJSON(t){return{...this,name:this.name,message:this.message,ok:!1,stack:t!==!1?this.stack:void 0}}};q(Bo,"AssertionError");var X=Bo;function Fo(e,t){let r=z(e,"message"),n=z(e,"ssfi");r=r?r+": ":"",e=z(e,"object"),t=t.map(function(i){return i.toLowerCase()}),t.sort();let a=t.map(function(i,s){let u=~["a","e","i","o","u"].indexOf(i.charAt(0))?"an":"a";return(t.length>1&&s===t.length-1?"or ":"")+u+" "+i}).join(", "),o=J(e).toLowerCase();if(!t.some(function(i){return o===i}))throw new X(r+"object tested must be "+a+", but "+o+" given",void 0,n)}q(Fo,"expectTypes");function Sr(e,t){return t.length>4?t[4]:e._obj}q(Sr,"getActual");var ja={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"]},lu={special:"cyan",number:"yellow",bigint:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",symbol:"green",date:"magenta",regexp:"red"},ft="…";function Uo(e,t){const r=ja[lu[t]]||ja[t]||"";return r?`\x1B[${r[0]}m${String(e)}\x1B[${r[1]}m`:String(e)}q(Uo,"colorise");function zo({showHidden:e=!1,depth:t=2,colors:r=!1,customInspect:n=!0,showProxy:a=!1,maxArrayLength:o=1/0,breakLength:i=1/0,seen:s=[],truncate:u=1/0,stylize:l=String}={},c){const d={showHidden:!!e,depth:Number(t),colors:!!r,customInspect:!!n,showProxy:!!a,maxArrayLength:Number(o),breakLength:Number(i),truncate:Number(u),seen:s,inspect:c,stylize:l};return d.colors&&(d.stylize=Uo),d}q(zo,"normaliseOptions");function Vo(e){return e>="\uD800"&&e<="\uDBFF"}q(Vo,"isHighSurrogate");function Ie(e,t,r=ft){e=String(e);const n=r.length,a=e.length;if(n>t&&a>n)return r;if(a>t&&a>n){let o=t-n;return o>0&&Vo(e[o-1])&&(o=o-1),`${e.slice(0,o)}${r}`}return e}q(Ie,"truncate");function he(e,t,r,n=", "){r=r||t.inspect;const a=e.length;if(a===0)return"";const o=t.truncate;let i="",s="",u="";for(let l=0;l<a;l+=1){const c=l+1===e.length,d=l+2===e.length;u=`${ft}(${e.length-l})`;const p=e[l];t.truncate=o-i.length-(c?0:n.length);const f=s||r(p,t)+(c?"":n),g=i.length+f.length,v=g+u.length;if(c&&g>o&&i.length+u.length<=o||!c&&!d&&v>o||(s=c?"":r(e[l+1],t)+(d?"":n),!c&&d&&v>o&&g+s.length>o))break;if(i+=f,!c&&!d&&g+s.length>=o){u=`${ft}(${e.length-l-1})`;break}u=""}return`${i}${u}`}q(he,"inspectList");function Ho(e){return e.match(/^[a-zA-Z_][a-zA-Z_0-9]*$/)?e:JSON.stringify(e).replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'")}q(Ho,"quoteComplexKey");function pt([e,t],r){return r.truncate-=2,typeof e=="string"?e=Ho(e):typeof e!="number"&&(e=`[${r.inspect(e,r)}]`),r.truncate-=e.length,t=r.inspect(t,r),`${e}: ${t}`}q(pt,"inspectProperty");function Wo(e,t){const r=Object.keys(e).slice(e.length);if(!e.length&&!r.length)return"[]";t.truncate-=4;const n=he(e,t);t.truncate-=n.length;let a="";return r.length&&(a=he(r.map(o=>[o,e[o]]),t,pt)),`[ ${n}${a?`, ${a}`:""} ]`}q(Wo,"inspectArray");var uu=q(e=>typeof Buffer=="function"&&e instanceof Buffer?"Buffer":e[Symbol.toStringTag]?e[Symbol.toStringTag]:e.constructor.name,"getArrayName");function _e(e,t){const r=uu(e);t.truncate-=r.length+4;const n=Object.keys(e).slice(e.length);if(!e.length&&!n.length)return`${r}[]`;let a="";for(let i=0;i<e.length;i++){const s=`${t.stylize(Ie(e[i],t.truncate),"number")}${i===e.length-1?"":", "}`;if(t.truncate-=s.length,e[i]!==e.length&&t.truncate<=3){a+=`${ft}(${e.length-e[i]+1})`;break}a+=s}let o="";return n.length&&(o=he(n.map(i=>[i,e[i]]),t,pt)),`${r}[ ${a}${o?`, ${o}`:""} ]`}q(_e,"inspectTypedArray");function Ko(e,t){const r=e.toJSON();if(r===null)return"Invalid Date";const n=r.split("T"),a=n[0];return t.stylize(`${a}T${Ie(n[1],t.truncate-a.length-1)}`,"date")}q(Ko,"inspectDate");function on(e,t){const r=e[Symbol.toStringTag]||"Function",n=e.name;return n?t.stylize(`[${r} ${Ie(n,t.truncate-11)}]`,"special"):t.stylize(`[${r}]`,"special")}q(on,"inspectFunction");function Go([e,t],r){return r.truncate-=4,e=r.inspect(e,r),r.truncate-=e.length,t=r.inspect(t,r),`${e} => ${t}`}q(Go,"inspectMapEntry");function Yo(e){const t=[];return e.forEach((r,n)=>{t.push([n,r])}),t}q(Yo,"mapToEntries");function Xo(e,t){return e.size===0?"Map{}":(t.truncate-=7,`Map{ ${he(Yo(e),t,Go)} }`)}q(Xo,"inspectMap");var cu=Number.isNaN||(e=>e!==e);function sn(e,t){return cu(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(Ie(String(e),t.truncate),"number")}q(sn,"inspectNumber");function ln(e,t){let r=Ie(e.toString(),t.truncate-1);return r!==ft&&(r+="n"),t.stylize(r,"bigint")}q(ln,"inspectBigInt");function Jo(e,t){const r=e.toString().split("/")[2],n=t.truncate-(2+r.length),a=e.source;return t.stylize(`/${Ie(a,n)}/${r}`,"regexp")}q(Jo,"inspectRegExp");function Qo(e){const t=[];return e.forEach(r=>{t.push(r)}),t}q(Qo,"arrayFromSet");function Zo(e,t){return e.size===0?"Set{}":(t.truncate-=7,`Set{ ${he(Qo(e),t)} }`)}q(Zo,"inspectSet");var Da=new RegExp("['\\u0000-\\u001f\\u007f-\\u009f\\u00ad\\u0600-\\u0604\\u070f\\u17b4\\u17b5\\u200c-\\u200f\\u2028-\\u202f\\u2060-\\u206f\\ufeff\\ufff0-\\uffff]","g"),du={"\b":"\\b"," ":"\\t","\n":"\\n","\f":"\\f","\r":"\\r","'":"\\'","\\":"\\\\"},fu=16,pu=4;function ei(e){return du[e]||`\\u${`0000${e.charCodeAt(0).toString(fu)}`.slice(-pu)}`}q(ei,"escape");function un(e,t){return Da.test(e)&&(e=e.replace(Da,ei)),t.stylize(`'${Ie(e,t.truncate-2)}'`,"string")}q(un,"inspectString");function cn(e){return"description"in Symbol.prototype?e.description?`Symbol(${e.description})`:"Symbol()":e.toString()}q(cn,"inspectSymbol");var mu=q(()=>"Promise{…}","getPromiseValue");function At(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 a=he(r.map(s=>[s,e[s]]),t,pt),o=he(n.map(s=>[s,e[s]]),t,pt);t.seen.pop();let i="";return a&&o&&(i=", "),`{ ${a}${i}${o} }`}q(At,"inspectObject");var Vr=typeof Symbol<"u"&&Symbol.toStringTag?Symbol.toStringTag:!1;function ti(e,t){let r="";return Vr&&Vr in e&&(r=e[Vr]),r=r||e.constructor.name,(!r||r==="_class")&&(r="<Anonymous Class>"),t.truncate-=r.length,`${r}${At(e,t)}`}q(ti,"inspectClass");function ri(e,t){return e.length===0?"Arguments[]":(t.truncate-=13,`Arguments[ ${he(e,t)} ]`)}q(ri,"inspectArguments");var hu=["stack","line","column","name","message","fileName","lineNumber","columnNumber","number","description","cause"];function ni(e,t){const r=Object.getOwnPropertyNames(e).filter(i=>hu.indexOf(i)===-1),n=e.name;t.truncate-=n.length;let a="";if(typeof e.message=="string"?a=Ie(e.message,t.truncate):r.unshift("message"),a=a?`: ${a}`:"",t.truncate-=a.length+5,t.seen=t.seen||[],t.seen.includes(e))return"[Circular]";t.seen.push(e);const o=he(r.map(i=>[i,e[i]]),t,pt);return`${n}${a}${o?` { ${o} }`:""}`}q(ni,"inspectObject");function ai([e,t],r){return r.truncate-=3,t?`${r.stylize(String(e),"yellow")}=${r.stylize(`"${t}"`,"string")}`:`${r.stylize(String(e),"yellow")}`}q(ai,"inspectAttribute");function dr(e,t){return he(e,t,oi,`
|
|
19
|
-
`)}q(dr,"inspectNodeCollection");function oi(e,t){switch(e.nodeType){case 1:return Dn(e,t);case 3:return t.inspect(e.data,t);default:return t.inspect(e,t)}}q(oi,"inspectNode");function Dn(e,t){const r=e.getAttributeNames(),n=e.tagName.toLowerCase(),a=t.stylize(`<${n}`,"special"),o=t.stylize(">","special"),i=t.stylize(`</${n}>`,"special");t.truncate-=n.length*2+5;let s="";r.length>0&&(s+=" ",s+=he(r.map(c=>[c,e.getAttribute(c)]),t,ai," ")),t.truncate-=s.length;const u=t.truncate;let l=dr(e.children,t);return l&&l.length>u&&(l=`${ft}(${e.children.length})`),`${a}${s}${o}${l}${i}`}q(Dn,"inspectHTML");var Hr=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("chai/inspect"):"@@chai/inspect",Wr=Symbol.for("nodejs.util.inspect.custom"),La=new WeakMap,Ba={},$a={undefined:q((e,t)=>t.stylize("undefined","undefined"),"undefined"),null:q((e,t)=>t.stylize("null","null"),"null"),boolean:q((e,t)=>t.stylize(String(e),"boolean"),"boolean"),Boolean:q((e,t)=>t.stylize(String(e),"boolean"),"Boolean"),number:sn,Number:sn,bigint:ln,BigInt:ln,string:un,String:un,function:on,Function:on,symbol:cn,Symbol:cn,Array:Wo,Date:Ko,Map:Xo,Set:Zo,RegExp:Jo,Promise:mu,WeakSet:q((e,t)=>t.stylize("WeakSet{…}","special"),"WeakSet"),WeakMap:q((e,t)=>t.stylize("WeakMap{…}","special"),"WeakMap"),Arguments:ri,Int8Array:_e,Uint8Array:_e,Uint8ClampedArray:_e,Int16Array:_e,Uint16Array:_e,Int32Array:_e,Uint32Array:_e,Float32Array:_e,Float64Array:_e,Generator:q(()=>"","Generator"),DataView:q(()=>"","DataView"),ArrayBuffer:q(()=>"","ArrayBuffer"),Error:ni,HTMLCollection:dr,NodeList:dr},bu=q((e,t,r,n)=>Hr in e&&typeof e[Hr]=="function"?e[Hr](t):Wr in e&&typeof e[Wr]=="function"?e[Wr](t.depth,t,n):"inspect"in e&&typeof e.inspect=="function"?e.inspect(t.depth,t):"constructor"in e&&La.has(e.constructor)?La.get(e.constructor)(e,t):Ba[r]?Ba[r](e,t):"","inspectCustom"),vu=Object.prototype.toString;function It(e,t={}){const r=zo(t,It),{customInspect:n}=r;let a=e===null?"null":typeof e;if(a==="object"&&(a=vu.call(e).slice(8,-1)),a in $a)return $a[a](e,r);if(n&&e){const i=bu(e,r,a,It);if(i)return typeof i=="string"?i:It(i,r)}const o=e?Object.getPrototypeOf(e):!1;return o===Object.prototype||o===null?At(e,r):e&&typeof HTMLElement=="function"&&e instanceof HTMLElement?Dn(e,r):"constructor"in e?e.constructor!==Object?ti(e,r):At(e,r):e===Object(e)?At(e,r):r.stylize(String(e),a)}q(It,"inspect");var ie={includeStack:!1,showDiff:!0,truncateThreshold:40,useProxy:!0,proxyExcludedKeys:["then","catch","inspect","toJSON"],deepEqual:null};function K(e,t,r,n){return It(e,{colors:n,depth:typeof r>"u"?2:r,showHidden:t,truncate:ie.truncateThreshold?ie.truncateThreshold:1/0})}q(K,"inspect");function Qe(e){let t=K(e),r=Object.prototype.toString.call(e);if(ie.truncateThreshold&&t.length>=ie.truncateThreshold){if(r==="[object Function]")return!e.name||e.name===""?"[Function]":"[Function: "+e.name+"]";if(r==="[object Array]")return"[ Array("+e.length+") ]";if(r==="[object Object]"){let n=Object.keys(e);return"{ Object ("+(n.length>2?n.splice(0,2).join(", ")+", ...":n.join(", "))+") }"}else return t}else return t}q(Qe,"objDisplay");function Ln(e,t){let r=z(e,"negate"),n=z(e,"object"),a=t[3],o=Sr(e,t),i=r?t[2]:t[1],s=z(e,"message");return typeof i=="function"&&(i=i()),i=i||"",i=i.replace(/#\{this\}/g,function(){return Qe(n)}).replace(/#\{act\}/g,function(){return Qe(o)}).replace(/#\{exp\}/g,function(){return Qe(a)}),s?s+": "+i:i}q(Ln,"getMessage");function ye(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 a in n)(r||a!=="object"&&a!=="ssfi"&&a!=="lockSsfi"&&a!="message")&&(t.__flags[a]=n[a])}q(ye,"transferFlags");function dn(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)}q(dn,"type");function Bn(){this._key="chai/deep-eql__"+Math.random()+Date.now()}q(Bn,"FakeMap");Bn.prototype={get:q(function(t){return t[this._key]},"get"),set:q(function(t,r){Object.isExtensible(t)&&Object.defineProperty(t,this._key,{value:r,configurable:!0})},"set")};var ii=typeof WeakMap=="function"?WeakMap:Bn;function fn(e,t,r){if(!r||tt(e)||tt(t))return null;var n=r.get(e);if(n){var a=n.get(t);if(typeof a=="boolean")return a}return null}q(fn,"memoizeCompare");function Tt(e,t,r,n){if(!(!r||tt(e)||tt(t))){var a=r.get(e);a?a.set(t,n):(a=new ii,a.set(t,n),r.set(e,a))}}q(Tt,"memoizeSet");var si=Ut;function Ut(e,t,r){if(r&&r.comparator)return pn(e,t,r);var n=$n(e,t);return n!==null?n:pn(e,t,r)}q(Ut,"deepEqual");function $n(e,t){return e===t?e!==0||1/e===1/t:e!==e&&t!==t?!0:tt(e)||tt(t)?!1:null}q($n,"simpleEqual");function pn(e,t,r){r=r||{},r.memoize=r.memoize===!1?!1:r.memoize||new ii;var n=r&&r.comparator,a=fn(e,t,r.memoize);if(a!==null)return a;var o=fn(t,e,r.memoize);if(o!==null)return o;if(n){var i=n(e,t);if(i===!1||i===!0)return Tt(e,t,r.memoize,i),i;var s=$n(e,t);if(s!==null)return s}var u=dn(e);if(u!==dn(t))return Tt(e,t,r.memoize,!1),!1;Tt(e,t,r.memoize,!0);var l=li(e,t,u,r);return Tt(e,t,r.memoize,l),l}q(pn,"extensiveDeepEqual");function li(e,t,r,n){switch(r){case"String":case"Number":case"Boolean":case"Date":return Ut(e.valueOf(),t.valueOf());case"Promise":case"Symbol":case"function":case"WeakMap":case"WeakSet":return e===t;case"Error":return Fn(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 Ue(e,t,n);case"RegExp":return ui(e,t);case"Generator":return ci(e,t,n);case"DataView":return Ue(new Uint8Array(e.buffer),new Uint8Array(t.buffer),n);case"ArrayBuffer":return Ue(new Uint8Array(e),new Uint8Array(t),n);case"Set":return mn(e,t,n);case"Map":return mn(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 fi(e,t,n)}}q(li,"extensiveDeepEqualByType");function ui(e,t){return e.toString()===t.toString()}q(ui,"regexpEqual");function mn(e,t,r){try{if(e.size!==t.size)return!1;if(e.size===0)return!0}catch{return!1}var n=[],a=[];return e.forEach(q(function(i,s){n.push([i,s])},"gatherEntries")),t.forEach(q(function(i,s){a.push([i,s])},"gatherEntries")),Ue(n.sort(),a.sort(),r)}q(mn,"entriesEqual");function Ue(e,t,r){var n=e.length;if(n!==t.length)return!1;if(n===0)return!0;for(var a=-1;++a<n;)if(Ut(e[a],t[a],r)===!1)return!1;return!0}q(Ue,"iterableEqual");function ci(e,t,r){return Ue(fr(e),fr(t),r)}q(ci,"generatorEqual");function di(e){return typeof Symbol<"u"&&typeof e=="object"&&typeof Symbol.iterator<"u"&&typeof e[Symbol.iterator]=="function"}q(di,"hasIteratorFunction");function hn(e){if(di(e))try{return fr(e[Symbol.iterator]())}catch{return[]}return[]}q(hn,"getIteratorEntries");function fr(e){for(var t=e.next(),r=[t.value];t.done===!1;)t=e.next(),r.push(t.value);return r}q(fr,"getGeneratorEntries");function bn(e){var t=[];for(var r in e)t.push(r);return t}q(bn,"getEnumerableKeys");function vn(e){for(var t=[],r=Object.getOwnPropertySymbols(e),n=0;n<r.length;n+=1){var a=r[n];Object.getOwnPropertyDescriptor(e,a).enumerable&&t.push(a)}return t}q(vn,"getEnumerableSymbols");function Fn(e,t,r,n){var a=r.length;if(a===0)return!0;for(var o=0;o<a;o+=1)if(Ut(e[r[o]],t[r[o]],n)===!1)return!1;return!0}q(Fn,"keysEqual");function fi(e,t,r){var n=bn(e),a=bn(t),o=vn(e),i=vn(t);if(n=n.concat(o),a=a.concat(i),n.length&&n.length===a.length)return Ue(gn(n).sort(),gn(a).sort())===!1?!1:Fn(e,t,n,r);var s=hn(e),u=hn(t);return s.length&&s.length===u.length?(s.sort(),u.sort(),Ue(s,u,r)):n.length===0&&s.length===0&&a.length===0&&u.length===0}q(fi,"objectEqual");function tt(e){return e===null||typeof e!="object"}q(tt,"isPrimitive");function gn(e){return e.map(q(function(r){return typeof r=="symbol"?r.toString():r},"mapSymbol"))}q(gn,"mapSymbols");function xr(e,t){return typeof e>"u"||e===null?!1:t in Object(e)}q(xr,"hasProperty");function pi(e){return e.replace(/([^\\])\[/g,"$1.[").match(/(\\\.|[^.]+?)+/g).map(t=>{if(t==="constructor"||t==="__proto__"||t==="prototype")return{};const r=/^\[(\d+)\]$/.exec(t);let n=null;return r?n={i:parseFloat(r[1])}:n={p:t.replace(/\\([.[\]])/g,"$1")},n})}q(pi,"parsePath");function yn(e,t,r){let n=e,a=null;r=typeof r>"u"?t.length:r;for(let o=0;o<r;o++){const i=t[o];n&&(typeof i.p>"u"?n=n[i.i]:n=n[i.p],o===r-1&&(a=n))}return a}q(yn,"internalGetPathValue");function Un(e,t){const r=pi(t),n=r[r.length-1],a={parent:r.length>1?yn(e,r,r.length-1):e,name:n.p||n.i,value:yn(e,r)};return a.exists=xr(a.parent,a.name),a}q(Un,"getPathInfo");var mi=class hi{constructor(t,r,n,a){return Ao(this,"__flags",{}),z(this,"ssfi",n||hi),z(this,"lockSsfi",a),z(this,"object",t),z(this,"message",r),z(this,"eql",ie.deepEqual||si),wt(this)}static get includeStack(){return console.warn("Assertion.includeStack is deprecated, use chai.config.includeStack instead."),ie.includeStack}static set includeStack(t){console.warn("Assertion.includeStack is deprecated, use chai.config.includeStack instead."),ie.includeStack=t}static get showDiff(){return console.warn("Assertion.showDiff is deprecated, use chai.config.showDiff instead."),ie.showDiff}static set showDiff(t){console.warn("Assertion.showDiff is deprecated, use chai.config.showDiff instead."),ie.showDiff=t}static addProperty(t,r){Vn(this.prototype,t,r)}static addMethod(t,r){Hn(this.prototype,t,r)}static addChainableMethod(t,r,n){Gn(this.prototype,t,r,n)}static overwriteProperty(t,r){Wn(this.prototype,t,r)}static overwriteMethod(t,r){Kn(this.prototype,t,r)}static overwriteChainableMethod(t,r,n){Yn(this.prototype,t,r,n)}assert(t,r,n,a,o,i){const s=jn(this,arguments);if(i!==!1&&(i=!0),a===void 0&&o===void 0&&(i=!1),ie.showDiff!==!0&&(i=!1),!s){r=Ln(this,arguments);const u={actual:Sr(this,arguments),expected:a,showDiff:i},l=Qn(this,arguments);throw l&&(u.operator=l),new X(r,u,ie.includeStack?this.assert:z(this,"ssfi"))}}get _obj(){return z(this,"object")}set _obj(t){z(this,"object",t)}};q(mi,"Assertion");var b=mi,Or=new EventTarget,bi=class extends Event{constructor(t,r,n){super(t),this.name=String(r),this.fn=n}};q(bi,"PluginEvent");var zn=bi;function zt(){return ie.useProxy&&typeof Proxy<"u"&&typeof Reflect<"u"}q(zt,"isProxyEnabled");function Vn(e,t,r){r=r===void 0?function(){}:r,Object.defineProperty(e,t,{get:q(function n(){!zt()&&!z(this,"lockSsfi")&&z(this,"ssfi",n);let a=r.call(this);if(a!==void 0)return a;let o=new b;return ye(this,o),o},"propertyGetter"),configurable:!0}),Or.dispatchEvent(new zn("addProperty",t,r))}q(Vn,"addProperty");var gu=Object.getOwnPropertyDescriptor(function(){},"length");function Vt(e,t,r){return gu.configurable&&Object.defineProperty(e,"length",{get:q(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}q(Vt,"addLengthGuard");function vi(e){let t=Object.getOwnPropertyNames(e);function r(a){t.indexOf(a)===-1&&t.push(a)}q(r,"addProperty");let n=Object.getPrototypeOf(e);for(;n!==null;)Object.getOwnPropertyNames(n).forEach(r),n=Object.getPrototypeOf(n);return t}q(vi,"getProperties");var Fa=["__flags","__methods","_obj","assert"];function wt(e,t){return zt()?new Proxy(e,{get:q(function r(n,a){if(typeof a=="string"&&ie.proxyExcludedKeys.indexOf(a)===-1&&!Reflect.has(n,a)){if(t)throw Error("Invalid Chai property: "+t+"."+a+'. See docs for proper usage of "'+t+'".');let o=null,i=4;throw vi(n).forEach(function(s){if(!Object.prototype.hasOwnProperty(s)&&Fa.indexOf(s)===-1){let u=gi(a,s,i);u<i&&(o=s,i=u)}}),Error(o!==null?"Invalid Chai property: "+a+'. Did you mean "'+o+'"?':"Invalid Chai property: "+a)}return Fa.indexOf(a)===-1&&!z(n,"lockSsfi")&&z(n,"ssfi",r),Reflect.get(n,a)},"proxyGetter")}):e}q(wt,"proxify");function gi(e,t,r){if(Math.abs(e.length-t.length)>=r)return r;let n=[];for(let a=0;a<=e.length;a++)n[a]=Array(t.length+1).fill(0),n[a][0]=a;for(let a=0;a<t.length;a++)n[0][a]=a;for(let a=1;a<=e.length;a++){let o=e.charCodeAt(a-1);for(let i=1;i<=t.length;i++){if(Math.abs(a-i)>=r){n[a][i]=r;continue}n[a][i]=Math.min(n[a-1][i]+1,n[a][i-1]+1,n[a-1][i-1]+(o===t.charCodeAt(i-1)?0:1))}}return n[e.length][t.length]}q(gi,"stringDistanceCapped");function Hn(e,t,r){let n=q(function(){z(this,"lockSsfi")||z(this,"ssfi",n);let a=r.apply(this,arguments);if(a!==void 0)return a;let o=new b;return ye(this,o),o},"methodWrapper");Vt(n,t,!1),e[t]=wt(n,t),Or.dispatchEvent(new zn("addMethod",t,r))}q(Hn,"addMethod");function Wn(e,t,r){let n=Object.getOwnPropertyDescriptor(e,t),a=q(function(){},"_super");n&&typeof n.get=="function"&&(a=n.get),Object.defineProperty(e,t,{get:q(function o(){!zt()&&!z(this,"lockSsfi")&&z(this,"ssfi",o);let i=z(this,"lockSsfi");z(this,"lockSsfi",!0);let s=r(a).call(this);if(z(this,"lockSsfi",i),s!==void 0)return s;let u=new b;return ye(this,u),u},"overwritingPropertyGetter"),configurable:!0})}q(Wn,"overwriteProperty");function Kn(e,t,r){let n=e[t],a=q(function(){throw new Error(t+" is not a function")},"_super");n&&typeof n=="function"&&(a=n);let o=q(function(){z(this,"lockSsfi")||z(this,"ssfi",o);let i=z(this,"lockSsfi");z(this,"lockSsfi",!0);let s=r(a).apply(this,arguments);if(z(this,"lockSsfi",i),s!==void 0)return s;let u=new b;return ye(this,u),u},"overwritingMethodWrapper");Vt(o,t,!1),e[t]=wt(o,t)}q(Kn,"overwriteMethod");var yu=typeof Object.setPrototypeOf=="function",Ua=q(function(){},"testFn"),wu=Object.getOwnPropertyNames(Ua).filter(function(e){let t=Object.getOwnPropertyDescriptor(Ua,e);return typeof t!="object"?!0:!t.configurable}),Eu=Function.prototype.call,_u=Function.prototype.apply,yi=class extends zn{constructor(t,r,n,a){super(t,r,n),this.chainingBehavior=a}};q(yi,"PluginAddChainableMethodEvent");var Cu=yi;function Gn(e,t,r,n){typeof n!="function"&&(n=q(function(){},"chainingBehavior"));let a={method:r,chainingBehavior:n};e.__methods||(e.__methods={}),e.__methods[t]=a,Object.defineProperty(e,t,{get:q(function(){a.chainingBehavior.call(this);let i=q(function(){z(this,"lockSsfi")||z(this,"ssfi",i);let s=a.method.apply(this,arguments);if(s!==void 0)return s;let u=new b;return ye(this,u),u},"chainableMethodWrapper");if(Vt(i,t,!0),yu){let s=Object.create(this);s.call=Eu,s.apply=_u,Object.setPrototypeOf(i,s)}else Object.getOwnPropertyNames(e).forEach(function(s){wu.indexOf(s)===-1&&Object.defineProperty(i,s,Object.getOwnPropertyDescriptor(e,s))});return ye(this,i),wt(i)},"chainableMethodGetter"),configurable:!0}),Or.dispatchEvent(new Cu("addChainableMethod",t,r,n))}q(Gn,"addChainableMethod");function Yn(e,t,r,n){let a=e.__methods[t],o=a.chainingBehavior;a.chainingBehavior=q(function(){let u=n(o).call(this);if(u!==void 0)return u;let l=new b;return ye(this,l),l},"overwritingChainableMethodGetter");let i=a.method;a.method=q(function(){let u=r(i).apply(this,arguments);if(u!==void 0)return u;let l=new b;return ye(this,l),l},"overwritingChainableMethodWrapper")}q(Yn,"overwriteChainableMethod");function pr(e,t){return K(e)<K(t)?-1:1}q(pr,"compareByInspect");function Xn(e){return typeof Object.getOwnPropertySymbols!="function"?[]:Object.getOwnPropertySymbols(e).filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})}q(Xn,"getOwnEnumerablePropertySymbols");function Jn(e){return Object.keys(e).concat(Xn(e))}q(Jn,"getOwnEnumerableProperties");var mr=Number.isNaN;function wi(e){let t=J(e);return["Array","Object","Function"].indexOf(t)!==-1}q(wi,"isObjectType");function Qn(e,t){let r=z(e,"operator"),n=z(e,"negate"),a=t[3],o=n?t[2]:t[1];if(r)return r;if(typeof o=="function"&&(o=o()),o=o||"",!o||/\shave\s/.test(o))return;let i=wi(a);return/\snot\s/.test(o)?i?"notDeepStrictEqual":"notStrictEqual":i?"deepStrictEqual":"strictEqual"}q(Qn,"getOperator");function Mr(e){return e.name}q(Mr,"getName");function hr(e){return Object.prototype.toString.call(e)==="[object RegExp]"}q(hr,"isRegExp");function ae(e){return["Number","BigInt"].includes(J(e))}q(ae,"isNumeric");var{flag:C}=cr;["to","be","been","is","and","has","have","with","that","which","at","of","same","but","does","still","also"].forEach(function(e){b.addProperty(e)});b.addProperty("not",function(){C(this,"negate",!0)});b.addProperty("deep",function(){C(this,"deep",!0)});b.addProperty("nested",function(){C(this,"nested",!0)});b.addProperty("own",function(){C(this,"own",!0)});b.addProperty("ordered",function(){C(this,"ordered",!0)});b.addProperty("any",function(){C(this,"any",!0),C(this,"all",!1)});b.addProperty("all",function(){C(this,"all",!0),C(this,"any",!1)});var za={function:["function","asyncfunction","generatorfunction","asyncgeneratorfunction"],asyncfunction:["asyncfunction","asyncgeneratorfunction"],generatorfunction:["generatorfunction","asyncgeneratorfunction"],asyncgeneratorfunction:["asyncgeneratorfunction"]};function Zn(e,t){t&&C(this,"message",t),e=e.toLowerCase();let r=C(this,"object"),n=~["a","e","i","o","u"].indexOf(e.charAt(0))?"an ":"a ";const a=J(r).toLowerCase();za.function.includes(e)?this.assert(za[e].includes(a),"expected #{this} to be "+n+e,"expected #{this} not to be "+n+e):this.assert(e===a,"expected #{this} to be "+n+e,"expected #{this} not to be "+n+e)}q(Zn,"an");b.addChainableMethod("an",Zn);b.addChainableMethod("a",Zn);function Ei(e,t){return mr(e)&&mr(t)||e===t}q(Ei,"SameValueZero");function Ht(){C(this,"contains",!0)}q(Ht,"includeChainingBehavior");function Wt(e,t){t&&C(this,"message",t);let r=C(this,"object"),n=J(r).toLowerCase(),a=C(this,"message"),o=C(this,"negate"),i=C(this,"ssfi"),s=C(this,"deep"),u=s?"deep ":"",l=s?C(this,"eql"):Ei;a=a?a+": ":"";let c=!1;switch(n){case"string":c=r.indexOf(e)!==-1;break;case"weakset":if(s)throw new X(a+"unable to use .deep.include with WeakSet",void 0,i);c=r.has(e);break;case"map":r.forEach(function(d){c=c||l(d,e)});break;case"set":s?r.forEach(function(d){c=c||l(d,e)}):c=r.has(e);break;case"array":s?c=r.some(function(d){return l(d,e)}):c=r.indexOf(e)!==-1;break;default:{if(e!==Object(e))throw new X(a+"the given combination of arguments ("+n+" and "+J(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 "+J(e).toLowerCase(),void 0,i);let d=Object.keys(e),p=null,f=0;if(d.forEach(function(g){let v=new b(r);if(ye(this,v,!0),C(v,"lockSsfi",!0),!o||d.length===1){v.property(g,e[g]);return}try{v.property(g,e[g])}catch(S){if(!de.compatibleConstructor(S,X))throw S;p===null&&(p=S),f++}},this),o&&d.length>1&&f===d.length)throw p;return}}this.assert(c,"expected #{this} to "+u+"include "+K(e),"expected #{this} to not "+u+"include "+K(e))}q(Wt,"include");b.addChainableMethod("include",Wt,Ht);b.addChainableMethod("contain",Wt,Ht);b.addChainableMethod("contains",Wt,Ht);b.addChainableMethod("includes",Wt,Ht);b.addProperty("ok",function(){this.assert(C(this,"object"),"expected #{this} to be truthy","expected #{this} to be falsy")});b.addProperty("true",function(){this.assert(C(this,"object")===!0,"expected #{this} to be true","expected #{this} to be false",!C(this,"negate"))});b.addProperty("numeric",function(){const e=C(this,"object");this.assert(["Number","BigInt"].includes(J(e)),"expected #{this} to be numeric","expected #{this} to not be numeric",!C(this,"negate"))});b.addProperty("callable",function(){const e=C(this,"object"),t=C(this,"ssfi"),r=C(this,"message"),n=r?`${r}: `:"",a=C(this,"negate"),o=a?`${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(J(e));if(i&&a||!i&&!a)throw new X(o,void 0,t)});b.addProperty("false",function(){this.assert(C(this,"object")===!1,"expected #{this} to be false","expected #{this} to be true",!!C(this,"negate"))});b.addProperty("null",function(){this.assert(C(this,"object")===null,"expected #{this} to be null","expected #{this} not to be null")});b.addProperty("undefined",function(){this.assert(C(this,"object")===void 0,"expected #{this} to be undefined","expected #{this} not to be undefined")});b.addProperty("NaN",function(){this.assert(mr(C(this,"object")),"expected #{this} to be NaN","expected #{this} not to be NaN")});function ea(){let e=C(this,"object");this.assert(e!=null,"expected #{this} to exist","expected #{this} to not exist")}q(ea,"assertExist");b.addProperty("exist",ea);b.addProperty("exists",ea);b.addProperty("empty",function(){let e=C(this,"object"),t=C(this,"ssfi"),r=C(this,"message"),n;switch(r=r?r+": ":"",J(e).toLowerCase()){case"array":case"string":n=e.length;break;case"map":case"set":n=e.size;break;case"weakmap":case"weakset":throw new X(r+".empty was passed a weak collection",void 0,t);case"function":throw new X((r+".empty was passed a function "+Mr(e)).trim(),void 0,t);default:if(e!==Object(e))throw new X(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 ta(){let e=J(C(this,"object"));this.assert(e==="Arguments","expected #{this} to be arguments but got "+e,"expected #{this} to not be arguments")}q(ta,"checkArguments");b.addProperty("arguments",ta);b.addProperty("Arguments",ta);function Ar(e,t){t&&C(this,"message",t);let r=C(this,"object");if(C(this,"deep")){let n=C(this,"lockSsfi");C(this,"lockSsfi",!0),this.eql(e),C(this,"lockSsfi",n)}else this.assert(e===r,"expected #{this} to equal #{exp}","expected #{this} to not equal #{exp}",e,this._obj,!0)}q(Ar,"assertEqual");b.addMethod("equal",Ar);b.addMethod("equals",Ar);b.addMethod("eq",Ar);function ra(e,t){t&&C(this,"message",t);let r=C(this,"eql");this.assert(r(e,C(this,"object")),"expected #{this} to deeply equal #{exp}","expected #{this} to not deeply equal #{exp}",e,this._obj,!0)}q(ra,"assertEql");b.addMethod("eql",ra);b.addMethod("eqls",ra);function Ir(e,t){t&&C(this,"message",t);let r=C(this,"object"),n=C(this,"doLength"),a=C(this,"message"),o=a?a+": ":"",i=C(this,"ssfi"),s=J(r).toLowerCase(),u=J(e).toLowerCase();if(n&&s!=="map"&&s!=="set"&&new b(r,a,i,!0).to.have.property("length"),!n&&s==="date"&&u!=="date")throw new X(o+"the argument to above must be a date",void 0,i);if(!ae(e)&&(n||ae(r)))throw new X(o+"the argument to above must be a number",void 0,i);if(!n&&s!=="date"&&!ae(r)){let l=s==="string"?"'"+r+"'":r;throw new X(o+"expected "+l+" to be a number or a date",void 0,i)}if(n){let l="length",c;s==="map"||s==="set"?(l="size",c=r.size):c=r.length,this.assert(c>e,"expected #{this} to have a "+l+" above #{exp} but got #{act}","expected #{this} to not have a "+l+" above #{exp}",e,c)}else this.assert(r>e,"expected #{this} to be above #{exp}","expected #{this} to be at most #{exp}",e)}q(Ir,"assertAbove");b.addMethod("above",Ir);b.addMethod("gt",Ir);b.addMethod("greaterThan",Ir);function Nr(e,t){t&&C(this,"message",t);let r=C(this,"object"),n=C(this,"doLength"),a=C(this,"message"),o=a?a+": ":"",i=C(this,"ssfi"),s=J(r).toLowerCase(),u=J(e).toLowerCase(),l,c=!0;if(n&&s!=="map"&&s!=="set"&&new b(r,a,i,!0).to.have.property("length"),!n&&s==="date"&&u!=="date")l=o+"the argument to least must be a date";else if(!ae(e)&&(n||ae(r)))l=o+"the argument to least must be a number";else if(!n&&s!=="date"&&!ae(r)){let d=s==="string"?"'"+r+"'":r;l=o+"expected "+d+" to be a number or a date"}else c=!1;if(c)throw new X(l,void 0,i);if(n){let d="length",p;s==="map"||s==="set"?(d="size",p=r.size):p=r.length,this.assert(p>=e,"expected #{this} to have a "+d+" at least #{exp} but got #{act}","expected #{this} to have a "+d+" below #{exp}",e,p)}else this.assert(r>=e,"expected #{this} to be at least #{exp}","expected #{this} to be below #{exp}",e)}q(Nr,"assertLeast");b.addMethod("least",Nr);b.addMethod("gte",Nr);b.addMethod("greaterThanOrEqual",Nr);function kr(e,t){t&&C(this,"message",t);let r=C(this,"object"),n=C(this,"doLength"),a=C(this,"message"),o=a?a+": ":"",i=C(this,"ssfi"),s=J(r).toLowerCase(),u=J(e).toLowerCase(),l,c=!0;if(n&&s!=="map"&&s!=="set"&&new b(r,a,i,!0).to.have.property("length"),!n&&s==="date"&&u!=="date")l=o+"the argument to below must be a date";else if(!ae(e)&&(n||ae(r)))l=o+"the argument to below must be a number";else if(!n&&s!=="date"&&!ae(r)){let d=s==="string"?"'"+r+"'":r;l=o+"expected "+d+" to be a number or a date"}else c=!1;if(c)throw new X(l,void 0,i);if(n){let d="length",p;s==="map"||s==="set"?(d="size",p=r.size):p=r.length,this.assert(p<e,"expected #{this} to have a "+d+" below #{exp} but got #{act}","expected #{this} to not have a "+d+" below #{exp}",e,p)}else this.assert(r<e,"expected #{this} to be below #{exp}","expected #{this} to be at least #{exp}",e)}q(kr,"assertBelow");b.addMethod("below",kr);b.addMethod("lt",kr);b.addMethod("lessThan",kr);function jr(e,t){t&&C(this,"message",t);let r=C(this,"object"),n=C(this,"doLength"),a=C(this,"message"),o=a?a+": ":"",i=C(this,"ssfi"),s=J(r).toLowerCase(),u=J(e).toLowerCase(),l,c=!0;if(n&&s!=="map"&&s!=="set"&&new b(r,a,i,!0).to.have.property("length"),!n&&s==="date"&&u!=="date")l=o+"the argument to most must be a date";else if(!ae(e)&&(n||ae(r)))l=o+"the argument to most must be a number";else if(!n&&s!=="date"&&!ae(r)){let d=s==="string"?"'"+r+"'":r;l=o+"expected "+d+" to be a number or a date"}else c=!1;if(c)throw new X(l,void 0,i);if(n){let d="length",p;s==="map"||s==="set"?(d="size",p=r.size):p=r.length,this.assert(p<=e,"expected #{this} to have a "+d+" at most #{exp} but got #{act}","expected #{this} to have a "+d+" above #{exp}",e,p)}else this.assert(r<=e,"expected #{this} to be at most #{exp}","expected #{this} to be above #{exp}",e)}q(jr,"assertMost");b.addMethod("most",jr);b.addMethod("lte",jr);b.addMethod("lessThanOrEqual",jr);b.addMethod("within",function(e,t,r){r&&C(this,"message",r);let n=C(this,"object"),a=C(this,"doLength"),o=C(this,"message"),i=o?o+": ":"",s=C(this,"ssfi"),u=J(n).toLowerCase(),l=J(e).toLowerCase(),c=J(t).toLowerCase(),d,p=!0,f=l==="date"&&c==="date"?e.toISOString()+".."+t.toISOString():e+".."+t;if(a&&u!=="map"&&u!=="set"&&new b(n,o,s,!0).to.have.property("length"),!a&&u==="date"&&(l!=="date"||c!=="date"))d=i+"the arguments to within must be dates";else if((!ae(e)||!ae(t))&&(a||ae(n)))d=i+"the arguments to within must be numbers";else if(!a&&u!=="date"&&!ae(n)){let g=u==="string"?"'"+n+"'":n;d=i+"expected "+g+" to be a number or a date"}else p=!1;if(p)throw new X(d,void 0,s);if(a){let g="length",v;u==="map"||u==="set"?(g="size",v=n.size):v=n.length,this.assert(v>=e&&v<=t,"expected #{this} to have a "+g+" within "+f,"expected #{this} to not have a "+g+" within "+f)}else this.assert(n>=e&&n<=t,"expected #{this} to be within "+f,"expected #{this} to not be within "+f)});function na(e,t){t&&C(this,"message",t);let r=C(this,"object"),n=C(this,"ssfi"),a=C(this,"message"),o;try{o=r instanceof e}catch(s){throw s instanceof TypeError?(a=a?a+": ":"",new X(a+"The instanceof assertion needs a constructor but "+J(e)+" was given.",void 0,n)):s}let i=Mr(e);i==null&&(i="an unnamed constructor"),this.assert(o,"expected #{this} to be an instance of "+i,"expected #{this} to not be an instance of "+i)}q(na,"assertInstanceOf");b.addMethod("instanceof",na);b.addMethod("instanceOf",na);function aa(e,t,r){r&&C(this,"message",r);let n=C(this,"nested"),a=C(this,"own"),o=C(this,"message"),i=C(this,"object"),s=C(this,"ssfi"),u=typeof e;if(o=o?o+": ":"",n){if(u!=="string")throw new X(o+"the argument to property must be a string when using nested syntax",void 0,s)}else if(u!=="string"&&u!=="number"&&u!=="symbol")throw new X(o+"the argument to property must be a string, number, or symbol",void 0,s);if(n&&a)throw new X(o+'The "nested" and "own" flags cannot be combined.',void 0,s);if(i==null)throw new X(o+"Target cannot be null or undefined.",void 0,s);let l=C(this,"deep"),c=C(this,"negate"),d=n?Un(i,e):null,p=n?d.value:i[e],f=l?C(this,"eql"):(S,y)=>S===y,g="";l&&(g+="deep "),a&&(g+="own "),n&&(g+="nested "),g+="property ";let v;a?v=Object.prototype.hasOwnProperty.call(i,e):n?v=d.exists:v=xr(i,e),(!c||arguments.length===1)&&this.assert(v,"expected #{this} to have "+g+K(e),"expected #{this} to not have "+g+K(e)),arguments.length>1&&this.assert(v&&f(t,p),"expected #{this} to have "+g+K(e)+" of #{exp}, but got #{act}","expected #{this} to not have "+g+K(e)+" of #{act}",t,p),C(this,"object",p)}q(aa,"assertProperty");b.addMethod("property",aa);function oa(e,t,r){C(this,"own",!0),aa.apply(this,arguments)}q(oa,"assertOwnProperty");b.addMethod("ownProperty",oa);b.addMethod("haveOwnProperty",oa);function ia(e,t,r){typeof t=="string"&&(r=t,t=null),r&&C(this,"message",r);let n=C(this,"object"),a=Object.getOwnPropertyDescriptor(Object(n),e),o=C(this,"eql");a&&t?this.assert(o(t,a),"expected the own property descriptor for "+K(e)+" on #{this} to match "+K(t)+", got "+K(a),"expected the own property descriptor for "+K(e)+" on #{this} to not match "+K(t),t,a,!0):this.assert(a,"expected #{this} to have an own property descriptor for "+K(e),"expected #{this} to not have an own property descriptor for "+K(e)),C(this,"object",a)}q(ia,"assertOwnPropertyDescriptor");b.addMethod("ownPropertyDescriptor",ia);b.addMethod("haveOwnPropertyDescriptor",ia);function sa(){C(this,"doLength",!0)}q(sa,"assertLengthChain");function la(e,t){t&&C(this,"message",t);let r=C(this,"object"),n=J(r).toLowerCase(),a=C(this,"message"),o=C(this,"ssfi"),i="length",s;switch(n){case"map":case"set":i="size",s=r.size;break;default:new b(r,a,o,!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)}q(la,"assertLength");b.addChainableMethod("length",la,sa);b.addChainableMethod("lengthOf",la,sa);function ua(e,t){t&&C(this,"message",t);let r=C(this,"object");this.assert(e.exec(r),"expected #{this} to match "+e,"expected #{this} not to match "+e)}q(ua,"assertMatch");b.addMethod("match",ua);b.addMethod("matches",ua);b.addMethod("string",function(e,t){t&&C(this,"message",t);let r=C(this,"object");new b(r,C(this,"message"),C(this,"ssfi"),!0).is.a("string"),this.assert(~r.indexOf(e),"expected #{this} to contain "+K(e),"expected #{this} to not contain "+K(e))});function ca(e){let t=C(this,"object"),r=J(t),n=J(e),a=C(this,"ssfi"),o=C(this,"deep"),i,s="",u,l=!0,c=C(this,"message");c=c?c+": ":"";let d=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=o?"deeply ":"",u=[],t.forEach(function(y,w){u.push(w)}),n!=="Array"&&(e=Array.prototype.slice.call(arguments));else{switch(u=Jn(t),n){case"Array":if(arguments.length>1)throw new X(d,void 0,a);break;case"Object":if(arguments.length>1)throw new X(d,void 0,a);e=Object.keys(e);break;default:e=Array.prototype.slice.call(arguments)}e=e.map(function(y){return typeof y=="symbol"?y:String(y)})}if(!e.length)throw new X(c+"keys required",void 0,a);let p=e.length,f=C(this,"any"),g=C(this,"all"),v=e,S=o?C(this,"eql"):(y,w)=>y===w;if(!f&&!g&&(g=!0),f&&(l=v.some(function(y){return u.some(function(w){return S(y,w)})})),g&&(l=v.every(function(y){return u.some(function(w){return S(y,w)})}),C(this,"contains")||(l=l&&e.length==u.length)),p>1){e=e.map(function(w){return K(w)});let y=e.pop();g&&(i=e.join(", ")+", and "+y),f&&(i=e.join(", ")+", or "+y)}else i=K(e[0]);i=(p>1?"keys ":"key ")+i,i=(C(this,"contains")?"contain ":"have ")+i,this.assert(l,"expected #{this} to "+s+i,"expected #{this} to not "+s+i,v.slice(0).sort(pr),u.sort(pr),!0)}q(ca,"assertKeys");b.addMethod("keys",ca);b.addMethod("key",ca);function Dr(e,t,r){r&&C(this,"message",r);let n=C(this,"object"),a=C(this,"ssfi"),o=C(this,"message"),i=C(this,"negate")||!1;new b(n,o,a,!0).is.a("function"),(hr(e)||typeof e=="string")&&(t=e,e=null);let s,u=!1;try{n()}catch(f){u=!0,s=f}let l=e===void 0&&t===void 0,c=!!(e&&t),d=!1,p=!1;if(l||!l&&!i){let f="an error";e instanceof Error?f="#{exp}":e&&(f=de.getConstructorName(e));let g=s;if(s instanceof Error)g=s.toString();else if(typeof s=="string")g=s;else if(s&&(typeof s=="object"||typeof s=="function"))try{g=de.getConstructorName(s)}catch{}this.assert(u,"expected #{this} to throw "+f,"expected #{this} to not throw an error but #{act} was thrown",e&&e.toString(),g)}if(e&&s&&(e instanceof Error&&de.compatibleInstance(s,e)===i&&(c&&i?d=!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())),de.compatibleConstructor(s,e)===i&&(c&&i?d=!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&&de.getConstructorName(e),s instanceof Error?s.toString():s&&de.getConstructorName(s)))),s&&t!==void 0&&t!==null){let f="including";hr(t)&&(f="matching"),de.compatibleMessage(s,t)===i&&(c&&i?p=!0:this.assert(i,"expected #{this} to throw error "+f+" #{exp} but got #{act}","expected #{this} to throw error not "+f+" #{exp}",t,de.getMessage(s)))}d&&p&&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&&de.getConstructorName(e),s instanceof Error?s.toString():s&&de.getConstructorName(s)),C(this,"object",s)}q(Dr,"assertThrows");b.addMethod("throw",Dr);b.addMethod("throws",Dr);b.addMethod("Throw",Dr);function da(e,t){t&&C(this,"message",t);let r=C(this,"object"),n=C(this,"itself"),a=typeof r=="function"&&!n?r.prototype[e]:r[e];this.assert(typeof a=="function","expected #{this} to respond to "+K(e),"expected #{this} to not respond to "+K(e))}q(da,"respondTo");b.addMethod("respondTo",da);b.addMethod("respondsTo",da);b.addProperty("itself",function(){C(this,"itself",!0)});function fa(e,t){t&&C(this,"message",t);let r=e(C(this,"object"));this.assert(r,"expected #{this} to satisfy "+Qe(e),"expected #{this} to not satisfy"+Qe(e),!C(this,"negate"),r)}q(fa,"satisfy");b.addMethod("satisfy",fa);b.addMethod("satisfies",fa);function pa(e,t,r){r&&C(this,"message",r);let n=C(this,"object"),a=C(this,"message"),o=C(this,"ssfi");new b(n,a,o,!0).is.numeric;let i="A `delta` value is required for `closeTo`";if(t==null)throw new X(a?`${a}: ${i}`:i,void 0,o);if(new b(t,a,o,!0).is.numeric,i="A `expected` value is required for `closeTo`",e==null)throw new X(a?`${a}: ${i}`:i,void 0,o);new b(e,a,o,!0).is.numeric;const s=q(l=>l<0?-l:l,"abs"),u=q(l=>parseFloat(parseFloat(l).toPrecision(12)),"strip");this.assert(u(s(n-e))<=t,"expected #{this} to be close to "+e+" +/- "+t,"expected #{this} not to be close to "+e+" +/- "+t)}q(pa,"closeTo");b.addMethod("closeTo",pa);b.addMethod("approximately",pa);function _i(e,t,r,n,a){let o=Array.from(t),i=Array.from(e);if(!n){if(i.length!==o.length)return!1;o=o.slice()}return i.every(function(s,u){if(a)return r?r(s,o[u]):s===o[u];if(!r){let l=o.indexOf(s);return l===-1?!1:(n||o.splice(l,1),!0)}return o.some(function(l,c){return r(s,l)?(n||o.splice(c,1),!0):!1})})}q(_i,"isSubsetOf");b.addMethod("members",function(e,t){t&&C(this,"message",t);let r=C(this,"object"),n=C(this,"message"),a=C(this,"ssfi");new b(r,n,a,!0).to.be.iterable,new b(e,n,a,!0).to.be.iterable;let o=C(this,"contains"),i=C(this,"ordered"),s,u,l;o?(s=i?"an ordered superset":"a superset",u="expected #{this} to be "+s+" of #{exp}",l="expected #{this} to not be "+s+" of #{exp}"):(s=i?"ordered members":"members",u="expected #{this} to have the same "+s+" as #{exp}",l="expected #{this} to not have the same "+s+" as #{exp}");let c=C(this,"deep")?C(this,"eql"):void 0;this.assert(_i(e,r,c,o,i),u,l,e,r,!0)});b.addProperty("iterable",function(e){e&&C(this,"message",e);let t=C(this,"object");this.assert(t!=null&&t[Symbol.iterator],"expected #{this} to be an iterable","expected #{this} to not be an iterable",t)});function Ci(e,t){t&&C(this,"message",t);let r=C(this,"object"),n=C(this,"message"),a=C(this,"ssfi"),o=C(this,"contains"),i=C(this,"deep"),s=C(this,"eql");new b(e,n,a,!0).to.be.an("array"),o?this.assert(e.some(function(u){return r.indexOf(u)>-1}),"expected #{this} to contain one of #{exp}","expected #{this} to not contain one of #{exp}",e,r):i?this.assert(e.some(function(u){return s(r,u)}),"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)}q(Ci,"oneOf");b.addMethod("oneOf",Ci);function ma(e,t,r){r&&C(this,"message",r);let n=C(this,"object"),a=C(this,"message"),o=C(this,"ssfi");new b(n,a,o,!0).is.a("function");let i;t?(new b(e,a,o,!0).to.have.property(t),i=e[t]):(new b(e,a,o,!0).is.a("function"),i=e()),n();let s=t==null?e():e[t],u=t==null?i:"."+t;C(this,"deltaMsgObj",u),C(this,"initialDeltaValue",i),C(this,"finalDeltaValue",s),C(this,"deltaBehavior","change"),C(this,"realDelta",s!==i),this.assert(i!==s,"expected "+u+" to change","expected "+u+" to not change")}q(ma,"assertChanges");b.addMethod("change",ma);b.addMethod("changes",ma);function ha(e,t,r){r&&C(this,"message",r);let n=C(this,"object"),a=C(this,"message"),o=C(this,"ssfi");new b(n,a,o,!0).is.a("function");let i;t?(new b(e,a,o,!0).to.have.property(t),i=e[t]):(new b(e,a,o,!0).is.a("function"),i=e()),new b(i,a,o,!0).is.a("number"),n();let s=t==null?e():e[t],u=t==null?i:"."+t;C(this,"deltaMsgObj",u),C(this,"initialDeltaValue",i),C(this,"finalDeltaValue",s),C(this,"deltaBehavior","increase"),C(this,"realDelta",s-i),this.assert(s-i>0,"expected "+u+" to increase","expected "+u+" to not increase")}q(ha,"assertIncreases");b.addMethod("increase",ha);b.addMethod("increases",ha);function ba(e,t,r){r&&C(this,"message",r);let n=C(this,"object"),a=C(this,"message"),o=C(this,"ssfi");new b(n,a,o,!0).is.a("function");let i;t?(new b(e,a,o,!0).to.have.property(t),i=e[t]):(new b(e,a,o,!0).is.a("function"),i=e()),new b(i,a,o,!0).is.a("number"),n();let s=t==null?e():e[t],u=t==null?i:"."+t;C(this,"deltaMsgObj",u),C(this,"initialDeltaValue",i),C(this,"finalDeltaValue",s),C(this,"deltaBehavior","decrease"),C(this,"realDelta",i-s),this.assert(s-i<0,"expected "+u+" to decrease","expected "+u+" to not decrease")}q(ba,"assertDecreases");b.addMethod("decrease",ba);b.addMethod("decreases",ba);function Pi(e,t){t&&C(this,"message",t);let r=C(this,"deltaMsgObj"),n=C(this,"initialDeltaValue"),a=C(this,"finalDeltaValue"),o=C(this,"deltaBehavior"),i=C(this,"realDelta"),s;o==="change"?s=Math.abs(a-n)===Math.abs(e):s=i===Math.abs(e),this.assert(s,"expected "+r+" to "+o+" by "+e,"expected "+r+" to not "+o+" by "+e)}q(Pi,"assertDelta");b.addMethod("by",Pi);b.addProperty("extensible",function(){let e=C(this,"object"),t=e===Object(e)&&Object.isExtensible(e);this.assert(t,"expected #{this} to be extensible","expected #{this} to not be extensible")});b.addProperty("sealed",function(){let e=C(this,"object"),t=e===Object(e)?Object.isSealed(e):!0;this.assert(t,"expected #{this} to be sealed","expected #{this} to not be sealed")});b.addProperty("frozen",function(){let e=C(this,"object"),t=e===Object(e)?Object.isFrozen(e):!0;this.assert(t,"expected #{this} to be frozen","expected #{this} to not be frozen")});b.addProperty("finite",function(e){let t=C(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 br(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 br(r,n)})}):!1:e instanceof Date?t instanceof Date?e.getTime()===t.getTime():!1:Object.keys(e).every(function(r){let n=e[r],a=t[r];return typeof n=="object"&&n!==null&&a!==null?br(n,a):typeof n=="function"?n(a):a===n}):!1}q(br,"compareSubset");b.addMethod("containSubset",function(e){const t=z(this,"object"),r=ie.showDiff;this.assert(br(e,t),"expected #{act} to contain subset #{exp}","expected #{act} to not contain subset #{exp}",e,t,r)});function kt(e,t){return new b(e,t)}q(kt,"expect");kt.fail=function(e,t,r,n){throw arguments.length<2&&(r=e,e=void 0),r=r||"expect.fail()",new X(r,{actual:e,expected:t,operator:n},kt.fail)};var qi={};kn(qi,{Should:()=>qu,should:()=>Pu});function va(){function e(){return this instanceof String||this instanceof Number||this instanceof Boolean||typeof Symbol=="function"&&this instanceof Symbol||typeof BigInt=="function"&&this instanceof BigInt?new b(this.valueOf(),null,e):new b(this,null,e)}q(e,"shouldGetter");function t(n){Object.defineProperty(this,"should",{value:n,enumerable:!0,configurable:!0,writable:!0})}q(t,"shouldSetter"),Object.defineProperty(Object.prototype,"should",{set:t,get:e,configurable:!0});let r={};return r.fail=function(n,a,o,i){throw arguments.length<2&&(o=n,n=void 0),o=o||"should.fail()",new X(o,{actual:n,expected:a,operator:i},r.fail)},r.equal=function(n,a,o){new b(n,o).to.equal(a)},r.Throw=function(n,a,o,i){new b(n,i).to.Throw(a,o)},r.exist=function(n,a){new b(n,a).to.exist},r.not={},r.not.equal=function(n,a,o){new b(n,o).to.not.equal(a)},r.not.Throw=function(n,a,o,i){new b(n,i).to.not.Throw(a,o)},r.not.exist=function(n,a){new b(n,a).to.not.exist},r.throw=r.Throw,r.not.throw=r.not.Throw,r}q(va,"loadShould");var Pu=va,qu=va;function h(e,t){new b(null,null,h,!0).assert(e,t,"[ negation message unavailable ]")}q(h,"assert");h.fail=function(e,t,r,n){throw arguments.length<2&&(r=e,e=void 0),r=r||"assert.fail()",new X(r,{actual:e,expected:t,operator:n},h.fail)};h.isOk=function(e,t){new b(e,t,h.isOk,!0).is.ok};h.isNotOk=function(e,t){new b(e,t,h.isNotOk,!0).is.not.ok};h.equal=function(e,t,r){let n=new b(e,r,h.equal,!0);n.assert(t==z(n,"object"),"expected #{this} to equal #{exp}","expected #{this} to not equal #{act}",t,e,!0)};h.notEqual=function(e,t,r){let n=new b(e,r,h.notEqual,!0);n.assert(t!=z(n,"object"),"expected #{this} to not equal #{exp}","expected #{this} to equal #{act}",t,e,!0)};h.strictEqual=function(e,t,r){new b(e,r,h.strictEqual,!0).to.equal(t)};h.notStrictEqual=function(e,t,r){new b(e,r,h.notStrictEqual,!0).to.not.equal(t)};h.deepEqual=h.deepStrictEqual=function(e,t,r){new b(e,r,h.deepEqual,!0).to.eql(t)};h.notDeepEqual=function(e,t,r){new b(e,r,h.notDeepEqual,!0).to.not.eql(t)};h.isAbove=function(e,t,r){new b(e,r,h.isAbove,!0).to.be.above(t)};h.isAtLeast=function(e,t,r){new b(e,r,h.isAtLeast,!0).to.be.least(t)};h.isBelow=function(e,t,r){new b(e,r,h.isBelow,!0).to.be.below(t)};h.isAtMost=function(e,t,r){new b(e,r,h.isAtMost,!0).to.be.most(t)};h.isTrue=function(e,t){new b(e,t,h.isTrue,!0).is.true};h.isNotTrue=function(e,t){new b(e,t,h.isNotTrue,!0).to.not.equal(!0)};h.isFalse=function(e,t){new b(e,t,h.isFalse,!0).is.false};h.isNotFalse=function(e,t){new b(e,t,h.isNotFalse,!0).to.not.equal(!1)};h.isNull=function(e,t){new b(e,t,h.isNull,!0).to.equal(null)};h.isNotNull=function(e,t){new b(e,t,h.isNotNull,!0).to.not.equal(null)};h.isNaN=function(e,t){new b(e,t,h.isNaN,!0).to.be.NaN};h.isNotNaN=function(e,t){new b(e,t,h.isNotNaN,!0).not.to.be.NaN};h.exists=function(e,t){new b(e,t,h.exists,!0).to.exist};h.notExists=function(e,t){new b(e,t,h.notExists,!0).to.not.exist};h.isUndefined=function(e,t){new b(e,t,h.isUndefined,!0).to.equal(void 0)};h.isDefined=function(e,t){new b(e,t,h.isDefined,!0).to.not.equal(void 0)};h.isCallable=function(e,t){new b(e,t,h.isCallable,!0).is.callable};h.isNotCallable=function(e,t){new b(e,t,h.isNotCallable,!0).is.not.callable};h.isObject=function(e,t){new b(e,t,h.isObject,!0).to.be.a("object")};h.isNotObject=function(e,t){new b(e,t,h.isNotObject,!0).to.not.be.a("object")};h.isArray=function(e,t){new b(e,t,h.isArray,!0).to.be.an("array")};h.isNotArray=function(e,t){new b(e,t,h.isNotArray,!0).to.not.be.an("array")};h.isString=function(e,t){new b(e,t,h.isString,!0).to.be.a("string")};h.isNotString=function(e,t){new b(e,t,h.isNotString,!0).to.not.be.a("string")};h.isNumber=function(e,t){new b(e,t,h.isNumber,!0).to.be.a("number")};h.isNotNumber=function(e,t){new b(e,t,h.isNotNumber,!0).to.not.be.a("number")};h.isNumeric=function(e,t){new b(e,t,h.isNumeric,!0).is.numeric};h.isNotNumeric=function(e,t){new b(e,t,h.isNotNumeric,!0).is.not.numeric};h.isFinite=function(e,t){new b(e,t,h.isFinite,!0).to.be.finite};h.isBoolean=function(e,t){new b(e,t,h.isBoolean,!0).to.be.a("boolean")};h.isNotBoolean=function(e,t){new b(e,t,h.isNotBoolean,!0).to.not.be.a("boolean")};h.typeOf=function(e,t,r){new b(e,r,h.typeOf,!0).to.be.a(t)};h.notTypeOf=function(e,t,r){new b(e,r,h.notTypeOf,!0).to.not.be.a(t)};h.instanceOf=function(e,t,r){new b(e,r,h.instanceOf,!0).to.be.instanceOf(t)};h.notInstanceOf=function(e,t,r){new b(e,r,h.notInstanceOf,!0).to.not.be.instanceOf(t)};h.include=function(e,t,r){new b(e,r,h.include,!0).include(t)};h.notInclude=function(e,t,r){new b(e,r,h.notInclude,!0).not.include(t)};h.deepInclude=function(e,t,r){new b(e,r,h.deepInclude,!0).deep.include(t)};h.notDeepInclude=function(e,t,r){new b(e,r,h.notDeepInclude,!0).not.deep.include(t)};h.nestedInclude=function(e,t,r){new b(e,r,h.nestedInclude,!0).nested.include(t)};h.notNestedInclude=function(e,t,r){new b(e,r,h.notNestedInclude,!0).not.nested.include(t)};h.deepNestedInclude=function(e,t,r){new b(e,r,h.deepNestedInclude,!0).deep.nested.include(t)};h.notDeepNestedInclude=function(e,t,r){new b(e,r,h.notDeepNestedInclude,!0).not.deep.nested.include(t)};h.ownInclude=function(e,t,r){new b(e,r,h.ownInclude,!0).own.include(t)};h.notOwnInclude=function(e,t,r){new b(e,r,h.notOwnInclude,!0).not.own.include(t)};h.deepOwnInclude=function(e,t,r){new b(e,r,h.deepOwnInclude,!0).deep.own.include(t)};h.notDeepOwnInclude=function(e,t,r){new b(e,r,h.notDeepOwnInclude,!0).not.deep.own.include(t)};h.match=function(e,t,r){new b(e,r,h.match,!0).to.match(t)};h.notMatch=function(e,t,r){new b(e,r,h.notMatch,!0).to.not.match(t)};h.property=function(e,t,r){new b(e,r,h.property,!0).to.have.property(t)};h.notProperty=function(e,t,r){new b(e,r,h.notProperty,!0).to.not.have.property(t)};h.propertyVal=function(e,t,r,n){new b(e,n,h.propertyVal,!0).to.have.property(t,r)};h.notPropertyVal=function(e,t,r,n){new b(e,n,h.notPropertyVal,!0).to.not.have.property(t,r)};h.deepPropertyVal=function(e,t,r,n){new b(e,n,h.deepPropertyVal,!0).to.have.deep.property(t,r)};h.notDeepPropertyVal=function(e,t,r,n){new b(e,n,h.notDeepPropertyVal,!0).to.not.have.deep.property(t,r)};h.ownProperty=function(e,t,r){new b(e,r,h.ownProperty,!0).to.have.own.property(t)};h.notOwnProperty=function(e,t,r){new b(e,r,h.notOwnProperty,!0).to.not.have.own.property(t)};h.ownPropertyVal=function(e,t,r,n){new b(e,n,h.ownPropertyVal,!0).to.have.own.property(t,r)};h.notOwnPropertyVal=function(e,t,r,n){new b(e,n,h.notOwnPropertyVal,!0).to.not.have.own.property(t,r)};h.deepOwnPropertyVal=function(e,t,r,n){new b(e,n,h.deepOwnPropertyVal,!0).to.have.deep.own.property(t,r)};h.notDeepOwnPropertyVal=function(e,t,r,n){new b(e,n,h.notDeepOwnPropertyVal,!0).to.not.have.deep.own.property(t,r)};h.nestedProperty=function(e,t,r){new b(e,r,h.nestedProperty,!0).to.have.nested.property(t)};h.notNestedProperty=function(e,t,r){new b(e,r,h.notNestedProperty,!0).to.not.have.nested.property(t)};h.nestedPropertyVal=function(e,t,r,n){new b(e,n,h.nestedPropertyVal,!0).to.have.nested.property(t,r)};h.notNestedPropertyVal=function(e,t,r,n){new b(e,n,h.notNestedPropertyVal,!0).to.not.have.nested.property(t,r)};h.deepNestedPropertyVal=function(e,t,r,n){new b(e,n,h.deepNestedPropertyVal,!0).to.have.deep.nested.property(t,r)};h.notDeepNestedPropertyVal=function(e,t,r,n){new b(e,n,h.notDeepNestedPropertyVal,!0).to.not.have.deep.nested.property(t,r)};h.lengthOf=function(e,t,r){new b(e,r,h.lengthOf,!0).to.have.lengthOf(t)};h.hasAnyKeys=function(e,t,r){new b(e,r,h.hasAnyKeys,!0).to.have.any.keys(t)};h.hasAllKeys=function(e,t,r){new b(e,r,h.hasAllKeys,!0).to.have.all.keys(t)};h.containsAllKeys=function(e,t,r){new b(e,r,h.containsAllKeys,!0).to.contain.all.keys(t)};h.doesNotHaveAnyKeys=function(e,t,r){new b(e,r,h.doesNotHaveAnyKeys,!0).to.not.have.any.keys(t)};h.doesNotHaveAllKeys=function(e,t,r){new b(e,r,h.doesNotHaveAllKeys,!0).to.not.have.all.keys(t)};h.hasAnyDeepKeys=function(e,t,r){new b(e,r,h.hasAnyDeepKeys,!0).to.have.any.deep.keys(t)};h.hasAllDeepKeys=function(e,t,r){new b(e,r,h.hasAllDeepKeys,!0).to.have.all.deep.keys(t)};h.containsAllDeepKeys=function(e,t,r){new b(e,r,h.containsAllDeepKeys,!0).to.contain.all.deep.keys(t)};h.doesNotHaveAnyDeepKeys=function(e,t,r){new b(e,r,h.doesNotHaveAnyDeepKeys,!0).to.not.have.any.deep.keys(t)};h.doesNotHaveAllDeepKeys=function(e,t,r){new b(e,r,h.doesNotHaveAllDeepKeys,!0).to.not.have.all.deep.keys(t)};h.throws=function(e,t,r,n){return(typeof t=="string"||t instanceof RegExp)&&(r=t,t=null),z(new b(e,n,h.throws,!0).to.throw(t,r),"object")};h.doesNotThrow=function(e,t,r,n){(typeof t=="string"||t instanceof RegExp)&&(r=t,t=null),new b(e,n,h.doesNotThrow,!0).to.not.throw(t,r)};h.operator=function(e,t,r,n){let a;switch(t){case"==":a=e==r;break;case"===":a=e===r;break;case">":a=e>r;break;case">=":a=e>=r;break;case"<":a=e<r;break;case"<=":a=e<=r;break;case"!=":a=e!=r;break;case"!==":a=e!==r;break;default:throw n=n&&n+": ",new X(n+'Invalid operator "'+t+'"',void 0,h.operator)}let o=new b(a,n,h.operator,!0);o.assert(z(o,"object")===!0,"expected "+K(e)+" to be "+t+" "+K(r),"expected "+K(e)+" to not be "+t+" "+K(r))};h.closeTo=function(e,t,r,n){new b(e,n,h.closeTo,!0).to.be.closeTo(t,r)};h.approximately=function(e,t,r,n){new b(e,n,h.approximately,!0).to.be.approximately(t,r)};h.sameMembers=function(e,t,r){new b(e,r,h.sameMembers,!0).to.have.same.members(t)};h.notSameMembers=function(e,t,r){new b(e,r,h.notSameMembers,!0).to.not.have.same.members(t)};h.sameDeepMembers=function(e,t,r){new b(e,r,h.sameDeepMembers,!0).to.have.same.deep.members(t)};h.notSameDeepMembers=function(e,t,r){new b(e,r,h.notSameDeepMembers,!0).to.not.have.same.deep.members(t)};h.sameOrderedMembers=function(e,t,r){new b(e,r,h.sameOrderedMembers,!0).to.have.same.ordered.members(t)};h.notSameOrderedMembers=function(e,t,r){new b(e,r,h.notSameOrderedMembers,!0).to.not.have.same.ordered.members(t)};h.sameDeepOrderedMembers=function(e,t,r){new b(e,r,h.sameDeepOrderedMembers,!0).to.have.same.deep.ordered.members(t)};h.notSameDeepOrderedMembers=function(e,t,r){new b(e,r,h.notSameDeepOrderedMembers,!0).to.not.have.same.deep.ordered.members(t)};h.includeMembers=function(e,t,r){new b(e,r,h.includeMembers,!0).to.include.members(t)};h.notIncludeMembers=function(e,t,r){new b(e,r,h.notIncludeMembers,!0).to.not.include.members(t)};h.includeDeepMembers=function(e,t,r){new b(e,r,h.includeDeepMembers,!0).to.include.deep.members(t)};h.notIncludeDeepMembers=function(e,t,r){new b(e,r,h.notIncludeDeepMembers,!0).to.not.include.deep.members(t)};h.includeOrderedMembers=function(e,t,r){new b(e,r,h.includeOrderedMembers,!0).to.include.ordered.members(t)};h.notIncludeOrderedMembers=function(e,t,r){new b(e,r,h.notIncludeOrderedMembers,!0).to.not.include.ordered.members(t)};h.includeDeepOrderedMembers=function(e,t,r){new b(e,r,h.includeDeepOrderedMembers,!0).to.include.deep.ordered.members(t)};h.notIncludeDeepOrderedMembers=function(e,t,r){new b(e,r,h.notIncludeDeepOrderedMembers,!0).to.not.include.deep.ordered.members(t)};h.oneOf=function(e,t,r){new b(e,r,h.oneOf,!0).to.be.oneOf(t)};h.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 X(t,void 0,h.isIterable)};h.changes=function(e,t,r,n){arguments.length===3&&typeof t=="function"&&(n=r,r=null),new b(e,n,h.changes,!0).to.change(t,r)};h.changesBy=function(e,t,r,n,a){if(arguments.length===4&&typeof t=="function"){let o=n;n=r,a=o}else arguments.length===3&&(n=r,r=null);new b(e,a,h.changesBy,!0).to.change(t,r).by(n)};h.doesNotChange=function(e,t,r,n){return arguments.length===3&&typeof t=="function"&&(n=r,r=null),new b(e,n,h.doesNotChange,!0).to.not.change(t,r)};h.changesButNotBy=function(e,t,r,n,a){if(arguments.length===4&&typeof t=="function"){let o=n;n=r,a=o}else arguments.length===3&&(n=r,r=null);new b(e,a,h.changesButNotBy,!0).to.change(t,r).but.not.by(n)};h.increases=function(e,t,r,n){return arguments.length===3&&typeof t=="function"&&(n=r,r=null),new b(e,n,h.increases,!0).to.increase(t,r)};h.increasesBy=function(e,t,r,n,a){if(arguments.length===4&&typeof t=="function"){let o=n;n=r,a=o}else arguments.length===3&&(n=r,r=null);new b(e,a,h.increasesBy,!0).to.increase(t,r).by(n)};h.doesNotIncrease=function(e,t,r,n){return arguments.length===3&&typeof t=="function"&&(n=r,r=null),new b(e,n,h.doesNotIncrease,!0).to.not.increase(t,r)};h.increasesButNotBy=function(e,t,r,n,a){if(arguments.length===4&&typeof t=="function"){let o=n;n=r,a=o}else arguments.length===3&&(n=r,r=null);new b(e,a,h.increasesButNotBy,!0).to.increase(t,r).but.not.by(n)};h.decreases=function(e,t,r,n){return arguments.length===3&&typeof t=="function"&&(n=r,r=null),new b(e,n,h.decreases,!0).to.decrease(t,r)};h.decreasesBy=function(e,t,r,n,a){if(arguments.length===4&&typeof t=="function"){let o=n;n=r,a=o}else arguments.length===3&&(n=r,r=null);new b(e,a,h.decreasesBy,!0).to.decrease(t,r).by(n)};h.doesNotDecrease=function(e,t,r,n){return arguments.length===3&&typeof t=="function"&&(n=r,r=null),new b(e,n,h.doesNotDecrease,!0).to.not.decrease(t,r)};h.doesNotDecreaseBy=function(e,t,r,n,a){if(arguments.length===4&&typeof t=="function"){let o=n;n=r,a=o}else arguments.length===3&&(n=r,r=null);return new b(e,a,h.doesNotDecreaseBy,!0).to.not.decrease(t,r).by(n)};h.decreasesButNotBy=function(e,t,r,n,a){if(arguments.length===4&&typeof t=="function"){let o=n;n=r,a=o}else arguments.length===3&&(n=r,r=null);new b(e,a,h.decreasesButNotBy,!0).to.decrease(t,r).but.not.by(n)};h.ifError=function(e){if(e)throw e};h.isExtensible=function(e,t){new b(e,t,h.isExtensible,!0).to.be.extensible};h.isNotExtensible=function(e,t){new b(e,t,h.isNotExtensible,!0).to.not.be.extensible};h.isSealed=function(e,t){new b(e,t,h.isSealed,!0).to.be.sealed};h.isNotSealed=function(e,t){new b(e,t,h.isNotSealed,!0).to.not.be.sealed};h.isFrozen=function(e,t){new b(e,t,h.isFrozen,!0).to.be.frozen};h.isNotFrozen=function(e,t){new b(e,t,h.isNotFrozen,!0).to.not.be.frozen};h.isEmpty=function(e,t){new b(e,t,h.isEmpty,!0).to.be.empty};h.isNotEmpty=function(e,t){new b(e,t,h.isNotEmpty,!0).to.not.be.empty};h.containsSubset=function(e,t,r){new b(e,r).to.containSubset(t)};h.doesNotContainSubset=function(e,t,r){new b(e,r).to.not.containSubset(t)};for(const[e,t]of[["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"]])h[t]=h[e];var Va=[];function Ri(e){const t={use:Ri,AssertionError:X,util:cr,config:ie,expect:kt,assert:h,Assertion:b,...qi};return~Va.indexOf(e)||(e(t,cr),Va.push(e)),t}q(Ri,"use");var Ru={animation:"spin 1s linear infinite"},Tu=()=>(0,j.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"var(--twd-icon-color-secondary)",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:"lucide lucide-loader-circle-icon lucide-loader-circle",style:Ru,"data-testid":"loader-icon",children:(0,j.jsx)("path",{d:"M21 12a9 9 0 1 1-6.219-8.56"})}),Jt=document.createElement("style");Jt&&!document.getElementById("loader-spin-keyframes")&&(Jt.id="loader-spin-keyframes",Jt.innerHTML=`
|
|
18
|
+
`;let a=document.getElementById("twd-viewport-badge");a||(a=document.createElement("div"),a.id="twd-viewport-badge",document.body.appendChild(a)),a.textContent=n},Xl=()=>{document.getElementById(nn)?.remove(),document.getElementById("twd-viewport-badge")?.remove()},Jl=(e,t)=>{let r=document.getElementById(an);return r||(r=document.createElement("iframe"),r.id=an,r.style.cssText="position:fixed;top:-9999px;left:-9999px;visibility:hidden;pointer-events:none;border:none;",document.body.appendChild(r)),r.style.width=`${e}px`,r.style.height=`${t}px`,r},Ql=()=>{document.getElementById(an)?.remove()},Zl=(e,t,r)=>{e.originalInnerWidthDesc=Object.getOwnPropertyDescriptor(window,"innerWidth"),e.originalInnerHeightDesc=Object.getOwnPropertyDescriptor(window,"innerHeight"),e.originalMatchMedia=window.matchMedia??null,Object.defineProperty(window,"innerWidth",{get:()=>t,configurable:!0}),r!==void 0&&Object.defineProperty(window,"innerHeight",{get:()=>r,configurable:!0});const n=e.iframe;if(n?.contentWindow?.matchMedia){const a=n.contentWindow.matchMedia.bind(n.contentWindow);window.matchMedia=(o=>a(o))}},eu=e=>{e.originalInnerWidthDesc?Object.defineProperty(window,"innerWidth",e.originalInnerWidthDesc):delete window.innerWidth,e.originalInnerHeightDesc?Object.defineProperty(window,"innerHeight",e.originalInnerHeightDesc):delete window.innerHeight,e.originalMatchMedia&&(window.matchMedia=e.originalMatchMedia)},tu=(e,t,r)=>{const n=document.styleSheets;for(let a=0;a<n.length;a++){const o=n[a];let i;try{i=o.cssRules}catch{continue}for(let s=i.length-1;s>=0;s--){const u=i[s];u instanceof CSSMediaRule&&ru(e,o,s,u,t,r)}}},ru=(e,t,r,n,a,o)=>{const i=n.conditionText??n.media.mediaText;if(!i)return;const s=o(i).matches,u=a(i).matches;if(s===u)return;const l=n.cssText;if(u&&!s){const c=[];for(let p=0;p<n.cssRules.length;p++)c.push(n.cssRules[p].cssText);t.deleteRule(r);let d=0;for(let p=0;p<c.length;p++)try{t.insertRule(c[p],r+p),d++}catch{}e.patches.push({sheet:t,originalIndex:r,originalCssText:l,injectedRulesCount:d})}else!u&&s&&(t.deleteRule(r),e.patches.push({sheet:t,originalIndex:r,originalCssText:l,injectedRulesCount:0}))},nu=e=>{for(let t=e.patches.length-1;t>=0;t--){const{sheet:r,originalIndex:n,originalCssText:a,injectedRulesCount:o}=e.patches[t];try{for(let i=0;i<o;i++)r.deleteRule(n);r.insertRule(a,n)}catch{}}},au=(e,t)=>{ut&&Oo();const r=Jl(e,t??window.innerHeight),n={patches:[],originalInnerWidthDesc:void 0,originalInnerHeightDesc:void 0,originalMatchMedia:null,iframe:r};ut=n;const a=window.matchMedia?window.matchMedia.bind(window):null;Zl(n,e,t),a&&r.contentWindow?.matchMedia&&tu(n,r.contentWindow.matchMedia.bind(r.contentWindow),a),window.dispatchEvent(new Event("resize"))},Oo=()=>{ut&&(nu(ut),eu(ut),Ql(),ut=null,window.dispatchEvent(new Event("resize")))},ou=(e,t)=>{if(e===void 0){Mo();return}Gl();const{style:r}=document.body;r.maxWidth=`${e}px`,r.margin="0 auto",r.overflow="auto",r.boxSizing="border-box",r.boxShadow="0 0 0 1px rgba(37, 99, 235, 0.4)",t!==void 0?(r.minHeight=`${t}px`,r.maxHeight=`${t}px`):(r.minHeight=fe.minHeight,r.maxHeight=fe.maxHeight),au(e,t),Yl(e,t),ne(`viewport(${e}${t!==void 0?`, ${t}`:""})`)},Mo=()=>{if(!fe)return;Oo();const{style:e}=document.body;e.maxWidth=fe.maxWidth,e.maxHeight=fe.maxHeight,e.minHeight=fe.minHeight,e.overflow=fe.overflow,e.margin=fe.margin,e.boxSizing=fe.boxSizing,e.boxShadow=fe.boxShadow,fe=null,Xl(),ne("resetViewport()")},iu={get:async e=>{const t=`body > div:not(#twd-sidebar-root) ${e}`;ne(`Searching get("${e}")`);const r=await Il(e,()=>document.querySelector(t)),n={el:r,should:(a,...o)=>(ne(Vr(r,a,...o)),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 ne(`Searching getAll("${e}")`),(await Nl(e,()=>document.querySelectorAll(t))).map(r=>{const n={el:r,should:(a,...o)=>(ne(Vr(r,a,...o)),n)};return n})},visit:Kl,url:Hl,mockRequest:$l,waitForRequest:To,waitForRequests:Fl,initRequestMocking:Bl,clearRequestMockRules:xo,getRequestMockRules:So,getRequestCount:Ul,getRequestCounts:zl,should:(e,t,...r)=>{ne(Vr(e,t,...r))},wait:cr,mockComponent:tn.mockComponent,clearComponentMocks:tn.clearComponentMocks,viewport:ou,resetViewport:Mo,notExists:async e=>{const t=`body > div:not(#twd-sidebar-root) ${e}`;if(ne(`Checking notExists("${e}")`),document.querySelector(t))throw new Error(`Element "${e}" exists in the DOM.`);ne(`Assertion passed: Element "${e}" does not exist in the DOM.`)}},Nn=Object.defineProperty,su=(e,t,r)=>t in e?Nn(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,q=(e,t)=>Nn(e,"name",{value:t,configurable:!0}),kn=(e,t)=>{for(var r in t)Nn(e,r,{get:t[r],enumerable:!0})},Ao=(e,t,r)=>su(e,typeof t!="symbol"?t+"":t,r),dr={};kn(dr,{addChainableMethod:()=>Gn,addLengthGuard:()=>Ht,addMethod:()=>Hn,addProperty:()=>Vn,checkError:()=>de,compareByInspect:()=>mr,eql:()=>si,events:()=>Mr,expectTypes:()=>Fo,flag:()=>z,getActual:()=>xr,getMessage:()=>Ln,getName:()=>Ar,getOperator:()=>Qn,getOwnEnumerableProperties:()=>Jn,getOwnEnumerablePropertySymbols:()=>Xn,getPathInfo:()=>Un,hasProperty:()=>Or,inspect:()=>K,isNaN:()=>hr,isNumeric:()=>oe,isProxyEnabled:()=>Vt,isRegExp:()=>br,objDisplay:()=>Ze,overwriteChainableMethod:()=>Yn,overwriteMethod:()=>Kn,overwriteProperty:()=>Wn,proxify:()=>Et,test:()=>jn,transferFlags:()=>ye,type:()=>J});var de={};kn(de,{compatibleConstructor:()=>ko,compatibleInstance:()=>No,compatibleMessage:()=>jo,getConstructorName:()=>Do,getMessage:()=>Lo});function Sr(e){return e instanceof Error||Object.prototype.toString.call(e)==="[object Error]"}q(Sr,"isErrorInstance");function Io(e){return Object.prototype.toString.call(e)==="[object RegExp]"}q(Io,"isRegExp");function No(e,t){return Sr(t)&&e===t}q(No,"compatibleInstance");function ko(e,t){return Sr(t)?e.constructor===t.constructor||e instanceof t.constructor:(typeof t=="object"||typeof t=="function")&&t.prototype?e.constructor===t||e instanceof t:!1}q(ko,"compatibleConstructor");function jo(e,t){const r=typeof e=="string"?e:e.message;return Io(t)?t.test(r):typeof t=="string"?r.indexOf(t)!==-1:!1}q(jo,"compatibleMessage");function Do(e){let t=e;return Sr(e)?t=e.constructor.name:typeof e=="function"&&(t=e.name,t===""&&(t=new e().name||t)),t}q(Do,"getConstructorName");function Lo(e){let t="";return e&&e.message?t=e.message:typeof e=="string"&&(t=e),t}q(Lo,"getMessage");function z(e,t,r){let n=e.__flags||(e.__flags=Object.create(null));if(arguments.length===3)n[t]=r;else return n[t]}q(z,"flag");function jn(e,t){let r=z(e,"negate"),n=t[0];return r?!n:n}q(jn,"test");function J(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)}q(J,"type");var lu="captureStackTrace"in Error,Bo=class $o extends Error{constructor(t="Unspecified AssertionError",r,n){super(t),Ao(this,"message"),this.message=t,lu&&Error.captureStackTrace(this,n||$o);for(const a in r)a in this||(this[a]=r[a])}get name(){return"AssertionError"}get ok(){return!1}toJSON(t){return{...this,name:this.name,message:this.message,ok:!1,stack:t!==!1?this.stack:void 0}}};q(Bo,"AssertionError");var X=Bo;function Fo(e,t){let r=z(e,"message"),n=z(e,"ssfi");r=r?r+": ":"",e=z(e,"object"),t=t.map(function(i){return i.toLowerCase()}),t.sort();let a=t.map(function(i,s){let u=~["a","e","i","o","u"].indexOf(i.charAt(0))?"an":"a";return(t.length>1&&s===t.length-1?"or ":"")+u+" "+i}).join(", "),o=J(e).toLowerCase();if(!t.some(function(i){return o===i}))throw new X(r+"object tested must be "+a+", but "+o+" given",void 0,n)}q(Fo,"expectTypes");function xr(e,t){return t.length>4?t[4]:e._obj}q(xr,"getActual");var ja={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"]},uu={special:"cyan",number:"yellow",bigint:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",symbol:"green",date:"magenta",regexp:"red"},pt="…";function Uo(e,t){const r=ja[uu[t]]||ja[t]||"";return r?`\x1B[${r[0]}m${String(e)}\x1B[${r[1]}m`:String(e)}q(Uo,"colorise");function zo({showHidden:e=!1,depth:t=2,colors:r=!1,customInspect:n=!0,showProxy:a=!1,maxArrayLength:o=1/0,breakLength:i=1/0,seen:s=[],truncate:u=1/0,stylize:l=String}={},c){const d={showHidden:!!e,depth:Number(t),colors:!!r,customInspect:!!n,showProxy:!!a,maxArrayLength:Number(o),breakLength:Number(i),truncate:Number(u),seen:s,inspect:c,stylize:l};return d.colors&&(d.stylize=Uo),d}q(zo,"normaliseOptions");function Vo(e){return e>="\uD800"&&e<="\uDBFF"}q(Vo,"isHighSurrogate");function Ie(e,t,r=pt){e=String(e);const n=r.length,a=e.length;if(n>t&&a>n)return r;if(a>t&&a>n){let o=t-n;return o>0&&Vo(e[o-1])&&(o=o-1),`${e.slice(0,o)}${r}`}return e}q(Ie,"truncate");function he(e,t,r,n=", "){r=r||t.inspect;const a=e.length;if(a===0)return"";const o=t.truncate;let i="",s="",u="";for(let l=0;l<a;l+=1){const c=l+1===e.length,d=l+2===e.length;u=`${pt}(${e.length-l})`;const p=e[l];t.truncate=o-i.length-(c?0:n.length);const f=s||r(p,t)+(c?"":n),g=i.length+f.length,v=g+u.length;if(c&&g>o&&i.length+u.length<=o||!c&&!d&&v>o||(s=c?"":r(e[l+1],t)+(d?"":n),!c&&d&&v>o&&g+s.length>o))break;if(i+=f,!c&&!d&&g+s.length>=o){u=`${pt}(${e.length-l-1})`;break}u=""}return`${i}${u}`}q(he,"inspectList");function Ho(e){return e.match(/^[a-zA-Z_][a-zA-Z_0-9]*$/)?e:JSON.stringify(e).replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'")}q(Ho,"quoteComplexKey");function mt([e,t],r){return r.truncate-=2,typeof e=="string"?e=Ho(e):typeof e!="number"&&(e=`[${r.inspect(e,r)}]`),r.truncate-=e.length,t=r.inspect(t,r),`${e}: ${t}`}q(mt,"inspectProperty");function Wo(e,t){const r=Object.keys(e).slice(e.length);if(!e.length&&!r.length)return"[]";t.truncate-=4;const n=he(e,t);t.truncate-=n.length;let a="";return r.length&&(a=he(r.map(o=>[o,e[o]]),t,mt)),`[ ${n}${a?`, ${a}`:""} ]`}q(Wo,"inspectArray");var cu=q(e=>typeof Buffer=="function"&&e instanceof Buffer?"Buffer":e[Symbol.toStringTag]?e[Symbol.toStringTag]:e.constructor.name,"getArrayName");function _e(e,t){const r=cu(e);t.truncate-=r.length+4;const n=Object.keys(e).slice(e.length);if(!e.length&&!n.length)return`${r}[]`;let a="";for(let i=0;i<e.length;i++){const s=`${t.stylize(Ie(e[i],t.truncate),"number")}${i===e.length-1?"":", "}`;if(t.truncate-=s.length,e[i]!==e.length&&t.truncate<=3){a+=`${pt}(${e.length-e[i]+1})`;break}a+=s}let o="";return n.length&&(o=he(n.map(i=>[i,e[i]]),t,mt)),`${r}[ ${a}${o?`, ${o}`:""} ]`}q(_e,"inspectTypedArray");function Ko(e,t){const r=e.toJSON();if(r===null)return"Invalid Date";const n=r.split("T"),a=n[0];return t.stylize(`${a}T${Ie(n[1],t.truncate-a.length-1)}`,"date")}q(Ko,"inspectDate");function on(e,t){const r=e[Symbol.toStringTag]||"Function",n=e.name;return n?t.stylize(`[${r} ${Ie(n,t.truncate-11)}]`,"special"):t.stylize(`[${r}]`,"special")}q(on,"inspectFunction");function Go([e,t],r){return r.truncate-=4,e=r.inspect(e,r),r.truncate-=e.length,t=r.inspect(t,r),`${e} => ${t}`}q(Go,"inspectMapEntry");function Yo(e){const t=[];return e.forEach((r,n)=>{t.push([n,r])}),t}q(Yo,"mapToEntries");function Xo(e,t){return e.size===0?"Map{}":(t.truncate-=7,`Map{ ${he(Yo(e),t,Go)} }`)}q(Xo,"inspectMap");var du=Number.isNaN||(e=>e!==e);function sn(e,t){return du(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(Ie(String(e),t.truncate),"number")}q(sn,"inspectNumber");function ln(e,t){let r=Ie(e.toString(),t.truncate-1);return r!==pt&&(r+="n"),t.stylize(r,"bigint")}q(ln,"inspectBigInt");function Jo(e,t){const r=e.toString().split("/")[2],n=t.truncate-(2+r.length),a=e.source;return t.stylize(`/${Ie(a,n)}/${r}`,"regexp")}q(Jo,"inspectRegExp");function Qo(e){const t=[];return e.forEach(r=>{t.push(r)}),t}q(Qo,"arrayFromSet");function Zo(e,t){return e.size===0?"Set{}":(t.truncate-=7,`Set{ ${he(Qo(e),t)} }`)}q(Zo,"inspectSet");var Da=new RegExp("['\\u0000-\\u001f\\u007f-\\u009f\\u00ad\\u0600-\\u0604\\u070f\\u17b4\\u17b5\\u200c-\\u200f\\u2028-\\u202f\\u2060-\\u206f\\ufeff\\ufff0-\\uffff]","g"),fu={"\b":"\\b"," ":"\\t","\n":"\\n","\f":"\\f","\r":"\\r","'":"\\'","\\":"\\\\"},pu=16,mu=4;function ei(e){return fu[e]||`\\u${`0000${e.charCodeAt(0).toString(pu)}`.slice(-mu)}`}q(ei,"escape");function un(e,t){return Da.test(e)&&(e=e.replace(Da,ei)),t.stylize(`'${Ie(e,t.truncate-2)}'`,"string")}q(un,"inspectString");function cn(e){return"description"in Symbol.prototype?e.description?`Symbol(${e.description})`:"Symbol()":e.toString()}q(cn,"inspectSymbol");var hu=q(()=>"Promise{…}","getPromiseValue");function It(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 a=he(r.map(s=>[s,e[s]]),t,mt),o=he(n.map(s=>[s,e[s]]),t,mt);t.seen.pop();let i="";return a&&o&&(i=", "),`{ ${a}${i}${o} }`}q(It,"inspectObject");var Hr=typeof Symbol<"u"&&Symbol.toStringTag?Symbol.toStringTag:!1;function ti(e,t){let r="";return Hr&&Hr in e&&(r=e[Hr]),r=r||e.constructor.name,(!r||r==="_class")&&(r="<Anonymous Class>"),t.truncate-=r.length,`${r}${It(e,t)}`}q(ti,"inspectClass");function ri(e,t){return e.length===0?"Arguments[]":(t.truncate-=13,`Arguments[ ${he(e,t)} ]`)}q(ri,"inspectArguments");var bu=["stack","line","column","name","message","fileName","lineNumber","columnNumber","number","description","cause"];function ni(e,t){const r=Object.getOwnPropertyNames(e).filter(i=>bu.indexOf(i)===-1),n=e.name;t.truncate-=n.length;let a="";if(typeof e.message=="string"?a=Ie(e.message,t.truncate):r.unshift("message"),a=a?`: ${a}`:"",t.truncate-=a.length+5,t.seen=t.seen||[],t.seen.includes(e))return"[Circular]";t.seen.push(e);const o=he(r.map(i=>[i,e[i]]),t,mt);return`${n}${a}${o?` { ${o} }`:""}`}q(ni,"inspectObject");function ai([e,t],r){return r.truncate-=3,t?`${r.stylize(String(e),"yellow")}=${r.stylize(`"${t}"`,"string")}`:`${r.stylize(String(e),"yellow")}`}q(ai,"inspectAttribute");function fr(e,t){return he(e,t,oi,`
|
|
19
|
+
`)}q(fr,"inspectNodeCollection");function oi(e,t){switch(e.nodeType){case 1:return Dn(e,t);case 3:return t.inspect(e.data,t);default:return t.inspect(e,t)}}q(oi,"inspectNode");function Dn(e,t){const r=e.getAttributeNames(),n=e.tagName.toLowerCase(),a=t.stylize(`<${n}`,"special"),o=t.stylize(">","special"),i=t.stylize(`</${n}>`,"special");t.truncate-=n.length*2+5;let s="";r.length>0&&(s+=" ",s+=he(r.map(c=>[c,e.getAttribute(c)]),t,ai," ")),t.truncate-=s.length;const u=t.truncate;let l=fr(e.children,t);return l&&l.length>u&&(l=`${pt}(${e.children.length})`),`${a}${s}${o}${l}${i}`}q(Dn,"inspectHTML");var Wr=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("chai/inspect"):"@@chai/inspect",Kr=Symbol.for("nodejs.util.inspect.custom"),La=new WeakMap,Ba={},$a={undefined:q((e,t)=>t.stylize("undefined","undefined"),"undefined"),null:q((e,t)=>t.stylize("null","null"),"null"),boolean:q((e,t)=>t.stylize(String(e),"boolean"),"boolean"),Boolean:q((e,t)=>t.stylize(String(e),"boolean"),"Boolean"),number:sn,Number:sn,bigint:ln,BigInt:ln,string:un,String:un,function:on,Function:on,symbol:cn,Symbol:cn,Array:Wo,Date:Ko,Map:Xo,Set:Zo,RegExp:Jo,Promise:hu,WeakSet:q((e,t)=>t.stylize("WeakSet{…}","special"),"WeakSet"),WeakMap:q((e,t)=>t.stylize("WeakMap{…}","special"),"WeakMap"),Arguments:ri,Int8Array:_e,Uint8Array:_e,Uint8ClampedArray:_e,Int16Array:_e,Uint16Array:_e,Int32Array:_e,Uint32Array:_e,Float32Array:_e,Float64Array:_e,Generator:q(()=>"","Generator"),DataView:q(()=>"","DataView"),ArrayBuffer:q(()=>"","ArrayBuffer"),Error:ni,HTMLCollection:fr,NodeList:fr},vu=q((e,t,r,n)=>Wr in e&&typeof e[Wr]=="function"?e[Wr](t):Kr in e&&typeof e[Kr]=="function"?e[Kr](t.depth,t,n):"inspect"in e&&typeof e.inspect=="function"?e.inspect(t.depth,t):"constructor"in e&&La.has(e.constructor)?La.get(e.constructor)(e,t):Ba[r]?Ba[r](e,t):"","inspectCustom"),gu=Object.prototype.toString;function Nt(e,t={}){const r=zo(t,Nt),{customInspect:n}=r;let a=e===null?"null":typeof e;if(a==="object"&&(a=gu.call(e).slice(8,-1)),a in $a)return $a[a](e,r);if(n&&e){const i=vu(e,r,a,Nt);if(i)return typeof i=="string"?i:Nt(i,r)}const o=e?Object.getPrototypeOf(e):!1;return o===Object.prototype||o===null?It(e,r):e&&typeof HTMLElement=="function"&&e instanceof HTMLElement?Dn(e,r):"constructor"in e?e.constructor!==Object?ti(e,r):It(e,r):e===Object(e)?It(e,r):r.stylize(String(e),a)}q(Nt,"inspect");var se={includeStack:!1,showDiff:!0,truncateThreshold:40,useProxy:!0,proxyExcludedKeys:["then","catch","inspect","toJSON"],deepEqual:null};function K(e,t,r,n){return Nt(e,{colors:n,depth:typeof r>"u"?2:r,showHidden:t,truncate:se.truncateThreshold?se.truncateThreshold:1/0})}q(K,"inspect");function Ze(e){let t=K(e),r=Object.prototype.toString.call(e);if(se.truncateThreshold&&t.length>=se.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}q(Ze,"objDisplay");function Ln(e,t){let r=z(e,"negate"),n=z(e,"object"),a=t[3],o=xr(e,t),i=r?t[2]:t[1],s=z(e,"message");return typeof i=="function"&&(i=i()),i=i||"",i=i.replace(/#\{this\}/g,function(){return Ze(n)}).replace(/#\{act\}/g,function(){return Ze(o)}).replace(/#\{exp\}/g,function(){return Ze(a)}),s?s+": "+i:i}q(Ln,"getMessage");function ye(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 a in n)(r||a!=="object"&&a!=="ssfi"&&a!=="lockSsfi"&&a!="message")&&(t.__flags[a]=n[a])}q(ye,"transferFlags");function dn(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)}q(dn,"type");function Bn(){this._key="chai/deep-eql__"+Math.random()+Date.now()}q(Bn,"FakeMap");Bn.prototype={get:q(function(t){return t[this._key]},"get"),set:q(function(t,r){Object.isExtensible(t)&&Object.defineProperty(t,this._key,{value:r,configurable:!0})},"set")};var ii=typeof WeakMap=="function"?WeakMap:Bn;function fn(e,t,r){if(!r||rt(e)||rt(t))return null;var n=r.get(e);if(n){var a=n.get(t);if(typeof a=="boolean")return a}return null}q(fn,"memoizeCompare");function St(e,t,r,n){if(!(!r||rt(e)||rt(t))){var a=r.get(e);a?a.set(t,n):(a=new ii,a.set(t,n),r.set(e,a))}}q(St,"memoizeSet");var si=zt;function zt(e,t,r){if(r&&r.comparator)return pn(e,t,r);var n=$n(e,t);return n!==null?n:pn(e,t,r)}q(zt,"deepEqual");function $n(e,t){return e===t?e!==0||1/e===1/t:e!==e&&t!==t?!0:rt(e)||rt(t)?!1:null}q($n,"simpleEqual");function pn(e,t,r){r=r||{},r.memoize=r.memoize===!1?!1:r.memoize||new ii;var n=r&&r.comparator,a=fn(e,t,r.memoize);if(a!==null)return a;var o=fn(t,e,r.memoize);if(o!==null)return o;if(n){var i=n(e,t);if(i===!1||i===!0)return St(e,t,r.memoize,i),i;var s=$n(e,t);if(s!==null)return s}var u=dn(e);if(u!==dn(t))return St(e,t,r.memoize,!1),!1;St(e,t,r.memoize,!0);var l=li(e,t,u,r);return St(e,t,r.memoize,l),l}q(pn,"extensiveDeepEqual");function li(e,t,r,n){switch(r){case"String":case"Number":case"Boolean":case"Date":return zt(e.valueOf(),t.valueOf());case"Promise":case"Symbol":case"function":case"WeakMap":case"WeakSet":return e===t;case"Error":return Fn(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 Ue(e,t,n);case"RegExp":return ui(e,t);case"Generator":return ci(e,t,n);case"DataView":return Ue(new Uint8Array(e.buffer),new Uint8Array(t.buffer),n);case"ArrayBuffer":return Ue(new Uint8Array(e),new Uint8Array(t),n);case"Set":return mn(e,t,n);case"Map":return mn(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 fi(e,t,n)}}q(li,"extensiveDeepEqualByType");function ui(e,t){return e.toString()===t.toString()}q(ui,"regexpEqual");function mn(e,t,r){try{if(e.size!==t.size)return!1;if(e.size===0)return!0}catch{return!1}var n=[],a=[];return e.forEach(q(function(i,s){n.push([i,s])},"gatherEntries")),t.forEach(q(function(i,s){a.push([i,s])},"gatherEntries")),Ue(n.sort(),a.sort(),r)}q(mn,"entriesEqual");function Ue(e,t,r){var n=e.length;if(n!==t.length)return!1;if(n===0)return!0;for(var a=-1;++a<n;)if(zt(e[a],t[a],r)===!1)return!1;return!0}q(Ue,"iterableEqual");function ci(e,t,r){return Ue(pr(e),pr(t),r)}q(ci,"generatorEqual");function di(e){return typeof Symbol<"u"&&typeof e=="object"&&typeof Symbol.iterator<"u"&&typeof e[Symbol.iterator]=="function"}q(di,"hasIteratorFunction");function hn(e){if(di(e))try{return pr(e[Symbol.iterator]())}catch{return[]}return[]}q(hn,"getIteratorEntries");function pr(e){for(var t=e.next(),r=[t.value];t.done===!1;)t=e.next(),r.push(t.value);return r}q(pr,"getGeneratorEntries");function bn(e){var t=[];for(var r in e)t.push(r);return t}q(bn,"getEnumerableKeys");function vn(e){for(var t=[],r=Object.getOwnPropertySymbols(e),n=0;n<r.length;n+=1){var a=r[n];Object.getOwnPropertyDescriptor(e,a).enumerable&&t.push(a)}return t}q(vn,"getEnumerableSymbols");function Fn(e,t,r,n){var a=r.length;if(a===0)return!0;for(var o=0;o<a;o+=1)if(zt(e[r[o]],t[r[o]],n)===!1)return!1;return!0}q(Fn,"keysEqual");function fi(e,t,r){var n=bn(e),a=bn(t),o=vn(e),i=vn(t);if(n=n.concat(o),a=a.concat(i),n.length&&n.length===a.length)return Ue(gn(n).sort(),gn(a).sort())===!1?!1:Fn(e,t,n,r);var s=hn(e),u=hn(t);return s.length&&s.length===u.length?(s.sort(),u.sort(),Ue(s,u,r)):n.length===0&&s.length===0&&a.length===0&&u.length===0}q(fi,"objectEqual");function rt(e){return e===null||typeof e!="object"}q(rt,"isPrimitive");function gn(e){return e.map(q(function(r){return typeof r=="symbol"?r.toString():r},"mapSymbol"))}q(gn,"mapSymbols");function Or(e,t){return typeof e>"u"||e===null?!1:t in Object(e)}q(Or,"hasProperty");function pi(e){return e.replace(/([^\\])\[/g,"$1.[").match(/(\\\.|[^.]+?)+/g).map(t=>{if(t==="constructor"||t==="__proto__"||t==="prototype")return{};const r=/^\[(\d+)\]$/.exec(t);let n=null;return r?n={i:parseFloat(r[1])}:n={p:t.replace(/\\([.[\]])/g,"$1")},n})}q(pi,"parsePath");function yn(e,t,r){let n=e,a=null;r=typeof r>"u"?t.length:r;for(let o=0;o<r;o++){const i=t[o];n&&(typeof i.p>"u"?n=n[i.i]:n=n[i.p],o===r-1&&(a=n))}return a}q(yn,"internalGetPathValue");function Un(e,t){const r=pi(t),n=r[r.length-1],a={parent:r.length>1?yn(e,r,r.length-1):e,name:n.p||n.i,value:yn(e,r)};return a.exists=Or(a.parent,a.name),a}q(Un,"getPathInfo");var mi=class hi{constructor(t,r,n,a){return Ao(this,"__flags",{}),z(this,"ssfi",n||hi),z(this,"lockSsfi",a),z(this,"object",t),z(this,"message",r),z(this,"eql",se.deepEqual||si),Et(this)}static get includeStack(){return console.warn("Assertion.includeStack is deprecated, use chai.config.includeStack instead."),se.includeStack}static set includeStack(t){console.warn("Assertion.includeStack is deprecated, use chai.config.includeStack instead."),se.includeStack=t}static get showDiff(){return console.warn("Assertion.showDiff is deprecated, use chai.config.showDiff instead."),se.showDiff}static set showDiff(t){console.warn("Assertion.showDiff is deprecated, use chai.config.showDiff instead."),se.showDiff=t}static addProperty(t,r){Vn(this.prototype,t,r)}static addMethod(t,r){Hn(this.prototype,t,r)}static addChainableMethod(t,r,n){Gn(this.prototype,t,r,n)}static overwriteProperty(t,r){Wn(this.prototype,t,r)}static overwriteMethod(t,r){Kn(this.prototype,t,r)}static overwriteChainableMethod(t,r,n){Yn(this.prototype,t,r,n)}assert(t,r,n,a,o,i){const s=jn(this,arguments);if(i!==!1&&(i=!0),a===void 0&&o===void 0&&(i=!1),se.showDiff!==!0&&(i=!1),!s){r=Ln(this,arguments);const u={actual:xr(this,arguments),expected:a,showDiff:i},l=Qn(this,arguments);throw l&&(u.operator=l),new X(r,u,se.includeStack?this.assert:z(this,"ssfi"))}}get _obj(){return z(this,"object")}set _obj(t){z(this,"object",t)}};q(mi,"Assertion");var b=mi,Mr=new EventTarget,bi=class extends Event{constructor(t,r,n){super(t),this.name=String(r),this.fn=n}};q(bi,"PluginEvent");var zn=bi;function Vt(){return se.useProxy&&typeof Proxy<"u"&&typeof Reflect<"u"}q(Vt,"isProxyEnabled");function Vn(e,t,r){r=r===void 0?function(){}:r,Object.defineProperty(e,t,{get:q(function n(){!Vt()&&!z(this,"lockSsfi")&&z(this,"ssfi",n);let a=r.call(this);if(a!==void 0)return a;let o=new b;return ye(this,o),o},"propertyGetter"),configurable:!0}),Mr.dispatchEvent(new zn("addProperty",t,r))}q(Vn,"addProperty");var yu=Object.getOwnPropertyDescriptor(function(){},"length");function Ht(e,t,r){return yu.configurable&&Object.defineProperty(e,"length",{get:q(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}q(Ht,"addLengthGuard");function vi(e){let t=Object.getOwnPropertyNames(e);function r(a){t.indexOf(a)===-1&&t.push(a)}q(r,"addProperty");let n=Object.getPrototypeOf(e);for(;n!==null;)Object.getOwnPropertyNames(n).forEach(r),n=Object.getPrototypeOf(n);return t}q(vi,"getProperties");var Fa=["__flags","__methods","_obj","assert"];function Et(e,t){return Vt()?new Proxy(e,{get:q(function r(n,a){if(typeof a=="string"&&se.proxyExcludedKeys.indexOf(a)===-1&&!Reflect.has(n,a)){if(t)throw Error("Invalid Chai property: "+t+"."+a+'. See docs for proper usage of "'+t+'".');let o=null,i=4;throw vi(n).forEach(function(s){if(!Object.prototype.hasOwnProperty(s)&&Fa.indexOf(s)===-1){let u=gi(a,s,i);u<i&&(o=s,i=u)}}),Error(o!==null?"Invalid Chai property: "+a+'. Did you mean "'+o+'"?':"Invalid Chai property: "+a)}return Fa.indexOf(a)===-1&&!z(n,"lockSsfi")&&z(n,"ssfi",r),Reflect.get(n,a)},"proxyGetter")}):e}q(Et,"proxify");function gi(e,t,r){if(Math.abs(e.length-t.length)>=r)return r;let n=[];for(let a=0;a<=e.length;a++)n[a]=Array(t.length+1).fill(0),n[a][0]=a;for(let a=0;a<t.length;a++)n[0][a]=a;for(let a=1;a<=e.length;a++){let o=e.charCodeAt(a-1);for(let i=1;i<=t.length;i++){if(Math.abs(a-i)>=r){n[a][i]=r;continue}n[a][i]=Math.min(n[a-1][i]+1,n[a][i-1]+1,n[a-1][i-1]+(o===t.charCodeAt(i-1)?0:1))}}return n[e.length][t.length]}q(gi,"stringDistanceCapped");function Hn(e,t,r){let n=q(function(){z(this,"lockSsfi")||z(this,"ssfi",n);let a=r.apply(this,arguments);if(a!==void 0)return a;let o=new b;return ye(this,o),o},"methodWrapper");Ht(n,t,!1),e[t]=Et(n,t),Mr.dispatchEvent(new zn("addMethod",t,r))}q(Hn,"addMethod");function Wn(e,t,r){let n=Object.getOwnPropertyDescriptor(e,t),a=q(function(){},"_super");n&&typeof n.get=="function"&&(a=n.get),Object.defineProperty(e,t,{get:q(function o(){!Vt()&&!z(this,"lockSsfi")&&z(this,"ssfi",o);let i=z(this,"lockSsfi");z(this,"lockSsfi",!0);let s=r(a).call(this);if(z(this,"lockSsfi",i),s!==void 0)return s;let u=new b;return ye(this,u),u},"overwritingPropertyGetter"),configurable:!0})}q(Wn,"overwriteProperty");function Kn(e,t,r){let n=e[t],a=q(function(){throw new Error(t+" is not a function")},"_super");n&&typeof n=="function"&&(a=n);let o=q(function(){z(this,"lockSsfi")||z(this,"ssfi",o);let i=z(this,"lockSsfi");z(this,"lockSsfi",!0);let s=r(a).apply(this,arguments);if(z(this,"lockSsfi",i),s!==void 0)return s;let u=new b;return ye(this,u),u},"overwritingMethodWrapper");Ht(o,t,!1),e[t]=Et(o,t)}q(Kn,"overwriteMethod");var wu=typeof Object.setPrototypeOf=="function",Ua=q(function(){},"testFn"),Eu=Object.getOwnPropertyNames(Ua).filter(function(e){let t=Object.getOwnPropertyDescriptor(Ua,e);return typeof t!="object"?!0:!t.configurable}),_u=Function.prototype.call,Cu=Function.prototype.apply,yi=class extends zn{constructor(t,r,n,a){super(t,r,n),this.chainingBehavior=a}};q(yi,"PluginAddChainableMethodEvent");var Pu=yi;function Gn(e,t,r,n){typeof n!="function"&&(n=q(function(){},"chainingBehavior"));let a={method:r,chainingBehavior:n};e.__methods||(e.__methods={}),e.__methods[t]=a,Object.defineProperty(e,t,{get:q(function(){a.chainingBehavior.call(this);let i=q(function(){z(this,"lockSsfi")||z(this,"ssfi",i);let s=a.method.apply(this,arguments);if(s!==void 0)return s;let u=new b;return ye(this,u),u},"chainableMethodWrapper");if(Ht(i,t,!0),wu){let s=Object.create(this);s.call=_u,s.apply=Cu,Object.setPrototypeOf(i,s)}else Object.getOwnPropertyNames(e).forEach(function(s){Eu.indexOf(s)===-1&&Object.defineProperty(i,s,Object.getOwnPropertyDescriptor(e,s))});return ye(this,i),Et(i)},"chainableMethodGetter"),configurable:!0}),Mr.dispatchEvent(new Pu("addChainableMethod",t,r,n))}q(Gn,"addChainableMethod");function Yn(e,t,r,n){let a=e.__methods[t],o=a.chainingBehavior;a.chainingBehavior=q(function(){let u=n(o).call(this);if(u!==void 0)return u;let l=new b;return ye(this,l),l},"overwritingChainableMethodGetter");let i=a.method;a.method=q(function(){let u=r(i).apply(this,arguments);if(u!==void 0)return u;let l=new b;return ye(this,l),l},"overwritingChainableMethodWrapper")}q(Yn,"overwriteChainableMethod");function mr(e,t){return K(e)<K(t)?-1:1}q(mr,"compareByInspect");function Xn(e){return typeof Object.getOwnPropertySymbols!="function"?[]:Object.getOwnPropertySymbols(e).filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})}q(Xn,"getOwnEnumerablePropertySymbols");function Jn(e){return Object.keys(e).concat(Xn(e))}q(Jn,"getOwnEnumerableProperties");var hr=Number.isNaN;function wi(e){let t=J(e);return["Array","Object","Function"].indexOf(t)!==-1}q(wi,"isObjectType");function Qn(e,t){let r=z(e,"operator"),n=z(e,"negate"),a=t[3],o=n?t[2]:t[1];if(r)return r;if(typeof o=="function"&&(o=o()),o=o||"",!o||/\shave\s/.test(o))return;let i=wi(a);return/\snot\s/.test(o)?i?"notDeepStrictEqual":"notStrictEqual":i?"deepStrictEqual":"strictEqual"}q(Qn,"getOperator");function Ar(e){return e.name}q(Ar,"getName");function br(e){return Object.prototype.toString.call(e)==="[object RegExp]"}q(br,"isRegExp");function oe(e){return["Number","BigInt"].includes(J(e))}q(oe,"isNumeric");var{flag:C}=dr;["to","be","been","is","and","has","have","with","that","which","at","of","same","but","does","still","also"].forEach(function(e){b.addProperty(e)});b.addProperty("not",function(){C(this,"negate",!0)});b.addProperty("deep",function(){C(this,"deep",!0)});b.addProperty("nested",function(){C(this,"nested",!0)});b.addProperty("own",function(){C(this,"own",!0)});b.addProperty("ordered",function(){C(this,"ordered",!0)});b.addProperty("any",function(){C(this,"any",!0),C(this,"all",!1)});b.addProperty("all",function(){C(this,"all",!0),C(this,"any",!1)});var za={function:["function","asyncfunction","generatorfunction","asyncgeneratorfunction"],asyncfunction:["asyncfunction","asyncgeneratorfunction"],generatorfunction:["generatorfunction","asyncgeneratorfunction"],asyncgeneratorfunction:["asyncgeneratorfunction"]};function Zn(e,t){t&&C(this,"message",t),e=e.toLowerCase();let r=C(this,"object"),n=~["a","e","i","o","u"].indexOf(e.charAt(0))?"an ":"a ";const a=J(r).toLowerCase();za.function.includes(e)?this.assert(za[e].includes(a),"expected #{this} to be "+n+e,"expected #{this} not to be "+n+e):this.assert(e===a,"expected #{this} to be "+n+e,"expected #{this} not to be "+n+e)}q(Zn,"an");b.addChainableMethod("an",Zn);b.addChainableMethod("a",Zn);function Ei(e,t){return hr(e)&&hr(t)||e===t}q(Ei,"SameValueZero");function Wt(){C(this,"contains",!0)}q(Wt,"includeChainingBehavior");function Kt(e,t){t&&C(this,"message",t);let r=C(this,"object"),n=J(r).toLowerCase(),a=C(this,"message"),o=C(this,"negate"),i=C(this,"ssfi"),s=C(this,"deep"),u=s?"deep ":"",l=s?C(this,"eql"):Ei;a=a?a+": ":"";let c=!1;switch(n){case"string":c=r.indexOf(e)!==-1;break;case"weakset":if(s)throw new X(a+"unable to use .deep.include with WeakSet",void 0,i);c=r.has(e);break;case"map":r.forEach(function(d){c=c||l(d,e)});break;case"set":s?r.forEach(function(d){c=c||l(d,e)}):c=r.has(e);break;case"array":s?c=r.some(function(d){return l(d,e)}):c=r.indexOf(e)!==-1;break;default:{if(e!==Object(e))throw new X(a+"the given combination of arguments ("+n+" and "+J(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 "+J(e).toLowerCase(),void 0,i);let d=Object.keys(e),p=null,f=0;if(d.forEach(function(g){let v=new b(r);if(ye(this,v,!0),C(v,"lockSsfi",!0),!o||d.length===1){v.property(g,e[g]);return}try{v.property(g,e[g])}catch(S){if(!de.compatibleConstructor(S,X))throw S;p===null&&(p=S),f++}},this),o&&d.length>1&&f===d.length)throw p;return}}this.assert(c,"expected #{this} to "+u+"include "+K(e),"expected #{this} to not "+u+"include "+K(e))}q(Kt,"include");b.addChainableMethod("include",Kt,Wt);b.addChainableMethod("contain",Kt,Wt);b.addChainableMethod("contains",Kt,Wt);b.addChainableMethod("includes",Kt,Wt);b.addProperty("ok",function(){this.assert(C(this,"object"),"expected #{this} to be truthy","expected #{this} to be falsy")});b.addProperty("true",function(){this.assert(C(this,"object")===!0,"expected #{this} to be true","expected #{this} to be false",!C(this,"negate"))});b.addProperty("numeric",function(){const e=C(this,"object");this.assert(["Number","BigInt"].includes(J(e)),"expected #{this} to be numeric","expected #{this} to not be numeric",!C(this,"negate"))});b.addProperty("callable",function(){const e=C(this,"object"),t=C(this,"ssfi"),r=C(this,"message"),n=r?`${r}: `:"",a=C(this,"negate"),o=a?`${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(J(e));if(i&&a||!i&&!a)throw new X(o,void 0,t)});b.addProperty("false",function(){this.assert(C(this,"object")===!1,"expected #{this} to be false","expected #{this} to be true",!!C(this,"negate"))});b.addProperty("null",function(){this.assert(C(this,"object")===null,"expected #{this} to be null","expected #{this} not to be null")});b.addProperty("undefined",function(){this.assert(C(this,"object")===void 0,"expected #{this} to be undefined","expected #{this} not to be undefined")});b.addProperty("NaN",function(){this.assert(hr(C(this,"object")),"expected #{this} to be NaN","expected #{this} not to be NaN")});function ea(){let e=C(this,"object");this.assert(e!=null,"expected #{this} to exist","expected #{this} to not exist")}q(ea,"assertExist");b.addProperty("exist",ea);b.addProperty("exists",ea);b.addProperty("empty",function(){let e=C(this,"object"),t=C(this,"ssfi"),r=C(this,"message"),n;switch(r=r?r+": ":"",J(e).toLowerCase()){case"array":case"string":n=e.length;break;case"map":case"set":n=e.size;break;case"weakmap":case"weakset":throw new X(r+".empty was passed a weak collection",void 0,t);case"function":throw new X((r+".empty was passed a function "+Ar(e)).trim(),void 0,t);default:if(e!==Object(e))throw new X(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 ta(){let e=J(C(this,"object"));this.assert(e==="Arguments","expected #{this} to be arguments but got "+e,"expected #{this} to not be arguments")}q(ta,"checkArguments");b.addProperty("arguments",ta);b.addProperty("Arguments",ta);function Ir(e,t){t&&C(this,"message",t);let r=C(this,"object");if(C(this,"deep")){let n=C(this,"lockSsfi");C(this,"lockSsfi",!0),this.eql(e),C(this,"lockSsfi",n)}else this.assert(e===r,"expected #{this} to equal #{exp}","expected #{this} to not equal #{exp}",e,this._obj,!0)}q(Ir,"assertEqual");b.addMethod("equal",Ir);b.addMethod("equals",Ir);b.addMethod("eq",Ir);function ra(e,t){t&&C(this,"message",t);let r=C(this,"eql");this.assert(r(e,C(this,"object")),"expected #{this} to deeply equal #{exp}","expected #{this} to not deeply equal #{exp}",e,this._obj,!0)}q(ra,"assertEql");b.addMethod("eql",ra);b.addMethod("eqls",ra);function Nr(e,t){t&&C(this,"message",t);let r=C(this,"object"),n=C(this,"doLength"),a=C(this,"message"),o=a?a+": ":"",i=C(this,"ssfi"),s=J(r).toLowerCase(),u=J(e).toLowerCase();if(n&&s!=="map"&&s!=="set"&&new b(r,a,i,!0).to.have.property("length"),!n&&s==="date"&&u!=="date")throw new X(o+"the argument to above must be a date",void 0,i);if(!oe(e)&&(n||oe(r)))throw new X(o+"the argument to above must be a number",void 0,i);if(!n&&s!=="date"&&!oe(r)){let l=s==="string"?"'"+r+"'":r;throw new X(o+"expected "+l+" to be a number or a date",void 0,i)}if(n){let l="length",c;s==="map"||s==="set"?(l="size",c=r.size):c=r.length,this.assert(c>e,"expected #{this} to have a "+l+" above #{exp} but got #{act}","expected #{this} to not have a "+l+" above #{exp}",e,c)}else this.assert(r>e,"expected #{this} to be above #{exp}","expected #{this} to be at most #{exp}",e)}q(Nr,"assertAbove");b.addMethod("above",Nr);b.addMethod("gt",Nr);b.addMethod("greaterThan",Nr);function kr(e,t){t&&C(this,"message",t);let r=C(this,"object"),n=C(this,"doLength"),a=C(this,"message"),o=a?a+": ":"",i=C(this,"ssfi"),s=J(r).toLowerCase(),u=J(e).toLowerCase(),l,c=!0;if(n&&s!=="map"&&s!=="set"&&new b(r,a,i,!0).to.have.property("length"),!n&&s==="date"&&u!=="date")l=o+"the argument to least must be a date";else if(!oe(e)&&(n||oe(r)))l=o+"the argument to least must be a number";else if(!n&&s!=="date"&&!oe(r)){let d=s==="string"?"'"+r+"'":r;l=o+"expected "+d+" to be a number or a date"}else c=!1;if(c)throw new X(l,void 0,i);if(n){let d="length",p;s==="map"||s==="set"?(d="size",p=r.size):p=r.length,this.assert(p>=e,"expected #{this} to have a "+d+" at least #{exp} but got #{act}","expected #{this} to have a "+d+" below #{exp}",e,p)}else this.assert(r>=e,"expected #{this} to be at least #{exp}","expected #{this} to be below #{exp}",e)}q(kr,"assertLeast");b.addMethod("least",kr);b.addMethod("gte",kr);b.addMethod("greaterThanOrEqual",kr);function jr(e,t){t&&C(this,"message",t);let r=C(this,"object"),n=C(this,"doLength"),a=C(this,"message"),o=a?a+": ":"",i=C(this,"ssfi"),s=J(r).toLowerCase(),u=J(e).toLowerCase(),l,c=!0;if(n&&s!=="map"&&s!=="set"&&new b(r,a,i,!0).to.have.property("length"),!n&&s==="date"&&u!=="date")l=o+"the argument to below must be a date";else if(!oe(e)&&(n||oe(r)))l=o+"the argument to below must be a number";else if(!n&&s!=="date"&&!oe(r)){let d=s==="string"?"'"+r+"'":r;l=o+"expected "+d+" to be a number or a date"}else c=!1;if(c)throw new X(l,void 0,i);if(n){let d="length",p;s==="map"||s==="set"?(d="size",p=r.size):p=r.length,this.assert(p<e,"expected #{this} to have a "+d+" below #{exp} but got #{act}","expected #{this} to not have a "+d+" below #{exp}",e,p)}else this.assert(r<e,"expected #{this} to be below #{exp}","expected #{this} to be at least #{exp}",e)}q(jr,"assertBelow");b.addMethod("below",jr);b.addMethod("lt",jr);b.addMethod("lessThan",jr);function Dr(e,t){t&&C(this,"message",t);let r=C(this,"object"),n=C(this,"doLength"),a=C(this,"message"),o=a?a+": ":"",i=C(this,"ssfi"),s=J(r).toLowerCase(),u=J(e).toLowerCase(),l,c=!0;if(n&&s!=="map"&&s!=="set"&&new b(r,a,i,!0).to.have.property("length"),!n&&s==="date"&&u!=="date")l=o+"the argument to most must be a date";else if(!oe(e)&&(n||oe(r)))l=o+"the argument to most must be a number";else if(!n&&s!=="date"&&!oe(r)){let d=s==="string"?"'"+r+"'":r;l=o+"expected "+d+" to be a number or a date"}else c=!1;if(c)throw new X(l,void 0,i);if(n){let d="length",p;s==="map"||s==="set"?(d="size",p=r.size):p=r.length,this.assert(p<=e,"expected #{this} to have a "+d+" at most #{exp} but got #{act}","expected #{this} to have a "+d+" above #{exp}",e,p)}else this.assert(r<=e,"expected #{this} to be at most #{exp}","expected #{this} to be above #{exp}",e)}q(Dr,"assertMost");b.addMethod("most",Dr);b.addMethod("lte",Dr);b.addMethod("lessThanOrEqual",Dr);b.addMethod("within",function(e,t,r){r&&C(this,"message",r);let n=C(this,"object"),a=C(this,"doLength"),o=C(this,"message"),i=o?o+": ":"",s=C(this,"ssfi"),u=J(n).toLowerCase(),l=J(e).toLowerCase(),c=J(t).toLowerCase(),d,p=!0,f=l==="date"&&c==="date"?e.toISOString()+".."+t.toISOString():e+".."+t;if(a&&u!=="map"&&u!=="set"&&new b(n,o,s,!0).to.have.property("length"),!a&&u==="date"&&(l!=="date"||c!=="date"))d=i+"the arguments to within must be dates";else if((!oe(e)||!oe(t))&&(a||oe(n)))d=i+"the arguments to within must be numbers";else if(!a&&u!=="date"&&!oe(n)){let g=u==="string"?"'"+n+"'":n;d=i+"expected "+g+" to be a number or a date"}else p=!1;if(p)throw new X(d,void 0,s);if(a){let g="length",v;u==="map"||u==="set"?(g="size",v=n.size):v=n.length,this.assert(v>=e&&v<=t,"expected #{this} to have a "+g+" within "+f,"expected #{this} to not have a "+g+" within "+f)}else this.assert(n>=e&&n<=t,"expected #{this} to be within "+f,"expected #{this} to not be within "+f)});function na(e,t){t&&C(this,"message",t);let r=C(this,"object"),n=C(this,"ssfi"),a=C(this,"message"),o;try{o=r instanceof e}catch(s){throw s instanceof TypeError?(a=a?a+": ":"",new X(a+"The instanceof assertion needs a constructor but "+J(e)+" was given.",void 0,n)):s}let i=Ar(e);i==null&&(i="an unnamed constructor"),this.assert(o,"expected #{this} to be an instance of "+i,"expected #{this} to not be an instance of "+i)}q(na,"assertInstanceOf");b.addMethod("instanceof",na);b.addMethod("instanceOf",na);function aa(e,t,r){r&&C(this,"message",r);let n=C(this,"nested"),a=C(this,"own"),o=C(this,"message"),i=C(this,"object"),s=C(this,"ssfi"),u=typeof e;if(o=o?o+": ":"",n){if(u!=="string")throw new X(o+"the argument to property must be a string when using nested syntax",void 0,s)}else if(u!=="string"&&u!=="number"&&u!=="symbol")throw new X(o+"the argument to property must be a string, number, or symbol",void 0,s);if(n&&a)throw new X(o+'The "nested" and "own" flags cannot be combined.',void 0,s);if(i==null)throw new X(o+"Target cannot be null or undefined.",void 0,s);let l=C(this,"deep"),c=C(this,"negate"),d=n?Un(i,e):null,p=n?d.value:i[e],f=l?C(this,"eql"):(S,y)=>S===y,g="";l&&(g+="deep "),a&&(g+="own "),n&&(g+="nested "),g+="property ";let v;a?v=Object.prototype.hasOwnProperty.call(i,e):n?v=d.exists:v=Or(i,e),(!c||arguments.length===1)&&this.assert(v,"expected #{this} to have "+g+K(e),"expected #{this} to not have "+g+K(e)),arguments.length>1&&this.assert(v&&f(t,p),"expected #{this} to have "+g+K(e)+" of #{exp}, but got #{act}","expected #{this} to not have "+g+K(e)+" of #{act}",t,p),C(this,"object",p)}q(aa,"assertProperty");b.addMethod("property",aa);function oa(e,t,r){C(this,"own",!0),aa.apply(this,arguments)}q(oa,"assertOwnProperty");b.addMethod("ownProperty",oa);b.addMethod("haveOwnProperty",oa);function ia(e,t,r){typeof t=="string"&&(r=t,t=null),r&&C(this,"message",r);let n=C(this,"object"),a=Object.getOwnPropertyDescriptor(Object(n),e),o=C(this,"eql");a&&t?this.assert(o(t,a),"expected the own property descriptor for "+K(e)+" on #{this} to match "+K(t)+", got "+K(a),"expected the own property descriptor for "+K(e)+" on #{this} to not match "+K(t),t,a,!0):this.assert(a,"expected #{this} to have an own property descriptor for "+K(e),"expected #{this} to not have an own property descriptor for "+K(e)),C(this,"object",a)}q(ia,"assertOwnPropertyDescriptor");b.addMethod("ownPropertyDescriptor",ia);b.addMethod("haveOwnPropertyDescriptor",ia);function sa(){C(this,"doLength",!0)}q(sa,"assertLengthChain");function la(e,t){t&&C(this,"message",t);let r=C(this,"object"),n=J(r).toLowerCase(),a=C(this,"message"),o=C(this,"ssfi"),i="length",s;switch(n){case"map":case"set":i="size",s=r.size;break;default:new b(r,a,o,!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)}q(la,"assertLength");b.addChainableMethod("length",la,sa);b.addChainableMethod("lengthOf",la,sa);function ua(e,t){t&&C(this,"message",t);let r=C(this,"object");this.assert(e.exec(r),"expected #{this} to match "+e,"expected #{this} not to match "+e)}q(ua,"assertMatch");b.addMethod("match",ua);b.addMethod("matches",ua);b.addMethod("string",function(e,t){t&&C(this,"message",t);let r=C(this,"object");new b(r,C(this,"message"),C(this,"ssfi"),!0).is.a("string"),this.assert(~r.indexOf(e),"expected #{this} to contain "+K(e),"expected #{this} to not contain "+K(e))});function ca(e){let t=C(this,"object"),r=J(t),n=J(e),a=C(this,"ssfi"),o=C(this,"deep"),i,s="",u,l=!0,c=C(this,"message");c=c?c+": ":"";let d=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=o?"deeply ":"",u=[],t.forEach(function(y,w){u.push(w)}),n!=="Array"&&(e=Array.prototype.slice.call(arguments));else{switch(u=Jn(t),n){case"Array":if(arguments.length>1)throw new X(d,void 0,a);break;case"Object":if(arguments.length>1)throw new X(d,void 0,a);e=Object.keys(e);break;default:e=Array.prototype.slice.call(arguments)}e=e.map(function(y){return typeof y=="symbol"?y:String(y)})}if(!e.length)throw new X(c+"keys required",void 0,a);let p=e.length,f=C(this,"any"),g=C(this,"all"),v=e,S=o?C(this,"eql"):(y,w)=>y===w;if(!f&&!g&&(g=!0),f&&(l=v.some(function(y){return u.some(function(w){return S(y,w)})})),g&&(l=v.every(function(y){return u.some(function(w){return S(y,w)})}),C(this,"contains")||(l=l&&e.length==u.length)),p>1){e=e.map(function(w){return K(w)});let y=e.pop();g&&(i=e.join(", ")+", and "+y),f&&(i=e.join(", ")+", or "+y)}else i=K(e[0]);i=(p>1?"keys ":"key ")+i,i=(C(this,"contains")?"contain ":"have ")+i,this.assert(l,"expected #{this} to "+s+i,"expected #{this} to not "+s+i,v.slice(0).sort(mr),u.sort(mr),!0)}q(ca,"assertKeys");b.addMethod("keys",ca);b.addMethod("key",ca);function Lr(e,t,r){r&&C(this,"message",r);let n=C(this,"object"),a=C(this,"ssfi"),o=C(this,"message"),i=C(this,"negate")||!1;new b(n,o,a,!0).is.a("function"),(br(e)||typeof e=="string")&&(t=e,e=null);let s,u=!1;try{n()}catch(f){u=!0,s=f}let l=e===void 0&&t===void 0,c=!!(e&&t),d=!1,p=!1;if(l||!l&&!i){let f="an error";e instanceof Error?f="#{exp}":e&&(f=de.getConstructorName(e));let g=s;if(s instanceof Error)g=s.toString();else if(typeof s=="string")g=s;else if(s&&(typeof s=="object"||typeof s=="function"))try{g=de.getConstructorName(s)}catch{}this.assert(u,"expected #{this} to throw "+f,"expected #{this} to not throw an error but #{act} was thrown",e&&e.toString(),g)}if(e&&s&&(e instanceof Error&&de.compatibleInstance(s,e)===i&&(c&&i?d=!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())),de.compatibleConstructor(s,e)===i&&(c&&i?d=!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&&de.getConstructorName(e),s instanceof Error?s.toString():s&&de.getConstructorName(s)))),s&&t!==void 0&&t!==null){let f="including";br(t)&&(f="matching"),de.compatibleMessage(s,t)===i&&(c&&i?p=!0:this.assert(i,"expected #{this} to throw error "+f+" #{exp} but got #{act}","expected #{this} to throw error not "+f+" #{exp}",t,de.getMessage(s)))}d&&p&&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&&de.getConstructorName(e),s instanceof Error?s.toString():s&&de.getConstructorName(s)),C(this,"object",s)}q(Lr,"assertThrows");b.addMethod("throw",Lr);b.addMethod("throws",Lr);b.addMethod("Throw",Lr);function da(e,t){t&&C(this,"message",t);let r=C(this,"object"),n=C(this,"itself"),a=typeof r=="function"&&!n?r.prototype[e]:r[e];this.assert(typeof a=="function","expected #{this} to respond to "+K(e),"expected #{this} to not respond to "+K(e))}q(da,"respondTo");b.addMethod("respondTo",da);b.addMethod("respondsTo",da);b.addProperty("itself",function(){C(this,"itself",!0)});function fa(e,t){t&&C(this,"message",t);let r=e(C(this,"object"));this.assert(r,"expected #{this} to satisfy "+Ze(e),"expected #{this} to not satisfy"+Ze(e),!C(this,"negate"),r)}q(fa,"satisfy");b.addMethod("satisfy",fa);b.addMethod("satisfies",fa);function pa(e,t,r){r&&C(this,"message",r);let n=C(this,"object"),a=C(this,"message"),o=C(this,"ssfi");new b(n,a,o,!0).is.numeric;let i="A `delta` value is required for `closeTo`";if(t==null)throw new X(a?`${a}: ${i}`:i,void 0,o);if(new b(t,a,o,!0).is.numeric,i="A `expected` value is required for `closeTo`",e==null)throw new X(a?`${a}: ${i}`:i,void 0,o);new b(e,a,o,!0).is.numeric;const s=q(l=>l<0?-l:l,"abs"),u=q(l=>parseFloat(parseFloat(l).toPrecision(12)),"strip");this.assert(u(s(n-e))<=t,"expected #{this} to be close to "+e+" +/- "+t,"expected #{this} not to be close to "+e+" +/- "+t)}q(pa,"closeTo");b.addMethod("closeTo",pa);b.addMethod("approximately",pa);function _i(e,t,r,n,a){let o=Array.from(t),i=Array.from(e);if(!n){if(i.length!==o.length)return!1;o=o.slice()}return i.every(function(s,u){if(a)return r?r(s,o[u]):s===o[u];if(!r){let l=o.indexOf(s);return l===-1?!1:(n||o.splice(l,1),!0)}return o.some(function(l,c){return r(s,l)?(n||o.splice(c,1),!0):!1})})}q(_i,"isSubsetOf");b.addMethod("members",function(e,t){t&&C(this,"message",t);let r=C(this,"object"),n=C(this,"message"),a=C(this,"ssfi");new b(r,n,a,!0).to.be.iterable,new b(e,n,a,!0).to.be.iterable;let o=C(this,"contains"),i=C(this,"ordered"),s,u,l;o?(s=i?"an ordered superset":"a superset",u="expected #{this} to be "+s+" of #{exp}",l="expected #{this} to not be "+s+" of #{exp}"):(s=i?"ordered members":"members",u="expected #{this} to have the same "+s+" as #{exp}",l="expected #{this} to not have the same "+s+" as #{exp}");let c=C(this,"deep")?C(this,"eql"):void 0;this.assert(_i(e,r,c,o,i),u,l,e,r,!0)});b.addProperty("iterable",function(e){e&&C(this,"message",e);let t=C(this,"object");this.assert(t!=null&&t[Symbol.iterator],"expected #{this} to be an iterable","expected #{this} to not be an iterable",t)});function Ci(e,t){t&&C(this,"message",t);let r=C(this,"object"),n=C(this,"message"),a=C(this,"ssfi"),o=C(this,"contains"),i=C(this,"deep"),s=C(this,"eql");new b(e,n,a,!0).to.be.an("array"),o?this.assert(e.some(function(u){return r.indexOf(u)>-1}),"expected #{this} to contain one of #{exp}","expected #{this} to not contain one of #{exp}",e,r):i?this.assert(e.some(function(u){return s(r,u)}),"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)}q(Ci,"oneOf");b.addMethod("oneOf",Ci);function ma(e,t,r){r&&C(this,"message",r);let n=C(this,"object"),a=C(this,"message"),o=C(this,"ssfi");new b(n,a,o,!0).is.a("function");let i;t?(new b(e,a,o,!0).to.have.property(t),i=e[t]):(new b(e,a,o,!0).is.a("function"),i=e()),n();let s=t==null?e():e[t],u=t==null?i:"."+t;C(this,"deltaMsgObj",u),C(this,"initialDeltaValue",i),C(this,"finalDeltaValue",s),C(this,"deltaBehavior","change"),C(this,"realDelta",s!==i),this.assert(i!==s,"expected "+u+" to change","expected "+u+" to not change")}q(ma,"assertChanges");b.addMethod("change",ma);b.addMethod("changes",ma);function ha(e,t,r){r&&C(this,"message",r);let n=C(this,"object"),a=C(this,"message"),o=C(this,"ssfi");new b(n,a,o,!0).is.a("function");let i;t?(new b(e,a,o,!0).to.have.property(t),i=e[t]):(new b(e,a,o,!0).is.a("function"),i=e()),new b(i,a,o,!0).is.a("number"),n();let s=t==null?e():e[t],u=t==null?i:"."+t;C(this,"deltaMsgObj",u),C(this,"initialDeltaValue",i),C(this,"finalDeltaValue",s),C(this,"deltaBehavior","increase"),C(this,"realDelta",s-i),this.assert(s-i>0,"expected "+u+" to increase","expected "+u+" to not increase")}q(ha,"assertIncreases");b.addMethod("increase",ha);b.addMethod("increases",ha);function ba(e,t,r){r&&C(this,"message",r);let n=C(this,"object"),a=C(this,"message"),o=C(this,"ssfi");new b(n,a,o,!0).is.a("function");let i;t?(new b(e,a,o,!0).to.have.property(t),i=e[t]):(new b(e,a,o,!0).is.a("function"),i=e()),new b(i,a,o,!0).is.a("number"),n();let s=t==null?e():e[t],u=t==null?i:"."+t;C(this,"deltaMsgObj",u),C(this,"initialDeltaValue",i),C(this,"finalDeltaValue",s),C(this,"deltaBehavior","decrease"),C(this,"realDelta",i-s),this.assert(s-i<0,"expected "+u+" to decrease","expected "+u+" to not decrease")}q(ba,"assertDecreases");b.addMethod("decrease",ba);b.addMethod("decreases",ba);function Pi(e,t){t&&C(this,"message",t);let r=C(this,"deltaMsgObj"),n=C(this,"initialDeltaValue"),a=C(this,"finalDeltaValue"),o=C(this,"deltaBehavior"),i=C(this,"realDelta"),s;o==="change"?s=Math.abs(a-n)===Math.abs(e):s=i===Math.abs(e),this.assert(s,"expected "+r+" to "+o+" by "+e,"expected "+r+" to not "+o+" by "+e)}q(Pi,"assertDelta");b.addMethod("by",Pi);b.addProperty("extensible",function(){let e=C(this,"object"),t=e===Object(e)&&Object.isExtensible(e);this.assert(t,"expected #{this} to be extensible","expected #{this} to not be extensible")});b.addProperty("sealed",function(){let e=C(this,"object"),t=e===Object(e)?Object.isSealed(e):!0;this.assert(t,"expected #{this} to be sealed","expected #{this} to not be sealed")});b.addProperty("frozen",function(){let e=C(this,"object"),t=e===Object(e)?Object.isFrozen(e):!0;this.assert(t,"expected #{this} to be frozen","expected #{this} to not be frozen")});b.addProperty("finite",function(e){let t=C(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 vr(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 vr(r,n)})}):!1:e instanceof Date?t instanceof Date?e.getTime()===t.getTime():!1:Object.keys(e).every(function(r){let n=e[r],a=t[r];return typeof n=="object"&&n!==null&&a!==null?vr(n,a):typeof n=="function"?n(a):a===n}):!1}q(vr,"compareSubset");b.addMethod("containSubset",function(e){const t=z(this,"object"),r=se.showDiff;this.assert(vr(e,t),"expected #{act} to contain subset #{exp}","expected #{act} to not contain subset #{exp}",e,t,r)});function jt(e,t){return new b(e,t)}q(jt,"expect");jt.fail=function(e,t,r,n){throw arguments.length<2&&(r=e,e=void 0),r=r||"expect.fail()",new X(r,{actual:e,expected:t,operator:n},jt.fail)};var qi={};kn(qi,{Should:()=>Ru,should:()=>qu});function va(){function e(){return this instanceof String||this instanceof Number||this instanceof Boolean||typeof Symbol=="function"&&this instanceof Symbol||typeof BigInt=="function"&&this instanceof BigInt?new b(this.valueOf(),null,e):new b(this,null,e)}q(e,"shouldGetter");function t(n){Object.defineProperty(this,"should",{value:n,enumerable:!0,configurable:!0,writable:!0})}q(t,"shouldSetter"),Object.defineProperty(Object.prototype,"should",{set:t,get:e,configurable:!0});let r={};return r.fail=function(n,a,o,i){throw arguments.length<2&&(o=n,n=void 0),o=o||"should.fail()",new X(o,{actual:n,expected:a,operator:i},r.fail)},r.equal=function(n,a,o){new b(n,o).to.equal(a)},r.Throw=function(n,a,o,i){new b(n,i).to.Throw(a,o)},r.exist=function(n,a){new b(n,a).to.exist},r.not={},r.not.equal=function(n,a,o){new b(n,o).to.not.equal(a)},r.not.Throw=function(n,a,o,i){new b(n,i).to.not.Throw(a,o)},r.not.exist=function(n,a){new b(n,a).to.not.exist},r.throw=r.Throw,r.not.throw=r.not.Throw,r}q(va,"loadShould");var qu=va,Ru=va;function h(e,t){new b(null,null,h,!0).assert(e,t,"[ negation message unavailable ]")}q(h,"assert");h.fail=function(e,t,r,n){throw arguments.length<2&&(r=e,e=void 0),r=r||"assert.fail()",new X(r,{actual:e,expected:t,operator:n},h.fail)};h.isOk=function(e,t){new b(e,t,h.isOk,!0).is.ok};h.isNotOk=function(e,t){new b(e,t,h.isNotOk,!0).is.not.ok};h.equal=function(e,t,r){let n=new b(e,r,h.equal,!0);n.assert(t==z(n,"object"),"expected #{this} to equal #{exp}","expected #{this} to not equal #{act}",t,e,!0)};h.notEqual=function(e,t,r){let n=new b(e,r,h.notEqual,!0);n.assert(t!=z(n,"object"),"expected #{this} to not equal #{exp}","expected #{this} to equal #{act}",t,e,!0)};h.strictEqual=function(e,t,r){new b(e,r,h.strictEqual,!0).to.equal(t)};h.notStrictEqual=function(e,t,r){new b(e,r,h.notStrictEqual,!0).to.not.equal(t)};h.deepEqual=h.deepStrictEqual=function(e,t,r){new b(e,r,h.deepEqual,!0).to.eql(t)};h.notDeepEqual=function(e,t,r){new b(e,r,h.notDeepEqual,!0).to.not.eql(t)};h.isAbove=function(e,t,r){new b(e,r,h.isAbove,!0).to.be.above(t)};h.isAtLeast=function(e,t,r){new b(e,r,h.isAtLeast,!0).to.be.least(t)};h.isBelow=function(e,t,r){new b(e,r,h.isBelow,!0).to.be.below(t)};h.isAtMost=function(e,t,r){new b(e,r,h.isAtMost,!0).to.be.most(t)};h.isTrue=function(e,t){new b(e,t,h.isTrue,!0).is.true};h.isNotTrue=function(e,t){new b(e,t,h.isNotTrue,!0).to.not.equal(!0)};h.isFalse=function(e,t){new b(e,t,h.isFalse,!0).is.false};h.isNotFalse=function(e,t){new b(e,t,h.isNotFalse,!0).to.not.equal(!1)};h.isNull=function(e,t){new b(e,t,h.isNull,!0).to.equal(null)};h.isNotNull=function(e,t){new b(e,t,h.isNotNull,!0).to.not.equal(null)};h.isNaN=function(e,t){new b(e,t,h.isNaN,!0).to.be.NaN};h.isNotNaN=function(e,t){new b(e,t,h.isNotNaN,!0).not.to.be.NaN};h.exists=function(e,t){new b(e,t,h.exists,!0).to.exist};h.notExists=function(e,t){new b(e,t,h.notExists,!0).to.not.exist};h.isUndefined=function(e,t){new b(e,t,h.isUndefined,!0).to.equal(void 0)};h.isDefined=function(e,t){new b(e,t,h.isDefined,!0).to.not.equal(void 0)};h.isCallable=function(e,t){new b(e,t,h.isCallable,!0).is.callable};h.isNotCallable=function(e,t){new b(e,t,h.isNotCallable,!0).is.not.callable};h.isObject=function(e,t){new b(e,t,h.isObject,!0).to.be.a("object")};h.isNotObject=function(e,t){new b(e,t,h.isNotObject,!0).to.not.be.a("object")};h.isArray=function(e,t){new b(e,t,h.isArray,!0).to.be.an("array")};h.isNotArray=function(e,t){new b(e,t,h.isNotArray,!0).to.not.be.an("array")};h.isString=function(e,t){new b(e,t,h.isString,!0).to.be.a("string")};h.isNotString=function(e,t){new b(e,t,h.isNotString,!0).to.not.be.a("string")};h.isNumber=function(e,t){new b(e,t,h.isNumber,!0).to.be.a("number")};h.isNotNumber=function(e,t){new b(e,t,h.isNotNumber,!0).to.not.be.a("number")};h.isNumeric=function(e,t){new b(e,t,h.isNumeric,!0).is.numeric};h.isNotNumeric=function(e,t){new b(e,t,h.isNotNumeric,!0).is.not.numeric};h.isFinite=function(e,t){new b(e,t,h.isFinite,!0).to.be.finite};h.isBoolean=function(e,t){new b(e,t,h.isBoolean,!0).to.be.a("boolean")};h.isNotBoolean=function(e,t){new b(e,t,h.isNotBoolean,!0).to.not.be.a("boolean")};h.typeOf=function(e,t,r){new b(e,r,h.typeOf,!0).to.be.a(t)};h.notTypeOf=function(e,t,r){new b(e,r,h.notTypeOf,!0).to.not.be.a(t)};h.instanceOf=function(e,t,r){new b(e,r,h.instanceOf,!0).to.be.instanceOf(t)};h.notInstanceOf=function(e,t,r){new b(e,r,h.notInstanceOf,!0).to.not.be.instanceOf(t)};h.include=function(e,t,r){new b(e,r,h.include,!0).include(t)};h.notInclude=function(e,t,r){new b(e,r,h.notInclude,!0).not.include(t)};h.deepInclude=function(e,t,r){new b(e,r,h.deepInclude,!0).deep.include(t)};h.notDeepInclude=function(e,t,r){new b(e,r,h.notDeepInclude,!0).not.deep.include(t)};h.nestedInclude=function(e,t,r){new b(e,r,h.nestedInclude,!0).nested.include(t)};h.notNestedInclude=function(e,t,r){new b(e,r,h.notNestedInclude,!0).not.nested.include(t)};h.deepNestedInclude=function(e,t,r){new b(e,r,h.deepNestedInclude,!0).deep.nested.include(t)};h.notDeepNestedInclude=function(e,t,r){new b(e,r,h.notDeepNestedInclude,!0).not.deep.nested.include(t)};h.ownInclude=function(e,t,r){new b(e,r,h.ownInclude,!0).own.include(t)};h.notOwnInclude=function(e,t,r){new b(e,r,h.notOwnInclude,!0).not.own.include(t)};h.deepOwnInclude=function(e,t,r){new b(e,r,h.deepOwnInclude,!0).deep.own.include(t)};h.notDeepOwnInclude=function(e,t,r){new b(e,r,h.notDeepOwnInclude,!0).not.deep.own.include(t)};h.match=function(e,t,r){new b(e,r,h.match,!0).to.match(t)};h.notMatch=function(e,t,r){new b(e,r,h.notMatch,!0).to.not.match(t)};h.property=function(e,t,r){new b(e,r,h.property,!0).to.have.property(t)};h.notProperty=function(e,t,r){new b(e,r,h.notProperty,!0).to.not.have.property(t)};h.propertyVal=function(e,t,r,n){new b(e,n,h.propertyVal,!0).to.have.property(t,r)};h.notPropertyVal=function(e,t,r,n){new b(e,n,h.notPropertyVal,!0).to.not.have.property(t,r)};h.deepPropertyVal=function(e,t,r,n){new b(e,n,h.deepPropertyVal,!0).to.have.deep.property(t,r)};h.notDeepPropertyVal=function(e,t,r,n){new b(e,n,h.notDeepPropertyVal,!0).to.not.have.deep.property(t,r)};h.ownProperty=function(e,t,r){new b(e,r,h.ownProperty,!0).to.have.own.property(t)};h.notOwnProperty=function(e,t,r){new b(e,r,h.notOwnProperty,!0).to.not.have.own.property(t)};h.ownPropertyVal=function(e,t,r,n){new b(e,n,h.ownPropertyVal,!0).to.have.own.property(t,r)};h.notOwnPropertyVal=function(e,t,r,n){new b(e,n,h.notOwnPropertyVal,!0).to.not.have.own.property(t,r)};h.deepOwnPropertyVal=function(e,t,r,n){new b(e,n,h.deepOwnPropertyVal,!0).to.have.deep.own.property(t,r)};h.notDeepOwnPropertyVal=function(e,t,r,n){new b(e,n,h.notDeepOwnPropertyVal,!0).to.not.have.deep.own.property(t,r)};h.nestedProperty=function(e,t,r){new b(e,r,h.nestedProperty,!0).to.have.nested.property(t)};h.notNestedProperty=function(e,t,r){new b(e,r,h.notNestedProperty,!0).to.not.have.nested.property(t)};h.nestedPropertyVal=function(e,t,r,n){new b(e,n,h.nestedPropertyVal,!0).to.have.nested.property(t,r)};h.notNestedPropertyVal=function(e,t,r,n){new b(e,n,h.notNestedPropertyVal,!0).to.not.have.nested.property(t,r)};h.deepNestedPropertyVal=function(e,t,r,n){new b(e,n,h.deepNestedPropertyVal,!0).to.have.deep.nested.property(t,r)};h.notDeepNestedPropertyVal=function(e,t,r,n){new b(e,n,h.notDeepNestedPropertyVal,!0).to.not.have.deep.nested.property(t,r)};h.lengthOf=function(e,t,r){new b(e,r,h.lengthOf,!0).to.have.lengthOf(t)};h.hasAnyKeys=function(e,t,r){new b(e,r,h.hasAnyKeys,!0).to.have.any.keys(t)};h.hasAllKeys=function(e,t,r){new b(e,r,h.hasAllKeys,!0).to.have.all.keys(t)};h.containsAllKeys=function(e,t,r){new b(e,r,h.containsAllKeys,!0).to.contain.all.keys(t)};h.doesNotHaveAnyKeys=function(e,t,r){new b(e,r,h.doesNotHaveAnyKeys,!0).to.not.have.any.keys(t)};h.doesNotHaveAllKeys=function(e,t,r){new b(e,r,h.doesNotHaveAllKeys,!0).to.not.have.all.keys(t)};h.hasAnyDeepKeys=function(e,t,r){new b(e,r,h.hasAnyDeepKeys,!0).to.have.any.deep.keys(t)};h.hasAllDeepKeys=function(e,t,r){new b(e,r,h.hasAllDeepKeys,!0).to.have.all.deep.keys(t)};h.containsAllDeepKeys=function(e,t,r){new b(e,r,h.containsAllDeepKeys,!0).to.contain.all.deep.keys(t)};h.doesNotHaveAnyDeepKeys=function(e,t,r){new b(e,r,h.doesNotHaveAnyDeepKeys,!0).to.not.have.any.deep.keys(t)};h.doesNotHaveAllDeepKeys=function(e,t,r){new b(e,r,h.doesNotHaveAllDeepKeys,!0).to.not.have.all.deep.keys(t)};h.throws=function(e,t,r,n){return(typeof t=="string"||t instanceof RegExp)&&(r=t,t=null),z(new b(e,n,h.throws,!0).to.throw(t,r),"object")};h.doesNotThrow=function(e,t,r,n){(typeof t=="string"||t instanceof RegExp)&&(r=t,t=null),new b(e,n,h.doesNotThrow,!0).to.not.throw(t,r)};h.operator=function(e,t,r,n){let a;switch(t){case"==":a=e==r;break;case"===":a=e===r;break;case">":a=e>r;break;case">=":a=e>=r;break;case"<":a=e<r;break;case"<=":a=e<=r;break;case"!=":a=e!=r;break;case"!==":a=e!==r;break;default:throw n=n&&n+": ",new X(n+'Invalid operator "'+t+'"',void 0,h.operator)}let o=new b(a,n,h.operator,!0);o.assert(z(o,"object")===!0,"expected "+K(e)+" to be "+t+" "+K(r),"expected "+K(e)+" to not be "+t+" "+K(r))};h.closeTo=function(e,t,r,n){new b(e,n,h.closeTo,!0).to.be.closeTo(t,r)};h.approximately=function(e,t,r,n){new b(e,n,h.approximately,!0).to.be.approximately(t,r)};h.sameMembers=function(e,t,r){new b(e,r,h.sameMembers,!0).to.have.same.members(t)};h.notSameMembers=function(e,t,r){new b(e,r,h.notSameMembers,!0).to.not.have.same.members(t)};h.sameDeepMembers=function(e,t,r){new b(e,r,h.sameDeepMembers,!0).to.have.same.deep.members(t)};h.notSameDeepMembers=function(e,t,r){new b(e,r,h.notSameDeepMembers,!0).to.not.have.same.deep.members(t)};h.sameOrderedMembers=function(e,t,r){new b(e,r,h.sameOrderedMembers,!0).to.have.same.ordered.members(t)};h.notSameOrderedMembers=function(e,t,r){new b(e,r,h.notSameOrderedMembers,!0).to.not.have.same.ordered.members(t)};h.sameDeepOrderedMembers=function(e,t,r){new b(e,r,h.sameDeepOrderedMembers,!0).to.have.same.deep.ordered.members(t)};h.notSameDeepOrderedMembers=function(e,t,r){new b(e,r,h.notSameDeepOrderedMembers,!0).to.not.have.same.deep.ordered.members(t)};h.includeMembers=function(e,t,r){new b(e,r,h.includeMembers,!0).to.include.members(t)};h.notIncludeMembers=function(e,t,r){new b(e,r,h.notIncludeMembers,!0).to.not.include.members(t)};h.includeDeepMembers=function(e,t,r){new b(e,r,h.includeDeepMembers,!0).to.include.deep.members(t)};h.notIncludeDeepMembers=function(e,t,r){new b(e,r,h.notIncludeDeepMembers,!0).to.not.include.deep.members(t)};h.includeOrderedMembers=function(e,t,r){new b(e,r,h.includeOrderedMembers,!0).to.include.ordered.members(t)};h.notIncludeOrderedMembers=function(e,t,r){new b(e,r,h.notIncludeOrderedMembers,!0).to.not.include.ordered.members(t)};h.includeDeepOrderedMembers=function(e,t,r){new b(e,r,h.includeDeepOrderedMembers,!0).to.include.deep.ordered.members(t)};h.notIncludeDeepOrderedMembers=function(e,t,r){new b(e,r,h.notIncludeDeepOrderedMembers,!0).to.not.include.deep.ordered.members(t)};h.oneOf=function(e,t,r){new b(e,r,h.oneOf,!0).to.be.oneOf(t)};h.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 X(t,void 0,h.isIterable)};h.changes=function(e,t,r,n){arguments.length===3&&typeof t=="function"&&(n=r,r=null),new b(e,n,h.changes,!0).to.change(t,r)};h.changesBy=function(e,t,r,n,a){if(arguments.length===4&&typeof t=="function"){let o=n;n=r,a=o}else arguments.length===3&&(n=r,r=null);new b(e,a,h.changesBy,!0).to.change(t,r).by(n)};h.doesNotChange=function(e,t,r,n){return arguments.length===3&&typeof t=="function"&&(n=r,r=null),new b(e,n,h.doesNotChange,!0).to.not.change(t,r)};h.changesButNotBy=function(e,t,r,n,a){if(arguments.length===4&&typeof t=="function"){let o=n;n=r,a=o}else arguments.length===3&&(n=r,r=null);new b(e,a,h.changesButNotBy,!0).to.change(t,r).but.not.by(n)};h.increases=function(e,t,r,n){return arguments.length===3&&typeof t=="function"&&(n=r,r=null),new b(e,n,h.increases,!0).to.increase(t,r)};h.increasesBy=function(e,t,r,n,a){if(arguments.length===4&&typeof t=="function"){let o=n;n=r,a=o}else arguments.length===3&&(n=r,r=null);new b(e,a,h.increasesBy,!0).to.increase(t,r).by(n)};h.doesNotIncrease=function(e,t,r,n){return arguments.length===3&&typeof t=="function"&&(n=r,r=null),new b(e,n,h.doesNotIncrease,!0).to.not.increase(t,r)};h.increasesButNotBy=function(e,t,r,n,a){if(arguments.length===4&&typeof t=="function"){let o=n;n=r,a=o}else arguments.length===3&&(n=r,r=null);new b(e,a,h.increasesButNotBy,!0).to.increase(t,r).but.not.by(n)};h.decreases=function(e,t,r,n){return arguments.length===3&&typeof t=="function"&&(n=r,r=null),new b(e,n,h.decreases,!0).to.decrease(t,r)};h.decreasesBy=function(e,t,r,n,a){if(arguments.length===4&&typeof t=="function"){let o=n;n=r,a=o}else arguments.length===3&&(n=r,r=null);new b(e,a,h.decreasesBy,!0).to.decrease(t,r).by(n)};h.doesNotDecrease=function(e,t,r,n){return arguments.length===3&&typeof t=="function"&&(n=r,r=null),new b(e,n,h.doesNotDecrease,!0).to.not.decrease(t,r)};h.doesNotDecreaseBy=function(e,t,r,n,a){if(arguments.length===4&&typeof t=="function"){let o=n;n=r,a=o}else arguments.length===3&&(n=r,r=null);return new b(e,a,h.doesNotDecreaseBy,!0).to.not.decrease(t,r).by(n)};h.decreasesButNotBy=function(e,t,r,n,a){if(arguments.length===4&&typeof t=="function"){let o=n;n=r,a=o}else arguments.length===3&&(n=r,r=null);new b(e,a,h.decreasesButNotBy,!0).to.decrease(t,r).but.not.by(n)};h.ifError=function(e){if(e)throw e};h.isExtensible=function(e,t){new b(e,t,h.isExtensible,!0).to.be.extensible};h.isNotExtensible=function(e,t){new b(e,t,h.isNotExtensible,!0).to.not.be.extensible};h.isSealed=function(e,t){new b(e,t,h.isSealed,!0).to.be.sealed};h.isNotSealed=function(e,t){new b(e,t,h.isNotSealed,!0).to.not.be.sealed};h.isFrozen=function(e,t){new b(e,t,h.isFrozen,!0).to.be.frozen};h.isNotFrozen=function(e,t){new b(e,t,h.isNotFrozen,!0).to.not.be.frozen};h.isEmpty=function(e,t){new b(e,t,h.isEmpty,!0).to.be.empty};h.isNotEmpty=function(e,t){new b(e,t,h.isNotEmpty,!0).to.not.be.empty};h.containsSubset=function(e,t,r){new b(e,r).to.containSubset(t)};h.doesNotContainSubset=function(e,t,r){new b(e,r).to.not.containSubset(t)};for(const[e,t]of[["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"]])h[t]=h[e];var Va=[];function Ri(e){const t={use:Ri,AssertionError:X,util:dr,config:se,expect:jt,assert:h,Assertion:b,...qi};return~Va.indexOf(e)||(e(t,dr),Va.push(e)),t}q(Ri,"use");var Tu={animation:"spin 1s linear infinite"},Su=()=>(0,j.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"var(--twd-icon-color-secondary)",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:"lucide lucide-loader-circle-icon lucide-loader-circle",style:Tu,"data-testid":"loader-icon",children:(0,j.jsx)("path",{d:"M21 12a9 9 0 1 1-6.219-8.56"})}),Qt=document.createElement("style");Qt&&!document.getElementById("loader-spin-keyframes")&&(Qt.id="loader-spin-keyframes",Qt.innerHTML=`
|
|
20
20
|
@keyframes spin {
|
|
21
21
|
0% { transform: rotate(0deg); }
|
|
22
22
|
100% { transform: rotate(360deg); }
|
|
23
23
|
}
|
|
24
|
-
`,document.head.appendChild(Jt));var Lr=({className:e,children:t,dataTestId:r})=>(0,j.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"var(--twd-icon-color)",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:`lucide ${e}`,"data-testid":r,children:t}),Su=()=>(0,j.jsx)(Lr,{className:"lucide-play-icon lucide-play",dataTestId:"play-icon",children:(0,j.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"})}),Ti=({id:e,name:t,skip:r,only:n})=>(0,j.jsxs)(j.Fragment,{children:[t," ",n&&(0,j.jsxs)("span",{style:{color:"var(--twd-primary)"},"data-testid":`only-indicator-${e}`,children:[" ","(only)"]}),r&&(0,j.jsxs)("span",{style:{color:"var(--twd-text-secondary)"},"data-testid":`skip-indicator-${e}`,children:[" ","(skipped)"]})]}),Oe=(function(e){return e.CHAI_DIFF="chai-diff",e.CHAI_MESSAGE="chai-message",e.ERROR="error",e})({}),xu=e=>{try{const t=JSON.parse(e);if(t&&typeof t=="object"&&"type"in t)return t}catch{}return null},Ha=e=>{if(e===null)return"null";if(e===void 0)return"undefined";if(typeof e=="string")return e;if(typeof e=="object")try{return JSON.stringify(e,null,2)}catch{return String(e)}return String(e)},Ou=e=>e.startsWith("Assertion passed")||e.startsWith("Event fired")?{color:"var(--twd-success)",fontWeight:"var(--twd-font-weight-bold)"}:e.startsWith("Test failed")?{color:"var(--twd-error)",fontWeight:"var(--twd-font-weight-bold)"}:{},Mu=e=>e.type===Oe.CHAI_MESSAGE||e.type===Oe.ERROR,Au=(e,t)=>t&&Mu(t)?t.message:e,Iu=({log:e,index:t})=>{const r=xu(e);if(r?.type===Oe.CHAI_DIFF)return(0,j.jsxs)("li",{style:{fontSize:"var(--twd-font-size-sm)",padding:"var(--twd-spacing-sm)",borderBottom:"1px solid var(--twd-border-light)",color:"var(--twd-text)"},children:[(0,j.jsx)("div",{style:{color:"var(--twd-error)",fontWeight:"var(--twd-font-weight-bold)",marginBottom:"var(--twd-spacing-xs)"},children:"❌ Assertion failed"}),(0,j.jsxs)("div",{style:{marginTop:"var(--twd-spacing-xs)",paddingLeft:"var(--twd-spacing-sm)",borderLeft:"2px solid var(--twd-success)"},children:[(0,j.jsx)("div",{style:{color:"var(--twd-success)",fontWeight:"var(--twd-font-weight-medium)",marginBottom:"var(--twd-spacing-xs)"},children:"Expected:"}),(0,j.jsx)("pre",{style:{margin:0,padding:"var(--twd-spacing-xs)",background:"var(--twd-background)",borderRadius:"var(--twd-border-radius)",fontSize:"var(--twd-font-size-xs)",overflowX:"auto",whiteSpace:"pre-wrap",wordBreak:"break-word"},children:Ha(r.expected)})]}),(0,j.jsxs)("div",{style:{marginTop:"var(--twd-spacing-xs)",paddingLeft:"var(--twd-spacing-sm)",borderLeft:"2px solid var(--twd-error)"},children:[(0,j.jsx)("div",{style:{color:"var(--twd-error)",fontWeight:"var(--twd-font-weight-medium)",marginBottom:"var(--twd-spacing-xs)"},children:"Actual:"}),(0,j.jsx)("pre",{style:{margin:0,padding:"var(--twd-spacing-xs)",background:"var(--twd-background)",borderRadius:"var(--twd-border-radius)",fontSize:"var(--twd-font-size-xs)",overflowX:"auto",whiteSpace:"pre-wrap",wordBreak:"break-word"},children:Ha(r.actual)})]})]},t);const n=Au(e,r);return(0,j.jsx)("li",{style:{fontSize:"var(--twd-font-size-sm)",padding:"var(--twd-spacing-xs) var(--twd-spacing-sm)",borderBottom:"1px solid var(--twd-border-light)",color:"var(--twd-text)",...Ou(n)},children:n},t)},qt={container:{marginBottom:"var(--twd-spacing-xs)"},item:{display:"flex",alignItems:"left",justifyContent:"space-between",padding:"var(--twd-spacing-sm) var(--twd-spacing-sm)",borderRadius:"var(--twd-border-radius)"},nameSpan:{fontWeight:"var(--twd-font-weight-medium)",fontSize:"var(--twd-font-size-md)",color:"var(--twd-text)",maxWidth:"220px"},button:{background:"transparent",border:"1px solid var(--twd-border-light)",borderRadius:"var(--twd-border-radius)",padding:"0",cursor:"pointer",verticalAlign:"middle",fontSize:"var(--twd-font-size-sm)",width:"24px",height:"24px",display:"flex",alignItems:"center",justifyContent:"center"},logsList:{borderRadius:"var(--twd-border-radius)",maxHeight:"260px",overflowY:"auto",padding:0,background:"var(--twd-background-secondary)",listStyle:"none",marginTop:"var(--twd-spacing-xs)",textAlign:"left"}},Nu=e=>{switch(e.status){case"pass":return{item:{background:"var(--twd-success-bg)"},container:{borderLeft:"3px solid var(--twd-success)"}};case"fail":return{item:{background:"var(--twd-error-bg)"},container:{borderLeft:"3px solid var(--twd-error)"}};case"skip":return{item:{background:"var(--twd-skip-bg)"}};case"running":return{item:{background:"var(--twd-warning-bg)"}};default:return{item:{background:"transparent"}}}},ku=({node:e,depth:t,id:r,runTest:n})=>{const a=(0,re.useRef)(null),o=(0,re.useRef)(e.status),i=(0,re.useRef)(e.logs?.length||0),s=(0,re.useMemo)(()=>Nu(e),[e.status]),u=typeof window<"u"&&sessionStorage.getItem("twd-last-run-test-name")===e.name,l=(0,re.useMemo)(()=>({...qt.container,marginLeft:`calc(${t} * var(--twd-spacing-sm))`,...s.container||{}}),[t,s]),c=(0,re.useMemo)(()=>({...qt.item,...s.item,...u&&{border:"1px dashed var(--twd-border)"}}),[s,u]);(0,re.useEffect)(()=>{const p=a.current;if(!p||!e.logs||e.logs.length===0)return;const f=o.current==="running"&&(e.status==="pass"||e.status==="fail"),g=e.logs.length>i.current;(f||g)&&setTimeout(()=>{p.scrollTop=p.scrollHeight},0),o.current=e.status,i.current=e.logs.length},[e.status,e.logs]);const d=()=>{switch(e.status){case"pass":return"passed";case"fail":return"failed";case"running":return"running";case"skip":return"skipped";default:return"not run"}};return(0,j.jsxs)("li",{style:l,"data-testid":`test-list-item-${r}`,"data-test-name":e.name,role:"listitem","aria-label":`Test ${e.name}, status: ${d()}`,children:[(0,j.jsxs)("div",{style:c,children:[(0,j.jsx)("span",{style:qt.nameSpan,children:(0,j.jsx)(Ti,{id:r,name:e.name,skip:e.skip,only:e.only})}),(0,j.jsx)("button",{onClick:()=>n(r),"aria-label":`Run ${e.name} test`,style:qt.button,disabled:e.status==="running","data-testid":`run-test-button-${r}`,children:e.status==="running"?(0,j.jsx)(Tu,{}):(0,j.jsx)(Su,{})})]}),e.logs&&e.logs.length>0&&(0,j.jsx)("ul",{ref:a,style:qt.logsList,children:e.logs.map((p,f)=>(0,j.jsx)(Iu,{log:p,index:f},f))})]},e.name)},ju=()=>(0,j.jsx)(Lr,{className:"lucide-chevron-down-icon lucide-chevron-down",dataTestId:"chevron-down-icon",children:(0,j.jsx)("path",{d:"m6 9 6 6 6-6"})}),Du=()=>(0,j.jsx)(Lr,{className:"lucide-chevron-right-icon lucide-chevron-right",dataTestId:"chevron-right-icon",children:(0,j.jsx)("path",{d:"m9 18 6-6-6-6"})}),Lu=({roots:e,runTest:t,searchQuery:r=""})=>{const[n,a]=(0,re.useState)({}),o=(0,re.useRef)(null),i=(0,re.useRef)(!1),s=l=>a(c=>({...c,[l]:!c[l]}));(0,re.useEffect)(()=>{if(i.current)return;const l=sessionStorage.getItem("twd-last-run-test-name");if(!l)return;const c=setTimeout(()=>{const d=document.querySelector(`[data-test-name="${l}"]`);if(d){const p=o.current?.closest('[data-testid="twd-sidebar"]');if(p){const f=d.getBoundingClientRect(),g=p.getBoundingClientRect(),v=p.scrollTop,S=f.top-g.top+v,y=p.querySelector('[data-testid="twd-sidebar-header"]'),w=y?y.getBoundingClientRect().height+16:150;p.scrollTo({top:S-w,behavior:"smooth"})}i.current=!0}},100);return()=>clearTimeout(c)},[]);const u=(l,c=0)=>{if(l.type==="test")return(0,j.jsx)(ku,{node:l,depth:c,id:l.id,runTest:()=>t(l.id)},l.id);const d=n[l.id];return(0,j.jsxs)("li",{style:{marginLeft:`calc(${c} * var(--twd-spacing-lg))`},children:[(0,j.jsx)("div",{style:{background:"var(--twd-describe-bg)",borderLeft:"3px solid var(--twd-describe-border)",borderRadius:"var(--twd-border-radius)",padding:"var(--twd-spacing-xs) var(--twd-spacing-sm)",marginBottom:"var(--twd-spacing-sm)"},children:(0,j.jsxs)("span",{style:{fontWeight:"var(--twd-font-weight-medium)",fontSize:"var(--twd-font-size-sm)",cursor:"pointer",color:"var(--twd-describe-text)",display:"flex",alignItems:"center",justifyContent:"space-between",gap:"var(--twd-spacing-sm)",textTransform:"uppercase",letterSpacing:"0.05em"},"data-testid":`test-group-${l.name}`,tabIndex:0,role:"button","aria-expanded":!d,"aria-label":`${d?"Expand":"Collapse"} test suite ${l.name}`,onClick:()=>s(l.id),children:[(0,j.jsx)(Ti,{id:l.id,name:l.name,skip:l.skip,only:l.only}),d?(0,j.jsx)(Du,{}):(0,j.jsx)(ju,{})]})}),!d&&l.childrenNodes&&l.childrenNodes.length>0&&(0,j.jsx)("ul",{style:{listStyle:"none",padding:0,margin:0},children:l.childrenNodes.map(p=>u(p,c+1))})]},l.id)};return(0,j.jsx)("ul",{ref:o,style:{listStyle:"none",padding:0,margin:0},role:"list","aria-label":"Test list",children:e.length===0&&r?(0,j.jsxs)("li",{style:{padding:"var(--twd-spacing-md)",color:"var(--twd-text-secondary)",fontSize:"var(--twd-font-size-sm)",textAlign:"center"},children:['No tests match "',r,'"']}):e.map(l=>u(l))})},Bu={left:{left:0,borderTopRightRadius:"var(--twd-border-radius-lg)",borderBottomRightRadius:"var(--twd-border-radius-lg)",borderTopLeftRadius:"0",borderBottomLeftRadius:"0"},right:{right:0,borderTopLeftRadius:"var(--twd-border-radius-lg)",borderBottomLeftRadius:"var(--twd-border-radius-lg)",borderTopRightRadius:"0",borderBottomRightRadius:"0"}},$u=({setOpen:e,position:t})=>(0,j.jsx)("button",{"aria-label":"Open TWD sidebar",style:{position:"fixed",top:"50%",transform:"translateY(-50%)",zIndex:"var(--twd-z-index-sidebar)",background:"var(--twd-button-primary)",color:"var(--twd-button-primary-text)",padding:"var(--twd-spacing-sm) 10px",cursor:"pointer",fontSize:"var(--twd-font-size-sm)",...Bu[t]},onClick:()=>e(!0),children:"TWD"}),Fu=({isOpen:e,position:t})=>{(0,re.useEffect)(()=>{const r=document.documentElement,n=getComputedStyle(document.documentElement).getPropertyValue("--twd-sidebar-width")||"280px";return e?t==="left"?r.style.marginLeft=n:r.style.marginRight=n:(r.style.marginRight="0",r.style.marginLeft="0"),()=>{r.style.marginRight="0",r.style.marginLeft="0"}},[e,t])},Uu=()=>(0,j.jsxs)(Lr,{className:"lucide-wifi-pen-icon lucide-wifi-pen",dataTestId:"wifi-pen-icon",children:[(0,j.jsx)("path",{d:"M2 8.82a15 15 0 0 1 20 0"}),(0,j.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"}),(0,j.jsx)("path",{d:"M5 12.859a10 10 0 0 1 10.5-2.222"}),(0,j.jsx)("path",{d:"M8.5 16.429a5 5 0 0 1 3-1.406"})]}),zu=()=>{const e=So(),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(0,j.jsxs)("button",{onClick:r,"aria-label":"View mock rules details in console",style:{background:"var(--twd-button-secondary)",border:"1px solid var(--twd-button-border)",borderRadius:"var(--twd-border-radius-lg)",padding:"var(--twd-spacing-md) var(--twd-spacing-lg)",cursor:"pointer",fontSize:"var(--twd-font-size-sm)",color:"var(--twd-button-secondary-text)",display:"flex",alignItems:"center",gap:"var(--twd-spacing-md)",marginBottom:"10px",width:"100%",textAlign:"left",transition:"all var(--twd-animation-duration) ease",boxShadow:"var(--twd-shadow-sm)"},children:[(0,j.jsx)(Uu,{}),(0,j.jsxs)("span",{style:{flex:1},children:["Rules: ",t.length,"/",e.length," triggered"]}),(0,j.jsx)("span",{style:{fontSize:"var(--twd-font-size-xs)",color:"var(--twd-text)",fontWeight:"var(--twd-font-weight-medium)"},children:"View rules in console"})]})},Vu=e=>e instanceof Error&&"actual"in e&&"expected"in e,Si=e=>e.actual!==void 0&&e.expected!==void 0?{type:"diff",actual:e.actual,expected:e.expected,operator:e.operator}:{type:"message",message:e.message},Hu=e=>{const t=Si(e);if(t.type==="diff"){const r=t.operator||"unknown";console.error(`Assertion failed with operator: ${r}`),console.group("Expected:"),console.log(t.expected),console.groupEnd(),console.group("Actual:"),console.log(t.actual),console.groupEnd()}else console.error(t.message)},Wu=e=>{if(e.status==="pass")return`Test "${e.name}" passed.`;if(e.status==="fail"){if(!e.logs||e.logs.length===0)return`Test "${e.name}" failed.`;const t=e.logs[e.logs.length-1];try{const r=JSON.parse(t);return r.type===Oe.CHAI_MESSAGE||r.type===Oe.ERROR?`Test "${e.name}" failed. ${r.message}`:r.type===Oe.CHAI_DIFF?`Test "${e.name}" failed. Expected value does not match actual value.`:`Test "${e.name}" failed.`}catch{return`Test "${e.name}" failed. ${t}`}}else if(e.status==="skip")return`Test "${e.name}" skipped.`;return""},Ku=e=>{const t=e.filter(i=>i.type==="test"),r=t.filter(i=>i.status==="pass").length,n=t.filter(i=>i.status==="fail").length,a=t.filter(i=>i.status==="skip").length,o=[];return n>0?(o.push("Test run completed."),o.push(`${r} test${r!==1?"s":""} passed`),o.push(`${n} test${n!==1?"s":""} failed`),a>0&&o.push(`${a} test${a!==1?"s":""} skipped`),o.join(", ")+"."):(o.push("All tests passed."),o.push(`${r} test${r!==1?"s":""} completed`),a>0&&o.push(`${a} test${a!==1?"s":""} skipped`),o.join(", ")+".")},Gu=({value:e,onChange:t})=>(0,j.jsx)("div",{style:{position:"relative",marginBottom:"var(--twd-spacing-md)"},children:(0,j.jsx)("input",{type:"search",id:"twd-search-input","aria-label":"Filter tests",placeholder:"Filter tests...",value:e,onInput:r=>t(r.target.value),style:{width:"100%",padding:"var(--twd-spacing-md)",background:"var(--twd-background)",color:"var(--twd-text)",border:"1px solid var(--twd-border)",borderRadius:"var(--twd-border-radius)",fontSize:"var(--twd-font-size-md)",boxSizing:"border-box",outline:"none"}})}),Yu=(e,t)=>{if(!t.trim())return e;const r=t.toLowerCase(),n=a=>{const o=a.name.toLowerCase().includes(r);if(a.type==="test")return o?a:null;const i=(a.childrenNodes||[]).map(n).filter(s=>s!==null);return o||i.length>0?{...a,childrenNodes:o?a.childrenNodes:i}:null};return e.map(n).filter(a=>a!==null)},Xu=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},Ju={left:{left:0,borderRight:"1px solid var(--twd-border)"},right:{right:0,borderLeft:"1px solid var(--twd-border)"}},Qu='-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"',Zu=e=>e?sessionStorage.getItem("twd-search-filter")||"":(sessionStorage.removeItem("twd-search-filter"),""),ec=e=>sessionStorage.getItem("twd-sidebar-open")?sessionStorage.getItem("twd-sidebar-open")==="true":e,xi=e=>{const t=[];for(const r of e)r.type==="test"&&t.push(r.id),r.childrenNodes&&t.push(...xi(r.childrenNodes));return t},tc=({open:e,position:t="left",search:r})=>{const[n,a]=(0,re.useState)(0),[o,i]=(0,re.useState)(ec(e));Fu({isOpen:o,position:t});const[s,u]=(0,re.useState)(""),[l,c]=(0,re.useState)(Zu(r));(0,re.useEffect)(()=>{const E=()=>a(m=>m+1);return window.addEventListener("twd:state-change",E),()=>window.removeEventListener("twd:state-change",E)},[]);const d=new Mt.TestRunner({onStart:E=>{E.status="running",a(m=>m+1)},onPass:E=>{E.status="pass",a(m=>m+1)},onFail:(E,m)=>{if(E.status="fail",console.group(`%c❌ Test failed: ${E.name}`,"color: red; font-weight: bold;"),Vu(m)){Hu(m);const _=Si(m);_.type==="diff"?E.logs.push(JSON.stringify({type:Oe.CHAI_DIFF,expected:_.expected,actual:_.actual})):E.logs.push(JSON.stringify({type:Oe.CHAI_MESSAGE,message:`Test failed: ${_.message}`}))}else console.error(m.message),E.logs.push(JSON.stringify({type:Oe.ERROR,message:`Test failed: ${m.message}`}));console.groupEnd(),a(_=>_+1)},onSkip:E=>{E.status="skip",a(m=>m+1)}}),p=E=>{c(E),E?sessionStorage.setItem("twd-search-filter",E):sessionStorage.removeItem("twd-search-filter")},f=E=>{i(E),sessionStorage.setItem("twd-sidebar-open",E.toString())},g=Array.from(Mt.handlers.values()),v=(0,re.useMemo)(()=>Xu(g),[n]),S=(0,re.useMemo)(()=>Yu(v,l),[v,l]),{filteredTestIds:y,displayTests:w}=(0,re.useMemo)(()=>{if(l){const E=xi(S),m=new Set(E);return{filteredTestIds:E,displayTests:g.filter(_=>_.type==="test"&&m.has(_.id))}}return{filteredTestIds:null,displayTests:g.filter(E=>E.type==="test")}},[S,l,n]),x=async()=>{u(""),sessionStorage.removeItem("twd-last-run-test-name"),y?await d.runByIds(y):await d.runAll(),u(Ku(g))},M=async E=>{const m=Array.from(Mt.handlers.values()).filter(_=>_.type==="test").find(_=>_.id===E);m&&(u(""),sessionStorage.setItem("twd-last-run-test-name",m.name),await d.runSingle(m.id),u(Wu(m)))};if(!o)return(0,j.jsx)($u,{position:t,setOpen:f});const A=w.length;return(0,j.jsxs)("div",{style:{fontFamily:Qu,position:"fixed",top:0,bottom:0,width:"var(--twd-sidebar-width)",background:"var(--twd-background)",fontSize:"var(--twd-font-size-md)",overflowY:"auto",boxShadow:"var(--twd-shadow)",textAlign:"left",zIndex:"var(--twd-z-index-sidebar)",pointerEvents:"all",isolation:"isolate",...Ju[t]},"data-testid":"twd-sidebar",role:"complementary","aria-label":"Test While Developing sidebar",children:[(0,j.jsx)("div",{"aria-live":"polite","aria-atomic":"true",style:{position:"absolute",width:"1px",height:"1px",margin:"-1px",border:"0",padding:"0",overflow:"hidden",clip:"rect(0 0 0 0)"},children:s}),(0,j.jsxs)("div",{"data-testid":"twd-sidebar-header",style:{padding:"var(--twd-spacing-md)",background:"var(--twd-background)",position:"sticky",top:0,zIndex:"var(--twd-z-index-sticky)",borderBottom:"1px solid var(--twd-border)"},children:[(0,j.jsxs)("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center",marginBottom:"var(--twd-spacing-xl)"},children:[(0,j.jsxs)("div",{style:{display:"flex",gap:"var(--twd-spacing-xs)"},children:[(0,j.jsx)("button",{onClick:x,style:{background:"var(--twd-button-primary)",color:"var(--twd-button-primary-text)",padding:"var(--twd-spacing-xs) var(--twd-spacing-md)",borderRadius:"var(--twd-border-radius)",border:"none",cursor:"pointer"},children:(0,j.jsx)("span",{"aria-live":"polite",children:l?"Run Filtered":"Run All"})}),(0,j.jsx)("button",{onClick:()=>{xo(),tn.clearComponentMocks()},"aria-label":"Clear all mocks",style:{background:"var(--twd-button-secondary)",color:"var(--twd-button-secondary-text)",padding:"var(--twd-spacing-xs) var(--twd-spacing-md)",borderRadius:"var(--twd-border-radius)",border:"1px solid var(--twd-button-border)",cursor:"pointer"},children:"Clear mocks"}),(0,j.jsxs)("span",{style:{color:"var(--twd-text-secondary)",fontSize:"var(--twd-font-size-sm)",alignSelf:"center"},children:["v",Rr]})]}),(0,j.jsx)("button",{"aria-label":"Close sidebar",style:{background:"transparent",border:"none",cursor:"pointer",fontSize:"var(--twd-font-size-md)",paddingRight:"0",paddingLeft:"0"},onClick:()=>f(!1),children:"✖"})]}),(0,j.jsxs)("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center",fontSize:"var(--twd-font-size-md)",color:"var(--twd-text-secondary)",marginBottom:"10px"},children:[(0,j.jsxs)("span",{style:{color:"var(--twd-text)"},children:["Total: ",A]}),(0,j.jsxs)("div",{style:{display:"flex",gap:"var(--twd-spacing-xs)"},children:[(0,j.jsxs)("span",{style:{color:"var(--twd-success)"},children:["✓ ",w.filter(E=>E.status==="pass").length]}),(0,j.jsxs)("span",{style:{color:"var(--twd-error)"},children:["✗ ",w.filter(E=>E.status==="fail").length]})]})]}),(0,j.jsx)(zu,{}),r&&(0,j.jsx)(Gu,{value:l,onChange:p})]}),(0,j.jsx)("div",{style:{padding:"var(--twd-spacing-md)"},children:(0,j.jsx)(Lu,{roots:S,runTest:M,searchQuery:l})})]})},Oi={primary:"#2563eb",background:"#1e293b",backgroundSecondary:"#182130",border:"#475569",borderLight:"#64748b",text:"#f1f5f9",textSecondary:"#cbd5e1",textMuted:"#94a3b8",describeBg:"#0f172a",describeText:"#94a3b8",describeBorder:"#334155",success:"#22c55e",successBg:"#14532d",error:"#ff5252",errorBg:"#7f1d1d",warning:"#fbbf24",warningBg:"#78350f",skip:"#475569",skipBg:"#334155",buttonPrimary:"#2563eb",buttonPrimaryText:"#ffffff",buttonSecondary:"#334155",buttonSecondaryText:"#f1f5f9",buttonBorder:"#475569",spacingXs:"4px",spacingSm:"6px",spacingMd:"8px",spacingLg:"12px",spacingXl:"14px",fontSizeXs:"10px",fontSizeSm:"12px",fontSizeMd:"14px",fontSizeLg:"16px",fontWeightNormal:"400",fontWeightMedium:"500",fontWeightBold:"700",sidebarWidth:"320px",borderRadius:"8px",borderRadiusLg:"6px",shadow:"2px 0 8px rgba(0,0,0,0.3)",shadowSm:"0 2px 4px rgba(0, 0, 0, 0.2)",zIndexSidebar:"99999",zIndexSticky:"100000",animationDuration:"0.2s",iconColor:"#f1f5f9",iconColorSecondary:"#cbd5e1"};function rc(e={}){const t={...Oi,...e};return Object.entries(t).map(([r,n])=>`${`--twd-${r.replace(/([A-Z])/g,"-$1").toLowerCase()}`}: ${n};`).join(`
|
|
25
|
-
`)}function Mi(e){const t="twd-theme-variables";let r=document.getElementById(t);r||(r=document.createElement("style"),r.id=t,document.head.appendChild(r));const n=
|
|
24
|
+
`,document.head.appendChild(Qt));var Br=({className:e,children:t,dataTestId:r})=>(0,j.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"var(--twd-icon-color)",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:`lucide ${e}`,"data-testid":r,children:t}),xu=()=>(0,j.jsx)(Br,{className:"lucide-play-icon lucide-play",dataTestId:"play-icon",children:(0,j.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"})}),Ti=({id:e,name:t,skip:r,only:n})=>(0,j.jsxs)(j.Fragment,{children:[t," ",n&&(0,j.jsxs)("span",{style:{color:"var(--twd-primary)"},"data-testid":`only-indicator-${e}`,children:[" ","(only)"]}),r&&(0,j.jsxs)("span",{style:{color:"var(--twd-text-secondary)"},"data-testid":`skip-indicator-${e}`,children:[" ","(skipped)"]})]}),Oe=(function(e){return e.CHAI_DIFF="chai-diff",e.CHAI_MESSAGE="chai-message",e.ERROR="error",e})({}),Ou=e=>{try{const t=JSON.parse(e);if(t&&typeof t=="object"&&"type"in t)return t}catch{}return null},Ha=e=>{if(e===null)return"null";if(e===void 0)return"undefined";if(typeof e=="string")return e;if(typeof e=="object")try{return JSON.stringify(e,null,2)}catch{return String(e)}return String(e)},Mu=e=>e.startsWith("Assertion passed")||e.startsWith("Event fired")?{color:"var(--twd-success)",fontWeight:"var(--twd-font-weight-bold)"}:e.startsWith("Test failed")?{color:"var(--twd-error)",fontWeight:"var(--twd-font-weight-bold)"}:{},Au=e=>e.type===Oe.CHAI_MESSAGE||e.type===Oe.ERROR,Iu=(e,t)=>t&&Au(t)?t.message:e,Nu=({log:e,index:t})=>{const r=Ou(e);if(r?.type===Oe.CHAI_DIFF)return(0,j.jsxs)("li",{style:{fontSize:"var(--twd-font-size-sm)",padding:"var(--twd-spacing-sm)",borderBottom:"1px solid var(--twd-border-light)",color:"var(--twd-text)"},children:[(0,j.jsx)("div",{style:{color:"var(--twd-error)",fontWeight:"var(--twd-font-weight-bold)",marginBottom:"var(--twd-spacing-xs)"},children:"❌ Assertion failed"}),(0,j.jsxs)("div",{style:{marginTop:"var(--twd-spacing-xs)",paddingLeft:"var(--twd-spacing-sm)",borderLeft:"2px solid var(--twd-success)"},children:[(0,j.jsx)("div",{style:{color:"var(--twd-success)",fontWeight:"var(--twd-font-weight-medium)",marginBottom:"var(--twd-spacing-xs)"},children:"Expected:"}),(0,j.jsx)("pre",{style:{margin:0,padding:"var(--twd-spacing-xs)",background:"var(--twd-background)",borderRadius:"var(--twd-border-radius)",fontSize:"var(--twd-font-size-xs)",overflowX:"auto",whiteSpace:"pre-wrap",wordBreak:"break-word"},children:Ha(r.expected)})]}),(0,j.jsxs)("div",{style:{marginTop:"var(--twd-spacing-xs)",paddingLeft:"var(--twd-spacing-sm)",borderLeft:"2px solid var(--twd-error)"},children:[(0,j.jsx)("div",{style:{color:"var(--twd-error)",fontWeight:"var(--twd-font-weight-medium)",marginBottom:"var(--twd-spacing-xs)"},children:"Actual:"}),(0,j.jsx)("pre",{style:{margin:0,padding:"var(--twd-spacing-xs)",background:"var(--twd-background)",borderRadius:"var(--twd-border-radius)",fontSize:"var(--twd-font-size-xs)",overflowX:"auto",whiteSpace:"pre-wrap",wordBreak:"break-word"},children:Ha(r.actual)})]})]},t);const n=Iu(e,r);return(0,j.jsx)("li",{style:{fontSize:"var(--twd-font-size-sm)",padding:"var(--twd-spacing-xs) var(--twd-spacing-sm)",borderBottom:"1px solid var(--twd-border-light)",color:"var(--twd-text)",...Mu(n)},children:n},t)},Rt={container:{marginBottom:"var(--twd-spacing-xs)"},item:{display:"flex",alignItems:"left",justifyContent:"space-between",padding:"var(--twd-spacing-sm) var(--twd-spacing-sm)",borderRadius:"var(--twd-border-radius)"},nameSpan:{fontWeight:"var(--twd-font-weight-medium)",fontSize:"var(--twd-font-size-md)",color:"var(--twd-text)",maxWidth:"220px"},button:{background:"transparent",border:"1px solid var(--twd-border-light)",borderRadius:"var(--twd-border-radius)",padding:"0",cursor:"pointer",verticalAlign:"middle",fontSize:"var(--twd-font-size-sm)",width:"24px",height:"24px",display:"flex",alignItems:"center",justifyContent:"center"},logsList:{borderRadius:"var(--twd-border-radius)",maxHeight:"260px",overflowY:"auto",padding:0,background:"var(--twd-background-secondary)",listStyle:"none",marginTop:"var(--twd-spacing-xs)",textAlign:"left"}},ku=e=>{switch(e.status){case"pass":return{item:{background:"var(--twd-success-bg)"},container:{borderLeft:"3px solid var(--twd-success)"}};case"fail":return{item:{background:"var(--twd-error-bg)"},container:{borderLeft:"3px solid var(--twd-error)"}};case"skip":return{item:{background:"var(--twd-skip-bg)"}};case"running":return{item:{background:"var(--twd-warning-bg)"}};default:return{item:{background:"transparent"}}}},ju=({node:e,depth:t,id:r,runTest:n})=>{const a=(0,re.useRef)(null),o=(0,re.useRef)(e.status),i=(0,re.useRef)(e.logs?.length||0),s=(0,re.useMemo)(()=>ku(e),[e.status]),u=typeof window<"u"&&sessionStorage.getItem("twd-last-run-test-name")===e.name,l=(0,re.useMemo)(()=>({...Rt.container,marginLeft:`calc(${t} * var(--twd-spacing-sm))`,...s.container||{}}),[t,s]),c=(0,re.useMemo)(()=>({...Rt.item,...s.item,...u&&{border:"1px dashed var(--twd-border)"}}),[s,u]);(0,re.useEffect)(()=>{const p=a.current;if(!p||!e.logs||e.logs.length===0)return;const f=o.current==="running"&&(e.status==="pass"||e.status==="fail"),g=e.logs.length>i.current;(f||g)&&setTimeout(()=>{p.scrollTop=p.scrollHeight},0),o.current=e.status,i.current=e.logs.length},[e.status,e.logs]);const d=()=>{switch(e.status){case"pass":return"passed";case"fail":return"failed";case"running":return"running";case"skip":return"skipped";default:return"not run"}};return(0,j.jsxs)("li",{style:l,"data-testid":`test-list-item-${r}`,"data-test-name":e.name,role:"listitem","aria-label":`Test ${e.name}, status: ${d()}`,children:[(0,j.jsxs)("div",{style:c,children:[(0,j.jsx)("span",{style:Rt.nameSpan,children:(0,j.jsx)(Ti,{id:r,name:e.name,skip:e.skip,only:e.only})}),(0,j.jsx)("button",{onClick:()=>n(r),"aria-label":`Run ${e.name} test`,style:Rt.button,disabled:e.status==="running","data-testid":`run-test-button-${r}`,children:e.status==="running"?(0,j.jsx)(Su,{}):(0,j.jsx)(xu,{})})]}),e.logs&&e.logs.length>0&&(0,j.jsx)("ul",{ref:a,style:Rt.logsList,children:e.logs.map((p,f)=>(0,j.jsx)(Nu,{log:p,index:f},f))})]},e.name)},Du=()=>(0,j.jsx)(Br,{className:"lucide-chevron-down-icon lucide-chevron-down",dataTestId:"chevron-down-icon",children:(0,j.jsx)("path",{d:"m6 9 6 6 6-6"})}),Lu=()=>(0,j.jsx)(Br,{className:"lucide-chevron-right-icon lucide-chevron-right",dataTestId:"chevron-right-icon",children:(0,j.jsx)("path",{d:"m9 18 6-6-6-6"})}),Bu=({roots:e,runTest:t,searchQuery:r=""})=>{const[n,a]=(0,re.useState)({}),o=(0,re.useRef)(null),i=(0,re.useRef)(!1),s=l=>a(c=>({...c,[l]:!c[l]}));(0,re.useEffect)(()=>{if(i.current)return;const l=sessionStorage.getItem("twd-last-run-test-name");if(!l)return;const c=setTimeout(()=>{const d=document.querySelector(`[data-test-name="${l}"]`);if(d){const p=o.current?.closest('[data-testid="twd-sidebar"]');if(p){const f=d.getBoundingClientRect(),g=p.getBoundingClientRect(),v=p.scrollTop,S=f.top-g.top+v,y=p.querySelector('[data-testid="twd-sidebar-header"]'),w=y?y.getBoundingClientRect().height+16:150;p.scrollTo({top:S-w,behavior:"smooth"})}i.current=!0}},100);return()=>clearTimeout(c)},[]);const u=(l,c=0)=>{if(l.type==="test")return(0,j.jsx)(ju,{node:l,depth:c,id:l.id,runTest:()=>t(l.id)},l.id);const d=n[l.id];return(0,j.jsxs)("li",{style:{marginLeft:`calc(${c} * var(--twd-spacing-lg))`},children:[(0,j.jsx)("div",{style:{background:"var(--twd-describe-bg)",borderLeft:"3px solid var(--twd-describe-border)",borderRadius:"var(--twd-border-radius)",padding:"var(--twd-spacing-xs) var(--twd-spacing-sm)",marginBottom:"var(--twd-spacing-sm)"},children:(0,j.jsxs)("span",{style:{fontWeight:"var(--twd-font-weight-medium)",fontSize:"var(--twd-font-size-sm)",cursor:"pointer",color:"var(--twd-describe-text)",display:"flex",alignItems:"center",justifyContent:"space-between",gap:"var(--twd-spacing-sm)",textTransform:"uppercase",letterSpacing:"0.05em"},"data-testid":`test-group-${l.name}`,tabIndex:0,role:"button","aria-expanded":!d,"aria-label":`${d?"Expand":"Collapse"} test suite ${l.name}`,onClick:()=>s(l.id),children:[(0,j.jsx)(Ti,{id:l.id,name:l.name,skip:l.skip,only:l.only}),d?(0,j.jsx)(Lu,{}):(0,j.jsx)(Du,{})]})}),!d&&l.childrenNodes&&l.childrenNodes.length>0&&(0,j.jsx)("ul",{style:{listStyle:"none",padding:0,margin:0},children:l.childrenNodes.map(p=>u(p,c+1))})]},l.id)};return(0,j.jsx)("ul",{ref:o,style:{listStyle:"none",padding:0,margin:0},role:"list","aria-label":"Test list",children:e.length===0&&r?(0,j.jsxs)("li",{style:{padding:"var(--twd-spacing-md)",color:"var(--twd-text-secondary)",fontSize:"var(--twd-font-size-sm)",textAlign:"center"},children:['No tests match "',r,'"']}):e.map(l=>u(l))})},$u={left:{left:0,borderTopRightRadius:"var(--twd-border-radius-lg)",borderBottomRightRadius:"var(--twd-border-radius-lg)",borderTopLeftRadius:"0",borderBottomLeftRadius:"0"},right:{right:0,borderTopLeftRadius:"var(--twd-border-radius-lg)",borderBottomLeftRadius:"var(--twd-border-radius-lg)",borderTopRightRadius:"0",borderBottomRightRadius:"0"}},Fu=({setOpen:e,position:t})=>(0,j.jsx)("button",{"aria-label":"Open TWD sidebar",style:{position:"fixed",top:"50%",transform:"translateY(-50%)",zIndex:"var(--twd-z-index-sidebar)",background:"var(--twd-button-primary)",color:"var(--twd-button-primary-text)",padding:"var(--twd-spacing-sm) 10px",cursor:"pointer",fontSize:"var(--twd-font-size-sm)",...$u[t]},onClick:()=>e(!0),children:"TWD"}),Uu=({isOpen:e,position:t})=>{(0,re.useEffect)(()=>{const r=document.documentElement,n=getComputedStyle(document.documentElement).getPropertyValue("--twd-sidebar-width")||"280px";return e?t==="left"?r.style.marginLeft=n:r.style.marginRight=n:(r.style.marginRight="0",r.style.marginLeft="0"),()=>{r.style.marginRight="0",r.style.marginLeft="0"}},[e,t])},zu=()=>(0,j.jsxs)(Br,{className:"lucide-wifi-pen-icon lucide-wifi-pen",dataTestId:"wifi-pen-icon",children:[(0,j.jsx)("path",{d:"M2 8.82a15 15 0 0 1 20 0"}),(0,j.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"}),(0,j.jsx)("path",{d:"M5 12.859a10 10 0 0 1 10.5-2.222"}),(0,j.jsx)("path",{d:"M8.5 16.429a5 5 0 0 1 3-1.406"})]}),Vu=()=>{const e=So(),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(0,j.jsxs)("button",{onClick:r,"aria-label":"View mock rules details in console",style:{background:"var(--twd-button-secondary)",border:"1px solid var(--twd-button-border)",borderRadius:"var(--twd-border-radius-lg)",padding:"var(--twd-spacing-md) var(--twd-spacing-lg)",cursor:"pointer",fontSize:"var(--twd-font-size-sm)",color:"var(--twd-button-secondary-text)",display:"flex",alignItems:"center",gap:"var(--twd-spacing-md)",marginBottom:"10px",width:"100%",textAlign:"left",transition:"all var(--twd-animation-duration) ease",boxShadow:"var(--twd-shadow-sm)"},children:[(0,j.jsx)(zu,{}),(0,j.jsxs)("span",{style:{flex:1},children:["Rules: ",t.length,"/",e.length," triggered"]}),(0,j.jsx)("span",{style:{fontSize:"var(--twd-font-size-xs)",color:"var(--twd-text)",fontWeight:"var(--twd-font-weight-medium)"},children:"View rules in console"})]})},Hu=e=>e instanceof Error&&"actual"in e&&"expected"in e,Si=e=>e.actual!==void 0&&e.expected!==void 0?{type:"diff",actual:e.actual,expected:e.expected,operator:e.operator}:{type:"message",message:e.message},Wu=e=>{const t=Si(e);if(t.type==="diff"){const r=t.operator||"unknown";console.error(`Assertion failed with operator: ${r}`),console.group("Expected:"),console.log(t.expected),console.groupEnd(),console.group("Actual:"),console.log(t.actual),console.groupEnd()}else console.error(t.message)},Ku=e=>{if(e.status==="pass")return`Test "${e.name}" passed.`;if(e.status==="fail"){if(!e.logs||e.logs.length===0)return`Test "${e.name}" failed.`;const t=e.logs[e.logs.length-1];try{const r=JSON.parse(t);return r.type===Oe.CHAI_MESSAGE||r.type===Oe.ERROR?`Test "${e.name}" failed. ${r.message}`:r.type===Oe.CHAI_DIFF?`Test "${e.name}" failed. Expected value does not match actual value.`:`Test "${e.name}" failed.`}catch{return`Test "${e.name}" failed. ${t}`}}else if(e.status==="skip")return`Test "${e.name}" skipped.`;return""},Gu=e=>{const t=e.filter(i=>i.type==="test"),r=t.filter(i=>i.status==="pass").length,n=t.filter(i=>i.status==="fail").length,a=t.filter(i=>i.status==="skip").length,o=[];return n>0?(o.push("Test run completed."),o.push(`${r} test${r!==1?"s":""} passed`),o.push(`${n} test${n!==1?"s":""} failed`),a>0&&o.push(`${a} test${a!==1?"s":""} skipped`),o.join(", ")+"."):(o.push("All tests passed."),o.push(`${r} test${r!==1?"s":""} completed`),a>0&&o.push(`${a} test${a!==1?"s":""} skipped`),o.join(", ")+".")},Yu=({value:e,onChange:t})=>(0,j.jsx)("div",{style:{position:"relative",marginBottom:"var(--twd-spacing-md)"},children:(0,j.jsx)("input",{type:"search",id:"twd-search-input","aria-label":"Filter tests",placeholder:"Filter tests...",value:e,onInput:r=>t(r.target.value),style:{width:"100%",padding:"var(--twd-spacing-md)",background:"var(--twd-background)",color:"var(--twd-text)",border:"1px solid var(--twd-border)",borderRadius:"var(--twd-border-radius)",fontSize:"var(--twd-font-size-md)",boxSizing:"border-box",outline:"none"}})}),Xu=(e,t)=>{if(!t.trim())return e;const r=t.toLowerCase(),n=a=>{const o=a.name.toLowerCase().includes(r);if(a.type==="test")return o?a:null;const i=(a.childrenNodes||[]).map(n).filter(s=>s!==null);return o||i.length>0?{...a,childrenNodes:o?a.childrenNodes:i}:null};return e.map(n).filter(a=>a!==null)},Ju=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},Qu={left:{left:0,borderRight:"1px solid var(--twd-border)"},right:{right:0,borderLeft:"1px solid var(--twd-border)"}},Zu='-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"',ec=e=>e?sessionStorage.getItem("twd-search-filter")||"":(sessionStorage.removeItem("twd-search-filter"),""),tc=e=>sessionStorage.getItem("twd-sidebar-open")?sessionStorage.getItem("twd-sidebar-open")==="true":e,xi=e=>{const t=[];for(const r of e)r.type==="test"&&t.push(r.id),r.childrenNodes&&t.push(...xi(r.childrenNodes));return t},rc=({open:e,position:t="left",search:r})=>{const[n,a]=(0,re.useState)(0),[o,i]=(0,re.useState)(tc(e));Uu({isOpen:o,position:t});const[s,u]=(0,re.useState)(""),[l,c]=(0,re.useState)(ec(r));(0,re.useEffect)(()=>{const E=()=>a(m=>m+1);return window.addEventListener("twd:state-change",E),()=>window.removeEventListener("twd:state-change",E)},[]);const d=new At.TestRunner({onStart:E=>{E.status="running",a(m=>m+1)},onPass:E=>{E.status="pass",a(m=>m+1)},onFail:(E,m)=>{if(E.status="fail",console.group(`%c❌ Test failed: ${E.name}`,"color: red; font-weight: bold;"),Hu(m)){Wu(m);const _=Si(m);_.type==="diff"?E.logs.push(JSON.stringify({type:Oe.CHAI_DIFF,expected:_.expected,actual:_.actual})):E.logs.push(JSON.stringify({type:Oe.CHAI_MESSAGE,message:`Test failed: ${_.message}`}))}else console.error(m.message),E.logs.push(JSON.stringify({type:Oe.ERROR,message:`Test failed: ${m.message}`}));console.groupEnd(),a(_=>_+1)},onSkip:E=>{E.status="skip",a(m=>m+1)}}),p=E=>{c(E),E?sessionStorage.setItem("twd-search-filter",E):sessionStorage.removeItem("twd-search-filter")},f=E=>{i(E),sessionStorage.setItem("twd-sidebar-open",E.toString())},g=Array.from(At.handlers.values()),v=(0,re.useMemo)(()=>Ju(g),[n]),S=(0,re.useMemo)(()=>Xu(v,l),[v,l]),{filteredTestIds:y,displayTests:w}=(0,re.useMemo)(()=>{if(l){const E=xi(S),m=new Set(E);return{filteredTestIds:E,displayTests:g.filter(_=>_.type==="test"&&m.has(_.id))}}return{filteredTestIds:null,displayTests:g.filter(E=>E.type==="test")}},[S,l,n]),x=async()=>{u(""),sessionStorage.removeItem("twd-last-run-test-name"),y?await d.runByIds(y):await d.runAll(),u(Gu(g))},M=async E=>{const m=Array.from(At.handlers.values()).filter(_=>_.type==="test").find(_=>_.id===E);m&&(u(""),sessionStorage.setItem("twd-last-run-test-name",m.name),await d.runSingle(m.id),u(Ku(m)))};if(!o)return(0,j.jsx)(Fu,{position:t,setOpen:f});const A=w.length;return(0,j.jsxs)("div",{style:{fontFamily:Zu,position:"fixed",top:0,bottom:0,width:"var(--twd-sidebar-width)",background:"var(--twd-background)",fontSize:"var(--twd-font-size-md)",overflowY:"auto",boxShadow:"var(--twd-shadow)",textAlign:"left",zIndex:"var(--twd-z-index-sidebar)",pointerEvents:"all",isolation:"isolate",...Qu[t]},"data-testid":"twd-sidebar",role:"complementary","aria-label":"Test While Developing sidebar",children:[(0,j.jsx)("div",{"aria-live":"polite","aria-atomic":"true",style:{position:"absolute",width:"1px",height:"1px",margin:"-1px",border:"0",padding:"0",overflow:"hidden",clip:"rect(0 0 0 0)"},children:s}),(0,j.jsxs)("div",{"data-testid":"twd-sidebar-header",style:{padding:"var(--twd-spacing-md)",background:"var(--twd-background)",position:"sticky",top:0,zIndex:"var(--twd-z-index-sticky)",borderBottom:"1px solid var(--twd-border)"},children:[(0,j.jsxs)("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center",marginBottom:"var(--twd-spacing-xl)"},children:[(0,j.jsxs)("div",{style:{display:"flex",gap:"var(--twd-spacing-xs)"},children:[(0,j.jsx)("button",{onClick:x,style:{background:"var(--twd-button-primary)",color:"var(--twd-button-primary-text)",padding:"var(--twd-spacing-xs) var(--twd-spacing-md)",borderRadius:"var(--twd-border-radius)",border:"none",cursor:"pointer"},children:(0,j.jsx)("span",{"aria-live":"polite",children:l?"Run Filtered":"Run All"})}),(0,j.jsx)("button",{onClick:()=>{xo(),tn.clearComponentMocks()},"aria-label":"Clear all mocks",style:{background:"var(--twd-button-secondary)",color:"var(--twd-button-secondary-text)",padding:"var(--twd-spacing-xs) var(--twd-spacing-md)",borderRadius:"var(--twd-border-radius)",border:"1px solid var(--twd-button-border)",cursor:"pointer"},children:"Clear mocks"}),(0,j.jsxs)("span",{style:{color:"var(--twd-text-secondary)",fontSize:"var(--twd-font-size-sm)",alignSelf:"center"},children:["v",Tr]})]}),(0,j.jsx)("button",{"aria-label":"Close sidebar",style:{background:"transparent",border:"none",cursor:"pointer",fontSize:"var(--twd-font-size-md)",paddingRight:"0",paddingLeft:"0"},onClick:()=>f(!1),children:"✖"})]}),(0,j.jsxs)("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center",fontSize:"var(--twd-font-size-md)",color:"var(--twd-text-secondary)",marginBottom:"10px"},children:[(0,j.jsxs)("span",{style:{color:"var(--twd-text)"},children:["Total: ",A]}),(0,j.jsxs)("div",{style:{display:"flex",gap:"var(--twd-spacing-xs)"},children:[(0,j.jsxs)("span",{style:{color:"var(--twd-success)"},children:["✓ ",w.filter(E=>E.status==="pass").length]}),(0,j.jsxs)("span",{style:{color:"var(--twd-error)"},children:["✗ ",w.filter(E=>E.status==="fail").length]})]})]}),(0,j.jsx)(Vu,{}),r&&(0,j.jsx)(Yu,{value:l,onChange:p})]}),(0,j.jsx)("div",{style:{padding:"var(--twd-spacing-md)"},children:(0,j.jsx)(Bu,{roots:S,runTest:M,searchQuery:l})})]})},Oi={primary:"#2563eb",background:"#1e293b",backgroundSecondary:"#182130",border:"#475569",borderLight:"#64748b",text:"#f1f5f9",textSecondary:"#cbd5e1",textMuted:"#94a3b8",describeBg:"#0f172a",describeText:"#94a3b8",describeBorder:"#334155",success:"#22c55e",successBg:"#14532d",error:"#ff5252",errorBg:"#7f1d1d",warning:"#fbbf24",warningBg:"#78350f",skip:"#475569",skipBg:"#334155",buttonPrimary:"#2563eb",buttonPrimaryText:"#ffffff",buttonSecondary:"#334155",buttonSecondaryText:"#f1f5f9",buttonBorder:"#475569",spacingXs:"4px",spacingSm:"6px",spacingMd:"8px",spacingLg:"12px",spacingXl:"14px",fontSizeXs:"10px",fontSizeSm:"12px",fontSizeMd:"14px",fontSizeLg:"16px",fontWeightNormal:"400",fontWeightMedium:"500",fontWeightBold:"700",sidebarWidth:"320px",borderRadius:"8px",borderRadiusLg:"6px",shadow:"2px 0 8px rgba(0,0,0,0.3)",shadowSm:"0 2px 4px rgba(0, 0, 0, 0.2)",zIndexSidebar:"99999",zIndexSticky:"100000",animationDuration:"0.2s",iconColor:"#f1f5f9",iconColorSecondary:"#cbd5e1"};function nc(e={}){const t={...Oi,...e};return Object.entries(t).map(([r,n])=>`${`--twd-${r.replace(/([A-Z])/g,"-$1").toLowerCase()}`}: ${n};`).join(`
|
|
25
|
+
`)}function Mi(e){const t="twd-theme-variables";let r=document.getElementById(t);r||(r=document.createElement("style"),r.id=t,document.head.appendChild(r));const n=nc(e);r.textContent=`
|
|
26
26
|
:root {
|
|
27
27
|
${n}
|
|
28
28
|
}
|
|
29
|
-
`}var nc=e=>{const{Component:t,createRoot:r,theme:n}=e;Mi(n);const a=document.createElement("div");a.setAttribute("id","twd-sidebar-root"),document.body.appendChild(a),r(a).render(t)},ac=async(e,t,r,n)=>{for(const a in e)await e[a]();nc({Component:t,createRoot:r,theme:n})};function V(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,a])=>e[n]===a):!0}function ve(e){var t;if(oc(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 ${ic(e)}`)}function oc(e){return e.nodeType===9}function ic(e){return typeof e=="function"?`function ${e.name}`:e===null?"null":String(e)}function Ai(e,t){return new Promise((r,n)=>{const a=new t;a.onerror=n,a.onabort=n,a.onload=()=>{r(String(a.result))},a.readAsText(e)})}function ga(e,t){const r={...t,length:t.length,item:n=>r[n],[Symbol.iterator]:function*(){for(let a=0;a<r.length;a++)yield r[a]}};return r.constructor=e.FileList,e.FileList&&Object.setPrototypeOf(r,e.FileList.prototype),Object.freeze(r),r}function Fe(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Ii=class{getAsFile(){return this.file}getAsString(e){typeof this.data=="string"&&e(this.data)}webkitGetAsEntry(){throw new Error("not implemented")}constructor(e,t){Fe(this,"kind",void 0),Fe(this,"type",void 0),Fe(this,"file",null),Fe(this,"data",void 0),typeof e=="string"?(this.kind="string",this.type=String(t),this.data=e):(this.kind="file",this.type=e.type,this.file=e)}},sc=class extends Array{add(...e){const t=new Ii(e[0],e[1]);return this.push(t),t}clear(){this.splice(0,this.length)}remove(e){this.splice(e,1)}};function Qt(e,t){const[r,n]=e.split("/"),a=!n||n==="*";return o=>t?o.type===(a?r:e):a?o.type.startsWith(`${r}/`):o.type===r}function lc(e){return new class{getData(r){var n;const a=(n=this.items.find(Qt(r,!0)))!==null&&n!==void 0?n:this.items.find(Qt(r,!1));let o="";return a?.getAsString(i=>{o=i}),o}setData(r,n){const a=this.items.findIndex(Qt(r,!0)),o=new Ii(n,r);a>=0?this.items.splice(a,1,o):this.items.push(o)}clearData(r){if(r){const n=this.items.findIndex(Qt(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(){Fe(this,"dropEffect","none"),Fe(this,"effectAllowed","uninitialized"),Fe(this,"items",new sc),Fe(this,"files",ga(e,[]))}}}function ya(e,t=[]){const r=typeof e.DataTransfer>"u"?lc(e):new e.DataTransfer;return Object.defineProperty(r,"files",{get:()=>ga(e,t)}),r}async function uc(e,t){return t.kind==="file"?t.getAsFile():new e.Blob([await new Promise(r=>t.getAsString(r))],{type:t.type})}function Ni(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ki(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(a){const o=await this.data[a];if(!o)throw new Error(`${a} is not one of the available MIME types on this item.`);return o instanceof e.Blob?o:new e.Blob([o],{type:a})}constructor(a){Ni(this,"data",void 0),this.data=a}}(r)}var mt=Symbol("Manage ClipboardSub");function Wa(e,t){return Object.assign(new class extends e.EventTarget{async read(){return Array.from(this.items)}async readText(){let n="";for(const a of this.items){const o=a.types.includes("text/plain")?"text/plain":a.types.find(i=>i.startsWith("text/"));o&&(n+=await a.getType(o).then(i=>Ai(i,e.FileReader)))}return n}async write(n){this.items=n}async writeText(n){this.items=[ki(e,n)]}constructor(...n){super(...n),Ni(this,"items",[])}},{[mt]:t})}function wa(e){return!!e?.[mt]}function cc(e){if(wa(e.navigator.clipboard))return e.navigator.clipboard[mt];const t=Object.getOwnPropertyDescriptor(e.navigator,"clipboard");let r;const n={resetClipboardStub:()=>{r=Wa(e,n)},detachClipboardStub:()=>{t?Object.defineProperty(e.navigator,"clipboard",t):Object.defineProperty(e.navigator,"clipboard",{value:void 0,configurable:!0})}};return r=Wa(e,n),Object.defineProperty(e.navigator,"clipboard",{get:()=>r,configurable:!0}),r[mt]}function dc(e){wa(e.navigator.clipboard)&&e.navigator.clipboard[mt].resetClipboardStub()}function fc(e){wa(e.navigator.clipboard)&&e.navigator.clipboard[mt].detachClipboardStub()}async function pc(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 a=ya(t);for(const o of n)for(const i of o.types)a.setData(i,await o.getType(i).then(s=>Ai(s,t.FileReader)));return a}async function ji(e,t){const r=ve(e),n=r.navigator.clipboard,a=[];for(let o=0;o<t.items.length;o++){const i=t.items[o],s=await uc(r,i);a.push(ki(r,s))}if(!(n&&await n.write(a).then(()=>!0,()=>!1)))throw new Error("The Clipboard API is unavailable.")}var vr=globalThis;typeof vr.afterEach=="function"&&vr.afterEach(()=>dc(globalThis.window));typeof vr.afterAll=="function"&&vr.afterAll(()=>fc(globalThis.window));var Di=["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 Ea(e){return e.matches(Di)}function mc(e){return new e.constructor(e.type,e)}function Ae(e){for(let r=e;r;r=r.parentElement)if(V(r,["button","input","select","textarea","optgroup","option"])){if(r.hasAttribute("disabled"))return!0}else if(V(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 Kt(e){const t=e.activeElement;return t?.shadowRoot?Kt(t.shadowRoot):Ae(t)?e.ownerDocument?e.ownerDocument.body:e.body:t}function Kr(e){var t;return(t=Kt(e))!==null&&t!==void 0?t:e.body}function hc(e,t){let r=e;do{if(t(r))return r;r=r.parentElement}while(r&&r!==e.ownerDocument.body)}function rt(e){return e.hasAttribute("contenteditable")&&(e.getAttribute("contenteditable")=="true"||e.getAttribute("contenteditable")=="")}function jt(e){const t=bc(e);return t&&(t.closest('[contenteditable=""]')||t.closest('[contenteditable="true"]'))}function bc(e){return e.nodeType===1?e:e.parentElement}var Li=(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})(Li||{});function Bi(e){return V(e,"button")||V(e,"input")&&e.type in Li}function ht(e){return Fi(e)&&!e.readOnly||rt(e)}var $i=(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})($i||{});function Fi(e){return V(e,"textarea")||V(e,"input")&&e.type in $i}function Pe(e){return Ui(e)&&Fi(e)}function vc(e){return Ui(e)&&Bi(e)}function Ui(e){return e.nodeType===1}function gc(e){const t=e.ownerDocument.getSelection();if(t?.focusNode&&Pe(e)){const n=jt(t.focusNode);if(n){if(!t.isCollapsed){var r;const a=((r=n.firstChild)===null||r===void 0?void 0:r.nodeType)===3?n.firstChild:n;t.setBaseAndExtent(a,0,a,0)}}else t.setBaseAndExtent(e,0,e,0)}}var zi=P(((e,t)=>{var r=10,n=(i=0)=>s=>`\x1B[${38+i};5;${s}m`,a=(i=0)=>(s,u,l)=>`\x1B[${38+i};2;${s};${u};${l}m`;function o(){const i=new Map,s={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]}};s.color.gray=s.color.blackBright,s.bgColor.bgGray=s.bgColor.bgBlackBright,s.color.grey=s.color.blackBright,s.bgColor.bgGrey=s.bgColor.bgBlackBright;for(const[u,l]of Object.entries(s)){for(const[c,d]of Object.entries(l))s[c]={open:`\x1B[${d[0]}m`,close:`\x1B[${d[1]}m`},l[c]=s[c],i.set(d[0],d[1]);Object.defineProperty(s,u,{value:l,enumerable:!1})}return Object.defineProperty(s,"codes",{value:i,enumerable:!1}),s.color.close="\x1B[39m",s.bgColor.close="\x1B[49m",s.color.ansi256=n(),s.color.ansi16m=a(),s.bgColor.ansi256=n(r),s.bgColor.ansi16m=a(r),Object.defineProperties(s,{rgbToAnsi256:{value:(u,l,c)=>u===l&&l===c?u<8?16:u>248?231:Math.round((u-8)/247*24)+232:16+36*Math.round(u/255*5)+6*Math.round(l/255*5)+Math.round(c/255*5),enumerable:!1},hexToRgb:{value:u=>{const l=/(?<colorString>[a-f\d]{6}|[a-f\d]{3})/i.exec(u.toString(16));if(!l)return[0,0,0];let{colorString:c}=l.groups;c.length===3&&(c=c.split("").map(p=>p+p).join(""));const d=Number.parseInt(c,16);return[d>>16&255,d>>8&255,d&255]},enumerable:!1},hexToAnsi256:{value:u=>s.rgbToAnsi256(...s.hexToRgb(u)),enumerable:!1}}),s}Object.defineProperty(t,"exports",{enumerable:!0,get:o})})),Br=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.printIteratorEntries=r,e.printIteratorValues=n,e.printListItems=a,e.printObjectProperties=o;var t=(i,s)=>{const u=Object.keys(i).sort(s);return Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(i).forEach(l=>{Object.getOwnPropertyDescriptor(i,l).enumerable&&u.push(l)}),u};function r(i,s,u,l,c,d,p=": "){let f="",g=i.next();if(!g.done){f+=s.spacingOuter;const v=u+s.indent;for(;!g.done;){const S=d(g.value[0],s,v,l,c),y=d(g.value[1],s,v,l,c);f+=v+S+p+y,g=i.next(),g.done?s.min||(f+=","):f+=","+s.spacingInner}f+=s.spacingOuter+u}return f}function n(i,s,u,l,c,d){let p="",f=i.next();if(!f.done){p+=s.spacingOuter;const g=u+s.indent;for(;!f.done;)p+=g+d(f.value,s,g,l,c),f=i.next(),f.done?s.min||(p+=","):p+=","+s.spacingInner;p+=s.spacingOuter+u}return p}function a(i,s,u,l,c,d){let p="";if(i.length){p+=s.spacingOuter;const f=u+s.indent;for(let g=0;g<i.length;g++)p+=f,g in i&&(p+=d(i[g],s,f,l,c)),g<i.length-1?p+=","+s.spacingInner:s.min||(p+=",");p+=s.spacingOuter+u}return p}function o(i,s,u,l,c,d){let p="";const f=t(i,s.compareKeys);if(f.length){p+=s.spacingOuter;const g=u+s.indent;for(let v=0;v<f.length;v++){const S=f[v],y=d(S,s,g,l,c),w=d(i[S],s,g,l,c);p+=g+y+": "+w,v<f.length-1?p+=","+s.spacingInner:s.min||(p+=",")}p+=s.spacingOuter+u}return p}})),yc=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=Br(),r=(function(){return typeof globalThis<"u"?globalThis:typeof r<"u"?r:typeof self<"u"?self:typeof window<"u"?window:Function("return this")()})(),n=r["jest-symbol-do-not-touch"]||r.Symbol,a=typeof n=="function"&&n.for?n.for("jest.asymmetricMatcher"):1267621,o=" ",i=(l,c,d,p,f,g)=>{const v=l.toString();return v==="ArrayContaining"||v==="ArrayNotContaining"?++p>c.maxDepth?"["+v+"]":v+o+"["+(0,t.printListItems)(l.sample,c,d,p,f,g)+"]":v==="ObjectContaining"||v==="ObjectNotContaining"?++p>c.maxDepth?"["+v+"]":v+o+"{"+(0,t.printObjectProperties)(l.sample,c,d,p,f,g)+"}":v==="StringMatching"||v==="StringNotMatching"||v==="StringContaining"||v==="StringNotContaining"?v+o+g(l.sample,c,d,p,f):l.toAsymmetricMatcher()};e.serialize=i;var s=l=>l&&l.$$typeof===a;e.test=s;var u={serialize:i,test:s};e.default=u})),wc=P(((e,t)=>{t.exports=({onlyFirst:r=!1}={})=>{const n=["[\\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(n,r?void 0:"g")}})),Ec=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=n(wc()),r=n(zi());function n(u){return u&&u.__esModule?u:{default:u}}var a=u=>u.replace((0,t.default)(),l=>{switch(l){case r.default.red.close:case r.default.green.close:case r.default.cyan.close:case r.default.gray.close:case r.default.white.close:case r.default.yellow.close:case r.default.bgRed.close:case r.default.bgGreen.close:case r.default.bgYellow.close:case r.default.inverse.close:case r.default.dim.close:case r.default.bold.close:case r.default.reset.open:case r.default.reset.close:return"</>";case r.default.red.open:return"<red>";case r.default.green.open:return"<green>";case r.default.cyan.open:return"<cyan>";case r.default.gray.open:return"<gray>";case r.default.white.open:return"<white>";case r.default.yellow.open:return"<yellow>";case r.default.bgRed.open:return"<bgRed>";case r.default.bgGreen.open:return"<bgGreen>";case r.default.bgYellow.open:return"<bgYellow>";case r.default.inverse.open:return"<inverse>";case r.default.dim.open:return"<dim>";case r.default.bold.open:return"<bold>";default:return""}}),o=u=>typeof u=="string"&&!!u.match((0,t.default)());e.test=o;var i=(u,l,c,d,p,f)=>f(a(u),l,c,d,p);e.serialize=i;var s={serialize:i,test:o};e.default=s})),_c=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=Br(),r=" ",n=["DOMStringMap","NamedNodeMap"],a=/^(HTML\w*Collection|NodeList)$/,o=c=>n.indexOf(c)!==-1||a.test(c),i=c=>c&&c.constructor&&!!c.constructor.name&&o(c.constructor.name);e.test=i;var s=c=>c.constructor.name==="NamedNodeMap",u=(c,d,p,f,g,v)=>{const S=c.constructor.name;return++f>d.maxDepth?"["+S+"]":(d.min?"":S+r)+(n.indexOf(S)!==-1?"{"+(0,t.printObjectProperties)(s(c)?Array.from(c).reduce((y,w)=>(y[w.name]=w.value,y),{}):{...c},d,p,f,g,v)+"}":"["+(0,t.printListItems)(Array.from(c),d,p,f,g,v)+"]")};e.serialize=u;var l={serialize:u,test:i};e.default=l})),Cc=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=t;function t(r){return r.replace(/</g,"<").replace(/>/g,">")}})),_a=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.printText=e.printProps=e.printElementAsLeaf=e.printElement=e.printComment=e.printChildren=void 0;var t=r(Cc());function r(l){return l&&l.__esModule?l:{default:l}}var n=(l,c,d,p,f,g,v)=>{const S=p+d.indent,y=d.colors;return l.map(w=>{const x=c[w];let M=v(x,d,S,f,g);return typeof x!="string"&&(M.indexOf(`
|
|
30
|
-
`)!==-1&&(M=d.spacingOuter+S+M+d.spacingOuter+p),M="{"+M+"}"),d.spacingInner+p+y.prop.open+w+y.prop.close+"="+y.value.open+M+y.value.close}).join("")};e.printProps=n;var a=(l,c,d,p,f,g)=>l.map(v=>c.spacingOuter+d+(typeof v=="string"?o(v,c):g(v,c,d,p,f))).join("");e.printChildren=a;var o=(l,c)=>{const d=c.colors.content;return d.open+(0,t.default)(l)+d.close};e.printText=o;var i=(l,c)=>{const d=c.colors.comment;return d.open+"<!--"+(0,t.default)(l)+"-->"+d.close};e.printComment=i;var s=(l,c,d,p,f)=>{const g=p.colors.tag;return g.open+"<"+l+(c&&g.close+c+p.spacingOuter+f+g.open)+(d?">"+g.close+d+p.spacingOuter+f+g.open+"</"+l:(c&&!p.min?"":" ")+"/")+">"+g.close};e.printElement=s;var u=(l,c)=>{const d=c.colors.tag;return d.open+"<"+l+d.close+" …"+d.open+" />"+d.close};e.printElementAsLeaf=u})),Pc=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=_a(),r=1,n=3,a=8,o=11,i=/^((HTML|SVG)\w*)?Element$/,s=v=>{try{return typeof v.hasAttribute=="function"&&v.hasAttribute("is")}catch{return!1}},u=v=>{const S=v.constructor.name,{nodeType:y,tagName:w}=v,x=typeof w=="string"&&w.includes("-")||s(v);return y===r&&(i.test(S)||x)||y===n&&S==="Text"||y===a&&S==="Comment"||y===o&&S==="DocumentFragment"},l=v=>{var S;return(v==null||(S=v.constructor)===null||S===void 0?void 0:S.name)&&u(v)};e.test=l;function c(v){return v.nodeType===n}function d(v){return v.nodeType===a}function p(v){return v.nodeType===o}var f=(v,S,y,w,x,M)=>{if(c(v))return(0,t.printText)(v.data,S);if(d(v))return(0,t.printComment)(v.data,S);const A=p(v)?"DocumentFragment":v.tagName.toLowerCase();return++w>S.maxDepth?(0,t.printElementAsLeaf)(A,S):(0,t.printElement)(A,(0,t.printProps)(p(v)?[]:Array.from(v.attributes).map(E=>E.name).sort(),p(v)?{}:Array.from(v.attributes).reduce((E,m)=>(E[m.name]=m.value,E),{}),S,y+S.indent,w,x,M),(0,t.printChildren)(Array.prototype.slice.call(v.childNodes||v.children),S,y+S.indent,w,x,M),S,y)};e.serialize=f;var g={serialize:f,test:l};e.default=g})),qc=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=Br(),r="@@__IMMUTABLE_ITERABLE__@@",n="@@__IMMUTABLE_LIST__@@",a="@@__IMMUTABLE_KEYED__@@",o="@@__IMMUTABLE_MAP__@@",i="@@__IMMUTABLE_ORDERED__@@",s="@@__IMMUTABLE_RECORD__@@",u="@@__IMMUTABLE_SEQ__@@",l="@@__IMMUTABLE_SET__@@",c="@@__IMMUTABLE_STACK__@@",d=m=>"Immutable."+m,p=m=>"["+m+"]",f=" ",g="…",v=(m,_,T,I,D,B,F)=>++I>_.maxDepth?p(d(F)):d(F)+f+"{"+(0,t.printIteratorEntries)(m.entries(),_,T,I,D,B)+"}";function S(m){let _=0;return{next(){if(_<m._keys.length){const T=m._keys[_++];return{done:!1,value:[T,m.get(T)]}}return{done:!0,value:void 0}}}}var y=(m,_,T,I,D,B)=>{const F=d(m._name||"Record");return++I>_.maxDepth?p(F):F+f+"{"+(0,t.printIteratorEntries)(S(m),_,T,I,D,B)+"}"},w=(m,_,T,I,D,B)=>{const F=d("Seq");return++I>_.maxDepth?p(F):m[a]?F+f+"{"+(m._iter||m._object?(0,t.printIteratorEntries)(m.entries(),_,T,I,D,B):g)+"}":F+f+"["+(m._iter||m._array||m._collection||m._iterable?(0,t.printIteratorValues)(m.values(),_,T,I,D,B):g)+"]"},x=(m,_,T,I,D,B,F)=>++I>_.maxDepth?p(d(F)):d(F)+f+"["+(0,t.printIteratorValues)(m.values(),_,T,I,D,B)+"]",M=(m,_,T,I,D,B)=>m[o]?v(m,_,T,I,D,B,m[i]?"OrderedMap":"Map"):m[n]?x(m,_,T,I,D,B,"List"):m[l]?x(m,_,T,I,D,B,m[i]?"OrderedSet":"Set"):m[c]?x(m,_,T,I,D,B,"Stack"):m[u]?w(m,_,T,I,D,B):y(m,_,T,I,D,B);e.serialize=M;var A=m=>m&&(m[r]===!0||m[s]===!0);e.test=A;var E={serialize:M,test:A};e.default=E})),Rc=P((e=>{var t=60103,r=60106,n=60107,a=60108,o=60114,i=60109,s=60110,u=60112,l=60113,c=60120,d=60115,p=60116,f=60121,g=60122,v=60117,S=60129,y=60131;if(typeof Symbol=="function"&&Symbol.for){var w=Symbol.for;t=w("react.element"),r=w("react.portal"),n=w("react.fragment"),a=w("react.strict_mode"),o=w("react.profiler"),i=w("react.provider"),s=w("react.context"),u=w("react.forward_ref"),l=w("react.suspense"),c=w("react.suspense_list"),d=w("react.memo"),p=w("react.lazy"),f=w("react.block"),g=w("react.server.block"),v=w("react.fundamental"),S=w("react.debug_trace_mode"),y=w("react.legacy_hidden")}function x(O){if(typeof O=="object"&&O!==null){var $=O.$$typeof;switch($){case t:switch(O=O.type,O){case n:case o:case a:case l:case c:return O;default:switch(O=O&&O.$$typeof,O){case s:case u:case p:case d:case i:return O;default:return $}}case r:return $}}}var M=i,A=t,E=u,m=n,_=p,T=d,I=r,D=o,B=a,F=l;e.ContextConsumer=s,e.ContextProvider=M,e.Element=A,e.ForwardRef=E,e.Fragment=m,e.Lazy=_,e.Memo=T,e.Portal=I,e.Profiler=D,e.StrictMode=B,e.Suspense=F,e.isAsyncMode=function(){return!1},e.isConcurrentMode=function(){return!1},e.isContextConsumer=function(O){return x(O)===s},e.isContextProvider=function(O){return x(O)===i},e.isElement=function(O){return typeof O=="object"&&O!==null&&O.$$typeof===t},e.isForwardRef=function(O){return x(O)===u},e.isFragment=function(O){return x(O)===n},e.isLazy=function(O){return x(O)===p},e.isMemo=function(O){return x(O)===d},e.isPortal=function(O){return x(O)===r},e.isProfiler=function(O){return x(O)===o},e.isStrictMode=function(O){return x(O)===a},e.isSuspense=function(O){return x(O)===l},e.isValidElementType=function(O){return typeof O=="string"||typeof O=="function"||O===n||O===o||O===S||O===a||O===l||O===c||O===y||typeof O=="object"&&O!==null&&(O.$$typeof===p||O.$$typeof===d||O.$$typeof===i||O.$$typeof===s||O.$$typeof===u||O.$$typeof===v||O.$$typeof===f||O[0]===g)},e.typeOf=x})),Tc=P((e=>{process.env.NODE_ENV!=="production"&&(function(){"use strict";var t=60103,r=60106,n=60107,a=60108,o=60114,i=60109,s=60110,u=60112,l=60113,c=60120,d=60115,p=60116,f=60121,g=60122,v=60117,S=60129,y=60131;if(typeof Symbol=="function"&&Symbol.for){var w=Symbol.for;t=w("react.element"),r=w("react.portal"),n=w("react.fragment"),a=w("react.strict_mode"),o=w("react.profiler"),i=w("react.provider"),s=w("react.context"),u=w("react.forward_ref"),l=w("react.suspense"),c=w("react.suspense_list"),d=w("react.memo"),p=w("react.lazy"),f=w("react.block"),g=w("react.server.block"),v=w("react.fundamental"),w("react.scope"),w("react.opaque.id"),S=w("react.debug_trace_mode"),w("react.offscreen"),y=w("react.legacy_hidden")}var x=!1;function M(N){return!!(typeof N=="string"||typeof N=="function"||N===n||N===o||N===S||N===a||N===l||N===c||N===y||x||typeof N=="object"&&N!==null&&(N.$$typeof===p||N.$$typeof===d||N.$$typeof===i||N.$$typeof===s||N.$$typeof===u||N.$$typeof===v||N.$$typeof===f||N[0]===g))}function A(N){if(typeof N=="object"&&N!==null){var Y=N.$$typeof;switch(Y){case t:var W=N.type;switch(W){case n:case o:case a:case l:case c:return W;default:var te=W&&W.$$typeof;switch(te){case s:case u:case p:case d:case i:return te;default:return Y}}case r:return Y}}}var E=s,m=i,_=t,T=u,I=n,D=p,B=d,F=r,O=o,$=a,H=l,ne=!1,Z=!1;function We(N){return ne||(ne=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")),!1}function Ke(N){return Z||(Z=!0,console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")),!1}function Ge(N){return A(N)===s}function ke(N){return A(N)===i}function je(N){return typeof N=="object"&&N!==null&&N.$$typeof===t}function U(N){return A(N)===u}function De(N){return A(N)===n}function we(N){return A(N)===p}function st(N){return A(N)===d}function Ct(N){return A(N)===r}function Pt(N){return A(N)===o}function R(N){return A(N)===a}function L(N){return A(N)===l}e.ContextConsumer=E,e.ContextProvider=m,e.Element=_,e.ForwardRef=T,e.Fragment=I,e.Lazy=D,e.Memo=B,e.Portal=F,e.Profiler=O,e.StrictMode=$,e.Suspense=H,e.isAsyncMode=We,e.isConcurrentMode=Ke,e.isContextConsumer=Ge,e.isContextProvider=ke,e.isElement=je,e.isForwardRef=U,e.isFragment=De,e.isLazy=we,e.isMemo=st,e.isPortal=Ct,e.isProfiler=Pt,e.isStrictMode=R,e.isSuspense=L,e.isValidElementType=M,e.typeOf=A})()})),Sc=P(((e,t)=>{process.env.NODE_ENV==="production"?t.exports=Rc():t.exports=Tc()})),xc=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=a(Sc()),r=_a();function n(d){if(typeof WeakMap!="function")return null;var p=new WeakMap,f=new WeakMap;return(n=function(g){return g?f:p})(d)}function a(d,p){if(!p&&d&&d.__esModule)return d;if(d===null||typeof d!="object"&&typeof d!="function")return{default:d};var f=n(p);if(f&&f.has(d))return f.get(d);var g={},v=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var S in d)if(S!=="default"&&Object.prototype.hasOwnProperty.call(d,S)){var y=v?Object.getOwnPropertyDescriptor(d,S):null;y&&(y.get||y.set)?Object.defineProperty(g,S,y):g[S]=d[S]}return g.default=d,f&&f.set(d,g),g}var o=(d,p=[])=>(Array.isArray(d)?d.forEach(f=>{o(f,p)}):d!=null&&d!==!1&&p.push(d),p),i=d=>{const p=d.type;if(typeof p=="string")return p;if(typeof p=="function")return p.displayName||p.name||"Unknown";if(t.isFragment(d))return"React.Fragment";if(t.isSuspense(d))return"React.Suspense";if(typeof p=="object"&&p!==null){if(t.isContextProvider(d))return"Context.Provider";if(t.isContextConsumer(d))return"Context.Consumer";if(t.isForwardRef(d)){if(p.displayName)return p.displayName;const f=p.render.displayName||p.render.name||"";return f!==""?"ForwardRef("+f+")":"ForwardRef"}if(t.isMemo(d)){const f=p.displayName||p.type.displayName||p.type.name||"";return f!==""?"Memo("+f+")":"Memo"}}return"UNDEFINED"},s=d=>{const{props:p}=d;return Object.keys(p).filter(f=>f!=="children"&&p[f]!==void 0).sort()},u=(d,p,f,g,v,S)=>++g>p.maxDepth?(0,r.printElementAsLeaf)(i(d),p):(0,r.printElement)(i(d),(0,r.printProps)(s(d),d.props,p,f+p.indent,g,v,S),(0,r.printChildren)(o(d.props.children),p,f+p.indent,g,v,S),p,f);e.serialize=u;var l=d=>d!=null&&t.isElement(d);e.test=l;var c={serialize:u,test:l};e.default=c})),Oc=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=_a(),r=(function(){return typeof globalThis<"u"?globalThis:typeof r<"u"?r:typeof self<"u"?self:typeof window<"u"?window:Function("return this")()})(),n=r["jest-symbol-do-not-touch"]||r.Symbol,a=typeof n=="function"&&n.for?n.for("react.test.json"):245830487,o=l=>{const{props:c}=l;return c?Object.keys(c).filter(d=>c[d]!==void 0).sort():[]},i=(l,c,d,p,f,g)=>++p>c.maxDepth?(0,t.printElementAsLeaf)(l.type,c):(0,t.printElement)(l.type,l.props?(0,t.printProps)(o(l),l.props,c,d+c.indent,p,f,g):"",l.children?(0,t.printChildren)(l.children,c,d+c.indent,p,f,g):"",c,d);e.serialize=i;var s=l=>l&&l.$$typeof===a;e.test=s;var u={serialize:i,test:s};e.default=u})),Mc=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.DEFAULT_OPTIONS=void 0,e.format=st,e.plugins=void 0;var t=c(zi()),r=Br(),n=c(yc()),a=c(Ec()),o=c(_c()),i=c(Pc()),s=c(qc()),u=c(xc()),l=c(Oc());function c(R){return R&&R.__esModule?R:{default:R}}var d=Object.prototype.toString,p=Date.prototype.toISOString,f=Error.prototype.toString,g=RegExp.prototype.toString,v=R=>typeof R.constructor=="function"&&R.constructor.name||"Object",S=R=>typeof window<"u"&&R===window,y=/^Symbol\((.*)\)(.*)$/,w=/\n/gi,x=class extends Error{constructor(R,L){super(R),this.stack=L,this.name=this.constructor.name}};function M(R){return R==="[object Array]"||R==="[object ArrayBuffer]"||R==="[object DataView]"||R==="[object Float32Array]"||R==="[object Float64Array]"||R==="[object Int8Array]"||R==="[object Int16Array]"||R==="[object Int32Array]"||R==="[object Uint8Array]"||R==="[object Uint8ClampedArray]"||R==="[object Uint16Array]"||R==="[object Uint32Array]"}function A(R){return Object.is(R,-0)?"-0":String(R)}function E(R){return`${R}n`}function m(R,L){return L?"[Function "+(R.name||"anonymous")+"]":"[Function]"}function _(R){return String(R).replace(y,"Symbol($1)")}function T(R){return"["+f.call(R)+"]"}function I(R,L,N,Y){if(R===!0||R===!1)return""+R;if(R===void 0)return"undefined";if(R===null)return"null";const W=typeof R;if(W==="number")return A(R);if(W==="bigint")return E(R);if(W==="string")return Y?'"'+R.replace(/"|\\/g,"\\$&")+'"':'"'+R+'"';if(W==="function")return m(R,L);if(W==="symbol")return _(R);const te=d.call(R);return te==="[object WeakMap]"?"WeakMap {}":te==="[object WeakSet]"?"WeakSet {}":te==="[object Function]"||te==="[object GeneratorFunction]"?m(R,L):te==="[object Symbol]"?_(R):te==="[object Date]"?isNaN(+R)?"Date { NaN }":p.call(R):te==="[object Error]"?T(R):te==="[object RegExp]"?N?g.call(R).replace(/[\\^$*+?.()|[\]{}]/g,"\\$&"):g.call(R):R instanceof Error?T(R):null}function D(R,L,N,Y,W,te){if(W.indexOf(R)!==-1)return"[Circular]";W=W.slice(),W.push(R);const oe=++Y>L.maxDepth,ue=L.min;if(L.callToJSON&&!oe&&R.toJSON&&typeof R.toJSON=="function"&&!te)return $(R.toJSON(),L,N,Y,W,!0);const Re=d.call(R);return Re==="[object Arguments]"?oe?"[Arguments]":(ue?"":"Arguments ")+"["+(0,r.printListItems)(R,L,N,Y,W,$)+"]":M(Re)?oe?"["+R.constructor.name+"]":(ue||!L.printBasicPrototype&&R.constructor.name==="Array"?"":R.constructor.name+" ")+"["+(0,r.printListItems)(R,L,N,Y,W,$)+"]":Re==="[object Map]"?oe?"[Map]":"Map {"+(0,r.printIteratorEntries)(R.entries(),L,N,Y,W,$," => ")+"}":Re==="[object Set]"?oe?"[Set]":"Set {"+(0,r.printIteratorValues)(R.values(),L,N,Y,W,$)+"}":oe||S(R)?"["+v(R)+"]":(ue||!L.printBasicPrototype&&v(R)==="Object"?"":v(R)+" ")+"{"+(0,r.printObjectProperties)(R,L,N,Y,W,$)+"}"}function B(R){return R.serialize!=null}function F(R,L,N,Y,W,te){let oe;try{oe=B(R)?R.serialize(L,N,Y,W,te,$):R.print(L,ue=>$(ue,N,Y,W,te),ue=>{const Re=Y+N.indent;return Re+ue.replace(w,`
|
|
31
|
-
`+Re)},{edgeSpacing:N.spacingOuter,min:N.min,spacing:N.spacingInner},N.colors)}catch(
|
|
29
|
+
`}var ac=e=>{const{Component:t,createRoot:r,theme:n}=e;Mi(n);const a=document.createElement("div");a.setAttribute("id","twd-sidebar-root"),document.body.appendChild(a),r(a).render(t)},oc=async(e,t,r,n)=>{for(const a in e)await e[a]();ac({Component:t,createRoot:r,theme:n})};function V(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,a])=>e[n]===a):!0}function ve(e){var t;if(ic(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 ${sc(e)}`)}function ic(e){return e.nodeType===9}function sc(e){return typeof e=="function"?`function ${e.name}`:e===null?"null":String(e)}function Ai(e,t){return new Promise((r,n)=>{const a=new t;a.onerror=n,a.onabort=n,a.onload=()=>{r(String(a.result))},a.readAsText(e)})}function ga(e,t){const r={...t,length:t.length,item:n=>r[n],[Symbol.iterator]:function*(){for(let a=0;a<r.length;a++)yield r[a]}};return r.constructor=e.FileList,e.FileList&&Object.setPrototypeOf(r,e.FileList.prototype),Object.freeze(r),r}function Fe(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Ii=class{getAsFile(){return this.file}getAsString(e){typeof this.data=="string"&&e(this.data)}webkitGetAsEntry(){throw new Error("not implemented")}constructor(e,t){Fe(this,"kind",void 0),Fe(this,"type",void 0),Fe(this,"file",null),Fe(this,"data",void 0),typeof e=="string"?(this.kind="string",this.type=String(t),this.data=e):(this.kind="file",this.type=e.type,this.file=e)}},lc=class extends Array{add(...e){const t=new Ii(e[0],e[1]);return this.push(t),t}clear(){this.splice(0,this.length)}remove(e){this.splice(e,1)}};function Zt(e,t){const[r,n]=e.split("/"),a=!n||n==="*";return o=>t?o.type===(a?r:e):a?o.type.startsWith(`${r}/`):o.type===r}function uc(e){return new class{getData(r){var n;const a=(n=this.items.find(Zt(r,!0)))!==null&&n!==void 0?n:this.items.find(Zt(r,!1));let o="";return a?.getAsString(i=>{o=i}),o}setData(r,n){const a=this.items.findIndex(Zt(r,!0)),o=new Ii(n,r);a>=0?this.items.splice(a,1,o):this.items.push(o)}clearData(r){if(r){const n=this.items.findIndex(Zt(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(){Fe(this,"dropEffect","none"),Fe(this,"effectAllowed","uninitialized"),Fe(this,"items",new lc),Fe(this,"files",ga(e,[]))}}}function ya(e,t=[]){const r=typeof e.DataTransfer>"u"?uc(e):new e.DataTransfer;return Object.defineProperty(r,"files",{get:()=>ga(e,t)}),r}async function cc(e,t){return t.kind==="file"?t.getAsFile():new e.Blob([await new Promise(r=>t.getAsString(r))],{type:t.type})}function Ni(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ki(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(a){const o=await this.data[a];if(!o)throw new Error(`${a} is not one of the available MIME types on this item.`);return o instanceof e.Blob?o:new e.Blob([o],{type:a})}constructor(a){Ni(this,"data",void 0),this.data=a}}(r)}var ht=Symbol("Manage ClipboardSub");function Wa(e,t){return Object.assign(new class extends e.EventTarget{async read(){return Array.from(this.items)}async readText(){let n="";for(const a of this.items){const o=a.types.includes("text/plain")?"text/plain":a.types.find(i=>i.startsWith("text/"));o&&(n+=await a.getType(o).then(i=>Ai(i,e.FileReader)))}return n}async write(n){this.items=n}async writeText(n){this.items=[ki(e,n)]}constructor(...n){super(...n),Ni(this,"items",[])}},{[ht]:t})}function wa(e){return!!e?.[ht]}function dc(e){if(wa(e.navigator.clipboard))return e.navigator.clipboard[ht];const t=Object.getOwnPropertyDescriptor(e.navigator,"clipboard");let r;const n={resetClipboardStub:()=>{r=Wa(e,n)},detachClipboardStub:()=>{t?Object.defineProperty(e.navigator,"clipboard",t):Object.defineProperty(e.navigator,"clipboard",{value:void 0,configurable:!0})}};return r=Wa(e,n),Object.defineProperty(e.navigator,"clipboard",{get:()=>r,configurable:!0}),r[ht]}function fc(e){wa(e.navigator.clipboard)&&e.navigator.clipboard[ht].resetClipboardStub()}function pc(e){wa(e.navigator.clipboard)&&e.navigator.clipboard[ht].detachClipboardStub()}async function mc(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 a=ya(t);for(const o of n)for(const i of o.types)a.setData(i,await o.getType(i).then(s=>Ai(s,t.FileReader)));return a}async function ji(e,t){const r=ve(e),n=r.navigator.clipboard,a=[];for(let o=0;o<t.items.length;o++){const i=t.items[o],s=await cc(r,i);a.push(ki(r,s))}if(!(n&&await n.write(a).then(()=>!0,()=>!1)))throw new Error("The Clipboard API is unavailable.")}var gr=globalThis;typeof gr.afterEach=="function"&&gr.afterEach(()=>fc(globalThis.window));typeof gr.afterAll=="function"&&gr.afterAll(()=>pc(globalThis.window));var Di=["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 Ea(e){return e.matches(Di)}function hc(e){return new e.constructor(e.type,e)}function Ae(e){for(let r=e;r;r=r.parentElement)if(V(r,["button","input","select","textarea","optgroup","option"])){if(r.hasAttribute("disabled"))return!0}else if(V(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 Gt(e){const t=e.activeElement;return t?.shadowRoot?Gt(t.shadowRoot):Ae(t)?e.ownerDocument?e.ownerDocument.body:e.body:t}function Gr(e){var t;return(t=Gt(e))!==null&&t!==void 0?t:e.body}function bc(e,t){let r=e;do{if(t(r))return r;r=r.parentElement}while(r&&r!==e.ownerDocument.body)}function nt(e){return e.hasAttribute("contenteditable")&&(e.getAttribute("contenteditable")=="true"||e.getAttribute("contenteditable")=="")}function Dt(e){const t=vc(e);return t&&(t.closest('[contenteditable=""]')||t.closest('[contenteditable="true"]'))}function vc(e){return e.nodeType===1?e:e.parentElement}var Li=(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})(Li||{});function Bi(e){return V(e,"button")||V(e,"input")&&e.type in Li}function bt(e){return Fi(e)&&!e.readOnly||nt(e)}var $i=(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})($i||{});function Fi(e){return V(e,"textarea")||V(e,"input")&&e.type in $i}function Pe(e){return Ui(e)&&Fi(e)}function gc(e){return Ui(e)&&Bi(e)}function Ui(e){return e.nodeType===1}function yc(e){const t=e.ownerDocument.getSelection();if(t?.focusNode&&Pe(e)){const n=Dt(t.focusNode);if(n){if(!t.isCollapsed){var r;const a=((r=n.firstChild)===null||r===void 0?void 0:r.nodeType)===3?n.firstChild:n;t.setBaseAndExtent(a,0,a,0)}}else t.setBaseAndExtent(e,0,e,0)}}var zi=P(((e,t)=>{var r=10,n=(i=0)=>s=>`\x1B[${38+i};5;${s}m`,a=(i=0)=>(s,u,l)=>`\x1B[${38+i};2;${s};${u};${l}m`;function o(){const i=new Map,s={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]}};s.color.gray=s.color.blackBright,s.bgColor.bgGray=s.bgColor.bgBlackBright,s.color.grey=s.color.blackBright,s.bgColor.bgGrey=s.bgColor.bgBlackBright;for(const[u,l]of Object.entries(s)){for(const[c,d]of Object.entries(l))s[c]={open:`\x1B[${d[0]}m`,close:`\x1B[${d[1]}m`},l[c]=s[c],i.set(d[0],d[1]);Object.defineProperty(s,u,{value:l,enumerable:!1})}return Object.defineProperty(s,"codes",{value:i,enumerable:!1}),s.color.close="\x1B[39m",s.bgColor.close="\x1B[49m",s.color.ansi256=n(),s.color.ansi16m=a(),s.bgColor.ansi256=n(r),s.bgColor.ansi16m=a(r),Object.defineProperties(s,{rgbToAnsi256:{value:(u,l,c)=>u===l&&l===c?u<8?16:u>248?231:Math.round((u-8)/247*24)+232:16+36*Math.round(u/255*5)+6*Math.round(l/255*5)+Math.round(c/255*5),enumerable:!1},hexToRgb:{value:u=>{const l=/(?<colorString>[a-f\d]{6}|[a-f\d]{3})/i.exec(u.toString(16));if(!l)return[0,0,0];let{colorString:c}=l.groups;c.length===3&&(c=c.split("").map(p=>p+p).join(""));const d=Number.parseInt(c,16);return[d>>16&255,d>>8&255,d&255]},enumerable:!1},hexToAnsi256:{value:u=>s.rgbToAnsi256(...s.hexToRgb(u)),enumerable:!1}}),s}Object.defineProperty(t,"exports",{enumerable:!0,get:o})})),$r=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.printIteratorEntries=r,e.printIteratorValues=n,e.printListItems=a,e.printObjectProperties=o;var t=(i,s)=>{const u=Object.keys(i).sort(s);return Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(i).forEach(l=>{Object.getOwnPropertyDescriptor(i,l).enumerable&&u.push(l)}),u};function r(i,s,u,l,c,d,p=": "){let f="",g=i.next();if(!g.done){f+=s.spacingOuter;const v=u+s.indent;for(;!g.done;){const S=d(g.value[0],s,v,l,c),y=d(g.value[1],s,v,l,c);f+=v+S+p+y,g=i.next(),g.done?s.min||(f+=","):f+=","+s.spacingInner}f+=s.spacingOuter+u}return f}function n(i,s,u,l,c,d){let p="",f=i.next();if(!f.done){p+=s.spacingOuter;const g=u+s.indent;for(;!f.done;)p+=g+d(f.value,s,g,l,c),f=i.next(),f.done?s.min||(p+=","):p+=","+s.spacingInner;p+=s.spacingOuter+u}return p}function a(i,s,u,l,c,d){let p="";if(i.length){p+=s.spacingOuter;const f=u+s.indent;for(let g=0;g<i.length;g++)p+=f,g in i&&(p+=d(i[g],s,f,l,c)),g<i.length-1?p+=","+s.spacingInner:s.min||(p+=",");p+=s.spacingOuter+u}return p}function o(i,s,u,l,c,d){let p="";const f=t(i,s.compareKeys);if(f.length){p+=s.spacingOuter;const g=u+s.indent;for(let v=0;v<f.length;v++){const S=f[v],y=d(S,s,g,l,c),w=d(i[S],s,g,l,c);p+=g+y+": "+w,v<f.length-1?p+=","+s.spacingInner:s.min||(p+=",")}p+=s.spacingOuter+u}return p}})),wc=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=$r(),r=(function(){return typeof globalThis<"u"?globalThis:typeof r<"u"?r:typeof self<"u"?self:typeof window<"u"?window:Function("return this")()})(),n=r["jest-symbol-do-not-touch"]||r.Symbol,a=typeof n=="function"&&n.for?n.for("jest.asymmetricMatcher"):1267621,o=" ",i=(l,c,d,p,f,g)=>{const v=l.toString();return v==="ArrayContaining"||v==="ArrayNotContaining"?++p>c.maxDepth?"["+v+"]":v+o+"["+(0,t.printListItems)(l.sample,c,d,p,f,g)+"]":v==="ObjectContaining"||v==="ObjectNotContaining"?++p>c.maxDepth?"["+v+"]":v+o+"{"+(0,t.printObjectProperties)(l.sample,c,d,p,f,g)+"}":v==="StringMatching"||v==="StringNotMatching"||v==="StringContaining"||v==="StringNotContaining"?v+o+g(l.sample,c,d,p,f):l.toAsymmetricMatcher()};e.serialize=i;var s=l=>l&&l.$$typeof===a;e.test=s;var u={serialize:i,test:s};e.default=u})),Ec=P(((e,t)=>{t.exports=({onlyFirst:r=!1}={})=>{const n=["[\\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(n,r?void 0:"g")}})),_c=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=n(Ec()),r=n(zi());function n(u){return u&&u.__esModule?u:{default:u}}var a=u=>u.replace((0,t.default)(),l=>{switch(l){case r.default.red.close:case r.default.green.close:case r.default.cyan.close:case r.default.gray.close:case r.default.white.close:case r.default.yellow.close:case r.default.bgRed.close:case r.default.bgGreen.close:case r.default.bgYellow.close:case r.default.inverse.close:case r.default.dim.close:case r.default.bold.close:case r.default.reset.open:case r.default.reset.close:return"</>";case r.default.red.open:return"<red>";case r.default.green.open:return"<green>";case r.default.cyan.open:return"<cyan>";case r.default.gray.open:return"<gray>";case r.default.white.open:return"<white>";case r.default.yellow.open:return"<yellow>";case r.default.bgRed.open:return"<bgRed>";case r.default.bgGreen.open:return"<bgGreen>";case r.default.bgYellow.open:return"<bgYellow>";case r.default.inverse.open:return"<inverse>";case r.default.dim.open:return"<dim>";case r.default.bold.open:return"<bold>";default:return""}}),o=u=>typeof u=="string"&&!!u.match((0,t.default)());e.test=o;var i=(u,l,c,d,p,f)=>f(a(u),l,c,d,p);e.serialize=i;var s={serialize:i,test:o};e.default=s})),Cc=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=$r(),r=" ",n=["DOMStringMap","NamedNodeMap"],a=/^(HTML\w*Collection|NodeList)$/,o=c=>n.indexOf(c)!==-1||a.test(c),i=c=>c&&c.constructor&&!!c.constructor.name&&o(c.constructor.name);e.test=i;var s=c=>c.constructor.name==="NamedNodeMap",u=(c,d,p,f,g,v)=>{const S=c.constructor.name;return++f>d.maxDepth?"["+S+"]":(d.min?"":S+r)+(n.indexOf(S)!==-1?"{"+(0,t.printObjectProperties)(s(c)?Array.from(c).reduce((y,w)=>(y[w.name]=w.value,y),{}):{...c},d,p,f,g,v)+"}":"["+(0,t.printListItems)(Array.from(c),d,p,f,g,v)+"]")};e.serialize=u;var l={serialize:u,test:i};e.default=l})),Pc=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=t;function t(r){return r.replace(/</g,"<").replace(/>/g,">")}})),_a=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.printText=e.printProps=e.printElementAsLeaf=e.printElement=e.printComment=e.printChildren=void 0;var t=r(Pc());function r(l){return l&&l.__esModule?l:{default:l}}var n=(l,c,d,p,f,g,v)=>{const S=p+d.indent,y=d.colors;return l.map(w=>{const x=c[w];let M=v(x,d,S,f,g);return typeof x!="string"&&(M.indexOf(`
|
|
30
|
+
`)!==-1&&(M=d.spacingOuter+S+M+d.spacingOuter+p),M="{"+M+"}"),d.spacingInner+p+y.prop.open+w+y.prop.close+"="+y.value.open+M+y.value.close}).join("")};e.printProps=n;var a=(l,c,d,p,f,g)=>l.map(v=>c.spacingOuter+d+(typeof v=="string"?o(v,c):g(v,c,d,p,f))).join("");e.printChildren=a;var o=(l,c)=>{const d=c.colors.content;return d.open+(0,t.default)(l)+d.close};e.printText=o;var i=(l,c)=>{const d=c.colors.comment;return d.open+"<!--"+(0,t.default)(l)+"-->"+d.close};e.printComment=i;var s=(l,c,d,p,f)=>{const g=p.colors.tag;return g.open+"<"+l+(c&&g.close+c+p.spacingOuter+f+g.open)+(d?">"+g.close+d+p.spacingOuter+f+g.open+"</"+l:(c&&!p.min?"":" ")+"/")+">"+g.close};e.printElement=s;var u=(l,c)=>{const d=c.colors.tag;return d.open+"<"+l+d.close+" …"+d.open+" />"+d.close};e.printElementAsLeaf=u})),qc=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=_a(),r=1,n=3,a=8,o=11,i=/^((HTML|SVG)\w*)?Element$/,s=v=>{try{return typeof v.hasAttribute=="function"&&v.hasAttribute("is")}catch{return!1}},u=v=>{const S=v.constructor.name,{nodeType:y,tagName:w}=v,x=typeof w=="string"&&w.includes("-")||s(v);return y===r&&(i.test(S)||x)||y===n&&S==="Text"||y===a&&S==="Comment"||y===o&&S==="DocumentFragment"},l=v=>{var S;return(v==null||(S=v.constructor)===null||S===void 0?void 0:S.name)&&u(v)};e.test=l;function c(v){return v.nodeType===n}function d(v){return v.nodeType===a}function p(v){return v.nodeType===o}var f=(v,S,y,w,x,M)=>{if(c(v))return(0,t.printText)(v.data,S);if(d(v))return(0,t.printComment)(v.data,S);const A=p(v)?"DocumentFragment":v.tagName.toLowerCase();return++w>S.maxDepth?(0,t.printElementAsLeaf)(A,S):(0,t.printElement)(A,(0,t.printProps)(p(v)?[]:Array.from(v.attributes).map(E=>E.name).sort(),p(v)?{}:Array.from(v.attributes).reduce((E,m)=>(E[m.name]=m.value,E),{}),S,y+S.indent,w,x,M),(0,t.printChildren)(Array.prototype.slice.call(v.childNodes||v.children),S,y+S.indent,w,x,M),S,y)};e.serialize=f;var g={serialize:f,test:l};e.default=g})),Rc=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=$r(),r="@@__IMMUTABLE_ITERABLE__@@",n="@@__IMMUTABLE_LIST__@@",a="@@__IMMUTABLE_KEYED__@@",o="@@__IMMUTABLE_MAP__@@",i="@@__IMMUTABLE_ORDERED__@@",s="@@__IMMUTABLE_RECORD__@@",u="@@__IMMUTABLE_SEQ__@@",l="@@__IMMUTABLE_SET__@@",c="@@__IMMUTABLE_STACK__@@",d=m=>"Immutable."+m,p=m=>"["+m+"]",f=" ",g="…",v=(m,_,T,I,D,B,F)=>++I>_.maxDepth?p(d(F)):d(F)+f+"{"+(0,t.printIteratorEntries)(m.entries(),_,T,I,D,B)+"}";function S(m){let _=0;return{next(){if(_<m._keys.length){const T=m._keys[_++];return{done:!1,value:[T,m.get(T)]}}return{done:!0,value:void 0}}}}var y=(m,_,T,I,D,B)=>{const F=d(m._name||"Record");return++I>_.maxDepth?p(F):F+f+"{"+(0,t.printIteratorEntries)(S(m),_,T,I,D,B)+"}"},w=(m,_,T,I,D,B)=>{const F=d("Seq");return++I>_.maxDepth?p(F):m[a]?F+f+"{"+(m._iter||m._object?(0,t.printIteratorEntries)(m.entries(),_,T,I,D,B):g)+"}":F+f+"["+(m._iter||m._array||m._collection||m._iterable?(0,t.printIteratorValues)(m.values(),_,T,I,D,B):g)+"]"},x=(m,_,T,I,D,B,F)=>++I>_.maxDepth?p(d(F)):d(F)+f+"["+(0,t.printIteratorValues)(m.values(),_,T,I,D,B)+"]",M=(m,_,T,I,D,B)=>m[o]?v(m,_,T,I,D,B,m[i]?"OrderedMap":"Map"):m[n]?x(m,_,T,I,D,B,"List"):m[l]?x(m,_,T,I,D,B,m[i]?"OrderedSet":"Set"):m[c]?x(m,_,T,I,D,B,"Stack"):m[u]?w(m,_,T,I,D,B):y(m,_,T,I,D,B);e.serialize=M;var A=m=>m&&(m[r]===!0||m[s]===!0);e.test=A;var E={serialize:M,test:A};e.default=E})),Tc=P((e=>{var t=60103,r=60106,n=60107,a=60108,o=60114,i=60109,s=60110,u=60112,l=60113,c=60120,d=60115,p=60116,f=60121,g=60122,v=60117,S=60129,y=60131;if(typeof Symbol=="function"&&Symbol.for){var w=Symbol.for;t=w("react.element"),r=w("react.portal"),n=w("react.fragment"),a=w("react.strict_mode"),o=w("react.profiler"),i=w("react.provider"),s=w("react.context"),u=w("react.forward_ref"),l=w("react.suspense"),c=w("react.suspense_list"),d=w("react.memo"),p=w("react.lazy"),f=w("react.block"),g=w("react.server.block"),v=w("react.fundamental"),S=w("react.debug_trace_mode"),y=w("react.legacy_hidden")}function x(O){if(typeof O=="object"&&O!==null){var $=O.$$typeof;switch($){case t:switch(O=O.type,O){case n:case o:case a:case l:case c:return O;default:switch(O=O&&O.$$typeof,O){case s:case u:case p:case d:case i:return O;default:return $}}case r:return $}}}var M=i,A=t,E=u,m=n,_=p,T=d,I=r,D=o,B=a,F=l;e.ContextConsumer=s,e.ContextProvider=M,e.Element=A,e.ForwardRef=E,e.Fragment=m,e.Lazy=_,e.Memo=T,e.Portal=I,e.Profiler=D,e.StrictMode=B,e.Suspense=F,e.isAsyncMode=function(){return!1},e.isConcurrentMode=function(){return!1},e.isContextConsumer=function(O){return x(O)===s},e.isContextProvider=function(O){return x(O)===i},e.isElement=function(O){return typeof O=="object"&&O!==null&&O.$$typeof===t},e.isForwardRef=function(O){return x(O)===u},e.isFragment=function(O){return x(O)===n},e.isLazy=function(O){return x(O)===p},e.isMemo=function(O){return x(O)===d},e.isPortal=function(O){return x(O)===r},e.isProfiler=function(O){return x(O)===o},e.isStrictMode=function(O){return x(O)===a},e.isSuspense=function(O){return x(O)===l},e.isValidElementType=function(O){return typeof O=="string"||typeof O=="function"||O===n||O===o||O===S||O===a||O===l||O===c||O===y||typeof O=="object"&&O!==null&&(O.$$typeof===p||O.$$typeof===d||O.$$typeof===i||O.$$typeof===s||O.$$typeof===u||O.$$typeof===v||O.$$typeof===f||O[0]===g)},e.typeOf=x})),Sc=P((e=>{process.env.NODE_ENV!=="production"&&(function(){"use strict";var t=60103,r=60106,n=60107,a=60108,o=60114,i=60109,s=60110,u=60112,l=60113,c=60120,d=60115,p=60116,f=60121,g=60122,v=60117,S=60129,y=60131;if(typeof Symbol=="function"&&Symbol.for){var w=Symbol.for;t=w("react.element"),r=w("react.portal"),n=w("react.fragment"),a=w("react.strict_mode"),o=w("react.profiler"),i=w("react.provider"),s=w("react.context"),u=w("react.forward_ref"),l=w("react.suspense"),c=w("react.suspense_list"),d=w("react.memo"),p=w("react.lazy"),f=w("react.block"),g=w("react.server.block"),v=w("react.fundamental"),w("react.scope"),w("react.opaque.id"),S=w("react.debug_trace_mode"),w("react.offscreen"),y=w("react.legacy_hidden")}var x=!1;function M(N){return!!(typeof N=="string"||typeof N=="function"||N===n||N===o||N===S||N===a||N===l||N===c||N===y||x||typeof N=="object"&&N!==null&&(N.$$typeof===p||N.$$typeof===d||N.$$typeof===i||N.$$typeof===s||N.$$typeof===u||N.$$typeof===v||N.$$typeof===f||N[0]===g))}function A(N){if(typeof N=="object"&&N!==null){var Y=N.$$typeof;switch(Y){case t:var W=N.type;switch(W){case n:case o:case a:case l:case c:return W;default:var te=W&&W.$$typeof;switch(te){case s:case u:case p:case d:case i:return te;default:return Y}}case r:return Y}}}var E=s,m=i,_=t,T=u,I=n,D=p,B=d,F=r,O=o,$=a,H=l,ae=!1,Z=!1;function We(N){return ae||(ae=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")),!1}function Ke(N){return Z||(Z=!0,console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")),!1}function Ge(N){return A(N)===s}function ke(N){return A(N)===i}function je(N){return typeof N=="object"&&N!==null&&N.$$typeof===t}function U(N){return A(N)===u}function De(N){return A(N)===n}function we(N){return A(N)===p}function lt(N){return A(N)===d}function Pt(N){return A(N)===r}function qt(N){return A(N)===o}function R(N){return A(N)===a}function L(N){return A(N)===l}e.ContextConsumer=E,e.ContextProvider=m,e.Element=_,e.ForwardRef=T,e.Fragment=I,e.Lazy=D,e.Memo=B,e.Portal=F,e.Profiler=O,e.StrictMode=$,e.Suspense=H,e.isAsyncMode=We,e.isConcurrentMode=Ke,e.isContextConsumer=Ge,e.isContextProvider=ke,e.isElement=je,e.isForwardRef=U,e.isFragment=De,e.isLazy=we,e.isMemo=lt,e.isPortal=Pt,e.isProfiler=qt,e.isStrictMode=R,e.isSuspense=L,e.isValidElementType=M,e.typeOf=A})()})),xc=P(((e,t)=>{process.env.NODE_ENV==="production"?t.exports=Tc():t.exports=Sc()})),Oc=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=a(xc()),r=_a();function n(d){if(typeof WeakMap!="function")return null;var p=new WeakMap,f=new WeakMap;return(n=function(g){return g?f:p})(d)}function a(d,p){if(!p&&d&&d.__esModule)return d;if(d===null||typeof d!="object"&&typeof d!="function")return{default:d};var f=n(p);if(f&&f.has(d))return f.get(d);var g={},v=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var S in d)if(S!=="default"&&Object.prototype.hasOwnProperty.call(d,S)){var y=v?Object.getOwnPropertyDescriptor(d,S):null;y&&(y.get||y.set)?Object.defineProperty(g,S,y):g[S]=d[S]}return g.default=d,f&&f.set(d,g),g}var o=(d,p=[])=>(Array.isArray(d)?d.forEach(f=>{o(f,p)}):d!=null&&d!==!1&&p.push(d),p),i=d=>{const p=d.type;if(typeof p=="string")return p;if(typeof p=="function")return p.displayName||p.name||"Unknown";if(t.isFragment(d))return"React.Fragment";if(t.isSuspense(d))return"React.Suspense";if(typeof p=="object"&&p!==null){if(t.isContextProvider(d))return"Context.Provider";if(t.isContextConsumer(d))return"Context.Consumer";if(t.isForwardRef(d)){if(p.displayName)return p.displayName;const f=p.render.displayName||p.render.name||"";return f!==""?"ForwardRef("+f+")":"ForwardRef"}if(t.isMemo(d)){const f=p.displayName||p.type.displayName||p.type.name||"";return f!==""?"Memo("+f+")":"Memo"}}return"UNDEFINED"},s=d=>{const{props:p}=d;return Object.keys(p).filter(f=>f!=="children"&&p[f]!==void 0).sort()},u=(d,p,f,g,v,S)=>++g>p.maxDepth?(0,r.printElementAsLeaf)(i(d),p):(0,r.printElement)(i(d),(0,r.printProps)(s(d),d.props,p,f+p.indent,g,v,S),(0,r.printChildren)(o(d.props.children),p,f+p.indent,g,v,S),p,f);e.serialize=u;var l=d=>d!=null&&t.isElement(d);e.test=l;var c={serialize:u,test:l};e.default=c})),Mc=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=_a(),r=(function(){return typeof globalThis<"u"?globalThis:typeof r<"u"?r:typeof self<"u"?self:typeof window<"u"?window:Function("return this")()})(),n=r["jest-symbol-do-not-touch"]||r.Symbol,a=typeof n=="function"&&n.for?n.for("react.test.json"):245830487,o=l=>{const{props:c}=l;return c?Object.keys(c).filter(d=>c[d]!==void 0).sort():[]},i=(l,c,d,p,f,g)=>++p>c.maxDepth?(0,t.printElementAsLeaf)(l.type,c):(0,t.printElement)(l.type,l.props?(0,t.printProps)(o(l),l.props,c,d+c.indent,p,f,g):"",l.children?(0,t.printChildren)(l.children,c,d+c.indent,p,f,g):"",c,d);e.serialize=i;var s=l=>l&&l.$$typeof===a;e.test=s;var u={serialize:i,test:s};e.default=u})),Ac=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.DEFAULT_OPTIONS=void 0,e.format=lt,e.plugins=void 0;var t=c(zi()),r=$r(),n=c(wc()),a=c(_c()),o=c(Cc()),i=c(qc()),s=c(Rc()),u=c(Oc()),l=c(Mc());function c(R){return R&&R.__esModule?R:{default:R}}var d=Object.prototype.toString,p=Date.prototype.toISOString,f=Error.prototype.toString,g=RegExp.prototype.toString,v=R=>typeof R.constructor=="function"&&R.constructor.name||"Object",S=R=>typeof window<"u"&&R===window,y=/^Symbol\((.*)\)(.*)$/,w=/\n/gi,x=class extends Error{constructor(R,L){super(R),this.stack=L,this.name=this.constructor.name}};function M(R){return R==="[object Array]"||R==="[object ArrayBuffer]"||R==="[object DataView]"||R==="[object Float32Array]"||R==="[object Float64Array]"||R==="[object Int8Array]"||R==="[object Int16Array]"||R==="[object Int32Array]"||R==="[object Uint8Array]"||R==="[object Uint8ClampedArray]"||R==="[object Uint16Array]"||R==="[object Uint32Array]"}function A(R){return Object.is(R,-0)?"-0":String(R)}function E(R){return`${R}n`}function m(R,L){return L?"[Function "+(R.name||"anonymous")+"]":"[Function]"}function _(R){return String(R).replace(y,"Symbol($1)")}function T(R){return"["+f.call(R)+"]"}function I(R,L,N,Y){if(R===!0||R===!1)return""+R;if(R===void 0)return"undefined";if(R===null)return"null";const W=typeof R;if(W==="number")return A(R);if(W==="bigint")return E(R);if(W==="string")return Y?'"'+R.replace(/"|\\/g,"\\$&")+'"':'"'+R+'"';if(W==="function")return m(R,L);if(W==="symbol")return _(R);const te=d.call(R);return te==="[object WeakMap]"?"WeakMap {}":te==="[object WeakSet]"?"WeakSet {}":te==="[object Function]"||te==="[object GeneratorFunction]"?m(R,L):te==="[object Symbol]"?_(R):te==="[object Date]"?isNaN(+R)?"Date { NaN }":p.call(R):te==="[object Error]"?T(R):te==="[object RegExp]"?N?g.call(R).replace(/[\\^$*+?.()|[\]{}]/g,"\\$&"):g.call(R):R instanceof Error?T(R):null}function D(R,L,N,Y,W,te){if(W.indexOf(R)!==-1)return"[Circular]";W=W.slice(),W.push(R);const ie=++Y>L.maxDepth,ce=L.min;if(L.callToJSON&&!ie&&R.toJSON&&typeof R.toJSON=="function"&&!te)return $(R.toJSON(),L,N,Y,W,!0);const Re=d.call(R);return Re==="[object Arguments]"?ie?"[Arguments]":(ce?"":"Arguments ")+"["+(0,r.printListItems)(R,L,N,Y,W,$)+"]":M(Re)?ie?"["+R.constructor.name+"]":(ce||!L.printBasicPrototype&&R.constructor.name==="Array"?"":R.constructor.name+" ")+"["+(0,r.printListItems)(R,L,N,Y,W,$)+"]":Re==="[object Map]"?ie?"[Map]":"Map {"+(0,r.printIteratorEntries)(R.entries(),L,N,Y,W,$," => ")+"}":Re==="[object Set]"?ie?"[Set]":"Set {"+(0,r.printIteratorValues)(R.values(),L,N,Y,W,$)+"}":ie||S(R)?"["+v(R)+"]":(ce||!L.printBasicPrototype&&v(R)==="Object"?"":v(R)+" ")+"{"+(0,r.printObjectProperties)(R,L,N,Y,W,$)+"}"}function B(R){return R.serialize!=null}function F(R,L,N,Y,W,te){let ie;try{ie=B(R)?R.serialize(L,N,Y,W,te,$):R.print(L,ce=>$(ce,N,Y,W,te),ce=>{const Re=Y+N.indent;return Re+ce.replace(w,`
|
|
31
|
+
`+Re)},{edgeSpacing:N.spacingOuter,min:N.min,spacing:N.spacingInner},N.colors)}catch(ce){throw new x(ce.message,ce.stack)}if(typeof ie!="string")throw new Error(`pretty-format: Plugin must return type "string" but instead returned "${typeof ie}".`);return ie}function O(R,L){for(let N=0;N<R.length;N++)try{if(R[N].test(L))return R[N]}catch(Y){throw new x(Y.message,Y.stack)}return null}function $(R,L,N,Y,W,te){const ie=O(L.plugins,R);if(ie!==null)return F(ie,R,L,N,Y,W);const ce=I(R,L.printFunctionName,L.escapeRegex,L.escapeString);return ce!==null?ce:D(R,L,N,Y,W,te)}var H={comment:"gray",content:"reset",prop:"yellow",tag:"cyan",value:"green"},ae=Object.keys(H),Z={callToJSON:!0,compareKeys:void 0,escapeRegex:!1,escapeString:!0,highlight:!1,indent:2,maxDepth:1/0,min:!1,plugins:[],printBasicPrototype:!0,printFunctionName:!0,theme:H};e.DEFAULT_OPTIONS=Z;function We(R){if(Object.keys(R).forEach(L=>{if(!Z.hasOwnProperty(L))throw new Error(`pretty-format: Unknown option "${L}".`)}),R.min&&R.indent!==void 0&&R.indent!==0)throw new Error('pretty-format: Options "min" and "indent" cannot be used together.');if(R.theme!==void 0){if(R.theme===null)throw new Error('pretty-format: Option "theme" must not be null.');if(typeof R.theme!="object")throw new Error(`pretty-format: Option "theme" must be of type "object" but instead received "${typeof R.theme}".`)}}var Ke=R=>ae.reduce((L,N)=>{const Y=R.theme&&R.theme[N]!==void 0?R.theme[N]:H[N],W=Y&&t.default[Y];if(W&&typeof W.close=="string"&&typeof W.open=="string")L[N]=W;else throw new Error(`pretty-format: Option "theme" has a key "${N}" whose value "${Y}" is undefined in ansi-styles.`);return L},Object.create(null)),Ge=()=>ae.reduce((R,L)=>(R[L]={close:"",open:""},R),Object.create(null)),ke=R=>R&&R.printFunctionName!==void 0?R.printFunctionName:Z.printFunctionName,je=R=>R&&R.escapeRegex!==void 0?R.escapeRegex:Z.escapeRegex,U=R=>R&&R.escapeString!==void 0?R.escapeString:Z.escapeString,De=R=>{var L;return{callToJSON:R&&R.callToJSON!==void 0?R.callToJSON:Z.callToJSON,colors:R&&R.highlight?Ke(R):Ge(),compareKeys:R&&typeof R.compareKeys=="function"?R.compareKeys:Z.compareKeys,escapeRegex:je(R),escapeString:U(R),indent:R&&R.min?"":we(R&&R.indent!==void 0?R.indent:Z.indent),maxDepth:R&&R.maxDepth!==void 0?R.maxDepth:Z.maxDepth,min:R&&R.min!==void 0?R.min:Z.min,plugins:R&&R.plugins!==void 0?R.plugins:Z.plugins,printBasicPrototype:(L=R?.printBasicPrototype)!==null&&L!==void 0?L:!0,printFunctionName:ke(R),spacingInner:R&&R.min?" ":`
|
|
32
32
|
`,spacingOuter:R&&R.min?"":`
|
|
33
|
-
`}};function we(R){return new Array(R+1).join(" ")}function st(R,L){if(L&&(We(L),L.plugins)){const Y=O(L.plugins,R);if(Y!==null)return F(Y,R,De(L),"",0,[])}const N=I(R,ke(L),je(L),U(L));return N!==null?N:D(R,De(L),"",0,[])}var Ct={AsymmetricMatcher:n.default,ConvertAnsi:a.default,DOMCollection:o.default,DOMElement:i.default,Immutable:s.default,ReactElement:u.default,ReactTestComponent:l.default};e.plugins=Ct;var Pt=st;e.default=Pt})),Vi=In(Mc()),Ac=Object.prototype.toString;function Ka(e){return typeof e=="function"||Ac.call(e)==="[object Function]"}function Ic(e){var t=Number(e);return isNaN(t)?0:t===0||!isFinite(t)?t:(t>0?1:-1)*Math.floor(Math.abs(t))}var Nc=Math.pow(2,53)-1;function kc(e){var t=Ic(e);return Math.min(Math.max(t,0),Nc)}function ge(e,t){var r=Array,n=Object(e);if(e==null)throw new TypeError("Array.from requires an array-like object - not null or undefined");if(typeof t<"u"&&!Ka(t))throw new TypeError("Array.from: when provided, the second argument must be a function");for(var a=kc(n.length),o=Ka(r)?Object(new r(a)):new Array(a),i=0,s;i<a;)s=n[i],t?o[i]=t(s,i):o[i]=s,i+=1;return o.length=a,o}function Dt(e){"@babel/helpers - typeof";return Dt=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},Dt(e)}function jc(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ga(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,Hi(n.key),n)}}function Dc(e,t,r){return t&&Ga(e.prototype,t),r&&Ga(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function Lc(e,t,r){return t=Hi(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Hi(e){var t=Bc(e,"string");return Dt(t)==="symbol"?t:String(t)}function Bc(e,t){if(Dt(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(Dt(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var $c=(function(){function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];jc(this,e),Lc(this,"items",void 0),this.items=t}return Dc(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(a){return a!==r}),n!==this.items.length}},{key:"forEach",value:function(r){var n=this;this.items.forEach(function(a){r(a,a,n)})}},{key:"has",value:function(r){return this.items.indexOf(r)!==-1}},{key:"size",get:function(){return this.items.length}}]),e})(),Fc=typeof Set>"u"?Set:$c;function se(e){var t;return(t=e.localName)!==null&&t!==void 0?t:e.tagName.toLowerCase()}var Uc={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"},zc={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 Vc(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=zc[t])!==null&&n!==void 0&&n.has(r))})}function Wi(e,t){return Vc(e,t)}function Hc(e){var t=Kc(e);if(t===null||t==="presentation"){var r=Wc(e);if(t!=="presentation"||Wi(e,r||""))return r}return t}function Wc(e){var t=Uc[se(e)];if(t!==void 0)return t;switch(se(e)){case"a":case"area":case"link":if(e.hasAttribute("href"))return"link";break;case"img":return e.getAttribute("alt")===""&&!Wi(e,"img")?"presentation":"img";case"input":var r=e.type;switch(r){case"button":case"image":case"reset":case"submit":return"button";case"checkbox":case"radio":return r;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 Kc(e){var t=e.getAttribute("role");if(t!==null){var r=t.trim().split(" ")[0];if(r.length>0)return r}return null}function Q(e){return e!==null&&e.nodeType===e.ELEMENT_NODE}function Ki(e){return Q(e)&&se(e)==="caption"}function ar(e){return Q(e)&&se(e)==="input"}function Gc(e){return Q(e)&&se(e)==="optgroup"}function Yc(e){return Q(e)&&se(e)==="select"}function Xc(e){return Q(e)&&se(e)==="table"}function Jc(e){return Q(e)&&se(e)==="textarea"}function Qc(e){var t=(e.ownerDocument===null?e:e.ownerDocument).defaultView;if(t===null)throw new TypeError("no window available");return t}function Zc(e){return Q(e)&&se(e)==="fieldset"}function ed(e){return Q(e)&&se(e)==="legend"}function td(e){return Q(e)&&se(e)==="slot"}function rd(e){return Q(e)&&e.ownerSVGElement!==void 0}function nd(e){return Q(e)&&se(e)==="svg"}function ad(e){return rd(e)&&se(e)==="title"}function gr(e,t){if(Q(e)&&e.hasAttribute(t)){var r=e.getAttribute(t).split(" "),n=e.getRootNode?e.getRootNode():e.ownerDocument;return r.map(function(a){return n.getElementById(a)}).filter(function(a){return a!==null})}return[]}function Se(e,t){return Q(e)?t.indexOf(Hc(e))!==-1:!1}function od(e){return e.trim().replace(/\s\s+/g," ")}function id(e,t){if(!Q(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 sd(e){return Se(e,["button","combobox","listbox","textbox"])||Gi(e,"range")}function Gi(e,t){if(!Q(e))return!1;if(t==="range")return Se(e,["meter","progressbar","scrollbar","slider","spinbutton"]);throw new TypeError("No knowledge about abstract role '".concat(t,"'. This is likely a bug :("))}function Ya(e,t){var r=ge(e.querySelectorAll(t));return gr(e,"aria-owns").forEach(function(n){r.push.apply(r,ge(n.querySelectorAll(t)))}),r}function ld(e){return Yc(e)?e.selectedOptions||Ya(e,"[selected]"):Ya(e,'[aria-selected="true"]')}function ud(e){return Se(e,["none","presentation"])}function cd(e){return Ki(e)}function dd(e){return Se(e,["button","cell","checkbox","columnheader","gridcell","heading","label","legend","link","menuitem","menuitemcheckbox","menuitemradio","option","radio","row","rowheader","switch","tab","tooltip","treeitem"])}function fd(e){return!1}function pd(e){return ar(e)||Jc(e)?e.value:e.textContent||""}function Xa(e){var t=e.getPropertyValue("content");return/^["'].*["']$/.test(t)?t.slice(1,-1):""}function Yi(e){var t=se(e);return t==="button"||t==="input"&&e.getAttribute("type")!=="hidden"||t==="meter"||t==="output"||t==="progress"||t==="select"||t==="textarea"}function Xi(e){if(Yi(e))return e;var t=null;return e.childNodes.forEach(function(r){if(t===null&&Q(r)){var n=Xi(r);n!==null&&(t=n)}}),t}function md(e){if(e.control!==void 0)return e.control;var t=e.getAttribute("for");return t!==null?e.ownerDocument.getElementById(t):Xi(e)}function hd(e){var t=e.labels;if(t===null)return t;if(t!==void 0)return ge(t);if(!Yi(e))return null;var r=e.ownerDocument;return ge(r.querySelectorAll("label")).filter(function(n){return md(n)===e})}function bd(e){var t=e.assignedNodes();return t.length===0?ge(e.childNodes):t}function Ji(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=new Fc,n=Qc(e),a=t.compute,o=a===void 0?"name":a,i=t.computedStyleSupportsPseudoElements,s=i===void 0?t.getComputedStyle!==void 0:i,u=t.getComputedStyle,l=u===void 0?n.getComputedStyle.bind(n):u,c=t.hidden,d=c===void 0?!1:c;function p(y,w){var x="";if(Q(y)&&s){var M=Xa(l(y,"::before"));x="".concat(M," ").concat(x)}if((td(y)?bd(y):ge(y.childNodes).concat(gr(y,"aria-owns"))).forEach(function(E){var m=S(E,{isEmbeddedInLabel:w.isEmbeddedInLabel,isReferenced:!1,recursion:!0}),_=(Q(E)?l(E).getPropertyValue("display"):"inline")!=="inline"?" ":"";x+="".concat(_).concat(m).concat(_)}),Q(y)&&s){var A=Xa(l(y,"::after"));x="".concat(x," ").concat(A)}return x.trim()}function f(y,w){var x=y.getAttributeNode(w);return x!==null&&!r.has(x)&&x.value.trim()!==""?(r.add(x),x.value):null}function g(y){return Q(y)?f(y,"title"):null}function v(y){if(!Q(y))return null;if(Zc(y)){r.add(y);for(var w=ge(y.childNodes),x=0;x<w.length;x+=1){var M=w[x];if(ed(M))return S(M,{isEmbeddedInLabel:!1,isReferenced:!1,recursion:!1})}}else if(Xc(y)){r.add(y);for(var A=ge(y.childNodes),E=0;E<A.length;E+=1){var m=A[E];if(Ki(m))return S(m,{isEmbeddedInLabel:!1,isReferenced:!1,recursion:!1})}}else if(nd(y)){r.add(y);for(var _=ge(y.childNodes),T=0;T<_.length;T+=1){var I=_[T];if(ad(I))return I.textContent}return null}else if(se(y)==="img"||se(y)==="area"){var D=f(y,"alt");if(D!==null)return D}else if(Gc(y)){var B=f(y,"label");if(B!==null)return B}if(ar(y)&&(y.type==="button"||y.type==="submit"||y.type==="reset")){var F=f(y,"value");if(F!==null)return F;if(y.type==="submit")return"Submit";if(y.type==="reset")return"Reset"}var O=hd(y);if(O!==null&&O.length!==0)return r.add(y),ge(O).map(function(Z){return S(Z,{isEmbeddedInLabel:!0,isReferenced:!1,recursion:!0})}).filter(function(Z){return Z.length>0}).join(" ");if(ar(y)&&y.type==="image"){var $=f(y,"alt");if($!==null)return $;var H=f(y,"title");return H!==null?H:"Submit Query"}if(Se(y,["button"])){var ne=p(y,{isEmbeddedInLabel:!1,isReferenced:!1});if(ne!=="")return ne}return null}function S(y,w){if(r.has(y))return"";if(!d&&id(y,l)&&!w.isReferenced)return r.add(y),"";var x=Q(y)?y.getAttributeNode("aria-labelledby"):null,M=x!==null&&!r.has(x)?gr(y,"aria-labelledby"):[];if(o==="name"&&!w.isReferenced&&M.length>0)return r.add(x),M.map(function(D){return S(D,{isEmbeddedInLabel:w.isEmbeddedInLabel,isReferenced:!0,recursion:!1})}).join(" ");var A=w.recursion&&sd(y)&&o==="name";if(!A){var E=(Q(y)&&y.getAttribute("aria-label")||"").trim();if(E!==""&&o==="name")return r.add(y),E;if(!ud(y)){var m=v(y);if(m!==null)return r.add(y),m}}if(Se(y,["menu"]))return r.add(y),"";if(A||w.isEmbeddedInLabel||w.isReferenced){if(Se(y,["combobox","listbox"])){r.add(y);var _=ld(y);return _.length===0?ar(y)?y.value:"":ge(_).map(function(D){return S(D,{isEmbeddedInLabel:w.isEmbeddedInLabel,isReferenced:!1,recursion:!0})}).join(" ")}if(Gi(y,"range"))return r.add(y),y.hasAttribute("aria-valuetext")?y.getAttribute("aria-valuetext"):y.hasAttribute("aria-valuenow")?y.getAttribute("aria-valuenow"):y.getAttribute("value")||"";if(Se(y,["textbox"]))return r.add(y),pd(y)}if(dd(y)||Q(y)&&w.isReferenced||cd(y)||fd(y)){var T=p(y,{isEmbeddedInLabel:w.isEmbeddedInLabel,isReferenced:!1});if(T!=="")return r.add(y),T}if(y.nodeType===y.TEXT_NODE)return r.add(y),y.textContent||"";if(w.recursion)return r.add(y),p(y,{isEmbeddedInLabel:w.isEmbeddedInLabel,isReferenced:!1});var I=g(y);return I!==null?(r.add(y),I):(r.add(y),"")}return od(S(e,{isEmbeddedInLabel:!1,isReferenced:o==="description",recursion:!1}))}function Lt(e){"@babel/helpers - typeof";return Lt=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},Lt(e)}function Ja(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function Qa(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Ja(Object(r),!0).forEach(function(n){vd(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Ja(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function vd(e,t,r){return t=gd(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function gd(e){var t=yd(e,"string");return Lt(t)==="symbol"?t:String(t)}function yd(e,t){if(Lt(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(Lt(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Qi(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=gr(e,"aria-describedby").map(function(a){return Ji(a,Qa(Qa({},t),{},{compute:"description"}))}).join(" ");if(r===""){var n=e.getAttribute("title");r=n===null?"":n}return r}function wd(e){return Se(e,["caption","code","deletion","emphasis","generic","insertion","paragraph","presentation","strong","subscript","superscript"])}function Ca(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return wd(e)?"":Ji(e,t)}var Ed=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;function t(){var n=this,a=0,o={"@@iterator":function(){return o},next:function(){if(a<n.length){var s=n[a];return a=a+1,{done:!1,value:s}}else return{done:!0}}};return o}var r=t;e.default=r})),Gt=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=a;var t=r(Ed());function r(o){return o&&o.__esModule?o:{default:o}}function n(o){"@babel/helpers - typeof";return n=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},n(o)}function a(o,i){return typeof Symbol=="function"&&n(Symbol.iterator)==="symbol"&&Object.defineProperty(o,Symbol.iterator,{value:t.default.bind(i)}),o}})),_d=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(Gt());function r(f){return f&&f.__esModule?f:{default:f}}function n(f,g){return i(f)||o(f,g)||u(f,g)||a()}function a(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
33
|
+
`}};function we(R){return new Array(R+1).join(" ")}function lt(R,L){if(L&&(We(L),L.plugins)){const Y=O(L.plugins,R);if(Y!==null)return F(Y,R,De(L),"",0,[])}const N=I(R,ke(L),je(L),U(L));return N!==null?N:D(R,De(L),"",0,[])}var Pt={AsymmetricMatcher:n.default,ConvertAnsi:a.default,DOMCollection:o.default,DOMElement:i.default,Immutable:s.default,ReactElement:u.default,ReactTestComponent:l.default};e.plugins=Pt;var qt=lt;e.default=qt})),Vi=In(Ac()),Ic=Object.prototype.toString;function Ka(e){return typeof e=="function"||Ic.call(e)==="[object Function]"}function Nc(e){var t=Number(e);return isNaN(t)?0:t===0||!isFinite(t)?t:(t>0?1:-1)*Math.floor(Math.abs(t))}var kc=Math.pow(2,53)-1;function jc(e){var t=Nc(e);return Math.min(Math.max(t,0),kc)}function ge(e,t){var r=Array,n=Object(e);if(e==null)throw new TypeError("Array.from requires an array-like object - not null or undefined");if(typeof t<"u"&&!Ka(t))throw new TypeError("Array.from: when provided, the second argument must be a function");for(var a=jc(n.length),o=Ka(r)?Object(new r(a)):new Array(a),i=0,s;i<a;)s=n[i],t?o[i]=t(s,i):o[i]=s,i+=1;return o.length=a,o}function Lt(e){"@babel/helpers - typeof";return Lt=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},Lt(e)}function Dc(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ga(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,Hi(n.key),n)}}function Lc(e,t,r){return t&&Ga(e.prototype,t),r&&Ga(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function Bc(e,t,r){return t=Hi(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Hi(e){var t=$c(e,"string");return Lt(t)==="symbol"?t:String(t)}function $c(e,t){if(Lt(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(Lt(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var Fc=(function(){function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];Dc(this,e),Bc(this,"items",void 0),this.items=t}return Lc(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(a){return a!==r}),n!==this.items.length}},{key:"forEach",value:function(r){var n=this;this.items.forEach(function(a){r(a,a,n)})}},{key:"has",value:function(r){return this.items.indexOf(r)!==-1}},{key:"size",get:function(){return this.items.length}}]),e})(),Uc=typeof Set>"u"?Set:Fc;function le(e){var t;return(t=e.localName)!==null&&t!==void 0?t:e.tagName.toLowerCase()}var zc={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"},Vc={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 Hc(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=Vc[t])!==null&&n!==void 0&&n.has(r))})}function Wi(e,t){return Hc(e,t)}function Wc(e){var t=Gc(e);if(t===null||t==="presentation"){var r=Kc(e);if(t!=="presentation"||Wi(e,r||""))return r}return t}function Kc(e){var t=zc[le(e)];if(t!==void 0)return t;switch(le(e)){case"a":case"area":case"link":if(e.hasAttribute("href"))return"link";break;case"img":return e.getAttribute("alt")===""&&!Wi(e,"img")?"presentation":"img";case"input":var r=e.type;switch(r){case"button":case"image":case"reset":case"submit":return"button";case"checkbox":case"radio":return r;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 Gc(e){var t=e.getAttribute("role");if(t!==null){var r=t.trim().split(" ")[0];if(r.length>0)return r}return null}function Q(e){return e!==null&&e.nodeType===e.ELEMENT_NODE}function Ki(e){return Q(e)&&le(e)==="caption"}function or(e){return Q(e)&&le(e)==="input"}function Yc(e){return Q(e)&&le(e)==="optgroup"}function Xc(e){return Q(e)&&le(e)==="select"}function Jc(e){return Q(e)&&le(e)==="table"}function Qc(e){return Q(e)&&le(e)==="textarea"}function Zc(e){var t=(e.ownerDocument===null?e:e.ownerDocument).defaultView;if(t===null)throw new TypeError("no window available");return t}function ed(e){return Q(e)&&le(e)==="fieldset"}function td(e){return Q(e)&&le(e)==="legend"}function rd(e){return Q(e)&&le(e)==="slot"}function nd(e){return Q(e)&&e.ownerSVGElement!==void 0}function ad(e){return Q(e)&&le(e)==="svg"}function od(e){return nd(e)&&le(e)==="title"}function yr(e,t){if(Q(e)&&e.hasAttribute(t)){var r=e.getAttribute(t).split(" "),n=e.getRootNode?e.getRootNode():e.ownerDocument;return r.map(function(a){return n.getElementById(a)}).filter(function(a){return a!==null})}return[]}function Se(e,t){return Q(e)?t.indexOf(Wc(e))!==-1:!1}function id(e){return e.trim().replace(/\s\s+/g," ")}function sd(e,t){if(!Q(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 ld(e){return Se(e,["button","combobox","listbox","textbox"])||Gi(e,"range")}function Gi(e,t){if(!Q(e))return!1;if(t==="range")return Se(e,["meter","progressbar","scrollbar","slider","spinbutton"]);throw new TypeError("No knowledge about abstract role '".concat(t,"'. This is likely a bug :("))}function Ya(e,t){var r=ge(e.querySelectorAll(t));return yr(e,"aria-owns").forEach(function(n){r.push.apply(r,ge(n.querySelectorAll(t)))}),r}function ud(e){return Xc(e)?e.selectedOptions||Ya(e,"[selected]"):Ya(e,'[aria-selected="true"]')}function cd(e){return Se(e,["none","presentation"])}function dd(e){return Ki(e)}function fd(e){return Se(e,["button","cell","checkbox","columnheader","gridcell","heading","label","legend","link","menuitem","menuitemcheckbox","menuitemradio","option","radio","row","rowheader","switch","tab","tooltip","treeitem"])}function pd(e){return!1}function md(e){return or(e)||Qc(e)?e.value:e.textContent||""}function Xa(e){var t=e.getPropertyValue("content");return/^["'].*["']$/.test(t)?t.slice(1,-1):""}function Yi(e){var t=le(e);return t==="button"||t==="input"&&e.getAttribute("type")!=="hidden"||t==="meter"||t==="output"||t==="progress"||t==="select"||t==="textarea"}function Xi(e){if(Yi(e))return e;var t=null;return e.childNodes.forEach(function(r){if(t===null&&Q(r)){var n=Xi(r);n!==null&&(t=n)}}),t}function hd(e){if(e.control!==void 0)return e.control;var t=e.getAttribute("for");return t!==null?e.ownerDocument.getElementById(t):Xi(e)}function bd(e){var t=e.labels;if(t===null)return t;if(t!==void 0)return ge(t);if(!Yi(e))return null;var r=e.ownerDocument;return ge(r.querySelectorAll("label")).filter(function(n){return hd(n)===e})}function vd(e){var t=e.assignedNodes();return t.length===0?ge(e.childNodes):t}function Ji(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=new Uc,n=Zc(e),a=t.compute,o=a===void 0?"name":a,i=t.computedStyleSupportsPseudoElements,s=i===void 0?t.getComputedStyle!==void 0:i,u=t.getComputedStyle,l=u===void 0?n.getComputedStyle.bind(n):u,c=t.hidden,d=c===void 0?!1:c;function p(y,w){var x="";if(Q(y)&&s){var M=Xa(l(y,"::before"));x="".concat(M," ").concat(x)}if((rd(y)?vd(y):ge(y.childNodes).concat(yr(y,"aria-owns"))).forEach(function(E){var m=S(E,{isEmbeddedInLabel:w.isEmbeddedInLabel,isReferenced:!1,recursion:!0}),_=(Q(E)?l(E).getPropertyValue("display"):"inline")!=="inline"?" ":"";x+="".concat(_).concat(m).concat(_)}),Q(y)&&s){var A=Xa(l(y,"::after"));x="".concat(x," ").concat(A)}return x.trim()}function f(y,w){var x=y.getAttributeNode(w);return x!==null&&!r.has(x)&&x.value.trim()!==""?(r.add(x),x.value):null}function g(y){return Q(y)?f(y,"title"):null}function v(y){if(!Q(y))return null;if(ed(y)){r.add(y);for(var w=ge(y.childNodes),x=0;x<w.length;x+=1){var M=w[x];if(td(M))return S(M,{isEmbeddedInLabel:!1,isReferenced:!1,recursion:!1})}}else if(Jc(y)){r.add(y);for(var A=ge(y.childNodes),E=0;E<A.length;E+=1){var m=A[E];if(Ki(m))return S(m,{isEmbeddedInLabel:!1,isReferenced:!1,recursion:!1})}}else if(ad(y)){r.add(y);for(var _=ge(y.childNodes),T=0;T<_.length;T+=1){var I=_[T];if(od(I))return I.textContent}return null}else if(le(y)==="img"||le(y)==="area"){var D=f(y,"alt");if(D!==null)return D}else if(Yc(y)){var B=f(y,"label");if(B!==null)return B}if(or(y)&&(y.type==="button"||y.type==="submit"||y.type==="reset")){var F=f(y,"value");if(F!==null)return F;if(y.type==="submit")return"Submit";if(y.type==="reset")return"Reset"}var O=bd(y);if(O!==null&&O.length!==0)return r.add(y),ge(O).map(function(Z){return S(Z,{isEmbeddedInLabel:!0,isReferenced:!1,recursion:!0})}).filter(function(Z){return Z.length>0}).join(" ");if(or(y)&&y.type==="image"){var $=f(y,"alt");if($!==null)return $;var H=f(y,"title");return H!==null?H:"Submit Query"}if(Se(y,["button"])){var ae=p(y,{isEmbeddedInLabel:!1,isReferenced:!1});if(ae!=="")return ae}return null}function S(y,w){if(r.has(y))return"";if(!d&&sd(y,l)&&!w.isReferenced)return r.add(y),"";var x=Q(y)?y.getAttributeNode("aria-labelledby"):null,M=x!==null&&!r.has(x)?yr(y,"aria-labelledby"):[];if(o==="name"&&!w.isReferenced&&M.length>0)return r.add(x),M.map(function(D){return S(D,{isEmbeddedInLabel:w.isEmbeddedInLabel,isReferenced:!0,recursion:!1})}).join(" ");var A=w.recursion&&ld(y)&&o==="name";if(!A){var E=(Q(y)&&y.getAttribute("aria-label")||"").trim();if(E!==""&&o==="name")return r.add(y),E;if(!cd(y)){var m=v(y);if(m!==null)return r.add(y),m}}if(Se(y,["menu"]))return r.add(y),"";if(A||w.isEmbeddedInLabel||w.isReferenced){if(Se(y,["combobox","listbox"])){r.add(y);var _=ud(y);return _.length===0?or(y)?y.value:"":ge(_).map(function(D){return S(D,{isEmbeddedInLabel:w.isEmbeddedInLabel,isReferenced:!1,recursion:!0})}).join(" ")}if(Gi(y,"range"))return r.add(y),y.hasAttribute("aria-valuetext")?y.getAttribute("aria-valuetext"):y.hasAttribute("aria-valuenow")?y.getAttribute("aria-valuenow"):y.getAttribute("value")||"";if(Se(y,["textbox"]))return r.add(y),md(y)}if(fd(y)||Q(y)&&w.isReferenced||dd(y)||pd(y)){var T=p(y,{isEmbeddedInLabel:w.isEmbeddedInLabel,isReferenced:!1});if(T!=="")return r.add(y),T}if(y.nodeType===y.TEXT_NODE)return r.add(y),y.textContent||"";if(w.recursion)return r.add(y),p(y,{isEmbeddedInLabel:w.isEmbeddedInLabel,isReferenced:!1});var I=g(y);return I!==null?(r.add(y),I):(r.add(y),"")}return id(S(e,{isEmbeddedInLabel:!1,isReferenced:o==="description",recursion:!1}))}function Bt(e){"@babel/helpers - typeof";return Bt=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},Bt(e)}function Ja(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function Qa(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Ja(Object(r),!0).forEach(function(n){gd(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Ja(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function gd(e,t,r){return t=yd(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function yd(e){var t=wd(e,"string");return Bt(t)==="symbol"?t:String(t)}function wd(e,t){if(Bt(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(Bt(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Qi(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=yr(e,"aria-describedby").map(function(a){return Ji(a,Qa(Qa({},t),{},{compute:"description"}))}).join(" ");if(r===""){var n=e.getAttribute("title");r=n===null?"":n}return r}function Ed(e){return Se(e,["caption","code","deletion","emphasis","generic","insertion","paragraph","presentation","strong","subscript","superscript"])}function Ca(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return Ed(e)?"":Ji(e,t)}var _d=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;function t(){var n=this,a=0,o={"@@iterator":function(){return o},next:function(){if(a<n.length){var s=n[a];return a=a+1,{done:!1,value:s}}else return{done:!0}}};return o}var r=t;e.default=r})),Yt=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=a;var t=r(_d());function r(o){return o&&o.__esModule?o:{default:o}}function n(o){"@babel/helpers - typeof";return n=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},n(o)}function a(o,i){return typeof Symbol=="function"&&n(Symbol.iterator)==="symbol"&&Object.defineProperty(o,Symbol.iterator,{value:t.default.bind(i)}),o}})),Cd=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(Yt());function r(f){return f&&f.__esModule?f:{default:f}}function n(f,g){return i(f)||o(f,g)||u(f,g)||a()}function a(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
34
34
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function o(f,g){var v=f==null?null:typeof Symbol<"u"&&f[Symbol.iterator]||f["@@iterator"];if(v!=null){var S=[],y=!0,w=!1,x,M;try{for(v=v.call(f);!(y=(x=v.next()).done)&&(S.push(x.value),!(g&&S.length===g));y=!0);}catch(A){w=!0,M=A}finally{try{!y&&v.return!=null&&v.return()}finally{if(w)throw M}}return S}}function i(f){if(Array.isArray(f))return f}function s(f,g){var v=typeof Symbol<"u"&&f[Symbol.iterator]||f["@@iterator"];if(!v){if(Array.isArray(f)||(v=u(f))||g&&f&&typeof f.length=="number"){v&&(f=v);var S=0,y=function(){};return{s:y,n:function(){return S>=f.length?{done:!0}:{done:!1,value:f[S++]}},e:function(E){throw E},f:y}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
35
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var w=!0,x=!1,M;return{s:function(){v=v.call(f)},n:function(){var E=v.next();return w=E.done,E},e:function(E){x=!0,M=E},f:function(){try{!w&&v.return!=null&&v.return()}finally{if(x)throw M}}}}function u(f,g){if(f){if(typeof f=="string")return l(f,g);var v=Object.prototype.toString.call(f).slice(8,-1);if(v==="Object"&&f.constructor&&(v=f.constructor.name),v==="Map"||v==="Set")return Array.from(f);if(v==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(v))return l(f,g)}}function l(f,g){(g==null||g>f.length)&&(g=f.length);for(var v=0,S=new Array(g);v<g;v++)S[v]=f[v];return S}var c=[["aria-activedescendant",{type:"id"}],["aria-atomic",{type:"boolean"}],["aria-autocomplete",{type:"token",values:["inline","list","both","none"]}],["aria-braillelabel",{type:"string"}],["aria-brailleroledescription",{type:"string"}],["aria-busy",{type:"boolean"}],["aria-checked",{type:"tristate"}],["aria-colcount",{type:"integer"}],["aria-colindex",{type:"integer"}],["aria-colspan",{type:"integer"}],["aria-controls",{type:"idlist"}],["aria-current",{type:"token",values:["page","step","location","date","time",!0,!1]}],["aria-describedby",{type:"idlist"}],["aria-description",{type:"string"}],["aria-details",{type:"id"}],["aria-disabled",{type:"boolean"}],["aria-dropeffect",{type:"tokenlist",values:["copy","execute","link","move","none","popup"]}],["aria-errormessage",{type:"id"}],["aria-expanded",{type:"boolean",allowundefined:!0}],["aria-flowto",{type:"idlist"}],["aria-grabbed",{type:"boolean",allowundefined:!0}],["aria-haspopup",{type:"token",values:[!1,!0,"menu","listbox","tree","grid","dialog"]}],["aria-hidden",{type:"boolean",allowundefined:!0}],["aria-invalid",{type:"token",values:["grammar",!1,"spelling",!0]}],["aria-keyshortcuts",{type:"string"}],["aria-label",{type:"string"}],["aria-labelledby",{type:"idlist"}],["aria-level",{type:"integer"}],["aria-live",{type:"token",values:["assertive","off","polite"]}],["aria-modal",{type:"boolean"}],["aria-multiline",{type:"boolean"}],["aria-multiselectable",{type:"boolean"}],["aria-orientation",{type:"token",values:["vertical","undefined","horizontal"]}],["aria-owns",{type:"idlist"}],["aria-placeholder",{type:"string"}],["aria-posinset",{type:"integer"}],["aria-pressed",{type:"tristate"}],["aria-readonly",{type:"boolean"}],["aria-relevant",{type:"tokenlist",values:["additions","all","removals","text"]}],["aria-required",{type:"boolean"}],["aria-roledescription",{type:"string"}],["aria-rowcount",{type:"integer"}],["aria-rowindex",{type:"integer"}],["aria-rowspan",{type:"integer"}],["aria-selected",{type:"boolean",allowundefined:!0}],["aria-setsize",{type:"integer"}],["aria-sort",{type:"token",values:["ascending","descending","none","other"]}],["aria-valuemax",{type:"number"}],["aria-valuemin",{type:"number"}],["aria-valuenow",{type:"number"}],["aria-valuetext",{type:"string"}]],d={entries:function(){return c},forEach:function(g){var v=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,S=s(c),y;try{for(S.s();!(y=S.n()).done;){var w=n(y.value,2),x=w[0],M=w[1];g.call(v,M,x,c)}}catch(A){S.e(A)}finally{S.f()}},get:function(g){var v=c.find(function(S){return S[0]===g});return v&&v[1]},has:function(g){return!!d.get(g)},keys:function(){return c.map(function(g){return n(g,1)[0]})},values:function(){return c.map(function(g){return n(g,2)[1]})}},p=(0,t.default)(d,d.entries());e.default=p})),
|
|
35
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var w=!0,x=!1,M;return{s:function(){v=v.call(f)},n:function(){var E=v.next();return w=E.done,E},e:function(E){x=!0,M=E},f:function(){try{!w&&v.return!=null&&v.return()}finally{if(x)throw M}}}}function u(f,g){if(f){if(typeof f=="string")return l(f,g);var v=Object.prototype.toString.call(f).slice(8,-1);if(v==="Object"&&f.constructor&&(v=f.constructor.name),v==="Map"||v==="Set")return Array.from(f);if(v==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(v))return l(f,g)}}function l(f,g){(g==null||g>f.length)&&(g=f.length);for(var v=0,S=new Array(g);v<g;v++)S[v]=f[v];return S}var c=[["aria-activedescendant",{type:"id"}],["aria-atomic",{type:"boolean"}],["aria-autocomplete",{type:"token",values:["inline","list","both","none"]}],["aria-braillelabel",{type:"string"}],["aria-brailleroledescription",{type:"string"}],["aria-busy",{type:"boolean"}],["aria-checked",{type:"tristate"}],["aria-colcount",{type:"integer"}],["aria-colindex",{type:"integer"}],["aria-colspan",{type:"integer"}],["aria-controls",{type:"idlist"}],["aria-current",{type:"token",values:["page","step","location","date","time",!0,!1]}],["aria-describedby",{type:"idlist"}],["aria-description",{type:"string"}],["aria-details",{type:"id"}],["aria-disabled",{type:"boolean"}],["aria-dropeffect",{type:"tokenlist",values:["copy","execute","link","move","none","popup"]}],["aria-errormessage",{type:"id"}],["aria-expanded",{type:"boolean",allowundefined:!0}],["aria-flowto",{type:"idlist"}],["aria-grabbed",{type:"boolean",allowundefined:!0}],["aria-haspopup",{type:"token",values:[!1,!0,"menu","listbox","tree","grid","dialog"]}],["aria-hidden",{type:"boolean",allowundefined:!0}],["aria-invalid",{type:"token",values:["grammar",!1,"spelling",!0]}],["aria-keyshortcuts",{type:"string"}],["aria-label",{type:"string"}],["aria-labelledby",{type:"idlist"}],["aria-level",{type:"integer"}],["aria-live",{type:"token",values:["assertive","off","polite"]}],["aria-modal",{type:"boolean"}],["aria-multiline",{type:"boolean"}],["aria-multiselectable",{type:"boolean"}],["aria-orientation",{type:"token",values:["vertical","undefined","horizontal"]}],["aria-owns",{type:"idlist"}],["aria-placeholder",{type:"string"}],["aria-posinset",{type:"integer"}],["aria-pressed",{type:"tristate"}],["aria-readonly",{type:"boolean"}],["aria-relevant",{type:"tokenlist",values:["additions","all","removals","text"]}],["aria-required",{type:"boolean"}],["aria-roledescription",{type:"string"}],["aria-rowcount",{type:"integer"}],["aria-rowindex",{type:"integer"}],["aria-rowspan",{type:"integer"}],["aria-selected",{type:"boolean",allowundefined:!0}],["aria-setsize",{type:"integer"}],["aria-sort",{type:"token",values:["ascending","descending","none","other"]}],["aria-valuemax",{type:"number"}],["aria-valuemin",{type:"number"}],["aria-valuenow",{type:"number"}],["aria-valuetext",{type:"string"}]],d={entries:function(){return c},forEach:function(g){var v=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,S=s(c),y;try{for(S.s();!(y=S.n()).done;){var w=n(y.value,2),x=w[0],M=w[1];g.call(v,M,x,c)}}catch(A){S.e(A)}finally{S.f()}},get:function(g){var v=c.find(function(S){return S[0]===g});return v&&v[1]},has:function(g){return!!d.get(g)},keys:function(){return c.map(function(g){return n(g,1)[0]})},values:function(){return c.map(function(g){return n(g,2)[1]})}},p=(0,t.default)(d,d.entries());e.default=p})),Pd=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(Yt());function r(f){return f&&f.__esModule?f:{default:f}}function n(f,g){return i(f)||o(f,g)||u(f,g)||a()}function a(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
36
36
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function o(f,g){var v=f==null?null:typeof Symbol<"u"&&f[Symbol.iterator]||f["@@iterator"];if(v!=null){var S=[],y=!0,w=!1,x,M;try{for(v=v.call(f);!(y=(x=v.next()).done)&&(S.push(x.value),!(g&&S.length===g));y=!0);}catch(A){w=!0,M=A}finally{try{!y&&v.return!=null&&v.return()}finally{if(w)throw M}}return S}}function i(f){if(Array.isArray(f))return f}function s(f,g){var v=typeof Symbol<"u"&&f[Symbol.iterator]||f["@@iterator"];if(!v){if(Array.isArray(f)||(v=u(f))||g&&f&&typeof f.length=="number"){v&&(f=v);var S=0,y=function(){};return{s:y,n:function(){return S>=f.length?{done:!0}:{done:!1,value:f[S++]}},e:function(E){throw E},f:y}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
37
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var w=!0,x=!1,M;return{s:function(){v=v.call(f)},n:function(){var E=v.next();return w=E.done,E},e:function(E){x=!0,M=E},f:function(){try{!w&&v.return!=null&&v.return()}finally{if(x)throw M}}}}function u(f,g){if(f){if(typeof f=="string")return l(f,g);var v=Object.prototype.toString.call(f).slice(8,-1);if(v==="Object"&&f.constructor&&(v=f.constructor.name),v==="Map"||v==="Set")return Array.from(f);if(v==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(v))return l(f,g)}}function l(f,g){(g==null||g>f.length)&&(g=f.length);for(var v=0,S=new Array(g);v<g;v++)S[v]=f[v];return S}var c=[["a",{reserved:!1}],["abbr",{reserved:!1}],["acronym",{reserved:!1}],["address",{reserved:!1}],["applet",{reserved:!1}],["area",{reserved:!1}],["article",{reserved:!1}],["aside",{reserved:!1}],["audio",{reserved:!1}],["b",{reserved:!1}],["base",{reserved:!0}],["bdi",{reserved:!1}],["bdo",{reserved:!1}],["big",{reserved:!1}],["blink",{reserved:!1}],["blockquote",{reserved:!1}],["body",{reserved:!1}],["br",{reserved:!1}],["button",{reserved:!1}],["canvas",{reserved:!1}],["caption",{reserved:!1}],["center",{reserved:!1}],["cite",{reserved:!1}],["code",{reserved:!1}],["col",{reserved:!0}],["colgroup",{reserved:!0}],["content",{reserved:!1}],["data",{reserved:!1}],["datalist",{reserved:!1}],["dd",{reserved:!1}],["del",{reserved:!1}],["details",{reserved:!1}],["dfn",{reserved:!1}],["dialog",{reserved:!1}],["dir",{reserved:!1}],["div",{reserved:!1}],["dl",{reserved:!1}],["dt",{reserved:!1}],["em",{reserved:!1}],["embed",{reserved:!1}],["fieldset",{reserved:!1}],["figcaption",{reserved:!1}],["figure",{reserved:!1}],["font",{reserved:!1}],["footer",{reserved:!1}],["form",{reserved:!1}],["frame",{reserved:!1}],["frameset",{reserved:!1}],["h1",{reserved:!1}],["h2",{reserved:!1}],["h3",{reserved:!1}],["h4",{reserved:!1}],["h5",{reserved:!1}],["h6",{reserved:!1}],["head",{reserved:!0}],["header",{reserved:!1}],["hgroup",{reserved:!1}],["hr",{reserved:!1}],["html",{reserved:!0}],["i",{reserved:!1}],["iframe",{reserved:!1}],["img",{reserved:!1}],["input",{reserved:!1}],["ins",{reserved:!1}],["kbd",{reserved:!1}],["keygen",{reserved:!1}],["label",{reserved:!1}],["legend",{reserved:!1}],["li",{reserved:!1}],["link",{reserved:!0}],["main",{reserved:!1}],["map",{reserved:!1}],["mark",{reserved:!1}],["marquee",{reserved:!1}],["menu",{reserved:!1}],["menuitem",{reserved:!1}],["meta",{reserved:!0}],["meter",{reserved:!1}],["nav",{reserved:!1}],["noembed",{reserved:!0}],["noscript",{reserved:!0}],["object",{reserved:!1}],["ol",{reserved:!1}],["optgroup",{reserved:!1}],["option",{reserved:!1}],["output",{reserved:!1}],["p",{reserved:!1}],["param",{reserved:!0}],["picture",{reserved:!0}],["pre",{reserved:!1}],["progress",{reserved:!1}],["q",{reserved:!1}],["rp",{reserved:!1}],["rt",{reserved:!1}],["rtc",{reserved:!1}],["ruby",{reserved:!1}],["s",{reserved:!1}],["samp",{reserved:!1}],["script",{reserved:!0}],["section",{reserved:!1}],["select",{reserved:!1}],["small",{reserved:!1}],["source",{reserved:!0}],["spacer",{reserved:!1}],["span",{reserved:!1}],["strike",{reserved:!1}],["strong",{reserved:!1}],["style",{reserved:!0}],["sub",{reserved:!1}],["summary",{reserved:!1}],["sup",{reserved:!1}],["table",{reserved:!1}],["tbody",{reserved:!1}],["td",{reserved:!1}],["textarea",{reserved:!1}],["tfoot",{reserved:!1}],["th",{reserved:!1}],["thead",{reserved:!1}],["time",{reserved:!1}],["title",{reserved:!0}],["tr",{reserved:!1}],["track",{reserved:!0}],["tt",{reserved:!1}],["u",{reserved:!1}],["ul",{reserved:!1}],["var",{reserved:!1}],["video",{reserved:!1}],["wbr",{reserved:!1}],["xmp",{reserved:!1}]],d={entries:function(){return c},forEach:function(g){var v=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,S=s(c),y;try{for(S.s();!(y=S.n()).done;){var w=n(y.value,2),x=w[0],M=w[1];g.call(v,M,x,c)}}catch(A){S.e(A)}finally{S.f()}},get:function(g){var v=c.find(function(S){return S[0]===g});return v&&v[1]},has:function(g){return!!d.get(g)},keys:function(){return c.map(function(g){return n(g,1)[0]})},values:function(){return c.map(function(g){return n(g,2)[1]})}},p=(0,t.default)(d,d.entries());e.default=p})),Pd=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]};e.default=t})),qd=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t})),Rd=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t})),Td=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t})),Sd=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t})),xd=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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:[]};e.default=t})),Od=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t})),Md=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};e.default=t})),Ad=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t})),Id=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]};e.default=t})),Nd=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]};e.default=t})),kd=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-modal":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]};e.default=t})),jd=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=f(Pd()),r=f(qd()),n=f(Rd()),a=f(Td()),o=f(Sd()),i=f(xd()),s=f(Od()),u=f(Md()),l=f(Ad()),c=f(Id()),d=f(Nd()),p=f(kd());function f(v){return v&&v.__esModule?v:{default:v}}var g=[["command",t.default],["composite",r.default],["input",n.default],["landmark",a.default],["range",o.default],["roletype",i.default],["section",s.default],["sectionhead",u.default],["select",l.default],["structure",c.default],["widget",d.default],["window",p.default]];e.default=g})),Dd=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t})),Ld=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t})),Bd=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t})),$d=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t})),Fd=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t})),Ud=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t})),zd=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t})),Vd=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t})),Hd=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t})),Wd=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t})),Kd=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t})),Gd=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t})),Yd=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t})),Xd=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t})),Jd=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t})),Qd=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t})),Zd=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t})),ef=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"dialog"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","window"]]};e.default=t})),tf=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{module:"DAISY Guide"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","list"]]};e.default=t})),rf=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t})),nf=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t})),af=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["article"]],requiredProps:{},superClass:[["roletype","structure","section","list"]]};e.default=t})),of=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t})),sf=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t})),lf=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t})),uf=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-multiselectable":null,"aria-readonly":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["row"],["row","rowgroup"]],requiredProps:{},superClass:[["roletype","widget","composite"],["roletype","structure","section","table"]]};e.default=t})),cf=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t})),df=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t})),ff=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t})),pf=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t})),mf=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t})),hf=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"href"}],name:"a"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"href"}],name:"area"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command"]]};e.default=t})),bf=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t})),vf=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t})),gf=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-level":null,"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{constraints:["direct descendant of ol","direct descendant of ul","direct descendant of menu"],name:"li"},module:"HTML"},{concept:{name:"item"},module:"XForms"}],requireContextRole:["directory","list"],requiredContextRole:["directory","list"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t})),yf=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-live":"polite"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t})),wf=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t})),Ef=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t})),_f=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t})),Cf=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t})),Pf=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t})),qf=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t})),Rf=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t})),Tf=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t})),Sf=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"menuitem"},module:"ARIA"}],requireContextRole:["group","menu","menubar"],requiredContextRole:["group","menu","menubar"],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input","checkbox","menuitemcheckbox"],["roletype","widget","command","menuitem","menuitemcheckbox"],["roletype","widget","input","radio"]]};e.default=t})),xf=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t})),Of=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t})),Mf=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[]};e.default=t})),Af=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t})),If=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t})),Nf=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t})),kf=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t})),jf=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t})),Df=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t})),Lf=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t})),Bf=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t})),$f=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t})),Ff=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t})),Uf=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t})),zf=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t})),Vf=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t})),Hf=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t})),Wf=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t})),Kf=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t})),Gf=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t})),Yf=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t})),Xf=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t})),Jf=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t})),Qf=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t})),Zf=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t})),ep=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t})),tp=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-colcount":null,"aria-rowcount":null},relatedConcepts:[{concept:{name:"table"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["row"],["row","rowgroup"]],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t})),rp=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t})),np=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t})),ap=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t})),op=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t})),ip=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t})),sp=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","status"]]};e.default=t})),lp=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":"horizontal"},relatedConcepts:[{concept:{name:"menubar"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","group"]]};e.default=t})),up=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t})),cp=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t})),dp=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t})),fp=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t})),pp=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=k(Dd()),r=k(Ld()),n=k(Bd()),a=k($d()),o=k(Fd()),i=k(Ud()),s=k(zd()),u=k(Vd()),l=k(Hd()),c=k(Wd()),d=k(Kd()),p=k(Gd()),f=k(Yd()),g=k(Xd()),v=k(Jd()),S=k(Qd()),y=k(Zd()),w=k(ef()),x=k(tf()),M=k(rf()),A=k(nf()),E=k(af()),m=k(of()),_=k(sf()),T=k(lf()),I=k(uf()),D=k(cf()),B=k(df()),F=k(ff()),O=k(pf()),$=k(mf()),H=k(hf()),ne=k(bf()),Z=k(vf()),We=k(gf()),Ke=k(yf()),Ge=k(wf()),ke=k(Ef()),je=k(_f()),U=k(Cf()),De=k(Pf()),we=k(qf()),st=k(Rf()),Ct=k(Tf()),Pt=k(Sf()),R=k(xf()),L=k(Of()),N=k(Mf()),Y=k(Af()),W=k(If()),te=k(Nf()),oe=k(kf()),ue=k(jf()),Re=k(Df()),Ys=k(Lf()),Xs=k(Bf()),Js=k($f()),Qs=k(Ff()),Zs=k(Uf()),el=k(zf()),tl=k(Vf()),rl=k(Hf()),nl=k(Wf()),al=k(Kf()),ol=k(Gf()),il=k(Yf()),sl=k(Xf()),ll=k(Jf()),ul=k(Qf()),cl=k(Zf()),dl=k(ep()),fl=k(tp()),pl=k(rp()),ml=k(np()),hl=k(ap()),bl=k(op()),vl=k(ip()),gl=k(sp()),yl=k(lp()),wl=k(up()),El=k(cp()),_l=k(dp()),Cl=k(fp());function k(Xt){return Xt&&Xt.__esModule?Xt:{default:Xt}}var Pl=[["alert",t.default],["alertdialog",r.default],["application",n.default],["article",a.default],["banner",o.default],["blockquote",i.default],["button",s.default],["caption",u.default],["cell",l.default],["checkbox",c.default],["code",d.default],["columnheader",p.default],["combobox",f.default],["complementary",g.default],["contentinfo",v.default],["definition",S.default],["deletion",y.default],["dialog",w.default],["directory",x.default],["document",M.default],["emphasis",A.default],["feed",E.default],["figure",m.default],["form",_.default],["generic",T.default],["grid",I.default],["gridcell",D.default],["group",B.default],["heading",F.default],["img",O.default],["insertion",$.default],["link",H.default],["list",ne.default],["listbox",Z.default],["listitem",We.default],["log",Ke.default],["main",Ge.default],["mark",ke.default],["marquee",je.default],["math",U.default],["menu",De.default],["menubar",we.default],["menuitem",st.default],["menuitemcheckbox",Ct.default],["menuitemradio",Pt.default],["meter",R.default],["navigation",L.default],["none",N.default],["note",Y.default],["option",W.default],["paragraph",te.default],["presentation",oe.default],["progressbar",ue.default],["radio",Re.default],["radiogroup",Ys.default],["region",Xs.default],["row",Js.default],["rowgroup",Qs.default],["rowheader",Zs.default],["scrollbar",el.default],["search",tl.default],["searchbox",rl.default],["separator",nl.default],["slider",al.default],["spinbutton",ol.default],["status",il.default],["strong",sl.default],["subscript",ll.default],["superscript",ul.default],["switch",cl.default],["tab",dl.default],["table",fl.default],["tablist",pl.default],["tabpanel",ml.default],["term",hl.default],["textbox",bl.default],["time",vl.default],["timer",gl.default],["toolbar",yl.default],["tooltip",wl.default],["tree",El.default],["treegrid",_l.default],["treeitem",Cl.default]];e.default=Pl})),mp=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"abstract [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t})),hp=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"acknowledgments [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t})),bp=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"afterword [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t})),vp=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"appendix [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t})),gp=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t})),yp=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t})),wp=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"bibliography [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["doc-biblioentry"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t})),Ep=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t})),_p=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"chapter [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t})),Cp=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"colophon [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t})),Pp=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"conclusion [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t})),qp=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"cover [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","img"]]};e.default=t})),Rp=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"credit [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t})),Tp=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"credits [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t})),Sp=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"dedication [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t})),xp=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"rearnote [EPUB-SSV]"},module:"EPUB"}],requireContextRole:["doc-endnotes"],requiredContextRole:["doc-endnotes"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","listitem"]]};e.default=t})),Op=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"rearnotes [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["doc-endnote"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t})),Mp=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"epigraph [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t})),Ap=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"epilogue [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t})),Ip=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"errata [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t})),Np=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t})),kp=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"footnote [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t})),jp=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"foreword [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t})),Dp=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"glossary [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["definition"],["term"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t})),Lp=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t})),Bp=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"index [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]};e.default=t})),$p=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"introduction [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t})),Fp=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t})),Up=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"notice [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","note"]]};e.default=t})),zp=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t})),Vp=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"page-list [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]};e.default=t})),Hp=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t})),Wp=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"preface [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t})),Kp=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"prologue [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t})),Gp=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t})),Yp=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"qna [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t})),Xp=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"subtitle [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","sectionhead"]]};e.default=t})),Jp=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"help [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","note"]]};e.default=t})),Qp=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"toc [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]};e.default=t})),Zp=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=U(mp()),r=U(hp()),n=U(bp()),a=U(vp()),o=U(gp()),i=U(yp()),s=U(wp()),u=U(Ep()),l=U(_p()),c=U(Cp()),d=U(Pp()),p=U(qp()),f=U(Rp()),g=U(Tp()),v=U(Sp()),S=U(xp()),y=U(Op()),w=U(Mp()),x=U(Ap()),M=U(Ip()),A=U(Np()),E=U(kp()),m=U(jp()),_=U(Dp()),T=U(Lp()),I=U(Bp()),D=U($p()),B=U(Fp()),F=U(Up()),O=U(zp()),$=U(Vp()),H=U(Hp()),ne=U(Wp()),Z=U(Kp()),We=U(Gp()),Ke=U(Yp()),Ge=U(Xp()),ke=U(Jp()),je=U(Qp());function U(we){return we&&we.__esModule?we:{default:we}}var De=[["doc-abstract",t.default],["doc-acknowledgments",r.default],["doc-afterword",n.default],["doc-appendix",a.default],["doc-backlink",o.default],["doc-biblioentry",i.default],["doc-bibliography",s.default],["doc-biblioref",u.default],["doc-chapter",l.default],["doc-colophon",c.default],["doc-conclusion",d.default],["doc-cover",p.default],["doc-credit",f.default],["doc-credits",g.default],["doc-dedication",v.default],["doc-endnote",S.default],["doc-endnotes",y.default],["doc-epigraph",w.default],["doc-epilogue",x.default],["doc-errata",M.default],["doc-example",A.default],["doc-footnote",E.default],["doc-foreword",m.default],["doc-glossary",_.default],["doc-glossref",T.default],["doc-index",I.default],["doc-introduction",D.default],["doc-noteref",B.default],["doc-notice",F.default],["doc-pagebreak",O.default],["doc-pagelist",$.default],["doc-part",H.default],["doc-preface",ne.default],["doc-prologue",Z.default],["doc-pullquote",We.default],["doc-qna",Ke.default],["doc-subtitle",Ge.default],["doc-tip",ke.default],["doc-toc",je.default]];e.default=De})),em=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t})),tm=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t})),rm=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t})),nm=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=a(em()),r=a(tm()),n=a(rm());function a(i){return i&&i.__esModule?i:{default:i}}var o=[["graphics-document",t.default],["graphics-object",r.default],["graphics-symbol",n.default]];e.default=o})),Pa=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=i(jd()),r=i(pp()),n=i(Zp()),a=i(nm()),o=i(Gt());function i(w){return w&&w.__esModule?w:{default:w}}function s(w,x,M){return x in w?Object.defineProperty(w,x,{value:M,enumerable:!0,configurable:!0,writable:!0}):w[x]=M,w}function u(w,x){var M=typeof Symbol<"u"&&w[Symbol.iterator]||w["@@iterator"];if(!M){if(Array.isArray(w)||(M=d(w))||x&&w&&typeof w.length=="number"){M&&(w=M);var A=0,E=function(){};return{s:E,n:function(){return A>=w.length?{done:!0}:{done:!1,value:w[A++]}},e:function(D){throw D},f:E}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
37
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var w=!0,x=!1,M;return{s:function(){v=v.call(f)},n:function(){var E=v.next();return w=E.done,E},e:function(E){x=!0,M=E},f:function(){try{!w&&v.return!=null&&v.return()}finally{if(x)throw M}}}}function u(f,g){if(f){if(typeof f=="string")return l(f,g);var v=Object.prototype.toString.call(f).slice(8,-1);if(v==="Object"&&f.constructor&&(v=f.constructor.name),v==="Map"||v==="Set")return Array.from(f);if(v==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(v))return l(f,g)}}function l(f,g){(g==null||g>f.length)&&(g=f.length);for(var v=0,S=new Array(g);v<g;v++)S[v]=f[v];return S}var c=[["a",{reserved:!1}],["abbr",{reserved:!1}],["acronym",{reserved:!1}],["address",{reserved:!1}],["applet",{reserved:!1}],["area",{reserved:!1}],["article",{reserved:!1}],["aside",{reserved:!1}],["audio",{reserved:!1}],["b",{reserved:!1}],["base",{reserved:!0}],["bdi",{reserved:!1}],["bdo",{reserved:!1}],["big",{reserved:!1}],["blink",{reserved:!1}],["blockquote",{reserved:!1}],["body",{reserved:!1}],["br",{reserved:!1}],["button",{reserved:!1}],["canvas",{reserved:!1}],["caption",{reserved:!1}],["center",{reserved:!1}],["cite",{reserved:!1}],["code",{reserved:!1}],["col",{reserved:!0}],["colgroup",{reserved:!0}],["content",{reserved:!1}],["data",{reserved:!1}],["datalist",{reserved:!1}],["dd",{reserved:!1}],["del",{reserved:!1}],["details",{reserved:!1}],["dfn",{reserved:!1}],["dialog",{reserved:!1}],["dir",{reserved:!1}],["div",{reserved:!1}],["dl",{reserved:!1}],["dt",{reserved:!1}],["em",{reserved:!1}],["embed",{reserved:!1}],["fieldset",{reserved:!1}],["figcaption",{reserved:!1}],["figure",{reserved:!1}],["font",{reserved:!1}],["footer",{reserved:!1}],["form",{reserved:!1}],["frame",{reserved:!1}],["frameset",{reserved:!1}],["h1",{reserved:!1}],["h2",{reserved:!1}],["h3",{reserved:!1}],["h4",{reserved:!1}],["h5",{reserved:!1}],["h6",{reserved:!1}],["head",{reserved:!0}],["header",{reserved:!1}],["hgroup",{reserved:!1}],["hr",{reserved:!1}],["html",{reserved:!0}],["i",{reserved:!1}],["iframe",{reserved:!1}],["img",{reserved:!1}],["input",{reserved:!1}],["ins",{reserved:!1}],["kbd",{reserved:!1}],["keygen",{reserved:!1}],["label",{reserved:!1}],["legend",{reserved:!1}],["li",{reserved:!1}],["link",{reserved:!0}],["main",{reserved:!1}],["map",{reserved:!1}],["mark",{reserved:!1}],["marquee",{reserved:!1}],["menu",{reserved:!1}],["menuitem",{reserved:!1}],["meta",{reserved:!0}],["meter",{reserved:!1}],["nav",{reserved:!1}],["noembed",{reserved:!0}],["noscript",{reserved:!0}],["object",{reserved:!1}],["ol",{reserved:!1}],["optgroup",{reserved:!1}],["option",{reserved:!1}],["output",{reserved:!1}],["p",{reserved:!1}],["param",{reserved:!0}],["picture",{reserved:!0}],["pre",{reserved:!1}],["progress",{reserved:!1}],["q",{reserved:!1}],["rp",{reserved:!1}],["rt",{reserved:!1}],["rtc",{reserved:!1}],["ruby",{reserved:!1}],["s",{reserved:!1}],["samp",{reserved:!1}],["script",{reserved:!0}],["section",{reserved:!1}],["select",{reserved:!1}],["small",{reserved:!1}],["source",{reserved:!0}],["spacer",{reserved:!1}],["span",{reserved:!1}],["strike",{reserved:!1}],["strong",{reserved:!1}],["style",{reserved:!0}],["sub",{reserved:!1}],["summary",{reserved:!1}],["sup",{reserved:!1}],["table",{reserved:!1}],["tbody",{reserved:!1}],["td",{reserved:!1}],["textarea",{reserved:!1}],["tfoot",{reserved:!1}],["th",{reserved:!1}],["thead",{reserved:!1}],["time",{reserved:!1}],["title",{reserved:!0}],["tr",{reserved:!1}],["track",{reserved:!0}],["tt",{reserved:!1}],["u",{reserved:!1}],["ul",{reserved:!1}],["var",{reserved:!1}],["video",{reserved:!1}],["wbr",{reserved:!1}],["xmp",{reserved:!1}]],d={entries:function(){return c},forEach:function(g){var v=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,S=s(c),y;try{for(S.s();!(y=S.n()).done;){var w=n(y.value,2),x=w[0],M=w[1];g.call(v,M,x,c)}}catch(A){S.e(A)}finally{S.f()}},get:function(g){var v=c.find(function(S){return S[0]===g});return v&&v[1]},has:function(g){return!!d.get(g)},keys:function(){return c.map(function(g){return n(g,1)[0]})},values:function(){return c.map(function(g){return n(g,2)[1]})}},p=(0,t.default)(d,d.entries());e.default=p})),qd=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]};e.default=t})),Rd=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t})),Td=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t})),Sd=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t})),xd=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t})),Od=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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:[]};e.default=t})),Md=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t})),Ad=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};e.default=t})),Id=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t})),Nd=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]};e.default=t})),kd=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]};e.default=t})),jd=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-modal":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]};e.default=t})),Dd=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=f(qd()),r=f(Rd()),n=f(Td()),a=f(Sd()),o=f(xd()),i=f(Od()),s=f(Md()),u=f(Ad()),l=f(Id()),c=f(Nd()),d=f(kd()),p=f(jd());function f(v){return v&&v.__esModule?v:{default:v}}var g=[["command",t.default],["composite",r.default],["input",n.default],["landmark",a.default],["range",o.default],["roletype",i.default],["section",s.default],["sectionhead",u.default],["select",l.default],["structure",c.default],["widget",d.default],["window",p.default]];e.default=g})),Ld=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t})),Bd=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t})),$d=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t})),Fd=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t})),Ud=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t})),zd=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t})),Vd=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t})),Hd=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t})),Wd=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t})),Kd=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t})),Gd=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t})),Yd=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t})),Xd=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t})),Jd=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t})),Qd=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t})),Zd=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t})),ef=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t})),tf=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"dialog"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","window"]]};e.default=t})),rf=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{module:"DAISY Guide"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","list"]]};e.default=t})),nf=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t})),af=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t})),of=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["article"]],requiredProps:{},superClass:[["roletype","structure","section","list"]]};e.default=t})),sf=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t})),lf=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t})),uf=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t})),cf=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-multiselectable":null,"aria-readonly":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["row"],["row","rowgroup"]],requiredProps:{},superClass:[["roletype","widget","composite"],["roletype","structure","section","table"]]};e.default=t})),df=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t})),ff=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t})),pf=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t})),mf=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t})),hf=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t})),bf=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"href"}],name:"a"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"href"}],name:"area"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command"]]};e.default=t})),vf=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t})),gf=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t})),yf=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-level":null,"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{constraints:["direct descendant of ol","direct descendant of ul","direct descendant of menu"],name:"li"},module:"HTML"},{concept:{name:"item"},module:"XForms"}],requireContextRole:["directory","list"],requiredContextRole:["directory","list"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t})),wf=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-live":"polite"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t})),Ef=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t})),_f=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t})),Cf=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t})),Pf=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t})),qf=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t})),Rf=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t})),Tf=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t})),Sf=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t})),xf=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"menuitem"},module:"ARIA"}],requireContextRole:["group","menu","menubar"],requiredContextRole:["group","menu","menubar"],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input","checkbox","menuitemcheckbox"],["roletype","widget","command","menuitem","menuitemcheckbox"],["roletype","widget","input","radio"]]};e.default=t})),Of=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t})),Mf=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t})),Af=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[]};e.default=t})),If=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t})),Nf=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t})),kf=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t})),jf=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t})),Df=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t})),Lf=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t})),Bf=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t})),$f=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t})),Ff=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t})),Uf=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t})),zf=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t})),Vf=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t})),Hf=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t})),Wf=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t})),Kf=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t})),Gf=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t})),Yf=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t})),Xf=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t})),Jf=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t})),Qf=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t})),Zf=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t})),ep=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t})),tp=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t})),rp=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-colcount":null,"aria-rowcount":null},relatedConcepts:[{concept:{name:"table"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["row"],["row","rowgroup"]],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t})),np=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t})),ap=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t})),op=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t})),ip=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t})),sp=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t})),lp=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","status"]]};e.default=t})),up=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":"horizontal"},relatedConcepts:[{concept:{name:"menubar"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","group"]]};e.default=t})),cp=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t})),dp=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t})),fp=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t})),pp=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t})),mp=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=k(Ld()),r=k(Bd()),n=k($d()),a=k(Fd()),o=k(Ud()),i=k(zd()),s=k(Vd()),u=k(Hd()),l=k(Wd()),c=k(Kd()),d=k(Gd()),p=k(Yd()),f=k(Xd()),g=k(Jd()),v=k(Qd()),S=k(Zd()),y=k(ef()),w=k(tf()),x=k(rf()),M=k(nf()),A=k(af()),E=k(of()),m=k(sf()),_=k(lf()),T=k(uf()),I=k(cf()),D=k(df()),B=k(ff()),F=k(pf()),O=k(mf()),$=k(hf()),H=k(bf()),ae=k(vf()),Z=k(gf()),We=k(yf()),Ke=k(wf()),Ge=k(Ef()),ke=k(_f()),je=k(Cf()),U=k(Pf()),De=k(qf()),we=k(Rf()),lt=k(Tf()),Pt=k(Sf()),qt=k(xf()),R=k(Of()),L=k(Mf()),N=k(Af()),Y=k(If()),W=k(Nf()),te=k(kf()),ie=k(jf()),ce=k(Df()),Re=k(Lf()),Xs=k(Bf()),Js=k($f()),Qs=k(Ff()),Zs=k(Uf()),el=k(zf()),tl=k(Vf()),rl=k(Hf()),nl=k(Wf()),al=k(Kf()),ol=k(Gf()),il=k(Yf()),sl=k(Xf()),ll=k(Jf()),ul=k(Qf()),cl=k(Zf()),dl=k(ep()),fl=k(tp()),pl=k(rp()),ml=k(np()),hl=k(ap()),bl=k(op()),vl=k(ip()),gl=k(sp()),yl=k(lp()),wl=k(up()),El=k(cp()),_l=k(dp()),Cl=k(fp()),Pl=k(pp());function k(Jt){return Jt&&Jt.__esModule?Jt:{default:Jt}}var ql=[["alert",t.default],["alertdialog",r.default],["application",n.default],["article",a.default],["banner",o.default],["blockquote",i.default],["button",s.default],["caption",u.default],["cell",l.default],["checkbox",c.default],["code",d.default],["columnheader",p.default],["combobox",f.default],["complementary",g.default],["contentinfo",v.default],["definition",S.default],["deletion",y.default],["dialog",w.default],["directory",x.default],["document",M.default],["emphasis",A.default],["feed",E.default],["figure",m.default],["form",_.default],["generic",T.default],["grid",I.default],["gridcell",D.default],["group",B.default],["heading",F.default],["img",O.default],["insertion",$.default],["link",H.default],["list",ae.default],["listbox",Z.default],["listitem",We.default],["log",Ke.default],["main",Ge.default],["mark",ke.default],["marquee",je.default],["math",U.default],["menu",De.default],["menubar",we.default],["menuitem",lt.default],["menuitemcheckbox",Pt.default],["menuitemradio",qt.default],["meter",R.default],["navigation",L.default],["none",N.default],["note",Y.default],["option",W.default],["paragraph",te.default],["presentation",ie.default],["progressbar",ce.default],["radio",Re.default],["radiogroup",Xs.default],["region",Js.default],["row",Qs.default],["rowgroup",Zs.default],["rowheader",el.default],["scrollbar",tl.default],["search",rl.default],["searchbox",nl.default],["separator",al.default],["slider",ol.default],["spinbutton",il.default],["status",sl.default],["strong",ll.default],["subscript",ul.default],["superscript",cl.default],["switch",dl.default],["tab",fl.default],["table",pl.default],["tablist",ml.default],["tabpanel",hl.default],["term",bl.default],["textbox",vl.default],["time",gl.default],["timer",yl.default],["toolbar",wl.default],["tooltip",El.default],["tree",_l.default],["treegrid",Cl.default],["treeitem",Pl.default]];e.default=ql})),hp=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"abstract [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t})),bp=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"acknowledgments [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t})),vp=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"afterword [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t})),gp=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"appendix [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t})),yp=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t})),wp=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t})),Ep=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"bibliography [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["doc-biblioentry"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t})),_p=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t})),Cp=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"chapter [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t})),Pp=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"colophon [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t})),qp=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"conclusion [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t})),Rp=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"cover [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","img"]]};e.default=t})),Tp=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"credit [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t})),Sp=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"credits [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t})),xp=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"dedication [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t})),Op=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"rearnote [EPUB-SSV]"},module:"EPUB"}],requireContextRole:["doc-endnotes"],requiredContextRole:["doc-endnotes"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","listitem"]]};e.default=t})),Mp=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"rearnotes [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["doc-endnote"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t})),Ap=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"epigraph [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t})),Ip=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"epilogue [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t})),Np=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"errata [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t})),kp=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t})),jp=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"footnote [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t})),Dp=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"foreword [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t})),Lp=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"glossary [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["definition"],["term"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t})),Bp=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t})),$p=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"index [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]};e.default=t})),Fp=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"introduction [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t})),Up=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t})),zp=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"notice [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","note"]]};e.default=t})),Vp=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t})),Hp=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"page-list [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]};e.default=t})),Wp=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t})),Kp=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"preface [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t})),Gp=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"prologue [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t})),Yp=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t})),Xp=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"qna [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t})),Jp=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"subtitle [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","sectionhead"]]};e.default=t})),Qp=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"help [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","note"]]};e.default=t})),Zp=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"toc [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]};e.default=t})),em=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=U(hp()),r=U(bp()),n=U(vp()),a=U(gp()),o=U(yp()),i=U(wp()),s=U(Ep()),u=U(_p()),l=U(Cp()),c=U(Pp()),d=U(qp()),p=U(Rp()),f=U(Tp()),g=U(Sp()),v=U(xp()),S=U(Op()),y=U(Mp()),w=U(Ap()),x=U(Ip()),M=U(Np()),A=U(kp()),E=U(jp()),m=U(Dp()),_=U(Lp()),T=U(Bp()),I=U($p()),D=U(Fp()),B=U(Up()),F=U(zp()),O=U(Vp()),$=U(Hp()),H=U(Wp()),ae=U(Kp()),Z=U(Gp()),We=U(Yp()),Ke=U(Xp()),Ge=U(Jp()),ke=U(Qp()),je=U(Zp());function U(we){return we&&we.__esModule?we:{default:we}}var De=[["doc-abstract",t.default],["doc-acknowledgments",r.default],["doc-afterword",n.default],["doc-appendix",a.default],["doc-backlink",o.default],["doc-biblioentry",i.default],["doc-bibliography",s.default],["doc-biblioref",u.default],["doc-chapter",l.default],["doc-colophon",c.default],["doc-conclusion",d.default],["doc-cover",p.default],["doc-credit",f.default],["doc-credits",g.default],["doc-dedication",v.default],["doc-endnote",S.default],["doc-endnotes",y.default],["doc-epigraph",w.default],["doc-epilogue",x.default],["doc-errata",M.default],["doc-example",A.default],["doc-footnote",E.default],["doc-foreword",m.default],["doc-glossary",_.default],["doc-glossref",T.default],["doc-index",I.default],["doc-introduction",D.default],["doc-noteref",B.default],["doc-notice",F.default],["doc-pagebreak",O.default],["doc-pagelist",$.default],["doc-part",H.default],["doc-preface",ae.default],["doc-prologue",Z.default],["doc-pullquote",We.default],["doc-qna",Ke.default],["doc-subtitle",Ge.default],["doc-tip",ke.default],["doc-toc",je.default]];e.default=De})),tm=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t})),rm=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t})),nm=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t})),am=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=a(tm()),r=a(rm()),n=a(nm());function a(i){return i&&i.__esModule?i:{default:i}}var o=[["graphics-document",t.default],["graphics-object",r.default],["graphics-symbol",n.default]];e.default=o})),Pa=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=i(Dd()),r=i(mp()),n=i(em()),a=i(am()),o=i(Yt());function i(w){return w&&w.__esModule?w:{default:w}}function s(w,x,M){return x in w?Object.defineProperty(w,x,{value:M,enumerable:!0,configurable:!0,writable:!0}):w[x]=M,w}function u(w,x){var M=typeof Symbol<"u"&&w[Symbol.iterator]||w["@@iterator"];if(!M){if(Array.isArray(w)||(M=d(w))||x&&w&&typeof w.length=="number"){M&&(w=M);var A=0,E=function(){};return{s:E,n:function(){return A>=w.length?{done:!0}:{done:!1,value:w[A++]}},e:function(D){throw D},f:E}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
38
38
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var m=!0,_=!1,T;return{s:function(){M=M.call(w)},n:function(){var D=M.next();return m=D.done,D},e:function(D){_=!0,T=D},f:function(){try{!m&&M.return!=null&&M.return()}finally{if(_)throw T}}}}function l(w,x){return g(w)||f(w,x)||d(w,x)||c()}function c(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
39
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function d(w,x){if(w){if(typeof w=="string")return p(w,x);var M=Object.prototype.toString.call(w).slice(8,-1);if(M==="Object"&&w.constructor&&(M=w.constructor.name),M==="Map"||M==="Set")return Array.from(w);if(M==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(M))return p(w,x)}}function p(w,x){(x==null||x>w.length)&&(x=w.length);for(var M=0,A=new Array(x);M<x;M++)A[M]=w[M];return A}function f(w,x){var M=w==null?null:typeof Symbol<"u"&&w[Symbol.iterator]||w["@@iterator"];if(M!=null){var A=[],E=!0,m=!1,_,T;try{for(M=M.call(w);!(E=(_=M.next()).done)&&(A.push(_.value),!(x&&A.length===x));E=!0);}catch(I){m=!0,T=I}finally{try{!E&&M.return!=null&&M.return()}finally{if(m)throw T}}return A}}function g(w){if(Array.isArray(w))return w}var v=[].concat(t.default,r.default,n.default,a.default);v.forEach(function(w){var x=l(w,2)[1],M=u(x.superClass),A;try{for(M.s();!(A=M.n()).done;){var E=A.value,m=u(E),_;try{var T=function(){var D=_.value,B=v.find(function(
|
|
39
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function d(w,x){if(w){if(typeof w=="string")return p(w,x);var M=Object.prototype.toString.call(w).slice(8,-1);if(M==="Object"&&w.constructor&&(M=w.constructor.name),M==="Map"||M==="Set")return Array.from(w);if(M==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(M))return p(w,x)}}function p(w,x){(x==null||x>w.length)&&(x=w.length);for(var M=0,A=new Array(x);M<x;M++)A[M]=w[M];return A}function f(w,x){var M=w==null?null:typeof Symbol<"u"&&w[Symbol.iterator]||w["@@iterator"];if(M!=null){var A=[],E=!0,m=!1,_,T;try{for(M=M.call(w);!(E=(_=M.next()).done)&&(A.push(_.value),!(x&&A.length===x));E=!0);}catch(I){m=!0,T=I}finally{try{!E&&M.return!=null&&M.return()}finally{if(m)throw T}}return A}}function g(w){if(Array.isArray(w))return w}var v=[].concat(t.default,r.default,n.default,a.default);v.forEach(function(w){var x=l(w,2)[1],M=u(x.superClass),A;try{for(M.s();!(A=M.n()).done;){var E=A.value,m=u(E),_;try{var T=function(){var D=_.value,B=v.find(function(ae){return l(ae,1)[0]===D});if(B)for(var F=B[1],O=0,$=Object.keys(F.props);O<$.length;O++){var H=$[O];Object.prototype.hasOwnProperty.call(x.props,H)||Object.assign(x.props,s({},H,F.props[H]))}};for(m.s();!(_=m.n()).done;)T()}catch(I){m.e(I)}finally{m.f()}}}catch(I){M.e(I)}finally{M.f()}});var S={entries:function(){return v},forEach:function(x){var M=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,A=u(v),E;try{for(A.s();!(E=A.n()).done;){var m=l(E.value,2),_=m[0],T=m[1];x.call(M,T,_,v)}}catch(I){A.e(I)}finally{A.f()}},get:function(x){var M=v.find(function(A){return A[0]===x});return M&&M[1]},has:function(x){return!!S.get(x)},keys:function(){return v.map(function(x){return l(x,1)[0]})},values:function(){return v.map(function(x){return l(x,2)[1]})}},y=(0,o.default)(S,S.entries());e.default=y})),om=P((e=>{var t=Object.prototype.hasOwnProperty;function r(n,a){var o,i;if(n===a)return!0;if(n&&a&&(o=n.constructor)===a.constructor){if(o===Date)return n.getTime()===a.getTime();if(o===RegExp)return n.toString()===a.toString();if(o===Array){if((i=n.length)===a.length)for(;i--&&r(n[i],a[i]););return i===-1}if(!o||typeof n=="object"){i=0;for(o in n)if(t.call(n,o)&&++i&&!t.call(a,o)||!(o in a)||!r(n[o],a[o]))return!1;return Object.keys(a).length===i}}return n!==n&&a!==a}e.dequal=r})),im=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=om(),r=a(Yt()),n=a(Pa());function a(E){return E&&E.__esModule?E:{default:E}}function o(E,m){return u(E)||s(E,m)||c(E,m)||i()}function i(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
40
40
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function s(E,m){var _=E==null?null:typeof Symbol<"u"&&E[Symbol.iterator]||E["@@iterator"];if(_!=null){var T=[],I=!0,D=!1,B,F;try{for(_=_.call(E);!(I=(B=_.next()).done)&&(T.push(B.value),!(m&&T.length===m));I=!0);}catch(O){D=!0,F=O}finally{try{!I&&_.return!=null&&_.return()}finally{if(D)throw F}}return T}}function u(E){if(Array.isArray(E))return E}function l(E,m){var _=typeof Symbol<"u"&&E[Symbol.iterator]||E["@@iterator"];if(!_){if(Array.isArray(E)||(_=c(E))||m&&E&&typeof E.length=="number"){_&&(E=_);var T=0,I=function(){};return{s:I,n:function(){return T>=E.length?{done:!0}:{done:!1,value:E[T++]}},e:function($){throw $},f:I}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
41
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var D=!0,B=!1,F;return{s:function(){_=_.call(E)},n:function(){var $=_.next();return D=$.done,$},e:function($){B=!0,F=$},f:function(){try{!D&&_.return!=null&&_.return()}finally{if(B)throw F}}}}function c(E,m){if(E){if(typeof E=="string")return d(E,m);var _=Object.prototype.toString.call(E).slice(8,-1);if(_==="Object"&&E.constructor&&(_=E.constructor.name),_==="Map"||_==="Set")return Array.from(E);if(_==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(_))return d(E,m)}}function d(E,m){(m==null||m>E.length)&&(m=E.length);for(var _=0,T=new Array(m);_<m;_++)T[_]=E[_];return T}for(var p=[],f=n.default.keys(),g=0;g<f.length;g++){var v=f[g],S=n.default.get(v);if(S)for(var y=[].concat(S.baseConcepts,S.relatedConcepts),w=0;w<y.length;w++){var x=y[w];x.module==="HTML"&&(function(){var E=x.concept;if(E){var m=p.find(function(D){return(0,t.dequal)(D,E)}),_;m?_=m[1]:_=[];for(var T=!0,I=0;I<_.length;I++)if(_[I]===v){T=!1;break}T&&_.push(v),p.push([E,_])}})()}}var M={entries:function(){return p},forEach:function(m){var _=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,T=l(p),I;try{for(T.s();!(I=T.n()).done;){var D=o(I.value,2),B=D[0],F=D[1];m.call(_,F,B,p)}}catch(O){T.e(O)}finally{T.f()}},get:function(m){var _=p.find(function(T){return m.name===T[0].name&&(0,t.dequal)(m.attributes,T[0].attributes)});return _&&_[1]},has:function(m){return!!M.get(m)},keys:function(){return p.map(function(m){return o(m,1)[0]})},values:function(){return p.map(function(m){return o(m,2)[1]})}},A=(0,r.default)(M,M.entries());e.default=A})),
|
|
41
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var D=!0,B=!1,F;return{s:function(){_=_.call(E)},n:function(){var $=_.next();return D=$.done,$},e:function($){B=!0,F=$},f:function(){try{!D&&_.return!=null&&_.return()}finally{if(B)throw F}}}}function c(E,m){if(E){if(typeof E=="string")return d(E,m);var _=Object.prototype.toString.call(E).slice(8,-1);if(_==="Object"&&E.constructor&&(_=E.constructor.name),_==="Map"||_==="Set")return Array.from(E);if(_==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(_))return d(E,m)}}function d(E,m){(m==null||m>E.length)&&(m=E.length);for(var _=0,T=new Array(m);_<m;_++)T[_]=E[_];return T}for(var p=[],f=n.default.keys(),g=0;g<f.length;g++){var v=f[g],S=n.default.get(v);if(S)for(var y=[].concat(S.baseConcepts,S.relatedConcepts),w=0;w<y.length;w++){var x=y[w];x.module==="HTML"&&(function(){var E=x.concept;if(E){var m=p.find(function(D){return(0,t.dequal)(D,E)}),_;m?_=m[1]:_=[];for(var T=!0,I=0;I<_.length;I++)if(_[I]===v){T=!1;break}T&&_.push(v),p.push([E,_])}})()}}var M={entries:function(){return p},forEach:function(m){var _=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,T=l(p),I;try{for(T.s();!(I=T.n()).done;){var D=o(I.value,2),B=D[0],F=D[1];m.call(_,F,B,p)}}catch(O){T.e(O)}finally{T.f()}},get:function(m){var _=p.find(function(T){return m.name===T[0].name&&(0,t.dequal)(m.attributes,T[0].attributes)});return _&&_[1]},has:function(m){return!!M.get(m)},keys:function(){return p.map(function(m){return o(m,1)[0]})},values:function(){return p.map(function(m){return o(m,2)[1]})}},A=(0,r.default)(M,M.entries());e.default=A})),sm=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=n(Yt()),r=n(Pa());function n(m){return m&&m.__esModule?m:{default:m}}function a(m,_){return s(m)||i(m,_)||l(m,_)||o()}function o(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
42
42
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function i(m,_){var T=m==null?null:typeof Symbol<"u"&&m[Symbol.iterator]||m["@@iterator"];if(T!=null){var I=[],D=!0,B=!1,F,O;try{for(T=T.call(m);!(D=(F=T.next()).done)&&(I.push(F.value),!(_&&I.length===_));D=!0);}catch($){B=!0,O=$}finally{try{!D&&T.return!=null&&T.return()}finally{if(B)throw O}}return I}}function s(m){if(Array.isArray(m))return m}function u(m,_){var T=typeof Symbol<"u"&&m[Symbol.iterator]||m["@@iterator"];if(!T){if(Array.isArray(m)||(T=l(m))||_&&m&&typeof m.length=="number"){T&&(m=T);var I=0,D=function(){};return{s:D,n:function(){return I>=m.length?{done:!0}:{done:!1,value:m[I++]}},e:function(H){throw H},f:D}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
43
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var B=!0,F=!1,O;return{s:function(){T=T.call(m)},n:function(){var H=T.next();return B=H.done,H},e:function(H){F=!0,O=H},f:function(){try{!B&&T.return!=null&&T.return()}finally{if(F)throw O}}}}function l(m,_){if(m){if(typeof m=="string")return c(m,_);var T=Object.prototype.toString.call(m).slice(8,-1);if(T==="Object"&&m.constructor&&(T=m.constructor.name),T==="Map"||T==="Set")return Array.from(m);if(T==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(T))return c(m,_)}}function c(m,_){(_==null||_>m.length)&&(_=m.length);for(var T=0,I=new Array(_);T<_;T++)I[T]=m[T];return I}for(var d=[],p=r.default.keys(),f=0;f<p.length;f++){var g=p[f],v=r.default.get(g),S=[];if(v){for(var y=[].concat(v.baseConcepts,v.relatedConcepts),w=0;w<y.length;w++){var x=y[w];if(x.module==="HTML"){var M=x.concept;M!=null&&S.push(M)}}S.length>0&&d.push([g,S])}}var A={entries:function(){return d},forEach:function(_){var T=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,I=u(d),D;try{for(I.s();!(D=I.n()).done;){var B=a(D.value,2),F=B[0],O=B[1];_.call(T,O,F,d)}}catch($){I.e($)}finally{I.f()}},get:function(_){var T=d.find(function(I){return I[0]===_});return T&&T[1]},has:function(_){return!!A.get(_)},keys:function(){return d.map(function(_){return a(_,1)[0]})},values:function(){return d.map(function(_){return a(_,2)[1]})}},E=(0,t.default)(A,A.entries());e.default=E})),
|
|
44
|
-
`)!==-1&&(d=r.spacingOuter+s+d+r.spacingOuter+n),d="{"+d+"}"),r.spacingInner+n+u.prop.open+l+u.prop.close+"="+u.value.open+d+u.value.close}).join("")},
|
|
43
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var B=!0,F=!1,O;return{s:function(){T=T.call(m)},n:function(){var H=T.next();return B=H.done,H},e:function(H){F=!0,O=H},f:function(){try{!B&&T.return!=null&&T.return()}finally{if(F)throw O}}}}function l(m,_){if(m){if(typeof m=="string")return c(m,_);var T=Object.prototype.toString.call(m).slice(8,-1);if(T==="Object"&&m.constructor&&(T=m.constructor.name),T==="Map"||T==="Set")return Array.from(m);if(T==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(T))return c(m,_)}}function c(m,_){(_==null||_>m.length)&&(_=m.length);for(var T=0,I=new Array(_);T<_;T++)I[T]=m[T];return I}for(var d=[],p=r.default.keys(),f=0;f<p.length;f++){var g=p[f],v=r.default.get(g),S=[];if(v){for(var y=[].concat(v.baseConcepts,v.relatedConcepts),w=0;w<y.length;w++){var x=y[w];if(x.module==="HTML"){var M=x.concept;M!=null&&S.push(M)}}S.length>0&&d.push([g,S])}}var A={entries:function(){return d},forEach:function(_){var T=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,I=u(d),D;try{for(I.s();!(D=I.n()).done;){var B=a(D.value,2),F=B[0],O=B[1];_.call(T,O,F,d)}}catch($){I.e($)}finally{I.f()}},get:function(_){var T=d.find(function(I){return I[0]===_});return T&&T[1]},has:function(_){return!!A.get(_)},keys:function(){return d.map(function(_){return a(_,1)[0]})},values:function(){return d.map(function(_){return a(_,2)[1]})}},E=(0,t.default)(A,A.entries());e.default=E})),lm=P((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.roles=e.roleElements=e.elementRoles=e.dom=e.aria=void 0;var t=i(Cd()),r=i(Pd()),n=i(Pa()),a=i(im()),o=i(sm());function i(p){return p&&p.__esModule?p:{default:p}}var s=t.default;e.aria=s;var u=r.default;e.dom=u;var l=n.default;e.roles=l;var c=a.default;e.elementRoles=c;var d=o.default;e.roleElements=d})),um=P(((e,t)=>{var r=(function(){var n=String.fromCharCode,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-$",i={};function s(l,c){if(!i[l]){i[l]={};for(var d=0;d<l.length;d++)i[l][l.charAt(d)]=d}return i[l][c]}var u={compressToBase64:function(l){if(l==null)return"";var c=u._compress(l,6,function(d){return a.charAt(d)});switch(c.length%4){default:case 0:return c;case 1:return c+"===";case 2:return c+"==";case 3:return c+"="}},decompressFromBase64:function(l){return l==null?"":l==""?null:u._decompress(l.length,32,function(c){return s(a,l.charAt(c))})},compressToUTF16:function(l){return l==null?"":u._compress(l,15,function(c){return n(c+32)})+" "},decompressFromUTF16:function(l){return l==null?"":l==""?null:u._decompress(l.length,16384,function(c){return l.charCodeAt(c)-32})},compressToUint8Array:function(l){for(var c=u.compress(l),d=new Uint8Array(c.length*2),p=0,f=c.length;p<f;p++){var g=c.charCodeAt(p);d[p*2]=g>>>8,d[p*2+1]=g%256}return d},decompressFromUint8Array:function(l){if(l==null)return u.decompress(l);for(var c=new Array(l.length/2),d=0,p=c.length;d<p;d++)c[d]=l[d*2]*256+l[d*2+1];var f=[];return c.forEach(function(g){f.push(n(g))}),u.decompress(f.join(""))},compressToEncodedURIComponent:function(l){return l==null?"":u._compress(l,6,function(c){return o.charAt(c)})},decompressFromEncodedURIComponent:function(l){return l==null?"":l==""?null:(l=l.replace(/ /g,"+"),u._decompress(l.length,32,function(c){return s(o,l.charAt(c))}))},compress:function(l){return u._compress(l,16,function(c){return n(c)})},_compress:function(l,c,d){if(l==null)return"";var p,f,g={},v={},S="",y="",w="",x=2,M=3,A=2,E=[],m=0,_=0,T;for(T=0;T<l.length;T+=1)if(S=l.charAt(T),Object.prototype.hasOwnProperty.call(g,S)||(g[S]=M++,v[S]=!0),y=w+S,Object.prototype.hasOwnProperty.call(g,y))w=y;else{if(Object.prototype.hasOwnProperty.call(v,w)){if(w.charCodeAt(0)<256){for(p=0;p<A;p++)m=m<<1,_==c-1?(_=0,E.push(d(m)),m=0):_++;for(f=w.charCodeAt(0),p=0;p<8;p++)m=m<<1|f&1,_==c-1?(_=0,E.push(d(m)),m=0):_++,f=f>>1}else{for(f=1,p=0;p<A;p++)m=m<<1|f,_==c-1?(_=0,E.push(d(m)),m=0):_++,f=0;for(f=w.charCodeAt(0),p=0;p<16;p++)m=m<<1|f&1,_==c-1?(_=0,E.push(d(m)),m=0):_++,f=f>>1}x--,x==0&&(x=Math.pow(2,A),A++),delete v[w]}else for(f=g[w],p=0;p<A;p++)m=m<<1|f&1,_==c-1?(_=0,E.push(d(m)),m=0):_++,f=f>>1;x--,x==0&&(x=Math.pow(2,A),A++),g[y]=M++,w=String(S)}if(w!==""){if(Object.prototype.hasOwnProperty.call(v,w)){if(w.charCodeAt(0)<256){for(p=0;p<A;p++)m=m<<1,_==c-1?(_=0,E.push(d(m)),m=0):_++;for(f=w.charCodeAt(0),p=0;p<8;p++)m=m<<1|f&1,_==c-1?(_=0,E.push(d(m)),m=0):_++,f=f>>1}else{for(f=1,p=0;p<A;p++)m=m<<1|f,_==c-1?(_=0,E.push(d(m)),m=0):_++,f=0;for(f=w.charCodeAt(0),p=0;p<16;p++)m=m<<1|f&1,_==c-1?(_=0,E.push(d(m)),m=0):_++,f=f>>1}x--,x==0&&(x=Math.pow(2,A),A++),delete v[w]}else for(f=g[w],p=0;p<A;p++)m=m<<1|f&1,_==c-1?(_=0,E.push(d(m)),m=0):_++,f=f>>1;x--,x==0&&(x=Math.pow(2,A),A++)}for(f=2,p=0;p<A;p++)m=m<<1|f&1,_==c-1?(_=0,E.push(d(m)),m=0):_++,f=f>>1;for(;;)if(m=m<<1,_==c-1){E.push(d(m));break}else _++;return E.join("")},decompress:function(l){return l==null?"":l==""?null:u._decompress(l.length,32768,function(c){return l.charCodeAt(c)})},_decompress:function(l,c,d){var p=[],f=4,g=4,v=3,S="",y=[],w,x,M,A,E,m,_,T={val:d(0),position:c,index:1};for(w=0;w<3;w+=1)p[w]=w;for(M=0,E=Math.pow(2,2),m=1;m!=E;)A=T.val&T.position,T.position>>=1,T.position==0&&(T.position=c,T.val=d(T.index++)),M|=(A>0?1:0)*m,m<<=1;switch(M){case 0:for(M=0,E=Math.pow(2,8),m=1;m!=E;)A=T.val&T.position,T.position>>=1,T.position==0&&(T.position=c,T.val=d(T.index++)),M|=(A>0?1:0)*m,m<<=1;_=n(M);break;case 1:for(M=0,E=Math.pow(2,16),m=1;m!=E;)A=T.val&T.position,T.position>>=1,T.position==0&&(T.position=c,T.val=d(T.index++)),M|=(A>0?1:0)*m,m<<=1;_=n(M);break;case 2:return""}for(p[3]=_,x=_,y.push(_);;){if(T.index>l)return"";for(M=0,E=Math.pow(2,v),m=1;m!=E;)A=T.val&T.position,T.position>>=1,T.position==0&&(T.position=c,T.val=d(T.index++)),M|=(A>0?1:0)*m,m<<=1;switch(_=M){case 0:for(M=0,E=Math.pow(2,8),m=1;m!=E;)A=T.val&T.position,T.position>>=1,T.position==0&&(T.position=c,T.val=d(T.index++)),M|=(A>0?1:0)*m,m<<=1;p[g++]=n(M),_=g-1,f--;break;case 1:for(M=0,E=Math.pow(2,16),m=1;m!=E;)A=T.val&T.position,T.position>>=1,T.position==0&&(T.position=c,T.val=d(T.index++)),M|=(A>0?1:0)*m,m<<=1;p[g++]=n(M),_=g-1,f--;break;case 2:return y.join("")}if(f==0&&(f=Math.pow(2,v),v++),p[_])S=p[_];else if(_===g)S=x+x.charAt(0);else return null;y.push(S),p[g++]=x+S.charAt(0),f--,x=S,f==0&&(f=Math.pow(2,v),v++)}}};return u})();typeof define=="function"&&define.amd?define(function(){return r}):typeof t<"u"&&t!=null?t.exports=r:typeof angular<"u"&&angular!=null&&angular.module("LZString",[]).factory("LZString",function(){return r})})),me=lm(),cm=In(um());function Zi(e){return e.replace(/</g,"<").replace(/>/g,">")}var dm=(e,t,r,n,a,o,i)=>{const s=n+r.indent,u=r.colors;return e.map(l=>{const c=t[l];let d=i(c,r,s,a,o);return typeof c!="string"&&(d.indexOf(`
|
|
44
|
+
`)!==-1&&(d=r.spacingOuter+s+d+r.spacingOuter+n),d="{"+d+"}"),r.spacingInner+n+u.prop.open+l+u.prop.close+"="+u.value.open+d+u.value.close}).join("")},fm=3,pm=(e,t,r,n,a,o)=>e.map(i=>{const s=typeof i=="string"?es(i,t):o(i,t,r,n,a);return s===""&&typeof i=="object"&&i!==null&&i.nodeType!==fm?"":t.spacingOuter+r+s}).join(""),es=(e,t)=>{const r=t.colors.content;return r.open+Zi(e)+r.close},mm=(e,t)=>{const r=t.colors.comment;return r.open+"<!--"+Zi(e)+"-->"+r.close},hm=(e,t,r,n,a)=>{const o=n.colors.tag;return o.open+"<"+e+(t&&o.close+t+n.spacingOuter+a+o.open)+(r?">"+o.close+r+n.spacingOuter+a+o.open+"</"+e:(t&&!n.min?"":" ")+"/")+">"+o.close},bm=(e,t)=>{const r=t.colors.tag;return r.open+"<"+e+r.close+" …"+r.open+" />"+r.close},vm=1,ts=3,rs=8,ns=11,gm=/^((HTML|SVG)\w*)?Element$/,as=e=>{const{tagName:t}=e;return!!(typeof t=="string"&&t.includes("-")||typeof e.hasAttribute=="function"&&e.hasAttribute("is"))},ym=e=>{const t=e.constructor.name,{nodeType:r}=e;return r===vm&&(gm.test(t)||as(e))||r===ts&&t==="Text"||r===rs&&t==="Comment"||r===ns&&t==="DocumentFragment"};function wm(e){return e.nodeType===ts}function Em(e){return e.nodeType===rs}function Yr(e){return e.nodeType===ns}function _m(e){return{test:t=>{var r;return((t==null||(r=t.constructor)==null?void 0:r.name)||as(t))&&ym(t)},serialize:(t,r,n,a,o,i)=>{if(wm(t))return es(t.data,r);if(Em(t))return mm(t.data,r);const s=Yr(t)?"DocumentFragment":t.tagName.toLowerCase();return++a>r.maxDepth?bm(s,r):hm(s,dm(Yr(t)?[]:Array.from(t.attributes).map(u=>u.name).sort(),Yr(t)?{}:Array.from(t.attributes).reduce((u,l)=>(u[l.name]=l.value,u),{}),r,n+r.indent,a,o,i),pm(Array.prototype.slice.call(t.childNodes||t.children).filter(e),r,n+r.indent,a,o,i),r,n)}}}var os=null,qa=null,Ra=null;try{const e=module&&module.require;qa=e.call(module,"fs").readFileSync,Ra=e.call(module,"@babel/code-frame").codeFrameColumns,os=e.call(module,"picocolors")}catch{}function Cm(e){const t=e.indexOf("(")+1,r=e.indexOf(")"),n=e.slice(t,r),a=n.split(":"),[o,i,s]=[a[0],parseInt(a[1],10),parseInt(a[2],10)];let u="";try{u=qa(o,"utf-8")}catch{return""}const l=Ra(u,{start:{line:i,column:s}},{highlightCode:!0,linesBelow:0});return os.dim(n)+`
|
|
45
45
|
`+l+`
|
|
46
|
-
`}function
|
|
47
|
-
`).slice(1).find(e=>!e.includes("node_modules/")))}var is=3;function
|
|
46
|
+
`}function Pm(){return!qa||!Ra?"":Cm(new Error().stack.split(`
|
|
47
|
+
`).slice(1).find(e=>!e.includes("node_modules/")))}var is=3;function Xr(){return typeof jest<"u"&&jest!==null?setTimeout._isMockFunction===!0||Object.prototype.hasOwnProperty.call(setTimeout,"clock"):!1}function Ta(){if(typeof window>"u")throw new Error("Could not find default container");return window.document}function ss(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 Ne(e){if(!e||typeof e.querySelector!="function"||typeof e.querySelectorAll!="function")throw new TypeError("Expected container to be an Element, a Document or a DocumentFragment but got "+t(e)+".");function t(r){return typeof r=="object"?r===null?"null":r.constructor.name:typeof r}}var qm=()=>{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:Rm}=Vi.plugins,Tm=1,Sm=8;function xm(e){return e.nodeType!==Sm&&(e.nodeType!==Tm||!e.matches(G().defaultIgnore))}function wr(e,t,r){if(r===void 0&&(r={}),e||(e=Ta().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:a=xm,...o}=r,i=Vi.format(e,{plugins:[_m(a),Rm],printFunctionName:!1,highlight:qm(),...o});return t!==void 0&&e.outerHTML.length>t?i.slice(0,t)+"...":i}var Za=function(){const e=Pm();console.log(e?wr(...arguments)+`
|
|
48
48
|
|
|
49
|
-
`+e:
|
|
49
|
+
`+e:wr(...arguments))},et={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=wr(t),n=new Error([e,"Ignored nodes: comments, "+et.defaultIgnore+`
|
|
50
50
|
`+r].filter(Boolean).join(`
|
|
51
51
|
|
|
52
|
-
`));return n.name="TestingLibraryElementError",n},_disableExpensiveErrorDiagnostics:!1,computedStyleSupportsPseudoElements:!1};function
|
|
53
|
-
`,p=
|
|
52
|
+
`));return n.name="TestingLibraryElementError",n},_disableExpensiveErrorDiagnostics:!1,computedStyleSupportsPseudoElements:!1};function Om(e){try{return et._disableExpensiveErrorDiagnostics=!0,e()}finally{et._disableExpensiveErrorDiagnostics=!1}}function ls(e){typeof e=="function"&&(e=e(et)),et={...et,...e}}function G(){return et}var Mm=["button","meter","output","progress","select","textarea","input"];function us(e){return Mm.includes(e.nodeName.toLowerCase())?"":e.nodeType===is?e.textContent:Array.from(e.childNodes).map(t=>us(t)).join("")}function wn(e){let t;return e.tagName.toLowerCase()==="label"?t=us(e):t=e.value||e.textContent,t}function cs(e){if(e.labels!==void 0){var t;return(t=e.labels)!=null?t:[]}if(!Am(e))return[];const r=e.ownerDocument.querySelectorAll("label");return Array.from(r).filter(n=>n.control===e)}function Am(e){return/BUTTON|METER|OUTPUT|PROGRESS|SELECT|TEXTAREA/.test(e.tagName)||e.tagName==="INPUT"&&e.getAttribute("type")!=="hidden"}function ds(e,t,r){let{selector:n="*"}=r===void 0?{}:r;const a=t.getAttribute("aria-labelledby"),o=a?a.split(" "):[];return o.length?o.map(i=>{const s=e.querySelector('[id="'+i+'"]');return s?{content:wn(s),formControl:null}:{content:"",formControl:null}}):Array.from(cs(t)).map(i=>({content:wn(i),formControl:Array.from(i.querySelectorAll("button, input, meter, output, progress, select, textarea")).filter(s=>s.matches(n))[0]}))}function fs(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 _t(e,t,r,n){if(typeof e!="string")return!1;fs(r);const a=n(e);return typeof r=="string"||typeof r=="number"?a.toLowerCase().includes(r.toString().toLowerCase()):typeof r=="function"?r(a,t):ms(r,a)}function Me(e,t,r,n){if(typeof e!="string")return!1;fs(r);const a=n(e);return r instanceof Function?r(a,t):r instanceof RegExp?ms(r,a):a===String(r)}function ps(e){let{trim:t=!0,collapseWhitespace:r=!0}=e===void 0?{}:e;return n=>{let a=n;return a=t?a.trim():a,a=r?a.replace(/\s+/g," "):a,a}}function it(e){let{trim:t,collapseWhitespace:r,normalizer:n}=e;if(!n)return ps({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 ms(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 Fr(e){return e.matches("input[type=submit], input[type=button], input[type=reset]")?e.value:Array.from(e.childNodes).filter(t=>t.nodeType===is&&!!t.textContent).map(t=>t.textContent).join("")}var Im=Nm(me.elementRoles);function hs(e){return e.hidden===!0||e.getAttribute("aria-hidden")==="true"||e.ownerDocument.defaultView.getComputedStyle(e).display==="none"}function Sa(e,t){t===void 0&&(t={});const{isSubtreeInaccessible:r=hs}=t;if(e.ownerDocument.defaultView.getComputedStyle(e).visibility==="hidden")return!0;let n=e;for(;n;){if(r(n))return!0;n=n.parentElement}return!1}function xa(e){for(const{match:t,roles:r}of Im)if(t(e))return[...r];return[]}function Nm(e){function t(i){let{name:s,attributes:u}=i;return""+s+u.map(l=>{let{name:c,value:d,constraints:p=[]}=l;const f=p.indexOf("undefined")!==-1,g=p.indexOf("set")!==-1;return typeof d<"u"?"["+c+'="'+d+'"]':f?":not(["+c+"])":g?"["+c+"]:not(["+c+'=""])':"["+c+"]"}).join("")}function r(i){let{attributes:s=[]}=i;return s.length}function n(i,s){let{specificity:u}=i,{specificity:l}=s;return l-u}function a(i){let{attributes:s=[]}=i;const u=s.findIndex(c=>c.value&&c.name==="type"&&c.value==="text");u>=0&&(s=[...s.slice(0,u),...s.slice(u+1)]);const l=t({...i,attributes:s});return c=>u>=0&&c.type!=="text"?!1:c.matches(l)}let o=[];for(const[i,s]of e.entries())o=[...o,{match:a(i),roles:Array.from(s),specificity:r(i)}];return o.sort(n)}function km(e,t){let{hidden:r=!1}=t===void 0?{}:t;function n(a){return[a,...Array.from(a.children).reduce((o,i)=>[...o,...n(i)],[])]}return n(e).filter(a=>r===!1?Sa(a)===!1:!0).reduce((a,o)=>{let i=[];return o.hasAttribute("role")?i=o.getAttribute("role").split(" ").slice(0,1):i=xa(o),i.reduce((s,u)=>Array.isArray(s[u])?{...s,[u]:[...s[u],o]}:{...s,[u]:[o]},a)},{})}function jm(e,t){let{hidden:r,includeDescription:n}=t;const a=km(e,{hidden:r});return Object.entries(a).filter(o=>{let[i]=o;return i!=="generic"}).map(o=>{let[i,s]=o;const u="-".repeat(50),l=s.map(c=>{const d='Name "'+Ca(c,{computedStyleSupportsPseudoElements:G().computedStyleSupportsPseudoElements})+`":
|
|
53
|
+
`,p=wr(c.cloneNode(!1));if(n){const f='Description "'+Qi(c,{computedStyleSupportsPseudoElements:G().computedStyleSupportsPseudoElements})+`":
|
|
54
54
|
`;return""+d+f+p}return""+d+p}).join(`
|
|
55
55
|
|
|
56
56
|
`);return i+`:
|
|
@@ -58,19 +58,19 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
58
58
|
`+l+`
|
|
59
59
|
|
|
60
60
|
`+u}).join(`
|
|
61
|
-
`)}function
|
|
61
|
+
`)}function Dm(e){return e.tagName==="OPTION"?e.selected:Xt(e,"aria-selected")}function Lm(e){return e.getAttribute("aria-busy")==="true"}function Bm(e){if(!("indeterminate"in e&&e.indeterminate))return"checked"in e?e.checked:Xt(e,"aria-checked")}function $m(e){return Xt(e,"aria-pressed")}function Fm(e){var t,r;return(t=(r=Xt(e,"aria-current"))!=null?r:e.getAttribute("aria-current"))!=null?t:!1}function Um(e){return Xt(e,"aria-expanded")}function Xt(e,t){const r=e.getAttribute(t);if(r==="true")return!0;if(r==="false")return!1}function zm(e){return e.getAttribute("aria-level")&&Number(e.getAttribute("aria-level"))||{H1:1,H2:2,H3:3,H4:4,H5:5,H6:6}[e.tagName]}function Vm(e){const t=e.getAttribute("aria-valuenow");return t===null?void 0:+t}function Hm(e){const t=e.getAttribute("aria-valuemax");return t===null?void 0:+t}function Wm(e){const t=e.getAttribute("aria-valuemin");return t===null?void 0:+t}function Km(e){const t=e.getAttribute("aria-valuetext");return t===null?void 0:t}var eo=ps();function Gm(e){return e.replace(/[.*+\-?^${}()|[\]\\]/g,"\\$&")}function to(e){return new RegExp(Gm(e.toLowerCase()),"i")}function Le(e,t,r,n){let{variant:a,name:o}=n,i="";const s={},u=[["Role","TestId"].includes(e)?r:to(r)];o&&(s.name=to(o)),e==="Role"&&Sa(t)&&(s.hidden=!0,i=`Element is inaccessible. This means that the element and all its children are invisible to screen readers.
|
|
62
62
|
If you are using the aria-hidden prop, make sure this is the right choice for your case.
|
|
63
|
-
`),Object.keys(s).length>0&&u.push(s);const l=a+"By"+e;return{queryName:e,queryMethod:l,queryArgs:u,variant:a,warning:i,toString(){i&&console.warn(i);let[c,d]=u;return c=typeof c=="string"?"'"+c+"'":c,d=d?", { "+Object.entries(d).map(p=>{let[f,g]=p;return f+": "+g}).join(", ")+" }":"",l+"("+c+d+")"}}}function Be(e,t,r){return r&&(!t||t.toLowerCase()===e.toLowerCase())}function En(e,t,r){var n,a;if(t===void 0&&(t="get"),e.matches(G().defaultIgnore))return;const o=(n=e.getAttribute("role"))!=null?n:(a=xa(e))==null?void 0:a[0];if(o!=="generic"&&Be("Role",r,o))return Le("Role",e,o,{variant:t,name:Ca(e,{computedStyleSupportsPseudoElements:G().computedStyleSupportsPseudoElements})});const i=ds(document,e).map(p=>p.content).join(" ");if(Be("LabelText",r,i))return Le("LabelText",e,i,{variant:t});const s=e.getAttribute("placeholder");if(Be("PlaceholderText",r,s))return Le("PlaceholderText",e,s,{variant:t});const u=eo(
|
|
63
|
+
`),Object.keys(s).length>0&&u.push(s);const l=a+"By"+e;return{queryName:e,queryMethod:l,queryArgs:u,variant:a,warning:i,toString(){i&&console.warn(i);let[c,d]=u;return c=typeof c=="string"?"'"+c+"'":c,d=d?", { "+Object.entries(d).map(p=>{let[f,g]=p;return f+": "+g}).join(", ")+" }":"",l+"("+c+d+")"}}}function Be(e,t,r){return r&&(!t||t.toLowerCase()===e.toLowerCase())}function En(e,t,r){var n,a;if(t===void 0&&(t="get"),e.matches(G().defaultIgnore))return;const o=(n=e.getAttribute("role"))!=null?n:(a=xa(e))==null?void 0:a[0];if(o!=="generic"&&Be("Role",r,o))return Le("Role",e,o,{variant:t,name:Ca(e,{computedStyleSupportsPseudoElements:G().computedStyleSupportsPseudoElements})});const i=ds(document,e).map(p=>p.content).join(" ");if(Be("LabelText",r,i))return Le("LabelText",e,i,{variant:t});const s=e.getAttribute("placeholder");if(Be("PlaceholderText",r,s))return Le("PlaceholderText",e,s,{variant:t});const u=eo(Fr(e));if(Be("Text",r,u))return Le("Text",e,u,{variant:t});if(Be("DisplayValue",r,e.value))return Le("DisplayValue",e,eo(e.value),{variant:t});const l=e.getAttribute("alt");if(Be("AltText",r,l))return Le("AltText",e,l,{variant:t});const c=e.getAttribute("title");if(Be("Title",r,c))return Le("Title",e,c,{variant:t});const d=e.getAttribute(G().testIdAttribute);if(Be("TestId",r,d))return Le("TestId",e,d,{variant:t})}function er(e,t){e.stack=t.stack.replace(t.message,e.message)}function Ym(e,t){let{container:r=Ta(),timeout:n=G().asyncUtilTimeout,showOriginalStackTrace:a=G().showOriginalStackTrace,stackTraceError:o,interval:i=50,onTimeout:s=l=>(Object.defineProperty(l,"message",{value:G().getElementError(l.message,r).message}),l),mutationObserverOptions:u={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(l,c)=>{let d,p,f,g=!1,v="idle";const S=setTimeout(A,n),y=Xr();if(y){const{unstable_advanceTimersWrapper:E}=G();for(M();!g;){if(!Xr()){const m=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");a||er(m,o),c(m);return}if(await E(async()=>{jest.advanceTimersByTime(i)}),g)break;M()}}else{try{Ne(r)}catch(m){c(m);return}p=setInterval(x,i);const{MutationObserver:E}=ss(r);f=new E(x),f.observe(r,u),M()}function w(E,m){g=!0,clearTimeout(S),y||(clearInterval(p),f.disconnect()),E?c(E):l(m)}function x(){if(Xr()){const E=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 a||er(E,o),c(E)}else return M()}function M(){if(v!=="pending")try{const E=Om(e);typeof E?.then=="function"?(v="pending",E.then(m=>{v="resolved",w(null,m)},m=>{v="rejected",d=m})):w(null,E)}catch(E){d=E}}function A(){let E;d?(E=d,!a&&E.name==="TestingLibraryElementError"&&er(E,o)):(E=new Error("Timed out in waitFor."),a||er(E,o)),w(s(E),null)}})}function Xm(e,t){const r=new Error("STACK_TRACE_MESSAGE");return G().asyncWrapper(()=>Ym(e,{stackTraceError:r,...t}))}function bs(e,t){return G().getElementError(e,t)}function Jm(e,t){return bs(e+"\n\n(If this is intentional, then use the `*AllBy*` variant of the query (like `queryAllByText`, `getAllByText`, or `findAllByText`)).",t)}function Ur(e,t,r,n){let{exact:a=!0,collapseWhitespace:o,trim:i,normalizer:s}=n===void 0?{}:n;const u=a?Me:_t,l=it({collapseWhitespace:o,trim:i,normalizer:s});return Array.from(t.querySelectorAll("["+e+"]")).filter(c=>u(c.getAttribute(e),c,r,l))}function Er(e,t){return function(r){for(var n=arguments.length,a=new Array(n>1?n-1:0),o=1;o<n;o++)a[o-1]=arguments[o];const i=e(r,...a);if(i.length>1){const s=i.map(u=>bs(null,u).message).join(`
|
|
64
64
|
|
|
65
|
-
`);throw
|
|
65
|
+
`);throw Jm(t(r,...a)+`
|
|
66
66
|
|
|
67
67
|
Here are the matching elements:
|
|
68
68
|
|
|
69
69
|
`+s,r)}return i[0]||null}}function vs(e,t){return G().getElementError(`A better query is available, try this:
|
|
70
70
|
`+e.toString()+`
|
|
71
|
-
`,t)}function
|
|
71
|
+
`,t)}function Qm(e,t){return function(r){for(var n=arguments.length,a=new Array(n>1?n-1:0),o=1;o<n;o++)a[o-1]=arguments[o];const i=e(r,...a);if(!i.length)throw G().getElementError(t(r,...a),r);return i}}function _r(e){return(t,r,n,a)=>Xm(()=>e(t,r,n),{container:t,...a})}var dt=(e,t,r)=>function(n){for(var a=arguments.length,o=new Array(a>1?a-1:0),i=1;i<a;i++)o[i-1]=arguments[i];const s=e(n,...o),[{suggest:u=G().throwSuggestions}={}]=o.slice(-1);if(s&&u){const l=En(s,r);if(l&&!t.endsWith(l.queryName))throw vs(l.toString(),n)}return s},be=(e,t,r)=>function(n){for(var a=arguments.length,o=new Array(a>1?a-1:0),i=1;i<a;i++)o[i-1]=arguments[i];const s=e(n,...o),[{suggest:u=G().throwSuggestions}={}]=o.slice(-1);if(s.length&&u){const l=[...new Set(s.map(c=>{var d;return(d=En(c,r))==null?void 0:d.toString()}))];if(l.length===1&&!t.endsWith(En(s[0],r).queryName))throw vs(l[0],n)}return s};function st(e,t,r){const n=dt(Er(e,t),e.name,"query"),a=Qm(e,r),o=Er(a,t),i=dt(o,e.name,"get");return[n,be(a,e.name.replace("query","get"),"getAll"),i,_r(be(a,e.name,"findAll")),_r(dt(o,e.name,"find"))]}function Zm(e){return Array.from(e.querySelectorAll("label,input")).map(t=>({node:t,textToMatch:wn(t)})).filter(t=>{let{textToMatch:r}=t;return r!==null})}var eh=function(e,t,r){let{exact:n=!0,trim:a,collapseWhitespace:o,normalizer:i}=r===void 0?{}:r;const s=n?Me:_t,u=it({collapseWhitespace:o,trim:a,normalizer:i});return Zm(e).filter(l=>{let{node:c,textToMatch:d}=l;return s(d,c,t,u)}).map(l=>{let{node:c}=l;return c})},$t=function(e,t,r){let{selector:n="*",exact:a=!0,collapseWhitespace:o,trim:i,normalizer:s}=r===void 0?{}:r;Ne(e);const u=a?Me:_t,l=it({collapseWhitespace:o,trim:i,normalizer:s}),c=Array.from(e.querySelectorAll("*")).filter(d=>cs(d).length||d.hasAttribute("aria-labelledby")).reduce((d,p)=>{const f=ds(e,p,{selector:n});f.filter(v=>!!v.formControl).forEach(v=>{u(v.content,v.formControl,t,l)&&v.formControl&&d.push(v.formControl)});const g=f.filter(v=>!!v.content).map(v=>v.content);return u(g.join(" "),p,t,l)&&d.push(p),g.length>1&&g.forEach((v,S)=>{u(v,p,t,l)&&d.push(p);const y=[...g];y.splice(S,1),y.length>1&&u(y.join(" "),p,t,l)&&d.push(p)}),d},[]).concat(Ur("aria-label",e,t,{exact:a,normalizer:l}));return Array.from(new Set(c)).filter(d=>d.matches(n))},at=function(e,t){for(var r=arguments.length,n=new Array(r>2?r-2:0),a=2;a<r;a++)n[a-2]=arguments[a];const o=$t(e,t,...n);if(!o.length){const i=eh(e,t,...n);if(i.length){const s=i.map(u=>th(e,u)).filter(u=>!!u);throw s.length?G().getElementError(s.map(u=>"Found a label with the text of: "+t+", however the element associated with this label (<"+u+" />) is non-labellable [https://html.spec.whatwg.org/multipage/forms.html#category-label]. If you really need to label a <"+u+" />, you can use aria-label or aria-labelledby instead.").join(`
|
|
72
72
|
|
|
73
|
-
`),e):G().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 G().getElementError("Unable to find a label with the text of: "+t,e)}return o};function
|
|
73
|
+
`),e):G().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 G().getElementError("Unable to find a label with the text of: "+t,e)}return o};function th(e,t){const r=t.getAttribute("for");if(!r)return null;const n=e.querySelector('[id="'+r+'"]');return n?n.tagName.toLowerCase():null}var gs=(e,t)=>"Found multiple elements with the text of: "+t,rh=dt(Er($t,gs),$t.name,"query"),ys=Er(at,gs),nh=_r(be(at,at.name,"findAll")),ah=_r(dt(ys,at.name,"find")),oh=be(at,at.name,"getAll"),ih=dt(ys,at.name,"get"),sh=be($t,$t.name,"queryAll"),_n=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return Ne(t[0]),Ur("placeholder",...t)},lh=(e,t)=>"Found multiple elements with the placeholder text of: "+t,uh=(e,t)=>"Unable to find an element with the placeholder text of: "+t,ch=be(_n,_n.name,"queryAll"),[dh,fh,ph,mh,hh]=st(_n,lh,uh),Cn=function(e,t,r){let{selector:n="*",exact:a=!0,collapseWhitespace:o,trim:i,ignore:s=G().defaultIgnore,normalizer:u}=r===void 0?{}:r;Ne(e);const l=a?Me:_t,c=it({collapseWhitespace:o,trim:i,normalizer:u});let d=[];return typeof e.matches=="function"&&e.matches(n)&&(d=[e]),[...d,...Array.from(e.querySelectorAll(n))].filter(p=>!s||!p.matches(s)).filter(p=>l(Fr(p),p,t,c))},bh=(e,t)=>"Found multiple elements with the text: "+t,vh=function(e,t,r){r===void 0&&(r={});const{collapseWhitespace:n,trim:a,normalizer:o,selector:i}=r,s=it({collapseWhitespace:n,trim:a,normalizer:o})(t.toString()),u=s!==t.toString(),l=(i??"*")!=="*";return"Unable to find an element with the text: "+(u?s+" (normalized from '"+t+"')":t)+(l?", 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."},gh=be(Cn,Cn.name,"queryAll"),[yh,wh,Eh,_h,Ch]=st(Cn,bh,vh),Pn=function(e,t,r){let{exact:n=!0,collapseWhitespace:a,trim:o,normalizer:i}=r===void 0?{}:r;Ne(e);const s=n?Me:_t,u=it({collapseWhitespace:a,trim:o,normalizer:i});return Array.from(e.querySelectorAll("input,textarea,select")).filter(l=>l.tagName==="SELECT"?Array.from(l.options).filter(c=>c.selected).some(c=>s(Fr(c),c,t,u)):s(l.value,l,t,u))},Ph=(e,t)=>"Found multiple elements with the display value: "+t+".",qh=(e,t)=>"Unable to find an element with the display value: "+t+".",Rh=be(Pn,Pn.name,"queryAll"),[Th,Sh,xh,Oh,Mh]=st(Pn,Ph,qh),Ah=/^(img|input|area|.+-.+)$/i,qn=function(e,t,r){return r===void 0&&(r={}),Ne(e),Ur("alt",e,t,r).filter(n=>Ah.test(n.tagName))},Ih=(e,t)=>"Found multiple elements with the alt text: "+t,Nh=(e,t)=>"Unable to find an element with the alt text: "+t,kh=be(qn,qn.name,"queryAll"),[jh,Dh,Lh,Bh,$h]=st(qn,Ih,Nh),Fh=e=>{var t;return e.tagName.toLowerCase()==="title"&&((t=e.parentElement)==null?void 0:t.tagName.toLowerCase())==="svg"},Rn=function(e,t,r){let{exact:n=!0,collapseWhitespace:a,trim:o,normalizer:i}=r===void 0?{}:r;Ne(e);const s=n?Me:_t,u=it({collapseWhitespace:a,trim:o,normalizer:i});return Array.from(e.querySelectorAll("[title], svg > title")).filter(l=>s(l.getAttribute("title"),l,t,u)||Fh(l)&&s(Fr(l),l,t,u))},Uh=(e,t)=>"Found multiple elements with the title: "+t+".",zh=(e,t)=>"Unable to find an element with the title: "+t+".",Vh=be(Rn,Rn.name,"queryAll"),[Hh,Wh,Kh,Gh,Yh]=st(Rn,Uh,zh),Tn=function(e,t,r){let{hidden:n=G().defaultHidden,name:a,description:o,queryFallbacks:i=!1,selected:s,busy:u,checked:l,pressed:c,current:d,level:p,expanded:f,value:{now:g,min:v,max:S,text:y}={}}=r===void 0?{}:r;if(Ne(e),s!==void 0){var w;if(((w=me.roles.get(t))==null?void 0:w.props["aria-selected"])===void 0)throw new Error('"aria-selected" is not supported on role "'+t+'".')}if(u!==void 0){var x;if(((x=me.roles.get(t))==null?void 0:x.props["aria-busy"])===void 0)throw new Error('"aria-busy" is not supported on role "'+t+'".')}if(l!==void 0){var M;if(((M=me.roles.get(t))==null?void 0:M.props["aria-checked"])===void 0)throw new Error('"aria-checked" is not supported on role "'+t+'".')}if(c!==void 0){var A;if(((A=me.roles.get(t))==null?void 0:A.props["aria-pressed"])===void 0)throw new Error('"aria-pressed" is not supported on role "'+t+'".')}if(d!==void 0){var E;if(((E=me.roles.get(t))==null?void 0:E.props["aria-current"])===void 0)throw new Error('"aria-current" is not supported on role "'+t+'".')}if(p!==void 0&&t!=="heading")throw new Error('Role "'+t+'" cannot have "level" property.');if(g!==void 0){var m;if(((m=me.roles.get(t))==null?void 0:m.props["aria-valuenow"])===void 0)throw new Error('"aria-valuenow" is not supported on role "'+t+'".')}if(S!==void 0){var _;if(((_=me.roles.get(t))==null?void 0:_.props["aria-valuemax"])===void 0)throw new Error('"aria-valuemax" is not supported on role "'+t+'".')}if(v!==void 0){var T;if(((T=me.roles.get(t))==null?void 0:T.props["aria-valuemin"])===void 0)throw new Error('"aria-valuemin" is not supported on role "'+t+'".')}if(y!==void 0){var I;if(((I=me.roles.get(t))==null?void 0:I.props["aria-valuetext"])===void 0)throw new Error('"aria-valuetext" is not supported on role "'+t+'".')}if(f!==void 0){var D;if(((D=me.roles.get(t))==null?void 0:D.props["aria-expanded"])===void 0)throw new Error('"aria-expanded" is not supported on role "'+t+'".')}const B=new WeakMap;function F(O){return B.has(O)||B.set(O,hs(O)),B.get(O)}return Array.from(e.querySelectorAll(Xh(t))).filter(O=>{if(O.hasAttribute("role")){const $=O.getAttribute("role");if(i)return $.split(" ").filter(Boolean).some(ae=>ae===t);const[H]=$.split(" ");return H===t}return xa(O).some($=>$===t)}).filter(O=>{if(s!==void 0)return s===Dm(O);if(u!==void 0)return u===Lm(O);if(l!==void 0)return l===Bm(O);if(c!==void 0)return c===$m(O);if(d!==void 0)return d===Fm(O);if(f!==void 0)return f===Um(O);if(p!==void 0)return p===zm(O);if(g!==void 0||S!==void 0||v!==void 0||y!==void 0){let H=!0;if(g!==void 0&&H&&(H=g===Vm(O)),S!==void 0&&H&&(H=S===Hm(O)),v!==void 0&&H&&(H=v===Wm(O)),y!==void 0){var $;H&&(H=Me(($=Km(O))!=null?$:null,O,y,ae=>ae))}return H}return!0}).filter(O=>a===void 0?!0:Me(Ca(O,{computedStyleSupportsPseudoElements:G().computedStyleSupportsPseudoElements}),O,a,$=>$)).filter(O=>o===void 0?!0:Me(Qi(O,{computedStyleSupportsPseudoElements:G().computedStyleSupportsPseudoElements}),O,o,$=>$)).filter(O=>n===!1?Sa(O,{isSubtreeInaccessible:F})===!1:!0)};function Xh(e){var t;const r='*[role~="'+e+'"]',n=(t=me.roleElements.get(e))!=null?t:new Set,a=new Set(Array.from(n).map(o=>{let{name:i}=o;return i}));return[r].concat(Array.from(a)).join(",")}var ws=e=>{let t="";return e===void 0?t="":typeof e=="string"?t=' and name "'+e+'"':t=" and name `"+e+"`",t},Jh=function(e,t,r){let{name:n}=r===void 0?{}:r;return'Found multiple elements with the role "'+t+'"'+ws(n)},Qh=function(e,t,r){let{hidden:n=G().defaultHidden,name:a,description:o}=r===void 0?{}:r;if(G()._disableExpensiveErrorDiagnostics)return'Unable to find role="'+t+'"'+ws(a);let i="";Array.from(e.children).forEach(c=>{i+=jm(c,{hidden:n,includeDescription:o!==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=(`
|
|
74
74
|
Here are the `+(n===!1?"accessible":"available")+` roles:
|
|
75
75
|
|
|
76
76
|
`+i.replace(/\n/g,`
|
|
@@ -80,12 +80,12 @@ Here are the `+(n===!1?"accessible":"available")+` roles:
|
|
|
80
80
|
`).trim();let u="";a===void 0?u="":typeof a=="string"?u=' and name "'+a+'"':u=" and name `"+a+"`";let l="";return o===void 0?l="":typeof o=="string"?l=' and description "'+o+'"':l=" and description `"+o+"`",(`
|
|
81
81
|
Unable to find an `+(n===!1?"accessible ":"")+'element with the role "'+t+'"'+u+l+`
|
|
82
82
|
|
|
83
|
-
`+s).trim()},Qh=be(Tn,Tn.name,"queryAll"),[Zh,eb,tb,rb,nb]=it(Tn,Xh,Jh),Oa=()=>G().testIdAttribute,Sn=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return Ne(t[0]),Fr(Oa(),...t)},ab=(e,t)=>"Found multiple elements by: ["+Oa()+'="'+t+'"]',ob=(e,t)=>"Unable to find an element by: ["+Oa()+'="'+t+'"]',ib=be(Sn,Sn.name,"queryAll"),[sb,lb,ub,cb,db]=it(Sn,ab,ob),xn=Object.freeze({__proto__:null,queryAllByLabelText:ih,queryByLabelText:th,getAllByLabelText:ah,getByLabelText:oh,findAllByLabelText:rh,findByLabelText:nh,queryByPlaceholderText:ch,queryAllByPlaceholderText:uh,getByPlaceholderText:fh,getAllByPlaceholderText:dh,findAllByPlaceholderText:ph,findByPlaceholderText:mh,queryByText:gh,queryAllByText:vh,getByText:wh,getAllByText:yh,findAllByText:Eh,findByText:_h,queryByDisplayValue:Rh,queryAllByDisplayValue:qh,getByDisplayValue:Sh,getAllByDisplayValue:Th,findAllByDisplayValue:xh,findByDisplayValue:Oh,queryByAltText:kh,queryAllByAltText:Nh,getByAltText:Dh,getAllByAltText:jh,findAllByAltText:Lh,findByAltText:Bh,queryByTitle:Vh,queryAllByTitle:zh,getByTitle:Wh,getAllByTitle:Hh,findAllByTitle:Kh,findByTitle:Gh,queryByRole:Zh,queryAllByRole:Qh,getAllByRole:eb,getByRole:tb,findAllByRole:rb,findByRole:nb,queryByTestId:sb,queryAllByTestId:ib,getByTestId:ub,getAllByTestId:lb,findAllByTestId:cb,findByTestId:db});function Es(e,t,r){return t===void 0&&(t=xn),r===void 0&&(r={}),Object.keys(t).reduce((n,a)=>(n[a]=t[a].bind(null,e),n),r)}var ro={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}}},no={doubleClick:"dblClick"};function _r(e,t){return G().eventWrapper(()=>{if(!t)throw new Error("Unable to fire an event - please provide an event object.");if(!e)throw new Error('Unable to fire a "'+t.type+'" event - please provide a DOM element.');return e.dispatchEvent(t)})}function Xr(e,t,r,n){let{EventType:a="Event",defaultInit:o={}}=n===void 0?{}:n;if(!t)throw new Error('Unable to fire a "'+e+'" event - please provide a DOM element.');const i={...o,...r},{target:{value:s,files:u,...l}={}}=i;s!==void 0&&fb(t,s),u!==void 0&&Object.defineProperty(t,"files",{configurable:!0,enumerable:!0,writable:!0,value:u}),Object.assign(t,l);const c=ss(t),d=c[a]||c.Event;let p;if(typeof d=="function")p=new d(e,i);else{p=c.document.createEvent(a);const{bubbles:f,cancelable:g,detail:v,...S}=i;p.initEvent(e,f,g,v),Object.keys(S).forEach(y=>{p[y]=S[y]})}return["dataTransfer","clipboardData"].forEach(f=>{const g=i[f];typeof g=="object"&&(typeof c.DataTransfer=="function"?Object.defineProperty(p,f,{value:Object.getOwnPropertyNames(g).reduce((v,S)=>(Object.defineProperty(v,S,{value:g[S]}),v),new c.DataTransfer)}):Object.defineProperty(p,f,{value:g}))}),p}Object.keys(ro).forEach(e=>{const{EventType:t,defaultInit:r}=ro[e],n=e.toLowerCase();Xr[e]=(a,o)=>Xr(n,a,o,{EventType:t,defaultInit:r}),_r[e]=(a,o)=>_r(a,Xr[e](a,o))});function fb(e,t){const{set:r}=Object.getOwnPropertyDescriptor(e,"value")||{},{set:n}=Object.getOwnPropertyDescriptor(Object.getPrototypeOf(e),"value")||{};if(n&&r!==n)n.call(e,t);else if(r)r.call(e,t);else throw new Error("The given element does not have a value setter")}Object.keys(no).forEach(e=>{const t=no[e];_r[e]=function(){return _r[t](...arguments)}});function pb(e){return e.replace(/[ \t]*[\n][ \t]*/g,`
|
|
84
|
-
`)}function
|
|
83
|
+
`+s).trim()},Zh=be(Tn,Tn.name,"queryAll"),[eb,tb,rb,nb,ab]=st(Tn,Jh,Qh),Oa=()=>G().testIdAttribute,Sn=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return Ne(t[0]),Ur(Oa(),...t)},ob=(e,t)=>"Found multiple elements by: ["+Oa()+'="'+t+'"]',ib=(e,t)=>"Unable to find an element by: ["+Oa()+'="'+t+'"]',sb=be(Sn,Sn.name,"queryAll"),[lb,ub,cb,db,fb]=st(Sn,ob,ib),xn=Object.freeze({__proto__:null,queryAllByLabelText:sh,queryByLabelText:rh,getAllByLabelText:oh,getByLabelText:ih,findAllByLabelText:nh,findByLabelText:ah,queryByPlaceholderText:dh,queryAllByPlaceholderText:ch,getByPlaceholderText:ph,getAllByPlaceholderText:fh,findAllByPlaceholderText:mh,findByPlaceholderText:hh,queryByText:yh,queryAllByText:gh,getByText:Eh,getAllByText:wh,findAllByText:_h,findByText:Ch,queryByDisplayValue:Th,queryAllByDisplayValue:Rh,getByDisplayValue:xh,getAllByDisplayValue:Sh,findAllByDisplayValue:Oh,findByDisplayValue:Mh,queryByAltText:jh,queryAllByAltText:kh,getByAltText:Lh,getAllByAltText:Dh,findAllByAltText:Bh,findByAltText:$h,queryByTitle:Hh,queryAllByTitle:Vh,getByTitle:Kh,getAllByTitle:Wh,findAllByTitle:Gh,findByTitle:Yh,queryByRole:eb,queryAllByRole:Zh,getAllByRole:tb,getByRole:rb,findAllByRole:nb,findByRole:ab,queryByTestId:lb,queryAllByTestId:sb,getByTestId:cb,getAllByTestId:ub,findAllByTestId:db,findByTestId:fb});function Es(e,t,r){return t===void 0&&(t=xn),r===void 0&&(r={}),Object.keys(t).reduce((n,a)=>(n[a]=t[a].bind(null,e),n),r)}var ro={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}}},no={doubleClick:"dblClick"};function Cr(e,t){return G().eventWrapper(()=>{if(!t)throw new Error("Unable to fire an event - please provide an event object.");if(!e)throw new Error('Unable to fire a "'+t.type+'" event - please provide a DOM element.');return e.dispatchEvent(t)})}function Jr(e,t,r,n){let{EventType:a="Event",defaultInit:o={}}=n===void 0?{}:n;if(!t)throw new Error('Unable to fire a "'+e+'" event - please provide a DOM element.');const i={...o,...r},{target:{value:s,files:u,...l}={}}=i;s!==void 0&&pb(t,s),u!==void 0&&Object.defineProperty(t,"files",{configurable:!0,enumerable:!0,writable:!0,value:u}),Object.assign(t,l);const c=ss(t),d=c[a]||c.Event;let p;if(typeof d=="function")p=new d(e,i);else{p=c.document.createEvent(a);const{bubbles:f,cancelable:g,detail:v,...S}=i;p.initEvent(e,f,g,v),Object.keys(S).forEach(y=>{p[y]=S[y]})}return["dataTransfer","clipboardData"].forEach(f=>{const g=i[f];typeof g=="object"&&(typeof c.DataTransfer=="function"?Object.defineProperty(p,f,{value:Object.getOwnPropertyNames(g).reduce((v,S)=>(Object.defineProperty(v,S,{value:g[S]}),v),new c.DataTransfer)}):Object.defineProperty(p,f,{value:g}))}),p}Object.keys(ro).forEach(e=>{const{EventType:t,defaultInit:r}=ro[e],n=e.toLowerCase();Jr[e]=(a,o)=>Jr(n,a,o,{EventType:t,defaultInit:r}),Cr[e]=(a,o)=>Cr(a,Jr[e](a,o))});function pb(e,t){const{set:r}=Object.getOwnPropertyDescriptor(e,"value")||{},{set:n}=Object.getOwnPropertyDescriptor(Object.getPrototypeOf(e),"value")||{};if(n&&r!==n)n.call(e,t);else if(r)r.call(e,t);else throw new Error("The given element does not have a value setter")}Object.keys(no).forEach(e=>{const t=no[e];Cr[e]=function(){return Cr[t](...arguments)}});function mb(e){return e.replace(/[ \t]*[\n][ \t]*/g,`
|
|
84
|
+
`)}function hb(e){return cm.default.compressToEncodedURIComponent(mb(e))}function bb(e){return"https://testing-playground.com/#markup="+hb(e)}var vb=(e,t,r)=>Array.isArray(e)?e.forEach(n=>Za(n,t,r)):Za(e,t,r),gb=function(e){if(e===void 0&&(e=Ta().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=bb(e.innerHTML);return console.log(`Open this URL in your browser
|
|
85
85
|
|
|
86
|
-
`+t),t},ao={debug:bb,logTestingPlaygroundURL:vb},Ur=typeof document<"u"&&document.body?Es(document.body,xn,ao):Object.keys(xn).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),ao);function bt(e,t){return G().eventWrapper(e)}function ze(e){const t=hc(e,Ea),r=Kt(e.ownerDocument);(t??e.ownerDocument.body)!==r&&(bt(t?()=>t.focus():()=>r?.blur()),gc(t??e.ownerDocument.body))}function gb(e){Ea(e)&&Kt(e.ownerDocument)===e&&bt(()=>e.blur())}var Ve={};Ve.click=(e,t,r)=>{const n=t.closest("button,input,label,select,textarea"),a=n&&V(n,"label")&&n.control;if(a&&a!==t)return()=>{Ea(a)&&(ze(a),r.dispatchEvent(a,mc(e)))};if(V(t,"input",{type:"file"}))return()=>{gb(t),t.dispatchEvent(new(ve(t)).Event("fileDialog")),ze(t)}};var vt=Symbol("Displayed value in UI"),xe=Symbol("Displayed selection in UI"),Cr=Symbol("Initial value to compare on blur");function yb(e){return typeof e=="object"&&vt in e}function wb(e){return!!e&&typeof e=="object"&&xe in e}function Eb(e,t){e[Cr]===void 0&&(e[Cr]=e.value),e[vt]=t,e.value=Object.assign(new String(t),{[vt]:!0})}function qe(e){return e[vt]===void 0?e.value:String(e[vt])}function Ma(e){e[vt]=void 0}function _s(e){e[Cr]=void 0}function _b(e){return e[Cr]}function Cb(e,t){e[xe]=t}function _t(e,{focusOffset:t,anchorOffset:r=t},n="replace"){const a=qe(e).length,o=d=>Math.max(0,Math.min(a,d)),i=n==="replace"||e[xe]===void 0?o(r):e[xe].anchorOffset,s=o(t),u=Math.min(i,s),l=Math.max(i,s);if(e[xe]={anchorOffset:i,focusOffset:s},e.selectionStart===u&&e.selectionEnd===l)return;const c=Object.assign(new Number(u),{[xe]:!0});try{e.setSelectionRange(c,l)}catch{}}function $t(e){var t,r,n;const a=(n=e[xe])!==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{...a,startOffset:Math.min(a.anchorOffset,a.focusOffset),endOffset:Math.max(a.anchorOffset,a.focusOffset)}}function Pb(e){return!!e[xe]}function or(e){e[xe]=void 0}var Pr=globalThis.parseInt;function qb(e){const t=e.replace(/\D/g,"");if(t.length<2)return e;const r=Pr(t[0],10),n=Pr(t[1],10);if(r>=3||r===2&&n>=4){let a;return r>=3?a=1:a=2,oo(t,a)}return e.length===2?e:oo(t,2)}function oo(e,t){const r=e.slice(0,t),n=Math.min(Pr(r,10),23),a=Pr(e.slice(t),10),o=Math.min(a,59);return`${n.toString().padStart(2,"0")}:${o.toString().padStart(2,"0")}`}function Cs(e,t){const r=e.cloneNode();return r.value=t,r.value===t}var Ps=(function(e){return e.email="email",e.password="password",e.search="search",e.telephone="telephone",e.text="text",e.url="url",e})(Ps||{});function Rb(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 Tb(e){return V(e,"textarea")||V(e,"input")&&e.type in Ps}function qs(e,t,r,n){if(ir(e)&&t+r>=0&&t+r<=e.nodeValue.length)return{node:e,offset:t+r};const a=io(e,t,r);if(a){if(ir(a))return{node:a,offset:r>0?Math.min(1,a.nodeValue.length):Math.max(a.nodeValue.length-1,0)};if(V(a,"br")){const o=io(a,void 0,r);return o?ir(o)?{node:o,offset:r>0?0:o.nodeValue.length}:r<0&&V(o,"br")?{node:a.parentNode,offset:er(a)}:{node:o.parentNode,offset:er(o)+(r>0?0:1)}:r<0&&n==="deleteContentBackward"?{node:a.parentNode,offset:er(a)}:void 0}else return{node:a.parentNode,offset:er(a)+(r>0?1:0)}}}function io(e,t,r){const n=Number(t)+(r<0?-1:0);return t!==void 0&&Aa(e)&&n>=0&&n<e.children.length&&(e=e.children[n]),xb(e,r===1?"next":"previous",Sb)}function Sb(e){if(ir(e))return!0;if(Aa(e)){if(V(e,["input","textarea"]))return e.type!=="hidden";if(V(e,"br"))return!0}return!1}function er(e){let t=0;for(;e.previousSibling;)t++,e=e.previousSibling;return t}function Aa(e){return e.nodeType===1}function ir(e){return e.nodeType===3}function xb(e,t,r){for(;;){var n;const a=e[`${t}Sibling`];if(a){if(e=Ob(a,t==="next"?"first":"last"),r(e))return e}else if(e.parentNode&&(!Aa(e.parentNode)||!rt(e.parentNode)&&e.parentNode!==((n=e.ownerDocument)===null||n===void 0?void 0:n.body)))e=e.parentNode;else break}}function Ob(e,t){for(;e.hasChildNodes();)e=e[`${t}Child`];return e}var Ft=Symbol("Track programmatic changes for React workaround");function Mb(e){return Object.getOwnPropertyNames(e).some(t=>t.startsWith("__react"))&&ve(e).REACT_VERSION===17}function Ab(e){Mb(e)&&(e[Ft]={previousValue:String(e.value),tracked:[]})}function Ib(e,t){var r,n;(n=e[Ft])===null||n===void 0||(r=n.tracked)==null||r.push(t),e[Ft]||(Ma(e),_t(e,{focusOffset:t.length}))}function Nb(e,t){var r;const n=e[Ft];if(e[Ft]=void 0,!(!(n==null||(r=n.tracked)===null||r===void 0)&&r.length))return;const a=n.tracked.length===2&&n.tracked[0]===n.previousValue&&n.tracked[1]===e.value;a||Ma(e),Pb(e)&&_t(e,{focusOffset:a?t:e.value.length})}function Rs(e){const t=kb(e);if(t&&Pe(t))return{type:"input",selection:$t(t)};const r=t?.ownerDocument.getSelection();return{type:jt(e)&&r?.anchorNode&&jt(r.anchorNode)?"contenteditable":"default",selection:r}}function kb(e){return e.nodeType===1?e:e.parentElement}function jb(e){const t=Rs(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 at({focusNode:e,focusOffset:t,anchorNode:r=e,anchorOffset:n=t}){var a,o;if(Rs(e).type==="input")return _t(e,{anchorOffset:n,focusOffset:t});(o=r.ownerDocument)===null||o===void 0||(a=o.getSelection())==null||a.setBaseAndExtent(r,n,e,t)}function Ts(e){return V(e,"input")&&["date","time"].includes(e.type)}function gt(e,t,r,n="insertText"){const a=jb(t);a&&(!Ts(t)&&!e.dispatchUIEvent(t,"beforeinput",{inputType:n,data:r})||("startContainer"in a?Db(e,t,a,r,n):Lb(e,t,a,r,n)))}function Db(e,t,r,n,a){let o=!1;if(!r.collapsed)o=!0,r.deleteContents();else if(["deleteContentBackward","deleteContentForward"].includes(a)){const i=qs(r.startContainer,r.startOffset,a==="deleteContentBackward"?-1:1,a);if(i){o=!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)}(o||n)&&e.dispatchUIEvent(t,"input",{inputType:a})}function Lb(e,t,r,n,a){let o=n;if(Tb(t)){const l=Rb(t);if(l!==void 0&&n.length>0){const c=l-t.value.length;if(c>0)o=n.substring(0,c);else return}}const{newValue:i,newOffset:s,oldValue:u}=Bb(o,t,r,a);i===u&&s===r.startOffset&&s===r.endOffset||V(t,"input",{type:"number"})&&!$b(i)||(Eb(t,i),at({focusNode:t,anchorOffset:s,focusOffset:s}),Ts(t)?Cs(t,i)&&(so(e,t,s,{}),e.dispatchUIEvent(t,"change"),_s(t)):so(e,t,s,{data:n,inputType:a}))}function Bb(e,t,{startOffset:r,endOffset:n},a){const o=qe(t),i=Math.max(0,r===n&&a==="deleteContentBackward"?r-1:r),s=o.substring(0,i),u=Math.min(o.length,r===n&&a==="deleteContentForward"?r+1:n);let l=`${s}${e}${o.substring(u,o.length)}`,c=i+e.length;if(V(t,"input",{type:"time"})){const d=qb(l);d!==""&&Cs(t,d)&&(l=d,c=d.length)}return{oldValue:o,newValue:l,newOffset:c}}function so(e,t,r,n){e.dispatchUIEvent(t,"input",n),Nb(t,r)}function $b(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]))}Ve.cut=(e,t,r)=>()=>{ht(t)&>(r,t,"","deleteByCut")};function Fb(e){return e?rt(e)?e.textContent:qe(e):null}function Ub(e){const t=ve(e);for(let r=e;r?.ownerDocument;r=r.parentElement){const{display:n,visibility:a}=t.getComputedStyle(r);if(n==="none"||a==="hidden")return!1}return!0}function zb(e,t){const r=e.ownerDocument,n=r.querySelectorAll(Di),a=Array.from(n).filter(u=>u===e||!(Number(u.getAttribute("tabindex"))<0||Ae(u)));Number(e.getAttribute("tabindex"))>=0&&a.sort((u,l)=>{const c=Number(u.getAttribute("tabindex")),d=Number(l.getAttribute("tabindex"));return c===d?0:c===0?1:d===0?-1:c-d});const o={};let i=[r.body];const s=V(e,"input",{type:"radio"})?e.name:void 0;a.forEach(u=>{const l=u;if(V(l,"input",{type:"radio"})&&l.name){if(l===e){i.push(l);return}else if(l.name===s)return;if(l.checked){i=i.filter(c=>!V(c,"input",{type:"radio",name:l.name})),i.push(l),o[l.name]=l;return}if(typeof o[l.name]<"u")return}i.push(l)});for(let u=i.findIndex(l=>l===e);;)if(u+=t?-1:1,u===i.length?u=0:u===-1&&(u=i.length-1),i[u]===e||i[u]===r.body||Ub(i[u]))return i[u]}function lo(e,t){if(Pe(e)){const r=$t(e);at({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=qs(r.focusNode,r.focusOffset,t);n&&at({focusNode:n.node,focusOffset:n.offset})}else r[t<0?"collapseToStart":"collapseToEnd"]()}}function Ss(e){if(Pe(e))return at({focusNode:e,anchorOffset:0,focusOffset:qe(e).length});var t;const r=(t=jt(e))!==null&&t!==void 0?t:e.ownerDocument.body;at({focusNode:r,anchorOffset:0,focusOffset:r.childNodes.length})}function Vb(e){if(Pe(e))return $t(e).startOffset===0&&$t(e).endOffset===qe(e).length;var t;const r=(t=jt(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 St(e,t,r){var n;if(Pe(e))return at({focusNode:e,anchorOffset:t,focusOffset:r});if(rt(e)&&((n=e.firstChild)===null||n===void 0?void 0:n.nodeType)===3)return at({focusNode:e.firstChild,anchorOffset:t,focusOffset:r});throw new Error("Not implemented. The result of this interaction is unreliable.")}function tr(e,t,r){const n=ve(t),a=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 o=a.findIndex(i=>i===t)+r;;o+=r){if(a[o]||(o=r>0?0:a.length-1),a[o]===t)return;if(!Ae(a[o])){ze(a[o]),e.dispatchUIEvent(a[o],"click");return}}}Ve.keydown=(e,t,r)=>{var n,a;return(a=(n=uo[e.key])===null||n===void 0?void 0:n.call(uo,e,t,r))!==null&&a!==void 0?a:Hb(e,t,r)};var uo={ArrowDown:(e,t,r)=>{if(V(t,"input",{type:"radio"}))return()=>tr(r,t,1)},ArrowLeft:(e,t,r)=>V(t,"input",{type:"radio"})?()=>tr(r,t,-1):()=>lo(t,-1),ArrowRight:(e,t,r)=>V(t,"input",{type:"radio"})?()=>tr(r,t,1):()=>lo(t,1),ArrowUp:(e,t,r)=>{if(V(t,"input",{type:"radio"}))return()=>tr(r,t,-1)},Backspace:(e,t,r)=>{if(ht(t))return()=>{gt(r,t,"","deleteContentBackward")}},Delete:(e,t,r)=>{if(ht(t))return()=>{gt(r,t,"","deleteContentForward")}},End:(e,t)=>{if(V(t,["input","textarea"])||rt(t))return()=>{var r,n;const a=(n=(r=Fb(t))===null||r===void 0?void 0:r.length)!==null&&n!==void 0?n:0;St(t,a,a)}},Home:(e,t)=>{if(V(t,["input","textarea"])||rt(t))return()=>{St(t,0,0)}},PageDown:(e,t)=>{if(V(t,["input"]))return()=>{const r=qe(t).length;St(t,r,r)}},PageUp:(e,t)=>{if(V(t,["input"]))return()=>{St(t,0,0)}},Tab:(e,t,r)=>()=>{const n=zb(t,r.system.keyboard.modifiers.Shift);ze(n),Pe(n)&&_t(n,{anchorOffset:0,focusOffset:n.value.length})}},Hb=(e,t,r)=>{if(e.code==="KeyA"&&r.system.keyboard.modifiers.Control)return()=>Ss(t)};Ve.keypress=(e,t,r)=>{if(e.key==="Enter"){if(V(t,"button")||V(t,"input")&&Wb.includes(t.type)||V(t,"a")&&t.href)return()=>{r.dispatchUIEvent(t,"click")};if(V(t,"input")){const n=t.form,a=n?.querySelector('input[type="submit"], button:not([type]), button[type="submit"]');return a?()=>r.dispatchUIEvent(a,"click"):n&&Kb.includes(t.type)&&n.querySelectorAll("input").length===1?()=>r.dispatchUIEvent(n,"submit"):void 0}}if(ht(t)){const n=e.key==="Enter"?rt(t)&&!r.system.keyboard.modifiers.Shift?"insertParagraph":"insertLineBreak":"insertText",a=e.key==="Enter"?`
|
|
87
|
-
`:e.key;return()=>gt(r,t,a,n)}};var Wb=["button","color","file","image","reset","submit"],Kb=["email","month","password","search","tel","text","url","week"];Ve.keyup=(e,t,r)=>{var n;return(n=co[e.key])===null||n===void 0?void 0:n.call(co,e,t,r)};var co={" ":(e,t,r)=>{if(Bi(t))return()=>r.dispatchUIEvent(t,"click")}};Ve.paste=(e,t,r)=>{if(ht(t))return()=>{var n;const a=(n=e.clipboardData)===null||n===void 0?void 0:n.getData("text");a&>(r,t,a,"insertFromPaste")}};var xs={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 Os(e){return xs[e].EventType}var Gb=["MouseEvent","PointerEvent"];function Yb(e){return Gb.includes(Os(e))}function Xb(e){return Os(e)==="KeyboardEvent"}var Jb={ClipboardEvent:[Zb],Event:[],FocusEvent:[Rt,ev],InputEvent:[Rt,tv],MouseEvent:[Rt,Jr,fo],PointerEvent:[Rt,Jr,fo,nv],KeyboardEvent:[Rt,Jr,rv]};function Ms(e,t,r){const n=ve(t),{EventType:a,defaultInit:o}=xs[e],i=new(Qb(n))[a](e,o);return Jb[a].forEach(s=>s(i,r??{})),i}function Qb(e){var t;const r=(t=e.Event)!==null&&t!==void 0?t:class{};var n;const a=(n=e.AnimationEvent)!==null&&n!==void 0?n:class extends r{};var o;const i=(o=e.ClipboardEvent)!==null&&o!==void 0?o:class extends r{};var s;const u=(s=e.PopStateEvent)!==null&&s!==void 0?s:class extends r{};var l;const c=(l=e.ProgressEvent)!==null&&l!==void 0?l:class extends r{};var d;const p=(d=e.TransitionEvent)!==null&&d!==void 0?d:class extends r{};var f;const g=(f=e.UIEvent)!==null&&f!==void 0?f:class extends r{};var v;const S=(v=e.CompositionEvent)!==null&&v!==void 0?v:class extends g{};var y;const w=(y=e.FocusEvent)!==null&&y!==void 0?y:class extends g{};var x;const M=(x=e.InputEvent)!==null&&x!==void 0?x:class extends g{};var A;const E=(A=e.KeyboardEvent)!==null&&A!==void 0?A:class extends g{};var m;const _=(m=e.MouseEvent)!==null&&m!==void 0?m:class extends g{};var T;const I=(T=e.DragEvent)!==null&&T!==void 0?T:class extends _{};var D;const B=(D=e.PointerEvent)!==null&&D!==void 0?D:class extends _{};var F;return{Event:r,AnimationEvent:a,ClipboardEvent:i,PopStateEvent:u,ProgressEvent:c,TransitionEvent:p,UIEvent:g,CompositionEvent:S,FocusEvent:w,InputEvent:M,KeyboardEvent:E,MouseEvent:_,DragEvent:I,PointerEvent:B,TouchEvent:(F=e.TouchEvent)!==null&&F!==void 0?F:class extends g{}}}function He(e,t){for(const[r,n]of Object.entries(t))Object.defineProperty(e,r,{get:()=>n??null})}function ee(e){return Number(e??0)}function Zb(e,{clipboardData:t}){He(e,{clipboardData:t})}function ev(e,{relatedTarget:t}){He(e,{relatedTarget:t})}function tv(e,{data:t,inputType:r,isComposing:n}){He(e,{data:t,isComposing:!!n,inputType:String(r)})}function Rt(e,{view:t,detail:r}){He(e,{view:t,detail:ee(r??0)})}function Jr(e,{altKey:t,ctrlKey:r,metaKey:n,shiftKey:a,modifierAltGraph:o,modifierCapsLock:i,modifierFn:s,modifierFnLock:u,modifierNumLock:l,modifierScrollLock:c,modifierSymbol:d,modifierSymbolLock:p}){He(e,{altKey:!!t,ctrlKey:!!r,metaKey:!!n,shiftKey:!!a,getModifierState(f){return!!{Alt:t,AltGraph:o,CapsLock:i,Control:r,Fn:s,FnLock:u,Meta:n,NumLock:l,ScrollLock:c,Shift:a,Symbol:d,SymbolLock:p}[f]}})}function rv(e,{key:t,code:r,location:n,repeat:a,isComposing:o,charCode:i}){He(e,{key:String(t),code:String(r),location:ee(n),repeat:!!a,isComposing:!!o,charCode:i})}function fo(e,{x:t,y:r,screenX:n,screenY:a,clientX:o=t,clientY:i=r,button:s,buttons:u,relatedTarget:l,offsetX:c,offsetY:d,pageX:p,pageY:f}){He(e,{screenX:ee(n),screenY:ee(a),clientX:ee(o),x:ee(o),clientY:ee(i),y:ee(i),button:ee(s),buttons:ee(u),relatedTarget:l,offsetX:ee(c),offsetY:ee(d),pageX:ee(p),pageY:ee(f)})}function nv(e,{pointerId:t,width:r,height:n,pressure:a,tangentialPressure:o,tiltX:i,tiltY:s,twist:u,pointerType:l,isPrimary:c}){He(e,{pointerId:ee(t),width:ee(r??1),height:ee(n??1),pressure:ee(a),tangentialPressure:ee(o),tiltX:ee(i),tiltY:ee(s),twist:ee(u),pointerType:String(l),isPrimary:!!c})}function av(e,t,r,n=!1){(Yb(t)||Xb(t))&&(r={...r,...this.system.getUIEventModifiers()});const a=Ms(t,e,r);return As.call(this,e,a,n)}function As(e,t,r=!1){var n;const a=t.type,o=r?()=>{}:(n=Ve[a])===null||n===void 0?void 0:n.call(Ve,t,e,this);if(o){t.preventDefault();let i=!1;return Object.defineProperty(t,"defaultPrevented",{get:()=>i}),Object.defineProperty(t,"preventDefault",{value:()=>{i=t.cancelable}}),bt(()=>e.dispatchEvent(t)),i||o(),!i}return bt(()=>e.dispatchEvent(t))}function Je(e,t,r){const n=Ms(t,e,r);bt(()=>e.dispatchEvent(n))}var po=Symbol("patched focus/blur methods");function Is(e){if(e.prototype[po])return;const{focus:t,blur:r}=e.prototype;Object.defineProperties(e.prototype,{focus:{configurable:!0,get:()=>a},blur:{configurable:!0,get:()=>o},[po]:{configurable:!0,get:()=>({focus:t,blur:r})}});let n;function a(i){if(this.ownerDocument.visibilityState!=="hidden")return t.call(this,i);const s=mo(this.ownerDocument);if(s===this)return;const u=Symbol("focus call");n=u,s&&(r.call(s),Je(s,"blur",{relatedTarget:this}),Je(s,"focusout",{relatedTarget:n===u?this:null})),n===u&&(t.call(this,i),Je(this,"focus",{relatedTarget:s})),n===u&&Je(this,"focusin",{relatedTarget:s})}function o(){if(this.ownerDocument.visibilityState!=="hidden")return r.call(this);const i=mo(this.ownerDocument);i===this&&(n=Symbol("blur call"),r.call(this),Je(i,"blur",{relatedTarget:null}),Je(i,"focusout",{relatedTarget:null}))}}function mo(e){const t=Kt(e);return t?.tagName==="BODY"?null:t}var Qr=Symbol("Interceptor for programmatical calls");function ut(e,t,r){const n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),a=Object.getOwnPropertyDescriptor(e,t),o=n?.set?"set":"value";if(typeof n?.[o]!="function"||n[o][Qr])throw new Error(`Element ${e.tagName} does not implement "${String(t)}".`);function i(...s){const{applyNative:u=!1,realArgs:l,then:c}=r.call(this,...s),d=(!u&&a||n)[o];o==="set"?d.call(this,l):d.call(this,...l),c?.()}i[Qr]=Qr,Object.defineProperty(e,t,{...a??n,[o]:i})}function ov(e){ut(e,"value",function(r){const n=yb(r);return n&&Ab(this),{applyNative:!!n,realArgs:iv(this,r),then:n?void 0:()=>Ib(this,String(r))}})}function iv(e,t){return V(e,"input",{type:"number"})&&String(t)!==""&&!Number.isNaN(Number(t))?String(Number(t)):String(t)}function sv(e){ut(e,"setSelectionRange",function(r,...n){const a=wb(r);return{applyNative:!!a,realArgs:[Number(r),...n],then:()=>a?void 0:or(e)}}),ut(e,"selectionStart",function(r){return{realArgs:r,then:()=>or(e)}}),ut(e,"selectionEnd",function(r){return{realArgs:r,then:()=>or(e)}}),ut(e,"select",function(){return{realArgs:[],then:()=>Cb(e,{anchorOffset:0,focusOffset:qe(e).length})}})}function lv(e){ut(e,"setRangeText",function(...r){return{realArgs:r,then:()=>{Ma(e),or(e)}}})}var dt=Symbol("Node prepared with document state workarounds");function Ns(e){e[dt]||(e.addEventListener("focus",t=>{const r=t.target;ho(r)},{capture:!0,passive:!0}),e.activeElement&&ho(e.activeElement),e.addEventListener("blur",t=>{const r=t.target,n=_b(r);n!==void 0&&(r.value!==n&&Je(r,"change"),_s(r))},{capture:!0,passive:!0}),e[dt]=dt)}function ho(e){e[dt]||(V(e,["input","textarea"])&&(ov(e),sv(e),lv(e)),e[dt]=dt)}function uv(e){return cv(e)?e:e.ownerDocument}function cv(e){return e.nodeType===9}var pe=(function(e){return e[e.Trigger=2]="Trigger",e[e.Call=1]="Call",e})({});function xt(e,t){e.levelRefs[t]={}}function rr(e,t){return e.levelRefs[t]}function yt(e){const t=e.delay;if(typeof t=="number")return Promise.all([new Promise(r=>globalThis.setTimeout(()=>r(),t)),e.advanceTimers(t)])}var sr=(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 Ye(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Ee=(function(e){return e[e.STANDARD=0]="STANDARD",e[e.LEFT=1]="LEFT",e[e.RIGHT=2]="RIGHT",e[e.NUMPAD=3]="NUMPAD",e})({}),dv=["Alt","AltGraph","Control","Fn","Meta","Shift","Symbol"];function bo(e){return dv.includes(e)}var fv=["CapsLock","FnLock","NumLock","ScrollLock","SymbolLock"];function vo(e){return fv.includes(e)}var pv=class{isKeyPressed(e){return this.pressed.has(String(e.code))}getPressedKeys(){return this.pressed.values().map(e=>e.keyDef)}async keydown(e,t){const r=String(t.key),n=String(t.code),a=Kr(e.config.document);this.setKeydownTarget(a),this.pressed.add(n,t),bo(r)&&(this.modifiers[r]=!0);const o=e.dispatchUIEvent(a,"keydown",{key:r,code:n});vo(r)&&!this.modifiers[r]&&(this.modifiers[r]=!0,this.modifierLockStart[r]=!0),o&&this.pressed.setUnprevented(n),o&&this.hasKeyPress(r)&&e.dispatchUIEvent(Kr(e.config.document),"keypress",{key:r,code:n,charCode:t.key==="Enter"?13:String(t.key).charCodeAt(0)})}async keyup(e,t){const r=String(t.key),n=String(t.code),a=this.pressed.isUnprevented(n);this.pressed.delete(n),bo(r)&&!this.pressed.values().find(o=>o.keyDef.key===r)&&(this.modifiers[r]=!1),e.dispatchUIEvent(Kr(e.config.document),"keyup",{key:r,code:n},!a),vo(r)&&this.modifiers[r]&&(this.modifierLockStart[r]?this.modifierLockStart[r]=!1:this.modifiers[r]=!1)}setKeydownTarget(e){e!==this.lastKeydownTarget&&(this.carryChar=""),this.lastKeydownTarget=e}hasKeyPress(e){return(e.length===1||e==="Enter")&&!this.modifiers.Control&&!this.modifiers.Alt}constructor(e){Ye(this,"system",void 0),Ye(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}),Ye(this,"pressed",new class{add(t,r){var n,a,o;(o=(n=this.registry)[a=t])!==null&&o!==void 0||(n[a]={keyDef:r,unpreventedDefault:!1})}has(t){return!!this.registry[t]}setUnprevented(t){const r=this.registry[t];r&&(r.unpreventedDefault=!0)}isUnprevented(t){var r;return!!(!((r=this.registry[t])===null||r===void 0)&&r.unpreventedDefault)}delete(t){delete this.registry[t]}values(){return Object.values(this.registry)}constructor(){Ye(this,"registry",{})}}),Ye(this,"carryChar",""),Ye(this,"lastKeydownTarget",void 0),Ye(this,"modifierLockStart",{}),this.system=e}},mv=[..."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:Ee.LEFT},{code:"AltRight",key:"Alt",location:Ee.RIGHT},{code:"ShiftLeft",key:"Shift",location:Ee.LEFT},{code:"ShiftRight",key:"Shift",location:Ee.RIGHT},{code:"ControlLeft",key:"Control",location:Ee.LEFT},{code:"ControlRight",key:"Control",location:Ee.RIGHT},{code:"MetaLeft",key:"Meta",location:Ee.LEFT},{code:"MetaRight",key:"Meta",location:Ee.RIGHT},{code:"OSLeft",key:"OS",location:Ee.LEFT},{code:"OSRight",key:"OS",location:Ee.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"}],hv=[{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 bv(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var ks=class{getButtons(){let e=0;for(const t of Object.keys(this.pressed))e|=2**Number(t);return e}down(e){const t=On(e.button);if(t in this.pressed){this.pressed[t].push(e);return}return this.pressed[t]=[e],t}up(e){const t=On(e.button);if(t in this.pressed&&(this.pressed[t]=this.pressed[t].filter(r=>r.name!==e.name),this.pressed[t].length===0))return delete this.pressed[t],t}constructor(){bv(this,"pressed",{})}},go={primary:0,secondary:1,auxiliary:2,back:3,X1:3,forward:4,X2:4};function On(e=0){return e in go?go[e]:Number(e)}var yo={1:2,2:1};function Mn(e){return e=On(e),e in yo?yo[e]:e}function vv(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var gv=class{get countPressed(){return this.pressedKeys.size}isPressed(e){return this.pressedKeys.has(e.name)}addPressed(e){return this.pressedKeys.add(e.name)}removePressed(e){return this.pressedKeys.delete(e.name)}constructor(){vv(this,"pressedKeys",new Set)}};function Nt(e,t){const r=[];for(let o=e;o;o=o.parentElement)r.push(o);const n=[];for(let o=t;o;o=o.parentElement)n.push(o);let a=0;for(;!(a>=r.length||a>=n.length||r[r.length-1-a]!==n[n.length-1-a]);a++);return[r.slice(0,r.length-a),n.slice(0,n.length-a),n.slice(n.length-a)]}function An({target:e,node:t,offset:r}){return Pe(e)?{node:e,offset:r??qe(e).length}:t?{node:t,offset:r??(t.nodeType===3?t.nodeValue.length:t.childNodes.length)}:js(e,r)}function js(e,t,r=!0){let n=t===void 0?e.childNodes.length-1:0;const a=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 o=e.childNodes.item(n),i=String(o.textContent);if(i.length)if(t!==void 0&&i.length<t)t-=i.length;else{if(o.nodeType===1)return js(o,t,!1);if(o.nodeType===3)return{node:o,offset:t??o.nodeValue.length}}n+=a}return{node:e,offset:e.childNodes.length}}function yv({document:e,target:t,clickCount:r,node:n,offset:a}){if(vc(t))return;const o=Pe(t),i=String(o?qe(t):t.textContent),[s,u]=n?[a,a]:wv(i,a,r);if(o)return _t(t,{anchorOffset:s??i.length,focusOffset:u??i.length}),{node:t,start:s??0,end:u??i.length};{const{node:l,offset:c}=An({target:t,node:n,offset:s}),{node:d,offset:p}=An({target:t,node:n,offset:u}),f=t.ownerDocument.createRange();try{f.setStart(l,c),f.setEnd(d,p)}catch{throw new Error("The given offset is out of bounds.")}const g=e.getSelection();return g?.removeAllRanges(),g?.addRange(f.cloneRange()),f}}function wv(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 Ev(e,{document:t,target:r,node:n,offset:a}){const o=An({target:r,node:n,offset:a});if("node"in e){if(o.node===e.node){const i=o.offset<e.start?e.end:e.start,s=o.offset>e.end||o.offset<e.start?o.offset:e.end;_t(e.node,{anchorOffset:i,focusOffset:s})}}else{const i=e.cloneRange(),s=i.comparePoint(o.node,o.offset);s<0?i.setStart(o.node,o.offset):s>0&&i.setEnd(o.node,o.offset);const u=t.getSelection();u?.removeAllRanges(),u?.addRange(i.cloneRange())}}function Ds(e,t){var r,n,a,o,i,s,u,l,c,d,p,f,g,v,S,y,w,x,M,A,E,m,_,T;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)||((a=e.coords)===null||a===void 0?void 0:a.y)!==((o=t.coords)===null||o===void 0?void 0:o.y)||((i=e.coords)===null||i===void 0?void 0:i.clientX)!==((s=t.coords)===null||s===void 0?void 0:s.clientX)||((u=e.coords)===null||u===void 0?void 0:u.clientY)!==((l=t.coords)===null||l===void 0?void 0:l.clientY)||((c=e.coords)===null||c===void 0?void 0:c.offsetX)!==((d=t.coords)===null||d===void 0?void 0:d.offsetX)||((p=e.coords)===null||p===void 0?void 0:p.offsetY)!==((f=t.coords)===null||f===void 0?void 0:f.offsetY)||((g=e.coords)===null||g===void 0?void 0:g.pageX)!==((v=t.coords)===null||v===void 0?void 0:v.pageX)||((S=e.coords)===null||S===void 0?void 0:S.pageY)!==((y=t.coords)===null||y===void 0?void 0:y.pageY)||((w=e.coords)===null||w===void 0?void 0:w.screenX)!==((x=t.coords)===null||x===void 0?void 0:x.screenX)||((M=e.coords)===null||M===void 0?void 0:M.screenY)!==((A=t.coords)===null||A===void 0?void 0:A.screenY)||((E=e.caret)===null||E===void 0?void 0:E.node)!==((m=t.caret)===null||m===void 0?void 0:m.node)||((_=e.caret)===null||_===void 0?void 0:_.offset)!==((T=t.caret)===null||T===void 0?void 0:T.offset)}function Xe(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var _v=class{move(e,t,r){const n=this.position,a=this.getTarget(e);if(this.position=t,!Ds(n,t))return;const o=this.getTarget(e),i=this.getEventInit("mousemove"),[s,u]=Nt(a,o);return{leave:()=>{a!==o&&(e.dispatchUIEvent(a,"mouseout",i),s.forEach(l=>e.dispatchUIEvent(l,"mouseleave",i)))},enter:()=>{a!==o&&(e.dispatchUIEvent(o,"mouseover",i),u.forEach(l=>e.dispatchUIEvent(l,"mouseenter",i)))},move:()=>{r||(e.dispatchUIEvent(o,"mousemove",i),this.modifySelecting(e))}}}down(e,t,r){const n=this.buttons.down(t);if(n===void 0)return;const a=this.getTarget(e);this.buttonDownTarget[n]=a;const o=this.getEventInit("mousedown",t.button),i=Ae(a);!r&&(i||e.dispatchUIEvent(a,"mousedown",o))&&(this.startSelecting(e,o.detail),ze(a)),!i&&Mn(t.button)===2&&e.dispatchUIEvent(a,"contextmenu",this.getEventInit("contextmenu",t.button))}up(e,t,r){const n=this.buttons.up(t);if(n===void 0)return;const a=this.getTarget(e);if(!Ae(a)){if(!r){const i=this.getEventInit("mouseup",t.button);e.dispatchUIEvent(a,"mouseup",i),this.endSelecting()}const o=Nt(this.buttonDownTarget[n],a)[2][0];if(o){const i=this.getEventInit("click",t.button);i.detail&&(e.dispatchUIEvent(o,i.button===0?"click":"auxclick",i),i.button===0&&i.detail===2&&e.dispatchUIEvent(o,"dblclick",{...this.getEventInit("dblclick",t.button),detail:i.detail}))}}}resetClickCount(){this.clickCount.reset()}getEventInit(e,t){const r={...this.position.coords};return r.button=Mn(t),r.buttons=this.buttons.getButtons(),e==="mousedown"?r.detail=this.clickCount.getOnDown(r.button):e==="mouseup"?r.detail=this.clickCount.getOnUp(r.button):(e==="click"||e==="auxclick")&&(r.detail=this.clickCount.incOnClick(r.button)),r}getTarget(e){var t;return(t=this.position.target)!==null&&t!==void 0?t:e.config.document.body}startSelecting(e,t){var r,n;this.selecting=yv({document:e.config.document,target:this.getTarget(e),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,clickCount:t})}modifySelecting(e){var t,r;this.selecting&&Ev(this.selecting,{document:e.config.document,target:this.getTarget(e),node:(t=this.position.caret)===null||t===void 0?void 0:t.node,offset:(r=this.position.caret)===null||r===void 0?void 0:r.offset})}endSelecting(){this.selecting=void 0}constructor(){Xe(this,"position",{}),Xe(this,"buttons",new ks),Xe(this,"selecting",void 0),Xe(this,"buttonDownTarget",{}),Xe(this,"clickCount",new class{incOnClick(e){const t=this.down[e]===void 0?void 0:Number(this.down[e])+1;return this.count=this.count[e]===void 0?{}:{[e]:Number(this.count[e])+1},t}getOnDown(e){var t;this.down={[e]:(t=this.count[e])!==null&&t!==void 0?t:0};var r;return this.count={[e]:(r=this.count[e])!==null&&r!==void 0?r:0},Number(this.count[e])+1}getOnUp(e){return this.down[e]===void 0?void 0:Number(this.down[e])+1}reset(){this.count={}}constructor(){Xe(this,"down",{}),Xe(this,"count",{})}})}};function qr(e,t){var r;return((r=Ls(e,t))===null||r===void 0?void 0:r.pointerEvents)!=="none"}function Cv(e){const t=ve(e);for(let r=e,n=[];r?.ownerDocument;r=r.parentElement){n.push(r);const a=t.getComputedStyle(r).pointerEvents;if(a&&!["inherit","unset"].includes(a))return{pointerEvents:a,tree:n}}}var wo=Symbol("Last check for pointer-events");function Ls(e,t){const r=t[wo];if(!(e.config.pointerEventsCheck!==sr.Never&&(!r||Eo(e.config.pointerEventsCheck,sr.EachApiCall)&&r[pe.Call]!==rr(e,pe.Call)||Eo(e.config.pointerEventsCheck,sr.EachTrigger)&&r[pe.Trigger]!==rr(e,pe.Trigger))))return r?.result;const n=Cv(t);return t[wo]={[pe.Call]:rr(e,pe.Call),[pe.Trigger]:rr(e,pe.Trigger),result:n},n}function Ot(e,t){const r=Ls(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\`:`,"",Pv(r.tree)].join(`
|
|
88
|
-
`))}function
|
|
89
|
-
`)}function
|
|
86
|
+
`+t),t},ao={debug:vb,logTestingPlaygroundURL:gb},zr=typeof document<"u"&&document.body?Es(document.body,xn,ao):Object.keys(xn).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),ao);function vt(e,t){return G().eventWrapper(e)}function ze(e){const t=bc(e,Ea),r=Gt(e.ownerDocument);(t??e.ownerDocument.body)!==r&&(vt(t?()=>t.focus():()=>r?.blur()),yc(t??e.ownerDocument.body))}function yb(e){Ea(e)&&Gt(e.ownerDocument)===e&&vt(()=>e.blur())}var Ve={};Ve.click=(e,t,r)=>{const n=t.closest("button,input,label,select,textarea"),a=n&&V(n,"label")&&n.control;if(a&&a!==t)return()=>{Ea(a)&&(ze(a),r.dispatchEvent(a,hc(e)))};if(V(t,"input",{type:"file"}))return()=>{yb(t),t.dispatchEvent(new(ve(t)).Event("fileDialog")),ze(t)}};var gt=Symbol("Displayed value in UI"),xe=Symbol("Displayed selection in UI"),Pr=Symbol("Initial value to compare on blur");function wb(e){return typeof e=="object"&> in e}function Eb(e){return!!e&&typeof e=="object"&&xe in e}function _b(e,t){e[Pr]===void 0&&(e[Pr]=e.value),e[gt]=t,e.value=Object.assign(new String(t),{[gt]:!0})}function qe(e){return e[gt]===void 0?e.value:String(e[gt])}function Ma(e){e[gt]=void 0}function _s(e){e[Pr]=void 0}function Cb(e){return e[Pr]}function Pb(e,t){e[xe]=t}function Ct(e,{focusOffset:t,anchorOffset:r=t},n="replace"){const a=qe(e).length,o=d=>Math.max(0,Math.min(a,d)),i=n==="replace"||e[xe]===void 0?o(r):e[xe].anchorOffset,s=o(t),u=Math.min(i,s),l=Math.max(i,s);if(e[xe]={anchorOffset:i,focusOffset:s},e.selectionStart===u&&e.selectionEnd===l)return;const c=Object.assign(new Number(u),{[xe]:!0});try{e.setSelectionRange(c,l)}catch{}}function Ft(e){var t,r,n;const a=(n=e[xe])!==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{...a,startOffset:Math.min(a.anchorOffset,a.focusOffset),endOffset:Math.max(a.anchorOffset,a.focusOffset)}}function qb(e){return!!e[xe]}function ir(e){e[xe]=void 0}var qr=globalThis.parseInt;function Rb(e){const t=e.replace(/\D/g,"");if(t.length<2)return e;const r=qr(t[0],10),n=qr(t[1],10);if(r>=3||r===2&&n>=4){let a;return r>=3?a=1:a=2,oo(t,a)}return e.length===2?e:oo(t,2)}function oo(e,t){const r=e.slice(0,t),n=Math.min(qr(r,10),23),a=qr(e.slice(t),10),o=Math.min(a,59);return`${n.toString().padStart(2,"0")}:${o.toString().padStart(2,"0")}`}function Cs(e,t){const r=e.cloneNode();return r.value=t,r.value===t}var Ps=(function(e){return e.email="email",e.password="password",e.search="search",e.telephone="telephone",e.text="text",e.url="url",e})(Ps||{});function Tb(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 Sb(e){return V(e,"textarea")||V(e,"input")&&e.type in Ps}function qs(e,t,r,n){if(sr(e)&&t+r>=0&&t+r<=e.nodeValue.length)return{node:e,offset:t+r};const a=io(e,t,r);if(a){if(sr(a))return{node:a,offset:r>0?Math.min(1,a.nodeValue.length):Math.max(a.nodeValue.length-1,0)};if(V(a,"br")){const o=io(a,void 0,r);return o?sr(o)?{node:o,offset:r>0?0:o.nodeValue.length}:r<0&&V(o,"br")?{node:a.parentNode,offset:tr(a)}:{node:o.parentNode,offset:tr(o)+(r>0?0:1)}:r<0&&n==="deleteContentBackward"?{node:a.parentNode,offset:tr(a)}:void 0}else return{node:a.parentNode,offset:tr(a)+(r>0?1:0)}}}function io(e,t,r){const n=Number(t)+(r<0?-1:0);return t!==void 0&&Aa(e)&&n>=0&&n<e.children.length&&(e=e.children[n]),Ob(e,r===1?"next":"previous",xb)}function xb(e){if(sr(e))return!0;if(Aa(e)){if(V(e,["input","textarea"]))return e.type!=="hidden";if(V(e,"br"))return!0}return!1}function tr(e){let t=0;for(;e.previousSibling;)t++,e=e.previousSibling;return t}function Aa(e){return e.nodeType===1}function sr(e){return e.nodeType===3}function Ob(e,t,r){for(;;){var n;const a=e[`${t}Sibling`];if(a){if(e=Mb(a,t==="next"?"first":"last"),r(e))return e}else if(e.parentNode&&(!Aa(e.parentNode)||!nt(e.parentNode)&&e.parentNode!==((n=e.ownerDocument)===null||n===void 0?void 0:n.body)))e=e.parentNode;else break}}function Mb(e,t){for(;e.hasChildNodes();)e=e[`${t}Child`];return e}var Ut=Symbol("Track programmatic changes for React workaround");function Ab(e){return Object.getOwnPropertyNames(e).some(t=>t.startsWith("__react"))&&ve(e).REACT_VERSION===17}function Ib(e){Ab(e)&&(e[Ut]={previousValue:String(e.value),tracked:[]})}function Nb(e,t){var r,n;(n=e[Ut])===null||n===void 0||(r=n.tracked)==null||r.push(t),e[Ut]||(Ma(e),Ct(e,{focusOffset:t.length}))}function kb(e,t){var r;const n=e[Ut];if(e[Ut]=void 0,!(!(n==null||(r=n.tracked)===null||r===void 0)&&r.length))return;const a=n.tracked.length===2&&n.tracked[0]===n.previousValue&&n.tracked[1]===e.value;a||Ma(e),qb(e)&&Ct(e,{focusOffset:a?t:e.value.length})}function Rs(e){const t=jb(e);if(t&&Pe(t))return{type:"input",selection:Ft(t)};const r=t?.ownerDocument.getSelection();return{type:Dt(e)&&r?.anchorNode&&Dt(r.anchorNode)?"contenteditable":"default",selection:r}}function jb(e){return e.nodeType===1?e:e.parentElement}function Db(e){const t=Rs(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 ot({focusNode:e,focusOffset:t,anchorNode:r=e,anchorOffset:n=t}){var a,o;if(Rs(e).type==="input")return Ct(e,{anchorOffset:n,focusOffset:t});(o=r.ownerDocument)===null||o===void 0||(a=o.getSelection())==null||a.setBaseAndExtent(r,n,e,t)}function Ts(e){return V(e,"input")&&["date","time"].includes(e.type)}function yt(e,t,r,n="insertText"){const a=Db(t);a&&(!Ts(t)&&!e.dispatchUIEvent(t,"beforeinput",{inputType:n,data:r})||("startContainer"in a?Lb(e,t,a,r,n):Bb(e,t,a,r,n)))}function Lb(e,t,r,n,a){let o=!1;if(!r.collapsed)o=!0,r.deleteContents();else if(["deleteContentBackward","deleteContentForward"].includes(a)){const i=qs(r.startContainer,r.startOffset,a==="deleteContentBackward"?-1:1,a);if(i){o=!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)}(o||n)&&e.dispatchUIEvent(t,"input",{inputType:a})}function Bb(e,t,r,n,a){let o=n;if(Sb(t)){const l=Tb(t);if(l!==void 0&&n.length>0){const c=l-t.value.length;if(c>0)o=n.substring(0,c);else return}}const{newValue:i,newOffset:s,oldValue:u}=$b(o,t,r,a);i===u&&s===r.startOffset&&s===r.endOffset||V(t,"input",{type:"number"})&&!Fb(i)||(_b(t,i),ot({focusNode:t,anchorOffset:s,focusOffset:s}),Ts(t)?Cs(t,i)&&(so(e,t,s,{}),e.dispatchUIEvent(t,"change"),_s(t)):so(e,t,s,{data:n,inputType:a}))}function $b(e,t,{startOffset:r,endOffset:n},a){const o=qe(t),i=Math.max(0,r===n&&a==="deleteContentBackward"?r-1:r),s=o.substring(0,i),u=Math.min(o.length,r===n&&a==="deleteContentForward"?r+1:n);let l=`${s}${e}${o.substring(u,o.length)}`,c=i+e.length;if(V(t,"input",{type:"time"})){const d=Rb(l);d!==""&&Cs(t,d)&&(l=d,c=d.length)}return{oldValue:o,newValue:l,newOffset:c}}function so(e,t,r,n){e.dispatchUIEvent(t,"input",n),kb(t,r)}function Fb(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]))}Ve.cut=(e,t,r)=>()=>{bt(t)&&yt(r,t,"","deleteByCut")};function Ub(e){return e?nt(e)?e.textContent:qe(e):null}function zb(e){const t=ve(e);for(let r=e;r?.ownerDocument;r=r.parentElement){const{display:n,visibility:a}=t.getComputedStyle(r);if(n==="none"||a==="hidden")return!1}return!0}function Vb(e,t){const r=e.ownerDocument,n=r.querySelectorAll(Di),a=Array.from(n).filter(u=>u===e||!(Number(u.getAttribute("tabindex"))<0||Ae(u)));Number(e.getAttribute("tabindex"))>=0&&a.sort((u,l)=>{const c=Number(u.getAttribute("tabindex")),d=Number(l.getAttribute("tabindex"));return c===d?0:c===0?1:d===0?-1:c-d});const o={};let i=[r.body];const s=V(e,"input",{type:"radio"})?e.name:void 0;a.forEach(u=>{const l=u;if(V(l,"input",{type:"radio"})&&l.name){if(l===e){i.push(l);return}else if(l.name===s)return;if(l.checked){i=i.filter(c=>!V(c,"input",{type:"radio",name:l.name})),i.push(l),o[l.name]=l;return}if(typeof o[l.name]<"u")return}i.push(l)});for(let u=i.findIndex(l=>l===e);;)if(u+=t?-1:1,u===i.length?u=0:u===-1&&(u=i.length-1),i[u]===e||i[u]===r.body||zb(i[u]))return i[u]}function lo(e,t){if(Pe(e)){const r=Ft(e);ot({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=qs(r.focusNode,r.focusOffset,t);n&&ot({focusNode:n.node,focusOffset:n.offset})}else r[t<0?"collapseToStart":"collapseToEnd"]()}}function Ss(e){if(Pe(e))return ot({focusNode:e,anchorOffset:0,focusOffset:qe(e).length});var t;const r=(t=Dt(e))!==null&&t!==void 0?t:e.ownerDocument.body;ot({focusNode:r,anchorOffset:0,focusOffset:r.childNodes.length})}function Hb(e){if(Pe(e))return Ft(e).startOffset===0&&Ft(e).endOffset===qe(e).length;var t;const r=(t=Dt(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 xt(e,t,r){var n;if(Pe(e))return ot({focusNode:e,anchorOffset:t,focusOffset:r});if(nt(e)&&((n=e.firstChild)===null||n===void 0?void 0:n.nodeType)===3)return ot({focusNode:e.firstChild,anchorOffset:t,focusOffset:r});throw new Error("Not implemented. The result of this interaction is unreliable.")}function rr(e,t,r){const n=ve(t),a=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 o=a.findIndex(i=>i===t)+r;;o+=r){if(a[o]||(o=r>0?0:a.length-1),a[o]===t)return;if(!Ae(a[o])){ze(a[o]),e.dispatchUIEvent(a[o],"click");return}}}Ve.keydown=(e,t,r)=>{var n,a;return(a=(n=uo[e.key])===null||n===void 0?void 0:n.call(uo,e,t,r))!==null&&a!==void 0?a:Wb(e,t,r)};var uo={ArrowDown:(e,t,r)=>{if(V(t,"input",{type:"radio"}))return()=>rr(r,t,1)},ArrowLeft:(e,t,r)=>V(t,"input",{type:"radio"})?()=>rr(r,t,-1):()=>lo(t,-1),ArrowRight:(e,t,r)=>V(t,"input",{type:"radio"})?()=>rr(r,t,1):()=>lo(t,1),ArrowUp:(e,t,r)=>{if(V(t,"input",{type:"radio"}))return()=>rr(r,t,-1)},Backspace:(e,t,r)=>{if(bt(t))return()=>{yt(r,t,"","deleteContentBackward")}},Delete:(e,t,r)=>{if(bt(t))return()=>{yt(r,t,"","deleteContentForward")}},End:(e,t)=>{if(V(t,["input","textarea"])||nt(t))return()=>{var r,n;const a=(n=(r=Ub(t))===null||r===void 0?void 0:r.length)!==null&&n!==void 0?n:0;xt(t,a,a)}},Home:(e,t)=>{if(V(t,["input","textarea"])||nt(t))return()=>{xt(t,0,0)}},PageDown:(e,t)=>{if(V(t,["input"]))return()=>{const r=qe(t).length;xt(t,r,r)}},PageUp:(e,t)=>{if(V(t,["input"]))return()=>{xt(t,0,0)}},Tab:(e,t,r)=>()=>{const n=Vb(t,r.system.keyboard.modifiers.Shift);ze(n),Pe(n)&&Ct(n,{anchorOffset:0,focusOffset:n.value.length})}},Wb=(e,t,r)=>{if(e.code==="KeyA"&&r.system.keyboard.modifiers.Control)return()=>Ss(t)};Ve.keypress=(e,t,r)=>{if(e.key==="Enter"){if(V(t,"button")||V(t,"input")&&Kb.includes(t.type)||V(t,"a")&&t.href)return()=>{r.dispatchUIEvent(t,"click")};if(V(t,"input")){const n=t.form,a=n?.querySelector('input[type="submit"], button:not([type]), button[type="submit"]');return a?()=>r.dispatchUIEvent(a,"click"):n&&Gb.includes(t.type)&&n.querySelectorAll("input").length===1?()=>r.dispatchUIEvent(n,"submit"):void 0}}if(bt(t)){const n=e.key==="Enter"?nt(t)&&!r.system.keyboard.modifiers.Shift?"insertParagraph":"insertLineBreak":"insertText",a=e.key==="Enter"?`
|
|
87
|
+
`:e.key;return()=>yt(r,t,a,n)}};var Kb=["button","color","file","image","reset","submit"],Gb=["email","month","password","search","tel","text","url","week"];Ve.keyup=(e,t,r)=>{var n;return(n=co[e.key])===null||n===void 0?void 0:n.call(co,e,t,r)};var co={" ":(e,t,r)=>{if(Bi(t))return()=>r.dispatchUIEvent(t,"click")}};Ve.paste=(e,t,r)=>{if(bt(t))return()=>{var n;const a=(n=e.clipboardData)===null||n===void 0?void 0:n.getData("text");a&&yt(r,t,a,"insertFromPaste")}};var xs={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 Os(e){return xs[e].EventType}var Yb=["MouseEvent","PointerEvent"];function Xb(e){return Yb.includes(Os(e))}function Jb(e){return Os(e)==="KeyboardEvent"}var Qb={ClipboardEvent:[ev],Event:[],FocusEvent:[Tt,tv],InputEvent:[Tt,rv],MouseEvent:[Tt,Qr,fo],PointerEvent:[Tt,Qr,fo,av],KeyboardEvent:[Tt,Qr,nv]};function Ms(e,t,r){const n=ve(t),{EventType:a,defaultInit:o}=xs[e],i=new(Zb(n))[a](e,o);return Qb[a].forEach(s=>s(i,r??{})),i}function Zb(e){var t;const r=(t=e.Event)!==null&&t!==void 0?t:class{};var n;const a=(n=e.AnimationEvent)!==null&&n!==void 0?n:class extends r{};var o;const i=(o=e.ClipboardEvent)!==null&&o!==void 0?o:class extends r{};var s;const u=(s=e.PopStateEvent)!==null&&s!==void 0?s:class extends r{};var l;const c=(l=e.ProgressEvent)!==null&&l!==void 0?l:class extends r{};var d;const p=(d=e.TransitionEvent)!==null&&d!==void 0?d:class extends r{};var f;const g=(f=e.UIEvent)!==null&&f!==void 0?f:class extends r{};var v;const S=(v=e.CompositionEvent)!==null&&v!==void 0?v:class extends g{};var y;const w=(y=e.FocusEvent)!==null&&y!==void 0?y:class extends g{};var x;const M=(x=e.InputEvent)!==null&&x!==void 0?x:class extends g{};var A;const E=(A=e.KeyboardEvent)!==null&&A!==void 0?A:class extends g{};var m;const _=(m=e.MouseEvent)!==null&&m!==void 0?m:class extends g{};var T;const I=(T=e.DragEvent)!==null&&T!==void 0?T:class extends _{};var D;const B=(D=e.PointerEvent)!==null&&D!==void 0?D:class extends _{};var F;return{Event:r,AnimationEvent:a,ClipboardEvent:i,PopStateEvent:u,ProgressEvent:c,TransitionEvent:p,UIEvent:g,CompositionEvent:S,FocusEvent:w,InputEvent:M,KeyboardEvent:E,MouseEvent:_,DragEvent:I,PointerEvent:B,TouchEvent:(F=e.TouchEvent)!==null&&F!==void 0?F:class extends g{}}}function He(e,t){for(const[r,n]of Object.entries(t))Object.defineProperty(e,r,{get:()=>n??null})}function ee(e){return Number(e??0)}function ev(e,{clipboardData:t}){He(e,{clipboardData:t})}function tv(e,{relatedTarget:t}){He(e,{relatedTarget:t})}function rv(e,{data:t,inputType:r,isComposing:n}){He(e,{data:t,isComposing:!!n,inputType:String(r)})}function Tt(e,{view:t,detail:r}){He(e,{view:t,detail:ee(r??0)})}function Qr(e,{altKey:t,ctrlKey:r,metaKey:n,shiftKey:a,modifierAltGraph:o,modifierCapsLock:i,modifierFn:s,modifierFnLock:u,modifierNumLock:l,modifierScrollLock:c,modifierSymbol:d,modifierSymbolLock:p}){He(e,{altKey:!!t,ctrlKey:!!r,metaKey:!!n,shiftKey:!!a,getModifierState(f){return!!{Alt:t,AltGraph:o,CapsLock:i,Control:r,Fn:s,FnLock:u,Meta:n,NumLock:l,ScrollLock:c,Shift:a,Symbol:d,SymbolLock:p}[f]}})}function nv(e,{key:t,code:r,location:n,repeat:a,isComposing:o,charCode:i}){He(e,{key:String(t),code:String(r),location:ee(n),repeat:!!a,isComposing:!!o,charCode:i})}function fo(e,{x:t,y:r,screenX:n,screenY:a,clientX:o=t,clientY:i=r,button:s,buttons:u,relatedTarget:l,offsetX:c,offsetY:d,pageX:p,pageY:f}){He(e,{screenX:ee(n),screenY:ee(a),clientX:ee(o),x:ee(o),clientY:ee(i),y:ee(i),button:ee(s),buttons:ee(u),relatedTarget:l,offsetX:ee(c),offsetY:ee(d),pageX:ee(p),pageY:ee(f)})}function av(e,{pointerId:t,width:r,height:n,pressure:a,tangentialPressure:o,tiltX:i,tiltY:s,twist:u,pointerType:l,isPrimary:c}){He(e,{pointerId:ee(t),width:ee(r??1),height:ee(n??1),pressure:ee(a),tangentialPressure:ee(o),tiltX:ee(i),tiltY:ee(s),twist:ee(u),pointerType:String(l),isPrimary:!!c})}function ov(e,t,r,n=!1){(Xb(t)||Jb(t))&&(r={...r,...this.system.getUIEventModifiers()});const a=Ms(t,e,r);return As.call(this,e,a,n)}function As(e,t,r=!1){var n;const a=t.type,o=r?()=>{}:(n=Ve[a])===null||n===void 0?void 0:n.call(Ve,t,e,this);if(o){t.preventDefault();let i=!1;return Object.defineProperty(t,"defaultPrevented",{get:()=>i}),Object.defineProperty(t,"preventDefault",{value:()=>{i=t.cancelable}}),vt(()=>e.dispatchEvent(t)),i||o(),!i}return vt(()=>e.dispatchEvent(t))}function Qe(e,t,r){const n=Ms(t,e,r);vt(()=>e.dispatchEvent(n))}var po=Symbol("patched focus/blur methods");function Is(e){if(e.prototype[po])return;const{focus:t,blur:r}=e.prototype;Object.defineProperties(e.prototype,{focus:{configurable:!0,get:()=>a},blur:{configurable:!0,get:()=>o},[po]:{configurable:!0,get:()=>({focus:t,blur:r})}});let n;function a(i){if(this.ownerDocument.visibilityState!=="hidden")return t.call(this,i);const s=mo(this.ownerDocument);if(s===this)return;const u=Symbol("focus call");n=u,s&&(r.call(s),Qe(s,"blur",{relatedTarget:this}),Qe(s,"focusout",{relatedTarget:n===u?this:null})),n===u&&(t.call(this,i),Qe(this,"focus",{relatedTarget:s})),n===u&&Qe(this,"focusin",{relatedTarget:s})}function o(){if(this.ownerDocument.visibilityState!=="hidden")return r.call(this);const i=mo(this.ownerDocument);i===this&&(n=Symbol("blur call"),r.call(this),Qe(i,"blur",{relatedTarget:null}),Qe(i,"focusout",{relatedTarget:null}))}}function mo(e){const t=Gt(e);return t?.tagName==="BODY"?null:t}var Zr=Symbol("Interceptor for programmatical calls");function ct(e,t,r){const n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),a=Object.getOwnPropertyDescriptor(e,t),o=n?.set?"set":"value";if(typeof n?.[o]!="function"||n[o][Zr])throw new Error(`Element ${e.tagName} does not implement "${String(t)}".`);function i(...s){const{applyNative:u=!1,realArgs:l,then:c}=r.call(this,...s),d=(!u&&a||n)[o];o==="set"?d.call(this,l):d.call(this,...l),c?.()}i[Zr]=Zr,Object.defineProperty(e,t,{...a??n,[o]:i})}function iv(e){ct(e,"value",function(r){const n=wb(r);return n&&Ib(this),{applyNative:!!n,realArgs:sv(this,r),then:n?void 0:()=>Nb(this,String(r))}})}function sv(e,t){return V(e,"input",{type:"number"})&&String(t)!==""&&!Number.isNaN(Number(t))?String(Number(t)):String(t)}function lv(e){ct(e,"setSelectionRange",function(r,...n){const a=Eb(r);return{applyNative:!!a,realArgs:[Number(r),...n],then:()=>a?void 0:ir(e)}}),ct(e,"selectionStart",function(r){return{realArgs:r,then:()=>ir(e)}}),ct(e,"selectionEnd",function(r){return{realArgs:r,then:()=>ir(e)}}),ct(e,"select",function(){return{realArgs:[],then:()=>Pb(e,{anchorOffset:0,focusOffset:qe(e).length})}})}function uv(e){ct(e,"setRangeText",function(...r){return{realArgs:r,then:()=>{Ma(e),ir(e)}}})}var ft=Symbol("Node prepared with document state workarounds");function Ns(e){e[ft]||(e.addEventListener("focus",t=>{const r=t.target;ho(r)},{capture:!0,passive:!0}),e.activeElement&&ho(e.activeElement),e.addEventListener("blur",t=>{const r=t.target,n=Cb(r);n!==void 0&&(r.value!==n&&Qe(r,"change"),_s(r))},{capture:!0,passive:!0}),e[ft]=ft)}function ho(e){e[ft]||(V(e,["input","textarea"])&&(iv(e),lv(e),uv(e)),e[ft]=ft)}function cv(e){return dv(e)?e:e.ownerDocument}function dv(e){return e.nodeType===9}var pe=(function(e){return e[e.Trigger=2]="Trigger",e[e.Call=1]="Call",e})({});function Ot(e,t){e.levelRefs[t]={}}function nr(e,t){return e.levelRefs[t]}function wt(e){const t=e.delay;if(typeof t=="number")return Promise.all([new Promise(r=>globalThis.setTimeout(()=>r(),t)),e.advanceTimers(t)])}var lr=(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 Ye(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Ee=(function(e){return e[e.STANDARD=0]="STANDARD",e[e.LEFT=1]="LEFT",e[e.RIGHT=2]="RIGHT",e[e.NUMPAD=3]="NUMPAD",e})({}),fv=["Alt","AltGraph","Control","Fn","Meta","Shift","Symbol"];function bo(e){return fv.includes(e)}var pv=["CapsLock","FnLock","NumLock","ScrollLock","SymbolLock"];function vo(e){return pv.includes(e)}var mv=class{isKeyPressed(e){return this.pressed.has(String(e.code))}getPressedKeys(){return this.pressed.values().map(e=>e.keyDef)}async keydown(e,t){const r=String(t.key),n=String(t.code),a=Gr(e.config.document);this.setKeydownTarget(a),this.pressed.add(n,t),bo(r)&&(this.modifiers[r]=!0);const o=e.dispatchUIEvent(a,"keydown",{key:r,code:n});vo(r)&&!this.modifiers[r]&&(this.modifiers[r]=!0,this.modifierLockStart[r]=!0),o&&this.pressed.setUnprevented(n),o&&this.hasKeyPress(r)&&e.dispatchUIEvent(Gr(e.config.document),"keypress",{key:r,code:n,charCode:t.key==="Enter"?13:String(t.key).charCodeAt(0)})}async keyup(e,t){const r=String(t.key),n=String(t.code),a=this.pressed.isUnprevented(n);this.pressed.delete(n),bo(r)&&!this.pressed.values().find(o=>o.keyDef.key===r)&&(this.modifiers[r]=!1),e.dispatchUIEvent(Gr(e.config.document),"keyup",{key:r,code:n},!a),vo(r)&&this.modifiers[r]&&(this.modifierLockStart[r]?this.modifierLockStart[r]=!1:this.modifiers[r]=!1)}setKeydownTarget(e){e!==this.lastKeydownTarget&&(this.carryChar=""),this.lastKeydownTarget=e}hasKeyPress(e){return(e.length===1||e==="Enter")&&!this.modifiers.Control&&!this.modifiers.Alt}constructor(e){Ye(this,"system",void 0),Ye(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}),Ye(this,"pressed",new class{add(t,r){var n,a,o;(o=(n=this.registry)[a=t])!==null&&o!==void 0||(n[a]={keyDef:r,unpreventedDefault:!1})}has(t){return!!this.registry[t]}setUnprevented(t){const r=this.registry[t];r&&(r.unpreventedDefault=!0)}isUnprevented(t){var r;return!!(!((r=this.registry[t])===null||r===void 0)&&r.unpreventedDefault)}delete(t){delete this.registry[t]}values(){return Object.values(this.registry)}constructor(){Ye(this,"registry",{})}}),Ye(this,"carryChar",""),Ye(this,"lastKeydownTarget",void 0),Ye(this,"modifierLockStart",{}),this.system=e}},hv=[..."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:Ee.LEFT},{code:"AltRight",key:"Alt",location:Ee.RIGHT},{code:"ShiftLeft",key:"Shift",location:Ee.LEFT},{code:"ShiftRight",key:"Shift",location:Ee.RIGHT},{code:"ControlLeft",key:"Control",location:Ee.LEFT},{code:"ControlRight",key:"Control",location:Ee.RIGHT},{code:"MetaLeft",key:"Meta",location:Ee.LEFT},{code:"MetaRight",key:"Meta",location:Ee.RIGHT},{code:"OSLeft",key:"OS",location:Ee.LEFT},{code:"OSRight",key:"OS",location:Ee.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"}],bv=[{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 vv(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var ks=class{getButtons(){let e=0;for(const t of Object.keys(this.pressed))e|=2**Number(t);return e}down(e){const t=On(e.button);if(t in this.pressed){this.pressed[t].push(e);return}return this.pressed[t]=[e],t}up(e){const t=On(e.button);if(t in this.pressed&&(this.pressed[t]=this.pressed[t].filter(r=>r.name!==e.name),this.pressed[t].length===0))return delete this.pressed[t],t}constructor(){vv(this,"pressed",{})}},go={primary:0,secondary:1,auxiliary:2,back:3,X1:3,forward:4,X2:4};function On(e=0){return e in go?go[e]:Number(e)}var yo={1:2,2:1};function Mn(e){return e=On(e),e in yo?yo[e]:e}function gv(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var yv=class{get countPressed(){return this.pressedKeys.size}isPressed(e){return this.pressedKeys.has(e.name)}addPressed(e){return this.pressedKeys.add(e.name)}removePressed(e){return this.pressedKeys.delete(e.name)}constructor(){gv(this,"pressedKeys",new Set)}};function kt(e,t){const r=[];for(let o=e;o;o=o.parentElement)r.push(o);const n=[];for(let o=t;o;o=o.parentElement)n.push(o);let a=0;for(;!(a>=r.length||a>=n.length||r[r.length-1-a]!==n[n.length-1-a]);a++);return[r.slice(0,r.length-a),n.slice(0,n.length-a),n.slice(n.length-a)]}function An({target:e,node:t,offset:r}){return Pe(e)?{node:e,offset:r??qe(e).length}:t?{node:t,offset:r??(t.nodeType===3?t.nodeValue.length:t.childNodes.length)}:js(e,r)}function js(e,t,r=!0){let n=t===void 0?e.childNodes.length-1:0;const a=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 o=e.childNodes.item(n),i=String(o.textContent);if(i.length)if(t!==void 0&&i.length<t)t-=i.length;else{if(o.nodeType===1)return js(o,t,!1);if(o.nodeType===3)return{node:o,offset:t??o.nodeValue.length}}n+=a}return{node:e,offset:e.childNodes.length}}function wv({document:e,target:t,clickCount:r,node:n,offset:a}){if(gc(t))return;const o=Pe(t),i=String(o?qe(t):t.textContent),[s,u]=n?[a,a]:Ev(i,a,r);if(o)return Ct(t,{anchorOffset:s??i.length,focusOffset:u??i.length}),{node:t,start:s??0,end:u??i.length};{const{node:l,offset:c}=An({target:t,node:n,offset:s}),{node:d,offset:p}=An({target:t,node:n,offset:u}),f=t.ownerDocument.createRange();try{f.setStart(l,c),f.setEnd(d,p)}catch{throw new Error("The given offset is out of bounds.")}const g=e.getSelection();return g?.removeAllRanges(),g?.addRange(f.cloneRange()),f}}function Ev(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 _v(e,{document:t,target:r,node:n,offset:a}){const o=An({target:r,node:n,offset:a});if("node"in e){if(o.node===e.node){const i=o.offset<e.start?e.end:e.start,s=o.offset>e.end||o.offset<e.start?o.offset:e.end;Ct(e.node,{anchorOffset:i,focusOffset:s})}}else{const i=e.cloneRange(),s=i.comparePoint(o.node,o.offset);s<0?i.setStart(o.node,o.offset):s>0&&i.setEnd(o.node,o.offset);const u=t.getSelection();u?.removeAllRanges(),u?.addRange(i.cloneRange())}}function Ds(e,t){var r,n,a,o,i,s,u,l,c,d,p,f,g,v,S,y,w,x,M,A,E,m,_,T;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)||((a=e.coords)===null||a===void 0?void 0:a.y)!==((o=t.coords)===null||o===void 0?void 0:o.y)||((i=e.coords)===null||i===void 0?void 0:i.clientX)!==((s=t.coords)===null||s===void 0?void 0:s.clientX)||((u=e.coords)===null||u===void 0?void 0:u.clientY)!==((l=t.coords)===null||l===void 0?void 0:l.clientY)||((c=e.coords)===null||c===void 0?void 0:c.offsetX)!==((d=t.coords)===null||d===void 0?void 0:d.offsetX)||((p=e.coords)===null||p===void 0?void 0:p.offsetY)!==((f=t.coords)===null||f===void 0?void 0:f.offsetY)||((g=e.coords)===null||g===void 0?void 0:g.pageX)!==((v=t.coords)===null||v===void 0?void 0:v.pageX)||((S=e.coords)===null||S===void 0?void 0:S.pageY)!==((y=t.coords)===null||y===void 0?void 0:y.pageY)||((w=e.coords)===null||w===void 0?void 0:w.screenX)!==((x=t.coords)===null||x===void 0?void 0:x.screenX)||((M=e.coords)===null||M===void 0?void 0:M.screenY)!==((A=t.coords)===null||A===void 0?void 0:A.screenY)||((E=e.caret)===null||E===void 0?void 0:E.node)!==((m=t.caret)===null||m===void 0?void 0:m.node)||((_=e.caret)===null||_===void 0?void 0:_.offset)!==((T=t.caret)===null||T===void 0?void 0:T.offset)}function Xe(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Cv=class{move(e,t,r){const n=this.position,a=this.getTarget(e);if(this.position=t,!Ds(n,t))return;const o=this.getTarget(e),i=this.getEventInit("mousemove"),[s,u]=kt(a,o);return{leave:()=>{a!==o&&(e.dispatchUIEvent(a,"mouseout",i),s.forEach(l=>e.dispatchUIEvent(l,"mouseleave",i)))},enter:()=>{a!==o&&(e.dispatchUIEvent(o,"mouseover",i),u.forEach(l=>e.dispatchUIEvent(l,"mouseenter",i)))},move:()=>{r||(e.dispatchUIEvent(o,"mousemove",i),this.modifySelecting(e))}}}down(e,t,r){const n=this.buttons.down(t);if(n===void 0)return;const a=this.getTarget(e);this.buttonDownTarget[n]=a;const o=this.getEventInit("mousedown",t.button),i=Ae(a);!r&&(i||e.dispatchUIEvent(a,"mousedown",o))&&(this.startSelecting(e,o.detail),ze(a)),!i&&Mn(t.button)===2&&e.dispatchUIEvent(a,"contextmenu",this.getEventInit("contextmenu",t.button))}up(e,t,r){const n=this.buttons.up(t);if(n===void 0)return;const a=this.getTarget(e);if(!Ae(a)){if(!r){const i=this.getEventInit("mouseup",t.button);e.dispatchUIEvent(a,"mouseup",i),this.endSelecting()}const o=kt(this.buttonDownTarget[n],a)[2][0];if(o){const i=this.getEventInit("click",t.button);i.detail&&(e.dispatchUIEvent(o,i.button===0?"click":"auxclick",i),i.button===0&&i.detail===2&&e.dispatchUIEvent(o,"dblclick",{...this.getEventInit("dblclick",t.button),detail:i.detail}))}}}resetClickCount(){this.clickCount.reset()}getEventInit(e,t){const r={...this.position.coords};return r.button=Mn(t),r.buttons=this.buttons.getButtons(),e==="mousedown"?r.detail=this.clickCount.getOnDown(r.button):e==="mouseup"?r.detail=this.clickCount.getOnUp(r.button):(e==="click"||e==="auxclick")&&(r.detail=this.clickCount.incOnClick(r.button)),r}getTarget(e){var t;return(t=this.position.target)!==null&&t!==void 0?t:e.config.document.body}startSelecting(e,t){var r,n;this.selecting=wv({document:e.config.document,target:this.getTarget(e),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,clickCount:t})}modifySelecting(e){var t,r;this.selecting&&_v(this.selecting,{document:e.config.document,target:this.getTarget(e),node:(t=this.position.caret)===null||t===void 0?void 0:t.node,offset:(r=this.position.caret)===null||r===void 0?void 0:r.offset})}endSelecting(){this.selecting=void 0}constructor(){Xe(this,"position",{}),Xe(this,"buttons",new ks),Xe(this,"selecting",void 0),Xe(this,"buttonDownTarget",{}),Xe(this,"clickCount",new class{incOnClick(e){const t=this.down[e]===void 0?void 0:Number(this.down[e])+1;return this.count=this.count[e]===void 0?{}:{[e]:Number(this.count[e])+1},t}getOnDown(e){var t;this.down={[e]:(t=this.count[e])!==null&&t!==void 0?t:0};var r;return this.count={[e]:(r=this.count[e])!==null&&r!==void 0?r:0},Number(this.count[e])+1}getOnUp(e){return this.down[e]===void 0?void 0:Number(this.down[e])+1}reset(){this.count={}}constructor(){Xe(this,"down",{}),Xe(this,"count",{})}})}};function Rr(e,t){var r;return((r=Ls(e,t))===null||r===void 0?void 0:r.pointerEvents)!=="none"}function Pv(e){const t=ve(e);for(let r=e,n=[];r?.ownerDocument;r=r.parentElement){n.push(r);const a=t.getComputedStyle(r).pointerEvents;if(a&&!["inherit","unset"].includes(a))return{pointerEvents:a,tree:n}}}var wo=Symbol("Last check for pointer-events");function Ls(e,t){const r=t[wo];if(!(e.config.pointerEventsCheck!==lr.Never&&(!r||Eo(e.config.pointerEventsCheck,lr.EachApiCall)&&r[pe.Call]!==nr(e,pe.Call)||Eo(e.config.pointerEventsCheck,lr.EachTrigger)&&r[pe.Trigger]!==nr(e,pe.Trigger))))return r?.result;const n=Pv(t);return t[wo]={[pe.Call]:nr(e,pe.Call),[pe.Trigger]:nr(e,pe.Trigger),result:n},n}function Mt(e,t){const r=Ls(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\`:`,"",qv(r.tree)].join(`
|
|
88
|
+
`))}function qv(e){return e.reverse().map((t,r)=>["".padEnd(r),t.tagName,t.id&&`#${t.id}`,t.hasAttribute("data-testid")&&`(testId=${t.getAttribute("data-testid")})`,Rv(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(`
|
|
89
|
+
`)}function Rv(e){var t;let r;if(e.hasAttribute("aria-label"))r=e.getAttribute("aria-label");else if(e.hasAttribute("aria-labelledby")){var n,a;r=(a=e.ownerDocument.getElementById(e.getAttribute("aria-labelledby")))===null||a===void 0||(n=a.textContent)===null||n===void 0?void 0:n.trim()}else if(V(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(V(e,"button")){var o;r=(o=e.textContent)===null||o===void 0?void 0:o.trim()}return r=r?.replace(/\n/g," "),Number(r?.length)>30&&(r=`${r?.substring(0,29)}…`),r?`(label=${r})`:""}function Eo(e,t){return(e&t)>0}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}var Tv=class{init(e){const t=this.getTarget(e),[,r]=kt(null,t),n=this.getEventInit();return Mt(e,t),e.dispatchUIEvent(t,"pointerover",n),r.forEach(a=>e.dispatchUIEvent(a,"pointerenter",n)),this}move(e,t){const r=this.position,n=this.getTarget(e);if(this.position=t,!Ds(r,t))return;const a=this.getTarget(e),o=this.getEventInit(-1),[i,s]=kt(n,a);return{leave:()=>{Rr(e,n)&&n!==a&&(e.dispatchUIEvent(n,"pointerout",o),i.forEach(u=>e.dispatchUIEvent(u,"pointerleave",o)))},enter:()=>{Mt(e,a),n!==a&&(e.dispatchUIEvent(a,"pointerover",o),s.forEach(u=>e.dispatchUIEvent(u,"pointerenter",o)))},move:()=>{e.dispatchUIEvent(a,"pointermove",o)}}}down(e,t=0){if(this.isDown)return;const r=this.getTarget(e);Mt(e,r),this.isDown=!0,this.isPrevented=!e.dispatchUIEvent(r,"pointerdown",this.getEventInit(t))}up(e,t=0){if(!this.isDown)return;const r=this.getTarget(e);Mt(e,r),this.isPrevented=!1,this.isDown=!1,e.dispatchUIEvent(r,"pointerup",this.getEventInit(t))}release(e){const t=this.getTarget(e),[r]=kt(t,null),n=this.getEventInit();Rr(e,t)&&(e.dispatchUIEvent(t,"pointerout",n),r.forEach(a=>e.dispatchUIEvent(a,"pointerleave",n))),this.isCancelled=!0}getTarget(e){var t;return(t=this.position.target)!==null&&t!==void 0?t:e.config.document.body}getEventInit(e){return{...this.position.coords,pointerId:this.pointerId,pointerType:this.pointerType,isPrimary:this.isPrimary,button:Mn(e),buttons:this.buttons.getButtons()}}constructor({pointerId:e,pointerType:t,isPrimary:r},n){Te(this,"pointerId",void 0),Te(this,"pointerType",void 0),Te(this,"isPrimary",void 0),Te(this,"buttons",void 0),Te(this,"isMultitouch",!1),Te(this,"isCancelled",!1),Te(this,"isDown",!1),Te(this,"isPrevented",!1),Te(this,"position",{}),this.pointerId=e,this.pointerType=t,this.isPrimary=r,this.isMultitouch=!r,this.buttons=n}};function $e(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Sv=class{isKeyPressed(e){return this.devices.get(e.pointerType).isPressed(e)}async press(e,t,r){this.devices.get(t.pointerType).addPressed(t),this.buttons.down(t);const n=this.getPointerName(t),a=t.pointerType==="touch"?this.pointers.new(n,t.pointerType,this.buttons):this.pointers.get(n);a.position=r,a.pointerType!=="touch"&&(this.mouse.position=r),a.pointerType==="touch"&&a.init(e),a.down(e,t.button),a.pointerType!=="touch"&&this.mouse.down(e,t,a.isPrevented)}async move(e,t,r){const n=this.pointers.get(t),a=n.move(e,r),o=n.pointerType==="touch"?void 0:this.mouse.move(e,r,n.isPrevented);a?.leave(),o?.leave(),a?.enter(),o?.enter(),a?.move(),o?.move()}async release(e,t,r){const n=this.devices.get(t.pointerType);n.removePressed(t),this.buttons.up(t);const a=this.pointers.get(this.getPointerName(t)),o=a.isPrevented;if(a.position=r,a.pointerType!=="touch"&&(this.mouse.position=r),n.countPressed===0&&a.up(e,t.button),a.pointerType==="touch"&&a.release(e),a.pointerType==="touch"&&!a.isMultitouch){const i=this.mouse.move(e,r,o);i?.leave(),i?.enter(),i?.move(),this.mouse.down(e,t,o)}if(!a.isMultitouch){const i=this.mouse.move(e,r,o);i?.leave(),i?.enter(),i?.move(),this.mouse.up(e,t,o)}}getPointerName(e){return e.pointerType==="touch"?e.name:e.pointerType}getPreviousPosition(e){return this.pointers.has(e)?this.pointers.get(e).position:void 0}resetClickCount(){this.mouse.resetClickCount()}getMouseTarget(e){var t;return(t=this.mouse.position.target)!==null&&t!==void 0?t:e.config.document.body}setMousePosition(e){this.mouse.position=e,this.pointers.get("mouse").position=e}constructor(e){$e(this,"system",void 0),$e(this,"mouse",void 0),$e(this,"buttons",void 0),$e(this,"devices",new class{get(t){var r,n,a;return(a=(r=this.registry)[n=t])!==null&&a!==void 0?a:r[n]=new yv}constructor(){$e(this,"registry",{})}}),$e(this,"pointers",new class{new(t,r,n){const a=r!=="touch"||!Object.values(this.registry).some(o=>o.pointerType==="touch"&&!o.isCancelled);return a||Object.values(this.registry).forEach(o=>{o.pointerType===r&&!o.isCancelled&&(o.isMultitouch=!0)}),this.registry[t]=new Tv({pointerId:this.nextId++,pointerType:r,isPrimary:a},n),this.registry[t]}get(t){if(!this.has(t))throw new Error(`Trying to access pointer "${t}" which does not exist.`);return this.registry[t]}has(t){return t in this.registry}constructor(){$e(this,"registry",{}),$e(this,"nextId",1)}}),this.system=e,this.buttons=new ks,this.mouse=new Cv,this.pointers.new("mouse","mouse",this.buttons)}};function _o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Bs=class{getUIEventModifiers(){return{altKey:this.keyboard.modifiers.Alt,ctrlKey:this.keyboard.modifiers.Control,metaKey:this.keyboard.modifiers.Meta,shiftKey:this.keyboard.modifiers.Shift,modifierAltGraph:this.keyboard.modifiers.AltGraph,modifierCapsLock:this.keyboard.modifiers.CapsLock,modifierFn:this.keyboard.modifiers.Fn,modifierFnLock:this.keyboard.modifiers.FnLock,modifierNumLock:this.keyboard.modifiers.NumLock,modifierScrollLock:this.keyboard.modifiers.ScrollLock,modifierSymbol:this.keyboard.modifiers.Symbol,modifierSymbolLock:this.keyboard.modifiers.SymbolLock}}constructor(){_o(this,"keyboard",new mv(this)),_o(this,"pointer",new Sv(this))}};async function xv(e){const t=[];return this.config.skipHover||t.push({target:e}),t.push({keys:"[MouseLeft]",target:e}),this.pointer(t)}async function Ov(e){return this.pointer([{target:e},"[MouseLeft][MouseLeft]"])}async function Mv(e){return this.pointer([{target:e},"[MouseLeft][MouseLeft][MouseLeft]"])}async function Av(e){return this.pointer({target:e})}async function Iv(e){return Mt(this,this.system.pointer.getMouseTarget(this)),this.pointer({target:e.ownerDocument.body})}async function Nv({shift:e}={}){return this.keyboard(e===!0?"{Shift>}{Tab}{/Shift}":e===!1?"[/ShiftLeft][/ShiftRight]{Tab}":"{Tab}")}var Ia=(function(e){return e["{"]="}",e["["]="]",e})(Ia||{});function $s(e,t){let r=0;const n=e[r]in Ia?e[r]:"";r+=n.length;const a=new RegExp(`^\\${n}{2}`).test(e)?"":n;return{type:a,...a===""?kv(e,r,t):jv(e,r,a,t)}}function kv(e,t,r){const n=e[t];return Fs(n,e,t,r),t+=n.length,{consumedLength:t,descriptor:n,releasePrevious:!1,releaseSelf:!0,repeat:1}}function jv(e,t,r,n){var a,o;const i=e[t]==="/"?"/":"";t+=i.length;const s=r==="{"&&e[t]==="\\";t+=Number(s);const u=s?e[t]:(a=e.slice(t).match(r==="{"?/^\w+|^[^}>/]/:/^\w+/))===null||a===void 0?void 0:a[0];Fs(u,e,t,n),t+=u.length;var l;const c=(l=(o=e.slice(t).match(/^>\d+/))===null||o===void 0?void 0:o[0])!==null&&l!==void 0?l:"";t+=c.length;const d=e[t]==="/"||!c&&e[t]===">"?e[t]:"";t+=d.length;const p=Ia[r],f=e[t]===p?p:"";if(!f)throw new Error(Us([!c&&"repeat modifier",!d&&"release modifier",`"${p}"`].filter(Boolean).join(" or "),e[t],e,n));return t+=f.length,{consumedLength:t,descriptor:u,releasePrevious:!!i,repeat:c?Math.max(Number(c.substr(1)),1):1,releaseSelf:Dv(d,c)}}function Fs(e,t,r,n){if(!e)throw new Error(Us("key descriptor",t[r],t,n))}function Dv(e,t){if(e)return e==="/";if(t)return!1}function Us(e,t,r,n){return`Expected ${e} but found "${t??""}" in "${r}"
|
|
90
90
|
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"}
|
|
91
|
-
for more information about how userEvent parses your input.`}function Dv(e,t){const r=[];do{const{type:a,descriptor:o,consumedLength:i,releasePrevious:s,releaseSelf:u=!0,repeat:l}=$s(t,"keyboard");var n;const c=(n=e.find(d=>{if(a==="["){var p;return((p=d.code)===null||p===void 0?void 0:p.toLowerCase())===o.toLowerCase()}else if(a==="{"){var f;return((f=d.key)===null||f===void 0?void 0:f.toLowerCase())===o.toLowerCase()}return d.key===o}))!==null&&n!==void 0?n:{key:"Unknown",code:"Unknown",[a==="["?"code":"key"]:o};r.push({keyDef:c,releasePrevious:s,releaseSelf:u,repeat:l}),t=t.slice(i)}while(t);return r}async function Lv(e){const t=Dv(this.config.keyboardMap,e);for(let r=0;r<t.length;r++)await yt(this.config),await Bv(this,t[r])}async function Bv(e,{keyDef:t,releasePrevious:r,releaseSelf:n,repeat:a}){const{system:o}=e;if(o.keyboard.isKeyPressed(t)&&await o.keyboard.keyup(e,t),!r){for(let i=1;i<=a;i++)await o.keyboard.keydown(e,t),i<a&&await yt(e.config);n&&await o.keyboard.keyup(e,t)}}async function $v(e){for(const t of e.system.keyboard.getPressedKeys())await e.system.keyboard.keyup(e,t)}function zs(e){const t=Pe(e)?{"text/plain":Fv(e)}:{"text/plain":String(e.ownerDocument.getSelection())},r=ya(ve(e));for(const n in t)t[n]&&r.setData(n,t[n]);return r}function Fv(e){const t=$t(e);return qe(e).substring(t.startOffset,t.endOffset)}async function Uv(){const e=this.config.document;var t;const r=(t=e.activeElement)!==null&&t!==void 0?t:e.body,n=zs(r);if(n.items.length!==0)return this.dispatchUIEvent(r,"copy",{clipboardData:n})&&this.config.writeToClipboard&&await ji(e,n),n}async function zv(){const e=this.config.document;var t;const r=(t=e.activeElement)!==null&&t!==void 0?t:e.body,n=zs(r);if(n.items.length!==0)return this.dispatchUIEvent(r,"cut",{clipboardData:n})&&this.config.writeToClipboard&&await ji(r.ownerDocument,n),n}async function Vv(e){const t=this.config.document;var r;const n=(r=t.activeElement)!==null&&r!==void 0?r:t.body;var a;const o=(a=typeof e=="string"?Hv(t,e):e)!==null&&a!==void 0?a:await pc(t).catch(()=>{throw new Error("`userEvent.paste()` without `clipboardData` requires the `ClipboardAPI` to be available.")});this.dispatchUIEvent(n,"paste",{clipboardData:o})}function Hv(e,t){const r=ya(ve(e));return r.setData("text",t),r}function Co(e,t){const r=[];do{const{descriptor:n,consumedLength:a,releasePrevious:o,releaseSelf:i=!0}=$s(t,"pointer"),s=e.find(u=>u.name===n);s&&r.push({keyDef:s,releasePrevious:o,releaseSelf:i}),t=t.slice(a)}while(t);return r}async function Wv(e){const{pointerMap:t}=this.config,r=[];(Array.isArray(e)?e:[e]).forEach(n=>{typeof n=="string"?r.push(...Co(t,n)):"keys"in n?r.push(...Co(t,n.keys).map(a=>({...n,...a}))):r.push(n)});for(let n=0;n<r.length;n++)await yt(this.config),await Kv(this,r[n]);this.system.pointer.resetClickCount()}async function Kv(e,t){var r,n;const a="pointerName"in t&&t.pointerName?t.pointerName:"keyDef"in t?e.system.pointer.getPointerName(t.keyDef):"mouse",o=e.system.pointer.getPreviousPosition(a);var i,s,u,l;const c={target:(i=t.target)!==null&&i!==void 0?i:Gv(e,o),coords:(s=t.coords)!==null&&s!==void 0?s:o?.coords,caret:{node:(u=t.node)!==null&&u!==void 0?u:Po(t)||o==null||(r=o.caret)===null||r===void 0?void 0:r.node,offset:(l=t.offset)!==null&&l!==void 0?l:Po(t)||o==null||(n=o.caret)===null||n===void 0?void 0:n.offset}};"keyDef"in t?(e.system.pointer.isKeyPressed(t.keyDef)&&(xt(e,pe.Trigger),await e.system.pointer.release(e,t.keyDef,c)),t.releasePrevious||(xt(e,pe.Trigger),await e.system.pointer.press(e,t.keyDef,c),t.releaseSelf&&(xt(e,pe.Trigger),await e.system.pointer.release(e,t.keyDef,c)))):(xt(e,pe.Trigger),await e.system.pointer.move(e,a,c))}function Po(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 Gv(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 Yv(e){if(!ht(e)||Ae(e))throw new Error("clear()` is only supported on editable elements.");if(ze(e),e.ownerDocument.activeElement!==e)throw new Error("The element to be cleared could not be focused.");if(Ss(e),!Vb(e))throw new Error("The element content to be cleared could not be selected.");gt(this,e,"","deleteContentBackward")}async function Xv(e,t){return Vs.call(this,!0,e,t)}async function Jv(e,t){return Vs.call(this,!1,e,t)}async function Vs(e,t,r){if(!e&&!t.multiple)throw G().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],a=Array.from(t.querySelectorAll('option, [role="option"]')),o=n.map(s=>{if(typeof s!="string"&&a.includes(s))return s;{const u=a.find(l=>l.value===s||l.innerHTML===s);if(u)return u;throw G().getElementError(`Value "${String(s)}" not found in options`,t)}}).filter(s=>!Ae(s));if(Ae(t)||!o.length)return;const i=s=>{s.selected=e,this.dispatchUIEvent(t,"input",{bubbles:!0,cancelable:!1,composed:!0}),this.dispatchUIEvent(t,"change")};if(V(t,"select"))if(t.multiple)for(const s of o){const u=this.config.pointerEventsCheck===0?!0:qr(this,s);u&&(this.dispatchUIEvent(s,"pointerover"),this.dispatchUIEvent(t,"pointerenter"),this.dispatchUIEvent(s,"mouseover"),this.dispatchUIEvent(t,"mouseenter"),this.dispatchUIEvent(s,"pointermove"),this.dispatchUIEvent(s,"mousemove"),this.dispatchUIEvent(s,"pointerdown"),this.dispatchUIEvent(s,"mousedown")),ze(t),u&&(this.dispatchUIEvent(s,"pointerup"),this.dispatchUIEvent(s,"mouseup")),i(s),u&&this.dispatchUIEvent(s,"click"),await yt(this.config)}else if(o.length===1){const s=this.config.pointerEventsCheck===0?!0:qr(this,t);s?await this.click(t):ze(t),i(o[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 yt(this.config)}else throw G().getElementError("Cannot select multiple options on a non-multiple select",t);else if(t.getAttribute("role")==="listbox")for(const s of o)await this.click(s),await this.unhover(s);else throw G().getElementError("Cannot select options on elements that are neither select nor listbox elements",t)}async function Qv(e,t,{skipClick:r=this.config.skipClick,skipAutoClose:n=this.config.skipAutoClose,initialSelectionStart:a,initialSelectionEnd:o}={}){e.disabled||(r||await this.click(e),a!==void 0&&St(e,a,o??a),await this.keyboard(t),n||await $v(this))}var qo=Symbol("files and value properties are mocked");function Zr(e,t,r){r?Object.defineProperty(e,t,r):delete e[t]}function Zv(e,t){var r;(r=e[qo])===null||r===void 0||r.restore();const n=Object.getOwnPropertyDescriptor(e,"type"),a=Object.getOwnPropertyDescriptor(e,"value"),o=Object.getOwnPropertyDescriptor(e,"files");function i(){Zr(e,"type",n),Zr(e,"value",a),Zr(e,"files",o)}e[qo]={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 u;a==null||(u=a.set)==null||u.call(e,s)}}},type:{configurable:!0,get:()=>"file",set(s){s!=="file"&&(i(),e.type=s)}}})}async function eg(e,t){const r=V(e,"label")?e.control:e;if(!r||!V(r,"input",{type:"file"}))throw new TypeError(`The ${r===e?"given":"associated"} ${r?.tagName} element does not accept file uploads`);if(Ae(e))return;const n=(Array.isArray(t)?t:[t]).filter(o=>!this.config.applyAccept||tg(o,r.accept)).slice(0,r.multiple?void 0:1),a=()=>{var o;n.length===((o=r.files)===null||o===void 0?void 0:o.length)&&n.every((i,s)=>{var u;return i===((u=r.files)===null||u===void 0?void 0:u.item(s))})||(Zv(r,ga(ve(e),n)),this.dispatchUIEvent(r,"input"),this.dispatchUIEvent(r,"change"))};r.addEventListener("fileDialog",a),await this.click(e),r.removeEventListener("fileDialog",a)}function nr(e){return e.toLowerCase().replace(/(\.|\/)jpg\b/g,"$1jpeg")}function tg(e,t){if(!t)return!0;const r=["audio/*","image/*","video/*"];return nr(t).trim().split(/\s*,\s*/).some(n=>n.startsWith(".")?nr(e.name).endsWith(n):r.includes(n)?nr(e.type).startsWith(n.replace("*","")):nr(e.type)===n)}var Ro={click:Sv,dblClick:xv,tripleClick:Ov,hover:Mv,unhover:Av,tab:Iv,keyboard:Lv,copy:Uv,cut:zv,paste:Vv,pointer:Wv,clear:Yv,deselectOptions:Jv,selectOptions:Xv,type:Qv,upload:eg};function rg(e){return G().asyncWrapper(e)}var Hs={applyAccept:!0,autoModify:!0,delay:0,document:globalThis.document,keyboardMap:mv,pointerMap:hv,pointerEventsCheck:sr.EachApiCall,skipAutoClose:!1,skipClick:!1,skipHover:!1,writeToClipboard:!1,advanceTimers:()=>Promise.resolve()},ng={...Hs,writeToClipboard:!0};function Ws(e={},t=ng,r){const n=sg(e,r,t);return{...t,...e,document:n}}function ag(e={}){const t=Ws(e);Ns(t.document),Is(ve(t.document).HTMLElement);var r;return cc((r=t.document.defaultView)!==null&&r!==void 0?r:globalThis.window),Na(t).api}function le({keyboardState:e,pointerState:t,...r}={},n){const a=Ws(r,Hs,n);Ns(a.document),Is(ve(a.document).HTMLElement);var o;const i=(o=t??e)!==null&&o!==void 0?o:new Bs;return{api:Na(a,i).api,system:i}}function og(e){return Na({...this.config,...e},this.system).api}function ig(e,t){function r(...n){return xt(e,pe.Call),rg(()=>t.apply(e,n).then(async a=>(await yt(e.config),a)))}return Object.defineProperty(r,"name",{get:()=>t.name}),r}function Na(e,t=new Bs){const r={};return Object.assign(r,{config:e,dispatchEvent:As.bind(r),dispatchUIEvent:av.bind(r),system:t,levelRefs:{},...Ro}),{instance:r,api:{...Object.fromEntries(Object.entries(Ro).map(([n,a])=>[n,ig(r,a)])),setup:og.bind(r)}}}function sg(e,t,r){var n,a;return(a=(n=e.document)!==null&&n!==void 0?n:t&&uv(t))!==null&&a!==void 0?a:r.document}var lg=Ol({clear:()=>ug,click:()=>cg,copy:()=>dg,cut:()=>fg,dblClick:()=>pg,deselectOptions:()=>mg,hover:()=>hg,keyboard:()=>bg,paste:()=>gg,pointer:()=>vg,selectOptions:()=>yg,tab:()=>Pg,tripleClick:()=>wg,type:()=>Eg,unhover:()=>_g,upload:()=>Cg});function ug(e){return le().api.clear(e)}function cg(e,t={}){return le(t,e).api.click(e)}function dg(e={}){return le(e).api.copy()}function fg(e={}){return le(e).api.cut()}function pg(e,t={}){return le(t).api.dblClick(e)}function mg(e,t,r={}){return le(r).api.deselectOptions(e,t)}function hg(e,t={}){return le(t).api.hover(e)}async function bg(e,t={}){const{api:r,system:n}=le(t);return r.keyboard(e).then(()=>n)}async function vg(e,t={}){const{api:r,system:n}=le(t);return r.pointer(e).then(()=>n)}function gg(e,t){return le(t).api.paste(e)}function yg(e,t,r={}){return le(r).api.selectOptions(e,t)}function wg(e,t={}){return le(t).api.tripleClick(e)}function Eg(e,t,r={}){return le(r,e).api.type(e,t,r)}function _g(e,t={}){const{api:r,system:n}=le(t);return n.pointer.setMousePosition({target:e}),r.unhover(e)}function Cg(e,t,r={}){return le(r).api.upload(e,t)}function Pg(e={}){return le().api.tab(e)}var qg={...lg,setup:ag};function en(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 Rg(e,t){e.focus();const r=e instanceof HTMLInputElement,n=e instanceof HTMLTextAreaElement;if(r||n){const a=r?Object.getOwnPropertyDescriptor(HTMLInputElement.prototype,"value")?.set:Object.getOwnPropertyDescriptor(HTMLTextAreaElement.prototype,"value")?.set;a?a.call(e,t):e.value=t}e.dispatchEvent(new InputEvent("input",{bubbles:!0,data:t})),e.dispatchEvent(new Event("change",{bubbles:!0}))}function Ks(e,t="userEvent"){return new Proxy(e,{get(r,n,a){const o=Reflect.get(r,n,a);return typeof o!="function"?o:n==="setup"?(...i)=>Ks(o(...i),`${t}.instance`):n==="type"?async(...i)=>{if(document.visibilityState==="hidden"||!document.hasFocus()){Rg(i[0],i[1]),ce(en(t,n,i));return}const s=await o(...i);return ce(en(t,n,i)),s}:async(...i)=>{const s=await o(...i);return ce(en(t,n,i)),s}}})}var Tg=Ks(qg);function Sg(e,t,r){const n=String(t);return/^(get|query|find)(All)?By/.test(n)?`query: ${n}("${r[0]}")`:n==="within"?`helper: within(<${(r[0]?.tagName||"unknown").toLowerCase()}>) called`:n==="prettyDOM"||n==="logDOM"?`debug: ${n} called`:["act","waitFor","waitForElementToBeRemoved"].includes(n)?`async utility: ${n} executed`:`method: ${e}.${n} executed`}var xg=()=>document.querySelector("body > :not(#twd-sidebar-root):not(script):not(style):not(svg):not(path):not(noscript):not(link):not(meta):not(iframe):not(template)")??document.body,Og=(e,t)=>{const r=Es(xg())[e];if(typeof r=="function")return r(...t);const n=Ur[e];return typeof n=="function"?n(...t):n},Mg=(e,t)=>{const r=Ur[e];return typeof r!="function"?r:r(...t)};function Gs(e,t="screen",r=!1){return new Proxy(e,{get(n,a,o){const i=Reflect.get(n,a,o);return typeof i!="function"?i:(...s)=>{const u=r?Og(a,s):Mg(a,s);return ce(Sg(t,a,s)),u}}})}var Ag=Gs(Ur,"screen",!0),Ig=Gs(Ur,"screen",!1);ls({asyncUtilTimeout:3e3,getElementError(e){return new Error(`${e}`)}});var Ng=ls;ie.truncateThreshold=0;exports.TWDSidebar=tc;exports.__toESM=In;exports.configureScreenDom=Ng;exports.defaultTheme=Oi;exports.expect=kt;exports.initTests=ac;exports.injectTheme=Mi;exports.screenDom=Ag;exports.screenDomGlobal=Ig;exports.twd=ou;exports.userEvent=Tg;
|
|
91
|
+
for more information about how userEvent parses your input.`}function Lv(e,t){const r=[];do{const{type:a,descriptor:o,consumedLength:i,releasePrevious:s,releaseSelf:u=!0,repeat:l}=$s(t,"keyboard");var n;const c=(n=e.find(d=>{if(a==="["){var p;return((p=d.code)===null||p===void 0?void 0:p.toLowerCase())===o.toLowerCase()}else if(a==="{"){var f;return((f=d.key)===null||f===void 0?void 0:f.toLowerCase())===o.toLowerCase()}return d.key===o}))!==null&&n!==void 0?n:{key:"Unknown",code:"Unknown",[a==="["?"code":"key"]:o};r.push({keyDef:c,releasePrevious:s,releaseSelf:u,repeat:l}),t=t.slice(i)}while(t);return r}async function Bv(e){const t=Lv(this.config.keyboardMap,e);for(let r=0;r<t.length;r++)await wt(this.config),await $v(this,t[r])}async function $v(e,{keyDef:t,releasePrevious:r,releaseSelf:n,repeat:a}){const{system:o}=e;if(o.keyboard.isKeyPressed(t)&&await o.keyboard.keyup(e,t),!r){for(let i=1;i<=a;i++)await o.keyboard.keydown(e,t),i<a&&await wt(e.config);n&&await o.keyboard.keyup(e,t)}}async function Fv(e){for(const t of e.system.keyboard.getPressedKeys())await e.system.keyboard.keyup(e,t)}function zs(e){const t=Pe(e)?{"text/plain":Uv(e)}:{"text/plain":String(e.ownerDocument.getSelection())},r=ya(ve(e));for(const n in t)t[n]&&r.setData(n,t[n]);return r}function Uv(e){const t=Ft(e);return qe(e).substring(t.startOffset,t.endOffset)}async function zv(){const e=this.config.document;var t;const r=(t=e.activeElement)!==null&&t!==void 0?t:e.body,n=zs(r);if(n.items.length!==0)return this.dispatchUIEvent(r,"copy",{clipboardData:n})&&this.config.writeToClipboard&&await ji(e,n),n}async function Vv(){const e=this.config.document;var t;const r=(t=e.activeElement)!==null&&t!==void 0?t:e.body,n=zs(r);if(n.items.length!==0)return this.dispatchUIEvent(r,"cut",{clipboardData:n})&&this.config.writeToClipboard&&await ji(r.ownerDocument,n),n}async function Hv(e){const t=this.config.document;var r;const n=(r=t.activeElement)!==null&&r!==void 0?r:t.body;var a;const o=(a=typeof e=="string"?Wv(t,e):e)!==null&&a!==void 0?a:await mc(t).catch(()=>{throw new Error("`userEvent.paste()` without `clipboardData` requires the `ClipboardAPI` to be available.")});this.dispatchUIEvent(n,"paste",{clipboardData:o})}function Wv(e,t){const r=ya(ve(e));return r.setData("text",t),r}function Co(e,t){const r=[];do{const{descriptor:n,consumedLength:a,releasePrevious:o,releaseSelf:i=!0}=$s(t,"pointer"),s=e.find(u=>u.name===n);s&&r.push({keyDef:s,releasePrevious:o,releaseSelf:i}),t=t.slice(a)}while(t);return r}async function Kv(e){const{pointerMap:t}=this.config,r=[];(Array.isArray(e)?e:[e]).forEach(n=>{typeof n=="string"?r.push(...Co(t,n)):"keys"in n?r.push(...Co(t,n.keys).map(a=>({...n,...a}))):r.push(n)});for(let n=0;n<r.length;n++)await wt(this.config),await Gv(this,r[n]);this.system.pointer.resetClickCount()}async function Gv(e,t){var r,n;const a="pointerName"in t&&t.pointerName?t.pointerName:"keyDef"in t?e.system.pointer.getPointerName(t.keyDef):"mouse",o=e.system.pointer.getPreviousPosition(a);var i,s,u,l;const c={target:(i=t.target)!==null&&i!==void 0?i:Yv(e,o),coords:(s=t.coords)!==null&&s!==void 0?s:o?.coords,caret:{node:(u=t.node)!==null&&u!==void 0?u:Po(t)||o==null||(r=o.caret)===null||r===void 0?void 0:r.node,offset:(l=t.offset)!==null&&l!==void 0?l:Po(t)||o==null||(n=o.caret)===null||n===void 0?void 0:n.offset}};"keyDef"in t?(e.system.pointer.isKeyPressed(t.keyDef)&&(Ot(e,pe.Trigger),await e.system.pointer.release(e,t.keyDef,c)),t.releasePrevious||(Ot(e,pe.Trigger),await e.system.pointer.press(e,t.keyDef,c),t.releaseSelf&&(Ot(e,pe.Trigger),await e.system.pointer.release(e,t.keyDef,c)))):(Ot(e,pe.Trigger),await e.system.pointer.move(e,a,c))}function Po(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 Yv(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 Xv(e){if(!bt(e)||Ae(e))throw new Error("clear()` is only supported on editable elements.");if(ze(e),e.ownerDocument.activeElement!==e)throw new Error("The element to be cleared could not be focused.");if(Ss(e),!Hb(e))throw new Error("The element content to be cleared could not be selected.");yt(this,e,"","deleteContentBackward")}async function Jv(e,t){return Vs.call(this,!0,e,t)}async function Qv(e,t){return Vs.call(this,!1,e,t)}async function Vs(e,t,r){if(!e&&!t.multiple)throw G().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],a=Array.from(t.querySelectorAll('option, [role="option"]')),o=n.map(s=>{if(typeof s!="string"&&a.includes(s))return s;{const u=a.find(l=>l.value===s||l.innerHTML===s);if(u)return u;throw G().getElementError(`Value "${String(s)}" not found in options`,t)}}).filter(s=>!Ae(s));if(Ae(t)||!o.length)return;const i=s=>{s.selected=e,this.dispatchUIEvent(t,"input",{bubbles:!0,cancelable:!1,composed:!0}),this.dispatchUIEvent(t,"change")};if(V(t,"select"))if(t.multiple)for(const s of o){const u=this.config.pointerEventsCheck===0?!0:Rr(this,s);u&&(this.dispatchUIEvent(s,"pointerover"),this.dispatchUIEvent(t,"pointerenter"),this.dispatchUIEvent(s,"mouseover"),this.dispatchUIEvent(t,"mouseenter"),this.dispatchUIEvent(s,"pointermove"),this.dispatchUIEvent(s,"mousemove"),this.dispatchUIEvent(s,"pointerdown"),this.dispatchUIEvent(s,"mousedown")),ze(t),u&&(this.dispatchUIEvent(s,"pointerup"),this.dispatchUIEvent(s,"mouseup")),i(s),u&&this.dispatchUIEvent(s,"click"),await wt(this.config)}else if(o.length===1){const s=this.config.pointerEventsCheck===0?!0:Rr(this,t);s?await this.click(t):ze(t),i(o[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 wt(this.config)}else throw G().getElementError("Cannot select multiple options on a non-multiple select",t);else if(t.getAttribute("role")==="listbox")for(const s of o)await this.click(s),await this.unhover(s);else throw G().getElementError("Cannot select options on elements that are neither select nor listbox elements",t)}async function Zv(e,t,{skipClick:r=this.config.skipClick,skipAutoClose:n=this.config.skipAutoClose,initialSelectionStart:a,initialSelectionEnd:o}={}){e.disabled||(r||await this.click(e),a!==void 0&&xt(e,a,o??a),await this.keyboard(t),n||await Fv(this))}var qo=Symbol("files and value properties are mocked");function en(e,t,r){r?Object.defineProperty(e,t,r):delete e[t]}function eg(e,t){var r;(r=e[qo])===null||r===void 0||r.restore();const n=Object.getOwnPropertyDescriptor(e,"type"),a=Object.getOwnPropertyDescriptor(e,"value"),o=Object.getOwnPropertyDescriptor(e,"files");function i(){en(e,"type",n),en(e,"value",a),en(e,"files",o)}e[qo]={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 u;a==null||(u=a.set)==null||u.call(e,s)}}},type:{configurable:!0,get:()=>"file",set(s){s!=="file"&&(i(),e.type=s)}}})}async function tg(e,t){const r=V(e,"label")?e.control:e;if(!r||!V(r,"input",{type:"file"}))throw new TypeError(`The ${r===e?"given":"associated"} ${r?.tagName} element does not accept file uploads`);if(Ae(e))return;const n=(Array.isArray(t)?t:[t]).filter(o=>!this.config.applyAccept||rg(o,r.accept)).slice(0,r.multiple?void 0:1),a=()=>{var o;n.length===((o=r.files)===null||o===void 0?void 0:o.length)&&n.every((i,s)=>{var u;return i===((u=r.files)===null||u===void 0?void 0:u.item(s))})||(eg(r,ga(ve(e),n)),this.dispatchUIEvent(r,"input"),this.dispatchUIEvent(r,"change"))};r.addEventListener("fileDialog",a),await this.click(e),r.removeEventListener("fileDialog",a)}function ar(e){return e.toLowerCase().replace(/(\.|\/)jpg\b/g,"$1jpeg")}function rg(e,t){if(!t)return!0;const r=["audio/*","image/*","video/*"];return ar(t).trim().split(/\s*,\s*/).some(n=>n.startsWith(".")?ar(e.name).endsWith(n):r.includes(n)?ar(e.type).startsWith(n.replace("*","")):ar(e.type)===n)}var Ro={click:xv,dblClick:Ov,tripleClick:Mv,hover:Av,unhover:Iv,tab:Nv,keyboard:Bv,copy:zv,cut:Vv,paste:Hv,pointer:Kv,clear:Xv,deselectOptions:Qv,selectOptions:Jv,type:Zv,upload:tg};function ng(e){return G().asyncWrapper(e)}var Hs={applyAccept:!0,autoModify:!0,delay:0,document:globalThis.document,keyboardMap:hv,pointerMap:bv,pointerEventsCheck:lr.EachApiCall,skipAutoClose:!1,skipClick:!1,skipHover:!1,writeToClipboard:!1,advanceTimers:()=>Promise.resolve()},ag={...Hs,writeToClipboard:!0};function Ws(e={},t=ag,r){const n=lg(e,r,t);return{...t,...e,document:n}}function og(e={}){const t=Ws(e);Ns(t.document),Is(ve(t.document).HTMLElement);var r;return dc((r=t.document.defaultView)!==null&&r!==void 0?r:globalThis.window),Na(t).api}function ue({keyboardState:e,pointerState:t,...r}={},n){const a=Ws(r,Hs,n);Ns(a.document),Is(ve(a.document).HTMLElement);var o;const i=(o=t??e)!==null&&o!==void 0?o:new Bs;return{api:Na(a,i).api,system:i}}function ig(e){return Na({...this.config,...e},this.system).api}function sg(e,t){function r(...n){return Ot(e,pe.Call),ng(()=>t.apply(e,n).then(async a=>(await wt(e.config),a)))}return Object.defineProperty(r,"name",{get:()=>t.name}),r}function Na(e,t=new Bs){const r={};return Object.assign(r,{config:e,dispatchEvent:As.bind(r),dispatchUIEvent:ov.bind(r),system:t,levelRefs:{},...Ro}),{instance:r,api:{...Object.fromEntries(Object.entries(Ro).map(([n,a])=>[n,sg(r,a)])),setup:ig.bind(r)}}}function lg(e,t,r){var n,a;return(a=(n=e.document)!==null&&n!==void 0?n:t&&cv(t))!==null&&a!==void 0?a:r.document}var ug=Ml({clear:()=>cg,click:()=>dg,copy:()=>fg,cut:()=>pg,dblClick:()=>mg,deselectOptions:()=>hg,hover:()=>bg,keyboard:()=>vg,paste:()=>yg,pointer:()=>gg,selectOptions:()=>wg,tab:()=>qg,tripleClick:()=>Eg,type:()=>_g,unhover:()=>Cg,upload:()=>Pg});function cg(e){return ue().api.clear(e)}function dg(e,t={}){return ue(t,e).api.click(e)}function fg(e={}){return ue(e).api.copy()}function pg(e={}){return ue(e).api.cut()}function mg(e,t={}){return ue(t).api.dblClick(e)}function hg(e,t,r={}){return ue(r).api.deselectOptions(e,t)}function bg(e,t={}){return ue(t).api.hover(e)}async function vg(e,t={}){const{api:r,system:n}=ue(t);return r.keyboard(e).then(()=>n)}async function gg(e,t={}){const{api:r,system:n}=ue(t);return r.pointer(e).then(()=>n)}function yg(e,t){return ue(t).api.paste(e)}function wg(e,t,r={}){return ue(r).api.selectOptions(e,t)}function Eg(e,t={}){return ue(t).api.tripleClick(e)}function _g(e,t,r={}){return ue(r,e).api.type(e,t,r)}function Cg(e,t={}){const{api:r,system:n}=ue(t);return n.pointer.setMousePosition({target:e}),r.unhover(e)}function Pg(e,t,r={}){return ue(r).api.upload(e,t)}function qg(e={}){return ue().api.tab(e)}var Rg={...ug,setup:og};function Je(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 Ks(e,t){e.focus();const r=e instanceof HTMLInputElement,n=e instanceof HTMLTextAreaElement;if(r||n){const a=r?Object.getOwnPropertyDescriptor(HTMLInputElement.prototype,"value")?.set:Object.getOwnPropertyDescriptor(HTMLTextAreaElement.prototype,"value")?.set;a?a.call(e,t):e.value=t}e.dispatchEvent(new InputEvent("input",{bubbles:!0,data:t})),e.dispatchEvent(new Event("change",{bubbles:!0}))}function Tg(e){Ks(e,"")}function Gs(e,t="userEvent"){return new Proxy(e,{get(r,n,a){const o=Reflect.get(r,n,a);return typeof o!="function"?o:n==="setup"?(...i)=>Gs(o(...i),`${t}.instance`):n==="type"?async(...i)=>{if(document.visibilityState==="hidden"||!document.hasFocus()){Ks(i[0],i[1]),ne(Je(t,n,i));return}const s=await o(...i);return ne(Je(t,n,i)),s}:n==="clear"?async(...i)=>{if(document.visibilityState==="hidden"||!document.hasFocus()){Tg(i[0]),ne(Je(t,n,i));return}const s=await o(...i);return ne(Je(t,n,i)),s}:n==="keyboard"?async(...i)=>{if(document.visibilityState==="hidden"||!document.hasFocus()){if(i[0]==="{Tab}"){const u=document.activeElement;u&&(u.dispatchEvent(new FocusEvent("blur",{bubbles:!0})),u.dispatchEvent(new FocusEvent("focusout",{bubbles:!0})))}ne(Je(t,n,i));return}const s=await o(...i);return ne(Je(t,n,i)),s}:async(...i)=>{const s=await o(...i);return ne(Je(t,n,i)),s}}})}var Sg=Gs(Rg);function xg(e,t,r){const n=String(t);return/^(get|query|find)(All)?By/.test(n)?`query: ${n}("${r[0]}")`:n==="within"?`helper: within(<${(r[0]?.tagName||"unknown").toLowerCase()}>) called`:n==="prettyDOM"||n==="logDOM"?`debug: ${n} called`:["act","waitFor","waitForElementToBeRemoved"].includes(n)?`async utility: ${n} executed`:`method: ${e}.${n} executed`}var Og=()=>document.querySelector("body > :not(#twd-sidebar-root):not(script):not(style):not(svg):not(path):not(noscript):not(link):not(meta):not(iframe):not(template)")??document.body,Mg=(e,t)=>{const r=Es(Og())[e];if(typeof r=="function")return r(...t);const n=zr[e];return typeof n=="function"?n(...t):n},Ag=(e,t)=>{const r=zr[e];return typeof r!="function"?r:r(...t)};function Ys(e,t="screen",r=!1){return new Proxy(e,{get(n,a,o){const i=Reflect.get(n,a,o);return typeof i!="function"?i:(...s)=>{const u=r?Mg(a,s):Ag(a,s);return ne(xg(t,a,s)),u}}})}var Ig=Ys(zr,"screen",!0),Ng=Ys(zr,"screen",!1);ls({asyncUtilTimeout:3e3,getElementError(e){return new Error(`${e}`)}});var kg=ls;se.truncateThreshold=0;exports.TWDSidebar=rc;exports.__toESM=In;exports.configureScreenDom=kg;exports.defaultTheme=Oi;exports.expect=jt;exports.initTests=oc;exports.injectTheme=Mi;exports.screenDom=Ig;exports.screenDomGlobal=Ng;exports.twd=iu;exports.userEvent=Sg;
|