@xyd-js/storybook 0.0.1-xyd.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.storybook/main.ts +59 -0
- package/.storybook/preview.ts +30 -0
- package/.storybook/styles.css +5 -0
- package/CHANGELOG.md +12 -0
- package/README.md +50 -0
- package/eslint.config.js +28 -0
- package/package.json +50 -0
- package/src/content/Icons.tsx +83 -0
- package/src/content/code-sample.mdx +15 -0
- package/src/content/hello-world.mdx +116 -0
- package/src/docs/atlas/Atlas.stories.tsx +47 -0
- package/src/docs/atlas/todo-app.uniform.json +625 -0
- package/src/docs/atlas/uniform-to-references.ts +101 -0
- package/src/docs/components/brand/Button.stories.tsx +32 -0
- package/src/docs/components/brand/CTABanner.stories.tsx +36 -0
- package/src/docs/components/coder/CodeSample.stories.tsx +26 -0
- package/src/docs/components/writer/Badge.stories.tsx +32 -0
- package/src/docs/components/writer/Breadcrumbs.stories.tsx +34 -0
- package/src/docs/components/writer/Callout.stories.tsx +25 -0
- package/src/docs/components/writer/GuideCard.stories.tsx +151 -0
- package/src/docs/components/writer/Heading.stories.tsx +52 -0
- package/src/docs/components/writer/NavLinks.stories.tsx +31 -0
- package/src/docs/components/writer/Pre.stories.tsx +23 -0
- package/src/docs/components/writer/Steps.stories.tsx +27 -0
- package/src/docs/components/writer/Table.stories.tsx +54 -0
- package/src/docs/templates/CodeSample.stories.tsx +15 -0
- package/src/docs/themes/logo.tsx +37 -0
- package/src/docs/themes/themes-designsystem.stories.tsx +156 -0
- package/src/docs/themes/themes.stories.tsx +261 -0
- package/src/docs/ui/Nav.stories.tsx +58 -0
- package/src/docs/ui/Sidebar.stories.tsx +161 -0
- package/src/docs/ui/SubNav.stories.tsx +29 -0
- package/src/utils/mdx.ts +31 -0
- package/storybook-static/assets/Atlas.stories-CXIW65Hs.js +255 -0
- package/storybook-static/assets/Badge.stories-xjDbGZ5c.js +21 -0
- package/storybook-static/assets/Breadcrumbs.stories-DUn-OgPN.js +21 -0
- package/storybook-static/assets/Button.stories-BUAUswSC.js +21 -0
- package/storybook-static/assets/CTABanner-7_fa6QIU-6vh6ca3a.js +4 -0
- package/storybook-static/assets/CTABanner.stories-D5CtnW6h.js +22 -0
- package/storybook-static/assets/Callout.stories-DonqcNeI.js +16 -0
- package/storybook-static/assets/CodeSample.stories-4-beIs6I.js +22 -0
- package/storybook-static/assets/CodeSample.stories-B8_z15cp.js +8 -0
- package/storybook-static/assets/Color-F6OSRLHC-D5TfMBnc.js +1 -0
- package/storybook-static/assets/DocsRenderer-CFRXHY34-BrPAHo60.js +730 -0
- package/storybook-static/assets/GuideCard.stories-B8wFh9oh.js +65 -0
- package/storybook-static/assets/Heading.stories-D82-EGrg.js +40 -0
- package/storybook-static/assets/Nav.stories-CM_STIcN.js +13 -0
- package/storybook-static/assets/NavLinks.stories-D0QuD0H3.js +19 -0
- package/storybook-static/assets/Pre.stories-1WB_X0Ix.js +11 -0
- package/storybook-static/assets/Sidebar.stories-CwyChgiy.js +9 -0
- package/storybook-static/assets/Steps.stories-gANyLY_H.js +16 -0
- package/storybook-static/assets/SubNav.stories-D5TbjJj2.js +19 -0
- package/storybook-static/assets/Table.stories-BSZMHwDX.js +43 -0
- package/storybook-static/assets/UnderlineNav-C0OvjpyZ-D7c5zIhU.js +41 -0
- package/storybook-static/assets/_rollupPluginBabelHelpers-CAjWVhpp-BWJe-8U1.js +4 -0
- package/storybook-static/assets/browser.esm-BOPNWGdv.js +20 -0
- package/storybook-static/assets/chevron-right-Dfa2nijf.js +31 -0
- package/storybook-static/assets/chunk-K6AXKMTT-DXBwE8Vx.js +12 -0
- package/storybook-static/assets/chunk-XP5HYGXS-DH4vAeCa.js +1 -0
- package/storybook-static/assets/client-jctswkVR.js +25 -0
- package/storybook-static/assets/content-DfDGXctA.js +8 -0
- package/storybook-static/assets/entry-preview-Com-SXI0.js +10 -0
- package/storybook-static/assets/entry-preview-docs-Bs0lZRn3.js +47 -0
- package/storybook-static/assets/entry-preview-rsc-56ExrKd2.js +1 -0
- package/storybook-static/assets/iframe-B0k8DGQG.js +2 -0
- package/storybook-static/assets/index-B-gRCko5.js +1 -0
- package/storybook-static/assets/index-B0Jt8usF.js +9 -0
- package/storybook-static/assets/index-CBUcM4bS.js +8 -0
- package/storybook-static/assets/index-CC-8bvy6.js +9 -0
- package/storybook-static/assets/index-CQ7VjfMi.js +1 -0
- package/storybook-static/assets/index-Cu4lwwaE.js +1 -0
- package/storybook-static/assets/index-DIXNDbo9.js +1 -0
- package/storybook-static/assets/index-D_kIG38s.js +1 -0
- package/storybook-static/assets/index-DthG7GmK.js +17 -0
- package/storybook-static/assets/index-ogSvIofg.js +6 -0
- package/storybook-static/assets/jsx-runtime-C-_spy54.js +9 -0
- package/storybook-static/assets/layouts-CHVz-oC2.js +15 -0
- package/storybook-static/assets/preview--rrl-Bev.js +234 -0
- package/storybook-static/assets/preview-B3PTUHS7.js +1 -0
- package/storybook-static/assets/preview-CFgKly6U.js +1 -0
- package/storybook-static/assets/preview-CsjPNNCI.js +1 -0
- package/storybook-static/assets/preview-DFfOCnyz.css +1 -0
- package/storybook-static/assets/preview-DGUiP6tS.js +7 -0
- package/storybook-static/assets/preview-DY_pW_WS.js +396 -0
- package/storybook-static/assets/preview-NdwLIjRI.js +2 -0
- package/storybook-static/assets/preview-RFMnorYX.js +1 -0
- package/storybook-static/assets/preview-Zk6Lo_wo.js +1 -0
- package/storybook-static/assets/preview-iUmqt_lp.js +34 -0
- package/storybook-static/assets/react-18-C4NQogKe.js +1 -0
- package/storybook-static/assets/themes-designsystem.stories-DyoY6VQ9.js +11 -0
- package/storybook-static/assets/themes.stories-BUr1Iju1.js +41 -0
- package/storybook-static/assets/writer-BQ7yPg-n.js +4 -0
- package/storybook-static/favicon.svg +1 -0
- package/storybook-static/iframe.html +639 -0
- package/storybook-static/index.html +186 -0
- package/storybook-static/index.json +1 -0
- package/storybook-static/nunito-sans-bold-italic.woff2 +0 -0
- package/storybook-static/nunito-sans-bold.woff2 +0 -0
- package/storybook-static/nunito-sans-italic.woff2 +0 -0
- package/storybook-static/nunito-sans-regular.woff2 +0 -0
- package/storybook-static/project.json +1 -0
- package/storybook-static/sb-addons/chromatic-com-storybook-10/manager-bundle.js +331 -0
- package/storybook-static/sb-addons/chromatic-com-storybook-10/manager-bundle.js.LEGAL.txt +51 -0
- package/storybook-static/sb-addons/essentials-actions-4/manager-bundle.js +3 -0
- package/storybook-static/sb-addons/essentials-actions-4/manager-bundle.js.LEGAL.txt +0 -0
- package/storybook-static/sb-addons/essentials-backgrounds-5/manager-bundle.js +12 -0
- package/storybook-static/sb-addons/essentials-backgrounds-5/manager-bundle.js.LEGAL.txt +0 -0
- package/storybook-static/sb-addons/essentials-controls-3/manager-bundle.js +391 -0
- package/storybook-static/sb-addons/essentials-controls-3/manager-bundle.js.LEGAL.txt +0 -0
- package/storybook-static/sb-addons/essentials-measure-8/manager-bundle.js +3 -0
- package/storybook-static/sb-addons/essentials-measure-8/manager-bundle.js.LEGAL.txt +0 -0
- package/storybook-static/sb-addons/essentials-outline-9/manager-bundle.js +3 -0
- package/storybook-static/sb-addons/essentials-outline-9/manager-bundle.js.LEGAL.txt +0 -0
- package/storybook-static/sb-addons/essentials-toolbars-7/manager-bundle.js +3 -0
- package/storybook-static/sb-addons/essentials-toolbars-7/manager-bundle.js.LEGAL.txt +0 -0
- package/storybook-static/sb-addons/essentials-viewport-6/manager-bundle.js +3 -0
- package/storybook-static/sb-addons/essentials-viewport-6/manager-bundle.js.LEGAL.txt +0 -0
- package/storybook-static/sb-addons/interactions-11/manager-bundle.js +210 -0
- package/storybook-static/sb-addons/interactions-11/manager-bundle.js.LEGAL.txt +0 -0
- package/storybook-static/sb-addons/links-2/manager-bundle.js +3 -0
- package/storybook-static/sb-addons/links-2/manager-bundle.js.LEGAL.txt +0 -0
- package/storybook-static/sb-addons/onboarding-1/manager-bundle.js +127 -0
- package/storybook-static/sb-addons/onboarding-1/manager-bundle.js.LEGAL.txt +12 -0
- package/storybook-static/sb-addons/storybook-core-core-server-presets-0/common-manager-bundle.js +3 -0
- package/storybook-static/sb-addons/storybook-core-core-server-presets-0/common-manager-bundle.js.LEGAL.txt +0 -0
- package/storybook-static/sb-common-assets/favicon.svg +1 -0
- package/storybook-static/sb-common-assets/nunito-sans-bold-italic.woff2 +0 -0
- package/storybook-static/sb-common-assets/nunito-sans-bold.woff2 +0 -0
- package/storybook-static/sb-common-assets/nunito-sans-italic.woff2 +0 -0
- package/storybook-static/sb-common-assets/nunito-sans-regular.woff2 +0 -0
- package/storybook-static/sb-manager/globals-module-info.js +1028 -0
- package/storybook-static/sb-manager/globals-runtime.js +40861 -0
- package/storybook-static/sb-manager/globals.js +48 -0
- package/storybook-static/sb-manager/runtime.js +13338 -0
- package/storybook-static/sb-preview/globals.js +33 -0
- package/storybook-static/sb-preview/runtime.js +7174 -0
- package/tsconfig.app.json +24 -0
- package/tsconfig.json +17 -0
- package/tsconfig.node.json +13 -0
- package/tsconfig.tsbuildinfo +1 -0
- package/vite.config.ts +8 -0
|
@@ -0,0 +1,234 @@
|
|
|
1
|
+
var og=Object.defineProperty;var lg=(e,t,r)=>t in e?og(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var ye=(e,t,r)=>lg(e,typeof t!="symbol"?t+"":t,r);const{once:sg}=__STORYBOOK_MODULE_CLIENT_LOGGER__,{FORCE_REMOUNT:Xl,STORY_RENDER_PHASE_CHANGED:ug,SET_CURRENT_STORY:cg}=__STORYBOOK_MODULE_CORE_EVENTS__,{addons:dg}=__STORYBOOK_MODULE_PREVIEW_API__,{global:Ne}=__STORYBOOK_MODULE_GLOBAL__;var fg=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(t,r)=>(typeof require<"u"?require:t)[r]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')}),pg={reset:[0,0],bold:[1,22,"\x1B[22m\x1B[1m"],dim:[2,22,"\x1B[22m\x1B[2m"],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[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],gray:[90,39],bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],blackBright:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]},hg=Object.entries(pg);function yo(e){return String(e)}yo.open="";yo.close="";function mg(e=!1){let t=typeof process<"u"?process:void 0,r=(t==null?void 0:t.env)||{},n=(t==null?void 0:t.argv)||[];return!("NO_COLOR"in r||n.includes("--no-color"))&&("FORCE_COLOR"in r||n.includes("--color")||(t==null?void 0:t.platform)==="win32"||e&&r.TERM!=="dumb"||"CI"in r)||typeof window<"u"&&!!window.chrome}function bg(e=!1){let t=mg(e),r=(o,l,u,c)=>{let s="",d=0;do s+=o.substring(d,c)+u,d=c+l.length,c=o.indexOf(l,d);while(~c);return s+o.substring(d)},n=(o,l,u=o)=>{let c=s=>{let d=String(s),p=d.indexOf(l,o.length);return~p?o+r(d,l,u,p)+l:o+d+l};return c.open=o,c.close=l,c},a={isColorSupported:t},i=o=>`\x1B[${o}m`;for(let[o,l]of hg)a[o]=t?n(i(l[0]),i(l[1]),l[2]):yo;return a}var pt=bg(!1);function gg(e,t){let r=Object.keys(e),n=t===null?r:r.sort(t);if(Object.getOwnPropertySymbols)for(let a of Object.getOwnPropertySymbols(e))Object.getOwnPropertyDescriptor(e,a).enumerable&&n.push(a);return n}function aa(e,t,r,n,a,i,o=": "){let l="",u=0,c=e.next();if(!c.done){l+=t.spacingOuter;let s=r+t.indent;for(;!c.done;){if(l+=s,u++===t.maxWidth){l+="…";break}let d=i(c.value[0],t,s,n,a),p=i(c.value[1],t,s,n,a);l+=d+o+p,c=e.next(),c.done?t.min||(l+=","):l+=`,${t.spacingInner}`}l+=t.spacingOuter+r}return l}function vo(e,t,r,n,a,i){let o="",l=0,u=e.next();if(!u.done){o+=t.spacingOuter;let c=r+t.indent;for(;!u.done;){if(o+=c,l++===t.maxWidth){o+="…";break}o+=i(u.value,t,c,n,a),u=e.next(),u.done?t.min||(o+=","):o+=`,${t.spacingInner}`}o+=t.spacingOuter+r}return o}function Bn(e,t,r,n,a,i){let o="";e=e instanceof ArrayBuffer?new DataView(e):e;let l=c=>c instanceof DataView,u=l(e)?e.byteLength:e.length;if(u>0){o+=t.spacingOuter;let c=r+t.indent;for(let s=0;s<u;s++){if(o+=c,s===t.maxWidth){o+="…";break}(l(e)||s in e)&&(o+=i(l(e)?e.getInt8(s):e[s],t,c,n,a)),s<u-1?o+=`,${t.spacingInner}`:t.min||(o+=",")}o+=t.spacingOuter+r}return o}function _o(e,t,r,n,a,i){let o="",l=gg(e,t.compareKeys);if(l.length>0){o+=t.spacingOuter;let u=r+t.indent;for(let c=0;c<l.length;c++){let s=l[c],d=i(s,t,u,n,a),p=i(e[s],t,u,n,a);o+=`${u+d}: ${p}`,c<l.length-1?o+=`,${t.spacingInner}`:t.min||(o+=",")}o+=t.spacingOuter+r}return o}var yg=typeof Symbol=="function"&&Symbol.for?Symbol.for("jest.asymmetricMatcher"):1267621,La=" ",vg=(e,t,r,n,a,i)=>{let o=e.toString();if(o==="ArrayContaining"||o==="ArrayNotContaining")return++n>t.maxDepth?`[${o}]`:`${o+La}[${Bn(e.sample,t,r,n,a,i)}]`;if(o==="ObjectContaining"||o==="ObjectNotContaining")return++n>t.maxDepth?`[${o}]`:`${o+La}{${_o(e.sample,t,r,n,a,i)}}`;if(o==="StringMatching"||o==="StringNotMatching"||o==="StringContaining"||o==="StringNotContaining")return o+La+i(e.sample,t,r,n,a);if(typeof e.toAsymmetricMatcher!="function")throw new TypeError(`Asymmetric matcher ${e.constructor.name} does not implement toAsymmetricMatcher()`);return e.toAsymmetricMatcher()},_g=e=>e&&e.$$typeof===yg,Eg={serialize:vg,test:_g},wg=" ",Hc=new Set(["DOMStringMap","NamedNodeMap"]),Cg=/^(?:HTML\w*Collection|NodeList)$/;function Rg(e){return Hc.has(e)||Cg.test(e)}var Tg=e=>e&&e.constructor&&!!e.constructor.name&&Rg(e.constructor.name);function Pg(e){return e.constructor.name==="NamedNodeMap"}var Sg=(e,t,r,n,a,i)=>{let o=e.constructor.name;return++n>t.maxDepth?`[${o}]`:(t.min?"":o+wg)+(Hc.has(o)?`{${_o(Pg(e)?[...e].reduce((l,u)=>(l[u.name]=u.value,l),{}):{...e},t,r,n,a,i)}}`:`[${Bn([...e],t,r,n,a,i)}]`)},Og={serialize:Sg,test:Tg};function zc(e){return e.replaceAll("<","<").replaceAll(">",">")}function Eo(e,t,r,n,a,i,o){let l=n+r.indent,u=r.colors;return e.map(c=>{let s=t[c],d=o(s,r,l,a,i);return typeof s!="string"&&(d.includes(`
|
|
2
|
+
`)&&(d=r.spacingOuter+l+d+r.spacingOuter+n),d=`{${d}}`),`${r.spacingInner+n+u.prop.open+c+u.prop.close}=${u.value.open}${d}${u.value.close}`}).join("")}function wo(e,t,r,n,a,i){return e.map(o=>t.spacingOuter+r+(typeof o=="string"?Vc(o,t):i(o,t,r,n,a))).join("")}function Vc(e,t){let r=t.colors.content;return r.open+zc(e)+r.close}function Ag(e,t){let r=t.colors.comment;return`${r.open}<!--${zc(e)}-->${r.close}`}function Co(e,t,r,n,a){let i=n.colors.tag;return`${i.open}<${e}${t&&i.close+t+n.spacingOuter+a+i.open}${r?`>${i.close}${r}${n.spacingOuter}${a}${i.open}</${e}`:`${t&&!n.min?"":" "}/`}>${i.close}`}function Ro(e,t){let r=t.colors.tag;return`${r.open}<${e}${r.close} …${r.open} />${r.close}`}var qg=1,Gc=3,Wc=8,Kc=11,xg=/^(?:(?:HTML|SVG)\w*)?Element$/;function Mg(e){try{return typeof e.hasAttribute=="function"&&e.hasAttribute("is")}catch{return!1}}function $g(e){let t=e.constructor.name,{nodeType:r,tagName:n}=e,a=typeof n=="string"&&n.includes("-")||Mg(e);return r===qg&&(xg.test(t)||a)||r===Gc&&t==="Text"||r===Wc&&t==="Comment"||r===Kc&&t==="DocumentFragment"}var Ng=e=>{var t;return((t=e==null?void 0:e.constructor)==null?void 0:t.name)&&$g(e)};function jg(e){return e.nodeType===Gc}function Ig(e){return e.nodeType===Wc}function Ba(e){return e.nodeType===Kc}var Lg=(e,t,r,n,a,i)=>{if(jg(e))return Vc(e.data,t);if(Ig(e))return Ag(e.data,t);let o=Ba(e)?"DocumentFragment":e.tagName.toLowerCase();return++n>t.maxDepth?Ro(o,t):Co(o,Eo(Ba(e)?[]:Array.from(e.attributes,l=>l.name).sort(),Ba(e)?{}:[...e.attributes].reduce((l,u)=>(l[u.name]=u.value,l),{}),t,r+t.indent,n,a,i),wo(Array.prototype.slice.call(e.childNodes||e.children),t,r+t.indent,n,a,i),t,r)},Bg={serialize:Lg,test:Ng},kg="@@__IMMUTABLE_ITERABLE__@@",Dg="@@__IMMUTABLE_LIST__@@",Fg="@@__IMMUTABLE_KEYED__@@",Ug="@@__IMMUTABLE_MAP__@@",Ql="@@__IMMUTABLE_ORDERED__@@",Hg="@@__IMMUTABLE_RECORD__@@",zg="@@__IMMUTABLE_SEQ__@@",Vg="@@__IMMUTABLE_SET__@@",Gg="@@__IMMUTABLE_STACK__@@",pr=e=>`Immutable.${e}`,ia=e=>`[${e}]`,zr=" ",Zl="…";function Wg(e,t,r,n,a,i,o){return++n>t.maxDepth?ia(pr(o)):`${pr(o)+zr}{${aa(e.entries(),t,r,n,a,i)}}`}function Kg(e){let t=0;return{next(){if(t<e._keys.length){let r=e._keys[t++];return{done:!1,value:[r,e.get(r)]}}return{done:!0,value:void 0}}}}function Yg(e,t,r,n,a,i){let o=pr(e._name||"Record");return++n>t.maxDepth?ia(o):`${o+zr}{${aa(Kg(e),t,r,n,a,i)}}`}function Jg(e,t,r,n,a,i){let o=pr("Seq");return++n>t.maxDepth?ia(o):e[Fg]?`${o+zr}{${e._iter||e._object?aa(e.entries(),t,r,n,a,i):Zl}}`:`${o+zr}[${e._iter||e._array||e._collection||e._iterable?vo(e.values(),t,r,n,a,i):Zl}]`}function ka(e,t,r,n,a,i,o){return++n>t.maxDepth?ia(pr(o)):`${pr(o)+zr}[${vo(e.values(),t,r,n,a,i)}]`}var Xg=(e,t,r,n,a,i)=>e[Ug]?Wg(e,t,r,n,a,i,e[Ql]?"OrderedMap":"Map"):e[Dg]?ka(e,t,r,n,a,i,"List"):e[Vg]?ka(e,t,r,n,a,i,e[Ql]?"OrderedSet":"Set"):e[Gg]?ka(e,t,r,n,a,i,"Stack"):e[zg]?Jg(e,t,r,n,a,i):Yg(e,t,r,n,a,i),Qg=e=>e&&(e[kg]===!0||e[Hg]===!0),Zg={serialize:Xg,test:Qg},es={exports:{}},ae={},ts;function ey(){return ts||(ts=1,function(){var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),i=Symbol.for("react.provider"),o=Symbol.for("react.context"),l=Symbol.for("react.server_context"),u=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),s=Symbol.for("react.suspense_list"),d=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),f=Symbol.for("react.offscreen"),h=!1,m=!1,g=!1,b=!1,y=!1,R;R=Symbol.for("react.module.reference");function _($){return!!(typeof $=="string"||typeof $=="function"||$===r||$===a||y||$===n||$===c||$===s||b||$===f||h||m||g||typeof $=="object"&&$!==null&&($.$$typeof===p||$.$$typeof===d||$.$$typeof===i||$.$$typeof===o||$.$$typeof===u||$.$$typeof===R||$.getModuleId!==void 0))}function C($){if(typeof $=="object"&&$!==null){var se=$.$$typeof;switch(se){case e:var ue=$.type;switch(ue){case r:case a:case n:case c:case s:return ue;default:var we=ue&&ue.$$typeof;switch(we){case l:case o:case u:case p:case d:case i:return we;default:return se}}case t:return se}}}var w=o,v=i,E=e,O=u,M=r,N=p,k=d,j=t,I=a,B=n,z=c,K=s,W=!1,re=!1;function me($){return W||(W=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")),!1}function de($){return re||(re=!0,console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")),!1}function F($){return C($)===o}function L($){return C($)===i}function D($){return typeof $=="object"&&$!==null&&$.$$typeof===e}function G($){return C($)===u}function Y($){return C($)===r}function ne($){return C($)===p}function fe($){return C($)===d}function Be($){return C($)===t}function q($){return C($)===a}function V($){return C($)===n}function U($){return C($)===c}function Q($){return C($)===s}ae.ContextConsumer=w,ae.ContextProvider=v,ae.Element=E,ae.ForwardRef=O,ae.Fragment=M,ae.Lazy=N,ae.Memo=k,ae.Portal=j,ae.Profiler=I,ae.StrictMode=B,ae.Suspense=z,ae.SuspenseList=K,ae.isAsyncMode=me,ae.isConcurrentMode=de,ae.isContextConsumer=F,ae.isContextProvider=L,ae.isElement=D,ae.isForwardRef=G,ae.isFragment=Y,ae.isLazy=ne,ae.isMemo=fe,ae.isPortal=Be,ae.isProfiler=q,ae.isStrictMode=V,ae.isSuspense=U,ae.isSuspenseList=Q,ae.isValidElementType=_,ae.typeOf=C}()),ae}var rs;function ty(){return rs||(rs=1,es.exports=ey()),es.exports}var Dt=ty();function Yc(e,t=[]){if(Array.isArray(e))for(let r of e)Yc(r,t);else e!=null&&e!==!1&&e!==""&&t.push(e);return t}function ns(e){let t=e.type;if(typeof t=="string")return t;if(typeof t=="function")return t.displayName||t.name||"Unknown";if(Dt.isFragment(e))return"React.Fragment";if(Dt.isSuspense(e))return"React.Suspense";if(typeof t=="object"&&t!==null){if(Dt.isContextProvider(e))return"Context.Provider";if(Dt.isContextConsumer(e))return"Context.Consumer";if(Dt.isForwardRef(e)){if(t.displayName)return t.displayName;let r=t.render.displayName||t.render.name||"";return r===""?"ForwardRef":`ForwardRef(${r})`}if(Dt.isMemo(e)){let r=t.displayName||t.type.displayName||t.type.name||"";return r===""?"Memo":`Memo(${r})`}}return"UNDEFINED"}function ry(e){let{props:t}=e;return Object.keys(t).filter(r=>r!=="children"&&t[r]!==void 0).sort()}var ny=(e,t,r,n,a,i)=>++n>t.maxDepth?Ro(ns(e),t):Co(ns(e),Eo(ry(e),e.props,t,r+t.indent,n,a,i),wo(Yc(e.props.children),t,r+t.indent,n,a,i),t,r),ay=e=>e!=null&&Dt.isElement(e),iy={serialize:ny,test:ay},oy=typeof Symbol=="function"&&Symbol.for?Symbol.for("react.test.json"):245830487;function ly(e){let{props:t}=e;return t?Object.keys(t).filter(r=>t[r]!==void 0).sort():[]}var sy=(e,t,r,n,a,i)=>++n>t.maxDepth?Ro(e.type,t):Co(e.type,e.props?Eo(ly(e),e.props,t,r+t.indent,n,a,i):"",e.children?wo(e.children,t,r+t.indent,n,a,i):"",t,r),uy=e=>e&&e.$$typeof===oy,cy={serialize:sy,test:uy},Jc=Object.prototype.toString,dy=Date.prototype.toISOString,fy=Error.prototype.toString,as=RegExp.prototype.toString;function Da(e){return typeof e.constructor=="function"&&e.constructor.name||"Object"}function py(e){return typeof window<"u"&&e===window}var hy=/^Symbol\((.*)\)(.*)$/,my=/\n/g,Xc=class extends Error{constructor(t,r){super(t),this.stack=r,this.name=this.constructor.name}};function by(e){return e==="[object Array]"||e==="[object ArrayBuffer]"||e==="[object DataView]"||e==="[object Float32Array]"||e==="[object Float64Array]"||e==="[object Int8Array]"||e==="[object Int16Array]"||e==="[object Int32Array]"||e==="[object Uint8Array]"||e==="[object Uint8ClampedArray]"||e==="[object Uint16Array]"||e==="[object Uint32Array]"}function gy(e){return Object.is(e,-0)?"-0":String(e)}function yy(e){return`${e}n`}function is(e,t){return t?`[Function ${e.name||"anonymous"}]`:"[Function]"}function os(e){return String(e).replace(hy,"Symbol($1)")}function ls(e){return`[${fy.call(e)}]`}function Qc(e,t,r,n){if(e===!0||e===!1)return`${e}`;if(e===void 0)return"undefined";if(e===null)return"null";let a=typeof e;if(a==="number")return gy(e);if(a==="bigint")return yy(e);if(a==="string")return n?`"${e.replaceAll(/"|\\/g,"\\$&")}"`:`"${e}"`;if(a==="function")return is(e,t);if(a==="symbol")return os(e);let i=Jc.call(e);return i==="[object WeakMap]"?"WeakMap {}":i==="[object WeakSet]"?"WeakSet {}":i==="[object Function]"||i==="[object GeneratorFunction]"?is(e,t):i==="[object Symbol]"?os(e):i==="[object Date]"?Number.isNaN(+e)?"Date { NaN }":dy.call(e):i==="[object Error]"?ls(e):i==="[object RegExp]"?r?as.call(e).replaceAll(/[$()*+.?[\\\]^{|}]/g,"\\$&"):as.call(e):e instanceof Error?ls(e):null}function Zc(e,t,r,n,a,i){if(a.includes(e))return"[Circular]";a=[...a],a.push(e);let o=++n>t.maxDepth,l=t.min;if(t.callToJSON&&!o&&e.toJSON&&typeof e.toJSON=="function"&&!i)return Ot(e.toJSON(),t,r,n,a,!0);let u=Jc.call(e);return u==="[object Arguments]"?o?"[Arguments]":`${l?"":"Arguments "}[${Bn(e,t,r,n,a,Ot)}]`:by(u)?o?`[${e.constructor.name}]`:`${l||!t.printBasicPrototype&&e.constructor.name==="Array"?"":`${e.constructor.name} `}[${Bn(e,t,r,n,a,Ot)}]`:u==="[object Map]"?o?"[Map]":`Map {${aa(e.entries(),t,r,n,a,Ot," => ")}}`:u==="[object Set]"?o?"[Set]":`Set {${vo(e.values(),t,r,n,a,Ot)}}`:o||py(e)?`[${Da(e)}]`:`${l||!t.printBasicPrototype&&Da(e)==="Object"?"":`${Da(e)} `}{${_o(e,t,r,n,a,Ot)}}`}function vy(e){return e.serialize!=null}function ed(e,t,r,n,a,i){let o;try{o=vy(e)?e.serialize(t,r,n,a,i,Ot):e.print(t,l=>Ot(l,r,n,a,i),l=>{let u=n+r.indent;return u+l.replaceAll(my,`
|
|
3
|
+
${u}`)},{edgeSpacing:r.spacingOuter,min:r.min,spacing:r.spacingInner},r.colors)}catch(l){throw new Xc(l.message,l.stack)}if(typeof o!="string")throw new TypeError(`pretty-format: Plugin must return type "string" but instead returned "${typeof o}".`);return o}function td(e,t){for(let r of e)try{if(r.test(t))return r}catch(n){throw new Xc(n.message,n.stack)}return null}function Ot(e,t,r,n,a,i){let o=td(t.plugins,e);if(o!==null)return ed(o,e,t,r,n,a);let l=Qc(e,t.printFunctionName,t.escapeRegex,t.escapeString);return l!==null?l:Zc(e,t,r,n,a,i)}var To={comment:"gray",content:"reset",prop:"yellow",tag:"cyan",value:"green"},rd=Object.keys(To),We={callToJSON:!0,compareKeys:void 0,escapeRegex:!1,escapeString:!0,highlight:!1,indent:2,maxDepth:Number.POSITIVE_INFINITY,maxWidth:Number.POSITIVE_INFINITY,min:!1,plugins:[],printBasicPrototype:!0,printFunctionName:!0,theme:To};function _y(e){for(let t of Object.keys(e))if(!Object.prototype.hasOwnProperty.call(We,t))throw new Error(`pretty-format: Unknown option "${t}".`);if(e.min&&e.indent!==void 0&&e.indent!==0)throw new Error('pretty-format: Options "min" and "indent" cannot be used together.')}function Ey(){return rd.reduce((e,t)=>{let r=To[t],n=r&&pt[r];if(n&&typeof n.close=="string"&&typeof n.open=="string")e[t]=n;else throw new Error(`pretty-format: Option "theme" has a key "${t}" whose value "${r}" is undefined in ansi-styles.`);return e},Object.create(null))}function wy(){return rd.reduce((e,t)=>(e[t]={close:"",open:""},e),Object.create(null))}function nd(e){return(e==null?void 0:e.printFunctionName)??We.printFunctionName}function ad(e){return(e==null?void 0:e.escapeRegex)??We.escapeRegex}function id(e){return(e==null?void 0:e.escapeString)??We.escapeString}function ss(e){return{callToJSON:(e==null?void 0:e.callToJSON)??We.callToJSON,colors:e!=null&&e.highlight?Ey():wy(),compareKeys:typeof(e==null?void 0:e.compareKeys)=="function"||(e==null?void 0:e.compareKeys)===null?e.compareKeys:We.compareKeys,escapeRegex:ad(e),escapeString:id(e),indent:e!=null&&e.min?"":Cy((e==null?void 0:e.indent)??We.indent),maxDepth:(e==null?void 0:e.maxDepth)??We.maxDepth,maxWidth:(e==null?void 0:e.maxWidth)??We.maxWidth,min:(e==null?void 0:e.min)??We.min,plugins:(e==null?void 0:e.plugins)??We.plugins,printBasicPrototype:(e==null?void 0:e.printBasicPrototype)??!0,printFunctionName:nd(e),spacingInner:e!=null&&e.min?" ":`
|
|
4
|
+
`,spacingOuter:e!=null&&e.min?"":`
|
|
5
|
+
`}}function Cy(e){return Array.from({length:e+1}).join(" ")}function rt(e,t){if(t&&(_y(t),t.plugins)){let n=td(t.plugins,e);if(n!==null)return ed(n,e,ss(t),"",0,[])}let r=Qc(e,nd(t),ad(t),id(t));return r!==null?r:Zc(e,ss(t),"",0,[])}var od={AsymmetricMatcher:Eg,DOMCollection:Og,DOMElement:Bg,Immutable:Zg,ReactElement:iy,ReactTestComponent:cy},us={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"]},Ry={special:"cyan",number:"yellow",bigint:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",symbol:"green",date:"magenta",regexp:"red"},hr="…";function Ty(e,t){let r=us[Ry[t]]||us[t]||"";return r?`\x1B[${r[0]}m${String(e)}\x1B[${r[1]}m`:String(e)}function Py({showHidden:e=!1,depth:t=2,colors:r=!1,customInspect:n=!0,showProxy:a=!1,maxArrayLength:i=1/0,breakLength:o=1/0,seen:l=[],truncate:u=1/0,stylize:c=String}={},s){let d={showHidden:!!e,depth:Number(t),colors:!!r,customInspect:!!n,showProxy:!!a,maxArrayLength:Number(i),breakLength:Number(o),truncate:Number(u),seen:l,inspect:s,stylize:c};return d.colors&&(d.stylize=Ty),d}function Sy(e){return e>="\uD800"&&e<="\uDBFF"}function It(e,t,r=hr){e=String(e);let n=r.length,a=e.length;if(n>t&&a>n)return r;if(a>t&&a>n){let i=t-n;return i>0&&Sy(e[i-1])&&(i=i-1),`${e.slice(0,i)}${r}`}return e}function Qe(e,t,r,n=", "){r=r||t.inspect;let a=e.length;if(a===0)return"";let i=t.truncate,o="",l="",u="";for(let c=0;c<a;c+=1){let s=c+1===e.length,d=c+2===e.length;u=`${hr}(${e.length-c})`;let p=e[c];t.truncate=i-o.length-(s?0:n.length);let f=l||r(p,t)+(s?"":n),h=o.length+f.length,m=h+u.length;if(s&&h>i&&o.length+u.length<=i||!s&&!d&&m>i||(l=s?"":r(e[c+1],t)+(d?"":n),!s&&d&&m>i&&h+l.length>i))break;if(o+=f,!s&&!d&&h+l.length>=i){u=`${hr}(${e.length-c-1})`;break}u=""}return`${o}${u}`}function Oy(e){return e.match(/^[a-zA-Z_][a-zA-Z_0-9]*$/)?e:JSON.stringify(e).replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'")}function Vr([e,t],r){return r.truncate-=2,typeof e=="string"?e=Oy(e):typeof e!="number"&&(e=`[${r.inspect(e,r)}]`),r.truncate-=e.length,t=r.inspect(t,r),`${e}: ${t}`}function Ay(e,t){let r=Object.keys(e).slice(e.length);if(!e.length&&!r.length)return"[]";t.truncate-=4;let n=Qe(e,t);t.truncate-=n.length;let a="";return r.length&&(a=Qe(r.map(i=>[i,e[i]]),t,Vr)),`[ ${n}${a?`, ${a}`:""} ]`}var qy=e=>typeof Buffer=="function"&&e instanceof Buffer?"Buffer":e[Symbol.toStringTag]?e[Symbol.toStringTag]:e.constructor.name;function ut(e,t){let r=qy(e);t.truncate-=r.length+4;let n=Object.keys(e).slice(e.length);if(!e.length&&!n.length)return`${r}[]`;let a="";for(let o=0;o<e.length;o++){let l=`${t.stylize(It(e[o],t.truncate),"number")}${o===e.length-1?"":", "}`;if(t.truncate-=l.length,e[o]!==e.length&&t.truncate<=3){a+=`${hr}(${e.length-e[o]+1})`;break}a+=l}let i="";return n.length&&(i=Qe(n.map(o=>[o,e[o]]),t,Vr)),`${r}[ ${a}${i?`, ${i}`:""} ]`}function xy(e,t){let r=e.toJSON();if(r===null)return"Invalid Date";let n=r.split("T"),a=n[0];return t.stylize(`${a}T${It(n[1],t.truncate-a.length-1)}`,"date")}function cs(e,t){let r=e[Symbol.toStringTag]||"Function",n=e.name;return n?t.stylize(`[${r} ${It(n,t.truncate-11)}]`,"special"):t.stylize(`[${r}]`,"special")}function My([e,t],r){return r.truncate-=4,e=r.inspect(e,r),r.truncate-=e.length,t=r.inspect(t,r),`${e} => ${t}`}function $y(e){let t=[];return e.forEach((r,n)=>{t.push([n,r])}),t}function Ny(e,t){return e.size-1<=0?"Map{}":(t.truncate-=7,`Map{ ${Qe($y(e),t,My)} }`)}var jy=Number.isNaN||(e=>e!==e);function ds(e,t){return jy(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(It(String(e),t.truncate),"number")}function fs(e,t){let r=It(e.toString(),t.truncate-1);return r!==hr&&(r+="n"),t.stylize(r,"bigint")}function Iy(e,t){let r=e.toString().split("/")[2],n=t.truncate-(2+r.length),a=e.source;return t.stylize(`/${It(a,n)}/${r}`,"regexp")}function Ly(e){let t=[];return e.forEach(r=>{t.push(r)}),t}function By(e,t){return e.size===0?"Set{}":(t.truncate-=7,`Set{ ${Qe(Ly(e),t)} }`)}var ps=new RegExp("['\\u0000-\\u001f\\u007f-\\u009f\\u00ad\\u0600-\\u0604\\u070f\\u17b4\\u17b5\\u200c-\\u200f\\u2028-\\u202f\\u2060-\\u206f\\ufeff\\ufff0-\\uffff]","g"),ky={"\b":"\\b"," ":"\\t","\n":"\\n","\f":"\\f","\r":"\\r","'":"\\'","\\":"\\\\"},Dy=16;function Fy(e){return ky[e]||`\\u${`0000${e.charCodeAt(0).toString(Dy)}`.slice(-4)}`}function hs(e,t){return ps.test(e)&&(e=e.replace(ps,Fy)),t.stylize(`'${It(e,t.truncate-2)}'`,"string")}function ms(e){return"description"in Symbol.prototype?e.description?`Symbol(${e.description})`:"Symbol()":e.toString()}var ld=()=>"Promise{…}";try{let{getPromiseDetails:e,kPending:t,kRejected:r}=process.binding("util");Array.isArray(e(Promise.resolve()))&&(ld=(n,a)=>{let[i,o]=e(n);return i===t?"Promise{<pending>}":`Promise${i===r?"!":""}{${a.inspect(o,a)}}`})}catch{}var Uy=ld;function An(e,t){let 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.indexOf(e)>=0)return"[Circular]";t.seen.push(e);let a=Qe(r.map(l=>[l,e[l]]),t,Vr),i=Qe(n.map(l=>[l,e[l]]),t,Vr);t.seen.pop();let o="";return a&&i&&(o=", "),`{ ${a}${o}${i} }`}var Fa=typeof Symbol<"u"&&Symbol.toStringTag?Symbol.toStringTag:!1;function Hy(e,t){let r="";return Fa&&Fa in e&&(r=e[Fa]),r=r||e.constructor.name,(!r||r==="_class")&&(r="<Anonymous Class>"),t.truncate-=r.length,`${r}${An(e,t)}`}function zy(e,t){return e.length===0?"Arguments[]":(t.truncate-=13,`Arguments[ ${Qe(e,t)} ]`)}var Vy=["stack","line","column","name","message","fileName","lineNumber","columnNumber","number","description"];function Gy(e,t){let r=Object.getOwnPropertyNames(e).filter(o=>Vy.indexOf(o)===-1),n=e.name;t.truncate-=n.length;let a="";typeof e.message=="string"?a=It(e.message,t.truncate):r.unshift("message"),a=a?`: ${a}`:"",t.truncate-=a.length+5;let i=Qe(r.map(o=>[o,e[o]]),t,Vr);return`${n}${a}${i?` { ${i} }`:""}`}function Wy([e,t],r){return r.truncate-=3,t?`${r.stylize(String(e),"yellow")}=${r.stylize(`"${t}"`,"string")}`:`${r.stylize(String(e),"yellow")}`}function fi(e,t){return Qe(e,t,sd,`
|
|
6
|
+
`)}function sd(e,t){let r=e.getAttributeNames(),n=e.tagName.toLowerCase(),a=t.stylize(`<${n}`,"special"),i=t.stylize(">","special"),o=t.stylize(`</${n}>`,"special");t.truncate-=n.length*2+5;let l="";r.length>0&&(l+=" ",l+=Qe(r.map(s=>[s,e.getAttribute(s)]),t,Wy," ")),t.truncate-=l.length;let u=t.truncate,c=fi(e.children,t);return c&&c.length>u&&(c=`${hr}(${e.children.length})`),`${a}${l}${i}${c}${o}`}var Ky=typeof Symbol=="function"&&typeof Symbol.for=="function",Ua=Ky?Symbol.for("chai/inspect"):"@@chai/inspect",tr=!1;try{let e=fg("util");tr=e.inspect?e.inspect.custom:!1}catch{tr=!1}var bs=new WeakMap,gs={},ys={undefined:(e,t)=>t.stylize("undefined","undefined"),null:(e,t)=>t.stylize("null","null"),boolean:(e,t)=>t.stylize(String(e),"boolean"),Boolean:(e,t)=>t.stylize(String(e),"boolean"),number:ds,Number:ds,bigint:fs,BigInt:fs,string:hs,String:hs,function:cs,Function:cs,symbol:ms,Symbol:ms,Array:Ay,Date:xy,Map:Ny,Set:By,RegExp:Iy,Promise:Uy,WeakSet:(e,t)=>t.stylize("WeakSet{…}","special"),WeakMap:(e,t)=>t.stylize("WeakMap{…}","special"),Arguments:zy,Int8Array:ut,Uint8Array:ut,Uint8ClampedArray:ut,Int16Array:ut,Uint16Array:ut,Int32Array:ut,Uint32Array:ut,Float32Array:ut,Float64Array:ut,Generator:()=>"",DataView:()=>"",ArrayBuffer:()=>"",Error:Gy,HTMLCollection:fi,NodeList:fi},Yy=(e,t,r)=>Ua in e&&typeof e[Ua]=="function"?e[Ua](t):tr&&tr in e&&typeof e[tr]=="function"?e[tr](t.depth,t):"inspect"in e&&typeof e.inspect=="function"?e.inspect(t.depth,t):"constructor"in e&&bs.has(e.constructor)?bs.get(e.constructor)(e,t):gs[r]?gs[r](e,t):"",Jy=Object.prototype.toString;function pi(e,t={}){let r=Py(t,pi),{customInspect:n}=r,a=e===null?"null":typeof e;if(a==="object"&&(a=Jy.call(e).slice(8,-1)),a in ys)return ys[a](e,r);if(n&&e){let o=Yy(e,r,a);if(o)return typeof o=="string"?o:pi(o,r)}let i=e?Object.getPrototypeOf(e):!1;return i===Object.prototype||i===null?An(e,r):e&&typeof HTMLElement=="function"&&e instanceof HTMLElement?sd(e,r):"constructor"in e?e.constructor!==Object?Hy(e,r):An(e,r):e===Object(e)?An(e,r):r.stylize(String(e),a)}var{AsymmetricMatcher:Xy,DOMCollection:Qy,DOMElement:Zy,Immutable:ev,ReactElement:tv,ReactTestComponent:rv}=od,vs=[rv,tv,Zy,Qy,ev,Xy];function Gr(e,t=10,{maxLength:r,...n}={}){let a=r??1e4,i;try{i=rt(e,{maxDepth:t,escapeString:!1,plugins:vs,...n})}catch{i=rt(e,{callToJSON:!1,maxDepth:t,escapeString:!1,plugins:vs,...n})}return i.length>=a&&t>1?Gr(e,Math.floor(t/2)):i}var nv=/%[sdjifoOc%]/g;function av(...e){if(typeof e[0]!="string"){let i=[];for(let o=0;o<e.length;o++)i.push(Mr(e[o],{depth:0,colors:!1}));return i.join(" ")}let t=e.length,r=1,n=e[0],a=String(n).replace(nv,i=>{if(i==="%%")return"%";if(r>=t)return i;switch(i){case"%s":{let o=e[r++];return typeof o=="bigint"?`${o.toString()}n`:typeof o=="number"&&o===0&&1/o<0?"-0":typeof o=="object"&&o!==null?Mr(o,{depth:0,colors:!1}):String(o)}case"%d":{let o=e[r++];return typeof o=="bigint"?`${o.toString()}n`:Number(o).toString()}case"%i":{let o=e[r++];return typeof o=="bigint"?`${o.toString()}n`:Number.parseInt(String(o)).toString()}case"%f":return Number.parseFloat(String(e[r++])).toString();case"%o":return Mr(e[r++],{showHidden:!0,showProxy:!0});case"%O":return Mr(e[r++]);case"%c":return r++,"";case"%j":try{return JSON.stringify(e[r++])}catch(o){let l=o.message;if(l.includes("circular structure")||l.includes("cyclic structures")||l.includes("cyclic object"))return"[Circular]";throw o}default:return i}});for(let i=e[r];r<t;i=e[++r])i===null||typeof i!="object"?a+=` ${i}`:a+=` ${Mr(i)}`;return a}function Mr(e,t={}){return t.truncate===0&&(t.truncate=Number.POSITIVE_INFINITY),pi(e,t)}function iv(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function ov(e){return e===Object.prototype||e===Function.prototype||e===RegExp.prototype}function hi(e){return Object.prototype.toString.apply(e).slice(8,-1)}function lv(e,t){let r=typeof t=="function"?t:n=>t.add(n);Object.getOwnPropertyNames(e).forEach(r),Object.getOwnPropertySymbols(e).forEach(r)}function ud(e){let t=new Set;return ov(e)?[]:(lv(e,t),Array.from(t))}var cd={forceWritable:!1};function _s(e,t=cd){return mi(e,new WeakMap,t)}function mi(e,t,r=cd){let n,a;if(t.has(e))return t.get(e);if(Array.isArray(e)){for(a=Array.from({length:n=e.length}),t.set(e,a);n--;)a[n]=mi(e[n],t,r);return a}if(Object.prototype.toString.call(e)==="[object Object]"){a=Object.create(Object.getPrototypeOf(e)),t.set(e,a);let i=ud(e);for(let o of i){let l=Object.getOwnPropertyDescriptor(e,o);if(!l)continue;let u=mi(e[o],t,r);r.forceWritable?Object.defineProperty(a,o,{enumerable:l.enumerable,configurable:!0,writable:!0,value:u}):"get"in l?Object.defineProperty(a,o,{...l,get(){return u}}):Object.defineProperty(a,o,{...l,value:u})}return a}return e}function Es(e){if(e===void 0)return"undefined";if(e===null)return"null";if(Array.isArray(e))return"array";if(typeof e=="boolean")return"boolean";if(typeof e=="function")return"function";if(typeof e=="number")return"number";if(typeof e=="string")return"string";if(typeof e=="bigint")return"bigint";if(typeof e=="object"){if(e!=null){if(e.constructor===RegExp)return"regexp";if(e.constructor===Map)return"map";if(e.constructor===Set)return"set";if(e.constructor===Date)return"date"}return"object"}else if(typeof e=="symbol")return"symbol";throw new Error(`value of unknown type: ${e}`)}var Oe=-1,Te=1,_e=0,be=class{constructor(t,r){ye(this,0);ye(this,1);this[0]=t,this[1]=r}},sv=function(e,t){if(!e||!t||e.charAt(0)!==t.charAt(0))return 0;let r=0,n=Math.min(e.length,t.length),a=n,i=0;for(;r<a;)e.substring(i,a)===t.substring(i,a)?(r=a,i=r):n=a,a=Math.floor((n-r)/2+r);return a},dd=function(e,t){if(!e||!t||e.charAt(e.length-1)!==t.charAt(t.length-1))return 0;let r=0,n=Math.min(e.length,t.length),a=n,i=0;for(;r<a;)e.substring(e.length-a,e.length-i)===t.substring(t.length-a,t.length-i)?(r=a,i=r):n=a,a=Math.floor((n-r)/2+r);return a},ws=function(e,t){let r=e.length,n=t.length;if(r===0||n===0)return 0;r>n?e=e.substring(r-n):r<n&&(t=t.substring(0,r));let a=Math.min(r,n);if(e===t)return a;let i=0,o=1;for(;;){let l=e.substring(a-o),u=t.indexOf(l);if(u===-1)return i;o+=u,(u===0||e.substring(a-o)===t.substring(0,o))&&(i=o,o++)}},uv=function(e){let t=!1,r=[],n=0,a=null,i=0,o=0,l=0,u=0,c=0;for(;i<e.length;)e[i][0]===_e?(r[n++]=i,o=u,l=c,u=0,c=0,a=e[i][1]):(e[i][0]===Te?u+=e[i][1].length:c+=e[i][1].length,a&&a.length<=Math.max(o,l)&&a.length<=Math.max(u,c)&&(e.splice(r[n-1],0,new be(Oe,a)),e[r[n-1]+1][0]=Te,n--,n--,i=n>0?r[n-1]:-1,o=0,l=0,u=0,c=0,a=null,t=!0)),i++;for(t&&fd(e),fv(e),i=1;i<e.length;){if(e[i-1][0]===Oe&&e[i][0]===Te){let s=e[i-1][1],d=e[i][1],p=ws(s,d),f=ws(d,s);p>=f?(p>=s.length/2||p>=d.length/2)&&(e.splice(i,0,new be(_e,d.substring(0,p))),e[i-1][1]=s.substring(0,s.length-p),e[i+1][1]=d.substring(p),i++):(f>=s.length/2||f>=d.length/2)&&(e.splice(i,0,new be(_e,s.substring(0,f))),e[i-1][0]=Te,e[i-1][1]=d.substring(0,d.length-f),e[i+1][0]=Oe,e[i+1][1]=s.substring(f),i++),i++}i++}},Cs=/[^a-z0-9]/i,Rs=/\s/,Ts=/[\r\n]/,cv=/\n\r?\n$/,dv=/^\r?\n\r?\n/;function fv(e){let t=1;for(;t<e.length-1;){if(e[t-1][0]===_e&&e[t+1][0]===_e){let r=e[t-1][1],n=e[t][1],a=e[t+1][1],i=dd(r,n);if(i){let s=n.substring(n.length-i);r=r.substring(0,r.length-i),n=s+n.substring(0,n.length-i),a=s+a}let o=r,l=n,u=a,c=_n(r,n)+_n(n,a);for(;n.charAt(0)===a.charAt(0);){r+=n.charAt(0),n=n.substring(1)+a.charAt(0),a=a.substring(1);let s=_n(r,n)+_n(n,a);s>=c&&(c=s,o=r,l=n,u=a)}e[t-1][1]!==o&&(o?e[t-1][1]=o:(e.splice(t-1,1),t--),e[t][1]=l,u?e[t+1][1]=u:(e.splice(t+1,1),t--))}t++}}function fd(e){e.push(new be(_e,""));let t=0,r=0,n=0,a="",i="",o;for(;t<e.length;)switch(e[t][0]){case Te:n++,i+=e[t][1],t++;break;case Oe:r++,a+=e[t][1],t++;break;case _e:r+n>1?(r!==0&&n!==0&&(o=sv(i,a),o!==0&&(t-r-n>0&&e[t-r-n-1][0]===_e?e[t-r-n-1][1]+=i.substring(0,o):(e.splice(0,0,new be(_e,i.substring(0,o))),t++),i=i.substring(o),a=a.substring(o)),o=dd(i,a),o!==0&&(e[t][1]=i.substring(i.length-o)+e[t][1],i=i.substring(0,i.length-o),a=a.substring(0,a.length-o))),t-=r+n,e.splice(t,r+n),a.length&&(e.splice(t,0,new be(Oe,a)),t++),i.length&&(e.splice(t,0,new be(Te,i)),t++),t++):t!==0&&e[t-1][0]===_e?(e[t-1][1]+=e[t][1],e.splice(t,1)):t++,n=0,r=0,a="",i="";break}e[e.length-1][1]===""&&e.pop();let l=!1;for(t=1;t<e.length-1;)e[t-1][0]===_e&&e[t+1][0]===_e&&(e[t][1].substring(e[t][1].length-e[t-1][1].length)===e[t-1][1]?(e[t][1]=e[t-1][1]+e[t][1].substring(0,e[t][1].length-e[t-1][1].length),e[t+1][1]=e[t-1][1]+e[t+1][1],e.splice(t-1,1),l=!0):e[t][1].substring(0,e[t+1][1].length)===e[t+1][1]&&(e[t-1][1]+=e[t+1][1],e[t][1]=e[t][1].substring(e[t+1][1].length)+e[t+1][1],e.splice(t+1,1),l=!0)),t++;l&&fd(e)}function _n(e,t){if(!e||!t)return 6;let r=e.charAt(e.length-1),n=t.charAt(0),a=r.match(Cs),i=n.match(Cs),o=a&&r.match(Rs),l=i&&n.match(Rs),u=o&&r.match(Ts),c=l&&n.match(Ts),s=u&&e.match(cv),d=c&&t.match(dv);return s||d?5:u||c?4:a&&!o&&l?3:o||l?2:a||i?1:0}var pd="Compared values have no visual difference.",pv="Compared values serialize to the same structure.\nPrinting internal object structure without calling `toJSON` instead.",En={},Ps;function hv(){if(Ps)return En;Ps=1,Object.defineProperty(En,"__esModule",{value:!0}),En.default=p;let e="diff-sequences",t=0,r=(f,h,m,g,b)=>{let y=0;for(;f<h&&m<g&&b(f,m);)f+=1,m+=1,y+=1;return y},n=(f,h,m,g,b)=>{let y=0;for(;f<=h&&m<=g&&b(h,g);)h-=1,g-=1,y+=1;return y},a=(f,h,m,g,b,y,R)=>{let _=0,C=-f,w=y[_],v=w;y[_]+=r(w+1,h,g+w-C+1,m,b);let E=f<R?f:R;for(_+=1,C+=2;_<=E;_+=1,C+=2){if(_!==f&&v<y[_])w=y[_];else if(w=v+1,h<=w)return _-1;v=y[_],y[_]=w+r(w+1,h,g+w-C+1,m,b)}return R},i=(f,h,m,g,b,y,R)=>{let _=0,C=f,w=y[_],v=w;y[_]-=n(h,w-1,m,g+w-C-1,b);let E=f<R?f:R;for(_+=1,C-=2;_<=E;_+=1,C-=2){if(_!==f&&y[_]<v)w=y[_];else if(w=v-1,w<h)return _-1;v=y[_],y[_]=w-n(h,w-1,m,g+w-C-1,b)}return R},o=(f,h,m,g,b,y,R,_,C,w,v)=>{let E=g-h,O=m-h,M=b-g-O,N=-M-(f-1),k=-M+(f-1),j=t,I=f<_?f:_;for(let B=0,z=-f;B<=I;B+=1,z+=2){let K=B===0||B!==f&&j<R[B],W=K?R[B]:j,re=K?W:W+1,me=E+re-z,de=r(re+1,m,me+1,b,y),F=re+de;if(j=R[B],R[B]=F,N<=z&&z<=k){let L=(f-1-(z+M))/2;if(L<=w&&C[L]-1<=F){let D=E+W-(K?z+1:z-1),G=n(h,W,g,D,y),Y=W-G,ne=D-G,fe=Y+1,Be=ne+1;v.nChangePreceding=f-1,f-1===fe+Be-h-g?(v.aEndPreceding=h,v.bEndPreceding=g):(v.aEndPreceding=fe,v.bEndPreceding=Be),v.nCommonPreceding=G,G!==0&&(v.aCommonPreceding=fe,v.bCommonPreceding=Be),v.nCommonFollowing=de,de!==0&&(v.aCommonFollowing=re+1,v.bCommonFollowing=me+1);let q=F+1,V=me+de+1;return v.nChangeFollowing=f-1,f-1===m+b-q-V?(v.aStartFollowing=m,v.bStartFollowing=b):(v.aStartFollowing=q,v.bStartFollowing=V),!0}}}return!1},l=(f,h,m,g,b,y,R,_,C,w,v)=>{let E=b-m,O=m-h,M=b-g-O,N=M-f,k=M+f,j=t,I=f<w?f:w;for(let B=0,z=f;B<=I;B+=1,z-=2){let K=B===0||B!==f&&C[B]<j,W=K?C[B]:j,re=K?W:W-1,me=E+re-z,de=n(h,re-1,g,me-1,y),F=re-de;if(j=C[B],C[B]=F,N<=z&&z<=k){let L=(f+(z-M))/2;if(L<=_&&F-1<=R[L]){let D=me-de;if(v.nChangePreceding=f,f===F+D-h-g?(v.aEndPreceding=h,v.bEndPreceding=g):(v.aEndPreceding=F,v.bEndPreceding=D),v.nCommonPreceding=de,de!==0&&(v.aCommonPreceding=F,v.bCommonPreceding=D),v.nChangeFollowing=f-1,f===1)v.nCommonFollowing=0,v.aStartFollowing=m,v.bStartFollowing=b;else{let G=E+W-(K?z-1:z+1),Y=r(W,m,G,b,y);v.nCommonFollowing=Y,Y!==0&&(v.aCommonFollowing=W,v.bCommonFollowing=G);let ne=W+Y,fe=G+Y;f-1===m+b-ne-fe?(v.aStartFollowing=m,v.bStartFollowing=b):(v.aStartFollowing=ne,v.bStartFollowing=fe)}return!0}}}return!1},u=(f,h,m,g,b,y,R,_,C)=>{let w=g-h,v=b-m,E=m-h,O=b-g,M=O-E,N=E,k=E;if(R[0]=h-1,_[0]=m,M%2===0){let j=(f||M)/2,I=(E+O)/2;for(let B=1;B<=I;B+=1)if(N=a(B,m,b,w,y,R,N),B<j)k=i(B,h,g,v,y,_,k);else if(l(B,h,m,g,b,y,R,N,_,k,C))return}else{let j=((f||M)+1)/2,I=(E+O+1)/2,B=1;for(N=a(B,m,b,w,y,R,N),B+=1;B<=I;B+=1)if(k=i(B-1,h,g,v,y,_,k),B<j)N=a(B,m,b,w,y,R,N);else if(o(B,h,m,g,b,y,R,N,_,k,C))return}throw new Error(`${e}: no overlap aStart=${h} aEnd=${m} bStart=${g} bEnd=${b}`)},c=(f,h,m,g,b,y,R,_,C,w)=>{if(b-g<m-h){if(y=!y,y&&R.length===1){let{foundSubsequence:L,isCommon:D}=R[0];R[1]={foundSubsequence:(G,Y,ne)=>{L(G,ne,Y)},isCommon:(G,Y)=>D(Y,G)}}let de=h,F=m;h=g,m=b,g=de,b=F}let{foundSubsequence:v,isCommon:E}=R[y?1:0];u(f,h,m,g,b,E,_,C,w);let{nChangePreceding:O,aEndPreceding:M,bEndPreceding:N,nCommonPreceding:k,aCommonPreceding:j,bCommonPreceding:I,nCommonFollowing:B,aCommonFollowing:z,bCommonFollowing:K,nChangeFollowing:W,aStartFollowing:re,bStartFollowing:me}=w;h<M&&g<N&&c(O,h,M,g,N,y,R,_,C,w),k!==0&&v(k,j,I),B!==0&&v(B,z,K),re<m&&me<b&&c(W,re,m,me,b,y,R,_,C,w)},s=(f,h)=>{if(typeof h!="number")throw new TypeError(`${e}: ${f} typeof ${typeof h} is not a number`);if(!Number.isSafeInteger(h))throw new RangeError(`${e}: ${f} value ${h} is not a safe integer`);if(h<0)throw new RangeError(`${e}: ${f} value ${h} is a negative integer`)},d=(f,h)=>{let m=typeof h;if(m!=="function")throw new TypeError(`${e}: ${f} typeof ${m} is not a function`)};function p(f,h,m,g){s("aLength",f),s("bLength",h),d("isCommon",m),d("foundSubsequence",g);let b=r(0,f,0,h,m);if(b!==0&&g(b,0,0),f!==b||h!==b){let y=b,R=b,_=n(y,f-1,R,h-1,m),C=f-_,w=h-_,v=b+_;f!==v&&h!==v&&c(0,y,C,R,w,!1,[{foundSubsequence:g,isCommon:m}],[t],[t],{aCommonFollowing:t,aCommonPreceding:t,aEndPreceding:t,aStartFollowing:t,bCommonFollowing:t,bCommonPreceding:t,bEndPreceding:t,bStartFollowing:t,nChangeFollowing:t,nChangePreceding:t,nCommonFollowing:t,nCommonPreceding:t}),_!==0&&g(_,C,w)}}return En}var mv=hv(),hd=iv(mv);function bv(e,t){return e.replace(/\s+$/,r=>t(r))}function Po(e,t,r,n,a,i){return e.length!==0?r(`${n} ${bv(e,a)}`):n!==" "?r(n):t&&i.length!==0?r(`${n} ${i}`):""}function md(e,t,{aColor:r,aIndicator:n,changeLineTrailingSpaceColor:a,emptyFirstOrLastLinePlaceholder:i}){return Po(e,t,r,n,a,i)}function bd(e,t,{bColor:r,bIndicator:n,changeLineTrailingSpaceColor:a,emptyFirstOrLastLinePlaceholder:i}){return Po(e,t,r,n,a,i)}function gd(e,t,{commonColor:r,commonIndicator:n,commonLineTrailingSpaceColor:a,emptyFirstOrLastLinePlaceholder:i}){return Po(e,t,r,n,a,i)}function Ss(e,t,r,n,{patchColor:a}){return a(`@@ -${e+1},${t-e} +${r+1},${n-r} @@`)}function gv(e,t){let r=e.length,n=t.contextLines,a=n+n,i=r,o=!1,l=0,u=0;for(;u!==r;){let _=u;for(;u!==r&&e[u][0]===_e;)u+=1;if(_!==u)if(_===0)u>n&&(i-=u-n,o=!0);else if(u===r){let C=u-_;C>n&&(i-=C-n,o=!0)}else{let C=u-_;C>a&&(i-=C-a,l+=1)}for(;u!==r&&e[u][0]!==_e;)u+=1}let c=l!==0||o;l!==0?i+=l+1:o&&(i+=1);let s=i-1,d=[],p=0;c&&d.push("");let f=0,h=0,m=0,g=0,b=_=>{let C=d.length;d.push(gd(_,C===0||C===s,t)),m+=1,g+=1},y=_=>{let C=d.length;d.push(md(_,C===0||C===s,t)),m+=1},R=_=>{let C=d.length;d.push(bd(_,C===0||C===s,t)),g+=1};for(u=0;u!==r;){let _=u;for(;u!==r&&e[u][0]===_e;)u+=1;if(_!==u)if(_===0){u>n&&(_=u-n,f=_,h=_,m=f,g=h);for(let C=_;C!==u;C+=1)b(e[C][1])}else if(u===r){let C=u-_>n?_+n:u;for(let w=_;w!==C;w+=1)b(e[w][1])}else{let C=u-_;if(C>a){let w=_+n;for(let E=_;E!==w;E+=1)b(e[E][1]);d[p]=Ss(f,m,h,g,t),p=d.length,d.push("");let v=C-a;f=m+v,h=g+v,m=f,g=h;for(let E=u-n;E!==u;E+=1)b(e[E][1])}else for(let w=_;w!==u;w+=1)b(e[w][1])}for(;u!==r&&e[u][0]===Oe;)y(e[u][1]),u+=1;for(;u!==r&&e[u][0]===Te;)R(e[u][1]),u+=1}return c&&(d[p]=Ss(f,m,h,g,t)),d.join(`
|
|
7
|
+
`)}function yv(e,t){return e.map((r,n,a)=>{let i=r[1],o=n===0||n===a.length-1;switch(r[0]){case Oe:return md(i,o,t);case Te:return bd(i,o,t);default:return gd(i,o,t)}}).join(`
|
|
8
|
+
`)}var Ha=e=>e,yd=5,vv=0;function _v(){return{aAnnotation:"Expected",aColor:pt.green,aIndicator:"-",bAnnotation:"Received",bColor:pt.red,bIndicator:"+",changeColor:pt.inverse,changeLineTrailingSpaceColor:Ha,commonColor:pt.dim,commonIndicator:" ",commonLineTrailingSpaceColor:Ha,compareKeys:void 0,contextLines:yd,emptyFirstOrLastLinePlaceholder:"",expand:!0,includeChangeCounts:!1,omitAnnotationLines:!1,patchColor:pt.yellow,truncateThreshold:vv,truncateAnnotation:"... Diff result is truncated",truncateAnnotationColor:Ha}}function Ev(e){return e&&typeof e=="function"?e:void 0}function wv(e){return typeof e=="number"&&Number.isSafeInteger(e)&&e>=0?e:yd}function Yt(e={}){return{..._v(),...e,compareKeys:Ev(e.compareKeys),contextLines:wv(e.contextLines)}}function rr(e){return e.length===1&&e[0].length===0}function Cv(e){let t=0,r=0;return e.forEach(n=>{switch(n[0]){case Oe:t+=1;break;case Te:r+=1;break}}),{a:t,b:r}}function Rv({aAnnotation:e,aColor:t,aIndicator:r,bAnnotation:n,bColor:a,bIndicator:i,includeChangeCounts:o,omitAnnotationLines:l},u){if(l)return"";let c="",s="";if(o){let f=String(u.a),h=String(u.b),m=n.length-e.length,g=" ".repeat(Math.max(0,m)),b=" ".repeat(Math.max(0,-m)),y=h.length-f.length,R=" ".repeat(Math.max(0,y)),_=" ".repeat(Math.max(0,-y));c=`${g} ${r} ${R}${f}`,s=`${b} ${i} ${_}${h}`}let d=`${r} ${e}${c}`,p=`${i} ${n}${s}`;return`${t(d)}
|
|
9
|
+
${a(p)}
|
|
10
|
+
|
|
11
|
+
`}function So(e,t,r){return Rv(r,Cv(e))+(r.expand?yv(e,r):gv(e,r))+(t?r.truncateAnnotationColor(`
|
|
12
|
+
${r.truncateAnnotation}`):"")}function oa(e,t,r){let n=Yt(r),[a,i]=vd(rr(e)?[]:e,rr(t)?[]:t,n);return So(a,i,n)}function Tv(e,t,r,n,a){if(rr(e)&&rr(r)&&(e=[],r=[]),rr(t)&&rr(n)&&(t=[],n=[]),e.length!==r.length||t.length!==n.length)return oa(e,t,a);let[i,o]=vd(r,n,a),l=0,u=0;return i.forEach(c=>{switch(c[0]){case Oe:c[1]=e[l],l+=1;break;case Te:c[1]=t[u],u+=1;break;default:c[1]=t[u],l+=1,u+=1}}),So(i,o,Yt(a))}function vd(e,t,r){let n=(r==null?void 0:r.truncateThreshold)??!1,a=Math.max(Math.floor((r==null?void 0:r.truncateThreshold)??0),0),i=n?Math.min(e.length,a):e.length,o=n?Math.min(t.length,a):t.length,l=i!==e.length||o!==t.length,u=(p,f)=>e[p]===t[f],c=[],s=0,d=0;for(hd(i,o,u,(p,f,h)=>{for(;s!==f;s+=1)c.push(new be(Oe,e[s]));for(;d!==h;d+=1)c.push(new be(Te,t[d]));for(;p!==0;p-=1,s+=1,d+=1)c.push(new be(_e,t[d]))});s!==i;s+=1)c.push(new be(Oe,e[s]));for(;d!==o;d+=1)c.push(new be(Te,t[d]));return[c,l]}function Os(e){return e.includes(`\r
|
|
13
|
+
`)?`\r
|
|
14
|
+
`:`
|
|
15
|
+
`}function Pv(e,t,r){let n=(r==null?void 0:r.truncateThreshold)??!1,a=Math.max(Math.floor((r==null?void 0:r.truncateThreshold)??0),0),i=e.length,o=t.length;if(n){let p=e.includes(`
|
|
16
|
+
`),f=t.includes(`
|
|
17
|
+
`),h=Os(e),m=Os(t),g=p?`${e.split(h,a).join(h)}
|
|
18
|
+
`:e,b=f?`${t.split(m,a).join(m)}
|
|
19
|
+
`:t;i=g.length,o=b.length}let l=i!==e.length||o!==t.length,u=(p,f)=>e[p]===t[f],c=0,s=0,d=[];return hd(i,o,u,(p,f,h)=>{c!==f&&d.push(new be(Oe,e.slice(c,f))),s!==h&&d.push(new be(Te,t.slice(s,h))),c=f+p,s=h+p,d.push(new be(_e,t.slice(h,s)))}),c!==i&&d.push(new be(Oe,e.slice(c))),s!==o&&d.push(new be(Te,t.slice(s))),[d,l]}function Sv(e,t,r){return t.reduce((n,a)=>n+(a[0]===_e?a[1]:a[0]===e&&a[1].length!==0?r(a[1]):""),"")}var As=class{constructor(t,r){ye(this,"op");ye(this,"line");ye(this,"lines");ye(this,"changeColor");this.op=t,this.line=[],this.lines=[],this.changeColor=r}pushSubstring(t){this.pushDiff(new be(this.op,t))}pushLine(){this.lines.push(this.line.length!==1?new be(this.op,Sv(this.op,this.line,this.changeColor)):this.line[0][0]===this.op?this.line[0]:new be(this.op,this.line[0][1])),this.line.length=0}isLineEmpty(){return this.line.length===0}pushDiff(t){this.line.push(t)}align(t){let r=t[1];if(r.includes(`
|
|
20
|
+
`)){let n=r.split(`
|
|
21
|
+
`),a=n.length-1;n.forEach((i,o)=>{o<a?(this.pushSubstring(i),this.pushLine()):i.length!==0&&this.pushSubstring(i)})}else this.pushDiff(t)}moveLinesTo(t){this.isLineEmpty()||this.pushLine(),t.push(...this.lines),this.lines.length=0}},Ov=class{constructor(t,r){ye(this,"deleteBuffer");ye(this,"insertBuffer");ye(this,"lines");this.deleteBuffer=t,this.insertBuffer=r,this.lines=[]}pushDiffCommonLine(t){this.lines.push(t)}pushDiffChangeLines(t){let r=t[1].length===0;(!r||this.deleteBuffer.isLineEmpty())&&this.deleteBuffer.pushDiff(t),(!r||this.insertBuffer.isLineEmpty())&&this.insertBuffer.pushDiff(t)}flushChangeLines(){this.deleteBuffer.moveLinesTo(this.lines),this.insertBuffer.moveLinesTo(this.lines)}align(t){let r=t[0],n=t[1];if(n.includes(`
|
|
22
|
+
`)){let a=n.split(`
|
|
23
|
+
`),i=a.length-1;a.forEach((o,l)=>{if(l===0){let u=new be(r,o);this.deleteBuffer.isLineEmpty()&&this.insertBuffer.isLineEmpty()?(this.flushChangeLines(),this.pushDiffCommonLine(u)):(this.pushDiffChangeLines(u),this.flushChangeLines())}else l<i?this.pushDiffCommonLine(new be(r,o)):o.length!==0&&this.pushDiffChangeLines(new be(r,o))})}else this.pushDiffChangeLines(t)}getLines(){return this.flushChangeLines(),this.lines}};function Av(e,t){let r=new As(Oe,t),n=new As(Te,t),a=new Ov(r,n);return e.forEach(i=>{switch(i[0]){case Oe:r.align(i);break;case Te:n.align(i);break;default:a.align(i)}}),a.getLines()}function qv(e,t){if(t){let r=e.length-1;return e.some((n,a)=>n[0]===_e&&(a!==r||n[1]!==`
|
|
24
|
+
`))}return e.some(r=>r[0]===_e)}function xv(e,t,r){if(e!==t&&e.length!==0&&t.length!==0){let n=e.includes(`
|
|
25
|
+
`)||t.includes(`
|
|
26
|
+
`),[a,i]=_d(n?`${e}
|
|
27
|
+
`:e,n?`${t}
|
|
28
|
+
`:t,!0,r);if(qv(a,n)){let o=Yt(r),l=Av(a,o.changeColor);return So(l,i,o)}}return oa(e.split(`
|
|
29
|
+
`),t.split(`
|
|
30
|
+
`),r)}function _d(e,t,r,n){let[a,i]=Pv(e,t,n);return uv(a),[a,i]}function bi(e,t){let{commonColor:r}=Yt(t);return r(e)}var{AsymmetricMatcher:Mv,DOMCollection:$v,DOMElement:Nv,Immutable:jv,ReactElement:Iv,ReactTestComponent:Lv}=od,Ed=[Lv,Iv,Nv,$v,jv,Mv],gi={plugins:Ed},wd={callToJSON:!1,maxDepth:10,plugins:Ed};function Bv(e,t,r){if(Object.is(e,t))return"";let n=Es(e),a=n,i=!1;if(n==="object"&&typeof e.asymmetricMatch=="function"){if(e.$$typeof!==Symbol.for("jest.asymmetricMatcher")||typeof e.getExpectedType!="function")return;a=e.getExpectedType(),i=a==="string"}if(a!==Es(t)){let{aAnnotation:o,aColor:l,aIndicator:u,bAnnotation:c,bColor:s,bIndicator:d}=Yt(r),p=yi(wd,r),f=rt(e,p),h=rt(t,p),m=`${l(`${u} ${o}:`)}
|
|
31
|
+
${f}`,g=`${s(`${d} ${c}:`)}
|
|
32
|
+
${h}`;return`${m}
|
|
33
|
+
|
|
34
|
+
${g}`}if(!i)switch(n){case"string":return oa(e.split(`
|
|
35
|
+
`),t.split(`
|
|
36
|
+
`),r);case"boolean":case"number":return kv(e,t,r);case"map":return za(qs(e),qs(t),r);case"set":return za(xs(e),xs(t),r);default:return za(e,t,r)}}function kv(e,t,r){let n=rt(e,gi),a=rt(t,gi);return n===a?"":oa(n.split(`
|
|
37
|
+
`),a.split(`
|
|
38
|
+
`),r)}function qs(e){return new Map(Array.from(e.entries()).sort())}function xs(e){return new Set(Array.from(e.values()).sort())}function za(e,t,r){let n,a=!1;try{let o=yi(gi,r);n=Ms(e,t,o,r)}catch{a=!0}let i=bi(pd,r);if(n===void 0||n===i){let o=yi(wd,r);n=Ms(e,t,o,r),n!==i&&!a&&(n=`${bi(pv,r)}
|
|
39
|
+
|
|
40
|
+
${n}`)}return n}function yi(e,t){let{compareKeys:r}=Yt(t);return{...e,compareKeys:r}}function Ms(e,t,r,n){let a={...r,indent:0},i=rt(e,a),o=rt(t,a);if(i===o)return bi(pd,n);{let l=rt(e,r),u=rt(t,r);return Tv(l.split(`
|
|
41
|
+
`),u.split(`
|
|
42
|
+
`),i.split(`
|
|
43
|
+
`),o.split(`
|
|
44
|
+
`),n)}}var $s=2e4;function Ns(e){return hi(e)==="Object"&&typeof e.asymmetricMatch=="function"}function js(e,t){let r=hi(e),n=hi(t);return r===n&&(r==="Object"||r==="Array")}function Dv(e,t,r){let{aAnnotation:n,bAnnotation:a}=Yt(r);if(typeof e=="string"&&typeof t=="string"&&e.length>0&&t.length>0&&e.length<=$s&&t.length<=$s&&e!==t){if(e.includes(`
|
|
45
|
+
`)||t.includes(`
|
|
46
|
+
`))return xv(t,e,r);let[c]=_d(t,e),s=c.some(h=>h[0]===_e),d=Fv(n,a),p=d(n)+zv(Is(c,Oe,s)),f=d(a)+Hv(Is(c,Te,s));return`${p}
|
|
47
|
+
${f}`}let i=_s(e,{forceWritable:!0}),o=_s(t,{forceWritable:!0}),{replacedExpected:l,replacedActual:u}=Cd(i,o);return Bv(l,u,r)}function Cd(e,t,r=new WeakSet,n=new WeakSet){return js(e,t)?r.has(e)||n.has(t)?{replacedActual:e,replacedExpected:t}:(r.add(e),n.add(t),ud(t).forEach(a=>{let i=t[a],o=e[a];if(Ns(i))i.asymmetricMatch(o)&&(e[a]=i);else if(Ns(o))o.asymmetricMatch(i)&&(t[a]=o);else if(js(o,i)){let l=Cd(o,i,r,n);e[a]=l.replacedActual,t[a]=l.replacedExpected}}),{replacedActual:e,replacedExpected:t}):{replacedActual:e,replacedExpected:t}}function Fv(...e){let t=e.reduce((r,n)=>n.length>r?n.length:r,0);return r=>`${r}: ${" ".repeat(t-r.length)}`}var Uv="·";function Rd(e){return e.replace(/\s+$/gm,t=>Uv.repeat(t.length))}function Hv(e){return pt.red(Rd(Gr(e)))}function zv(e){return pt.green(Rd(Gr(e)))}function Is(e,t,r){return e.reduce((n,a)=>n+(a[0]===_e?a[1]:a[0]===t?r?pt.inverse(a[1]):a[1]:""),"")}var Vv="@@__IMMUTABLE_RECORD__@@",Gv="@@__IMMUTABLE_ITERABLE__@@";function Wv(e){return e&&(e[Gv]||e[Vv])}var Kv=Object.getPrototypeOf({});function Ls(e){return e instanceof Error?`<unserializable>: ${e.message}`:typeof e=="string"?`<unserializable>: ${e}`:"<unserializable>"}function nr(e,t=new WeakMap){if(!e||typeof e=="string")return e;if(typeof e=="function")return`Function<${e.name||"anonymous"}>`;if(typeof e=="symbol")return e.toString();if(typeof e!="object")return e;if(Wv(e))return nr(e.toJSON(),t);if(e instanceof Promise||e.constructor&&e.constructor.prototype==="AsyncFunction")return"Promise";if(typeof Element<"u"&&e instanceof Element)return e.tagName;if(typeof e.asymmetricMatch=="function")return`${e.toString()} ${av(e.sample)}`;if(typeof e.toJSON=="function")return nr(e.toJSON(),t);if(t.has(e))return t.get(e);if(Array.isArray(e)){let r=new Array(e.length);return t.set(e,r),e.forEach((n,a)=>{try{r[a]=nr(n,t)}catch(i){r[a]=Ls(i)}}),r}else{let r=Object.create(null);t.set(e,r);let n=e;for(;n&&n!==Kv;)Object.getOwnPropertyNames(n).forEach(a=>{if(!(a in r))try{r[a]=nr(e[a],t)}catch(i){delete r[a],r[a]=Ls(i)}}),n=Object.getPrototypeOf(n);return r}}function Yv(e){return e.replace(/__(vite_ssr_import|vi_import)_\d+__\./g,"")}function Td(e,t,r=new WeakSet){if(!e||typeof e!="object")return{message:String(e)};let n=e;n.stack&&(n.stackStr=String(n.stack)),n.name&&(n.nameStr=String(n.name)),(n.showDiff||n.showDiff===void 0&&n.expected!==void 0&&n.actual!==void 0)&&(n.diff=Dv(n.actual,n.expected,{...t,...n.diffOptions})),typeof n.expected!="string"&&(n.expected=Gr(n.expected,10)),typeof n.actual!="string"&&(n.actual=Gr(n.actual,10));try{typeof n.message=="string"&&(n.message=Yv(n.message))}catch{}try{!r.has(n)&&typeof n.cause=="object"&&(r.add(n),n.cause=Td(n.cause,t,r))}catch{}try{return nr(n)}catch(a){return nr(new Error(`Failed to fully serialize error: ${a==null?void 0:a.message}
|
|
48
|
+
Inner error message: ${n==null?void 0:n.message}`))}}var Jv=(e=>(e.DONE="done",e.ERROR="error",e.ACTIVE="active",e.WAITING="waiting",e))(Jv||{}),ct={CALL:"storybook/instrumenter/call",SYNC:"storybook/instrumenter/sync",START:"storybook/instrumenter/start",BACK:"storybook/instrumenter/back",GOTO:"storybook/instrumenter/goto",NEXT:"storybook/instrumenter/next",END:"storybook/instrumenter/end"},Bs={start:!1,back:!1,goto:!1,next:!1,end:!1},Xv=new Error("This function ran after the play function completed. Did you forget to `await` it?"),ks=e=>Object.prototype.toString.call(e)==="[object Object]",Qv=e=>Object.prototype.toString.call(e)==="[object Module]",Zv=e=>{if(!ks(e)&&!Qv(e))return!1;if(e.constructor===void 0)return!0;let t=e.constructor.prototype;return!!ks(t)},e_=e=>{try{return new e.constructor}catch{return{}}},Va=()=>({renderPhase:void 0,isDebugging:!1,isPlaying:!1,isLocked:!1,cursor:0,calls:[],shadowCalls:[],callRefsByResult:new Map,chainedCallIds:new Set,ancestors:[],playUntil:void 0,resolvers:{},syncTimeout:void 0}),Ds=(e,t=!1)=>{let r=(t?e.shadowCalls:e.calls).filter(a=>a.retain);if(!r.length)return;let n=new Map(Array.from(e.callRefsByResult.entries()).filter(([,a])=>a.retain));return{cursor:r.length,calls:r,callRefsByResult:n}},t_=class{constructor(){var o;this.initialized=!1,this.channel=dg.getChannel(),this.state=((o=Ne.window)==null?void 0:o.parent.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER_STATE__)||{};let e=({storyId:l,isPlaying:u=!0,isDebugging:c=!1})=>{let s=this.getState(l);this.setState(l,{...Va(),...Ds(s,c),shadowCalls:c?s.shadowCalls:[],chainedCallIds:c?s.chainedCallIds:new Set,playUntil:c?s.playUntil:void 0,isPlaying:u,isDebugging:c}),this.sync(l)};this.channel.on(Xl,e),this.channel.on(ug,({storyId:l,newPhase:u})=>{let{isDebugging:c}=this.getState(l);this.setState(l,{renderPhase:u}),u==="preparing"&&c&&e({storyId:l}),u==="playing"&&e({storyId:l,isDebugging:c}),u==="played"&&this.setState(l,{isLocked:!1,isPlaying:!1,isDebugging:!1}),u==="errored"&&this.setState(l,{isLocked:!1,isPlaying:!1})}),this.channel.on(cg,()=>{this.initialized?this.cleanup():this.initialized=!0});let t=({storyId:l,playUntil:u})=>{this.getState(l).isDebugging||this.setState(l,({calls:s})=>({calls:[],shadowCalls:s.map(d=>({...d,status:"waiting"})),isDebugging:!0}));let c=this.getLog(l);this.setState(l,({shadowCalls:s})=>{var p;if(u||!c.length)return{playUntil:u};let d=s.findIndex(f=>f.id===c[0].callId);return{playUntil:(p=s.slice(0,d).filter(f=>f.interceptable&&!f.ancestors.length).slice(-1)[0])==null?void 0:p.id}}),this.channel.emit(Xl,{storyId:l,isDebugging:!0})},r=({storyId:l})=>{var s;let u=this.getLog(l).filter(d=>!d.ancestors.length),c=u.reduceRight((d,p,f)=>d>=0||p.status==="waiting"?d:f,-1);t({storyId:l,playUntil:(s=u[c-1])==null?void 0:s.callId})},n=({storyId:l,callId:u})=>{var h;let{calls:c,shadowCalls:s,resolvers:d}=this.getState(l),p=c.find(({id:m})=>m===u),f=s.find(({id:m})=>m===u);if(!p&&f&&Object.values(d).length>0){let m=(h=this.getLog(l).find(g=>g.status==="waiting"))==null?void 0:h.callId;f.id!==m&&this.setState(l,{playUntil:f.id}),Object.values(d).forEach(g=>g())}else t({storyId:l,playUntil:u})},a=({storyId:l})=>{var c;let{resolvers:u}=this.getState(l);if(Object.values(u).length>0)Object.values(u).forEach(s=>s());else{let s=(c=this.getLog(l).find(d=>d.status==="waiting"))==null?void 0:c.callId;s?t({storyId:l,playUntil:s}):i({storyId:l})}},i=({storyId:l})=>{this.setState(l,{playUntil:void 0,isDebugging:!1}),Object.values(this.getState(l).resolvers).forEach(u=>u())};this.channel.on(ct.START,t),this.channel.on(ct.BACK,r),this.channel.on(ct.GOTO,n),this.channel.on(ct.NEXT,a),this.channel.on(ct.END,i)}getState(e){return this.state[e]||Va()}setState(e,t){var a;let r=this.getState(e),n=typeof t=="function"?t(r):t;this.state={...this.state,[e]:{...r,...n}},(a=Ne.window)!=null&&a.parent&&(Ne.window.parent.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER_STATE__=this.state)}cleanup(){var t;this.state=Object.entries(this.state).reduce((r,[n,a])=>{let i=Ds(a);return i&&(r[n]=Object.assign(Va(),i)),r},{});let e={controlStates:Bs,logItems:[]};this.channel.emit(ct.SYNC,e),(t=Ne.window)!=null&&t.parent&&(Ne.window.parent.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER_STATE__=this.state)}getLog(e){let{calls:t,shadowCalls:r}=this.getState(e),n=[...r];t.forEach((i,o)=>{n[o]=i});let a=new Set;return n.reduceRight((i,o)=>(o.args.forEach(l=>{l!=null&&l.__callId__&&a.add(l.__callId__)}),o.path.forEach(l=>{l.__callId__&&a.add(l.__callId__)}),(o.interceptable||o.exception)&&!a.has(o.id)&&(i.unshift({callId:o.id,status:o.status,ancestors:o.ancestors}),a.add(o.id)),i),[])}instrument(e,t,r=0){if(!Zv(e))return e;let{mutate:n=!1,path:a=[]}=t,i=t.getKeys?t.getKeys(e,r):Object.keys(e);return r+=1,i.reduce((o,l)=>{let u=r_(e,l);if(typeof(u==null?void 0:u.get)=="function"){let s=()=>{var d,p;return(p=(d=u==null?void 0:u.get)==null?void 0:d.bind(e))==null?void 0:p()};return Object.defineProperty(o,l,{get:()=>this.instrument(s(),{...t,path:a.concat(l)},r)}),o}let c=e[l];return typeof c!="function"?(o[l]=this.instrument(c,{...t,path:a.concat(l)},r),o):"__originalFn__"in c&&typeof c.__originalFn__=="function"?(o[l]=c,o):(o[l]=(...s)=>this.track(l,c,e,s,t),o[l].__originalFn__=c,Object.defineProperty(o[l],"name",{value:l,writable:!1}),Object.keys(c).length>0&&Object.assign(o[l],this.instrument({...c},{...t,path:a.concat(l)},r)),o)},n?e:e_(e))}track(e,t,r,n,a){var m,g,b,y;let i=((m=n==null?void 0:n[0])==null?void 0:m.__storyId__)||((y=(b=(g=Ne.__STORYBOOK_PREVIEW__)==null?void 0:g.selectionStore)==null?void 0:b.selection)==null?void 0:y.storyId),{cursor:o,ancestors:l}=this.getState(i);this.setState(i,{cursor:o+1});let u=`${l.slice(-1)[0]||i} [${o}] ${e}`,{path:c=[],intercept:s=!1,retain:d=!1}=a,p=typeof s=="function"?s(e,c):s,f={id:u,cursor:o,storyId:i,ancestors:l,path:c,method:e,args:n,interceptable:p,retain:d},h=(p&&!l.length?this.intercept:this.invoke).call(this,t,r,f,a);return this.instrument(h,{...a,mutate:!0,path:[{__callId__:f.id}]})}intercept(e,t,r,n){let{chainedCallIds:a,isDebugging:i,playUntil:o}=this.getState(r.storyId),l=a.has(r.id);return!i||l||o?(o===r.id&&this.setState(r.storyId,{playUntil:void 0}),this.invoke(e,t,r,n)):new Promise(u=>{this.setState(r.storyId,({resolvers:c})=>({isLocked:!1,resolvers:{...c,[r.id]:u}}))}).then(()=>(this.setState(r.storyId,u=>{let{[r.id]:c,...s}=u.resolvers;return{isLocked:!0,resolvers:s}}),this.invoke(e,t,r,n)))}invoke(e,t,r,n){let{callRefsByResult:a,renderPhase:i}=this.getState(r.storyId),o=25,l=(s,d,p)=>{var f,h,m;if(p.includes(s))return"[Circular]";if(p=[...p,s],d>o)return"...";if(a.has(s))return a.get(s);if(s instanceof Array)return s.map(g=>l(g,++d,p));if(s instanceof Date)return{__date__:{value:s.toISOString()}};if(s instanceof Error){let{name:g,message:b,stack:y}=s;return{__error__:{name:g,message:b,stack:y}}}if(s instanceof RegExp){let{flags:g,source:b}=s;return{__regexp__:{flags:g,source:b}}}if(s instanceof((f=Ne.window)==null?void 0:f.HTMLElement)){let{prefix:g,localName:b,id:y,classList:R,innerText:_}=s,C=Array.from(R);return{__element__:{prefix:g,localName:b,id:y,classNames:C,innerText:_}}}return typeof s=="function"?{__function__:{name:"getMockName"in s?s.getMockName():s.name}}:typeof s=="symbol"?{__symbol__:{description:s.description}}:typeof s=="object"&&((h=s==null?void 0:s.constructor)!=null&&h.name)&&((m=s==null?void 0:s.constructor)==null?void 0:m.name)!=="Object"?{__class__:{name:s.constructor.name}}:Object.prototype.toString.call(s)==="[object Object]"?Object.fromEntries(Object.entries(s).map(([g,b])=>[g,l(b,++d,p)])):s},u={...r,args:r.args.map(s=>l(s,0,[]))};r.path.forEach(s=>{s!=null&&s.__callId__&&this.setState(r.storyId,({chainedCallIds:d})=>({chainedCallIds:new Set(Array.from(d).concat(s.__callId__))}))});let c=s=>{if(s instanceof Error){let{name:d,message:p,stack:f,callId:h=r.id}=s,{showDiff:m=void 0,diff:g=void 0,actual:b=void 0,expected:y=void 0}=s.name==="AssertionError"?Td(s):s,R={name:d,message:p,stack:f,callId:h,showDiff:m,diff:g,actual:b,expected:y};if(this.update({...u,status:"error",exception:R}),this.setState(r.storyId,_=>({callRefsByResult:new Map([...Array.from(_.callRefsByResult.entries()),[s,{__callId__:r.id,retain:r.retain}]])})),r.ancestors.length)throw Object.prototype.hasOwnProperty.call(s,"callId")||Object.defineProperty(s,"callId",{value:r.id}),s}throw s};try{if(i==="played"&&!r.retain)throw Xv;let s=(n.getArgs?n.getArgs(r,this.getState(r.storyId)):r.args).map(p=>typeof p!="function"||Object.keys(p).length?p:(...f)=>{let{cursor:h,ancestors:m}=this.getState(r.storyId);this.setState(r.storyId,{cursor:0,ancestors:[...m,r.id]});let g=()=>this.setState(r.storyId,{cursor:h,ancestors:m}),b=!1;try{let y=p(...f);return y instanceof Promise?(b=!0,y.finally(g)):y}finally{b||g()}}),d=e.apply(t,s);return d&&["object","function","symbol"].includes(typeof d)&&this.setState(r.storyId,p=>({callRefsByResult:new Map([...Array.from(p.callRefsByResult.entries()),[d,{__callId__:r.id,retain:r.retain}]])})),this.update({...u,status:d instanceof Promise?"active":"done"}),d instanceof Promise?d.then(p=>(this.update({...u,status:"done"}),p),c):d}catch(s){return c(s)}}update(e){this.channel.emit(ct.CALL,e),this.setState(e.storyId,({calls:t})=>{let r=t.concat(e).reduce((n,a)=>Object.assign(n,{[a.id]:a}),{});return{calls:Object.values(r).sort((n,a)=>n.id.localeCompare(a.id,void 0,{numeric:!0}))}}),this.sync(e.storyId)}sync(e){let t=()=>{var c;let{isLocked:r,isPlaying:n}=this.getState(e),a=this.getLog(e),i=(c=a.filter(({ancestors:s})=>!s.length).find(s=>s.status==="waiting"))==null?void 0:c.callId,o=a.some(s=>s.status==="active");if(r||o||a.length===0){let s={controlStates:Bs,logItems:a};this.channel.emit(ct.SYNC,s);return}let l=a.some(s=>s.status==="done"||s.status==="error"),u={controlStates:{start:l,back:l,goto:!0,next:n,end:n},logItems:a,pausedAt:i};this.channel.emit(ct.SYNC,u)};this.setState(e,({syncTimeout:r})=>(clearTimeout(r),{syncTimeout:setTimeout(t,0)}))}};function la(e,t={}){var r,n,a,i,o,l,u,c;try{let s=!1,d=!1;return(a=(n=(r=Ne.window)==null?void 0:r.location)==null?void 0:n.search)!=null&&a.includes("instrument=true")?s=!0:(l=(o=(i=Ne.window)==null?void 0:i.location)==null?void 0:o.search)!=null&&l.includes("instrument=false")&&(d=!0),((u=Ne.window)==null?void 0:u.parent)===Ne.window&&!s||d?e:(Ne.window&&!Ne.window.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER__&&(Ne.window.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER__=new t_),((c=Ne.window)==null?void 0:c.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER__).instrument(e,t))}catch(s){return sg.warn(s),e}}function r_(e,t){let r=e;for(;r!=null;){let n=Object.getOwnPropertyDescriptor(r,t);if(n)return n;r=Object.getPrototypeOf(r)}}var vi={};const{global:Pd}=__STORYBOOK_MODULE_GLOBAL__,{once:n_}=__STORYBOOK_MODULE_CLIENT_LOGGER__;var a_=Object.create,Oo=Object.defineProperty,i_=Object.getOwnPropertyDescriptor,Sd=Object.getOwnPropertyNames,o_=Object.getPrototypeOf,l_=Object.prototype.hasOwnProperty,s_=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(t,r)=>(typeof require<"u"?require:t)[r]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')}),T=(e,t)=>function(){return t||(0,e[Sd(e)[0]])((t={exports:{}}).exports,t),t.exports},Ao=(e,t)=>{for(var r in t)Oo(e,r,{get:t[r],enumerable:!0})},u_=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of Sd(t))!l_.call(e,a)&&a!==r&&Oo(e,a,{get:()=>t[a],enumerable:!(n=i_(t,a))||n.enumerable});return e},Fe=(e,t,r)=>(r=e!=null?a_(o_(e)):{},u_(t||!e||!e.__esModule?Oo(r,"default",{value:e,enumerable:!0}):r,e)),c_=T({"../../node_modules/min-indent/index.js"(e,t){t.exports=r=>{let n=r.match(/^[ \t]*(?=\S)/gm);return n?n.reduce((a,i)=>Math.min(a,i.length),1/0):0}}}),d_=T({"../../node_modules/strip-indent/index.js"(e,t){var r=c_();t.exports=n=>{let a=r(n);if(a===0)return n;let i=new RegExp(`^[ \\t]{${a}}`,"gm");return n.replace(i,"")}}}),f_=T({"../../node_modules/indent-string/index.js"(e,t){t.exports=(r,n=1,a)=>{if(a={indent:" ",includeEmptyLines:!1,...a},typeof r!="string")throw new TypeError(`Expected \`input\` to be a \`string\`, got \`${typeof r}\``);if(typeof n!="number")throw new TypeError(`Expected \`count\` to be a \`number\`, got \`${typeof n}\``);if(typeof a.indent!="string")throw new TypeError(`Expected \`options.indent\` to be a \`string\`, got \`${typeof a.indent}\``);if(n===0)return r;let i=a.includeEmptyLines?/^/gm:/^(?!\s*$)/gm;return r.replace(i,a.indent.repeat(n))}}}),Od=T({"../../node_modules/redent/index.js"(e,t){var r=d_(),n=f_();t.exports=(a,i=0,o)=>n(r(a),i,o)}}),p_=T({"../../node_modules/aria-query/lib/util/iteratorProxy.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;function t(){var n=this,a=0,i={"@@iterator":function(){return i},next:function(){if(a<n.length){var o=n[a];return a=a+1,{done:!1,value:o}}else return{done:!0}}};return i}var r=t;e.default=r}}),cn=T({"../../node_modules/aria-query/lib/util/iterationDecorator.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=a;var t=r(p_());function r(i){return i&&i.__esModule?i:{default:i}}function n(i){"@babel/helpers - typeof";return n=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(o){return typeof o}:function(o){return o&&typeof Symbol=="function"&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o},n(i)}function a(i,o){return typeof Symbol=="function"&&n(Symbol.iterator)==="symbol"&&Object.defineProperty(i,Symbol.iterator,{value:t.default.bind(o)}),i}}}),h_=T({"../../node_modules/aria-query/lib/ariaPropsMap.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(cn());function r(f){return f&&f.__esModule?f:{default:f}}function n(f,h){return o(f)||i(f,h)||u(f,h)||a()}function a(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
49
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function i(f,h){var m=f==null?null:typeof Symbol<"u"&&f[Symbol.iterator]||f["@@iterator"];if(m!=null){var g=[],b=!0,y=!1,R,_;try{for(m=m.call(f);!(b=(R=m.next()).done)&&(g.push(R.value),!(h&&g.length===h));b=!0);}catch(C){y=!0,_=C}finally{try{!b&&m.return!=null&&m.return()}finally{if(y)throw _}}return g}}function o(f){if(Array.isArray(f))return f}function l(f,h){var m=typeof Symbol<"u"&&f[Symbol.iterator]||f["@@iterator"];if(!m){if(Array.isArray(f)||(m=u(f))||h){m&&(f=m);var g=0,b=function(){};return{s:b,n:function(){return g>=f.length?{done:!0}:{done:!1,value:f[g++]}},e:function(C){throw C},f:b}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
50
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var y=!0,R=!1,_;return{s:function(){m=m.call(f)},n:function(){var C=m.next();return y=C.done,C},e:function(C){R=!0,_=C},f:function(){try{!y&&m.return!=null&&m.return()}finally{if(R)throw _}}}}function u(f,h){if(f){if(typeof f=="string")return c(f,h);var m=Object.prototype.toString.call(f).slice(8,-1);if(m==="Object"&&f.constructor&&(m=f.constructor.name),m==="Map"||m==="Set")return Array.from(f);if(m==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(m))return c(f,h)}}function c(f,h){(h==null||h>f.length)&&(h=f.length);for(var m=0,g=new Array(h);m<h;m++)g[m]=f[m];return g}var s=[["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 s},forEach:function(f){var h=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,m=l(s),g;try{for(m.s();!(g=m.n()).done;){var b=n(g.value,2),y=b[0],R=b[1];f.call(h,R,y,s)}}catch(_){m.e(_)}finally{m.f()}},get:function(f){var h=s.find(function(m){return m[0]===f});return h&&h[1]},has:function(f){return!!d.get(f)},keys:function(){return s.map(function(f){var h=n(f,1),m=h[0];return m})},values:function(){return s.map(function(f){var h=n(f,2),m=h[1];return m})}},p=(0,t.default)(d,d.entries());e.default=p}}),m_=T({"../../node_modules/aria-query/lib/domMap.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(cn());function r(f){return f&&f.__esModule?f:{default:f}}function n(f,h){return o(f)||i(f,h)||u(f,h)||a()}function a(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
51
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function i(f,h){var m=f==null?null:typeof Symbol<"u"&&f[Symbol.iterator]||f["@@iterator"];if(m!=null){var g=[],b=!0,y=!1,R,_;try{for(m=m.call(f);!(b=(R=m.next()).done)&&(g.push(R.value),!(h&&g.length===h));b=!0);}catch(C){y=!0,_=C}finally{try{!b&&m.return!=null&&m.return()}finally{if(y)throw _}}return g}}function o(f){if(Array.isArray(f))return f}function l(f,h){var m=typeof Symbol<"u"&&f[Symbol.iterator]||f["@@iterator"];if(!m){if(Array.isArray(f)||(m=u(f))||h){m&&(f=m);var g=0,b=function(){};return{s:b,n:function(){return g>=f.length?{done:!0}:{done:!1,value:f[g++]}},e:function(C){throw C},f:b}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
52
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var y=!0,R=!1,_;return{s:function(){m=m.call(f)},n:function(){var C=m.next();return y=C.done,C},e:function(C){R=!0,_=C},f:function(){try{!y&&m.return!=null&&m.return()}finally{if(R)throw _}}}}function u(f,h){if(f){if(typeof f=="string")return c(f,h);var m=Object.prototype.toString.call(f).slice(8,-1);if(m==="Object"&&f.constructor&&(m=f.constructor.name),m==="Map"||m==="Set")return Array.from(f);if(m==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(m))return c(f,h)}}function c(f,h){(h==null||h>f.length)&&(h=f.length);for(var m=0,g=new Array(h);m<h;m++)g[m]=f[m];return g}var s=[["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 s},forEach:function(f){var h=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,m=l(s),g;try{for(m.s();!(g=m.n()).done;){var b=n(g.value,2),y=b[0],R=b[1];f.call(h,R,y,s)}}catch(_){m.e(_)}finally{m.f()}},get:function(f){var h=s.find(function(m){return m[0]===f});return h&&h[1]},has:function(f){return!!d.get(f)},keys:function(){return s.map(function(f){var h=n(f,1),m=h[0];return m})},values:function(){return s.map(function(f){var h=n(f,2),m=h[1];return m})}},p=(0,t.default)(d,d.entries());e.default=p}}),b_=T({"../../node_modules/aria-query/lib/etc/roles/abstract/commandRole.js"(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"]]},r=t;e.default=r}}),g_=T({"../../node_modules/aria-query/lib/etc/roles/abstract/compositeRole.js"(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"]]},r=t;e.default=r}}),y_=T({"../../node_modules/aria-query/lib/etc/roles/abstract/inputRole.js"(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"]]},r=t;e.default=r}}),v_=T({"../../node_modules/aria-query/lib/etc/roles/abstract/landmarkRole.js"(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"]]},r=t;e.default=r}}),__=T({"../../node_modules/aria-query/lib/etc/roles/abstract/rangeRole.js"(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"]]},r=t;e.default=r}}),E_=T({"../../node_modules/aria-query/lib/etc/roles/abstract/roletypeRole.js"(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:[]},r=t;e.default=r}}),w_=T({"../../node_modules/aria-query/lib/etc/roles/abstract/sectionRole.js"(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"]]},r=t;e.default=r}}),C_=T({"../../node_modules/aria-query/lib/etc/roles/abstract/sectionheadRole.js"(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"]]},r=t;e.default=r}}),R_=T({"../../node_modules/aria-query/lib/etc/roles/abstract/selectRole.js"(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"]]},r=t;e.default=r}}),T_=T({"../../node_modules/aria-query/lib/etc/roles/abstract/structureRole.js"(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"]]},r=t;e.default=r}}),P_=T({"../../node_modules/aria-query/lib/etc/roles/abstract/widgetRole.js"(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"]]},r=t;e.default=r}}),S_=T({"../../node_modules/aria-query/lib/etc/roles/abstract/windowRole.js"(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"]]},r=t;e.default=r}}),O_=T({"../../node_modules/aria-query/lib/etc/roles/ariaAbstractRoles.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=f(b_()),r=f(g_()),n=f(y_()),a=f(v_()),i=f(__()),o=f(E_()),l=f(w_()),u=f(C_()),c=f(R_()),s=f(T_()),d=f(P_()),p=f(S_());function f(g){return g&&g.__esModule?g:{default:g}}var h=[["command",t.default],["composite",r.default],["input",n.default],["landmark",a.default],["range",i.default],["roletype",o.default],["section",l.default],["sectionhead",u.default],["select",c.default],["structure",s.default],["widget",d.default],["window",p.default]],m=h;e.default=m}}),A_=T({"../../node_modules/aria-query/lib/etc/roles/literal/alertRole.js"(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"]]},r=t;e.default=r}}),q_=T({"../../node_modules/aria-query/lib/etc/roles/literal/alertdialogRole.js"(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"]]},r=t;e.default=r}}),x_=T({"../../node_modules/aria-query/lib/etc/roles/literal/applicationRole.js"(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"]]},r=t;e.default=r}}),M_=T({"../../node_modules/aria-query/lib/etc/roles/literal/articleRole.js"(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"]]},r=t;e.default=r}}),$_=T({"../../node_modules/aria-query/lib/etc/roles/literal/bannerRole.js"(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"]]},r=t;e.default=r}}),N_=T({"../../node_modules/aria-query/lib/etc/roles/literal/blockquoteRole.js"(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"]]},r=t;e.default=r}}),j_=T({"../../node_modules/aria-query/lib/etc/roles/literal/buttonRole.js"(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"]]},r=t;e.default=r}}),I_=T({"../../node_modules/aria-query/lib/etc/roles/literal/captionRole.js"(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"]]},r=t;e.default=r}}),L_=T({"../../node_modules/aria-query/lib/etc/roles/literal/cellRole.js"(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"]]},r=t;e.default=r}}),B_=T({"../../node_modules/aria-query/lib/etc/roles/literal/checkboxRole.js"(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"]]},r=t;e.default=r}}),k_=T({"../../node_modules/aria-query/lib/etc/roles/literal/codeRole.js"(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"]]},r=t;e.default=r}}),D_=T({"../../node_modules/aria-query/lib/etc/roles/literal/columnheaderRole.js"(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"]]},r=t;e.default=r}}),F_=T({"../../node_modules/aria-query/lib/etc/roles/literal/comboboxRole.js"(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"]]},r=t;e.default=r}}),U_=T({"../../node_modules/aria-query/lib/etc/roles/literal/complementaryRole.js"(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"]]},r=t;e.default=r}}),H_=T({"../../node_modules/aria-query/lib/etc/roles/literal/contentinfoRole.js"(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"]]},r=t;e.default=r}}),z_=T({"../../node_modules/aria-query/lib/etc/roles/literal/definitionRole.js"(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"]]},r=t;e.default=r}}),V_=T({"../../node_modules/aria-query/lib/etc/roles/literal/deletionRole.js"(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"]]},r=t;e.default=r}}),G_=T({"../../node_modules/aria-query/lib/etc/roles/literal/dialogRole.js"(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"]]},r=t;e.default=r}}),W_=T({"../../node_modules/aria-query/lib/etc/roles/literal/directoryRole.js"(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"]]},r=t;e.default=r}}),K_=T({"../../node_modules/aria-query/lib/etc/roles/literal/documentRole.js"(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"]]},r=t;e.default=r}}),Y_=T({"../../node_modules/aria-query/lib/etc/roles/literal/emphasisRole.js"(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"]]},r=t;e.default=r}}),J_=T({"../../node_modules/aria-query/lib/etc/roles/literal/feedRole.js"(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"]]},r=t;e.default=r}}),X_=T({"../../node_modules/aria-query/lib/etc/roles/literal/figureRole.js"(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"]]},r=t;e.default=r}}),Q_=T({"../../node_modules/aria-query/lib/etc/roles/literal/formRole.js"(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"]]},r=t;e.default=r}}),Z_=T({"../../node_modules/aria-query/lib/etc/roles/literal/genericRole.js"(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"]]},r=t;e.default=r}}),eE=T({"../../node_modules/aria-query/lib/etc/roles/literal/gridRole.js"(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"]]},r=t;e.default=r}}),tE=T({"../../node_modules/aria-query/lib/etc/roles/literal/gridcellRole.js"(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"]]},r=t;e.default=r}}),rE=T({"../../node_modules/aria-query/lib/etc/roles/literal/groupRole.js"(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"]]},r=t;e.default=r}}),nE=T({"../../node_modules/aria-query/lib/etc/roles/literal/headingRole.js"(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"]]},r=t;e.default=r}}),aE=T({"../../node_modules/aria-query/lib/etc/roles/literal/imgRole.js"(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"]]},r=t;e.default=r}}),iE=T({"../../node_modules/aria-query/lib/etc/roles/literal/insertionRole.js"(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"]]},r=t;e.default=r}}),oE=T({"../../node_modules/aria-query/lib/etc/roles/literal/linkRole.js"(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"]]},r=t;e.default=r}}),lE=T({"../../node_modules/aria-query/lib/etc/roles/literal/listRole.js"(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"]]},r=t;e.default=r}}),sE=T({"../../node_modules/aria-query/lib/etc/roles/literal/listboxRole.js"(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"]]},r=t;e.default=r}}),uE=T({"../../node_modules/aria-query/lib/etc/roles/literal/listitemRole.js"(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"]]},r=t;e.default=r}}),cE=T({"../../node_modules/aria-query/lib/etc/roles/literal/logRole.js"(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"]]},r=t;e.default=r}}),dE=T({"../../node_modules/aria-query/lib/etc/roles/literal/mainRole.js"(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"]]},r=t;e.default=r}}),fE=T({"../../node_modules/aria-query/lib/etc/roles/literal/markRole.js"(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"]]},r=t;e.default=r}}),pE=T({"../../node_modules/aria-query/lib/etc/roles/literal/marqueeRole.js"(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"]]},r=t;e.default=r}}),hE=T({"../../node_modules/aria-query/lib/etc/roles/literal/mathRole.js"(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"]]},r=t;e.default=r}}),mE=T({"../../node_modules/aria-query/lib/etc/roles/literal/menuRole.js"(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"]]},r=t;e.default=r}}),bE=T({"../../node_modules/aria-query/lib/etc/roles/literal/menubarRole.js"(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"]]},r=t;e.default=r}}),gE=T({"../../node_modules/aria-query/lib/etc/roles/literal/menuitemRole.js"(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"]]},r=t;e.default=r}}),yE=T({"../../node_modules/aria-query/lib/etc/roles/literal/menuitemcheckboxRole.js"(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"]]},r=t;e.default=r}}),vE=T({"../../node_modules/aria-query/lib/etc/roles/literal/menuitemradioRole.js"(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"]]},r=t;e.default=r}}),_E=T({"../../node_modules/aria-query/lib/etc/roles/literal/meterRole.js"(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"]]},r=t;e.default=r}}),EE=T({"../../node_modules/aria-query/lib/etc/roles/literal/navigationRole.js"(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"]]},r=t;e.default=r}}),wE=T({"../../node_modules/aria-query/lib/etc/roles/literal/noneRole.js"(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:[]},r=t;e.default=r}}),CE=T({"../../node_modules/aria-query/lib/etc/roles/literal/noteRole.js"(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"]]},r=t;e.default=r}}),RE=T({"../../node_modules/aria-query/lib/etc/roles/literal/optionRole.js"(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"]]},r=t;e.default=r}}),TE=T({"../../node_modules/aria-query/lib/etc/roles/literal/paragraphRole.js"(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"]]},r=t;e.default=r}}),PE=T({"../../node_modules/aria-query/lib/etc/roles/literal/presentationRole.js"(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"]]},r=t;e.default=r}}),SE=T({"../../node_modules/aria-query/lib/etc/roles/literal/progressbarRole.js"(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"]]},r=t;e.default=r}}),OE=T({"../../node_modules/aria-query/lib/etc/roles/literal/radioRole.js"(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"]]},r=t;e.default=r}}),AE=T({"../../node_modules/aria-query/lib/etc/roles/literal/radiogroupRole.js"(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"]]},r=t;e.default=r}}),qE=T({"../../node_modules/aria-query/lib/etc/roles/literal/regionRole.js"(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"]]},r=t;e.default=r}}),xE=T({"../../node_modules/aria-query/lib/etc/roles/literal/rowRole.js"(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"]]},r=t;e.default=r}}),ME=T({"../../node_modules/aria-query/lib/etc/roles/literal/rowgroupRole.js"(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"]]},r=t;e.default=r}}),$E=T({"../../node_modules/aria-query/lib/etc/roles/literal/rowheaderRole.js"(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"]]},r=t;e.default=r}}),NE=T({"../../node_modules/aria-query/lib/etc/roles/literal/scrollbarRole.js"(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"]]},r=t;e.default=r}}),jE=T({"../../node_modules/aria-query/lib/etc/roles/literal/searchRole.js"(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"]]},r=t;e.default=r}}),IE=T({"../../node_modules/aria-query/lib/etc/roles/literal/searchboxRole.js"(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"]]},r=t;e.default=r}}),LE=T({"../../node_modules/aria-query/lib/etc/roles/literal/separatorRole.js"(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"]]},r=t;e.default=r}}),BE=T({"../../node_modules/aria-query/lib/etc/roles/literal/sliderRole.js"(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"]]},r=t;e.default=r}}),kE=T({"../../node_modules/aria-query/lib/etc/roles/literal/spinbuttonRole.js"(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"]]},r=t;e.default=r}}),DE=T({"../../node_modules/aria-query/lib/etc/roles/literal/statusRole.js"(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"]]},r=t;e.default=r}}),FE=T({"../../node_modules/aria-query/lib/etc/roles/literal/strongRole.js"(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"]]},r=t;e.default=r}}),UE=T({"../../node_modules/aria-query/lib/etc/roles/literal/subscriptRole.js"(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"]]},r=t;e.default=r}}),HE=T({"../../node_modules/aria-query/lib/etc/roles/literal/superscriptRole.js"(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"]]},r=t;e.default=r}}),zE=T({"../../node_modules/aria-query/lib/etc/roles/literal/switchRole.js"(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"]]},r=t;e.default=r}}),VE=T({"../../node_modules/aria-query/lib/etc/roles/literal/tabRole.js"(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"]]},r=t;e.default=r}}),GE=T({"../../node_modules/aria-query/lib/etc/roles/literal/tableRole.js"(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"]]},r=t;e.default=r}}),WE=T({"../../node_modules/aria-query/lib/etc/roles/literal/tablistRole.js"(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"]]},r=t;e.default=r}}),KE=T({"../../node_modules/aria-query/lib/etc/roles/literal/tabpanelRole.js"(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"]]},r=t;e.default=r}}),YE=T({"../../node_modules/aria-query/lib/etc/roles/literal/termRole.js"(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"]]},r=t;e.default=r}}),JE=T({"../../node_modules/aria-query/lib/etc/roles/literal/textboxRole.js"(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"]]},r=t;e.default=r}}),XE=T({"../../node_modules/aria-query/lib/etc/roles/literal/timeRole.js"(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"]]},r=t;e.default=r}}),QE=T({"../../node_modules/aria-query/lib/etc/roles/literal/timerRole.js"(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"]]},r=t;e.default=r}}),ZE=T({"../../node_modules/aria-query/lib/etc/roles/literal/toolbarRole.js"(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"]]},r=t;e.default=r}}),ew=T({"../../node_modules/aria-query/lib/etc/roles/literal/tooltipRole.js"(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"]]},r=t;e.default=r}}),tw=T({"../../node_modules/aria-query/lib/etc/roles/literal/treeRole.js"(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"]]},r=t;e.default=r}}),rw=T({"../../node_modules/aria-query/lib/etc/roles/literal/treegridRole.js"(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"]]},r=t;e.default=r}}),nw=T({"../../node_modules/aria-query/lib/etc/roles/literal/treeitemRole.js"(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"]]},r=t;e.default=r}}),aw=T({"../../node_modules/aria-query/lib/etc/roles/ariaLiteralRoles.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=H(A_()),r=H(q_()),n=H(x_()),a=H(M_()),i=H($_()),o=H(N_()),l=H(j_()),u=H(I_()),c=H(L_()),s=H(B_()),d=H(k_()),p=H(D_()),f=H(F_()),h=H(U_()),m=H(H_()),g=H(z_()),b=H(V_()),y=H(G_()),R=H(W_()),_=H(K_()),C=H(Y_()),w=H(J_()),v=H(X_()),E=H(Q_()),O=H(Z_()),M=H(eE()),N=H(tE()),k=H(rE()),j=H(nE()),I=H(aE()),B=H(iE()),z=H(oE()),K=H(lE()),W=H(sE()),re=H(uE()),me=H(cE()),de=H(dE()),F=H(fE()),L=H(pE()),D=H(hE()),G=H(mE()),Y=H(bE()),ne=H(gE()),fe=H(yE()),Be=H(vE()),q=H(_E()),V=H(EE()),U=H(wE()),Q=H(CE()),$=H(RE()),se=H(TE()),ue=H(PE()),we=H(SE()),st=H(OE()),Ab=H(AE()),qb=H(qE()),xb=H(xE()),Mb=H(ME()),$b=H($E()),Nb=H(NE()),jb=H(jE()),Ib=H(IE()),Lb=H(LE()),Bb=H(BE()),kb=H(kE()),Db=H(DE()),Fb=H(FE()),Ub=H(UE()),Hb=H(HE()),zb=H(zE()),Vb=H(VE()),Gb=H(GE()),Wb=H(WE()),Kb=H(KE()),Yb=H(YE()),Jb=H(JE()),Xb=H(XE()),Qb=H(QE()),Zb=H(ZE()),eg=H(ew()),tg=H(tw()),rg=H(rw()),ng=H(nw());function H(vn){return vn&&vn.__esModule?vn:{default:vn}}var ag=[["alert",t.default],["alertdialog",r.default],["application",n.default],["article",a.default],["banner",i.default],["blockquote",o.default],["button",l.default],["caption",u.default],["cell",c.default],["checkbox",s.default],["code",d.default],["columnheader",p.default],["combobox",f.default],["complementary",h.default],["contentinfo",m.default],["definition",g.default],["deletion",b.default],["dialog",y.default],["directory",R.default],["document",_.default],["emphasis",C.default],["feed",w.default],["figure",v.default],["form",E.default],["generic",O.default],["grid",M.default],["gridcell",N.default],["group",k.default],["heading",j.default],["img",I.default],["insertion",B.default],["link",z.default],["list",K.default],["listbox",W.default],["listitem",re.default],["log",me.default],["main",de.default],["mark",F.default],["marquee",L.default],["math",D.default],["menu",G.default],["menubar",Y.default],["menuitem",ne.default],["menuitemcheckbox",fe.default],["menuitemradio",Be.default],["meter",q.default],["navigation",V.default],["none",U.default],["note",Q.default],["option",$.default],["paragraph",se.default],["presentation",ue.default],["progressbar",we.default],["radio",st.default],["radiogroup",Ab.default],["region",qb.default],["row",xb.default],["rowgroup",Mb.default],["rowheader",$b.default],["scrollbar",Nb.default],["search",jb.default],["searchbox",Ib.default],["separator",Lb.default],["slider",Bb.default],["spinbutton",kb.default],["status",Db.default],["strong",Fb.default],["subscript",Ub.default],["superscript",Hb.default],["switch",zb.default],["tab",Vb.default],["table",Gb.default],["tablist",Wb.default],["tabpanel",Kb.default],["term",Yb.default],["textbox",Jb.default],["time",Xb.default],["timer",Qb.default],["toolbar",Zb.default],["tooltip",eg.default],["tree",tg.default],["treegrid",rg.default],["treeitem",ng.default]],ig=ag;e.default=ig}}),iw=T({"../../node_modules/aria-query/lib/etc/roles/dpub/docAbstractRole.js"(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"]]},r=t;e.default=r}}),ow=T({"../../node_modules/aria-query/lib/etc/roles/dpub/docAcknowledgmentsRole.js"(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"]]},r=t;e.default=r}}),lw=T({"../../node_modules/aria-query/lib/etc/roles/dpub/docAfterwordRole.js"(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"]]},r=t;e.default=r}}),sw=T({"../../node_modules/aria-query/lib/etc/roles/dpub/docAppendixRole.js"(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"]]},r=t;e.default=r}}),uw=T({"../../node_modules/aria-query/lib/etc/roles/dpub/docBacklinkRole.js"(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"]]},r=t;e.default=r}}),cw=T({"../../node_modules/aria-query/lib/etc/roles/dpub/docBiblioentryRole.js"(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"]]},r=t;e.default=r}}),dw=T({"../../node_modules/aria-query/lib/etc/roles/dpub/docBibliographyRole.js"(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"]]},r=t;e.default=r}}),fw=T({"../../node_modules/aria-query/lib/etc/roles/dpub/docBibliorefRole.js"(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"]]},r=t;e.default=r}}),pw=T({"../../node_modules/aria-query/lib/etc/roles/dpub/docChapterRole.js"(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"]]},r=t;e.default=r}}),hw=T({"../../node_modules/aria-query/lib/etc/roles/dpub/docColophonRole.js"(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"]]},r=t;e.default=r}}),mw=T({"../../node_modules/aria-query/lib/etc/roles/dpub/docConclusionRole.js"(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"]]},r=t;e.default=r}}),bw=T({"../../node_modules/aria-query/lib/etc/roles/dpub/docCoverRole.js"(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"]]},r=t;e.default=r}}),gw=T({"../../node_modules/aria-query/lib/etc/roles/dpub/docCreditRole.js"(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"]]},r=t;e.default=r}}),yw=T({"../../node_modules/aria-query/lib/etc/roles/dpub/docCreditsRole.js"(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"]]},r=t;e.default=r}}),vw=T({"../../node_modules/aria-query/lib/etc/roles/dpub/docDedicationRole.js"(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"]]},r=t;e.default=r}}),_w=T({"../../node_modules/aria-query/lib/etc/roles/dpub/docEndnoteRole.js"(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"]]},r=t;e.default=r}}),Ew=T({"../../node_modules/aria-query/lib/etc/roles/dpub/docEndnotesRole.js"(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"]]},r=t;e.default=r}}),ww=T({"../../node_modules/aria-query/lib/etc/roles/dpub/docEpigraphRole.js"(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"]]},r=t;e.default=r}}),Cw=T({"../../node_modules/aria-query/lib/etc/roles/dpub/docEpilogueRole.js"(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"]]},r=t;e.default=r}}),Rw=T({"../../node_modules/aria-query/lib/etc/roles/dpub/docErrataRole.js"(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"]]},r=t;e.default=r}}),Tw=T({"../../node_modules/aria-query/lib/etc/roles/dpub/docExampleRole.js"(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"]]},r=t;e.default=r}}),Pw=T({"../../node_modules/aria-query/lib/etc/roles/dpub/docFootnoteRole.js"(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"]]},r=t;e.default=r}}),Sw=T({"../../node_modules/aria-query/lib/etc/roles/dpub/docForewordRole.js"(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"]]},r=t;e.default=r}}),Ow=T({"../../node_modules/aria-query/lib/etc/roles/dpub/docGlossaryRole.js"(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"]]},r=t;e.default=r}}),Aw=T({"../../node_modules/aria-query/lib/etc/roles/dpub/docGlossrefRole.js"(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"]]},r=t;e.default=r}}),qw=T({"../../node_modules/aria-query/lib/etc/roles/dpub/docIndexRole.js"(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"]]},r=t;e.default=r}}),xw=T({"../../node_modules/aria-query/lib/etc/roles/dpub/docIntroductionRole.js"(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"]]},r=t;e.default=r}}),Mw=T({"../../node_modules/aria-query/lib/etc/roles/dpub/docNoterefRole.js"(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"]]},r=t;e.default=r}}),$w=T({"../../node_modules/aria-query/lib/etc/roles/dpub/docNoticeRole.js"(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"]]},r=t;e.default=r}}),Nw=T({"../../node_modules/aria-query/lib/etc/roles/dpub/docPagebreakRole.js"(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"]]},r=t;e.default=r}}),jw=T({"../../node_modules/aria-query/lib/etc/roles/dpub/docPagelistRole.js"(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"]]},r=t;e.default=r}}),Iw=T({"../../node_modules/aria-query/lib/etc/roles/dpub/docPartRole.js"(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"]]},r=t;e.default=r}}),Lw=T({"../../node_modules/aria-query/lib/etc/roles/dpub/docPrefaceRole.js"(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"]]},r=t;e.default=r}}),Bw=T({"../../node_modules/aria-query/lib/etc/roles/dpub/docPrologueRole.js"(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"]]},r=t;e.default=r}}),kw=T({"../../node_modules/aria-query/lib/etc/roles/dpub/docPullquoteRole.js"(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"]]},r=t;e.default=r}}),Dw=T({"../../node_modules/aria-query/lib/etc/roles/dpub/docQnaRole.js"(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"]]},r=t;e.default=r}}),Fw=T({"../../node_modules/aria-query/lib/etc/roles/dpub/docSubtitleRole.js"(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"]]},r=t;e.default=r}}),Uw=T({"../../node_modules/aria-query/lib/etc/roles/dpub/docTipRole.js"(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"]]},r=t;e.default=r}}),Hw=T({"../../node_modules/aria-query/lib/etc/roles/dpub/docTocRole.js"(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"]]},r=t;e.default=r}}),zw=T({"../../node_modules/aria-query/lib/etc/roles/ariaDpubRoles.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=D(iw()),r=D(ow()),n=D(lw()),a=D(sw()),i=D(uw()),o=D(cw()),l=D(dw()),u=D(fw()),c=D(pw()),s=D(hw()),d=D(mw()),p=D(bw()),f=D(gw()),h=D(yw()),m=D(vw()),g=D(_w()),b=D(Ew()),y=D(ww()),R=D(Cw()),_=D(Rw()),C=D(Tw()),w=D(Pw()),v=D(Sw()),E=D(Ow()),O=D(Aw()),M=D(qw()),N=D(xw()),k=D(Mw()),j=D($w()),I=D(Nw()),B=D(jw()),z=D(Iw()),K=D(Lw()),W=D(Bw()),re=D(kw()),me=D(Dw()),de=D(Fw()),F=D(Uw()),L=D(Hw());function D(ne){return ne&&ne.__esModule?ne:{default:ne}}var G=[["doc-abstract",t.default],["doc-acknowledgments",r.default],["doc-afterword",n.default],["doc-appendix",a.default],["doc-backlink",i.default],["doc-biblioentry",o.default],["doc-bibliography",l.default],["doc-biblioref",u.default],["doc-chapter",c.default],["doc-colophon",s.default],["doc-conclusion",d.default],["doc-cover",p.default],["doc-credit",f.default],["doc-credits",h.default],["doc-dedication",m.default],["doc-endnote",g.default],["doc-endnotes",b.default],["doc-epigraph",y.default],["doc-epilogue",R.default],["doc-errata",_.default],["doc-example",C.default],["doc-footnote",w.default],["doc-foreword",v.default],["doc-glossary",E.default],["doc-glossref",O.default],["doc-index",M.default],["doc-introduction",N.default],["doc-noteref",k.default],["doc-notice",j.default],["doc-pagebreak",I.default],["doc-pagelist",B.default],["doc-part",z.default],["doc-preface",K.default],["doc-prologue",W.default],["doc-pullquote",re.default],["doc-qna",me.default],["doc-subtitle",de.default],["doc-tip",F.default],["doc-toc",L.default]],Y=G;e.default=Y}}),Vw=T({"../../node_modules/aria-query/lib/etc/roles/graphics/graphicsDocumentRole.js"(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"]]},r=t;e.default=r}}),Gw=T({"../../node_modules/aria-query/lib/etc/roles/graphics/graphicsObjectRole.js"(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"]]},r=t;e.default=r}}),Ww=T({"../../node_modules/aria-query/lib/etc/roles/graphics/graphicsSymbolRole.js"(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"]]},r=t;e.default=r}}),Kw=T({"../../node_modules/aria-query/lib/etc/roles/ariaGraphicsRoles.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=a(Vw()),r=a(Gw()),n=a(Ww());function a(l){return l&&l.__esModule?l:{default:l}}var i=[["graphics-document",t.default],["graphics-object",r.default],["graphics-symbol",n.default]],o=i;e.default=o}}),qo=T({"../../node_modules/aria-query/lib/rolesMap.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=o(O_()),r=o(aw()),n=o(zw()),a=o(Kw()),i=o(cn());function o(y){return y&&y.__esModule?y:{default:y}}function l(y,R,_){return R in y?Object.defineProperty(y,R,{value:_,enumerable:!0,configurable:!0,writable:!0}):y[R]=_,y}function u(y,R){var _=typeof Symbol<"u"&&y[Symbol.iterator]||y["@@iterator"];if(!_){if(Array.isArray(y)||(_=d(y))||R){_&&(y=_);var C=0,w=function(){};return{s:w,n:function(){return C>=y.length?{done:!0}:{done:!1,value:y[C++]}},e:function(M){throw M},f:w}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
53
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var v=!0,E=!1,O;return{s:function(){_=_.call(y)},n:function(){var M=_.next();return v=M.done,M},e:function(M){E=!0,O=M},f:function(){try{!v&&_.return!=null&&_.return()}finally{if(E)throw O}}}}function c(y,R){return h(y)||f(y,R)||d(y,R)||s()}function s(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
54
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function d(y,R){if(y){if(typeof y=="string")return p(y,R);var _=Object.prototype.toString.call(y).slice(8,-1);if(_==="Object"&&y.constructor&&(_=y.constructor.name),_==="Map"||_==="Set")return Array.from(y);if(_==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(_))return p(y,R)}}function p(y,R){(R==null||R>y.length)&&(R=y.length);for(var _=0,C=new Array(R);_<R;_++)C[_]=y[_];return C}function f(y,R){var _=y==null?null:typeof Symbol<"u"&&y[Symbol.iterator]||y["@@iterator"];if(_!=null){var C=[],w=!0,v=!1,E,O;try{for(_=_.call(y);!(w=(E=_.next()).done)&&(C.push(E.value),!(R&&C.length===R));w=!0);}catch(M){v=!0,O=M}finally{try{!w&&_.return!=null&&_.return()}finally{if(v)throw O}}return C}}function h(y){if(Array.isArray(y))return y}var m=[].concat(t.default,r.default,n.default,a.default);m.forEach(function(y){var R=c(y,2),_=R[1],C=u(_.superClass),w;try{for(C.s();!(w=C.n()).done;){var v=w.value,E=u(v),O;try{var M=function(){var N=O.value,k=m.find(function(K){var W=c(K,1),re=W[0];return re===N});if(k)for(var j=k[1],I=0,B=Object.keys(j.props);I<B.length;I++){var z=B[I];Object.prototype.hasOwnProperty.call(_.props,z)||Object.assign(_.props,l({},z,j.props[z]))}};for(E.s();!(O=E.n()).done;)M()}catch(N){E.e(N)}finally{E.f()}}}catch(N){C.e(N)}finally{C.f()}});var g={entries:function(){return m},forEach:function(y){var R=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,_=u(m),C;try{for(_.s();!(C=_.n()).done;){var w=c(C.value,2),v=w[0],E=w[1];y.call(R,E,v,m)}}catch(O){_.e(O)}finally{_.f()}},get:function(y){var R=m.find(function(_){return _[0]===y});return R&&R[1]},has:function(y){return!!g.get(y)},keys:function(){return m.map(function(y){var R=c(y,1),_=R[0];return _})},values:function(){return m.map(function(y){var R=c(y,2),_=R[1];return _})}},b=(0,i.default)(g,g.entries());e.default=b}}),Yw=T({"../../node_modules/dequal/lite/index.js"(e){var t=Object.prototype.hasOwnProperty;function r(n,a){var i,o;if(n===a)return!0;if(n&&a&&(i=n.constructor)===a.constructor){if(i===Date)return n.getTime()===a.getTime();if(i===RegExp)return n.toString()===a.toString();if(i===Array){if((o=n.length)===a.length)for(;o--&&r(n[o],a[o]););return o===-1}if(!i||typeof n=="object"){o=0;for(i in n)if(t.call(n,i)&&++o&&!t.call(a,i)||!(i in a)||!r(n[i],a[i]))return!1;return Object.keys(a).length===o}}return n!==n&&a!==a}e.dequal=r}}),Jw=T({"../../node_modules/aria-query/lib/elementRoleMap.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=Yw(),r=a(cn()),n=a(qo());function a(w){return w&&w.__esModule?w:{default:w}}function i(w,v){return u(w)||l(w,v)||s(w,v)||o()}function o(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
55
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function l(w,v){var E=w==null?null:typeof Symbol<"u"&&w[Symbol.iterator]||w["@@iterator"];if(E!=null){var O=[],M=!0,N=!1,k,j;try{for(E=E.call(w);!(M=(k=E.next()).done)&&(O.push(k.value),!(v&&O.length===v));M=!0);}catch(I){N=!0,j=I}finally{try{!M&&E.return!=null&&E.return()}finally{if(N)throw j}}return O}}function u(w){if(Array.isArray(w))return w}function c(w,v){var E=typeof Symbol<"u"&&w[Symbol.iterator]||w["@@iterator"];if(!E){if(Array.isArray(w)||(E=s(w))||v){E&&(w=E);var O=0,M=function(){};return{s:M,n:function(){return O>=w.length?{done:!0}:{done:!1,value:w[O++]}},e:function(I){throw I},f:M}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
56
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var N=!0,k=!1,j;return{s:function(){E=E.call(w)},n:function(){var I=E.next();return N=I.done,I},e:function(I){k=!0,j=I},f:function(){try{!N&&E.return!=null&&E.return()}finally{if(k)throw j}}}}function s(w,v){if(w){if(typeof w=="string")return d(w,v);var E=Object.prototype.toString.call(w).slice(8,-1);if(E==="Object"&&w.constructor&&(E=w.constructor.name),E==="Map"||E==="Set")return Array.from(w);if(E==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(E))return d(w,v)}}function d(w,v){(v==null||v>w.length)&&(v=w.length);for(var E=0,O=new Array(v);E<v;E++)O[E]=w[E];return O}var p=[],f=n.default.keys();for(R=0;R<f.length;R++)if(h=f[R],m=n.default.get(h),m)for(g=[].concat(m.baseConcepts,m.relatedConcepts),y=0;y<g.length;y++)b=g[y],b.module==="HTML"&&function(){var w=b.concept;if(w){var v=p.find(function(N){return(0,t.dequal)(N,w)}),E;v?E=v[1]:E=[];for(var O=!0,M=0;M<E.length;M++)if(E[M]===h){O=!1;break}O&&E.push(h),p.push([w,E])}}();var h,m,g,b,y,R,_={entries:function(){return p},forEach:function(w){var v=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,E=c(p),O;try{for(E.s();!(O=E.n()).done;){var M=i(O.value,2),N=M[0],k=M[1];w.call(v,k,N,p)}}catch(j){E.e(j)}finally{E.f()}},get:function(w){var v=p.find(function(E){return w.name===E[0].name&&(0,t.dequal)(w.attributes,E[0].attributes)});return v&&v[1]},has:function(w){return!!_.get(w)},keys:function(){return p.map(function(w){var v=i(w,1),E=v[0];return E})},values:function(){return p.map(function(w){var v=i(w,2),E=v[1];return E})}},C=(0,r.default)(_,_.entries());e.default=C}}),Xw=T({"../../node_modules/aria-query/lib/roleElementMap.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=n(cn()),r=n(qo());function n(v){return v&&v.__esModule?v:{default:v}}function a(v,E){return l(v)||o(v,E)||c(v,E)||i()}function i(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
57
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function o(v,E){var O=v==null?null:typeof Symbol<"u"&&v[Symbol.iterator]||v["@@iterator"];if(O!=null){var M=[],N=!0,k=!1,j,I;try{for(O=O.call(v);!(N=(j=O.next()).done)&&(M.push(j.value),!(E&&M.length===E));N=!0);}catch(B){k=!0,I=B}finally{try{!N&&O.return!=null&&O.return()}finally{if(k)throw I}}return M}}function l(v){if(Array.isArray(v))return v}function u(v,E){var O=typeof Symbol<"u"&&v[Symbol.iterator]||v["@@iterator"];if(!O){if(Array.isArray(v)||(O=c(v))||E){O&&(v=O);var M=0,N=function(){};return{s:N,n:function(){return M>=v.length?{done:!0}:{done:!1,value:v[M++]}},e:function(B){throw B},f:N}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
58
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var k=!0,j=!1,I;return{s:function(){O=O.call(v)},n:function(){var B=O.next();return k=B.done,B},e:function(B){j=!0,I=B},f:function(){try{!k&&O.return!=null&&O.return()}finally{if(j)throw I}}}}function c(v,E){if(v){if(typeof v=="string")return s(v,E);var O=Object.prototype.toString.call(v).slice(8,-1);if(O==="Object"&&v.constructor&&(O=v.constructor.name),O==="Map"||O==="Set")return Array.from(v);if(O==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(O))return s(v,E)}}function s(v,E){(E==null||E>v.length)&&(E=v.length);for(var O=0,M=new Array(E);O<E;O++)M[O]=v[O];return M}var d=[],p=r.default.keys();for(_=0;_<p.length;_++)if(f=p[_],h=r.default.get(f),m=[],h){for(g=[].concat(h.baseConcepts,h.relatedConcepts),R=0;R<g.length;R++)b=g[R],b.module==="HTML"&&(y=b.concept,y!=null&&m.push(y));m.length>0&&d.push([f,m])}var f,h,m,g,b,y,R,_,C={entries:function(){return d},forEach:function(v){var E=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,O=u(d),M;try{for(O.s();!(M=O.n()).done;){var N=a(M.value,2),k=N[0],j=N[1];v.call(E,j,k,d)}}catch(I){O.e(I)}finally{O.f()}},get:function(v){var E=d.find(function(O){return O[0]===v});return E&&E[1]},has:function(v){return!!C.get(v)},keys:function(){return d.map(function(v){var E=a(v,1),O=E[0];return O})},values:function(){return d.map(function(v){var E=a(v,2),O=E[1];return O})}},w=(0,t.default)(C,C.entries());e.default=w}}),xo=T({"../../node_modules/aria-query/lib/index.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.roles=e.roleElements=e.elementRoles=e.dom=e.aria=void 0;var t=o(h_()),r=o(m_()),n=o(qo()),a=o(Jw()),i=o(Xw());function o(p){return p&&p.__esModule?p:{default:p}}var l=t.default;e.aria=l;var u=r.default;e.dom=u;var c=n.default;e.roles=c;var s=a.default;e.elementRoles=s;var d=i.default;e.roleElements=d}}),Qw=T({"../../node_modules/color-name/index.js"(e,t){t.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}}}),Ad=T({"../../node_modules/color-convert/conversions.js"(e,t){var r=Qw(),n={};for(let o of Object.keys(r))n[r[o]]=o;var a={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};t.exports=a;for(let o of Object.keys(a)){if(!("channels"in a[o]))throw new Error("missing channels property: "+o);if(!("labels"in a[o]))throw new Error("missing channel labels property: "+o);if(a[o].labels.length!==a[o].channels)throw new Error("channel and label counts mismatch: "+o);let{channels:l,labels:u}=a[o];delete a[o].channels,delete a[o].labels,Object.defineProperty(a[o],"channels",{value:l}),Object.defineProperty(a[o],"labels",{value:u})}a.rgb.hsl=function(o){let l=o[0]/255,u=o[1]/255,c=o[2]/255,s=Math.min(l,u,c),d=Math.max(l,u,c),p=d-s,f,h;d===s?f=0:l===d?f=(u-c)/p:u===d?f=2+(c-l)/p:c===d&&(f=4+(l-u)/p),f=Math.min(f*60,360),f<0&&(f+=360);let m=(s+d)/2;return d===s?h=0:m<=.5?h=p/(d+s):h=p/(2-d-s),[f,h*100,m*100]},a.rgb.hsv=function(o){let l,u,c,s,d,p=o[0]/255,f=o[1]/255,h=o[2]/255,m=Math.max(p,f,h),g=m-Math.min(p,f,h),b=function(y){return(m-y)/6/g+1/2};return g===0?(s=0,d=0):(d=g/m,l=b(p),u=b(f),c=b(h),p===m?s=c-u:f===m?s=1/3+l-c:h===m&&(s=2/3+u-l),s<0?s+=1:s>1&&(s-=1)),[s*360,d*100,m*100]},a.rgb.hwb=function(o){let l=o[0],u=o[1],c=o[2],s=a.rgb.hsl(o)[0],d=1/255*Math.min(l,Math.min(u,c));return c=1-1/255*Math.max(l,Math.max(u,c)),[s,d*100,c*100]},a.rgb.cmyk=function(o){let l=o[0]/255,u=o[1]/255,c=o[2]/255,s=Math.min(1-l,1-u,1-c),d=(1-l-s)/(1-s)||0,p=(1-u-s)/(1-s)||0,f=(1-c-s)/(1-s)||0;return[d*100,p*100,f*100,s*100]};function i(o,l){return(o[0]-l[0])**2+(o[1]-l[1])**2+(o[2]-l[2])**2}a.rgb.keyword=function(o){let l=n[o];if(l)return l;let u=1/0,c;for(let s of Object.keys(r)){let d=r[s],p=i(o,d);p<u&&(u=p,c=s)}return c},a.keyword.rgb=function(o){return r[o]},a.rgb.xyz=function(o){let l=o[0]/255,u=o[1]/255,c=o[2]/255;l=l>.04045?((l+.055)/1.055)**2.4:l/12.92,u=u>.04045?((u+.055)/1.055)**2.4:u/12.92,c=c>.04045?((c+.055)/1.055)**2.4:c/12.92;let s=l*.4124+u*.3576+c*.1805,d=l*.2126+u*.7152+c*.0722,p=l*.0193+u*.1192+c*.9505;return[s*100,d*100,p*100]},a.rgb.lab=function(o){let l=a.rgb.xyz(o),u=l[0],c=l[1],s=l[2];u/=95.047,c/=100,s/=108.883,u=u>.008856?u**(1/3):7.787*u+16/116,c=c>.008856?c**(1/3):7.787*c+16/116,s=s>.008856?s**(1/3):7.787*s+16/116;let d=116*c-16,p=500*(u-c),f=200*(c-s);return[d,p,f]},a.hsl.rgb=function(o){let l=o[0]/360,u=o[1]/100,c=o[2]/100,s,d,p;if(u===0)return p=c*255,[p,p,p];c<.5?s=c*(1+u):s=c+u-c*u;let f=2*c-s,h=[0,0,0];for(let m=0;m<3;m++)d=l+1/3*-(m-1),d<0&&d++,d>1&&d--,6*d<1?p=f+(s-f)*6*d:2*d<1?p=s:3*d<2?p=f+(s-f)*(2/3-d)*6:p=f,h[m]=p*255;return h},a.hsl.hsv=function(o){let l=o[0],u=o[1]/100,c=o[2]/100,s=u,d=Math.max(c,.01);c*=2,u*=c<=1?c:2-c,s*=d<=1?d:2-d;let p=(c+u)/2,f=c===0?2*s/(d+s):2*u/(c+u);return[l,f*100,p*100]},a.hsv.rgb=function(o){let l=o[0]/60,u=o[1]/100,c=o[2]/100,s=Math.floor(l)%6,d=l-Math.floor(l),p=255*c*(1-u),f=255*c*(1-u*d),h=255*c*(1-u*(1-d));switch(c*=255,s){case 0:return[c,h,p];case 1:return[f,c,p];case 2:return[p,c,h];case 3:return[p,f,c];case 4:return[h,p,c];case 5:return[c,p,f]}},a.hsv.hsl=function(o){let l=o[0],u=o[1]/100,c=o[2]/100,s=Math.max(c,.01),d,p;p=(2-u)*c;let f=(2-u)*s;return d=u*s,d/=f<=1?f:2-f,d=d||0,p/=2,[l,d*100,p*100]},a.hwb.rgb=function(o){let l=o[0]/360,u=o[1]/100,c=o[2]/100,s=u+c,d;s>1&&(u/=s,c/=s);let p=Math.floor(6*l),f=1-c;d=6*l-p,p&1&&(d=1-d);let h=u+d*(f-u),m,g,b;switch(p){default:case 6:case 0:m=f,g=h,b=u;break;case 1:m=h,g=f,b=u;break;case 2:m=u,g=f,b=h;break;case 3:m=u,g=h,b=f;break;case 4:m=h,g=u,b=f;break;case 5:m=f,g=u,b=h;break}return[m*255,g*255,b*255]},a.cmyk.rgb=function(o){let l=o[0]/100,u=o[1]/100,c=o[2]/100,s=o[3]/100,d=1-Math.min(1,l*(1-s)+s),p=1-Math.min(1,u*(1-s)+s),f=1-Math.min(1,c*(1-s)+s);return[d*255,p*255,f*255]},a.xyz.rgb=function(o){let l=o[0]/100,u=o[1]/100,c=o[2]/100,s,d,p;return s=l*3.2406+u*-1.5372+c*-.4986,d=l*-.9689+u*1.8758+c*.0415,p=l*.0557+u*-.204+c*1.057,s=s>.0031308?1.055*s**(1/2.4)-.055:s*12.92,d=d>.0031308?1.055*d**(1/2.4)-.055:d*12.92,p=p>.0031308?1.055*p**(1/2.4)-.055:p*12.92,s=Math.min(Math.max(0,s),1),d=Math.min(Math.max(0,d),1),p=Math.min(Math.max(0,p),1),[s*255,d*255,p*255]},a.xyz.lab=function(o){let l=o[0],u=o[1],c=o[2];l/=95.047,u/=100,c/=108.883,l=l>.008856?l**(1/3):7.787*l+16/116,u=u>.008856?u**(1/3):7.787*u+16/116,c=c>.008856?c**(1/3):7.787*c+16/116;let s=116*u-16,d=500*(l-u),p=200*(u-c);return[s,d,p]},a.lab.xyz=function(o){let l=o[0],u=o[1],c=o[2],s,d,p;d=(l+16)/116,s=u/500+d,p=d-c/200;let f=d**3,h=s**3,m=p**3;return d=f>.008856?f:(d-16/116)/7.787,s=h>.008856?h:(s-16/116)/7.787,p=m>.008856?m:(p-16/116)/7.787,s*=95.047,d*=100,p*=108.883,[s,d,p]},a.lab.lch=function(o){let l=o[0],u=o[1],c=o[2],s;s=Math.atan2(c,u)*360/2/Math.PI,s<0&&(s+=360);let d=Math.sqrt(u*u+c*c);return[l,d,s]},a.lch.lab=function(o){let l=o[0],u=o[1],c=o[2]/360*2*Math.PI,s=u*Math.cos(c),d=u*Math.sin(c);return[l,s,d]},a.rgb.ansi16=function(o,l=null){let[u,c,s]=o,d=l===null?a.rgb.hsv(o)[2]:l;if(d=Math.round(d/50),d===0)return 30;let p=30+(Math.round(s/255)<<2|Math.round(c/255)<<1|Math.round(u/255));return d===2&&(p+=60),p},a.hsv.ansi16=function(o){return a.rgb.ansi16(a.hsv.rgb(o),o[2])},a.rgb.ansi256=function(o){let l=o[0],u=o[1],c=o[2];return l===u&&u===c?l<8?16:l>248?231:Math.round((l-8)/247*24)+232:16+36*Math.round(l/255*5)+6*Math.round(u/255*5)+Math.round(c/255*5)},a.ansi16.rgb=function(o){let l=o%10;if(l===0||l===7)return o>50&&(l+=3.5),l=l/10.5*255,[l,l,l];let u=(~~(o>50)+1)*.5,c=(l&1)*u*255,s=(l>>1&1)*u*255,d=(l>>2&1)*u*255;return[c,s,d]},a.ansi256.rgb=function(o){if(o>=232){let d=(o-232)*10+8;return[d,d,d]}o-=16;let l,u=Math.floor(o/36)/5*255,c=Math.floor((l=o%36)/6)/5*255,s=l%6/5*255;return[u,c,s]},a.rgb.hex=function(o){let l=(((Math.round(o[0])&255)<<16)+((Math.round(o[1])&255)<<8)+(Math.round(o[2])&255)).toString(16).toUpperCase();return"000000".substring(l.length)+l},a.hex.rgb=function(o){let l=o.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!l)return[0,0,0];let u=l[0];l[0].length===3&&(u=u.split("").map(f=>f+f).join(""));let c=parseInt(u,16),s=c>>16&255,d=c>>8&255,p=c&255;return[s,d,p]},a.rgb.hcg=function(o){let l=o[0]/255,u=o[1]/255,c=o[2]/255,s=Math.max(Math.max(l,u),c),d=Math.min(Math.min(l,u),c),p=s-d,f,h;return p<1?f=d/(1-p):f=0,p<=0?h=0:s===l?h=(u-c)/p%6:s===u?h=2+(c-l)/p:h=4+(l-u)/p,h/=6,h%=1,[h*360,p*100,f*100]},a.hsl.hcg=function(o){let l=o[1]/100,u=o[2]/100,c=u<.5?2*l*u:2*l*(1-u),s=0;return c<1&&(s=(u-.5*c)/(1-c)),[o[0],c*100,s*100]},a.hsv.hcg=function(o){let l=o[1]/100,u=o[2]/100,c=l*u,s=0;return c<1&&(s=(u-c)/(1-c)),[o[0],c*100,s*100]},a.hcg.rgb=function(o){let l=o[0]/360,u=o[1]/100,c=o[2]/100;if(u===0)return[c*255,c*255,c*255];let s=[0,0,0],d=l%1*6,p=d%1,f=1-p,h=0;switch(Math.floor(d)){case 0:s[0]=1,s[1]=p,s[2]=0;break;case 1:s[0]=f,s[1]=1,s[2]=0;break;case 2:s[0]=0,s[1]=1,s[2]=p;break;case 3:s[0]=0,s[1]=f,s[2]=1;break;case 4:s[0]=p,s[1]=0,s[2]=1;break;default:s[0]=1,s[1]=0,s[2]=f}return h=(1-u)*c,[(u*s[0]+h)*255,(u*s[1]+h)*255,(u*s[2]+h)*255]},a.hcg.hsv=function(o){let l=o[1]/100,u=o[2]/100,c=l+u*(1-l),s=0;return c>0&&(s=l/c),[o[0],s*100,c*100]},a.hcg.hsl=function(o){let l=o[1]/100,u=o[2]/100*(1-l)+.5*l,c=0;return u>0&&u<.5?c=l/(2*u):u>=.5&&u<1&&(c=l/(2*(1-u))),[o[0],c*100,u*100]},a.hcg.hwb=function(o){let l=o[1]/100,u=o[2]/100,c=l+u*(1-l);return[o[0],(c-l)*100,(1-c)*100]},a.hwb.hcg=function(o){let l=o[1]/100,u=1-o[2]/100,c=u-l,s=0;return c<1&&(s=(u-c)/(1-c)),[o[0],c*100,s*100]},a.apple.rgb=function(o){return[o[0]/65535*255,o[1]/65535*255,o[2]/65535*255]},a.rgb.apple=function(o){return[o[0]/255*65535,o[1]/255*65535,o[2]/255*65535]},a.gray.rgb=function(o){return[o[0]/100*255,o[0]/100*255,o[0]/100*255]},a.gray.hsl=function(o){return[0,0,o[0]]},a.gray.hsv=a.gray.hsl,a.gray.hwb=function(o){return[0,100,o[0]]},a.gray.cmyk=function(o){return[0,0,0,o[0]]},a.gray.lab=function(o){return[o[0],0,0]},a.gray.hex=function(o){let l=Math.round(o[0]/100*255)&255,u=((l<<16)+(l<<8)+l).toString(16).toUpperCase();return"000000".substring(u.length)+u},a.rgb.gray=function(o){return[(o[0]+o[1]+o[2])/3/255*100]}}}),Zw=T({"../../node_modules/color-convert/route.js"(e,t){var r=Ad();function n(){let l={},u=Object.keys(r);for(let c=u.length,s=0;s<c;s++)l[u[s]]={distance:-1,parent:null};return l}function a(l){let u=n(),c=[l];for(u[l].distance=0;c.length;){let s=c.pop(),d=Object.keys(r[s]);for(let p=d.length,f=0;f<p;f++){let h=d[f],m=u[h];m.distance===-1&&(m.distance=u[s].distance+1,m.parent=s,c.unshift(h))}}return u}function i(l,u){return function(c){return u(l(c))}}function o(l,u){let c=[u[l].parent,l],s=r[u[l].parent][l],d=u[l].parent;for(;u[d].parent;)c.unshift(u[d].parent),s=i(r[u[d].parent][d],s),d=u[d].parent;return s.conversion=c,s}t.exports=function(l){let u=a(l),c={},s=Object.keys(u);for(let d=s.length,p=0;p<d;p++){let f=s[p];u[f].parent!==null&&(c[f]=o(f,u))}return c}}}),e1=T({"../../node_modules/color-convert/index.js"(e,t){var r=Ad(),n=Zw(),a={},i=Object.keys(r);function o(u){let c=function(...s){let d=s[0];return d==null?d:(d.length>1&&(s=d),u(s))};return"conversion"in u&&(c.conversion=u.conversion),c}function l(u){let c=function(...s){let d=s[0];if(d==null)return d;d.length>1&&(s=d);let p=u(s);if(typeof p=="object")for(let f=p.length,h=0;h<f;h++)p[h]=Math.round(p[h]);return p};return"conversion"in u&&(c.conversion=u.conversion),c}i.forEach(u=>{a[u]={},Object.defineProperty(a[u],"channels",{value:r[u].channels}),Object.defineProperty(a[u],"labels",{value:r[u].labels});let c=n(u);Object.keys(c).forEach(s=>{let d=c[s];a[u][s]=l(d),a[u][s].raw=o(d)})}),t.exports=a}}),t1=T({"../../node_modules/ansi-styles/index.js"(e,t){var r=(d,p)=>(...f)=>`\x1B[${d(...f)+p}m`,n=(d,p)=>(...f)=>{let h=d(...f);return`\x1B[${38+p};5;${h}m`},a=(d,p)=>(...f)=>{let h=d(...f);return`\x1B[${38+p};2;${h[0]};${h[1]};${h[2]}m`},i=d=>d,o=(d,p,f)=>[d,p,f],l=(d,p,f)=>{Object.defineProperty(d,p,{get:()=>{let h=f();return Object.defineProperty(d,p,{value:h,enumerable:!0,configurable:!0}),h},enumerable:!0,configurable:!0})},u,c=(d,p,f,h)=>{u===void 0&&(u=e1());let m=h?10:0,g={};for(let[b,y]of Object.entries(u)){let R=b==="ansi16"?"ansi":b;b===p?g[R]=d(f,m):typeof y=="object"&&(g[R]=d(y[p],m))}return g};function s(){let d=new Map,p={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],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]}};p.color.gray=p.color.blackBright,p.bgColor.bgGray=p.bgColor.bgBlackBright,p.color.grey=p.color.blackBright,p.bgColor.bgGrey=p.bgColor.bgBlackBright;for(let[f,h]of Object.entries(p)){for(let[m,g]of Object.entries(h))p[m]={open:`\x1B[${g[0]}m`,close:`\x1B[${g[1]}m`},h[m]=p[m],d.set(g[0],g[1]);Object.defineProperty(p,f,{value:h,enumerable:!1})}return Object.defineProperty(p,"codes",{value:d,enumerable:!1}),p.color.close="\x1B[39m",p.bgColor.close="\x1B[49m",l(p.color,"ansi",()=>c(r,"ansi16",i,!1)),l(p.color,"ansi256",()=>c(n,"ansi256",i,!1)),l(p.color,"ansi16m",()=>c(a,"rgb",o,!1)),l(p.bgColor,"ansi",()=>c(r,"ansi16",i,!0)),l(p.bgColor,"ansi256",()=>c(n,"ansi256",i,!0)),l(p.bgColor,"ansi16m",()=>c(a,"rgb",o,!0)),p}Object.defineProperty(t,"exports",{enumerable:!0,get:s})}}),r1=T({"../../node_modules/supports-color/browser.js"(e,t){t.exports={stdout:!1,stderr:!1}}}),n1=T({"../../node_modules/@testing-library/jest-dom/node_modules/chalk/source/util.js"(e,t){var r=(a,i,o)=>{let l=a.indexOf(i);if(l===-1)return a;let u=i.length,c=0,s="";do s+=a.substr(c,l-c)+i+o,c=l+u,l=a.indexOf(i,c);while(l!==-1);return s+=a.substr(c),s},n=(a,i,o,l)=>{let u=0,c="";do{let s=a[l-1]==="\r";c+=a.substr(u,(s?l-1:l)-u)+i+(s?`\r
|
|
59
|
+
`:`
|
|
60
|
+
`)+o,u=l+1,l=a.indexOf(`
|
|
61
|
+
`,u)}while(l!==-1);return c+=a.substr(u),c};t.exports={stringReplaceAll:r,stringEncaseCRLFWithFirstIndex:n}}}),a1=T({"../../node_modules/@testing-library/jest-dom/node_modules/chalk/source/templates.js"(e,t){var r=/(?:\\(u(?:[a-f\d]{4}|\{[a-f\d]{1,6}\})|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi,n=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g,a=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/,i=/\\(u(?:[a-f\d]{4}|\{[a-f\d]{1,6}\})|x[a-f\d]{2}|.)|([^\\])/gi,o=new Map([["n",`
|
|
62
|
+
`],["r","\r"],["t"," "],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e","\x1B"],["a","\x07"]]);function l(d){let p=d[0]==="u",f=d[1]==="{";return p&&!f&&d.length===5||d[0]==="x"&&d.length===3?String.fromCharCode(parseInt(d.slice(1),16)):p&&f?String.fromCodePoint(parseInt(d.slice(2,-1),16)):o.get(d)||d}function u(d,p){let f=[],h=p.trim().split(/\s*,\s*/g),m;for(let g of h){let b=Number(g);if(!Number.isNaN(b))f.push(b);else if(m=g.match(a))f.push(m[2].replace(i,(y,R,_)=>R?l(R):_));else throw new Error(`Invalid Chalk template style argument: ${g} (in style '${d}')`)}return f}function c(d){n.lastIndex=0;let p=[],f;for(;(f=n.exec(d))!==null;){let h=f[1];if(f[2]){let m=u(h,f[2]);p.push([h].concat(m))}else p.push([h])}return p}function s(d,p){let f={};for(let m of p)for(let g of m.styles)f[g[0]]=m.inverse?null:g.slice(1);let h=d;for(let[m,g]of Object.entries(f))if(Array.isArray(g)){if(!(m in h))throw new Error(`Unknown Chalk style: ${m}`);h=g.length>0?h[m](...g):h[m]}return h}t.exports=(d,p)=>{let f=[],h=[],m=[];if(p.replace(r,(g,b,y,R,_,C)=>{if(b)m.push(l(b));else if(R){let w=m.join("");m=[],h.push(f.length===0?w:s(d,f)(w)),f.push({inverse:y,styles:c(R)})}else if(_){if(f.length===0)throw new Error("Found extraneous } in Chalk template literal");h.push(s(d,f)(m.join(""))),m=[],f.pop()}else m.push(C)}),h.push(m.join("")),f.length>0){let g=`Chalk template literal is missing ${f.length} closing bracket${f.length===1?"":"s"} (\`}\`)`;throw new Error(g)}return h.join("")}}}),qd=T({"../../node_modules/@testing-library/jest-dom/node_modules/chalk/source/index.js"(e,t){var r=t1(),{stdout:n,stderr:a}=r1(),{stringReplaceAll:i,stringEncaseCRLFWithFirstIndex:o}=n1(),l=["ansi","ansi","ansi256","ansi16m"],u=Object.create(null),c=(C,w={})=>{if(w.level>3||w.level<0)throw new Error("The `level` option should be an integer from 0 to 3");let v=n?n.level:0;C.level=w.level===void 0?v:w.level},s=class{constructor(C){return d(C)}},d=C=>{let w={};return c(w,C),w.template=(...v)=>R(w.template,...v),Object.setPrototypeOf(w,p.prototype),Object.setPrototypeOf(w.template,w),w.template.constructor=()=>{throw new Error("`chalk.constructor()` is deprecated. Use `new chalk.Instance()` instead.")},w.template.Instance=s,w.template};function p(C){return d(C)}for(let[C,w]of Object.entries(r))u[C]={get(){let v=g(this,m(w.open,w.close,this._styler),this._isEmpty);return Object.defineProperty(this,C,{value:v}),v}};u.visible={get(){let C=g(this,this._styler,!0);return Object.defineProperty(this,"visible",{value:C}),C}};var f=["rgb","hex","keyword","hsl","hsv","hwb","ansi","ansi256"];for(let C of f)u[C]={get(){let{level:w}=this;return function(...v){let E=m(r.color[l[w]][C](...v),r.color.close,this._styler);return g(this,E,this._isEmpty)}}};for(let C of f){let w="bg"+C[0].toUpperCase()+C.slice(1);u[w]={get(){let{level:v}=this;return function(...E){let O=m(r.bgColor[l[v]][C](...E),r.bgColor.close,this._styler);return g(this,O,this._isEmpty)}}}}var h=Object.defineProperties(()=>{},{...u,level:{enumerable:!0,get(){return this._generator.level},set(C){this._generator.level=C}}}),m=(C,w,v)=>{let E,O;return v===void 0?(E=C,O=w):(E=v.openAll+C,O=w+v.closeAll),{open:C,close:w,openAll:E,closeAll:O,parent:v}},g=(C,w,v)=>{let E=(...O)=>b(E,O.length===1?""+O[0]:O.join(" "));return E.__proto__=h,E._generator=C,E._styler=w,E._isEmpty=v,E},b=(C,w)=>{if(C.level<=0||!w)return C._isEmpty?"":w;let v=C._styler;if(v===void 0)return w;let{openAll:E,closeAll:O}=v;if(w.indexOf("\x1B")!==-1)for(;v!==void 0;)w=i(w,v.close,v.open),v=v.parent;let M=w.indexOf(`
|
|
63
|
+
`);return M!==-1&&(w=o(w,O,E,M)),E+w+O},y,R=(C,...w)=>{let[v]=w;if(!Array.isArray(v))return w.join(" ");let E=w.slice(1),O=[v.raw[0]];for(let M=1;M<v.length;M++)O.push(String(E[M-1]).replace(/[{}\\]/g,"\\$&"),String(v.raw[M]));return y===void 0&&(y=a1()),y(C,O.join(""))};Object.defineProperties(p.prototype,u);var _=p();_.supportsColor=n,_.stderr=p({level:a?a.level:0}),_.stderr.supportsColor=a,_.Level={None:0,Basic:1,Ansi256:2,TrueColor:3,0:"None",1:"Basic",2:"Ansi256",3:"TrueColor"},t.exports=_}}),i1=T({"../../node_modules/lodash/_listCacheClear.js"(e,t){function r(){this.__data__=[],this.size=0}t.exports=r}}),xd=T({"../../node_modules/lodash/eq.js"(e,t){function r(n,a){return n===a||n!==n&&a!==a}t.exports=r}}),sa=T({"../../node_modules/lodash/_assocIndexOf.js"(e,t){var r=xd();function n(a,i){for(var o=a.length;o--;)if(r(a[o][0],i))return o;return-1}t.exports=n}}),o1=T({"../../node_modules/lodash/_listCacheDelete.js"(e,t){var r=sa(),n=Array.prototype,a=n.splice;function i(o){var l=this.__data__,u=r(l,o);if(u<0)return!1;var c=l.length-1;return u==c?l.pop():a.call(l,u,1),--this.size,!0}t.exports=i}}),l1=T({"../../node_modules/lodash/_listCacheGet.js"(e,t){var r=sa();function n(a){var i=this.__data__,o=r(i,a);return o<0?void 0:i[o][1]}t.exports=n}}),s1=T({"../../node_modules/lodash/_listCacheHas.js"(e,t){var r=sa();function n(a){return r(this.__data__,a)>-1}t.exports=n}}),u1=T({"../../node_modules/lodash/_listCacheSet.js"(e,t){var r=sa();function n(a,i){var o=this.__data__,l=r(o,a);return l<0?(++this.size,o.push([a,i])):o[l][1]=i,this}t.exports=n}}),ua=T({"../../node_modules/lodash/_ListCache.js"(e,t){var r=i1(),n=o1(),a=l1(),i=s1(),o=u1();function l(u){var c=-1,s=u==null?0:u.length;for(this.clear();++c<s;){var d=u[c];this.set(d[0],d[1])}}l.prototype.clear=r,l.prototype.delete=n,l.prototype.get=a,l.prototype.has=i,l.prototype.set=o,t.exports=l}}),c1=T({"../../node_modules/lodash/_stackClear.js"(e,t){var r=ua();function n(){this.__data__=new r,this.size=0}t.exports=n}}),d1=T({"../../node_modules/lodash/_stackDelete.js"(e,t){function r(n){var a=this.__data__,i=a.delete(n);return this.size=a.size,i}t.exports=r}}),f1=T({"../../node_modules/lodash/_stackGet.js"(e,t){function r(n){return this.__data__.get(n)}t.exports=r}}),p1=T({"../../node_modules/lodash/_stackHas.js"(e,t){function r(n){return this.__data__.has(n)}t.exports=r}}),Md=T({"../../node_modules/lodash/_freeGlobal.js"(e,t){var r=typeof global=="object"&&global&&global.Object===Object&&global;t.exports=r}}),vt=T({"../../node_modules/lodash/_root.js"(e,t){var r=Md(),n=typeof self=="object"&&self&&self.Object===Object&&self,a=r||n||Function("return this")();t.exports=a}}),Mo=T({"../../node_modules/lodash/_Symbol.js"(e,t){var r=vt(),n=r.Symbol;t.exports=n}}),h1=T({"../../node_modules/lodash/_getRawTag.js"(e,t){var r=Mo(),n=Object.prototype,a=n.hasOwnProperty,i=n.toString,o=r?r.toStringTag:void 0;function l(u){var c=a.call(u,o),s=u[o];try{u[o]=void 0;var d=!0}catch{}var p=i.call(u);return d&&(c?u[o]=s:delete u[o]),p}t.exports=l}}),m1=T({"../../node_modules/lodash/_objectToString.js"(e,t){var r=Object.prototype,n=r.toString;function a(i){return n.call(i)}t.exports=a}}),ca=T({"../../node_modules/lodash/_baseGetTag.js"(e,t){var r=Mo(),n=h1(),a=m1(),i="[object Null]",o="[object Undefined]",l=r?r.toStringTag:void 0;function u(c){return c==null?c===void 0?o:i:l&&l in Object(c)?n(c):a(c)}t.exports=u}}),$d=T({"../../node_modules/lodash/isObject.js"(e,t){function r(n){var a=typeof n;return n!=null&&(a=="object"||a=="function")}t.exports=r}}),Nd=T({"../../node_modules/lodash/isFunction.js"(e,t){var r=ca(),n=$d(),a="[object AsyncFunction]",i="[object Function]",o="[object GeneratorFunction]",l="[object Proxy]";function u(c){if(!n(c))return!1;var s=r(c);return s==i||s==o||s==a||s==l}t.exports=u}}),b1=T({"../../node_modules/lodash/_coreJsData.js"(e,t){var r=vt(),n=r["__core-js_shared__"];t.exports=n}}),g1=T({"../../node_modules/lodash/_isMasked.js"(e,t){var r=b1(),n=function(){var i=/[^.]+$/.exec(r&&r.keys&&r.keys.IE_PROTO||"");return i?"Symbol(src)_1."+i:""}();function a(i){return!!n&&n in i}t.exports=a}}),jd=T({"../../node_modules/lodash/_toSource.js"(e,t){var r=Function.prototype,n=r.toString;function a(i){if(i!=null){try{return n.call(i)}catch{}try{return i+""}catch{}}return""}t.exports=a}}),y1=T({"../../node_modules/lodash/_baseIsNative.js"(e,t){var r=Nd(),n=g1(),a=$d(),i=jd(),o=/[\\^$.*+?()[\]{}|]/g,l=/^\[object .+?Constructor\]$/,u=Function.prototype,c=Object.prototype,s=u.toString,d=c.hasOwnProperty,p=RegExp("^"+s.call(d).replace(o,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function f(h){if(!a(h)||n(h))return!1;var m=r(h)?p:l;return m.test(i(h))}t.exports=f}}),v1=T({"../../node_modules/lodash/_getValue.js"(e,t){function r(n,a){return n==null?void 0:n[a]}t.exports=r}}),Or=T({"../../node_modules/lodash/_getNative.js"(e,t){var r=y1(),n=v1();function a(i,o){var l=n(i,o);return r(l)?l:void 0}t.exports=a}}),$o=T({"../../node_modules/lodash/_Map.js"(e,t){var r=Or(),n=vt(),a=r(n,"Map");t.exports=a}}),da=T({"../../node_modules/lodash/_nativeCreate.js"(e,t){var r=Or(),n=r(Object,"create");t.exports=n}}),_1=T({"../../node_modules/lodash/_hashClear.js"(e,t){var r=da();function n(){this.__data__=r?r(null):{},this.size=0}t.exports=n}}),E1=T({"../../node_modules/lodash/_hashDelete.js"(e,t){function r(n){var a=this.has(n)&&delete this.__data__[n];return this.size-=a?1:0,a}t.exports=r}}),w1=T({"../../node_modules/lodash/_hashGet.js"(e,t){var r=da(),n="__lodash_hash_undefined__",a=Object.prototype,i=a.hasOwnProperty;function o(l){var u=this.__data__;if(r){var c=u[l];return c===n?void 0:c}return i.call(u,l)?u[l]:void 0}t.exports=o}}),C1=T({"../../node_modules/lodash/_hashHas.js"(e,t){var r=da(),n=Object.prototype,a=n.hasOwnProperty;function i(o){var l=this.__data__;return r?l[o]!==void 0:a.call(l,o)}t.exports=i}}),R1=T({"../../node_modules/lodash/_hashSet.js"(e,t){var r=da(),n="__lodash_hash_undefined__";function a(i,o){var l=this.__data__;return this.size+=this.has(i)?0:1,l[i]=r&&o===void 0?n:o,this}t.exports=a}}),T1=T({"../../node_modules/lodash/_Hash.js"(e,t){var r=_1(),n=E1(),a=w1(),i=C1(),o=R1();function l(u){var c=-1,s=u==null?0:u.length;for(this.clear();++c<s;){var d=u[c];this.set(d[0],d[1])}}l.prototype.clear=r,l.prototype.delete=n,l.prototype.get=a,l.prototype.has=i,l.prototype.set=o,t.exports=l}}),P1=T({"../../node_modules/lodash/_mapCacheClear.js"(e,t){var r=T1(),n=ua(),a=$o();function i(){this.size=0,this.__data__={hash:new r,map:new(a||n),string:new r}}t.exports=i}}),S1=T({"../../node_modules/lodash/_isKeyable.js"(e,t){function r(n){var a=typeof n;return a=="string"||a=="number"||a=="symbol"||a=="boolean"?n!=="__proto__":n===null}t.exports=r}}),fa=T({"../../node_modules/lodash/_getMapData.js"(e,t){var r=S1();function n(a,i){var o=a.__data__;return r(i)?o[typeof i=="string"?"string":"hash"]:o.map}t.exports=n}}),O1=T({"../../node_modules/lodash/_mapCacheDelete.js"(e,t){var r=fa();function n(a){var i=r(this,a).delete(a);return this.size-=i?1:0,i}t.exports=n}}),A1=T({"../../node_modules/lodash/_mapCacheGet.js"(e,t){var r=fa();function n(a){return r(this,a).get(a)}t.exports=n}}),q1=T({"../../node_modules/lodash/_mapCacheHas.js"(e,t){var r=fa();function n(a){return r(this,a).has(a)}t.exports=n}}),x1=T({"../../node_modules/lodash/_mapCacheSet.js"(e,t){var r=fa();function n(a,i){var o=r(this,a),l=o.size;return o.set(a,i),this.size+=o.size==l?0:1,this}t.exports=n}}),Id=T({"../../node_modules/lodash/_MapCache.js"(e,t){var r=P1(),n=O1(),a=A1(),i=q1(),o=x1();function l(u){var c=-1,s=u==null?0:u.length;for(this.clear();++c<s;){var d=u[c];this.set(d[0],d[1])}}l.prototype.clear=r,l.prototype.delete=n,l.prototype.get=a,l.prototype.has=i,l.prototype.set=o,t.exports=l}}),M1=T({"../../node_modules/lodash/_stackSet.js"(e,t){var r=ua(),n=$o(),a=Id(),i=200;function o(l,u){var c=this.__data__;if(c instanceof r){var s=c.__data__;if(!n||s.length<i-1)return s.push([l,u]),this.size=++c.size,this;c=this.__data__=new a(s)}return c.set(l,u),this.size=c.size,this}t.exports=o}}),$1=T({"../../node_modules/lodash/_Stack.js"(e,t){var r=ua(),n=c1(),a=d1(),i=f1(),o=p1(),l=M1();function u(c){var s=this.__data__=new r(c);this.size=s.size}u.prototype.clear=n,u.prototype.delete=a,u.prototype.get=i,u.prototype.has=o,u.prototype.set=l,t.exports=u}}),N1=T({"../../node_modules/lodash/_setCacheAdd.js"(e,t){var r="__lodash_hash_undefined__";function n(a){return this.__data__.set(a,r),this}t.exports=n}}),j1=T({"../../node_modules/lodash/_setCacheHas.js"(e,t){function r(n){return this.__data__.has(n)}t.exports=r}}),I1=T({"../../node_modules/lodash/_SetCache.js"(e,t){var r=Id(),n=N1(),a=j1();function i(o){var l=-1,u=o==null?0:o.length;for(this.__data__=new r;++l<u;)this.add(o[l])}i.prototype.add=i.prototype.push=n,i.prototype.has=a,t.exports=i}}),L1=T({"../../node_modules/lodash/_arraySome.js"(e,t){function r(n,a){for(var i=-1,o=n==null?0:n.length;++i<o;)if(a(n[i],i,n))return!0;return!1}t.exports=r}}),B1=T({"../../node_modules/lodash/_cacheHas.js"(e,t){function r(n,a){return n.has(a)}t.exports=r}}),Ld=T({"../../node_modules/lodash/_equalArrays.js"(e,t){var r=I1(),n=L1(),a=B1(),i=1,o=2;function l(u,c,s,d,p,f){var h=s&i,m=u.length,g=c.length;if(m!=g&&!(h&&g>m))return!1;var b=f.get(u),y=f.get(c);if(b&&y)return b==c&&y==u;var R=-1,_=!0,C=s&o?new r:void 0;for(f.set(u,c),f.set(c,u);++R<m;){var w=u[R],v=c[R];if(d)var E=h?d(v,w,R,c,u,f):d(w,v,R,u,c,f);if(E!==void 0){if(E)continue;_=!1;break}if(C){if(!n(c,function(O,M){if(!a(C,M)&&(w===O||p(w,O,s,d,f)))return C.push(M)})){_=!1;break}}else if(!(w===v||p(w,v,s,d,f))){_=!1;break}}return f.delete(u),f.delete(c),_}t.exports=l}}),k1=T({"../../node_modules/lodash/_Uint8Array.js"(e,t){var r=vt(),n=r.Uint8Array;t.exports=n}}),D1=T({"../../node_modules/lodash/_mapToArray.js"(e,t){function r(n){var a=-1,i=Array(n.size);return n.forEach(function(o,l){i[++a]=[l,o]}),i}t.exports=r}}),F1=T({"../../node_modules/lodash/_setToArray.js"(e,t){function r(n){var a=-1,i=Array(n.size);return n.forEach(function(o){i[++a]=o}),i}t.exports=r}}),U1=T({"../../node_modules/lodash/_equalByTag.js"(e,t){var r=Mo(),n=k1(),a=xd(),i=Ld(),o=D1(),l=F1(),u=1,c=2,s="[object Boolean]",d="[object Date]",p="[object Error]",f="[object Map]",h="[object Number]",m="[object RegExp]",g="[object Set]",b="[object String]",y="[object Symbol]",R="[object ArrayBuffer]",_="[object DataView]",C=r?r.prototype:void 0,w=C?C.valueOf:void 0;function v(E,O,M,N,k,j,I){switch(M){case _:if(E.byteLength!=O.byteLength||E.byteOffset!=O.byteOffset)return!1;E=E.buffer,O=O.buffer;case R:return!(E.byteLength!=O.byteLength||!j(new n(E),new n(O)));case s:case d:case h:return a(+E,+O);case p:return E.name==O.name&&E.message==O.message;case m:case b:return E==O+"";case f:var B=o;case g:var z=N&u;if(B||(B=l),E.size!=O.size&&!z)return!1;var K=I.get(E);if(K)return K==O;N|=c,I.set(E,O);var W=i(B(E),B(O),N,k,j,I);return I.delete(E),W;case y:if(w)return w.call(E)==w.call(O)}return!1}t.exports=v}}),H1=T({"../../node_modules/lodash/_arrayPush.js"(e,t){function r(n,a){for(var i=-1,o=a.length,l=n.length;++i<o;)n[l+i]=a[i];return n}t.exports=r}}),No=T({"../../node_modules/lodash/isArray.js"(e,t){var r=Array.isArray;t.exports=r}}),z1=T({"../../node_modules/lodash/_baseGetAllKeys.js"(e,t){var r=H1(),n=No();function a(i,o,l){var u=o(i);return n(i)?u:r(u,l(i))}t.exports=a}}),V1=T({"../../node_modules/lodash/_arrayFilter.js"(e,t){function r(n,a){for(var i=-1,o=n==null?0:n.length,l=0,u=[];++i<o;){var c=n[i];a(c,i,n)&&(u[l++]=c)}return u}t.exports=r}}),G1=T({"../../node_modules/lodash/stubArray.js"(e,t){function r(){return[]}t.exports=r}}),W1=T({"../../node_modules/lodash/_getSymbols.js"(e,t){var r=V1(),n=G1(),a=Object.prototype,i=a.propertyIsEnumerable,o=Object.getOwnPropertySymbols,l=o?function(u){return u==null?[]:(u=Object(u),r(o(u),function(c){return i.call(u,c)}))}:n;t.exports=l}}),K1=T({"../../node_modules/lodash/_baseTimes.js"(e,t){function r(n,a){for(var i=-1,o=Array(n);++i<n;)o[i]=a(i);return o}t.exports=r}}),pa=T({"../../node_modules/lodash/isObjectLike.js"(e,t){function r(n){return n!=null&&typeof n=="object"}t.exports=r}}),Y1=T({"../../node_modules/lodash/_baseIsArguments.js"(e,t){var r=ca(),n=pa(),a="[object Arguments]";function i(o){return n(o)&&r(o)==a}t.exports=i}}),J1=T({"../../node_modules/lodash/isArguments.js"(e,t){var r=Y1(),n=pa(),a=Object.prototype,i=a.hasOwnProperty,o=a.propertyIsEnumerable,l=r(function(){return arguments}())?r:function(u){return n(u)&&i.call(u,"callee")&&!o.call(u,"callee")};t.exports=l}}),X1=T({"../../node_modules/lodash/stubFalse.js"(e,t){function r(){return!1}t.exports=r}}),Bd=T({"../../node_modules/lodash/isBuffer.js"(e,t){var r=vt(),n=X1(),a=typeof e=="object"&&e&&!e.nodeType&&e,i=a&&typeof t=="object"&&t&&!t.nodeType&&t,o=i&&i.exports===a,l=o?r.Buffer:void 0,u=l?l.isBuffer:void 0,c=u||n;t.exports=c}}),Q1=T({"../../node_modules/lodash/_isIndex.js"(e,t){var r=9007199254740991,n=/^(?:0|[1-9]\d*)$/;function a(i,o){var l=typeof i;return o=o??r,!!o&&(l=="number"||l!="symbol"&&n.test(i))&&i>-1&&i%1==0&&i<o}t.exports=a}}),kd=T({"../../node_modules/lodash/isLength.js"(e,t){var r=9007199254740991;function n(a){return typeof a=="number"&&a>-1&&a%1==0&&a<=r}t.exports=n}}),Z1=T({"../../node_modules/lodash/_baseIsTypedArray.js"(e,t){var r=ca(),n=kd(),a=pa(),i="[object Arguments]",o="[object Array]",l="[object Boolean]",u="[object Date]",c="[object Error]",s="[object Function]",d="[object Map]",p="[object Number]",f="[object Object]",h="[object RegExp]",m="[object Set]",g="[object String]",b="[object WeakMap]",y="[object ArrayBuffer]",R="[object DataView]",_="[object Float32Array]",C="[object Float64Array]",w="[object Int8Array]",v="[object Int16Array]",E="[object Int32Array]",O="[object Uint8Array]",M="[object Uint8ClampedArray]",N="[object Uint16Array]",k="[object Uint32Array]",j={};j[_]=j[C]=j[w]=j[v]=j[E]=j[O]=j[M]=j[N]=j[k]=!0,j[i]=j[o]=j[y]=j[l]=j[R]=j[u]=j[c]=j[s]=j[d]=j[p]=j[f]=j[h]=j[m]=j[g]=j[b]=!1;function I(B){return a(B)&&n(B.length)&&!!j[r(B)]}t.exports=I}}),eC=T({"../../node_modules/lodash/_baseUnary.js"(e,t){function r(n){return function(a){return n(a)}}t.exports=r}}),tC=T({"../../node_modules/lodash/_nodeUtil.js"(e,t){var r=Md(),n=typeof e=="object"&&e&&!e.nodeType&&e,a=n&&typeof t=="object"&&t&&!t.nodeType&&t,i=a&&a.exports===n,o=i&&r.process,l=function(){try{var u=a&&a.require&&a.require("util").types;return u||o&&o.binding&&o.binding("util")}catch{}}();t.exports=l}}),Dd=T({"../../node_modules/lodash/isTypedArray.js"(e,t){var r=Z1(),n=eC(),a=tC(),i=a&&a.isTypedArray,o=i?n(i):r;t.exports=o}}),rC=T({"../../node_modules/lodash/_arrayLikeKeys.js"(e,t){var r=K1(),n=J1(),a=No(),i=Bd(),o=Q1(),l=Dd(),u=Object.prototype,c=u.hasOwnProperty;function s(d,p){var f=a(d),h=!f&&n(d),m=!f&&!h&&i(d),g=!f&&!h&&!m&&l(d),b=f||h||m||g,y=b?r(d.length,String):[],R=y.length;for(var _ in d)(p||c.call(d,_))&&!(b&&(_=="length"||m&&(_=="offset"||_=="parent")||g&&(_=="buffer"||_=="byteLength"||_=="byteOffset")||o(_,R)))&&y.push(_);return y}t.exports=s}}),nC=T({"../../node_modules/lodash/_isPrototype.js"(e,t){var r=Object.prototype;function n(a){var i=a&&a.constructor,o=typeof i=="function"&&i.prototype||r;return a===o}t.exports=n}}),aC=T({"../../node_modules/lodash/_overArg.js"(e,t){function r(n,a){return function(i){return n(a(i))}}t.exports=r}}),iC=T({"../../node_modules/lodash/_nativeKeys.js"(e,t){var r=aC(),n=r(Object.keys,Object);t.exports=n}}),oC=T({"../../node_modules/lodash/_baseKeys.js"(e,t){var r=nC(),n=iC(),a=Object.prototype,i=a.hasOwnProperty;function o(l){if(!r(l))return n(l);var u=[];for(var c in Object(l))i.call(l,c)&&c!="constructor"&&u.push(c);return u}t.exports=o}}),lC=T({"../../node_modules/lodash/isArrayLike.js"(e,t){var r=Nd(),n=kd();function a(i){return i!=null&&n(i.length)&&!r(i)}t.exports=a}}),sC=T({"../../node_modules/lodash/keys.js"(e,t){var r=rC(),n=oC(),a=lC();function i(o){return a(o)?r(o):n(o)}t.exports=i}}),uC=T({"../../node_modules/lodash/_getAllKeys.js"(e,t){var r=z1(),n=W1(),a=sC();function i(o){return r(o,a,n)}t.exports=i}}),cC=T({"../../node_modules/lodash/_equalObjects.js"(e,t){var r=uC(),n=1,a=Object.prototype,i=a.hasOwnProperty;function o(l,u,c,s,d,p){var f=c&n,h=r(l),m=h.length,g=r(u),b=g.length;if(m!=b&&!f)return!1;for(var y=m;y--;){var R=h[y];if(!(f?R in u:i.call(u,R)))return!1}var _=p.get(l),C=p.get(u);if(_&&C)return _==u&&C==l;var w=!0;p.set(l,u),p.set(u,l);for(var v=f;++y<m;){R=h[y];var E=l[R],O=u[R];if(s)var M=f?s(O,E,R,u,l,p):s(E,O,R,l,u,p);if(!(M===void 0?E===O||d(E,O,c,s,p):M)){w=!1;break}v||(v=R=="constructor")}if(w&&!v){var N=l.constructor,k=u.constructor;N!=k&&"constructor"in l&&"constructor"in u&&!(typeof N=="function"&&N instanceof N&&typeof k=="function"&&k instanceof k)&&(w=!1)}return p.delete(l),p.delete(u),w}t.exports=o}}),dC=T({"../../node_modules/lodash/_DataView.js"(e,t){var r=Or(),n=vt(),a=r(n,"DataView");t.exports=a}}),fC=T({"../../node_modules/lodash/_Promise.js"(e,t){var r=Or(),n=vt(),a=r(n,"Promise");t.exports=a}}),pC=T({"../../node_modules/lodash/_Set.js"(e,t){var r=Or(),n=vt(),a=r(n,"Set");t.exports=a}}),hC=T({"../../node_modules/lodash/_WeakMap.js"(e,t){var r=Or(),n=vt(),a=r(n,"WeakMap");t.exports=a}}),mC=T({"../../node_modules/lodash/_getTag.js"(e,t){var r=dC(),n=$o(),a=fC(),i=pC(),o=hC(),l=ca(),u=jd(),c="[object Map]",s="[object Object]",d="[object Promise]",p="[object Set]",f="[object WeakMap]",h="[object DataView]",m=u(r),g=u(n),b=u(a),y=u(i),R=u(o),_=l;(r&&_(new r(new ArrayBuffer(1)))!=h||n&&_(new n)!=c||a&&_(a.resolve())!=d||i&&_(new i)!=p||o&&_(new o)!=f)&&(_=function(C){var w=l(C),v=w==s?C.constructor:void 0,E=v?u(v):"";if(E)switch(E){case m:return h;case g:return c;case b:return d;case y:return p;case R:return f}return w}),t.exports=_}}),bC=T({"../../node_modules/lodash/_baseIsEqualDeep.js"(e,t){var r=$1(),n=Ld(),a=U1(),i=cC(),o=mC(),l=No(),u=Bd(),c=Dd(),s=1,d="[object Arguments]",p="[object Array]",f="[object Object]",h=Object.prototype,m=h.hasOwnProperty;function g(b,y,R,_,C,w){var v=l(b),E=l(y),O=v?p:o(b),M=E?p:o(y);O=O==d?f:O,M=M==d?f:M;var N=O==f,k=M==f,j=O==M;if(j&&u(b)){if(!u(y))return!1;v=!0,N=!1}if(j&&!N)return w||(w=new r),v||c(b)?n(b,y,R,_,C,w):a(b,y,O,R,_,C,w);if(!(R&s)){var I=N&&m.call(b,"__wrapped__"),B=k&&m.call(y,"__wrapped__");if(I||B){var z=I?b.value():b,K=B?y.value():y;return w||(w=new r),C(z,K,R,_,w)}}return j?(w||(w=new r),i(b,y,R,_,C,w)):!1}t.exports=g}}),gC=T({"../../node_modules/lodash/_baseIsEqual.js"(e,t){var r=bC(),n=pa();function a(i,o,l,u,c){return i===o?!0:i==null||o==null||!n(i)&&!n(o)?i!==i&&o!==o:r(i,o,l,u,a,c)}t.exports=a}}),Fd=T({"../../node_modules/lodash/isEqualWith.js"(e,t){var r=gC();function n(a,i,o){o=typeof o=="function"?o:void 0;var l=o?o(a,i):void 0;return l===void 0?r(a,i,void 0,o):!!l}t.exports=n}}),Ud=T({"../../node_modules/css.escape/css.escape.js"(e,t){(function(r,n){typeof e=="object"?t.exports=n(r):typeof define=="function"&&define.amd?define([],n.bind(r,r)):n(r)})(typeof global<"u"?global:e,function(r){if(r.CSS&&r.CSS.escape)return r.CSS.escape;var n=function(a){if(arguments.length==0)throw new TypeError("`CSS.escape` requires an argument.");for(var i=String(a),o=i.length,l=-1,u,c="",s=i.charCodeAt(0);++l<o;){if(u=i.charCodeAt(l),u==0){c+="�";continue}if(u>=1&&u<=31||u==127||l==0&&u>=48&&u<=57||l==1&&u>=48&&u<=57&&s==45){c+="\\"+u.toString(16)+" ";continue}if(l==0&&o==1&&u==45){c+="\\"+i.charAt(l);continue}if(u>=128||u==45||u==95||u>=48&&u<=57||u>=65&&u<=90||u>=97&&u<=122){c+=i.charAt(l);continue}c+="\\"+i.charAt(l)}return c};return r.CSS||(r.CSS={}),r.CSS.escape=n,n})}}),Hd=T({"../../node_modules/pretty-format/node_modules/ansi-styles/index.js"(e,t){var r=(i=0)=>o=>`\x1B[${38+i};5;${o}m`,n=(i=0)=>(o,l,u)=>`\x1B[${38+i};2;${o};${l};${u}m`;function a(){let i=new Map,o={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]}};o.color.gray=o.color.blackBright,o.bgColor.bgGray=o.bgColor.bgBlackBright,o.color.grey=o.color.blackBright,o.bgColor.bgGrey=o.bgColor.bgBlackBright;for(let[l,u]of Object.entries(o)){for(let[c,s]of Object.entries(u))o[c]={open:`\x1B[${s[0]}m`,close:`\x1B[${s[1]}m`},u[c]=o[c],i.set(s[0],s[1]);Object.defineProperty(o,l,{value:u,enumerable:!1})}return Object.defineProperty(o,"codes",{value:i,enumerable:!1}),o.color.close="\x1B[39m",o.bgColor.close="\x1B[49m",o.color.ansi256=r(),o.color.ansi16m=n(),o.bgColor.ansi256=r(10),o.bgColor.ansi16m=n(10),Object.defineProperties(o,{rgbToAnsi256:{value:(l,u,c)=>l===u&&u===c?l<8?16:l>248?231:Math.round((l-8)/247*24)+232:16+36*Math.round(l/255*5)+6*Math.round(u/255*5)+Math.round(c/255*5),enumerable:!1},hexToRgb:{value:l=>{let u=/(?<colorString>[a-f\d]{6}|[a-f\d]{3})/i.exec(l.toString(16));if(!u)return[0,0,0];let{colorString:c}=u.groups;c.length===3&&(c=c.split("").map(d=>d+d).join(""));let s=Number.parseInt(c,16);return[s>>16&255,s>>8&255,s&255]},enumerable:!1},hexToAnsi256:{value:l=>o.rgbToAnsi256(...o.hexToRgb(l)),enumerable:!1}}),o}Object.defineProperty(t,"exports",{enumerable:!0,get:a})}}),ha=T({"../../node_modules/pretty-format/build/collections.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.printIteratorEntries=r,e.printIteratorValues=n,e.printListItems=a,e.printObjectProperties=i;var t=(o,l)=>{let u=Object.keys(o).sort(l);return Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(o).forEach(c=>{Object.getOwnPropertyDescriptor(o,c).enumerable&&u.push(c)}),u};function r(o,l,u,c,s,d,p=": "){let f="",h=o.next();if(!h.done){f+=l.spacingOuter;let m=u+l.indent;for(;!h.done;){let g=d(h.value[0],l,m,c,s),b=d(h.value[1],l,m,c,s);f+=m+g+p+b,h=o.next(),h.done?l.min||(f+=","):f+=","+l.spacingInner}f+=l.spacingOuter+u}return f}function n(o,l,u,c,s,d){let p="",f=o.next();if(!f.done){p+=l.spacingOuter;let h=u+l.indent;for(;!f.done;)p+=h+d(f.value,l,h,c,s),f=o.next(),f.done?l.min||(p+=","):p+=","+l.spacingInner;p+=l.spacingOuter+u}return p}function a(o,l,u,c,s,d){let p="";if(o.length){p+=l.spacingOuter;let f=u+l.indent;for(let h=0;h<o.length;h++)p+=f,h in o&&(p+=d(o[h],l,f,c,s)),h<o.length-1?p+=","+l.spacingInner:l.min||(p+=",");p+=l.spacingOuter+u}return p}function i(o,l,u,c,s,d){let p="",f=t(o,l.compareKeys);if(f.length){p+=l.spacingOuter;let h=u+l.indent;for(let m=0;m<f.length;m++){let g=f[m],b=d(g,l,h,c,s),y=d(o[g],l,h,c,s);p+=h+b+": "+y,m<f.length-1?p+=","+l.spacingInner:l.min||(p+=",")}p+=l.spacingOuter+u}return p}}}),yC=T({"../../node_modules/pretty-format/build/plugins/AsymmetricMatcher.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=ha(),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,i=" ",o=(s,d,p,f,h,m)=>{let g=s.toString();return g==="ArrayContaining"||g==="ArrayNotContaining"?++f>d.maxDepth?"["+g+"]":g+i+"["+(0,t.printListItems)(s.sample,d,p,f,h,m)+"]":g==="ObjectContaining"||g==="ObjectNotContaining"?++f>d.maxDepth?"["+g+"]":g+i+"{"+(0,t.printObjectProperties)(s.sample,d,p,f,h,m)+"}":g==="StringMatching"||g==="StringNotMatching"||g==="StringContaining"||g==="StringNotContaining"?g+i+m(s.sample,d,p,f,h):s.toAsymmetricMatcher()};e.serialize=o;var l=s=>s&&s.$$typeof===a;e.test=l;var u={serialize:o,test:l},c=u;e.default=c}}),vC=T({"../../node_modules/pretty-format/node_modules/ansi-regex/index.js"(e,t){t.exports=({onlyFirst:r=!1}={})=>{let 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=T({"../../node_modules/pretty-format/build/plugins/ConvertAnsi.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=n(vC()),r=n(Hd());function n(c){return c&&c.__esModule?c:{default:c}}var a=c=>c.replace((0,t.default)(),s=>{switch(s){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""}}),i=c=>typeof c=="string"&&!!c.match((0,t.default)());e.test=i;var o=(c,s,d,p,f,h)=>h(a(c),s,d,p,f);e.serialize=o;var l={serialize:o,test:i},u=l;e.default=u}}),EC=T({"../../node_modules/pretty-format/build/plugins/DOMCollection.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=ha(),r=" ",n=["DOMStringMap","NamedNodeMap"],a=/^(HTML\w*Collection|NodeList)$/,i=d=>n.indexOf(d)!==-1||a.test(d),o=d=>d&&d.constructor&&!!d.constructor.name&&i(d.constructor.name);e.test=o;var l=d=>d.constructor.name==="NamedNodeMap",u=(d,p,f,h,m,g)=>{let b=d.constructor.name;return++h>p.maxDepth?"["+b+"]":(p.min?"":b+r)+(n.indexOf(b)!==-1?"{"+(0,t.printObjectProperties)(l(d)?Array.from(d).reduce((y,R)=>(y[R.name]=R.value,y),{}):{...d},p,f,h,m,g)+"}":"["+(0,t.printListItems)(Array.from(d),p,f,h,m,g)+"]")};e.serialize=u;var c={serialize:u,test:o},s=c;e.default=s}}),wC=T({"../../node_modules/pretty-format/build/plugins/lib/escapeHTML.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=t;function t(r){return r.replace(/</g,"<").replace(/>/g,">")}}}),jo=T({"../../node_modules/pretty-format/build/plugins/lib/markup.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.printText=e.printProps=e.printElementAsLeaf=e.printElement=e.printComment=e.printChildren=void 0;var t=r(wC());function r(c){return c&&c.__esModule?c:{default:c}}var n=(c,s,d,p,f,h,m)=>{let g=p+d.indent,b=d.colors;return c.map(y=>{let R=s[y],_=m(R,d,g,f,h);return typeof R!="string"&&(_.indexOf(`
|
|
64
|
+
`)!==-1&&(_=d.spacingOuter+g+_+d.spacingOuter+p),_="{"+_+"}"),d.spacingInner+p+b.prop.open+y+b.prop.close+"="+b.value.open+_+b.value.close}).join("")};e.printProps=n;var a=(c,s,d,p,f,h)=>c.map(m=>s.spacingOuter+d+(typeof m=="string"?i(m,s):h(m,s,d,p,f))).join("");e.printChildren=a;var i=(c,s)=>{let d=s.colors.content;return d.open+(0,t.default)(c)+d.close};e.printText=i;var o=(c,s)=>{let d=s.colors.comment;return d.open+"<!--"+(0,t.default)(c)+"-->"+d.close};e.printComment=o;var l=(c,s,d,p,f)=>{let h=p.colors.tag;return h.open+"<"+c+(s&&h.close+s+p.spacingOuter+f+h.open)+(d?">"+h.close+d+p.spacingOuter+f+h.open+"</"+c:(s&&!p.min?"":" ")+"/")+">"+h.close};e.printElement=l;var u=(c,s)=>{let d=s.colors.tag;return d.open+"<"+c+d.close+" …"+d.open+" />"+d.close};e.printElementAsLeaf=u}}),CC=T({"../../node_modules/pretty-format/build/plugins/DOMElement.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=jo(),r=1,n=3,a=8,i=11,o=/^((HTML|SVG)\w*)?Element$/,l=g=>{try{return typeof g.hasAttribute=="function"&&g.hasAttribute("is")}catch{return!1}},u=g=>{let b=g.constructor.name,{nodeType:y,tagName:R}=g,_=typeof R=="string"&&R.includes("-")||l(g);return y===r&&(o.test(b)||_)||y===n&&b==="Text"||y===a&&b==="Comment"||y===i&&b==="DocumentFragment"},c=g=>{var b;return(g==null||(b=g.constructor)===null||b===void 0?void 0:b.name)&&u(g)};e.test=c;function s(g){return g.nodeType===n}function d(g){return g.nodeType===a}function p(g){return g.nodeType===i}var f=(g,b,y,R,_,C)=>{if(s(g))return(0,t.printText)(g.data,b);if(d(g))return(0,t.printComment)(g.data,b);let w=p(g)?"DocumentFragment":g.tagName.toLowerCase();return++R>b.maxDepth?(0,t.printElementAsLeaf)(w,b):(0,t.printElement)(w,(0,t.printProps)(p(g)?[]:Array.from(g.attributes).map(v=>v.name).sort(),p(g)?{}:Array.from(g.attributes).reduce((v,E)=>(v[E.name]=E.value,v),{}),b,y+b.indent,R,_,C),(0,t.printChildren)(Array.prototype.slice.call(g.childNodes||g.children),b,y+b.indent,R,_,C),b,y)};e.serialize=f;var h={serialize:f,test:c},m=h;e.default=m}}),RC=T({"../../node_modules/pretty-format/build/plugins/Immutable.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=ha(),r="@@__IMMUTABLE_ITERABLE__@@",n="@@__IMMUTABLE_LIST__@@",a="@@__IMMUTABLE_KEYED__@@",i="@@__IMMUTABLE_MAP__@@",o="@@__IMMUTABLE_ORDERED__@@",l="@@__IMMUTABLE_RECORD__@@",u="@@__IMMUTABLE_SEQ__@@",c="@@__IMMUTABLE_SET__@@",s="@@__IMMUTABLE_STACK__@@",d=E=>"Immutable."+E,p=E=>"["+E+"]",f=" ",h="…",m=(E,O,M,N,k,j,I)=>++N>O.maxDepth?p(d(I)):d(I)+f+"{"+(0,t.printIteratorEntries)(E.entries(),O,M,N,k,j)+"}";function g(E){let O=0;return{next(){if(O<E._keys.length){let M=E._keys[O++];return{done:!1,value:[M,E.get(M)]}}return{done:!0,value:void 0}}}}var b=(E,O,M,N,k,j)=>{let I=d(E._name||"Record");return++N>O.maxDepth?p(I):I+f+"{"+(0,t.printIteratorEntries)(g(E),O,M,N,k,j)+"}"},y=(E,O,M,N,k,j)=>{let I=d("Seq");return++N>O.maxDepth?p(I):E[a]?I+f+"{"+(E._iter||E._object?(0,t.printIteratorEntries)(E.entries(),O,M,N,k,j):h)+"}":I+f+"["+(E._iter||E._array||E._collection||E._iterable?(0,t.printIteratorValues)(E.values(),O,M,N,k,j):h)+"]"},R=(E,O,M,N,k,j,I)=>++N>O.maxDepth?p(d(I)):d(I)+f+"["+(0,t.printIteratorValues)(E.values(),O,M,N,k,j)+"]",_=(E,O,M,N,k,j)=>E[i]?m(E,O,M,N,k,j,E[o]?"OrderedMap":"Map"):E[n]?R(E,O,M,N,k,j,"List"):E[c]?R(E,O,M,N,k,j,E[o]?"OrderedSet":"Set"):E[s]?R(E,O,M,N,k,j,"Stack"):E[u]?y(E,O,M,N,k,j):b(E,O,M,N,k,j);e.serialize=_;var C=E=>E&&(E[r]===!0||E[l]===!0);e.test=C;var w={serialize:_,test:C},v=w;e.default=v}}),TC=T({"../../node_modules/pretty-format/node_modules/react-is/cjs/react-is.development.js"(e){(function(){var t=60103,r=60106,n=60107,a=60108,i=60114,o=60109,l=60110,u=60112,c=60113,s=60120,d=60115,p=60116,f=60121,h=60122,m=60117,g=60129,b=60131;if(typeof Symbol=="function"&&Symbol.for){var y=Symbol.for;t=y("react.element"),r=y("react.portal"),n=y("react.fragment"),a=y("react.strict_mode"),i=y("react.profiler"),o=y("react.provider"),l=y("react.context"),u=y("react.forward_ref"),c=y("react.suspense"),s=y("react.suspense_list"),d=y("react.memo"),p=y("react.lazy"),f=y("react.block"),h=y("react.server.block"),m=y("react.fundamental"),y("react.scope"),y("react.opaque.id"),g=y("react.debug_trace_mode"),y("react.offscreen"),b=y("react.legacy_hidden")}var R=!1;function _(U){return!!(typeof U=="string"||typeof U=="function"||U===n||U===i||U===g||U===a||U===c||U===s||U===b||R||typeof U=="object"&&U!==null&&(U.$$typeof===p||U.$$typeof===d||U.$$typeof===o||U.$$typeof===l||U.$$typeof===u||U.$$typeof===m||U.$$typeof===f||U[0]===h))}function C(U){if(typeof U=="object"&&U!==null){var Q=U.$$typeof;switch(Q){case t:var $=U.type;switch($){case n:case i:case a:case c:case s:return $;default:var se=$&&$.$$typeof;switch(se){case l:case u:case p:case d:case o:return se;default:return Q}}case r:return Q}}}var w=l,v=o,E=t,O=u,M=n,N=p,k=d,j=r,I=i,B=a,z=c,K=!1,W=!1;function re(U){return K||(K=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")),!1}function me(U){return W||(W=!0,console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")),!1}function de(U){return C(U)===l}function F(U){return C(U)===o}function L(U){return typeof U=="object"&&U!==null&&U.$$typeof===t}function D(U){return C(U)===u}function G(U){return C(U)===n}function Y(U){return C(U)===p}function ne(U){return C(U)===d}function fe(U){return C(U)===r}function Be(U){return C(U)===i}function q(U){return C(U)===a}function V(U){return C(U)===c}e.ContextConsumer=w,e.ContextProvider=v,e.Element=E,e.ForwardRef=O,e.Fragment=M,e.Lazy=N,e.Memo=k,e.Portal=j,e.Profiler=I,e.StrictMode=B,e.Suspense=z,e.isAsyncMode=re,e.isConcurrentMode=me,e.isContextConsumer=de,e.isContextProvider=F,e.isElement=L,e.isForwardRef=D,e.isFragment=G,e.isLazy=Y,e.isMemo=ne,e.isPortal=fe,e.isProfiler=Be,e.isStrictMode=q,e.isSuspense=V,e.isValidElementType=_,e.typeOf=C})()}}),PC=T({"../../node_modules/pretty-format/node_modules/react-is/index.js"(e,t){t.exports=TC()}}),SC=T({"../../node_modules/pretty-format/build/plugins/ReactElement.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=a(PC()),r=jo();function n(p){if(typeof WeakMap!="function")return null;var f=new WeakMap,h=new WeakMap;return(n=function(m){return m?h:f})(p)}function a(p,f){if(p&&p.__esModule)return p;if(p===null||typeof p!="object"&&typeof p!="function")return{default:p};var h=n(f);if(h&&h.has(p))return h.get(p);var m={},g=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var b in p)if(b!=="default"&&Object.prototype.hasOwnProperty.call(p,b)){var y=g?Object.getOwnPropertyDescriptor(p,b):null;y&&(y.get||y.set)?Object.defineProperty(m,b,y):m[b]=p[b]}return m.default=p,h&&h.set(p,m),m}var i=(p,f=[])=>(Array.isArray(p)?p.forEach(h=>{i(h,f)}):p!=null&&p!==!1&&f.push(p),f),o=p=>{let f=p.type;if(typeof f=="string")return f;if(typeof f=="function")return f.displayName||f.name||"Unknown";if(t.isFragment(p))return"React.Fragment";if(t.isSuspense(p))return"React.Suspense";if(typeof f=="object"&&f!==null){if(t.isContextProvider(p))return"Context.Provider";if(t.isContextConsumer(p))return"Context.Consumer";if(t.isForwardRef(p)){if(f.displayName)return f.displayName;let h=f.render.displayName||f.render.name||"";return h!==""?"ForwardRef("+h+")":"ForwardRef"}if(t.isMemo(p)){let h=f.displayName||f.type.displayName||f.type.name||"";return h!==""?"Memo("+h+")":"Memo"}}return"UNDEFINED"},l=p=>{let{props:f}=p;return Object.keys(f).filter(h=>h!=="children"&&f[h]!==void 0).sort()},u=(p,f,h,m,g,b)=>++m>f.maxDepth?(0,r.printElementAsLeaf)(o(p),f):(0,r.printElement)(o(p),(0,r.printProps)(l(p),p.props,f,h+f.indent,m,g,b),(0,r.printChildren)(i(p.props.children),f,h+f.indent,m,g,b),f,h);e.serialize=u;var c=p=>p!=null&&t.isElement(p);e.test=c;var s={serialize:u,test:c},d=s;e.default=d}}),OC=T({"../../node_modules/pretty-format/build/plugins/ReactTestComponent.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=jo(),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,i=s=>{let{props:d}=s;return d?Object.keys(d).filter(p=>d[p]!==void 0).sort():[]},o=(s,d,p,f,h,m)=>++f>d.maxDepth?(0,t.printElementAsLeaf)(s.type,d):(0,t.printElement)(s.type,s.props?(0,t.printProps)(i(s),s.props,d,p+d.indent,f,h,m):"",s.children?(0,t.printChildren)(s.children,d,p+d.indent,f,h,m):"",d,p);e.serialize=o;var l=s=>s&&s.$$typeof===a;e.test=l;var u={serialize:o,test:l},c=u;e.default=c}}),AC=T({"../../node_modules/pretty-format/build/index.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.DEFAULT_OPTIONS=void 0,e.format=ne,e.plugins=void 0;var t=s(Hd()),r=ha(),n=s(yC()),a=s(_C()),i=s(EC()),o=s(CC()),l=s(RC()),u=s(SC()),c=s(OC());function s(q){return q&&q.__esModule?q:{default:q}}var d=Object.prototype.toString,p=Date.prototype.toISOString,f=Error.prototype.toString,h=RegExp.prototype.toString,m=q=>typeof q.constructor=="function"&&q.constructor.name||"Object",g=q=>typeof window<"u"&&q===window,b=/^Symbol\((.*)\)(.*)$/,y=/\n/gi,R=class extends Error{constructor(q,V){super(q),this.stack=V,this.name=this.constructor.name}};function _(q){return q==="[object Array]"||q==="[object ArrayBuffer]"||q==="[object DataView]"||q==="[object Float32Array]"||q==="[object Float64Array]"||q==="[object Int8Array]"||q==="[object Int16Array]"||q==="[object Int32Array]"||q==="[object Uint8Array]"||q==="[object Uint8ClampedArray]"||q==="[object Uint16Array]"||q==="[object Uint32Array]"}function C(q){return Object.is(q,-0)?"-0":String(q)}function w(q){return`${q}n`}function v(q,V){return V?"[Function "+(q.name||"anonymous")+"]":"[Function]"}function E(q){return String(q).replace(b,"Symbol($1)")}function O(q){return"["+f.call(q)+"]"}function M(q,V,U,Q){if(q===!0||q===!1)return""+q;if(q===void 0)return"undefined";if(q===null)return"null";let $=typeof q;if($==="number")return C(q);if($==="bigint")return w(q);if($==="string")return Q?'"'+q.replace(/"|\\/g,"\\$&")+'"':'"'+q+'"';if($==="function")return v(q,V);if($==="symbol")return E(q);let se=d.call(q);return se==="[object WeakMap]"?"WeakMap {}":se==="[object WeakSet]"?"WeakSet {}":se==="[object Function]"||se==="[object GeneratorFunction]"?v(q,V):se==="[object Symbol]"?E(q):se==="[object Date]"?isNaN(+q)?"Date { NaN }":p.call(q):se==="[object Error]"?O(q):se==="[object RegExp]"?U?h.call(q).replace(/[\\^$*+?.()|[\]{}]/g,"\\$&"):h.call(q):q instanceof Error?O(q):null}function N(q,V,U,Q,$,se){if($.indexOf(q)!==-1)return"[Circular]";$=$.slice(),$.push(q);let ue=++Q>V.maxDepth,we=V.min;if(V.callToJSON&&!ue&&q.toJSON&&typeof q.toJSON=="function"&&!se)return B(q.toJSON(),V,U,Q,$,!0);let st=d.call(q);return st==="[object Arguments]"?ue?"[Arguments]":(we?"":"Arguments ")+"["+(0,r.printListItems)(q,V,U,Q,$,B)+"]":_(st)?ue?"["+q.constructor.name+"]":(we||!V.printBasicPrototype&&q.constructor.name==="Array"?"":q.constructor.name+" ")+"["+(0,r.printListItems)(q,V,U,Q,$,B)+"]":st==="[object Map]"?ue?"[Map]":"Map {"+(0,r.printIteratorEntries)(q.entries(),V,U,Q,$,B," => ")+"}":st==="[object Set]"?ue?"[Set]":"Set {"+(0,r.printIteratorValues)(q.values(),V,U,Q,$,B)+"}":ue||g(q)?"["+m(q)+"]":(we||!V.printBasicPrototype&&m(q)==="Object"?"":m(q)+" ")+"{"+(0,r.printObjectProperties)(q,V,U,Q,$,B)+"}"}function k(q){return q.serialize!=null}function j(q,V,U,Q,$,se){let ue;try{ue=k(q)?q.serialize(V,U,Q,$,se,B):q.print(V,we=>B(we,U,Q,$,se),we=>{let st=Q+U.indent;return st+we.replace(y,`
|
|
65
|
+
`+st)},{edgeSpacing:U.spacingOuter,min:U.min,spacing:U.spacingInner},U.colors)}catch(we){throw new R(we.message,we.stack)}if(typeof ue!="string")throw new Error(`pretty-format: Plugin must return type "string" but instead returned "${typeof ue}".`);return ue}function I(q,V){for(let U=0;U<q.length;U++)try{if(q[U].test(V))return q[U]}catch(Q){throw new R(Q.message,Q.stack)}return null}function B(q,V,U,Q,$,se){let ue=I(V.plugins,q);if(ue!==null)return j(ue,q,V,U,Q,$);let we=M(q,V.printFunctionName,V.escapeRegex,V.escapeString);return we!==null?we:N(q,V,U,Q,$,se)}var z={comment:"gray",content:"reset",prop:"yellow",tag:"cyan",value:"green"},K=Object.keys(z),W={callToJSON:!0,compareKeys:void 0,escapeRegex:!1,escapeString:!0,highlight:!1,indent:2,maxDepth:1/0,min:!1,plugins:[],printBasicPrototype:!0,printFunctionName:!0,theme:z};e.DEFAULT_OPTIONS=W;function re(q){if(Object.keys(q).forEach(V=>{if(!W.hasOwnProperty(V))throw new Error(`pretty-format: Unknown option "${V}".`)}),q.min&&q.indent!==void 0&&q.indent!==0)throw new Error('pretty-format: Options "min" and "indent" cannot be used together.');if(q.theme!==void 0){if(q.theme===null)throw new Error('pretty-format: Option "theme" must not be null.');if(typeof q.theme!="object")throw new Error(`pretty-format: Option "theme" must be of type "object" but instead received "${typeof q.theme}".`)}}var me=q=>K.reduce((V,U)=>{let Q=q.theme&&q.theme[U]!==void 0?q.theme[U]:z[U],$=Q&&t.default[Q];if($&&typeof $.close=="string"&&typeof $.open=="string")V[U]=$;else throw new Error(`pretty-format: Option "theme" has a key "${U}" whose value "${Q}" is undefined in ansi-styles.`);return V},Object.create(null)),de=()=>K.reduce((q,V)=>(q[V]={close:"",open:""},q),Object.create(null)),F=q=>q&&q.printFunctionName!==void 0?q.printFunctionName:W.printFunctionName,L=q=>q&&q.escapeRegex!==void 0?q.escapeRegex:W.escapeRegex,D=q=>q&&q.escapeString!==void 0?q.escapeString:W.escapeString,G=q=>{var V;return{callToJSON:q&&q.callToJSON!==void 0?q.callToJSON:W.callToJSON,colors:q&&q.highlight?me(q):de(),compareKeys:q&&typeof q.compareKeys=="function"?q.compareKeys:W.compareKeys,escapeRegex:L(q),escapeString:D(q),indent:q&&q.min?"":Y(q&&q.indent!==void 0?q.indent:W.indent),maxDepth:q&&q.maxDepth!==void 0?q.maxDepth:W.maxDepth,min:q&&q.min!==void 0?q.min:W.min,plugins:q&&q.plugins!==void 0?q.plugins:W.plugins,printBasicPrototype:(V=q==null?void 0:q.printBasicPrototype)!==null&&V!==void 0?V:!0,printFunctionName:F(q),spacingInner:q&&q.min?" ":`
|
|
66
|
+
`,spacingOuter:q&&q.min?"":`
|
|
67
|
+
`}};function Y(q){return new Array(q+1).join(" ")}function ne(q,V){if(V&&(re(V),V.plugins)){let Q=I(V.plugins,q);if(Q!==null)return j(Q,q,G(V),"",0,[])}let U=M(q,F(V),L(V),D(V));return U!==null?U:N(q,G(V),"",0,[])}var fe={AsymmetricMatcher:n.default,ConvertAnsi:a.default,DOMCollection:i.default,DOMElement:o.default,Immutable:l.default,ReactElement:u.default,ReactTestComponent:c.default};e.plugins=fe;var Be=ne;e.default=Be}}),qC=T({"../../node_modules/lz-string/libs/lz-string.js"(e,t){var r=function(){var n=String.fromCharCode,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-$",o={};function l(c,s){if(!o[c]){o[c]={};for(var d=0;d<c.length;d++)o[c][c.charAt(d)]=d}return o[c][s]}var u={compressToBase64:function(c){if(c==null)return"";var s=u._compress(c,6,function(d){return a.charAt(d)});switch(s.length%4){default:case 0:return s;case 1:return s+"===";case 2:return s+"==";case 3:return s+"="}},decompressFromBase64:function(c){return c==null?"":c==""?null:u._decompress(c.length,32,function(s){return l(a,c.charAt(s))})},compressToUTF16:function(c){return c==null?"":u._compress(c,15,function(s){return n(s+32)})+" "},decompressFromUTF16:function(c){return c==null?"":c==""?null:u._decompress(c.length,16384,function(s){return c.charCodeAt(s)-32})},compressToUint8Array:function(c){for(var s=u.compress(c),d=new Uint8Array(s.length*2),p=0,f=s.length;p<f;p++){var h=s.charCodeAt(p);d[p*2]=h>>>8,d[p*2+1]=h%256}return d},decompressFromUint8Array:function(c){if(c==null)return u.decompress(c);for(var s=new Array(c.length/2),d=0,p=s.length;d<p;d++)s[d]=c[d*2]*256+c[d*2+1];var f=[];return s.forEach(function(h){f.push(n(h))}),u.decompress(f.join(""))},compressToEncodedURIComponent:function(c){return c==null?"":u._compress(c,6,function(s){return i.charAt(s)})},decompressFromEncodedURIComponent:function(c){return c==null?"":c==""?null:(c=c.replace(/ /g,"+"),u._decompress(c.length,32,function(s){return l(i,c.charAt(s))}))},compress:function(c){return u._compress(c,16,function(s){return n(s)})},_compress:function(c,s,d){if(c==null)return"";var p,f,h={},m={},g="",b="",y="",R=2,_=3,C=2,w=[],v=0,E=0,O;for(O=0;O<c.length;O+=1)if(g=c.charAt(O),Object.prototype.hasOwnProperty.call(h,g)||(h[g]=_++,m[g]=!0),b=y+g,Object.prototype.hasOwnProperty.call(h,b))y=b;else{if(Object.prototype.hasOwnProperty.call(m,y)){if(y.charCodeAt(0)<256){for(p=0;p<C;p++)v=v<<1,E==s-1?(E=0,w.push(d(v)),v=0):E++;for(f=y.charCodeAt(0),p=0;p<8;p++)v=v<<1|f&1,E==s-1?(E=0,w.push(d(v)),v=0):E++,f=f>>1}else{for(f=1,p=0;p<C;p++)v=v<<1|f,E==s-1?(E=0,w.push(d(v)),v=0):E++,f=0;for(f=y.charCodeAt(0),p=0;p<16;p++)v=v<<1|f&1,E==s-1?(E=0,w.push(d(v)),v=0):E++,f=f>>1}R--,R==0&&(R=Math.pow(2,C),C++),delete m[y]}else for(f=h[y],p=0;p<C;p++)v=v<<1|f&1,E==s-1?(E=0,w.push(d(v)),v=0):E++,f=f>>1;R--,R==0&&(R=Math.pow(2,C),C++),h[b]=_++,y=String(g)}if(y!==""){if(Object.prototype.hasOwnProperty.call(m,y)){if(y.charCodeAt(0)<256){for(p=0;p<C;p++)v=v<<1,E==s-1?(E=0,w.push(d(v)),v=0):E++;for(f=y.charCodeAt(0),p=0;p<8;p++)v=v<<1|f&1,E==s-1?(E=0,w.push(d(v)),v=0):E++,f=f>>1}else{for(f=1,p=0;p<C;p++)v=v<<1|f,E==s-1?(E=0,w.push(d(v)),v=0):E++,f=0;for(f=y.charCodeAt(0),p=0;p<16;p++)v=v<<1|f&1,E==s-1?(E=0,w.push(d(v)),v=0):E++,f=f>>1}R--,R==0&&(R=Math.pow(2,C),C++),delete m[y]}else for(f=h[y],p=0;p<C;p++)v=v<<1|f&1,E==s-1?(E=0,w.push(d(v)),v=0):E++,f=f>>1;R--,R==0&&(R=Math.pow(2,C),C++)}for(f=2,p=0;p<C;p++)v=v<<1|f&1,E==s-1?(E=0,w.push(d(v)),v=0):E++,f=f>>1;for(;;)if(v=v<<1,E==s-1){w.push(d(v));break}else E++;return w.join("")},decompress:function(c){return c==null?"":c==""?null:u._decompress(c.length,32768,function(s){return c.charCodeAt(s)})},_decompress:function(c,s,d){var p=[],f=4,h=4,m=3,g="",b=[],y,R,_,C,w,v,E,O={val:d(0),position:s,index:1};for(y=0;y<3;y+=1)p[y]=y;for(_=0,w=Math.pow(2,2),v=1;v!=w;)C=O.val&O.position,O.position>>=1,O.position==0&&(O.position=s,O.val=d(O.index++)),_|=(C>0?1:0)*v,v<<=1;switch(_){case 0:for(_=0,w=Math.pow(2,8),v=1;v!=w;)C=O.val&O.position,O.position>>=1,O.position==0&&(O.position=s,O.val=d(O.index++)),_|=(C>0?1:0)*v,v<<=1;E=n(_);break;case 1:for(_=0,w=Math.pow(2,16),v=1;v!=w;)C=O.val&O.position,O.position>>=1,O.position==0&&(O.position=s,O.val=d(O.index++)),_|=(C>0?1:0)*v,v<<=1;E=n(_);break;case 2:return""}for(p[3]=E,R=E,b.push(E);;){if(O.index>c)return"";for(_=0,w=Math.pow(2,m),v=1;v!=w;)C=O.val&O.position,O.position>>=1,O.position==0&&(O.position=s,O.val=d(O.index++)),_|=(C>0?1:0)*v,v<<=1;switch(E=_){case 0:for(_=0,w=Math.pow(2,8),v=1;v!=w;)C=O.val&O.position,O.position>>=1,O.position==0&&(O.position=s,O.val=d(O.index++)),_|=(C>0?1:0)*v,v<<=1;p[h++]=n(_),E=h-1,f--;break;case 1:for(_=0,w=Math.pow(2,16),v=1;v!=w;)C=O.val&O.position,O.position>>=1,O.position==0&&(O.position=s,O.val=d(O.index++)),_|=(C>0?1:0)*v,v<<=1;p[h++]=n(_),E=h-1,f--;break;case 2:return b.join("")}if(f==0&&(f=Math.pow(2,m),m++),p[E])g=p[E];else if(E===h)g=R+R.charAt(0);else return null;b.push(g),p[h++]=R+g.charAt(0),f--,R=g,f==0&&(f=Math.pow(2,m),m++)}}};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})}}),zd=Object.defineProperty,xC=Object.getOwnPropertyNames,x=(e,t)=>zd(e,"name",{value:t,configurable:!0}),MC=(e,t)=>function(){return t||(0,e[xC(e)[0]])((t={exports:{}}).exports,t),t.exports},Io=(e,t)=>{for(var r in t)zd(e,r,{get:t[r],enumerable:!0})},$C=MC({"(disabled):util"(){}}),nt={};Io(nt,{addChainableMethod:()=>Ko,addLengthGuard:()=>pn,addMethod:()=>Vo,addProperty:()=>zo,checkError:()=>ke,compareByInspect:()=>Un,eql:()=>gf,expectTypes:()=>Xd,flag:()=>J,getActual:()=>ba,getMessage:()=>ko,getName:()=>ya,getOperator:()=>Qo,getOwnEnumerableProperties:()=>Xo,getOwnEnumerablePropertySymbols:()=>Jo,getPathInfo:()=>Ho,hasProperty:()=>ga,inspect:()=>ee,isNaN:()=>Hn,isProxyEnabled:()=>fn,isRegExp:()=>zn,objDisplay:()=>Ut,overwriteChainableMethod:()=>Yo,overwriteMethod:()=>Wo,overwriteProperty:()=>Go,proxify:()=>Ar,test:()=>Lo,transferFlags:()=>Ze,type:()=>ce});var ke={};Io(ke,{compatibleConstructor:()=>Wd,compatibleInstance:()=>Gd,compatibleMessage:()=>Kd,getConstructorName:()=>Yd,getMessage:()=>Jd});function ma(e){return e instanceof Error||Object.prototype.toString.call(e)==="[object Error]"}x(ma,"isErrorInstance");function Vd(e){return Object.prototype.toString.call(e)==="[object RegExp]"}x(Vd,"isRegExp");function Gd(e,t){return ma(t)&&e===t}x(Gd,"compatibleInstance");function Wd(e,t){return ma(t)?e.constructor===t.constructor||e instanceof t.constructor:(typeof t=="object"||typeof t=="function")&&t.prototype?e.constructor===t||e instanceof t:!1}x(Wd,"compatibleConstructor");function Kd(e,t){let r=typeof e=="string"?e:e.message;return Vd(t)?t.test(r):typeof t=="string"?r.indexOf(t)!==-1:!1}x(Kd,"compatibleMessage");function Yd(e){let t=e;return ma(e)?t=e.constructor.name:typeof e=="function"&&(t=e.name,t===""&&(t=new e().name||t)),t}x(Yd,"getConstructorName");function Jd(e){let t="";return e&&e.message?t=e.message:typeof e=="string"&&(t=e),t}x(Jd,"getMessage");function J(e,t,r){var n=e.__flags||(e.__flags=Object.create(null));if(arguments.length===3)n[t]=r;else return n[t]}x(J,"flag");function Lo(e,t){var r=J(e,"negate"),n=t[0];return r?!n:n}x(Lo,"test");function ce(e){if(typeof e>"u")return"undefined";if(e===null)return"null";let t=e[Symbol.toStringTag];return typeof t=="string"?t:Object.prototype.toString.call(e).slice(8,-1)}x(ce,"type");var NC="captureStackTrace"in Error,wn,oe=(wn=class extends Error{constructor(t="Unspecified AssertionError",r,n){super(t);ye(this,"message");this.message=t,NC&&Error.captureStackTrace(this,n||wn);for(let 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}}},x(wn,"AssertionError"),wn);function Xd(e,t){var r=J(e,"message"),n=J(e,"ssfi");r=r?r+": ":"",e=J(e,"object"),t=t.map(function(o){return o.toLowerCase()}),t.sort();var a=t.map(function(o,l){var u=~["a","e","i","o","u"].indexOf(o.charAt(0))?"an":"a",c=t.length>1&&l===t.length-1?"or ":"";return c+u+" "+o}).join(", "),i=ce(e).toLowerCase();if(!t.some(function(o){return i===o}))throw new oe(r+"object tested must be "+a+", but "+i+" given",void 0,n)}x(Xd,"expectTypes");function ba(e,t){return t.length>4?t[4]:e._obj}x(ba,"getActual");var Fs={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"]},jC={special:"cyan",number:"yellow",bigint:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",symbol:"green",date:"magenta",regexp:"red"},mr="…";function Qd(e,t){let r=Fs[jC[t]]||Fs[t]||"";return r?`\x1B[${r[0]}m${String(e)}\x1B[${r[1]}m`:String(e)}x(Qd,"colorise");function Zd({showHidden:e=!1,depth:t=2,colors:r=!1,customInspect:n=!0,showProxy:a=!1,maxArrayLength:i=1/0,breakLength:o=1/0,seen:l=[],truncate:u=1/0,stylize:c=String}={},s){let d={showHidden:!!e,depth:Number(t),colors:!!r,customInspect:!!n,showProxy:!!a,maxArrayLength:Number(i),breakLength:Number(o),truncate:Number(u),seen:l,inspect:s,stylize:c};return d.colors&&(d.stylize=Qd),d}x(Zd,"normaliseOptions");function _t(e,t,r=mr){e=String(e);let n=r.length,a=e.length;return n>t&&a>n?r:a>t&&a>n?`${e.slice(0,t-n)}${r}`:e}x(_t,"truncate");function Ve(e,t,r,n=", "){r=r||t.inspect;let a=e.length;if(a===0)return"";let i=t.truncate,o="",l="",u="";for(let c=0;c<a;c+=1){let s=c+1===e.length,d=c+2===e.length;u=`${mr}(${e.length-c})`;let p=e[c];t.truncate=i-o.length-(s?0:n.length);let f=l||r(p,t)+(s?"":n),h=o.length+f.length,m=h+u.length;if(s&&h>i&&o.length+u.length<=i||!s&&!d&&m>i||(l=s?"":r(e[c+1],t)+(d?"":n),!s&&d&&m>i&&h+l.length>i))break;if(o+=f,!s&&!d&&h+l.length>=i){u=`${mr}(${e.length-c-1})`;break}u=""}return`${o}${u}`}x(Ve,"inspectList");function ef(e){return e.match(/^[a-zA-Z_][a-zA-Z_0-9]*$/)?e:JSON.stringify(e).replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'")}x(ef,"quoteComplexKey");function br([e,t],r){return r.truncate-=2,typeof e=="string"?e=ef(e):typeof e!="number"&&(e=`[${r.inspect(e,r)}]`),r.truncate-=e.length,t=r.inspect(t,r),`${e}: ${t}`}x(br,"inspectProperty");function tf(e,t){let r=Object.keys(e).slice(e.length);if(!e.length&&!r.length)return"[]";t.truncate-=4;let n=Ve(e,t);t.truncate-=n.length;let a="";return r.length&&(a=Ve(r.map(i=>[i,e[i]]),t,br)),`[ ${n}${a?`, ${a}`:""} ]`}x(tf,"inspectArray");var IC=x(e=>typeof Buffer=="function"&&e instanceof Buffer?"Buffer":e[Symbol.toStringTag]?e[Symbol.toStringTag]:e.constructor.name,"getArrayName");function tt(e,t){let r=IC(e);t.truncate-=r.length+4;let n=Object.keys(e).slice(e.length);if(!e.length&&!n.length)return`${r}[]`;let a="";for(let o=0;o<e.length;o++){let l=`${t.stylize(_t(e[o],t.truncate),"number")}${o===e.length-1?"":", "}`;if(t.truncate-=l.length,e[o]!==e.length&&t.truncate<=3){a+=`${mr}(${e.length-e[o]+1})`;break}a+=l}let i="";return n.length&&(i=Ve(n.map(o=>[o,e[o]]),t,br)),`${r}[ ${a}${i?`, ${i}`:""} ]`}x(tt,"inspectTypedArray");function rf(e,t){let r=e.toJSON();if(r===null)return"Invalid Date";let n=r.split("T"),a=n[0];return t.stylize(`${a}T${_t(n[1],t.truncate-a.length-1)}`,"date")}x(rf,"inspectDate");function _i(e,t){let r=e[Symbol.toStringTag]||"Function",n=e.name;return n?t.stylize(`[${r} ${_t(n,t.truncate-11)}]`,"special"):t.stylize(`[${r}]`,"special")}x(_i,"inspectFunction");function nf([e,t],r){return r.truncate-=4,e=r.inspect(e,r),r.truncate-=e.length,t=r.inspect(t,r),`${e} => ${t}`}x(nf,"inspectMapEntry");function af(e){let t=[];return e.forEach((r,n)=>{t.push([n,r])}),t}x(af,"mapToEntries");function of(e,t){return e.size-1<=0?"Map{}":(t.truncate-=7,`Map{ ${Ve(af(e),t,nf)} }`)}x(of,"inspectMap");var LC=Number.isNaN||(e=>e!==e);function Ei(e,t){return LC(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(_t(String(e),t.truncate),"number")}x(Ei,"inspectNumber");function wi(e,t){let r=_t(e.toString(),t.truncate-1);return r!==mr&&(r+="n"),t.stylize(r,"bigint")}x(wi,"inspectBigInt");function lf(e,t){let r=e.toString().split("/")[2],n=t.truncate-(2+r.length),a=e.source;return t.stylize(`/${_t(a,n)}/${r}`,"regexp")}x(lf,"inspectRegExp");function sf(e){let t=[];return e.forEach(r=>{t.push(r)}),t}x(sf,"arrayFromSet");function uf(e,t){return e.size===0?"Set{}":(t.truncate-=7,`Set{ ${Ve(sf(e),t)} }`)}x(uf,"inspectSet");var Us=new RegExp("['\\u0000-\\u001f\\u007f-\\u009f\\u00ad\\u0600-\\u0604\\u070f\\u17b4\\u17b5\\u200c-\\u200f\\u2028-\\u202f\\u2060-\\u206f\\ufeff\\ufff0-\\uffff]","g"),BC={"\b":"\\b"," ":"\\t","\n":"\\n","\f":"\\f","\r":"\\r","'":"\\'","\\":"\\\\"},kC=16;function cf(e){return BC[e]||`\\u${`0000${e.charCodeAt(0).toString(kC)}`.slice(-4)}`}x(cf,"escape");function Ci(e,t){return Us.test(e)&&(e=e.replace(Us,cf)),t.stylize(`'${_t(e,t.truncate-2)}'`,"string")}x(Ci,"inspectString");function Ri(e){return"description"in Symbol.prototype?e.description?`Symbol(${e.description})`:"Symbol()":e.toString()}x(Ri,"inspectSymbol");var df=x(()=>"Promise{…}","getPromiseValue");try{let{getPromiseDetails:e,kPending:t,kRejected:r}=process.binding("util");Array.isArray(e(Promise.resolve()))&&(df=x((n,a)=>{let[i,o]=e(n);return i===t?"Promise{<pending>}":`Promise${i===r?"!":""}{${a.inspect(o,a)}}`},"getPromiseValue"))}catch{}var DC=df;function kr(e,t){let 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.indexOf(e)>=0)return"[Circular]";t.seen.push(e);let a=Ve(r.map(l=>[l,e[l]]),t,br),i=Ve(n.map(l=>[l,e[l]]),t,br);t.seen.pop();let o="";return a&&i&&(o=", "),`{ ${a}${o}${i} }`}x(kr,"inspectObject");var Ga=typeof Symbol<"u"&&Symbol.toStringTag?Symbol.toStringTag:!1;function ff(e,t){let r="";return Ga&&Ga in e&&(r=e[Ga]),r=r||e.constructor.name,(!r||r==="_class")&&(r="<Anonymous Class>"),t.truncate-=r.length,`${r}${kr(e,t)}`}x(ff,"inspectClass");function pf(e,t){return e.length===0?"Arguments[]":(t.truncate-=13,`Arguments[ ${Ve(e,t)} ]`)}x(pf,"inspectArguments");var FC=["stack","line","column","name","message","fileName","lineNumber","columnNumber","number","description"];function hf(e,t){let r=Object.getOwnPropertyNames(e).filter(o=>FC.indexOf(o)===-1),n=e.name;t.truncate-=n.length;let a="";typeof e.message=="string"?a=_t(e.message,t.truncate):r.unshift("message"),a=a?`: ${a}`:"",t.truncate-=a.length+5;let i=Ve(r.map(o=>[o,e[o]]),t,br);return`${n}${a}${i?` { ${i} }`:""}`}x(hf,"inspectObject");function mf([e,t],r){return r.truncate-=3,t?`${r.stylize(String(e),"yellow")}=${r.stylize(`"${t}"`,"string")}`:`${r.stylize(String(e),"yellow")}`}x(mf,"inspectAttribute");function kn(e,t){return Ve(e,t,Bo,`
|
|
68
|
+
`)}x(kn,"inspectHTMLCollection");function Bo(e,t){let r=e.getAttributeNames(),n=e.tagName.toLowerCase(),a=t.stylize(`<${n}`,"special"),i=t.stylize(">","special"),o=t.stylize(`</${n}>`,"special");t.truncate-=n.length*2+5;let l="";r.length>0&&(l+=" ",l+=Ve(r.map(s=>[s,e.getAttribute(s)]),t,mf," ")),t.truncate-=l.length;let u=t.truncate,c=kn(e.children,t);return c&&c.length>u&&(c=`${mr}(${e.children.length})`),`${a}${l}${i}${c}${o}`}x(Bo,"inspectHTML");var UC=typeof Symbol=="function"&&typeof Symbol.for=="function",Wa=UC?Symbol.for("chai/inspect"):"@@chai/inspect",ar=!1;try{let e=$C();ar=e.inspect?e.inspect.custom:!1}catch{ar=!1}var Hs=new WeakMap,zs={},Vs={undefined:(e,t)=>t.stylize("undefined","undefined"),null:(e,t)=>t.stylize("null","null"),boolean:(e,t)=>t.stylize(String(e),"boolean"),Boolean:(e,t)=>t.stylize(String(e),"boolean"),number:Ei,Number:Ei,bigint:wi,BigInt:wi,string:Ci,String:Ci,function:_i,Function:_i,symbol:Ri,Symbol:Ri,Array:tf,Date:rf,Map:of,Set:uf,RegExp:lf,Promise:DC,WeakSet:(e,t)=>t.stylize("WeakSet{…}","special"),WeakMap:(e,t)=>t.stylize("WeakMap{…}","special"),Arguments:pf,Int8Array:tt,Uint8Array:tt,Uint8ClampedArray:tt,Int16Array:tt,Uint16Array:tt,Int32Array:tt,Uint32Array:tt,Float32Array:tt,Float64Array:tt,Generator:()=>"",DataView:()=>"",ArrayBuffer:()=>"",Error:hf,HTMLCollection:kn,NodeList:kn},HC=x((e,t,r)=>Wa in e&&typeof e[Wa]=="function"?e[Wa](t):ar&&ar in e&&typeof e[ar]=="function"?e[ar](t.depth,t):"inspect"in e&&typeof e.inspect=="function"?e.inspect(t.depth,t):"constructor"in e&&Hs.has(e.constructor)?Hs.get(e.constructor)(e,t):zs[r]?zs[r](e,t):"","inspectCustom"),zC=Object.prototype.toString;function Dn(e,t={}){let r=Zd(t,Dn),{customInspect:n}=r,a=e===null?"null":typeof e;if(a==="object"&&(a=zC.call(e).slice(8,-1)),a in Vs)return Vs[a](e,r);if(n&&e){let o=HC(e,r,a);if(o)return typeof o=="string"?o:Dn(o,r)}let i=e?Object.getPrototypeOf(e):!1;return i===Object.prototype||i===null?kr(e,r):e&&typeof HTMLElement=="function"&&e instanceof HTMLElement?Bo(e,r):"constructor"in e?e.constructor!==Object?ff(e,r):kr(e,r):e===Object(e)?kr(e,r):r.stylize(String(e),a)}x(Dn,"inspect");var Ie={includeStack:!1,showDiff:!0,truncateThreshold:40,useProxy:!0,proxyExcludedKeys:["then","catch","inspect","toJSON"],deepEqual:null};function ee(e,t,r,n){var a={colors:n,depth:typeof r>"u"?2:r,showHidden:t,truncate:Ie.truncateThreshold?Ie.truncateThreshold:1/0};return Dn(e,a)}x(ee,"inspect");function Ut(e){var t=ee(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]"){var n=Object.keys(e),a=n.length>2?n.splice(0,2).join(", ")+", ...":n.join(", ");return"{ Object ("+a+") }"}else return t}else return t}x(Ut,"objDisplay");function ko(e,t){var r=J(e,"negate"),n=J(e,"object"),a=t[3],i=ba(e,t),o=r?t[2]:t[1],l=J(e,"message");return typeof o=="function"&&(o=o()),o=o||"",o=o.replace(/#\{this\}/g,function(){return Ut(n)}).replace(/#\{act\}/g,function(){return Ut(i)}).replace(/#\{exp\}/g,function(){return Ut(a)}),l?l+": "+o:o}x(ko,"getMessage");function Ze(e,t,r){var n=e.__flags||(e.__flags=Object.create(null));t.__flags||(t.__flags=Object.create(null)),r=arguments.length===3?r:!0;for(var a in n)(r||a!=="object"&&a!=="ssfi"&&a!=="lockSsfi"&&a!="message")&&(t.__flags[a]=n[a])}x(Ze,"transferFlags");function Ti(e){if(typeof e>"u")return"undefined";if(e===null)return"null";let t=e[Symbol.toStringTag];return typeof t=="string"?t:Object.prototype.toString.call(e).slice(8,-1)}x(Ti,"type");function Do(){this._key="chai/deep-eql__"+Math.random()+Date.now()}x(Do,"FakeMap");Do.prototype={get:x(function(e){return e[this._key]},"get"),set:x(function(e,t){Object.isExtensible(e)&&Object.defineProperty(e,this._key,{value:t,configurable:!0})},"set")};var bf=typeof WeakMap=="function"?WeakMap:Do;function Pi(e,t,r){if(!r||Vt(e)||Vt(t))return null;var n=r.get(e);if(n){var a=n.get(t);if(typeof a=="boolean")return a}return null}x(Pi,"memoizeCompare");function jr(e,t,r,n){if(!(!r||Vt(e)||Vt(t))){var a=r.get(e);a?a.set(t,n):(a=new bf,a.set(t,n),r.set(e,a))}}x(jr,"memoizeSet");var gf=dn;function dn(e,t,r){if(r&&r.comparator)return Si(e,t,r);var n=Fo(e,t);return n!==null?n:Si(e,t,r)}x(dn,"deepEqual");function Fo(e,t){return e===t?e!==0||1/e===1/t:e!==e&&t!==t?!0:Vt(e)||Vt(t)?!1:null}x(Fo,"simpleEqual");function Si(e,t,r){r=r||{},r.memoize=r.memoize===!1?!1:r.memoize||new bf;var n=r&&r.comparator,a=Pi(e,t,r.memoize);if(a!==null)return a;var i=Pi(t,e,r.memoize);if(i!==null)return i;if(n){var o=n(e,t);if(o===!1||o===!0)return jr(e,t,r.memoize,o),o;var l=Fo(e,t);if(l!==null)return l}var u=Ti(e);if(u!==Ti(t))return jr(e,t,r.memoize,!1),!1;jr(e,t,r.memoize,!0);var c=yf(e,t,u,r);return jr(e,t,r.memoize,c),c}x(Si,"extensiveDeepEqual");function yf(e,t,r,n){switch(r){case"String":case"Number":case"Boolean":case"Date":return dn(e.valueOf(),t.valueOf());case"Promise":case"Symbol":case"function":case"WeakMap":case"WeakSet":return e===t;case"Error":return Uo(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 xt(e,t,n);case"RegExp":return vf(e,t);case"Generator":return _f(e,t,n);case"DataView":return xt(new Uint8Array(e.buffer),new Uint8Array(t.buffer),n);case"ArrayBuffer":return xt(new Uint8Array(e),new Uint8Array(t),n);case"Set":return Oi(e,t,n);case"Map":return Oi(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 wf(e,t,n)}}x(yf,"extensiveDeepEqualByType");function vf(e,t){return e.toString()===t.toString()}x(vf,"regexpEqual");function Oi(e,t,r){if(e.size!==t.size)return!1;if(e.size===0)return!0;var n=[],a=[];return e.forEach(x(function(i,o){n.push([i,o])},"gatherEntries")),t.forEach(x(function(i,o){a.push([i,o])},"gatherEntries")),xt(n.sort(),a.sort(),r)}x(Oi,"entriesEqual");function xt(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(dn(e[a],t[a],r)===!1)return!1;return!0}x(xt,"iterableEqual");function _f(e,t,r){return xt(Fn(e),Fn(t),r)}x(_f,"generatorEqual");function Ef(e){return typeof Symbol<"u"&&typeof e=="object"&&typeof Symbol.iterator<"u"&&typeof e[Symbol.iterator]=="function"}x(Ef,"hasIteratorFunction");function Ai(e){if(Ef(e))try{return Fn(e[Symbol.iterator]())}catch{return[]}return[]}x(Ai,"getIteratorEntries");function Fn(e){for(var t=e.next(),r=[t.value];t.done===!1;)t=e.next(),r.push(t.value);return r}x(Fn,"getGeneratorEntries");function qi(e){var t=[];for(var r in e)t.push(r);return t}x(qi,"getEnumerableKeys");function xi(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}x(xi,"getEnumerableSymbols");function Uo(e,t,r,n){var a=r.length;if(a===0)return!0;for(var i=0;i<a;i+=1)if(dn(e[r[i]],t[r[i]],n)===!1)return!1;return!0}x(Uo,"keysEqual");function wf(e,t,r){var n=qi(e),a=qi(t),i=xi(e),o=xi(t);if(n=n.concat(i),a=a.concat(o),n.length&&n.length===a.length)return xt(Mi(n).sort(),Mi(a).sort())===!1?!1:Uo(e,t,n,r);var l=Ai(e),u=Ai(t);return l.length&&l.length===u.length?(l.sort(),u.sort(),xt(l,u,r)):n.length===0&&l.length===0&&a.length===0&&u.length===0}x(wf,"objectEqual");function Vt(e){return e===null||typeof e!="object"}x(Vt,"isPrimitive");function Mi(e){return e.map(x(function(t){return typeof t=="symbol"?t.toString():t},"mapSymbol"))}x(Mi,"mapSymbols");function ga(e,t){return typeof e>"u"||e===null?!1:t in Object(e)}x(ga,"hasProperty");function Cf(e){return e.replace(/([^\\])\[/g,"$1.[").match(/(\\\.|[^.]+?)+/g).map(t=>{if(t==="constructor"||t==="__proto__"||t==="prototype")return{};let r=/^\[(\d+)\]$/.exec(t),n=null;return r?n={i:parseFloat(r[1])}:n={p:t.replace(/\\([.[\]])/g,"$1")},n})}x(Cf,"parsePath");function $i(e,t,r){let n=e,a=null;r=typeof r>"u"?t.length:r;for(let i=0;i<r;i++){let o=t[i];n&&(typeof o.p>"u"?n=n[o.i]:n=n[o.p],i===r-1&&(a=n))}return a}x($i,"internalGetPathValue");function Ho(e,t){let r=Cf(t),n=r[r.length-1],a={parent:r.length>1?$i(e,r,r.length-1):e,name:n.p||n.i,value:$i(e,r)};return a.exists=ga(a.parent,a.name),a}x(Ho,"getPathInfo");function S(e,t,r,n){return J(this,"ssfi",r||S),J(this,"lockSsfi",n),J(this,"object",e),J(this,"message",t),J(this,"eql",Ie.deepEqual||gf),Ar(this)}x(S,"Assertion");Object.defineProperty(S,"includeStack",{get:function(){return console.warn("Assertion.includeStack is deprecated, use chai.config.includeStack instead."),Ie.includeStack},set:function(e){console.warn("Assertion.includeStack is deprecated, use chai.config.includeStack instead."),Ie.includeStack=e}});Object.defineProperty(S,"showDiff",{get:function(){return console.warn("Assertion.showDiff is deprecated, use chai.config.showDiff instead."),Ie.showDiff},set:function(e){console.warn("Assertion.showDiff is deprecated, use chai.config.showDiff instead."),Ie.showDiff=e}});S.addProperty=function(e,t){zo(this.prototype,e,t)};S.addMethod=function(e,t){Vo(this.prototype,e,t)};S.addChainableMethod=function(e,t,r){Ko(this.prototype,e,t,r)};S.overwriteProperty=function(e,t){Go(this.prototype,e,t)};S.overwriteMethod=function(e,t){Wo(this.prototype,e,t)};S.overwriteChainableMethod=function(e,t,r){Yo(this.prototype,e,t,r)};S.prototype.assert=function(e,t,r,n,a,i){var o=Lo(this,arguments);if(i!==!1&&(i=!0),n===void 0&&a===void 0&&(i=!1),Ie.showDiff!==!0&&(i=!1),!o){t=ko(this,arguments);var l=ba(this,arguments),u={actual:l,expected:n,showDiff:i},c=Qo(this,arguments);throw c&&(u.operator=c),new oe(t,u,Ie.includeStack?this.assert:J(this,"ssfi"))}};Object.defineProperty(S.prototype,"_obj",{get:function(){return J(this,"object")},set:function(e){J(this,"object",e)}});function fn(){return Ie.useProxy&&typeof Proxy<"u"&&typeof Reflect<"u"}x(fn,"isProxyEnabled");function zo(e,t,r){r=r===void 0?function(){}:r,Object.defineProperty(e,t,{get:x(function n(){!fn()&&!J(this,"lockSsfi")&&J(this,"ssfi",n);var a=r.call(this);if(a!==void 0)return a;var i=new S;return Ze(this,i),i},"propertyGetter"),configurable:!0})}x(zo,"addProperty");var VC=Object.getOwnPropertyDescriptor(function(){},"length");function pn(e,t,r){return VC.configurable&&Object.defineProperty(e,"length",{get: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+'".')}}),e}x(pn,"addLengthGuard");function Rf(e){var t=Object.getOwnPropertyNames(e);function r(a){t.indexOf(a)===-1&&t.push(a)}x(r,"addProperty");for(var n=Object.getPrototypeOf(e);n!==null;)Object.getOwnPropertyNames(n).forEach(r),n=Object.getPrototypeOf(n);return t}x(Rf,"getProperties");var Gs=["__flags","__methods","_obj","assert"];function Ar(e,t){return fn()?new Proxy(e,{get:x(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+'".');var i=null,o=4;throw Rf(n).forEach(function(l){if(!Object.prototype.hasOwnProperty(l)&&Gs.indexOf(l)===-1){var u=Tf(a,l,o);u<o&&(i=l,o=u)}}),Error(i!==null?"Invalid Chai property: "+a+'. Did you mean "'+i+'"?':"Invalid Chai property: "+a)}return Gs.indexOf(a)===-1&&!J(n,"lockSsfi")&&J(n,"ssfi",r),Reflect.get(n,a)},"proxyGetter")}):e}x(Ar,"proxify");function Tf(e,t,r){if(Math.abs(e.length-t.length)>=r)return r;for(var n=[],a=0;a<=e.length;a++)n[a]=Array(t.length+1).fill(0),n[a][0]=a;for(var i=0;i<t.length;i++)n[0][i]=i;for(var a=1;a<=e.length;a++)for(var o=e.charCodeAt(a-1),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]}x(Tf,"stringDistanceCapped");function Vo(e,t,r){var n=x(function(){J(this,"lockSsfi")||J(this,"ssfi",n);var a=r.apply(this,arguments);if(a!==void 0)return a;var i=new S;return Ze(this,i),i},"methodWrapper");pn(n,t,!1),e[t]=Ar(n,t)}x(Vo,"addMethod");function Go(e,t,r){var n=Object.getOwnPropertyDescriptor(e,t),a=x(function(){},"_super");n&&typeof n.get=="function"&&(a=n.get),Object.defineProperty(e,t,{get:x(function i(){!fn()&&!J(this,"lockSsfi")&&J(this,"ssfi",i);var o=J(this,"lockSsfi");J(this,"lockSsfi",!0);var l=r(a).call(this);if(J(this,"lockSsfi",o),l!==void 0)return l;var u=new S;return Ze(this,u),u},"overwritingPropertyGetter"),configurable:!0})}x(Go,"overwriteProperty");function Wo(e,t,r){var n=e[t],a=x(function(){throw new Error(t+" is not a function")},"_super");n&&typeof n=="function"&&(a=n);var i=x(function(){J(this,"lockSsfi")||J(this,"ssfi",i);var o=J(this,"lockSsfi");J(this,"lockSsfi",!0);var l=r(a).apply(this,arguments);if(J(this,"lockSsfi",o),l!==void 0)return l;var u=new S;return Ze(this,u),u},"overwritingMethodWrapper");pn(i,t,!1),e[t]=Ar(i,t)}x(Wo,"overwriteMethod");var GC=typeof Object.setPrototypeOf=="function",Ws=x(function(){},"testFn"),WC=Object.getOwnPropertyNames(Ws).filter(function(e){var t=Object.getOwnPropertyDescriptor(Ws,e);return typeof t!="object"?!0:!t.configurable}),KC=Function.prototype.call,YC=Function.prototype.apply;function Ko(e,t,r,n){typeof n!="function"&&(n=x(function(){},"chainingBehavior"));var a={method:r,chainingBehavior:n};e.__methods||(e.__methods={}),e.__methods[t]=a,Object.defineProperty(e,t,{get:x(function(){a.chainingBehavior.call(this);var i=x(function(){J(this,"lockSsfi")||J(this,"ssfi",i);var u=a.method.apply(this,arguments);if(u!==void 0)return u;var c=new S;return Ze(this,c),c},"chainableMethodWrapper");if(pn(i,t,!0),GC){var o=Object.create(this);o.call=KC,o.apply=YC,Object.setPrototypeOf(i,o)}else{var l=Object.getOwnPropertyNames(e);l.forEach(function(u){if(WC.indexOf(u)===-1){var c=Object.getOwnPropertyDescriptor(e,u);Object.defineProperty(i,u,c)}})}return Ze(this,i),Ar(i)},"chainableMethodGetter"),configurable:!0})}x(Ko,"addChainableMethod");function Yo(e,t,r,n){var a=e.__methods[t],i=a.chainingBehavior;a.chainingBehavior=x(function(){var l=n(i).call(this);if(l!==void 0)return l;var u=new S;return Ze(this,u),u},"overwritingChainableMethodGetter");var o=a.method;a.method=x(function(){var l=r(o).apply(this,arguments);if(l!==void 0)return l;var u=new S;return Ze(this,u),u},"overwritingChainableMethodWrapper")}x(Yo,"overwriteChainableMethod");function Un(e,t){return ee(e)<ee(t)?-1:1}x(Un,"compareByInspect");function Jo(e){return typeof Object.getOwnPropertySymbols!="function"?[]:Object.getOwnPropertySymbols(e).filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})}x(Jo,"getOwnEnumerablePropertySymbols");function Xo(e){return Object.keys(e).concat(Jo(e))}x(Xo,"getOwnEnumerableProperties");function Pf(e){return e!==e}x(Pf,"_isNaN");var Hn=Number.isNaN||Pf;function Sf(e){var t=ce(e),r=["Array","Object","Function"];return r.indexOf(t)!==-1}x(Sf,"isObjectType");function Qo(e,t){var r=J(e,"operator"),n=J(e,"negate"),a=t[3],i=n?t[2]:t[1];if(r)return r;if(typeof i=="function"&&(i=i()),i=i||"",!!i&&!/\shave\s/.test(i)){var o=Sf(a);return/\snot\s/.test(i)?o?"notDeepStrictEqual":"notStrictEqual":o?"deepStrictEqual":"strictEqual"}}x(Qo,"getOperator");function ya(e){return e.name}x(ya,"getName");function zn(e){return Object.prototype.toString.call(e)==="[object RegExp]"}x(zn,"isRegExp");var{flag:A}=nt;["to","be","been","is","and","has","have","with","that","which","at","of","same","but","does","still","also"].forEach(function(e){S.addProperty(e)});S.addProperty("not",function(){A(this,"negate",!0)});S.addProperty("deep",function(){A(this,"deep",!0)});S.addProperty("nested",function(){A(this,"nested",!0)});S.addProperty("own",function(){A(this,"own",!0)});S.addProperty("ordered",function(){A(this,"ordered",!0)});S.addProperty("any",function(){A(this,"any",!0),A(this,"all",!1)});S.addProperty("all",function(){A(this,"all",!0),A(this,"any",!1)});var Ks={function:["function","asyncfunction","generatorfunction","asyncgeneratorfunction"],asyncfunction:["asyncfunction","asyncgeneratorfunction"],generatorfunction:["generatorfunction","asyncgeneratorfunction"],asyncgeneratorfunction:["asyncgeneratorfunction"]};function Zo(e,t){t&&A(this,"message",t),e=e.toLowerCase();var r=A(this,"object"),n=~["a","e","i","o","u"].indexOf(e.charAt(0))?"an ":"a ";let a=ce(r).toLowerCase();Ks.function.includes(e)?this.assert(Ks[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)}x(Zo,"an");S.addChainableMethod("an",Zo);S.addChainableMethod("a",Zo);function Of(e,t){return Hn(e)&&Hn(t)||e===t}x(Of,"SameValueZero");function hn(){A(this,"contains",!0)}x(hn,"includeChainingBehavior");function mn(e,t){t&&A(this,"message",t);var r=A(this,"object"),n=ce(r).toLowerCase(),a=A(this,"message"),i=A(this,"negate"),o=A(this,"ssfi"),l=A(this,"deep"),u=l?"deep ":"",c=l?A(this,"eql"):Of;a=a?a+": ":"";var s=!1;switch(n){case"string":s=r.indexOf(e)!==-1;break;case"weakset":if(l)throw new oe(a+"unable to use .deep.include with WeakSet",void 0,o);s=r.has(e);break;case"map":r.forEach(function(h){s=s||c(h,e)});break;case"set":l?r.forEach(function(h){s=s||c(h,e)}):s=r.has(e);break;case"array":l?s=r.some(function(h){return c(h,e)}):s=r.indexOf(e)!==-1;break;default:if(e!==Object(e))throw new oe(a+"the given combination of arguments ("+n+" and "+ce(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 "+ce(e).toLowerCase(),void 0,o);var d=Object.keys(e),p=null,f=0;if(d.forEach(function(h){var m=new S(r);if(Ze(this,m,!0),A(m,"lockSsfi",!0),!i||d.length===1){m.property(h,e[h]);return}try{m.property(h,e[h])}catch(g){if(!ke.compatibleConstructor(g,oe))throw g;p===null&&(p=g),f++}},this),i&&d.length>1&&f===d.length)throw p;return}this.assert(s,"expected #{this} to "+u+"include "+ee(e),"expected #{this} to not "+u+"include "+ee(e))}x(mn,"include");S.addChainableMethod("include",mn,hn);S.addChainableMethod("contain",mn,hn);S.addChainableMethod("contains",mn,hn);S.addChainableMethod("includes",mn,hn);S.addProperty("ok",function(){this.assert(A(this,"object"),"expected #{this} to be truthy","expected #{this} to be falsy")});S.addProperty("true",function(){this.assert(A(this,"object")===!0,"expected #{this} to be true","expected #{this} to be false",!A(this,"negate"))});S.addProperty("callable",function(){let e=A(this,"object"),t=A(this,"ssfi"),r=A(this,"message"),n=r?`${r}: `:"",a=A(this,"negate"),i=a?`${n}expected ${ee(e)} not to be a callable function`:`${n}expected ${ee(e)} to be a callable function`,o=["Function","AsyncFunction","GeneratorFunction","AsyncGeneratorFunction"].includes(ce(e));if(o&&a||!o&&!a)throw new oe(i,void 0,t)});S.addProperty("false",function(){this.assert(A(this,"object")===!1,"expected #{this} to be false","expected #{this} to be true",!!A(this,"negate"))});S.addProperty("null",function(){this.assert(A(this,"object")===null,"expected #{this} to be null","expected #{this} not to be null")});S.addProperty("undefined",function(){this.assert(A(this,"object")===void 0,"expected #{this} to be undefined","expected #{this} not to be undefined")});S.addProperty("NaN",function(){this.assert(Hn(A(this,"object")),"expected #{this} to be NaN","expected #{this} not to be NaN")});function el(){var e=A(this,"object");this.assert(e!=null,"expected #{this} to exist","expected #{this} to not exist")}x(el,"assertExist");S.addProperty("exist",el);S.addProperty("exists",el);S.addProperty("empty",function(){var e=A(this,"object"),t=A(this,"ssfi"),r=A(this,"message"),n;switch(r=r?r+": ":"",ce(e).toLowerCase()){case"array":case"string":n=e.length;break;case"map":case"set":n=e.size;break;case"weakmap":case"weakset":throw new oe(r+".empty was passed a weak collection",void 0,t);case"function":var a=r+".empty was passed a function "+ya(e);throw new oe(a.trim(),void 0,t);default:if(e!==Object(e))throw new oe(r+".empty was passed non-string primitive "+ee(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 tl(){var e=A(this,"object"),t=ce(e);this.assert(t==="Arguments","expected #{this} to be arguments but got "+t,"expected #{this} to not be arguments")}x(tl,"checkArguments");S.addProperty("arguments",tl);S.addProperty("Arguments",tl);function va(e,t){t&&A(this,"message",t);var r=A(this,"object");if(A(this,"deep")){var n=A(this,"lockSsfi");A(this,"lockSsfi",!0),this.eql(e),A(this,"lockSsfi",n)}else this.assert(e===r,"expected #{this} to equal #{exp}","expected #{this} to not equal #{exp}",e,this._obj,!0)}x(va,"assertEqual");S.addMethod("equal",va);S.addMethod("equals",va);S.addMethod("eq",va);function rl(e,t){t&&A(this,"message",t);var r=A(this,"eql");this.assert(r(e,A(this,"object")),"expected #{this} to deeply equal #{exp}","expected #{this} to not deeply equal #{exp}",e,this._obj,!0)}x(rl,"assertEql");S.addMethod("eql",rl);S.addMethod("eqls",rl);function _a(e,t){t&&A(this,"message",t);var r=A(this,"object"),n=A(this,"doLength"),a=A(this,"message"),i=a?a+": ":"",o=A(this,"ssfi"),l=ce(r).toLowerCase(),u=ce(e).toLowerCase(),c,s=!0;if(n&&l!=="map"&&l!=="set"&&new S(r,a,o,!0).to.have.property("length"),!n&&l==="date"&&u!=="date")c=i+"the argument to above must be a date";else if(u!=="number"&&(n||l==="number"))c=i+"the argument to above must be a number";else if(!n&&l!=="date"&&l!=="number"){var d=l==="string"?"'"+r+"'":r;c=i+"expected "+d+" to be a number or a date"}else s=!1;if(s)throw new oe(c,void 0,o);if(n){var p="length",f;l==="map"||l==="set"?(p="size",f=r.size):f=r.length,this.assert(f>e,"expected #{this} to have a "+p+" above #{exp} but got #{act}","expected #{this} to not have a "+p+" above #{exp}",e,f)}else this.assert(r>e,"expected #{this} to be above #{exp}","expected #{this} to be at most #{exp}",e)}x(_a,"assertAbove");S.addMethod("above",_a);S.addMethod("gt",_a);S.addMethod("greaterThan",_a);function Ea(e,t){t&&A(this,"message",t);var r=A(this,"object"),n=A(this,"doLength"),a=A(this,"message"),i=a?a+": ":"",o=A(this,"ssfi"),l=ce(r).toLowerCase(),u=ce(e).toLowerCase(),c,s=!0;if(n&&l!=="map"&&l!=="set"&&new S(r,a,o,!0).to.have.property("length"),!n&&l==="date"&&u!=="date")c=i+"the argument to least must be a date";else if(u!=="number"&&(n||l==="number"))c=i+"the argument to least must be a number";else if(!n&&l!=="date"&&l!=="number"){var d=l==="string"?"'"+r+"'":r;c=i+"expected "+d+" to be a number or a date"}else s=!1;if(s)throw new oe(c,void 0,o);if(n){var p="length",f;l==="map"||l==="set"?(p="size",f=r.size):f=r.length,this.assert(f>=e,"expected #{this} to have a "+p+" at least #{exp} but got #{act}","expected #{this} to have a "+p+" below #{exp}",e,f)}else this.assert(r>=e,"expected #{this} to be at least #{exp}","expected #{this} to be below #{exp}",e)}x(Ea,"assertLeast");S.addMethod("least",Ea);S.addMethod("gte",Ea);S.addMethod("greaterThanOrEqual",Ea);function wa(e,t){t&&A(this,"message",t);var r=A(this,"object"),n=A(this,"doLength"),a=A(this,"message"),i=a?a+": ":"",o=A(this,"ssfi"),l=ce(r).toLowerCase(),u=ce(e).toLowerCase(),c,s=!0;if(n&&l!=="map"&&l!=="set"&&new S(r,a,o,!0).to.have.property("length"),!n&&l==="date"&&u!=="date")c=i+"the argument to below must be a date";else if(u!=="number"&&(n||l==="number"))c=i+"the argument to below must be a number";else if(!n&&l!=="date"&&l!=="number"){var d=l==="string"?"'"+r+"'":r;c=i+"expected "+d+" to be a number or a date"}else s=!1;if(s)throw new oe(c,void 0,o);if(n){var p="length",f;l==="map"||l==="set"?(p="size",f=r.size):f=r.length,this.assert(f<e,"expected #{this} to have a "+p+" below #{exp} but got #{act}","expected #{this} to not have a "+p+" below #{exp}",e,f)}else this.assert(r<e,"expected #{this} to be below #{exp}","expected #{this} to be at least #{exp}",e)}x(wa,"assertBelow");S.addMethod("below",wa);S.addMethod("lt",wa);S.addMethod("lessThan",wa);function Ca(e,t){t&&A(this,"message",t);var r=A(this,"object"),n=A(this,"doLength"),a=A(this,"message"),i=a?a+": ":"",o=A(this,"ssfi"),l=ce(r).toLowerCase(),u=ce(e).toLowerCase(),c,s=!0;if(n&&l!=="map"&&l!=="set"&&new S(r,a,o,!0).to.have.property("length"),!n&&l==="date"&&u!=="date")c=i+"the argument to most must be a date";else if(u!=="number"&&(n||l==="number"))c=i+"the argument to most must be a number";else if(!n&&l!=="date"&&l!=="number"){var d=l==="string"?"'"+r+"'":r;c=i+"expected "+d+" to be a number or a date"}else s=!1;if(s)throw new oe(c,void 0,o);if(n){var p="length",f;l==="map"||l==="set"?(p="size",f=r.size):f=r.length,this.assert(f<=e,"expected #{this} to have a "+p+" at most #{exp} but got #{act}","expected #{this} to have a "+p+" above #{exp}",e,f)}else this.assert(r<=e,"expected #{this} to be at most #{exp}","expected #{this} to be above #{exp}",e)}x(Ca,"assertMost");S.addMethod("most",Ca);S.addMethod("lte",Ca);S.addMethod("lessThanOrEqual",Ca);S.addMethod("within",function(e,t,r){r&&A(this,"message",r);var n=A(this,"object"),a=A(this,"doLength"),i=A(this,"message"),o=i?i+": ":"",l=A(this,"ssfi"),u=ce(n).toLowerCase(),c=ce(e).toLowerCase(),s=ce(t).toLowerCase(),d,p=!0,f=c==="date"&&s==="date"?e.toISOString()+".."+t.toISOString():e+".."+t;if(a&&u!=="map"&&u!=="set"&&new S(n,i,l,!0).to.have.property("length"),!a&&u==="date"&&(c!=="date"||s!=="date"))d=o+"the arguments to within must be dates";else if((c!=="number"||s!=="number")&&(a||u==="number"))d=o+"the arguments to within must be numbers";else if(!a&&u!=="date"&&u!=="number"){var h=u==="string"?"'"+n+"'":n;d=o+"expected "+h+" to be a number or a date"}else p=!1;if(p)throw new oe(d,void 0,l);if(a){var m="length",g;u==="map"||u==="set"?(m="size",g=n.size):g=n.length,this.assert(g>=e&&g<=t,"expected #{this} to have a "+m+" within "+f,"expected #{this} to not have a "+m+" within "+f)}else this.assert(n>=e&&n<=t,"expected #{this} to be within "+f,"expected #{this} to not be within "+f)});function nl(e,t){t&&A(this,"message",t);var r=A(this,"object"),n=A(this,"ssfi"),a=A(this,"message");try{var i=r instanceof e}catch(l){throw l instanceof TypeError?(a=a?a+": ":"",new oe(a+"The instanceof assertion needs a constructor but "+ce(e)+" was given.",void 0,n)):l}var o=ya(e);o==null&&(o="an unnamed constructor"),this.assert(i,"expected #{this} to be an instance of "+o,"expected #{this} to not be an instance of "+o)}x(nl,"assertInstanceOf");S.addMethod("instanceof",nl);S.addMethod("instanceOf",nl);function al(e,t,r){r&&A(this,"message",r);var n=A(this,"nested"),a=A(this,"own"),i=A(this,"message"),o=A(this,"object"),l=A(this,"ssfi"),u=typeof e;if(i=i?i+": ":"",n){if(u!=="string")throw new oe(i+"the argument to property must be a string when using nested syntax",void 0,l)}else if(u!=="string"&&u!=="number"&&u!=="symbol")throw new oe(i+"the argument to property must be a string, number, or symbol",void 0,l);if(n&&a)throw new oe(i+'The "nested" and "own" flags cannot be combined.',void 0,l);if(o==null)throw new oe(i+"Target cannot be null or undefined.",void 0,l);var c=A(this,"deep"),s=A(this,"negate"),d=n?Ho(o,e):null,p=n?d.value:o[e],f=c?A(this,"eql"):(g,b)=>g===b,h="";c&&(h+="deep "),a&&(h+="own "),n&&(h+="nested "),h+="property ";var m;a?m=Object.prototype.hasOwnProperty.call(o,e):n?m=d.exists:m=ga(o,e),(!s||arguments.length===1)&&this.assert(m,"expected #{this} to have "+h+ee(e),"expected #{this} to not have "+h+ee(e)),arguments.length>1&&this.assert(m&&f(t,p),"expected #{this} to have "+h+ee(e)+" of #{exp}, but got #{act}","expected #{this} to not have "+h+ee(e)+" of #{act}",t,p),A(this,"object",p)}x(al,"assertProperty");S.addMethod("property",al);function il(e,t,r){A(this,"own",!0),al.apply(this,arguments)}x(il,"assertOwnProperty");S.addMethod("ownProperty",il);S.addMethod("haveOwnProperty",il);function ol(e,t,r){typeof t=="string"&&(r=t,t=null),r&&A(this,"message",r);var n=A(this,"object"),a=Object.getOwnPropertyDescriptor(Object(n),e),i=A(this,"eql");a&&t?this.assert(i(t,a),"expected the own property descriptor for "+ee(e)+" on #{this} to match "+ee(t)+", got "+ee(a),"expected the own property descriptor for "+ee(e)+" on #{this} to not match "+ee(t),t,a,!0):this.assert(a,"expected #{this} to have an own property descriptor for "+ee(e),"expected #{this} to not have an own property descriptor for "+ee(e)),A(this,"object",a)}x(ol,"assertOwnPropertyDescriptor");S.addMethod("ownPropertyDescriptor",ol);S.addMethod("haveOwnPropertyDescriptor",ol);function ll(){A(this,"doLength",!0)}x(ll,"assertLengthChain");function sl(e,t){t&&A(this,"message",t);var r=A(this,"object"),n=ce(r).toLowerCase(),a=A(this,"message"),i=A(this,"ssfi"),o="length",l;switch(n){case"map":case"set":o="size",l=r.size;break;default:new S(r,a,i,!0).to.have.property("length"),l=r.length}this.assert(l==e,"expected #{this} to have a "+o+" of #{exp} but got #{act}","expected #{this} to not have a "+o+" of #{act}",e,l)}x(sl,"assertLength");S.addChainableMethod("length",sl,ll);S.addChainableMethod("lengthOf",sl,ll);function ul(e,t){t&&A(this,"message",t);var r=A(this,"object");this.assert(e.exec(r),"expected #{this} to match "+e,"expected #{this} not to match "+e)}x(ul,"assertMatch");S.addMethod("match",ul);S.addMethod("matches",ul);S.addMethod("string",function(e,t){t&&A(this,"message",t);var r=A(this,"object"),n=A(this,"message"),a=A(this,"ssfi");new S(r,n,a,!0).is.a("string"),this.assert(~r.indexOf(e),"expected #{this} to contain "+ee(e),"expected #{this} to not contain "+ee(e))});function cl(e){var t=A(this,"object"),r=ce(t),n=ce(e),a=A(this,"ssfi"),i=A(this,"deep"),o,l="",u,c=!0,s=A(this,"message");s=s?s+": ":"";var d=s+"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")l=i?"deeply ":"",u=[],t.forEach(function(y,R){u.push(R)}),n!=="Array"&&(e=Array.prototype.slice.call(arguments));else{switch(u=Xo(t),n){case"Array":if(arguments.length>1)throw new oe(d,void 0,a);break;case"Object":if(arguments.length>1)throw new oe(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 oe(s+"keys required",void 0,a);var p=e.length,f=A(this,"any"),h=A(this,"all"),m=e,g=i?A(this,"eql"):(y,R)=>y===R;if(!f&&!h&&(h=!0),f&&(c=m.some(function(y){return u.some(function(R){return g(y,R)})})),h&&(c=m.every(function(y){return u.some(function(R){return g(y,R)})}),A(this,"contains")||(c=c&&e.length==u.length)),p>1){e=e.map(function(y){return ee(y)});var b=e.pop();h&&(o=e.join(", ")+", and "+b),f&&(o=e.join(", ")+", or "+b)}else o=ee(e[0]);o=(p>1?"keys ":"key ")+o,o=(A(this,"contains")?"contain ":"have ")+o,this.assert(c,"expected #{this} to "+l+o,"expected #{this} to not "+l+o,m.slice(0).sort(Un),u.sort(Un),!0)}x(cl,"assertKeys");S.addMethod("keys",cl);S.addMethod("key",cl);function Ra(e,t,r){r&&A(this,"message",r);var n=A(this,"object"),a=A(this,"ssfi"),i=A(this,"message"),o=A(this,"negate")||!1;new S(n,i,a,!0).is.a("function"),(zn(e)||typeof e=="string")&&(t=e,e=null);let l,u=!1;try{n()}catch(y){u=!0,l=y}var c=e===void 0&&t===void 0,s=!!(e&&t),d=!1,p=!1;if(c||!c&&!o){var f="an error";e instanceof Error?f="#{exp}":e&&(f=ke.getConstructorName(e));let y=l;if(l instanceof Error)y=l.toString();else if(typeof l=="string")y=l;else if(l&&(typeof l=="object"||typeof l=="function"))try{y=ke.getConstructorName(l)}catch{}this.assert(u,"expected #{this} to throw "+f,"expected #{this} to not throw an error but #{act} was thrown",e&&e.toString(),y)}if(e&&l){if(e instanceof Error){var h=ke.compatibleInstance(l,e);h===o&&(s&&o?d=!0:this.assert(o,"expected #{this} to throw #{exp} but #{act} was thrown","expected #{this} to not throw #{exp}"+(l&&!o?" but #{act} was thrown":""),e.toString(),l.toString()))}var m=ke.compatibleConstructor(l,e);m===o&&(s&&o?d=!0:this.assert(o,"expected #{this} to throw #{exp} but #{act} was thrown","expected #{this} to not throw #{exp}"+(l?" but #{act} was thrown":""),e instanceof Error?e.toString():e&&ke.getConstructorName(e),l instanceof Error?l.toString():l&&ke.getConstructorName(l)))}if(l&&t!==void 0&&t!==null){var g="including";zn(t)&&(g="matching");var b=ke.compatibleMessage(l,t);b===o&&(s&&o?p=!0:this.assert(o,"expected #{this} to throw error "+g+" #{exp} but got #{act}","expected #{this} to throw error not "+g+" #{exp}",t,ke.getMessage(l)))}d&&p&&this.assert(o,"expected #{this} to throw #{exp} but #{act} was thrown","expected #{this} to not throw #{exp}"+(l?" but #{act} was thrown":""),e instanceof Error?e.toString():e&&ke.getConstructorName(e),l instanceof Error?l.toString():l&&ke.getConstructorName(l)),A(this,"object",l)}x(Ra,"assertThrows");S.addMethod("throw",Ra);S.addMethod("throws",Ra);S.addMethod("Throw",Ra);function dl(e,t){t&&A(this,"message",t);var r=A(this,"object"),n=A(this,"itself"),a=typeof r=="function"&&!n?r.prototype[e]:r[e];this.assert(typeof a=="function","expected #{this} to respond to "+ee(e),"expected #{this} to not respond to "+ee(e))}x(dl,"respondTo");S.addMethod("respondTo",dl);S.addMethod("respondsTo",dl);S.addProperty("itself",function(){A(this,"itself",!0)});function fl(e,t){t&&A(this,"message",t);var r=A(this,"object"),n=e(r);this.assert(n,"expected #{this} to satisfy "+Ut(e),"expected #{this} to not satisfy"+Ut(e),!A(this,"negate"),n)}x(fl,"satisfy");S.addMethod("satisfy",fl);S.addMethod("satisfies",fl);function pl(e,t,r){r&&A(this,"message",r);var n=A(this,"object"),a=A(this,"message"),i=A(this,"ssfi");if(new S(n,a,i,!0).is.a("number"),typeof e!="number"||typeof t!="number"){a=a?a+": ":"";var o=t===void 0?", and a delta is required":"";throw new oe(a+"the arguments to closeTo or approximately must be numbers"+o,void 0,i)}this.assert(Math.abs(n-e)<=t,"expected #{this} to be close to "+e+" +/- "+t,"expected #{this} not to be close to "+e+" +/- "+t)}x(pl,"closeTo");S.addMethod("closeTo",pl);S.addMethod("approximately",pl);function Af(e,t,r,n,a){let i=Array.from(t),o=Array.from(e);if(!n){if(o.length!==i.length)return!1;i=i.slice()}return o.every(function(l,u){if(a)return r?r(l,i[u]):l===i[u];if(!r){var c=i.indexOf(l);return c===-1?!1:(n||i.splice(c,1),!0)}return i.some(function(s,d){return r(l,s)?(n||i.splice(d,1),!0):!1})})}x(Af,"isSubsetOf");S.addMethod("members",function(e,t){t&&A(this,"message",t);var r=A(this,"object"),n=A(this,"message"),a=A(this,"ssfi");new S(r,n,a,!0).to.be.iterable,new S(e,n,a,!0).to.be.iterable;var i=A(this,"contains"),o=A(this,"ordered"),l,u,c;i?(l=o?"an ordered superset":"a superset",u="expected #{this} to be "+l+" of #{exp}",c="expected #{this} to not be "+l+" of #{exp}"):(l=o?"ordered members":"members",u="expected #{this} to have the same "+l+" as #{exp}",c="expected #{this} to not have the same "+l+" as #{exp}");var s=A(this,"deep")?A(this,"eql"):void 0;this.assert(Af(e,r,s,i,o),u,c,e,r,!0)});S.addProperty("iterable",function(e){e&&A(this,"message",e);var t=A(this,"object");this.assert(t!=null&&t[Symbol.iterator],"expected #{this} to be an iterable","expected #{this} to not be an iterable",t)});function qf(e,t){t&&A(this,"message",t);var r=A(this,"object"),n=A(this,"message"),a=A(this,"ssfi"),i=A(this,"contains"),o=A(this,"deep"),l=A(this,"eql");new S(e,n,a,!0).to.be.an("array"),i?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):o?this.assert(e.some(function(u){return l(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)}x(qf,"oneOf");S.addMethod("oneOf",qf);function hl(e,t,r){r&&A(this,"message",r);var n=A(this,"object"),a=A(this,"message"),i=A(this,"ssfi");new S(n,a,i,!0).is.a("function");var o;t?(new S(e,a,i,!0).to.have.property(t),o=e[t]):(new S(e,a,i,!0).is.a("function"),o=e()),n();var l=t==null?e():e[t],u=t==null?o:"."+t;A(this,"deltaMsgObj",u),A(this,"initialDeltaValue",o),A(this,"finalDeltaValue",l),A(this,"deltaBehavior","change"),A(this,"realDelta",l!==o),this.assert(o!==l,"expected "+u+" to change","expected "+u+" to not change")}x(hl,"assertChanges");S.addMethod("change",hl);S.addMethod("changes",hl);function ml(e,t,r){r&&A(this,"message",r);var n=A(this,"object"),a=A(this,"message"),i=A(this,"ssfi");new S(n,a,i,!0).is.a("function");var o;t?(new S(e,a,i,!0).to.have.property(t),o=e[t]):(new S(e,a,i,!0).is.a("function"),o=e()),new S(o,a,i,!0).is.a("number"),n();var l=t==null?e():e[t],u=t==null?o:"."+t;A(this,"deltaMsgObj",u),A(this,"initialDeltaValue",o),A(this,"finalDeltaValue",l),A(this,"deltaBehavior","increase"),A(this,"realDelta",l-o),this.assert(l-o>0,"expected "+u+" to increase","expected "+u+" to not increase")}x(ml,"assertIncreases");S.addMethod("increase",ml);S.addMethod("increases",ml);function bl(e,t,r){r&&A(this,"message",r);var n=A(this,"object"),a=A(this,"message"),i=A(this,"ssfi");new S(n,a,i,!0).is.a("function");var o;t?(new S(e,a,i,!0).to.have.property(t),o=e[t]):(new S(e,a,i,!0).is.a("function"),o=e()),new S(o,a,i,!0).is.a("number"),n();var l=t==null?e():e[t],u=t==null?o:"."+t;A(this,"deltaMsgObj",u),A(this,"initialDeltaValue",o),A(this,"finalDeltaValue",l),A(this,"deltaBehavior","decrease"),A(this,"realDelta",o-l),this.assert(l-o<0,"expected "+u+" to decrease","expected "+u+" to not decrease")}x(bl,"assertDecreases");S.addMethod("decrease",bl);S.addMethod("decreases",bl);function xf(e,t){t&&A(this,"message",t);var r=A(this,"deltaMsgObj"),n=A(this,"initialDeltaValue"),a=A(this,"finalDeltaValue"),i=A(this,"deltaBehavior"),o=A(this,"realDelta"),l;i==="change"?l=Math.abs(a-n)===Math.abs(e):l=o===Math.abs(e),this.assert(l,"expected "+r+" to "+i+" by "+e,"expected "+r+" to not "+i+" by "+e)}x(xf,"assertDelta");S.addMethod("by",xf);S.addProperty("extensible",function(){var e=A(this,"object"),t=e===Object(e)&&Object.isExtensible(e);this.assert(t,"expected #{this} to be extensible","expected #{this} to not be extensible")});S.addProperty("sealed",function(){var e=A(this,"object"),t=e===Object(e)?Object.isSealed(e):!0;this.assert(t,"expected #{this} to be sealed","expected #{this} to not be sealed")});S.addProperty("frozen",function(){var e=A(this,"object"),t=e===Object(e)?Object.isFrozen(e):!0;this.assert(t,"expected #{this} to be frozen","expected #{this} to not be frozen")});S.addProperty("finite",function(e){var t=A(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 Ht(e,t){return new S(e,t)}x(Ht,"expect");Ht.fail=function(e,t,r,n){throw arguments.length<2&&(r=e,e=void 0),r=r||"expect.fail()",new oe(r,{actual:e,expected:t,operator:n},Ht.fail)};var Mf={};Io(Mf,{Should:()=>XC,should:()=>JC});function gl(){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 S(this.valueOf(),null,e):new S(this,null,e)}x(e,"shouldGetter");function t(n){Object.defineProperty(this,"should",{value:n,enumerable:!0,configurable:!0,writable:!0})}x(t,"shouldSetter"),Object.defineProperty(Object.prototype,"should",{set:t,get:e,configurable:!0});var r={};return r.fail=function(n,a,i,o){throw arguments.length<2&&(i=n,n=void 0),i=i||"should.fail()",new oe(i,{actual:n,expected:a,operator:o},r.fail)},r.equal=function(n,a,i){new S(n,i).to.equal(a)},r.Throw=function(n,a,i,o){new S(n,o).to.Throw(a,i)},r.exist=function(n,a){new S(n,a).to.exist},r.not={},r.not.equal=function(n,a,i){new S(n,i).to.not.equal(a)},r.not.Throw=function(n,a,i,o){new S(n,o).to.not.Throw(a,i)},r.not.exist=function(n,a){new S(n,a).to.not.exist},r.throw=r.Throw,r.not.throw=r.not.Throw,r}x(gl,"loadShould");var JC=gl,XC=gl;function P(e,t){var r=new S(null,null,P,!0);r.assert(e,t,"[ negation message unavailable ]")}x(P,"assert");P.fail=function(e,t,r,n){throw arguments.length<2&&(r=e,e=void 0),r=r||"assert.fail()",new oe(r,{actual:e,expected:t,operator:n},P.fail)};P.isOk=function(e,t){new S(e,t,P.isOk,!0).is.ok};P.isNotOk=function(e,t){new S(e,t,P.isNotOk,!0).is.not.ok};P.equal=function(e,t,r){var n=new S(e,r,P.equal,!0);n.assert(t==J(n,"object"),"expected #{this} to equal #{exp}","expected #{this} to not equal #{act}",t,e,!0)};P.notEqual=function(e,t,r){var n=new S(e,r,P.notEqual,!0);n.assert(t!=J(n,"object"),"expected #{this} to not equal #{exp}","expected #{this} to equal #{act}",t,e,!0)};P.strictEqual=function(e,t,r){new S(e,r,P.strictEqual,!0).to.equal(t)};P.notStrictEqual=function(e,t,r){new S(e,r,P.notStrictEqual,!0).to.not.equal(t)};P.deepEqual=P.deepStrictEqual=function(e,t,r){new S(e,r,P.deepEqual,!0).to.eql(t)};P.notDeepEqual=function(e,t,r){new S(e,r,P.notDeepEqual,!0).to.not.eql(t)};P.isAbove=function(e,t,r){new S(e,r,P.isAbove,!0).to.be.above(t)};P.isAtLeast=function(e,t,r){new S(e,r,P.isAtLeast,!0).to.be.least(t)};P.isBelow=function(e,t,r){new S(e,r,P.isBelow,!0).to.be.below(t)};P.isAtMost=function(e,t,r){new S(e,r,P.isAtMost,!0).to.be.most(t)};P.isTrue=function(e,t){new S(e,t,P.isTrue,!0).is.true};P.isNotTrue=function(e,t){new S(e,t,P.isNotTrue,!0).to.not.equal(!0)};P.isFalse=function(e,t){new S(e,t,P.isFalse,!0).is.false};P.isNotFalse=function(e,t){new S(e,t,P.isNotFalse,!0).to.not.equal(!1)};P.isNull=function(e,t){new S(e,t,P.isNull,!0).to.equal(null)};P.isNotNull=function(e,t){new S(e,t,P.isNotNull,!0).to.not.equal(null)};P.isNaN=function(e,t){new S(e,t,P.isNaN,!0).to.be.NaN};P.isNotNaN=function(e,t){new S(e,t,P.isNotNaN,!0).not.to.be.NaN};P.exists=function(e,t){new S(e,t,P.exists,!0).to.exist};P.notExists=function(e,t){new S(e,t,P.notExists,!0).to.not.exist};P.isUndefined=function(e,t){new S(e,t,P.isUndefined,!0).to.equal(void 0)};P.isDefined=function(e,t){new S(e,t,P.isDefined,!0).to.not.equal(void 0)};P.isCallable=function(e,t){new S(e,t,P.isCallable,!0).is.callable};P.isNotCallable=function(e,t){new S(e,t,P.isNotCallable,!0).is.not.callable};P.isObject=function(e,t){new S(e,t,P.isObject,!0).to.be.a("object")};P.isNotObject=function(e,t){new S(e,t,P.isNotObject,!0).to.not.be.a("object")};P.isArray=function(e,t){new S(e,t,P.isArray,!0).to.be.an("array")};P.isNotArray=function(e,t){new S(e,t,P.isNotArray,!0).to.not.be.an("array")};P.isString=function(e,t){new S(e,t,P.isString,!0).to.be.a("string")};P.isNotString=function(e,t){new S(e,t,P.isNotString,!0).to.not.be.a("string")};P.isNumber=function(e,t){new S(e,t,P.isNumber,!0).to.be.a("number")};P.isNotNumber=function(e,t){new S(e,t,P.isNotNumber,!0).to.not.be.a("number")};P.isFinite=function(e,t){new S(e,t,P.isFinite,!0).to.be.finite};P.isBoolean=function(e,t){new S(e,t,P.isBoolean,!0).to.be.a("boolean")};P.isNotBoolean=function(e,t){new S(e,t,P.isNotBoolean,!0).to.not.be.a("boolean")};P.typeOf=function(e,t,r){new S(e,r,P.typeOf,!0).to.be.a(t)};P.notTypeOf=function(e,t,r){new S(e,r,P.notTypeOf,!0).to.not.be.a(t)};P.instanceOf=function(e,t,r){new S(e,r,P.instanceOf,!0).to.be.instanceOf(t)};P.notInstanceOf=function(e,t,r){new S(e,r,P.notInstanceOf,!0).to.not.be.instanceOf(t)};P.include=function(e,t,r){new S(e,r,P.include,!0).include(t)};P.notInclude=function(e,t,r){new S(e,r,P.notInclude,!0).not.include(t)};P.deepInclude=function(e,t,r){new S(e,r,P.deepInclude,!0).deep.include(t)};P.notDeepInclude=function(e,t,r){new S(e,r,P.notDeepInclude,!0).not.deep.include(t)};P.nestedInclude=function(e,t,r){new S(e,r,P.nestedInclude,!0).nested.include(t)};P.notNestedInclude=function(e,t,r){new S(e,r,P.notNestedInclude,!0).not.nested.include(t)};P.deepNestedInclude=function(e,t,r){new S(e,r,P.deepNestedInclude,!0).deep.nested.include(t)};P.notDeepNestedInclude=function(e,t,r){new S(e,r,P.notDeepNestedInclude,!0).not.deep.nested.include(t)};P.ownInclude=function(e,t,r){new S(e,r,P.ownInclude,!0).own.include(t)};P.notOwnInclude=function(e,t,r){new S(e,r,P.notOwnInclude,!0).not.own.include(t)};P.deepOwnInclude=function(e,t,r){new S(e,r,P.deepOwnInclude,!0).deep.own.include(t)};P.notDeepOwnInclude=function(e,t,r){new S(e,r,P.notDeepOwnInclude,!0).not.deep.own.include(t)};P.match=function(e,t,r){new S(e,r,P.match,!0).to.match(t)};P.notMatch=function(e,t,r){new S(e,r,P.notMatch,!0).to.not.match(t)};P.property=function(e,t,r){new S(e,r,P.property,!0).to.have.property(t)};P.notProperty=function(e,t,r){new S(e,r,P.notProperty,!0).to.not.have.property(t)};P.propertyVal=function(e,t,r,n){new S(e,n,P.propertyVal,!0).to.have.property(t,r)};P.notPropertyVal=function(e,t,r,n){new S(e,n,P.notPropertyVal,!0).to.not.have.property(t,r)};P.deepPropertyVal=function(e,t,r,n){new S(e,n,P.deepPropertyVal,!0).to.have.deep.property(t,r)};P.notDeepPropertyVal=function(e,t,r,n){new S(e,n,P.notDeepPropertyVal,!0).to.not.have.deep.property(t,r)};P.ownProperty=function(e,t,r){new S(e,r,P.ownProperty,!0).to.have.own.property(t)};P.notOwnProperty=function(e,t,r){new S(e,r,P.notOwnProperty,!0).to.not.have.own.property(t)};P.ownPropertyVal=function(e,t,r,n){new S(e,n,P.ownPropertyVal,!0).to.have.own.property(t,r)};P.notOwnPropertyVal=function(e,t,r,n){new S(e,n,P.notOwnPropertyVal,!0).to.not.have.own.property(t,r)};P.deepOwnPropertyVal=function(e,t,r,n){new S(e,n,P.deepOwnPropertyVal,!0).to.have.deep.own.property(t,r)};P.notDeepOwnPropertyVal=function(e,t,r,n){new S(e,n,P.notDeepOwnPropertyVal,!0).to.not.have.deep.own.property(t,r)};P.nestedProperty=function(e,t,r){new S(e,r,P.nestedProperty,!0).to.have.nested.property(t)};P.notNestedProperty=function(e,t,r){new S(e,r,P.notNestedProperty,!0).to.not.have.nested.property(t)};P.nestedPropertyVal=function(e,t,r,n){new S(e,n,P.nestedPropertyVal,!0).to.have.nested.property(t,r)};P.notNestedPropertyVal=function(e,t,r,n){new S(e,n,P.notNestedPropertyVal,!0).to.not.have.nested.property(t,r)};P.deepNestedPropertyVal=function(e,t,r,n){new S(e,n,P.deepNestedPropertyVal,!0).to.have.deep.nested.property(t,r)};P.notDeepNestedPropertyVal=function(e,t,r,n){new S(e,n,P.notDeepNestedPropertyVal,!0).to.not.have.deep.nested.property(t,r)};P.lengthOf=function(e,t,r){new S(e,r,P.lengthOf,!0).to.have.lengthOf(t)};P.hasAnyKeys=function(e,t,r){new S(e,r,P.hasAnyKeys,!0).to.have.any.keys(t)};P.hasAllKeys=function(e,t,r){new S(e,r,P.hasAllKeys,!0).to.have.all.keys(t)};P.containsAllKeys=function(e,t,r){new S(e,r,P.containsAllKeys,!0).to.contain.all.keys(t)};P.doesNotHaveAnyKeys=function(e,t,r){new S(e,r,P.doesNotHaveAnyKeys,!0).to.not.have.any.keys(t)};P.doesNotHaveAllKeys=function(e,t,r){new S(e,r,P.doesNotHaveAllKeys,!0).to.not.have.all.keys(t)};P.hasAnyDeepKeys=function(e,t,r){new S(e,r,P.hasAnyDeepKeys,!0).to.have.any.deep.keys(t)};P.hasAllDeepKeys=function(e,t,r){new S(e,r,P.hasAllDeepKeys,!0).to.have.all.deep.keys(t)};P.containsAllDeepKeys=function(e,t,r){new S(e,r,P.containsAllDeepKeys,!0).to.contain.all.deep.keys(t)};P.doesNotHaveAnyDeepKeys=function(e,t,r){new S(e,r,P.doesNotHaveAnyDeepKeys,!0).to.not.have.any.deep.keys(t)};P.doesNotHaveAllDeepKeys=function(e,t,r){new S(e,r,P.doesNotHaveAllDeepKeys,!0).to.not.have.all.deep.keys(t)};P.throws=function(e,t,r,n){(typeof t=="string"||t instanceof RegExp)&&(r=t,t=null);var a=new S(e,n,P.throws,!0).to.throw(t,r);return J(a,"object")};P.doesNotThrow=function(e,t,r,n){(typeof t=="string"||t instanceof RegExp)&&(r=t,t=null),new S(e,n,P.doesNotThrow,!0).to.not.throw(t,r)};P.operator=function(e,t,r,n){var 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 oe(n+'Invalid operator "'+t+'"',void 0,P.operator)}var i=new S(a,n,P.operator,!0);i.assert(J(i,"object")===!0,"expected "+ee(e)+" to be "+t+" "+ee(r),"expected "+ee(e)+" to not be "+t+" "+ee(r))};P.closeTo=function(e,t,r,n){new S(e,n,P.closeTo,!0).to.be.closeTo(t,r)};P.approximately=function(e,t,r,n){new S(e,n,P.approximately,!0).to.be.approximately(t,r)};P.sameMembers=function(e,t,r){new S(e,r,P.sameMembers,!0).to.have.same.members(t)};P.notSameMembers=function(e,t,r){new S(e,r,P.notSameMembers,!0).to.not.have.same.members(t)};P.sameDeepMembers=function(e,t,r){new S(e,r,P.sameDeepMembers,!0).to.have.same.deep.members(t)};P.notSameDeepMembers=function(e,t,r){new S(e,r,P.notSameDeepMembers,!0).to.not.have.same.deep.members(t)};P.sameOrderedMembers=function(e,t,r){new S(e,r,P.sameOrderedMembers,!0).to.have.same.ordered.members(t)};P.notSameOrderedMembers=function(e,t,r){new S(e,r,P.notSameOrderedMembers,!0).to.not.have.same.ordered.members(t)};P.sameDeepOrderedMembers=function(e,t,r){new S(e,r,P.sameDeepOrderedMembers,!0).to.have.same.deep.ordered.members(t)};P.notSameDeepOrderedMembers=function(e,t,r){new S(e,r,P.notSameDeepOrderedMembers,!0).to.not.have.same.deep.ordered.members(t)};P.includeMembers=function(e,t,r){new S(e,r,P.includeMembers,!0).to.include.members(t)};P.notIncludeMembers=function(e,t,r){new S(e,r,P.notIncludeMembers,!0).to.not.include.members(t)};P.includeDeepMembers=function(e,t,r){new S(e,r,P.includeDeepMembers,!0).to.include.deep.members(t)};P.notIncludeDeepMembers=function(e,t,r){new S(e,r,P.notIncludeDeepMembers,!0).to.not.include.deep.members(t)};P.includeOrderedMembers=function(e,t,r){new S(e,r,P.includeOrderedMembers,!0).to.include.ordered.members(t)};P.notIncludeOrderedMembers=function(e,t,r){new S(e,r,P.notIncludeOrderedMembers,!0).to.not.include.ordered.members(t)};P.includeDeepOrderedMembers=function(e,t,r){new S(e,r,P.includeDeepOrderedMembers,!0).to.include.deep.ordered.members(t)};P.notIncludeDeepOrderedMembers=function(e,t,r){new S(e,r,P.notIncludeDeepOrderedMembers,!0).to.not.include.deep.ordered.members(t)};P.oneOf=function(e,t,r){new S(e,r,P.oneOf,!0).to.be.oneOf(t)};P.isIterable=function(e,t){if(e==null||!e[Symbol.iterator])throw t=t?`${t} expected ${ee(e)} to be an iterable`:`expected ${ee(e)} to be an iterable`,new oe(t,void 0,P.isIterable)};P.changes=function(e,t,r,n){arguments.length===3&&typeof t=="function"&&(n=r,r=null),new S(e,n,P.changes,!0).to.change(t,r)};P.changesBy=function(e,t,r,n,a){if(arguments.length===4&&typeof t=="function"){var i=n;n=r,a=i}else arguments.length===3&&(n=r,r=null);new S(e,a,P.changesBy,!0).to.change(t,r).by(n)};P.doesNotChange=function(e,t,r,n){return arguments.length===3&&typeof t=="function"&&(n=r,r=null),new S(e,n,P.doesNotChange,!0).to.not.change(t,r)};P.changesButNotBy=function(e,t,r,n,a){if(arguments.length===4&&typeof t=="function"){var i=n;n=r,a=i}else arguments.length===3&&(n=r,r=null);new S(e,a,P.changesButNotBy,!0).to.change(t,r).but.not.by(n)};P.increases=function(e,t,r,n){return arguments.length===3&&typeof t=="function"&&(n=r,r=null),new S(e,n,P.increases,!0).to.increase(t,r)};P.increasesBy=function(e,t,r,n,a){if(arguments.length===4&&typeof t=="function"){var i=n;n=r,a=i}else arguments.length===3&&(n=r,r=null);new S(e,a,P.increasesBy,!0).to.increase(t,r).by(n)};P.doesNotIncrease=function(e,t,r,n){return arguments.length===3&&typeof t=="function"&&(n=r,r=null),new S(e,n,P.doesNotIncrease,!0).to.not.increase(t,r)};P.increasesButNotBy=function(e,t,r,n,a){if(arguments.length===4&&typeof t=="function"){var i=n;n=r,a=i}else arguments.length===3&&(n=r,r=null);new S(e,a,P.increasesButNotBy,!0).to.increase(t,r).but.not.by(n)};P.decreases=function(e,t,r,n){return arguments.length===3&&typeof t=="function"&&(n=r,r=null),new S(e,n,P.decreases,!0).to.decrease(t,r)};P.decreasesBy=function(e,t,r,n,a){if(arguments.length===4&&typeof t=="function"){var i=n;n=r,a=i}else arguments.length===3&&(n=r,r=null);new S(e,a,P.decreasesBy,!0).to.decrease(t,r).by(n)};P.doesNotDecrease=function(e,t,r,n){return arguments.length===3&&typeof t=="function"&&(n=r,r=null),new S(e,n,P.doesNotDecrease,!0).to.not.decrease(t,r)};P.doesNotDecreaseBy=function(e,t,r,n,a){if(arguments.length===4&&typeof t=="function"){var i=n;n=r,a=i}else arguments.length===3&&(n=r,r=null);return new S(e,a,P.doesNotDecreaseBy,!0).to.not.decrease(t,r).by(n)};P.decreasesButNotBy=function(e,t,r,n,a){if(arguments.length===4&&typeof t=="function"){var i=n;n=r,a=i}else arguments.length===3&&(n=r,r=null);new S(e,a,P.decreasesButNotBy,!0).to.decrease(t,r).but.not.by(n)};P.ifError=function(e){if(e)throw e};P.isExtensible=function(e,t){new S(e,t,P.isExtensible,!0).to.be.extensible};P.isNotExtensible=function(e,t){new S(e,t,P.isNotExtensible,!0).to.not.be.extensible};P.isSealed=function(e,t){new S(e,t,P.isSealed,!0).to.be.sealed};P.isNotSealed=function(e,t){new S(e,t,P.isNotSealed,!0).to.not.be.sealed};P.isFrozen=function(e,t){new S(e,t,P.isFrozen,!0).to.be.frozen};P.isNotFrozen=function(e,t){new S(e,t,P.isNotFrozen,!0).to.not.be.frozen};P.isEmpty=function(e,t){new S(e,t,P.isEmpty,!0).to.be.empty};P.isNotEmpty=function(e,t){new S(e,t,P.isNotEmpty,!0).to.not.be.empty};x(function e(t,r){return P[r]=P[t],e},"alias")("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");var Ys=[];function Dr(e){let t={AssertionError:oe,util:nt,config:Ie,expect:Ht,assert:P,Assertion:S,...Mf};return~Ys.indexOf(e)||(e(t,nt),Ys.push(e)),t}x(Dr,"use");var $f={};Ao($f,{toBeChecked:()=>Ep,toBeDisabled:()=>pp,toBeEmpty:()=>Qf,toBeEmptyDOMElement:()=>Zf,toBeEnabled:()=>hp,toBeInTheDOM:()=>Ii,toBeInTheDocument:()=>Xf,toBeInvalid:()=>gp,toBePartiallyChecked:()=>Cp,toBeRequired:()=>mp,toBeValid:()=>yp,toBeVisible:()=>sp,toContainElement:()=>Li,toContainHTML:()=>ep,toHaveAccessibleDescription:()=>Bi,toHaveAccessibleErrorMessage:()=>rp,toHaveAccessibleName:()=>Di,toHaveAttribute:()=>np,toHaveClass:()=>ap,toHaveDescription:()=>Rp,toHaveDisplayValue:()=>_p,toHaveErrorMessage:()=>Tp,toHaveFocus:()=>ip,toHaveFormValues:()=>op,toHaveRole:()=>ki,toHaveStyle:()=>Fi,toHaveTextContent:()=>tp,toHaveValue:()=>vp});var Js=Fe(Od(),1);function Nf(e){Object.defineProperty(e,"__esModule",{value:!0,configurable:!0})}function yl(e,t,r,n){Object.defineProperty(e,t,{get:r,set:n,enumerable:!0,configurable:!0})}var jf={};Nf(jf);yl(jf,"default",()=>If);var If=class extends Error{constructor(e,t,r,n,a){super(e+":"+r+":"+n+": "+t),this.reason=t,this.filename=e,this.line=r,this.column=n,this.source=a}},Lf={};Nf(Lf);yl(Lf,"default",()=>Bf);var Bf=class{constructor(e,t,r){this.start=e,this.end=t,this.source=r}},QC={};yl(QC,"CssTypes",()=>Ce);var Ce;(function(e){e.stylesheet="stylesheet",e.rule="rule",e.declaration="declaration",e.comment="comment",e.container="container",e.charset="charset",e.document="document",e.customMedia="custom-media",e.fontFace="font-face",e.host="host",e.import="import",e.keyframes="keyframes",e.keyframe="keyframe",e.layer="layer",e.media="media",e.namespace="namespace",e.page="page",e.startingStyle="starting-style",e.supports="supports"})(Ce||(Ce={}));var Ka=/\/\*[^]*?(?:\*\/|$)/g,ZC=(e,t)=>{t=t||{};let r=1,n=1;function a(F){let L=F.match(/\n/g);L&&(r+=L.length);let D=F.lastIndexOf(`
|
|
69
|
+
`);n=~D?F.length-D:n+F.length}function i(){let F={line:r,column:n};return function(L){return L.position=new Bf(F,{line:r,column:n},(t==null?void 0:t.source)||""),f(),L}}let o=[];function l(F){let L=new If((t==null?void 0:t.source)||"",F,r,n,e);if(t!=null&&t.silent)o.push(L);else throw L}function u(){let F=d();return{type:Ce.stylesheet,stylesheet:{source:t==null?void 0:t.source,rules:F,parsingErrors:o}}}function c(){return p(/^{\s*/)}function s(){return p(/^}/)}function d(){let F,L=[];for(f(),h(L);e.length&&e.charAt(0)!=="}"&&(F=me()||de());)F&&(L.push(F),h(L));return L}function p(F){let L=F.exec(e);if(!L)return;let D=L[0];return a(D),e=e.slice(D.length),L}function f(){p(/^\s*/)}function h(F){let L;for(F=F||[];L=m();)L&&F.push(L);return F}function m(){let F=i();if(e.charAt(0)!=="/"||e.charAt(1)!=="*")return;let L=p(/^\/\*[^]*?\*\//);return L?F({type:Ce.comment,comment:L[0].slice(2,-2)}):l("End of comment missing")}function g(F,L,D){let G=L+1,Y=!1,ne=F.indexOf(")",G);for(;!Y&&ne!==-1;){let fe=F.indexOf("(",G);fe!==-1&&fe<ne?(G=g(F,fe+1)+1,ne=F.indexOf(")",G)):Y=!0}return Y&&ne!==-1?ne:-1}function b(){let F=p(/^([^{]+)/);if(!F)return;let L=Ue(F[0]).replace(Ka,"");if(L.indexOf(",")===-1)return[L];let D=0,G=L.indexOf("(",D);for(;G!==-1;){let Y=g(L,G);if(Y===-1)break;D=Y+1,L=L.substring(0,G)+L.substring(G,Y).replace(/,/g,"")+L.substring(Y),G=L.indexOf("(",D)}return L=L.replace(/("|')(?:\\\1|.)*?\1/g,Y=>Y.replace(/,/g,"")),L.split(",").map(Y=>Ue(Y.replace(/\u200C/g,",")))}function y(){let F=i(),L=p(/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/);if(!L)return;let D=Ue(L[0]);if(!p(/^:\s*/))return l("property missing ':'");let G=p(/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/),Y=F({type:Ce.declaration,property:D.replace(Ka,""),value:G?Ue(G[0]).replace(Ka,""):""});return p(/^[;\s]*/),Y}function R(){let F=[];if(!c())return l("missing '{'");h(F);let L;for(;L=y();)L&&(F.push(L),h(F));return s()?F:l("missing '}'")}function _(){let F,L=[],D=i();for(;F=p(/^((\d+\.\d+|\.\d+|\d+)%?|[a-z]+)\s*/);)L.push(F[1]),p(/^,\s*/);if(L.length)return D({type:Ce.keyframe,values:L,declarations:R()||[]})}function C(){let F=i(),L=p(/^@([-\w]+)?keyframes\s*/);if(!L)return;let D=L[1],G=p(/^([-\w]+)\s*/);if(!G)return l("@keyframes missing name");let Y=G[1];if(!c())return l("@keyframes missing '{'");let ne,fe=h();for(;ne=_();)fe.push(ne),fe=fe.concat(h());return s()?F({type:Ce.keyframes,name:Y,vendor:D,keyframes:fe}):l("@keyframes missing '}'")}function w(){let F=i(),L=p(/^@supports *([^{]+)/);if(!L)return;let D=Ue(L[1]);if(!c())return l("@supports missing '{'");let G=h().concat(d());return s()?F({type:Ce.supports,supports:D,rules:G}):l("@supports missing '}'")}function v(){let F=i();if(!p(/^@host\s*/))return;if(!c())return l("@host missing '{'");let L=h().concat(d());return s()?F({type:Ce.host,rules:L}):l("@host missing '}'")}function E(){let F=i(),L=p(/^@container *([^{]+)/);if(!L)return;let D=Ue(L[1]);if(!c())return l("@container missing '{'");let G=h().concat(d());return s()?F({type:Ce.container,container:D,rules:G}):l("@container missing '}'")}function O(){let F=i(),L=p(/^@layer *([^{;@]+)/);if(!L)return;let D=Ue(L[1]);if(!c())return p(/^[;\s]*/),F({type:Ce.layer,layer:D});let G=h().concat(d());return s()?F({type:Ce.layer,layer:D,rules:G}):l("@layer missing '}'")}function M(){let F=i(),L=p(/^@media *([^{]+)/);if(!L)return;let D=Ue(L[1]);if(!c())return l("@media missing '{'");let G=h().concat(d());return s()?F({type:Ce.media,media:D,rules:G}):l("@media missing '}'")}function N(){let F=i(),L=p(/^@custom-media\s+(--\S+)\s*([^{;\s][^{;]*);/);if(L)return F({type:Ce.customMedia,name:Ue(L[1]),media:Ue(L[2])})}function k(){let F=i();if(!p(/^@page */))return;let L=b()||[];if(!c())return l("@page missing '{'");let D=h(),G;for(;G=y();)D.push(G),D=D.concat(h());return s()?F({type:Ce.page,selectors:L,declarations:D}):l("@page missing '}'")}function j(){let F=i(),L=p(/^@([-\w]+)?document *([^{]+)/);if(!L)return;let D=Ue(L[1]),G=Ue(L[2]);if(!c())return l("@document missing '{'");let Y=h().concat(d());return s()?F({type:Ce.document,document:G,vendor:D,rules:Y}):l("@document missing '}'")}function I(){let F=i();if(!p(/^@font-face\s*/))return;if(!c())return l("@font-face missing '{'");let L=h(),D;for(;D=y();)L.push(D),L=L.concat(h());return s()?F({type:Ce.fontFace,declarations:L}):l("@font-face missing '}'")}function B(){let F=i();if(!p(/^@starting-style\s*/))return;if(!c())return l("@starting-style missing '{'");let L=h().concat(d());return s()?F({type:Ce.startingStyle,rules:L}):l("@starting-style missing '}'")}let z=re("import"),K=re("charset"),W=re("namespace");function re(F){let L=new RegExp("^@"+F+`\\s*((?::?[^;'"]|"(?:\\\\"|[^"])*?"|'(?:\\\\'|[^'])*?')+)(?:;|$)`);return function(){let D=i(),G=p(L);if(!G)return;let Y={type:F};return Y[F]=G[1].trim(),D(Y)}}function me(){if(e[0]==="@")return C()||M()||N()||w()||z()||K()||W()||j()||k()||v()||I()||E()||B()||O()}function de(){let F=i(),L=b();return L?(h(),F({type:Ce.rule,selectors:L,declarations:R()||[]})):l("selector missing")}return Ni(u())};function Ue(e){return e?e.trim():""}function Ni(e,t){let r=e&&typeof e.type=="string",n=r?e:t;for(let a in e){let i=e[a];Array.isArray(i)?i.forEach(o=>{Ni(o,n)}):i&&typeof i=="object"&&Ni(i,n)}return r&&Object.defineProperty(e,"parent",{configurable:!0,writable:!0,enumerable:!1,value:t||null}),e}var e0=ZC,t0=e0,r0=Object.prototype.toString;function n0(e){return typeof e=="function"||r0.call(e)==="[object Function]"}function a0(e){var t=Number(e);return isNaN(t)?0:t===0||!isFinite(t)?t:(t>0?1:-1)*Math.floor(Math.abs(t))}var i0=Math.pow(2,53)-1;function o0(e){var t=a0(e);return Math.min(Math.max(t,0),i0)}function Ye(e,t){var r=Array,n=Object(e);if(e==null)throw new TypeError("Array.from requires an array-like object - not null or undefined");for(var a=o0(n.length),i=n0(r)?Object(new r(a)):new Array(a),o=0,l;o<a;)l=n[o],i[o]=l,o+=1;return i.length=a,i}function Wr(e){"@babel/helpers - typeof";return Wr=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},Wr(e)}function l0(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s0(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,kf(n.key),n)}}function u0(e,t,r){return s0(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function c0(e,t,r){return t=kf(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function kf(e){var t=d0(e,"string");return Wr(t)==="symbol"?t:String(t)}function d0(e,t){if(Wr(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(Wr(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var f0=function(){function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];l0(this,e),c0(this,"items",void 0),this.items=t}return u0(e,[{key:"add",value:function(t){return this.has(t)===!1&&this.items.push(t),this}},{key:"clear",value:function(){this.items=[]}},{key:"delete",value:function(t){var r=this.items.length;return this.items=this.items.filter(function(n){return n!==t}),r!==this.items.length}},{key:"forEach",value:function(t){var r=this;this.items.forEach(function(n){t(n,n,r)})}},{key:"has",value:function(t){return this.items.indexOf(t)!==-1}},{key:"size",get:function(){return this.items.length}}]),e}(),p0=typeof Set>"u"?Set:f0;function xe(e){var t;return(t=e.localName)!==null&&t!==void 0?t:e.tagName.toLowerCase()}var h0={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"},m0={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"]),none: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 b0(e,t){return["aria-atomic","aria-busy","aria-controls","aria-current","aria-description","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=m0[t])!==null&&n!==void 0&&n.has(r))})}function Df(e,t){return b0(e,t)}function g0(e){var t=v0(e);if(t===null||ji.indexOf(t)!==-1){var r=y0(e);if(ji.indexOf(t||"")===-1||Df(e,r||""))return r}return t}function y0(e){var t=h0[xe(e)];if(t!==void 0)return t;switch(xe(e)){case"a":case"area":case"link":if(e.hasAttribute("href"))return"link";break;case"img":return e.getAttribute("alt")===""&&!Df(e,"img")?"presentation":"img";case"input":{var r=e,n=r.type;switch(n){case"button":case"image":case"reset":case"submit":return"button";case"checkbox":case"radio":return n;case"range":return"slider";case"email":case"tel":case"text":case"url":return e.hasAttribute("list")?"combobox":"textbox";case"search":return e.hasAttribute("list")?"combobox":"searchbox";case"number":return"spinbutton";default:return null}}case"select":return e.hasAttribute("multiple")||e.size>1?"listbox":"combobox"}return null}function v0(e){var t=e.getAttribute("role");if(t!==null){var r=t.trim().split(" ")[0];if(r.length>0)return r}return null}var ji=["presentation","none"];function pe(e){return e!==null&&e.nodeType===e.ELEMENT_NODE}function Ff(e){return pe(e)&&xe(e)==="caption"}function qn(e){return pe(e)&&xe(e)==="input"}function _0(e){return pe(e)&&xe(e)==="optgroup"}function E0(e){return pe(e)&&xe(e)==="select"}function w0(e){return pe(e)&&xe(e)==="table"}function C0(e){return pe(e)&&xe(e)==="textarea"}function R0(e){var t=e.ownerDocument===null?e:e.ownerDocument,r=t.defaultView;if(r===null)throw new TypeError("no window available");return r}function T0(e){return pe(e)&&xe(e)==="fieldset"}function P0(e){return pe(e)&&xe(e)==="legend"}function S0(e){return pe(e)&&xe(e)==="slot"}function O0(e){return pe(e)&&e.ownerSVGElement!==void 0}function A0(e){return pe(e)&&xe(e)==="svg"}function q0(e){return O0(e)&&xe(e)==="title"}function Vn(e,t){if(pe(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 ht(e,t){return pe(e)?t.indexOf(g0(e))!==-1:!1}function x0(e){return e.trim().replace(/\s\s+/g," ")}function M0(e,t){if(!pe(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 $0(e){return ht(e,["button","combobox","listbox","textbox"])||Uf(e,"range")}function Uf(e,t){if(!pe(e))return!1;switch(t){case"range":return ht(e,["meter","progressbar","scrollbar","slider","spinbutton"]);default:throw new TypeError("No knowledge about abstract role '".concat(t,"'. This is likely a bug :("))}}function Xs(e,t){var r=Ye(e.querySelectorAll(t));return Vn(e,"aria-owns").forEach(function(n){r.push.apply(r,Ye(n.querySelectorAll(t)))}),r}function N0(e){return E0(e)?e.selectedOptions||Xs(e,"[selected]"):Xs(e,'[aria-selected="true"]')}function j0(e){return ht(e,ji)}function I0(e){return Ff(e)}function L0(e){return ht(e,["button","cell","checkbox","columnheader","gridcell","heading","label","legend","link","menuitem","menuitemcheckbox","menuitemradio","option","radio","row","rowheader","switch","tab","tooltip","treeitem"])}function B0(e){return!1}function k0(e){return qn(e)||C0(e)?e.value:e.textContent||""}function Qs(e){var t=e.getPropertyValue("content");return/^["'].*["']$/.test(t)?t.slice(1,-1):""}function Hf(e){var t=xe(e);return t==="button"||t==="input"&&e.getAttribute("type")!=="hidden"||t==="meter"||t==="output"||t==="progress"||t==="select"||t==="textarea"}function zf(e){if(Hf(e))return e;var t=null;return e.childNodes.forEach(function(r){if(t===null&&pe(r)){var n=zf(r);n!==null&&(t=n)}}),t}function D0(e){if(e.control!==void 0)return e.control;var t=e.getAttribute("for");return t!==null?e.ownerDocument.getElementById(t):zf(e)}function F0(e){var t=e.labels;if(t===null)return t;if(t!==void 0)return Ye(t);if(!Hf(e))return null;var r=e.ownerDocument;return Ye(r.querySelectorAll("label")).filter(function(n){return D0(n)===e})}function U0(e){var t=e.assignedNodes();return t.length===0?Ye(e.childNodes):t}function Vf(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=new p0,n=R0(e),a=t.compute,i=a===void 0?"name":a,o=t.computedStyleSupportsPseudoElements,l=o===void 0?t.getComputedStyle!==void 0:o,u=t.getComputedStyle,c=u===void 0?n.getComputedStyle.bind(n):u,s=t.hidden,d=s===void 0?!1:s;function p(b,y){var R="";if(pe(b)&&l){var _=c(b,"::before"),C=Qs(_);R="".concat(C," ").concat(R)}var w=S0(b)?U0(b):Ye(b.childNodes).concat(Vn(b,"aria-owns"));if(w.forEach(function(O){var M=g(O,{isEmbeddedInLabel:y.isEmbeddedInLabel,isReferenced:!1,recursion:!0}),N=pe(O)?c(O).getPropertyValue("display"):"inline",k=N!=="inline"?" ":"";R+="".concat(k).concat(M).concat(k)}),pe(b)&&l){var v=c(b,"::after"),E=Qs(v);R="".concat(R," ").concat(E)}return R.trim()}function f(b,y){var R=b.getAttributeNode(y);return R!==null&&!r.has(R)&&R.value.trim()!==""?(r.add(R),R.value):null}function h(b){return pe(b)?f(b,"title"):null}function m(b){if(!pe(b))return null;if(T0(b)){r.add(b);for(var y=Ye(b.childNodes),R=0;R<y.length;R+=1){var _=y[R];if(P0(_))return g(_,{isEmbeddedInLabel:!1,isReferenced:!1,recursion:!1})}}else if(w0(b)){r.add(b);for(var C=Ye(b.childNodes),w=0;w<C.length;w+=1){var v=C[w];if(Ff(v))return g(v,{isEmbeddedInLabel:!1,isReferenced:!1,recursion:!1})}}else if(A0(b)){r.add(b);for(var E=Ye(b.childNodes),O=0;O<E.length;O+=1){var M=E[O];if(q0(M))return M.textContent}return null}else if(xe(b)==="img"||xe(b)==="area"){var N=f(b,"alt");if(N!==null)return N}else if(_0(b)){var k=f(b,"label");if(k!==null)return k}if(qn(b)&&(b.type==="button"||b.type==="submit"||b.type==="reset")){var j=f(b,"value");if(j!==null)return j;if(b.type==="submit")return"Submit";if(b.type==="reset")return"Reset"}var I=F0(b);if(I!==null&&I.length!==0)return r.add(b),Ye(I).map(function(W){return g(W,{isEmbeddedInLabel:!0,isReferenced:!1,recursion:!0})}).filter(function(W){return W.length>0}).join(" ");if(qn(b)&&b.type==="image"){var B=f(b,"alt");if(B!==null)return B;var z=f(b,"title");return z!==null?z:"Submit Query"}if(ht(b,["button"])){var K=p(b,{isEmbeddedInLabel:!1,isReferenced:!1});if(K!=="")return K}return null}function g(b,y){if(r.has(b))return"";if(!d&&M0(b,c)&&!y.isReferenced)return r.add(b),"";var R=pe(b)?b.getAttributeNode("aria-labelledby"):null,_=R!==null&&!r.has(R)?Vn(b,"aria-labelledby"):[];if(i==="name"&&!y.isReferenced&&_.length>0)return r.add(R),_.map(function(N){return g(N,{isEmbeddedInLabel:y.isEmbeddedInLabel,isReferenced:!0,recursion:!1})}).join(" ");var C=y.recursion&&$0(b)&&i==="name";if(!C){var w=(pe(b)&&b.getAttribute("aria-label")||"").trim();if(w!==""&&i==="name")return r.add(b),w;if(!j0(b)){var v=m(b);if(v!==null)return r.add(b),v}}if(ht(b,["menu"]))return r.add(b),"";if(C||y.isEmbeddedInLabel||y.isReferenced){if(ht(b,["combobox","listbox"])){r.add(b);var E=N0(b);return E.length===0?qn(b)?b.value:"":Ye(E).map(function(N){return g(N,{isEmbeddedInLabel:y.isEmbeddedInLabel,isReferenced:!1,recursion:!0})}).join(" ")}if(Uf(b,"range"))return r.add(b),b.hasAttribute("aria-valuetext")?b.getAttribute("aria-valuetext"):b.hasAttribute("aria-valuenow")?b.getAttribute("aria-valuenow"):b.getAttribute("value")||"";if(ht(b,["textbox"]))return r.add(b),k0(b)}if(L0(b)||pe(b)&&y.isReferenced||I0(b)||B0()){var O=p(b,{isEmbeddedInLabel:y.isEmbeddedInLabel,isReferenced:!1});if(O!=="")return r.add(b),O}if(b.nodeType===b.TEXT_NODE)return r.add(b),b.textContent||"";if(y.recursion)return r.add(b),p(b,{isEmbeddedInLabel:y.isEmbeddedInLabel,isReferenced:!1});var M=h(b);return M!==null?(r.add(b),M):(r.add(b),"")}return x0(g(e,{isEmbeddedInLabel:!1,isReferenced:i==="description",recursion:!1}))}function Kr(e){"@babel/helpers - typeof";return Kr=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},Kr(e)}function Zs(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 eu(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Zs(Object(r),!0).forEach(function(n){H0(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Zs(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function H0(e,t,r){return t=z0(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function z0(e){var t=V0(e,"string");return Kr(t)==="symbol"?t:String(t)}function V0(e,t){if(Kr(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(Kr(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function G0(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=Vn(e,"aria-describedby").map(function(i){return Vf(i,eu(eu({},t),{},{compute:"description"}))}).join(" ");if(r===""){var n=e.getAttribute("aria-description");r=n===null?"":n}if(r===""){var a=e.getAttribute("title");r=a===null?"":a}return r}function W0(e){return ht(e,["caption","code","deletion","emphasis","generic","insertion","none","paragraph","presentation","strong","subscript","superscript"])}function K0(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return W0(e)?"":Vf(e,t)}var vl=Fe(xo(),1),Y0=Fe(qd(),1),Gf=Fe(Fd(),1),J0=Fe(Ud(),1),Wf=class extends Error{constructor(e,t,r,n){super(),Error.captureStackTrace&&Error.captureStackTrace(this,r);let a="";try{a=n.utils.printWithType("Received",t,n.utils.printReceived)}catch{}this.message=[n.utils.matcherHint(`${n.isNot?".not":""}.${r.name}`,"received",""),"",`${n.utils.RECEIVED_COLOR("received")} value must ${e}.`,a].join(`
|
|
70
|
+
`)}},tu=class extends Wf{constructor(...e){super("be an HTMLElement or an SVGElement",...e)}},ru=class extends Wf{constructor(...e){super("be a Node",...e)}};function Kf(e,t,...r){if(!e||!e.ownerDocument||!e.ownerDocument.defaultView)throw new t(e,...r)}function X0(e,...t){Kf(e,ru,...t);let r=e.ownerDocument.defaultView;if(!(e instanceof r.Node))throw new ru(e,...t)}function le(e,...t){Kf(e,tu,...t);let r=e.ownerDocument.defaultView;if(!(e instanceof r.HTMLElement)&&!(e instanceof r.SVGElement))throw new tu(e,...t)}var Q0=class extends Error{constructor(e,t,r){super(),Error.captureStackTrace&&Error.captureStackTrace(this,t),this.message=[e.message,"",r.utils.RECEIVED_COLOR("Failing css:"),r.utils.RECEIVED_COLOR(`${e.css}`)].join(`
|
|
71
|
+
`)}};function Z0(e,...t){let r=t0(`selector { ${e} }`,{silent:!0}).stylesheet;if(r.parsingErrors&&r.parsingErrors.length>0){let{reason:n,line:a}=r.parsingErrors[0];throw new Q0({css:e,message:`Syntax error parsing expected css: ${n} on line: ${a}`},...t)}return r.rules[0].declarations.filter(n=>n.type==="declaration").reduce((n,{property:a,value:i})=>Object.assign(n,{[a]:i}),{})}function nu(e,t){return typeof t=="string"?t:e.utils.stringify(t)}function Ae(e,t,r,n,a,i){return[`${t}
|
|
72
|
+
`,`${r}:
|
|
73
|
+
${e.utils.EXPECTED_COLOR((0,Js.default)(nu(e,n),2))}`,`${a}:
|
|
74
|
+
${e.utils.RECEIVED_COLOR((0,Js.default)(nu(e,i),2))}`].join(`
|
|
75
|
+
`)}function eR(e,t){return t instanceof RegExp?t.test(e):e.includes(String(t))}function Ta(e,t){console.warn(`Warning: ${e} has been deprecated and will be removed in future updates.`,t)}function Pa(e){return e.replace(/\s+/g," ").trim()}function Mt(e){return e.tagName&&e.tagName.toLowerCase()}function tR({multiple:e,options:t}){let r=[...t].filter(n=>n.selected);if(e)return[...r].map(n=>n.value);if(r.length!==0)return r[0].value}function rR(e){switch(e.type){case"number":return e.value===""?null:Number(e.value);case"checkbox":return e.checked;default:return e.value}}var nR=["meter","progressbar","slider","spinbutton"];function aR(e){if(nR.includes(e.getAttribute("role")))return Number(e.getAttribute("aria-valuenow"))}function Yf(e){if(e)switch(e.tagName.toLowerCase()){case"input":return rR(e);case"select":return tR(e);default:return e.value??aR(e)}}function iR(e,{wordConnector:t=", ",lastWordConnector:r=" and "}={}){return[e.slice(0,-1).join(t),e[e.length-1]].join(e.length>1?r:"")}function Jf(e,t){if(Array.isArray(e)&&Array.isArray(t))return[...new Set(e)].every(r=>new Set(t).has(r))}function Ii(e,t){return Ta("toBeInTheDOM","Please use toBeInTheDocument for searching the entire document and toContainElement for searching a specific container."),e&&le(e,Ii,this),t&&le(t,Ii,this),{pass:t?t.contains(e):!!e,message:()=>[this.utils.matcherHint(`${this.isNot?".not":""}.toBeInTheDOM`,"element",""),"","Received:",` ${this.utils.printReceived(e&&e.cloneNode(!1))}`].join(`
|
|
76
|
+
`)}}function Xf(e){(e!==null||!this.isNot)&&le(e,Xf,this);let t=e===null?!1:e.ownerDocument===e.getRootNode({composed:!0}),r=()=>`expected document not to contain element, found ${this.utils.stringify(e.cloneNode(!0))} instead`,n=()=>"element could not be found in the document";return{pass:t,message:()=>[this.utils.matcherHint(`${this.isNot?".not":""}.toBeInTheDocument`,"element",""),"",this.utils.RECEIVED_COLOR(this.isNot?r():n())].join(`
|
|
77
|
+
`)}}function Qf(e){return Ta("toBeEmpty","Please use instead toBeEmptyDOMElement for finding empty nodes in the DOM."),le(e,Qf,this),{pass:e.innerHTML==="",message:()=>[this.utils.matcherHint(`${this.isNot?".not":""}.toBeEmpty`,"element",""),"","Received:",` ${this.utils.printReceived(e.innerHTML)}`].join(`
|
|
78
|
+
`)}}function Zf(e){return le(e,Zf,this),{pass:oR(e),message:()=>[this.utils.matcherHint(`${this.isNot?".not":""}.toBeEmptyDOMElement`,"element",""),"","Received:",` ${this.utils.printReceived(e.innerHTML)}`].join(`
|
|
79
|
+
`)}}function oR(e){return[...e.childNodes].filter(t=>t.nodeType!==8).length===0}function Li(e,t){return le(e,Li,this),t!==null&&le(t,Li,this),{pass:e.contains(t),message:()=>[this.utils.matcherHint(`${this.isNot?".not":""}.toContainElement`,"element","element"),"",this.utils.RECEIVED_COLOR(`${this.utils.stringify(e.cloneNode(!1))} ${this.isNot?"contains:":"does not contain:"} ${this.utils.stringify(t&&t.cloneNode(!1))}
|
|
80
|
+
`)].join(`
|
|
81
|
+
`)}}function lR(e,t){let r=e.ownerDocument.createElement("div");return r.innerHTML=t,r.innerHTML}function ep(e,t){if(le(e,ep,this),typeof t!="string")throw new Error(`.toContainHTML() expects a string value, got ${t}`);return{pass:e.outerHTML.includes(lR(e,t)),message:()=>[this.utils.matcherHint(`${this.isNot?".not":""}.toContainHTML`,"element",""),"Expected:",` ${this.utils.EXPECTED_COLOR(t)}`,"Received:",` ${this.utils.printReceived(e.cloneNode(!0))}`].join(`
|
|
82
|
+
`)}}function tp(e,t,r={normalizeWhitespace:!0}){X0(e,tp,this);let n=r.normalizeWhitespace?Pa(e.textContent):e.textContent.replace(/\u00a0/g," "),a=n!==""&&t==="";return{pass:!a&&eR(n,t),message:()=>{let i=this.isNot?"not to":"to";return Ae(this,this.utils.matcherHint(`${this.isNot?".not":""}.toHaveTextContent`,"element",""),a?"Checking with empty string will always match, use .toBeEmptyDOMElement() instead":`Expected element ${i} have text content`,t,"Received",n)}}}function Bi(e,t){le(e,Bi,this);let r=G0(e),n=arguments.length===1,a=!1;return n?a=r!=="":a=t instanceof RegExp?t.test(r):this.equals(r,t),{pass:a,message:()=>{let i=this.isNot?"not to":"to";return Ae(this,this.utils.matcherHint(`${this.isNot?".not":""}.${Bi.name}`,"element",""),`Expected element ${i} have accessible description`,t,"Received",r)}}}var $r="aria-invalid",sR=["false"];function rp(e,t){var l;le(e,rp,this);let r=this.isNot?"not to":"to",n=this.isNot?".not.toHaveAccessibleErrorMessage":".toHaveAccessibleErrorMessage",a=e.getAttribute("aria-errormessage");if(a&&/\s+/.test(a))return{pass:!1,message:()=>Ae(this,this.utils.matcherHint(n,"element"),"Expected element's `aria-errormessage` attribute to be empty or a single, valid ID","","Received",`aria-errormessage="${a}"`)};let i=e.getAttribute($r);if(!e.hasAttribute($r)||sR.includes(i))return{pass:!1,message:()=>Ae(this,this.utils.matcherHint(n,"element"),"Expected element to be marked as invalid with attribute",`${$r}="${String(!0)}"`,"Received",e.hasAttribute("aria-invalid")?`${$r}="${e.getAttribute($r)}`:null)};let o=Pa(((l=e.ownerDocument.getElementById(a))==null?void 0:l.textContent)??"");return{pass:t===void 0?!!o:t instanceof RegExp?t.test(o):this.equals(o,t),message:()=>Ae(this,this.utils.matcherHint(n,"element"),`Expected element ${r} have accessible error message`,t??"","Received",o)}}var uR=fR(vl.elementRoles);function ki(e,t){le(e,ki,this);let r=cR(e);return{pass:r.some(n=>n===t),message:()=>{let n=this.isNot?"not to":"to";return Ae(this,this.utils.matcherHint(`${this.isNot?".not":""}.${ki.name}`,"element",""),`Expected element ${n} have role`,t,"Received",r.join(", "))}}}function cR(e){return e.hasAttribute("role")?e.getAttribute("role").split(" ").filter(Boolean):dR(e)}function dR(e){for(let{match:t,roles:r}of uR)if(t(e))return[...r];return[]}function fR(e){function t({name:o,attributes:l}){return`${o}${l.map(({name:u,value:c,constraints:s=[]})=>s.indexOf("undefined")!==-1?`:not([${u}])`:c?`[${u}="${c}"]`:`[${u}]`).join("")}`}function r({attributes:o=[]}){return o.length}function n({specificity:o},{specificity:l}){return l-o}function a(o){let{attributes:l=[]}=o,u=l.findIndex(s=>s.value&&s.name==="type"&&s.value==="text");u>=0&&(l=[...l.slice(0,u),...l.slice(u+1)]);let c=t({...o,attributes:l});return s=>u>=0&&s.type!=="text"?!1:s.matches(c)}let i=[];for(let[o,l]of e.entries())i=[...i,{match:a(o),roles:Array.from(l),specificity:r(o)}];return i.sort(n)}function Di(e,t){le(e,Di,this);let r=K0(e),n=arguments.length===1,a=!1;return n?a=r!=="":a=t instanceof RegExp?t.test(r):this.equals(r,t),{pass:a,message:()=>{let i=this.isNot?"not to":"to";return Ae(this,this.utils.matcherHint(`${this.isNot?".not":""}.${Di.name}`,"element",""),`Expected element ${i} have accessible name`,t,"Received",r)}}}function au(e,t,r){return r===void 0?t:`${t}=${e(r)}`}function pR(e,t,r){return r===void 0?`element.hasAttribute(${e(t)})`:`element.getAttribute(${e(t)}) === ${e(r)}`}function np(e,t,r){le(e,np,this);let n=r!==void 0,a=e.hasAttribute(t),i=e.getAttribute(t);return{pass:n?a&&this.equals(i,r):a,message:()=>{let o=this.isNot?"not to":"to",l=a?au(this.utils.stringify,t,i):null,u=this.utils.matcherHint(`${this.isNot?".not":""}.toHaveAttribute`,"element",this.utils.printExpected(t),{secondArgument:n?this.utils.printExpected(r):void 0,comment:pR(this.utils.stringify,t,r)});return Ae(this,u,`Expected the element ${o} have attribute`,au(this.utils.stringify,t,r),"Received",l)}}}function hR(e){let t=e.pop(),r,n;return typeof t=="object"&&!(t instanceof RegExp)?(r=e,n=t):(r=e.concat(t),n={exact:!1}),{expectedClassNames:r,options:n}}function iu(e){return e?e.split(/\s+/).filter(t=>t.length>0):[]}function ou(e,t){return e.every(r=>typeof r=="string"?t.includes(r):t.some(n=>r.test(n)))}function ap(e,...t){le(e,ap,this);let{expectedClassNames:r,options:n}=hR(t),a=iu(e.getAttribute("class")),i=r.reduce((l,u)=>l.concat(typeof u=="string"||!u?iu(u):u),[]),o=i.some(l=>l instanceof RegExp);if(n.exact&&o)throw new Error("Exact option does not support RegExp expected class names");return n.exact?{pass:ou(i,a)&&i.length===a.length,message:()=>{let l=this.isNot?"not to":"to";return Ae(this,this.utils.matcherHint(`${this.isNot?".not":""}.toHaveClass`,"element",this.utils.printExpected(i.join(" "))),`Expected the element ${l} have EXACTLY defined classes`,i.join(" "),"Received",a.join(" "))}}:i.length>0?{pass:ou(i,a),message:()=>{let l=this.isNot?"not to":"to";return Ae(this,this.utils.matcherHint(`${this.isNot?".not":""}.toHaveClass`,"element",this.utils.printExpected(i.join(" "))),`Expected the element ${l} have class`,i.join(" "),"Received",a.join(" "))}}:{pass:this.isNot?a.length>0:!1,message:()=>this.isNot?Ae(this,this.utils.matcherHint(".not.toHaveClass","element",""),"Expected the element to have classes","(none)","Received",a.join(" ")):[this.utils.matcherHint(".toHaveClass","element"),"At least one expected class must be provided."].join(`
|
|
83
|
+
`)}}function mR(e,t){let r={},n=e.createElement("div");return Object.keys(t).forEach(a=>{n.style[a]=t[a],r[a]=n.style[a]}),r}function bR(e,t){return!!Object.keys(e).length&&Object.entries(e).every(([r,n])=>{let a=r.startsWith("--"),i=[r];return a||i.push(r.toLowerCase()),i.some(o=>t[o]===n||t.getPropertyValue(o)===n)})}function lu(e){return Object.keys(e).sort().map(t=>`${t}: ${e[t]};`).join(`
|
|
84
|
+
`)}function gR(e,t,r){let n=Array.from(r).filter(a=>t[a]!==void 0).reduce((a,i)=>Object.assign(a,{[i]:r.getPropertyValue(i)}),{});return e(lu(t),lu(n)).replace(`${Y0.default.red("+ Received")}
|
|
85
|
+
`,"")}function Fi(e,t){le(e,Fi,this);let r=typeof t=="object"?t:Z0(t,Fi,this),{getComputedStyle:n}=e.ownerDocument.defaultView,a=mR(e.ownerDocument,r),i=n(e);return{pass:bR(a,i),message:()=>{let o=`${this.isNot?".not":""}.toHaveStyle`;return[this.utils.matcherHint(o,"element",""),gR(this.utils.diff,a,i)].join(`
|
|
86
|
+
|
|
87
|
+
`)}}}function ip(e){return le(e,ip,this),{pass:e.ownerDocument.activeElement===e,message:()=>[this.utils.matcherHint(`${this.isNot?".not":""}.toHaveFocus`,"element",""),"",...this.isNot?["Received element is focused:",` ${this.utils.printReceived(e)}`]:["Expected element with focus:",` ${this.utils.printExpected(e)}`,"Received element with focus:",` ${this.utils.printReceived(e.ownerDocument.activeElement)}`]].join(`
|
|
88
|
+
`)}}function yR(e){let t=[...new Set(e.map(r=>r.type))];if(t.length!==1)throw new Error("Multiple form elements with the same name must be of the same type");switch(t[0]){case"radio":{let r=e.find(n=>n.checked);return r?r.value:void 0}case"checkbox":return e.filter(r=>r.checked).map(r=>r.value);default:return e.map(r=>r.value)}}function vR(e,t){let r=[...e.querySelectorAll(`[name="${(0,J0.default)(t)}"]`)];if(r.length!==0)switch(r.length){case 1:return Yf(r[0]);default:return yR(r)}}function _R(e){return/\[\]$/.test(e)?e.slice(0,-2):e}function ER(e){return Array.from(e.elements).map(t=>t.name).reduce((t,r)=>({...t,[_R(r)]:vR(e,r)}),{})}function op(e,t){if(le(e,op,this),!e.elements)throw new Error("toHaveFormValues must be called on a form or a fieldset");let r=ER(e);return{pass:Object.entries(t).every(([n,a])=>(0,Gf.default)(r[n],a,Jf)),message:()=>{let n=this.isNot?"not to":"to",a=`${this.isNot?".not":""}.toHaveFormValues`,i=Object.keys(r).filter(o=>t.hasOwnProperty(o)).reduce((o,l)=>({...o,[l]:r[l]}),{});return[this.utils.matcherHint(a,"element",""),`Expected the element ${n} have form values`,this.utils.diff(t,i)].join(`
|
|
89
|
+
|
|
90
|
+
`)}}}function wR(e){let{getComputedStyle:t}=e.ownerDocument.defaultView,{display:r,visibility:n,opacity:a}=t(e);return r!=="none"&&n!=="hidden"&&n!=="collapse"&&a!=="0"&&a!==0}function CR(e,t){let r;return t?r=e.nodeName==="DETAILS"&&t.nodeName!=="SUMMARY"?e.hasAttribute("open"):!0:r=e.nodeName==="DETAILS"?e.hasAttribute("open"):!0,!e.hasAttribute("hidden")&&r}function lp(e,t){return wR(e)&&CR(e,t)&&(!e.parentElement||lp(e.parentElement,e))}function sp(e){le(e,sp,this);let t=e.ownerDocument===e.getRootNode({composed:!0}),r=t&&lp(e);return{pass:r,message:()=>{let n=r?"is":"is not";return[this.utils.matcherHint(`${this.isNot?".not":""}.toBeVisible`,"element",""),"",`Received element ${n} visible${t?"":" (element is not in the document)"}:`,` ${this.utils.printReceived(e.cloneNode(!1))}`].join(`
|
|
91
|
+
`)}}}var RR=["fieldset","input","select","optgroup","option","button","textarea"];function TR(e,t){return Mt(e)==="legend"&&Mt(t)==="fieldset"&&e.isSameNode(Array.from(t.children).find(r=>Mt(r)==="legend"))}function PR(e,t){return cp(t)&&!TR(e,t)}function SR(e){return e.includes("-")}function up(e){let t=Mt(e);return RR.includes(t)||SR(t)}function cp(e){return up(e)&&e.hasAttribute("disabled")}function dp(e){let t=e.parentElement;return!!t&&(PR(e,t)||dp(t))}function fp(e){return up(e)&&(cp(e)||dp(e))}function pp(e){le(e,pp,this);let t=fp(e);return{pass:t,message:()=>{let r=t?"is":"is not";return[this.utils.matcherHint(`${this.isNot?".not":""}.toBeDisabled`,"element",""),"",`Received element ${r} disabled:`,` ${this.utils.printReceived(e.cloneNode(!1))}`].join(`
|
|
92
|
+
`)}}}function hp(e){le(e,hp,this);let t=!fp(e);return{pass:t,message:()=>{let r=t?"is":"is not";return[this.utils.matcherHint(`${this.isNot?".not":""}.toBeEnabled`,"element",""),"",`Received element ${r} enabled:`,` ${this.utils.printReceived(e.cloneNode(!1))}`].join(`
|
|
93
|
+
`)}}}var OR=["select","textarea"],AR=["input","select","textarea"],qR=["color","hidden","range","submit","image","reset"],xR=["checkbox","combobox","gridcell","listbox","radiogroup","spinbutton","textbox","tree"];function MR(e){return OR.includes(Mt(e))&&e.hasAttribute("required")}function $R(e){return Mt(e)==="input"&&e.hasAttribute("required")&&(e.hasAttribute("type")&&!qR.includes(e.getAttribute("type"))||!e.hasAttribute("type"))}function NR(e){return e.hasAttribute("aria-required")&&e.getAttribute("aria-required")==="true"&&(AR.includes(Mt(e))||e.hasAttribute("role")&&xR.includes(e.getAttribute("role")))}function mp(e){le(e,mp,this);let t=MR(e)||$R(e)||NR(e);return{pass:t,message:()=>{let r=t?"is":"is not";return[this.utils.matcherHint(`${this.isNot?".not":""}.toBeRequired`,"element",""),"",`Received element ${r} required:`,` ${this.utils.printReceived(e.cloneNode(!1))}`].join(`
|
|
94
|
+
`)}}}var jR=["form","input","select","textarea"];function IR(e){return e.hasAttribute("aria-invalid")&&e.getAttribute("aria-invalid")!=="false"}function LR(e){return jR.includes(Mt(e))}function bp(e){let t=IR(e);return LR(e)?t||!e.checkValidity():t}function gp(e){le(e,gp,this);let t=bp(e);return{pass:t,message:()=>{let r=t?"is":"is not";return[this.utils.matcherHint(`${this.isNot?".not":""}.toBeInvalid`,"element",""),"",`Received element ${r} currently invalid:`,` ${this.utils.printReceived(e.cloneNode(!1))}`].join(`
|
|
95
|
+
`)}}}function yp(e){le(e,yp,this);let t=!bp(e);return{pass:t,message:()=>{let r=t?"is":"is not";return[this.utils.matcherHint(`${this.isNot?".not":""}.toBeValid`,"element",""),"",`Received element ${r} currently valid:`,` ${this.utils.printReceived(e.cloneNode(!1))}`].join(`
|
|
96
|
+
`)}}}function vp(e,t){if(le(e,vp,this),e.tagName.toLowerCase()==="input"&&["checkbox","radio"].includes(e.type))throw new Error("input with type=checkbox or type=radio cannot be used with .toHaveValue(). Use .toBeChecked() for type=checkbox or .toHaveFormValues() instead");let r=Yf(e),n=t!==void 0,a=t,i=r;return t==r&&t!==r&&(a=`${t} (${typeof t})`,i=`${r} (${typeof r})`),{pass:n?(0,Gf.default)(r,t,Jf):!!r,message:()=>{let o=this.isNot?"not to":"to",l=this.utils.matcherHint(`${this.isNot?".not":""}.toHaveValue`,"element",t);return Ae(this,l,`Expected the element ${o} have value`,n?a:"(any)","Received",i)}}}function _p(e,t){le(e,_p,this);let r=e.tagName.toLowerCase();if(!["select","input","textarea"].includes(r))throw new Error(".toHaveDisplayValue() currently supports only input, textarea or select elements, try with another matcher instead.");if(r==="input"&&["radio","checkbox"].includes(e.type))throw new Error(`.toHaveDisplayValue() currently does not support input[type="${e.type}"], try with another matcher instead.`);let n=BR(r,e),a=kR(t),i=a.filter(u=>n.some(c=>u instanceof RegExp?u.test(c):this.equals(c,String(u)))).length,o=i===n.length,l=i===a.length;return{pass:o&&l,message:()=>Ae(this,this.utils.matcherHint(`${this.isNot?".not":""}.toHaveDisplayValue`,"element",""),`Expected element ${this.isNot?"not ":""}to have display value`,t,"Received",n)}}function BR(e,t){return e==="select"?Array.from(t).filter(r=>r.selected).map(r=>r.textContent):[t.value]}function kR(e){return e instanceof Array?e:[e]}function Ep(e){le(e,Ep,this);let t=()=>e.tagName.toLowerCase()==="input"&&["checkbox","radio"].includes(e.type),r=()=>wp(e.getAttribute("role"))&&["true","false"].includes(e.getAttribute("aria-checked"));if(!t()&&!r())return{pass:!1,message:()=>`only inputs with type="checkbox" or type="radio" or elements with ${DR()} and a valid aria-checked attribute can be used with .toBeChecked(). Use .toHaveValue() instead`};let n=()=>t()?e.checked:e.getAttribute("aria-checked")==="true";return{pass:n(),message:()=>{let a=n()?"is":"is not";return[this.utils.matcherHint(`${this.isNot?".not":""}.toBeChecked`,"element",""),"",`Received element ${a} checked:`,` ${this.utils.printReceived(e.cloneNode(!1))}`].join(`
|
|
97
|
+
`)}}}function DR(){return iR(FR().map(e=>`role="${e}"`),{lastWordConnector:" or "})}function FR(){return vl.roles.keys().filter(wp)}function wp(e){var t;return((t=vl.roles.get(e))==null?void 0:t.props["aria-checked"])!==void 0}function Cp(e){le(e,Cp,this);let t=()=>e.tagName.toLowerCase()==="input"&&e.type==="checkbox",r=()=>e.getAttribute("role")==="checkbox";if(!t()&&!r())return{pass:!1,message:()=>'only inputs with type="checkbox" or elements with role="checkbox" and a valid aria-checked attribute can be used with .toBePartiallyChecked(). Use .toHaveValue() instead'};let n=()=>{let a=e.getAttribute("aria-checked")==="mixed";return t()&&e.indeterminate||a};return{pass:n(),message:()=>{let a=n()?"is":"is not";return[this.utils.matcherHint(`${this.isNot?".not":""}.toBePartiallyChecked`,"element",""),"",`Received element ${a} partially checked:`,` ${this.utils.printReceived(e.cloneNode(!1))}`].join(`
|
|
98
|
+
`)}}}function Rp(e,t){Ta("toHaveDescription","Please use toHaveAccessibleDescription."),le(e,Rp,this);let r=t!==void 0,n=(e.getAttribute("aria-describedby")||"").split(/\s+/).filter(Boolean),a="";if(n.length>0){let i=e.ownerDocument,o=n.map(l=>i.getElementById(l)).filter(Boolean);a=Pa(o.map(l=>l.textContent).join(" "))}return{pass:r?t instanceof RegExp?t.test(a):this.equals(a,t):!!a,message:()=>{let i=this.isNot?"not to":"to";return Ae(this,this.utils.matcherHint(`${this.isNot?".not":""}.toHaveDescription`,"element",""),`Expected the element ${i} have description`,this.utils.printExpected(t),"Received",this.utils.printReceived(a))}}}function Tp(e,t){if(Ta("toHaveErrorMessage","Please use toHaveAccessibleErrorMessage."),le(e,Tp,this),!e.hasAttribute("aria-invalid")||e.getAttribute("aria-invalid")==="false"){let i=this.isNot?".not":"";return{pass:!1,message:()=>Ae(this,this.utils.matcherHint(`${i}.toHaveErrorMessage`,"element",""),"Expected the element to have invalid state indicated by",'aria-invalid="true"',"Received",e.hasAttribute("aria-invalid")?`aria-invalid="${e.getAttribute("aria-invalid")}"`:this.utils.printReceived(""))}}let r=t!==void 0,n=(e.getAttribute("aria-errormessage")||"").split(/\s+/).filter(Boolean),a="";if(n.length>0){let i=e.ownerDocument,o=n.map(l=>i.getElementById(l)).filter(Boolean);a=Pa(o.map(l=>l.textContent).join(" "))}return{pass:r?t instanceof RegExp?t.test(a):this.equals(a,t):!!a,message:()=>{let i=this.isNot?"not to":"to";return Ae(this,this.utils.matcherHint(`${this.isNot?".not":""}.toHaveErrorMessage`,"element",""),`Expected the element ${i} have error message`,this.utils.printExpected(t),"Received",this.utils.printReceived(a))}}}Fe(Od(),1);Fe(xo(),1);Fe(qd(),1);Fe(Fd(),1);Fe(Ud(),1);function dt(e,t,r){let n=typeof e;if(!r.includes(n))throw new TypeError(`${t} value must be ${r.join(" or ")}, received "${n}"`)}function xn(e){return e!=null&&typeof e=="object"&&!Array.isArray(e)}function UR(e){return e===Object.prototype||e===Function.prototype||e===RegExp.prototype}function Ui(e){return Object.prototype.toString.apply(e).slice(8,-1)}function HR(e,t){let r=typeof t=="function"?t:n=>t.add(n);Object.getOwnPropertyNames(e).forEach(r),Object.getOwnPropertySymbols(e).forEach(r)}function Pp(e){let t=new Set;return UR(e)?[]:(HR(e,t),Array.from(t))}var Sp={forceWritable:!1};function su(e,t=Sp){return Hi(e,new WeakMap,t)}function Hi(e,t,r=Sp){let n,a;if(t.has(e))return t.get(e);if(Array.isArray(e)){for(a=Array(n=e.length),t.set(e,a);n--;)a[n]=Hi(e[n],t,r);return a}if(Object.prototype.toString.call(e)==="[object Object]"){a=Object.create(Object.getPrototypeOf(e)),t.set(e,a);let i=Pp(e);for(let o of i){let l=Object.getOwnPropertyDescriptor(e,o);if(!l)continue;let u=Hi(e[o],t,r);r.forceWritable?Object.defineProperty(a,o,{enumerable:l.enumerable,configurable:!0,writable:!0,value:u}):"get"in l?Object.defineProperty(a,o,{...l,get(){return u}}):Object.defineProperty(a,o,{...l,value:u})}return a}return e}var uu={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"]},zR={special:"cyan",number:"yellow",bigint:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",symbol:"green",date:"magenta",regexp:"red"},gr="…";function VR(e,t){let r=uu[zR[t]]||uu[t]||"";return r?`\x1B[${r[0]}m${String(e)}\x1B[${r[1]}m`:String(e)}function GR({showHidden:e=!1,depth:t=2,colors:r=!1,customInspect:n=!0,showProxy:a=!1,maxArrayLength:i=1/0,breakLength:o=1/0,seen:l=[],truncate:u=1/0,stylize:c=String}={},s){let d={showHidden:!!e,depth:Number(t),colors:!!r,customInspect:!!n,showProxy:!!a,maxArrayLength:Number(i),breakLength:Number(o),truncate:Number(u),seen:l,inspect:s,stylize:c};return d.colors&&(d.stylize=VR),d}function WR(e){return e>="\uD800"&&e<="\uDBFF"}function Lt(e,t,r=gr){e=String(e);let n=r.length,a=e.length;if(n>t&&a>n)return r;if(a>t&&a>n){let i=t-n;return i>0&&WR(e[i-1])&&(i=i-1),`${e.slice(0,i)}${r}`}return e}function et(e,t,r,n=", "){r=r||t.inspect;let a=e.length;if(a===0)return"";let i=t.truncate,o="",l="",u="";for(let c=0;c<a;c+=1){let s=c+1===e.length,d=c+2===e.length;u=`${gr}(${e.length-c})`;let p=e[c];t.truncate=i-o.length-(s?0:n.length);let f=l||r(p,t)+(s?"":n),h=o.length+f.length,m=h+u.length;if(s&&h>i&&o.length+u.length<=i||!s&&!d&&m>i||(l=s?"":r(e[c+1],t)+(d?"":n),!s&&d&&m>i&&h+l.length>i))break;if(o+=f,!s&&!d&&h+l.length>=i){u=`${gr}(${e.length-c-1})`;break}u=""}return`${o}${u}`}function KR(e){return e.match(/^[a-zA-Z_][a-zA-Z_0-9]*$/)?e:JSON.stringify(e).replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'")}function Yr([e,t],r){return r.truncate-=2,typeof e=="string"?e=KR(e):typeof e!="number"&&(e=`[${r.inspect(e,r)}]`),r.truncate-=e.length,t=r.inspect(t,r),`${e}: ${t}`}function YR(e,t){let r=Object.keys(e).slice(e.length);if(!e.length&&!r.length)return"[]";t.truncate-=4;let n=et(e,t);t.truncate-=n.length;let a="";return r.length&&(a=et(r.map(i=>[i,e[i]]),t,Yr)),`[ ${n}${a?`, ${a}`:""} ]`}var JR=e=>typeof Buffer=="function"&&e instanceof Buffer?"Buffer":e[Symbol.toStringTag]?e[Symbol.toStringTag]:e.constructor.name;function ft(e,t){let r=JR(e);t.truncate-=r.length+4;let n=Object.keys(e).slice(e.length);if(!e.length&&!n.length)return`${r}[]`;let a="";for(let o=0;o<e.length;o++){let l=`${t.stylize(Lt(e[o],t.truncate),"number")}${o===e.length-1?"":", "}`;if(t.truncate-=l.length,e[o]!==e.length&&t.truncate<=3){a+=`${gr}(${e.length-e[o]+1})`;break}a+=l}let i="";return n.length&&(i=et(n.map(o=>[o,e[o]]),t,Yr)),`${r}[ ${a}${i?`, ${i}`:""} ]`}function XR(e,t){let r=e.toJSON();if(r===null)return"Invalid Date";let n=r.split("T"),a=n[0];return t.stylize(`${a}T${Lt(n[1],t.truncate-a.length-1)}`,"date")}function cu(e,t){let r=e[Symbol.toStringTag]||"Function",n=e.name;return n?t.stylize(`[${r} ${Lt(n,t.truncate-11)}]`,"special"):t.stylize(`[${r}]`,"special")}function QR([e,t],r){return r.truncate-=4,e=r.inspect(e,r),r.truncate-=e.length,t=r.inspect(t,r),`${e} => ${t}`}function ZR(e){let t=[];return e.forEach((r,n)=>{t.push([n,r])}),t}function eT(e,t){return e.size-1<=0?"Map{}":(t.truncate-=7,`Map{ ${et(ZR(e),t,QR)} }`)}var tT=Number.isNaN||(e=>e!==e);function du(e,t){return tT(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(Lt(String(e),t.truncate),"number")}function fu(e,t){let r=Lt(e.toString(),t.truncate-1);return r!==gr&&(r+="n"),t.stylize(r,"bigint")}function rT(e,t){let r=e.toString().split("/")[2],n=t.truncate-(2+r.length),a=e.source;return t.stylize(`/${Lt(a,n)}/${r}`,"regexp")}function nT(e){let t=[];return e.forEach(r=>{t.push(r)}),t}function aT(e,t){return e.size===0?"Set{}":(t.truncate-=7,`Set{ ${et(nT(e),t)} }`)}var pu=new RegExp("['\\u0000-\\u001f\\u007f-\\u009f\\u00ad\\u0600-\\u0604\\u070f\\u17b4\\u17b5\\u200c-\\u200f\\u2028-\\u202f\\u2060-\\u206f\\ufeff\\ufff0-\\uffff]","g"),iT={"\b":"\\b"," ":"\\t","\n":"\\n","\f":"\\f","\r":"\\r","'":"\\'","\\":"\\\\"},oT=16;function lT(e){return iT[e]||`\\u${`0000${e.charCodeAt(0).toString(oT)}`.slice(-4)}`}function hu(e,t){return pu.test(e)&&(e=e.replace(pu,lT)),t.stylize(`'${Lt(e,t.truncate-2)}'`,"string")}function mu(e){return"description"in Symbol.prototype?e.description?`Symbol(${e.description})`:"Symbol()":e.toString()}var Op=()=>"Promise{…}";try{let{getPromiseDetails:e,kPending:t,kRejected:r}=process.binding("util");Array.isArray(e(Promise.resolve()))&&(Op=(n,a)=>{let[i,o]=e(n);return i===t?"Promise{<pending>}":`Promise${i===r?"!":""}{${a.inspect(o,a)}}`})}catch{}var sT=Op;function Mn(e,t){let 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.indexOf(e)>=0)return"[Circular]";t.seen.push(e);let a=et(r.map(l=>[l,e[l]]),t,Yr),i=et(n.map(l=>[l,e[l]]),t,Yr);t.seen.pop();let o="";return a&&i&&(o=", "),`{ ${a}${o}${i} }`}var Ya=typeof Symbol<"u"&&Symbol.toStringTag?Symbol.toStringTag:!1;function uT(e,t){let r="";return Ya&&Ya in e&&(r=e[Ya]),r=r||e.constructor.name,(!r||r==="_class")&&(r="<Anonymous Class>"),t.truncate-=r.length,`${r}${Mn(e,t)}`}function cT(e,t){return e.length===0?"Arguments[]":(t.truncate-=13,`Arguments[ ${et(e,t)} ]`)}var dT=["stack","line","column","name","message","fileName","lineNumber","columnNumber","number","description"];function fT(e,t){let r=Object.getOwnPropertyNames(e).filter(o=>dT.indexOf(o)===-1),n=e.name;t.truncate-=n.length;let a="";typeof e.message=="string"?a=Lt(e.message,t.truncate):r.unshift("message"),a=a?`: ${a}`:"",t.truncate-=a.length+5;let i=et(r.map(o=>[o,e[o]]),t,Yr);return`${n}${a}${i?` { ${i} }`:""}`}function pT([e,t],r){return r.truncate-=3,t?`${r.stylize(String(e),"yellow")}=${r.stylize(`"${t}"`,"string")}`:`${r.stylize(String(e),"yellow")}`}function zi(e,t){return et(e,t,Ap,`
|
|
99
|
+
`)}function Ap(e,t){let r=e.getAttributeNames(),n=e.tagName.toLowerCase(),a=t.stylize(`<${n}`,"special"),i=t.stylize(">","special"),o=t.stylize(`</${n}>`,"special");t.truncate-=n.length*2+5;let l="";r.length>0&&(l+=" ",l+=et(r.map(s=>[s,e.getAttribute(s)]),t,pT," ")),t.truncate-=l.length;let u=t.truncate,c=zi(e.children,t);return c&&c.length>u&&(c=`${gr}(${e.children.length})`),`${a}${l}${i}${c}${o}`}var hT=typeof Symbol=="function"&&typeof Symbol.for=="function",Ja=hT?Symbol.for("chai/inspect"):"@@chai/inspect",ir=!1;try{let e=s_("util");ir=e.inspect?e.inspect.custom:!1}catch{ir=!1}var bu=new WeakMap,gu={},yu={undefined:(e,t)=>t.stylize("undefined","undefined"),null:(e,t)=>t.stylize("null","null"),boolean:(e,t)=>t.stylize(String(e),"boolean"),Boolean:(e,t)=>t.stylize(String(e),"boolean"),number:du,Number:du,bigint:fu,BigInt:fu,string:hu,String:hu,function:cu,Function:cu,symbol:mu,Symbol:mu,Array:YR,Date:XR,Map:eT,Set:aT,RegExp:rT,Promise:sT,WeakSet:(e,t)=>t.stylize("WeakSet{…}","special"),WeakMap:(e,t)=>t.stylize("WeakMap{…}","special"),Arguments:cT,Int8Array:ft,Uint8Array:ft,Uint8ClampedArray:ft,Int16Array:ft,Uint16Array:ft,Int32Array:ft,Uint32Array:ft,Float32Array:ft,Float64Array:ft,Generator:()=>"",DataView:()=>"",ArrayBuffer:()=>"",Error:fT,HTMLCollection:zi,NodeList:zi},mT=(e,t,r)=>Ja in e&&typeof e[Ja]=="function"?e[Ja](t):ir&&ir in e&&typeof e[ir]=="function"?e[ir](t.depth,t):"inspect"in e&&typeof e.inspect=="function"?e.inspect(t.depth,t):"constructor"in e&&bu.has(e.constructor)?bu.get(e.constructor)(e,t):gu[r]?gu[r](e,t):"",bT=Object.prototype.toString;function Vi(e,t={}){let r=GR(t,Vi),{customInspect:n}=r,a=e===null?"null":typeof e;if(a==="object"&&(a=bT.call(e).slice(8,-1)),a in yu)return yu[a](e,r);if(n&&e){let o=mT(e,r,a);if(o)return typeof o=="string"?o:Vi(o,r)}let i=e?Object.getPrototypeOf(e):!1;return i===Object.prototype||i===null?Mn(e,r):e&&typeof HTMLElement=="function"&&e instanceof HTMLElement?Ap(e,r):"constructor"in e?e.constructor!==Object?uT(e,r):Mn(e,r):e===Object(e)?Mn(e,r):r.stylize(String(e),a)}var gT={reset:[0,0],bold:[1,22,"\x1B[22m\x1B[1m"],dim:[2,22,"\x1B[22m\x1B[2m"],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[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],gray:[90,39],bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],blackBright:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]},yT=Object.entries(gT);function _l(e){return String(e)}_l.open="";_l.close="";function vT(e=!1){let t=typeof process<"u"?process:void 0,r=(t==null?void 0:t.env)||{},n=(t==null?void 0:t.argv)||[];return!("NO_COLOR"in r||n.includes("--no-color"))&&("FORCE_COLOR"in r||n.includes("--color")||(t==null?void 0:t.platform)==="win32"||e&&r.TERM!=="dumb"||"CI"in r)||typeof window<"u"&&!!window.chrome}function _T(e=!1){let t=vT(e),r=(o,l,u,c)=>{let s="",d=0;do s+=o.substring(d,c)+u,d=c+l.length,c=o.indexOf(l,d);while(~c);return s+o.substring(d)},n=(o,l,u=o)=>{let c=s=>{let d=String(s),p=d.indexOf(l,o.length);return~p?o+r(d,l,u,p)+l:o+d+l};return c.open=o,c.close=l,c},a={isColorSupported:t},i=o=>`\x1B[${o}m`;for(let[o,l]of yT)a[o]=t?n(i(l[0]),i(l[1]),l[2]):_l;return a}var ve=_T(!1);function ET(e,t){let r=Object.keys(e),n=t===null?r:r.sort(t);if(Object.getOwnPropertySymbols)for(let a of Object.getOwnPropertySymbols(e))Object.getOwnPropertyDescriptor(e,a).enumerable&&n.push(a);return n}function Sa(e,t,r,n,a,i,o=": "){let l="",u=0,c=e.next();if(!c.done){l+=t.spacingOuter;let s=r+t.indent;for(;!c.done;){if(l+=s,u++===t.maxWidth){l+="…";break}let d=i(c.value[0],t,s,n,a),p=i(c.value[1],t,s,n,a);l+=d+o+p,c=e.next(),c.done?t.min||(l+=","):l+=`,${t.spacingInner}`}l+=t.spacingOuter+r}return l}function El(e,t,r,n,a,i){let o="",l=0,u=e.next();if(!u.done){o+=t.spacingOuter;let c=r+t.indent;for(;!u.done;){if(o+=c,l++===t.maxWidth){o+="…";break}o+=i(u.value,t,c,n,a),u=e.next(),u.done?t.min||(o+=","):o+=`,${t.spacingInner}`}o+=t.spacingOuter+r}return o}function Gn(e,t,r,n,a,i){let o="";e=e instanceof ArrayBuffer?new DataView(e):e;let l=c=>c instanceof DataView,u=l(e)?e.byteLength:e.length;if(u>0){o+=t.spacingOuter;let c=r+t.indent;for(let s=0;s<u;s++){if(o+=c,s===t.maxWidth){o+="…";break}(l(e)||s in e)&&(o+=i(l(e)?e.getInt8(s):e[s],t,c,n,a)),s<u-1?o+=`,${t.spacingInner}`:t.min||(o+=",")}o+=t.spacingOuter+r}return o}function wl(e,t,r,n,a,i){let o="",l=ET(e,t.compareKeys);if(l.length>0){o+=t.spacingOuter;let u=r+t.indent;for(let c=0;c<l.length;c++){let s=l[c],d=i(s,t,u,n,a),p=i(e[s],t,u,n,a);o+=`${u+d}: ${p}`,c<l.length-1?o+=`,${t.spacingInner}`:t.min||(o+=",")}o+=t.spacingOuter+r}return o}var wT=typeof Symbol=="function"&&Symbol.for?Symbol.for("jest.asymmetricMatcher"):1267621,Xa=" ",CT=(e,t,r,n,a,i)=>{let o=e.toString();if(o==="ArrayContaining"||o==="ArrayNotContaining")return++n>t.maxDepth?`[${o}]`:`${o+Xa}[${Gn(e.sample,t,r,n,a,i)}]`;if(o==="ObjectContaining"||o==="ObjectNotContaining")return++n>t.maxDepth?`[${o}]`:`${o+Xa}{${wl(e.sample,t,r,n,a,i)}}`;if(o==="StringMatching"||o==="StringNotMatching"||o==="StringContaining"||o==="StringNotContaining")return o+Xa+i(e.sample,t,r,n,a);if(typeof e.toAsymmetricMatcher!="function")throw new TypeError(`Asymmetric matcher ${e.constructor.name} does not implement toAsymmetricMatcher()`);return e.toAsymmetricMatcher()},RT=e=>e&&e.$$typeof===wT,TT={serialize:CT,test:RT},PT=" ",qp=new Set(["DOMStringMap","NamedNodeMap"]),ST=/^(?:HTML\w*Collection|NodeList)$/;function OT(e){return qp.has(e)||ST.test(e)}var AT=e=>e&&e.constructor&&!!e.constructor.name&&OT(e.constructor.name);function qT(e){return e.constructor.name==="NamedNodeMap"}var xT=(e,t,r,n,a,i)=>{let o=e.constructor.name;return++n>t.maxDepth?`[${o}]`:(t.min?"":o+PT)+(qp.has(o)?`{${wl(qT(e)?[...e].reduce((l,u)=>(l[u.name]=u.value,l),{}):{...e},t,r,n,a,i)}}`:`[${Gn([...e],t,r,n,a,i)}]`)},MT={serialize:xT,test:AT};function xp(e){return e.replaceAll("<","<").replaceAll(">",">")}function Cl(e,t,r,n,a,i,o){let l=n+r.indent,u=r.colors;return e.map(c=>{let s=t[c],d=o(s,r,l,a,i);return typeof s!="string"&&(d.includes(`
|
|
100
|
+
`)&&(d=r.spacingOuter+l+d+r.spacingOuter+n),d=`{${d}}`),`${r.spacingInner+n+u.prop.open+c+u.prop.close}=${u.value.open}${d}${u.value.close}`}).join("")}function Rl(e,t,r,n,a,i){return e.map(o=>t.spacingOuter+r+(typeof o=="string"?Mp(o,t):i(o,t,r,n,a))).join("")}function Mp(e,t){let r=t.colors.content;return r.open+xp(e)+r.close}function $T(e,t){let r=t.colors.comment;return`${r.open}<!--${xp(e)}-->${r.close}`}function Tl(e,t,r,n,a){let i=n.colors.tag;return`${i.open}<${e}${t&&i.close+t+n.spacingOuter+a+i.open}${r?`>${i.close}${r}${n.spacingOuter}${a}${i.open}</${e}`:`${t&&!n.min?"":" "}/`}>${i.close}`}function Pl(e,t){let r=t.colors.tag;return`${r.open}<${e}${r.close} …${r.open} />${r.close}`}var NT=1,$p=3,Np=8,jp=11,jT=/^(?:(?:HTML|SVG)\w*)?Element$/;function IT(e){try{return typeof e.hasAttribute=="function"&&e.hasAttribute("is")}catch{return!1}}function LT(e){let t=e.constructor.name,{nodeType:r,tagName:n}=e,a=typeof n=="string"&&n.includes("-")||IT(e);return r===NT&&(jT.test(t)||a)||r===$p&&t==="Text"||r===Np&&t==="Comment"||r===jp&&t==="DocumentFragment"}var BT=e=>{var t;return((t=e==null?void 0:e.constructor)==null?void 0:t.name)&<(e)};function kT(e){return e.nodeType===$p}function DT(e){return e.nodeType===Np}function Qa(e){return e.nodeType===jp}var FT=(e,t,r,n,a,i)=>{if(kT(e))return Mp(e.data,t);if(DT(e))return $T(e.data,t);let o=Qa(e)?"DocumentFragment":e.tagName.toLowerCase();return++n>t.maxDepth?Pl(o,t):Tl(o,Cl(Qa(e)?[]:Array.from(e.attributes,l=>l.name).sort(),Qa(e)?{}:[...e.attributes].reduce((l,u)=>(l[u.name]=u.value,l),{}),t,r+t.indent,n,a,i),Rl(Array.prototype.slice.call(e.childNodes||e.children),t,r+t.indent,n,a,i),t,r)},UT={serialize:FT,test:BT},HT="@@__IMMUTABLE_ITERABLE__@@",zT="@@__IMMUTABLE_LIST__@@",VT="@@__IMMUTABLE_KEYED__@@",GT="@@__IMMUTABLE_MAP__@@",vu="@@__IMMUTABLE_ORDERED__@@",WT="@@__IMMUTABLE_RECORD__@@",KT="@@__IMMUTABLE_SEQ__@@",YT="@@__IMMUTABLE_SET__@@",JT="@@__IMMUTABLE_STACK__@@",yr=e=>`Immutable.${e}`,Oa=e=>`[${e}]`,Jr=" ",_u="…";function XT(e,t,r,n,a,i,o){return++n>t.maxDepth?Oa(yr(o)):`${yr(o)+Jr}{${Sa(e.entries(),t,r,n,a,i)}}`}function QT(e){let t=0;return{next(){if(t<e._keys.length){let r=e._keys[t++];return{done:!1,value:[r,e.get(r)]}}return{done:!0,value:void 0}}}}function ZT(e,t,r,n,a,i){let o=yr(e._name||"Record");return++n>t.maxDepth?Oa(o):`${o+Jr}{${Sa(QT(e),t,r,n,a,i)}}`}function eP(e,t,r,n,a,i){let o=yr("Seq");return++n>t.maxDepth?Oa(o):e[VT]?`${o+Jr}{${e._iter||e._object?Sa(e.entries(),t,r,n,a,i):_u}}`:`${o+Jr}[${e._iter||e._array||e._collection||e._iterable?El(e.values(),t,r,n,a,i):_u}]`}function Za(e,t,r,n,a,i,o){return++n>t.maxDepth?Oa(yr(o)):`${yr(o)+Jr}[${El(e.values(),t,r,n,a,i)}]`}var tP=(e,t,r,n,a,i)=>e[GT]?XT(e,t,r,n,a,i,e[vu]?"OrderedMap":"Map"):e[zT]?Za(e,t,r,n,a,i,"List"):e[YT]?Za(e,t,r,n,a,i,e[vu]?"OrderedSet":"Set"):e[JT]?Za(e,t,r,n,a,i,"Stack"):e[KT]?eP(e,t,r,n,a,i):ZT(e,t,r,n,a,i),rP=e=>e&&(e[HT]===!0||e[WT]===!0),nP={serialize:tP,test:rP},Ip={exports:{}},ie={},Eu;function aP(){return Eu||(Eu=1,function(){var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),i=Symbol.for("react.provider"),o=Symbol.for("react.context"),l=Symbol.for("react.server_context"),u=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),s=Symbol.for("react.suspense_list"),d=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),f=Symbol.for("react.offscreen"),h=!1,m=!1,g=!1,b=!1,y=!1,R;R=Symbol.for("react.module.reference");function _($){return!!(typeof $=="string"||typeof $=="function"||$===r||$===a||y||$===n||$===c||$===s||b||$===f||h||m||g||typeof $=="object"&&$!==null&&($.$$typeof===p||$.$$typeof===d||$.$$typeof===i||$.$$typeof===o||$.$$typeof===u||$.$$typeof===R||$.getModuleId!==void 0))}function C($){if(typeof $=="object"&&$!==null){var se=$.$$typeof;switch(se){case e:var ue=$.type;switch(ue){case r:case a:case n:case c:case s:return ue;default:var we=ue&&ue.$$typeof;switch(we){case l:case o:case u:case p:case d:case i:return we;default:return se}}case t:return se}}}var w=o,v=i,E=e,O=u,M=r,N=p,k=d,j=t,I=a,B=n,z=c,K=s,W=!1,re=!1;function me($){return W||(W=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")),!1}function de($){return re||(re=!0,console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")),!1}function F($){return C($)===o}function L($){return C($)===i}function D($){return typeof $=="object"&&$!==null&&$.$$typeof===e}function G($){return C($)===u}function Y($){return C($)===r}function ne($){return C($)===p}function fe($){return C($)===d}function Be($){return C($)===t}function q($){return C($)===a}function V($){return C($)===n}function U($){return C($)===c}function Q($){return C($)===s}ie.ContextConsumer=w,ie.ContextProvider=v,ie.Element=E,ie.ForwardRef=O,ie.Fragment=M,ie.Lazy=N,ie.Memo=k,ie.Portal=j,ie.Profiler=I,ie.StrictMode=B,ie.Suspense=z,ie.SuspenseList=K,ie.isAsyncMode=me,ie.isConcurrentMode=de,ie.isContextConsumer=F,ie.isContextProvider=L,ie.isElement=D,ie.isForwardRef=G,ie.isFragment=Y,ie.isLazy=ne,ie.isMemo=fe,ie.isPortal=Be,ie.isProfiler=q,ie.isStrictMode=V,ie.isSuspense=U,ie.isSuspenseList=Q,ie.isValidElementType=_,ie.typeOf=C}()),ie}Ip.exports=aP();var Ft=Ip.exports;function Lp(e,t=[]){if(Array.isArray(e))for(let r of e)Lp(r,t);else e!=null&&e!==!1&&e!==""&&t.push(e);return t}function wu(e){let t=e.type;if(typeof t=="string")return t;if(typeof t=="function")return t.displayName||t.name||"Unknown";if(Ft.isFragment(e))return"React.Fragment";if(Ft.isSuspense(e))return"React.Suspense";if(typeof t=="object"&&t!==null){if(Ft.isContextProvider(e))return"Context.Provider";if(Ft.isContextConsumer(e))return"Context.Consumer";if(Ft.isForwardRef(e)){if(t.displayName)return t.displayName;let r=t.render.displayName||t.render.name||"";return r===""?"ForwardRef":`ForwardRef(${r})`}if(Ft.isMemo(e)){let r=t.displayName||t.type.displayName||t.type.name||"";return r===""?"Memo":`Memo(${r})`}}return"UNDEFINED"}function iP(e){let{props:t}=e;return Object.keys(t).filter(r=>r!=="children"&&t[r]!==void 0).sort()}var oP=(e,t,r,n,a,i)=>++n>t.maxDepth?Pl(wu(e),t):Tl(wu(e),Cl(iP(e),e.props,t,r+t.indent,n,a,i),Rl(Lp(e.props.children),t,r+t.indent,n,a,i),t,r),lP=e=>e!=null&&Ft.isElement(e),sP={serialize:oP,test:lP},uP=typeof Symbol=="function"&&Symbol.for?Symbol.for("react.test.json"):245830487;function cP(e){let{props:t}=e;return t?Object.keys(t).filter(r=>t[r]!==void 0).sort():[]}var dP=(e,t,r,n,a,i)=>++n>t.maxDepth?Pl(e.type,t):Tl(e.type,e.props?Cl(cP(e),e.props,t,r+t.indent,n,a,i):"",e.children?Rl(e.children,t,r+t.indent,n,a,i):"",t,r),fP=e=>e&&e.$$typeof===uP,pP={serialize:dP,test:fP},Bp=Object.prototype.toString,hP=Date.prototype.toISOString,mP=Error.prototype.toString,Cu=RegExp.prototype.toString;function ei(e){return typeof e.constructor=="function"&&e.constructor.name||"Object"}function bP(e){return typeof window<"u"&&e===window}var gP=/^Symbol\((.*)\)(.*)$/,yP=/\n/g,kp=class extends Error{constructor(e,t){super(e),this.stack=t,this.name=this.constructor.name}};function vP(e){return e==="[object Array]"||e==="[object ArrayBuffer]"||e==="[object DataView]"||e==="[object Float32Array]"||e==="[object Float64Array]"||e==="[object Int8Array]"||e==="[object Int16Array]"||e==="[object Int32Array]"||e==="[object Uint8Array]"||e==="[object Uint8ClampedArray]"||e==="[object Uint16Array]"||e==="[object Uint32Array]"}function _P(e){return Object.is(e,-0)?"-0":String(e)}function EP(e){return`${e}n`}function Ru(e,t){return t?`[Function ${e.name||"anonymous"}]`:"[Function]"}function Tu(e){return String(e).replace(gP,"Symbol($1)")}function Pu(e){return`[${mP.call(e)}]`}function Dp(e,t,r,n){if(e===!0||e===!1)return`${e}`;if(e===void 0)return"undefined";if(e===null)return"null";let a=typeof e;if(a==="number")return _P(e);if(a==="bigint")return EP(e);if(a==="string")return n?`"${e.replaceAll(/"|\\/g,"\\$&")}"`:`"${e}"`;if(a==="function")return Ru(e,t);if(a==="symbol")return Tu(e);let i=Bp.call(e);return i==="[object WeakMap]"?"WeakMap {}":i==="[object WeakSet]"?"WeakSet {}":i==="[object Function]"||i==="[object GeneratorFunction]"?Ru(e,t):i==="[object Symbol]"?Tu(e):i==="[object Date]"?Number.isNaN(+e)?"Date { NaN }":hP.call(e):i==="[object Error]"?Pu(e):i==="[object RegExp]"?r?Cu.call(e).replaceAll(/[$()*+.?[\\\]^{|}]/g,"\\$&"):Cu.call(e):e instanceof Error?Pu(e):null}function Fp(e,t,r,n,a,i){if(a.includes(e))return"[Circular]";a=[...a],a.push(e);let o=++n>t.maxDepth,l=t.min;if(t.callToJSON&&!o&&e.toJSON&&typeof e.toJSON=="function"&&!i)return At(e.toJSON(),t,r,n,a,!0);let u=Bp.call(e);return u==="[object Arguments]"?o?"[Arguments]":`${l?"":"Arguments "}[${Gn(e,t,r,n,a,At)}]`:vP(u)?o?`[${e.constructor.name}]`:`${l||!t.printBasicPrototype&&e.constructor.name==="Array"?"":`${e.constructor.name} `}[${Gn(e,t,r,n,a,At)}]`:u==="[object Map]"?o?"[Map]":`Map {${Sa(e.entries(),t,r,n,a,At," => ")}}`:u==="[object Set]"?o?"[Set]":`Set {${El(e.values(),t,r,n,a,At)}}`:o||bP(e)?`[${ei(e)}]`:`${l||!t.printBasicPrototype&&ei(e)==="Object"?"":`${ei(e)} `}{${wl(e,t,r,n,a,At)}}`}function wP(e){return e.serialize!=null}function Up(e,t,r,n,a,i){let o;try{o=wP(e)?e.serialize(t,r,n,a,i,At):e.print(t,l=>At(l,r,n,a,i),l=>{let u=n+r.indent;return u+l.replaceAll(yP,`
|
|
101
|
+
${u}`)},{edgeSpacing:r.spacingOuter,min:r.min,spacing:r.spacingInner},r.colors)}catch(l){throw new kp(l.message,l.stack)}if(typeof o!="string")throw new TypeError(`pretty-format: Plugin must return type "string" but instead returned "${typeof o}".`);return o}function Hp(e,t){for(let r of e)try{if(r.test(t))return r}catch(n){throw new kp(n.message,n.stack)}return null}function At(e,t,r,n,a,i){let o=Hp(t.plugins,e);if(o!==null)return Up(o,e,t,r,n,a);let l=Dp(e,t.printFunctionName,t.escapeRegex,t.escapeString);return l!==null?l:Fp(e,t,r,n,a,i)}var Sl={comment:"gray",content:"reset",prop:"yellow",tag:"cyan",value:"green"},zp=Object.keys(Sl),Ke={callToJSON:!0,compareKeys:void 0,escapeRegex:!1,escapeString:!0,highlight:!1,indent:2,maxDepth:Number.POSITIVE_INFINITY,maxWidth:Number.POSITIVE_INFINITY,min:!1,plugins:[],printBasicPrototype:!0,printFunctionName:!0,theme:Sl};function CP(e){for(let t of Object.keys(e))if(!Object.prototype.hasOwnProperty.call(Ke,t))throw new Error(`pretty-format: Unknown option "${t}".`);if(e.min&&e.indent!==void 0&&e.indent!==0)throw new Error('pretty-format: Options "min" and "indent" cannot be used together.')}function RP(){return zp.reduce((e,t)=>{let r=Sl[t],n=r&&ve[r];if(n&&typeof n.close=="string"&&typeof n.open=="string")e[t]=n;else throw new Error(`pretty-format: Option "theme" has a key "${t}" whose value "${r}" is undefined in ansi-styles.`);return e},Object.create(null))}function TP(){return zp.reduce((e,t)=>(e[t]={close:"",open:""},e),Object.create(null))}function Vp(e){return(e==null?void 0:e.printFunctionName)??Ke.printFunctionName}function Gp(e){return(e==null?void 0:e.escapeRegex)??Ke.escapeRegex}function Wp(e){return(e==null?void 0:e.escapeString)??Ke.escapeString}function Su(e){return{callToJSON:(e==null?void 0:e.callToJSON)??Ke.callToJSON,colors:e!=null&&e.highlight?RP():TP(),compareKeys:typeof(e==null?void 0:e.compareKeys)=="function"||(e==null?void 0:e.compareKeys)===null?e.compareKeys:Ke.compareKeys,escapeRegex:Gp(e),escapeString:Wp(e),indent:e!=null&&e.min?"":PP((e==null?void 0:e.indent)??Ke.indent),maxDepth:(e==null?void 0:e.maxDepth)??Ke.maxDepth,maxWidth:(e==null?void 0:e.maxWidth)??Ke.maxWidth,min:(e==null?void 0:e.min)??Ke.min,plugins:(e==null?void 0:e.plugins)??Ke.plugins,printBasicPrototype:(e==null?void 0:e.printBasicPrototype)??!0,printFunctionName:Vp(e),spacingInner:e!=null&&e.min?" ":`
|
|
102
|
+
`,spacingOuter:e!=null&&e.min?"":`
|
|
103
|
+
`}}function PP(e){return Array.from({length:e+1}).join(" ")}function at(e,t){if(t&&(CP(t),t.plugins)){let n=Hp(t.plugins,e);if(n!==null)return Up(n,e,Su(t),"",0,[])}let r=Dp(e,Vp(t),Gp(t),Wp(t));return r!==null?r:Fp(e,Su(t),"",0,[])}var Kp={AsymmetricMatcher:TT,DOMCollection:MT,DOMElement:UT,Immutable:nP,ReactElement:sP,ReactTestComponent:pP},{AsymmetricMatcher:SP,DOMCollection:OP,DOMElement:AP,Immutable:qP,ReactElement:xP,ReactTestComponent:MP}=Kp,Ou=[MP,xP,AP,OP,qP,SP];function Ge(e,t=10,{maxLength:r,...n}={}){let a=r??1e4,i;try{i=at(e,{maxDepth:t,escapeString:!1,plugins:Ou,...n})}catch{i=at(e,{callToJSON:!1,maxDepth:t,escapeString:!1,plugins:Ou,...n})}return i.length>=a&&t>1?Ge(e,Math.floor(t/2)):i}var $P=/%[sdjifoOc%]/g;function NP(...e){if(typeof e[0]!="string"){let i=[];for(let o=0;o<e.length;o++)i.push(Nr(e[o],{depth:0,colors:!1}));return i.join(" ")}let t=e.length,r=1,n=e[0],a=String(n).replace($P,i=>{if(i==="%%")return"%";if(r>=t)return i;switch(i){case"%s":{let o=e[r++];return typeof o=="bigint"?`${o.toString()}n`:typeof o=="number"&&o===0&&1/o<0?"-0":typeof o=="object"&&o!==null?Nr(o,{depth:0,colors:!1}):String(o)}case"%d":{let o=e[r++];return typeof o=="bigint"?`${o.toString()}n`:Number(o).toString()}case"%i":{let o=e[r++];return typeof o=="bigint"?`${o.toString()}n`:Number.parseInt(String(o)).toString()}case"%f":return Number.parseFloat(String(e[r++])).toString();case"%o":return Nr(e[r++],{showHidden:!0,showProxy:!0});case"%O":return Nr(e[r++]);case"%c":return r++,"";case"%j":try{return JSON.stringify(e[r++])}catch(o){let l=o.message;if(l.includes("circular structure")||l.includes("cyclic structures")||l.includes("cyclic object"))return"[Circular]";throw o}default:return i}});for(let i=e[r];r<t;i=e[++r])i===null||typeof i!="object"?a+=` ${i}`:a+=` ${Nr(i)}`;return a}function Nr(e,t={}){return t.truncate===0&&(t.truncate=Number.POSITIVE_INFINITY),Vi(e,t)}var Yp;Yp=/\r?\n|[\r\u2028\u2029]/y;RegExp(Yp.source);var Jp={keyword:["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],strict:["implements","interface","let","package","private","protected","public","static","yield"]};new Set(Jp.keyword);new Set(Jp.strict);function Au(e){if(e===void 0)return"undefined";if(e===null)return"null";if(Array.isArray(e))return"array";if(typeof e=="boolean")return"boolean";if(typeof e=="function")return"function";if(typeof e=="number")return"number";if(typeof e=="string")return"string";if(typeof e=="bigint")return"bigint";if(typeof e=="object"){if(e!=null){if(e.constructor===RegExp)return"regexp";if(e.constructor===Map)return"map";if(e.constructor===Set)return"set";if(e.constructor===Date)return"date"}return"object"}else if(typeof e=="symbol")return"symbol";throw new Error(`value of unknown type: ${e}`)}var qe=-1,Pe=1,Ee=0,ge=class{constructor(e,t){ye(this,0);ye(this,1);this[0]=e,this[1]=t}},jP=function(e,t){if(!e||!t||e.charAt(0)!==t.charAt(0))return 0;let r=0,n=Math.min(e.length,t.length),a=n,i=0;for(;r<a;)e.substring(i,a)===t.substring(i,a)?(r=a,i=r):n=a,a=Math.floor((n-r)/2+r);return a},Xp=function(e,t){if(!e||!t||e.charAt(e.length-1)!==t.charAt(t.length-1))return 0;let r=0,n=Math.min(e.length,t.length),a=n,i=0;for(;r<a;)e.substring(e.length-a,e.length-i)===t.substring(t.length-a,t.length-i)?(r=a,i=r):n=a,a=Math.floor((n-r)/2+r);return a},qu=function(e,t){let r=e.length,n=t.length;if(r===0||n===0)return 0;r>n?e=e.substring(r-n):r<n&&(t=t.substring(0,r));let a=Math.min(r,n);if(e===t)return a;let i=0,o=1;for(;;){let l=e.substring(a-o),u=t.indexOf(l);if(u===-1)return i;o+=u,(u===0||e.substring(a-o)===t.substring(0,o))&&(i=o,o++)}},IP=function(e){let t=!1,r=[],n=0,a=null,i=0,o=0,l=0,u=0,c=0;for(;i<e.length;)e[i][0]===Ee?(r[n++]=i,o=u,l=c,u=0,c=0,a=e[i][1]):(e[i][0]===Pe?u+=e[i][1].length:c+=e[i][1].length,a&&a.length<=Math.max(o,l)&&a.length<=Math.max(u,c)&&(e.splice(r[n-1],0,new ge(qe,a)),e[r[n-1]+1][0]=Pe,n--,n--,i=n>0?r[n-1]:-1,o=0,l=0,u=0,c=0,a=null,t=!0)),i++;for(t&&Qp(e),kP(e),i=1;i<e.length;){if(e[i-1][0]===qe&&e[i][0]===Pe){let s=e[i-1][1],d=e[i][1],p=qu(s,d),f=qu(d,s);p>=f?(p>=s.length/2||p>=d.length/2)&&(e.splice(i,0,new ge(Ee,d.substring(0,p))),e[i-1][1]=s.substring(0,s.length-p),e[i+1][1]=d.substring(p),i++):(f>=s.length/2||f>=d.length/2)&&(e.splice(i,0,new ge(Ee,s.substring(0,f))),e[i-1][0]=Pe,e[i-1][1]=d.substring(0,d.length-f),e[i+1][0]=qe,e[i+1][1]=s.substring(f),i++),i++}i++}},xu=/[^a-z0-9]/i,Mu=/\s/,$u=/[\r\n]/,LP=/\n\r?\n$/,BP=/^\r?\n\r?\n/;function kP(e){function t(n,a){if(!n||!a)return 6;let i=n.charAt(n.length-1),o=a.charAt(0),l=i.match(xu),u=o.match(xu),c=l&&i.match(Mu),s=u&&o.match(Mu),d=c&&i.match($u),p=s&&o.match($u),f=d&&n.match(LP),h=p&&a.match(BP);return f||h?5:d||p?4:l&&!c&&s?3:c||s?2:l||u?1:0}let r=1;for(;r<e.length-1;){if(e[r-1][0]===Ee&&e[r+1][0]===Ee){let n=e[r-1][1],a=e[r][1],i=e[r+1][1],o=Xp(n,a);if(o){let d=a.substring(a.length-o);n=n.substring(0,n.length-o),a=d+a.substring(0,a.length-o),i=d+i}let l=n,u=a,c=i,s=t(n,a)+t(a,i);for(;a.charAt(0)===i.charAt(0);){n+=a.charAt(0),a=a.substring(1)+i.charAt(0),i=i.substring(1);let d=t(n,a)+t(a,i);d>=s&&(s=d,l=n,u=a,c=i)}e[r-1][1]!==l&&(l?e[r-1][1]=l:(e.splice(r-1,1),r--),e[r][1]=u,c?e[r+1][1]=c:(e.splice(r+1,1),r--))}r++}}function Qp(e){e.push(new ge(Ee,""));let t=0,r=0,n=0,a="",i="",o;for(;t<e.length;)switch(e[t][0]){case Pe:n++,i+=e[t][1],t++;break;case qe:r++,a+=e[t][1],t++;break;case Ee:r+n>1?(r!==0&&n!==0&&(o=jP(i,a),o!==0&&(t-r-n>0&&e[t-r-n-1][0]===Ee?e[t-r-n-1][1]+=i.substring(0,o):(e.splice(0,0,new ge(Ee,i.substring(0,o))),t++),i=i.substring(o),a=a.substring(o)),o=Xp(i,a),o!==0&&(e[t][1]=i.substring(i.length-o)+e[t][1],i=i.substring(0,i.length-o),a=a.substring(0,a.length-o))),t-=r+n,e.splice(t,r+n),a.length&&(e.splice(t,0,new ge(qe,a)),t++),i.length&&(e.splice(t,0,new ge(Pe,i)),t++),t++):t!==0&&e[t-1][0]===Ee?(e[t-1][1]+=e[t][1],e.splice(t,1)):t++,n=0,r=0,a="",i="";break}e[e.length-1][1]===""&&e.pop();let l=!1;for(t=1;t<e.length-1;)e[t-1][0]===Ee&&e[t+1][0]===Ee&&(e[t][1].substring(e[t][1].length-e[t-1][1].length)===e[t-1][1]?(e[t][1]=e[t-1][1]+e[t][1].substring(0,e[t][1].length-e[t-1][1].length),e[t+1][1]=e[t-1][1]+e[t+1][1],e.splice(t-1,1),l=!0):e[t][1].substring(0,e[t+1][1].length)===e[t+1][1]&&(e[t-1][1]+=e[t+1][1],e[t][1]=e[t][1].substring(e[t+1][1].length)+e[t+1][1],e.splice(t+1,1),l=!0)),t++;l&&Qp(e)}var Zp="Compared values have no visual difference.",DP="Compared values serialize to the same structure.\nPrinting internal object structure without calling `toJSON` instead.",eh={};Object.defineProperty(eh,"__esModule",{value:!0});var th=eh.default=zP,Fr="diff-sequences",Se=0,Xr=(e,t,r,n,a)=>{let i=0;for(;e<t&&r<n&&a(e,r);)e+=1,r+=1,i+=1;return i},Qr=(e,t,r,n,a)=>{let i=0;for(;e<=t&&r<=n&&a(t,n);)t-=1,n-=1,i+=1;return i},ti=(e,t,r,n,a,i,o)=>{let l=0,u=-e,c=i[l],s=c;i[l]+=Xr(c+1,t,n+c-u+1,r,a);let d=e<o?e:o;for(l+=1,u+=2;l<=d;l+=1,u+=2){if(l!==e&&s<i[l])c=i[l];else if(c=s+1,t<=c)return l-1;s=i[l],i[l]=c+Xr(c+1,t,n+c-u+1,r,a)}return o},Nu=(e,t,r,n,a,i,o)=>{let l=0,u=e,c=i[l],s=c;i[l]-=Qr(t,c-1,r,n+c-u-1,a);let d=e<o?e:o;for(l+=1,u-=2;l<=d;l+=1,u-=2){if(l!==e&&i[l]<s)c=i[l];else if(c=s-1,c<t)return l-1;s=i[l],i[l]=c-Qr(t,c-1,r,n+c-u-1,a)}return o},FP=(e,t,r,n,a,i,o,l,u,c,s)=>{let d=n-t,p=r-t,f=a-n-p,h=-f-(e-1),m=-f+(e-1),g=Se,b=e<l?e:l;for(let y=0,R=-e;y<=b;y+=1,R+=2){let _=y===0||y!==e&&g<o[y],C=_?o[y]:g,w=_?C:C+1,v=d+w-R,E=Xr(w+1,r,v+1,a,i),O=w+E;if(g=o[y],o[y]=O,h<=R&&R<=m){let M=(e-1-(R+f))/2;if(M<=c&&u[M]-1<=O){let N=d+C-(_?R+1:R-1),k=Qr(t,C,n,N,i),j=C-k,I=N-k,B=j+1,z=I+1;s.nChangePreceding=e-1,e-1===B+z-t-n?(s.aEndPreceding=t,s.bEndPreceding=n):(s.aEndPreceding=B,s.bEndPreceding=z),s.nCommonPreceding=k,k!==0&&(s.aCommonPreceding=B,s.bCommonPreceding=z),s.nCommonFollowing=E,E!==0&&(s.aCommonFollowing=w+1,s.bCommonFollowing=v+1);let K=O+1,W=v+E+1;return s.nChangeFollowing=e-1,e-1===r+a-K-W?(s.aStartFollowing=r,s.bStartFollowing=a):(s.aStartFollowing=K,s.bStartFollowing=W),!0}}}return!1},UP=(e,t,r,n,a,i,o,l,u,c,s)=>{let d=a-r,p=r-t,f=a-n-p,h=f-e,m=f+e,g=Se,b=e<c?e:c;for(let y=0,R=e;y<=b;y+=1,R-=2){let _=y===0||y!==e&&u[y]<g,C=_?u[y]:g,w=_?C:C-1,v=d+w-R,E=Qr(t,w-1,n,v-1,i),O=w-E;if(g=u[y],u[y]=O,h<=R&&R<=m){let M=(e+(R-f))/2;if(M<=l&&O-1<=o[M]){let N=v-E;if(s.nChangePreceding=e,e===O+N-t-n?(s.aEndPreceding=t,s.bEndPreceding=n):(s.aEndPreceding=O,s.bEndPreceding=N),s.nCommonPreceding=E,E!==0&&(s.aCommonPreceding=O,s.bCommonPreceding=N),s.nChangeFollowing=e-1,e===1)s.nCommonFollowing=0,s.aStartFollowing=r,s.bStartFollowing=a;else{let k=d+C-(_?R-1:R+1),j=Xr(C,r,k,a,i);s.nCommonFollowing=j,j!==0&&(s.aCommonFollowing=C,s.bCommonFollowing=k);let I=C+j,B=k+j;e-1===r+a-I-B?(s.aStartFollowing=r,s.bStartFollowing=a):(s.aStartFollowing=I,s.bStartFollowing=B)}return!0}}}return!1},HP=(e,t,r,n,a,i,o,l,u)=>{let c=n-t,s=a-r,d=r-t,p=a-n,f=p-d,h=d,m=d;if(o[0]=t-1,l[0]=r,f%2===0){let g=(e||f)/2,b=(d+p)/2;for(let y=1;y<=b;y+=1)if(h=ti(y,r,a,c,i,o,h),y<g)m=Nu(y,t,n,s,i,l,m);else if(UP(y,t,r,n,a,i,o,h,l,m,u))return}else{let g=((e||f)+1)/2,b=(d+p+1)/2,y=1;for(h=ti(y,r,a,c,i,o,h),y+=1;y<=b;y+=1)if(m=Nu(y-1,t,n,s,i,l,m),y<g)h=ti(y,r,a,c,i,o,h);else if(FP(y,t,r,n,a,i,o,h,l,m,u))return}throw new Error(`${Fr}: no overlap aStart=${t} aEnd=${r} bStart=${n} bEnd=${a}`)},Gi=(e,t,r,n,a,i,o,l,u,c)=>{if(a-n<r-t){if(i=!i,i&&o.length===1){let{foundSubsequence:M,isCommon:N}=o[0];o[1]={foundSubsequence:(k,j,I)=>{M(k,I,j)},isCommon:(k,j)=>N(j,k)}}let E=t,O=r;t=n,r=a,n=E,a=O}let{foundSubsequence:s,isCommon:d}=o[i?1:0];HP(e,t,r,n,a,d,l,u,c);let{nChangePreceding:p,aEndPreceding:f,bEndPreceding:h,nCommonPreceding:m,aCommonPreceding:g,bCommonPreceding:b,nCommonFollowing:y,aCommonFollowing:R,bCommonFollowing:_,nChangeFollowing:C,aStartFollowing:w,bStartFollowing:v}=c;t<f&&n<h&&Gi(p,t,f,n,h,i,o,l,u,c),m!==0&&s(m,g,b),y!==0&&s(y,R,_),w<r&&v<a&&Gi(C,w,r,v,a,i,o,l,u,c)},ju=(e,t)=>{if(typeof t!="number")throw new TypeError(`${Fr}: ${e} typeof ${typeof t} is not a number`);if(!Number.isSafeInteger(t))throw new RangeError(`${Fr}: ${e} value ${t} is not a safe integer`);if(t<0)throw new RangeError(`${Fr}: ${e} value ${t} is a negative integer`)},Iu=(e,t)=>{let r=typeof t;if(r!=="function")throw new TypeError(`${Fr}: ${e} typeof ${r} is not a function`)};function zP(e,t,r,n){ju("aLength",e),ju("bLength",t),Iu("isCommon",r),Iu("foundSubsequence",n);let a=Xr(0,e,0,t,r);if(a!==0&&n(a,0,0),e!==a||t!==a){let i=a,o=a,l=Qr(i,e-1,o,t-1,r),u=e-l,c=t-l,s=a+l;e!==s&&t!==s&&Gi(0,i,u,o,c,!1,[{foundSubsequence:n,isCommon:r}],[Se],[Se],{aCommonFollowing:Se,aCommonPreceding:Se,aEndPreceding:Se,aStartFollowing:Se,bCommonFollowing:Se,bCommonPreceding:Se,bEndPreceding:Se,bStartFollowing:Se,nChangeFollowing:Se,nChangePreceding:Se,nCommonFollowing:Se,nCommonPreceding:Se}),l!==0&&n(l,u,c)}}function VP(e,t){return e.replace(/\s+$/,r=>t(r))}function Ol(e,t,r,n,a,i){return e.length!==0?r(`${n} ${VP(e,a)}`):n!==" "?r(n):t&&i.length!==0?r(`${n} ${i}`):""}function rh(e,t,{aColor:r,aIndicator:n,changeLineTrailingSpaceColor:a,emptyFirstOrLastLinePlaceholder:i}){return Ol(e,t,r,n,a,i)}function nh(e,t,{bColor:r,bIndicator:n,changeLineTrailingSpaceColor:a,emptyFirstOrLastLinePlaceholder:i}){return Ol(e,t,r,n,a,i)}function ah(e,t,{commonColor:r,commonIndicator:n,commonLineTrailingSpaceColor:a,emptyFirstOrLastLinePlaceholder:i}){return Ol(e,t,r,n,a,i)}function Lu(e,t,r,n,{patchColor:a}){return a(`@@ -${e+1},${t-e} +${r+1},${n-r} @@`)}function GP(e,t){let r=e.length,n=t.contextLines,a=n+n,i=r,o=!1,l=0,u=0;for(;u!==r;){let _=u;for(;u!==r&&e[u][0]===Ee;)u+=1;if(_!==u)if(_===0)u>n&&(i-=u-n,o=!0);else if(u===r){let C=u-_;C>n&&(i-=C-n,o=!0)}else{let C=u-_;C>a&&(i-=C-a,l+=1)}for(;u!==r&&e[u][0]!==Ee;)u+=1}let c=l!==0||o;l!==0?i+=l+1:o&&(i+=1);let s=i-1,d=[],p=0;c&&d.push("");let f=0,h=0,m=0,g=0,b=_=>{let C=d.length;d.push(ah(_,C===0||C===s,t)),m+=1,g+=1},y=_=>{let C=d.length;d.push(rh(_,C===0||C===s,t)),m+=1},R=_=>{let C=d.length;d.push(nh(_,C===0||C===s,t)),g+=1};for(u=0;u!==r;){let _=u;for(;u!==r&&e[u][0]===Ee;)u+=1;if(_!==u)if(_===0){u>n&&(_=u-n,f=_,h=_,m=f,g=h);for(let C=_;C!==u;C+=1)b(e[C][1])}else if(u===r){let C=u-_>n?_+n:u;for(let w=_;w!==C;w+=1)b(e[w][1])}else{let C=u-_;if(C>a){let w=_+n;for(let E=_;E!==w;E+=1)b(e[E][1]);d[p]=Lu(f,m,h,g,t),p=d.length,d.push("");let v=C-a;f=m+v,h=g+v,m=f,g=h;for(let E=u-n;E!==u;E+=1)b(e[E][1])}else for(let w=_;w!==u;w+=1)b(e[w][1])}for(;u!==r&&e[u][0]===qe;)y(e[u][1]),u+=1;for(;u!==r&&e[u][0]===Pe;)R(e[u][1]),u+=1}return c&&(d[p]=Lu(f,m,h,g,t)),d.join(`
|
|
104
|
+
`)}function WP(e,t){return e.map((r,n,a)=>{let i=r[1],o=n===0||n===a.length-1;switch(r[0]){case qe:return rh(i,o,t);case Pe:return nh(i,o,t);default:return ah(i,o,t)}}).join(`
|
|
105
|
+
`)}var ri=e=>e,ih=5,KP=0;function YP(){return{aAnnotation:"Expected",aColor:ve.green,aIndicator:"-",bAnnotation:"Received",bColor:ve.red,bIndicator:"+",changeColor:ve.inverse,changeLineTrailingSpaceColor:ri,commonColor:ve.dim,commonIndicator:" ",commonLineTrailingSpaceColor:ri,compareKeys:void 0,contextLines:ih,emptyFirstOrLastLinePlaceholder:"",expand:!0,includeChangeCounts:!1,omitAnnotationLines:!1,patchColor:ve.yellow,truncateThreshold:KP,truncateAnnotation:"... Diff result is truncated",truncateAnnotationColor:ri}}function JP(e){return e&&typeof e=="function"?e:void 0}function XP(e){return typeof e=="number"&&Number.isSafeInteger(e)&&e>=0?e:ih}function Jt(e={}){return{...YP(),...e,compareKeys:JP(e.compareKeys),contextLines:XP(e.contextLines)}}function or(e){return e.length===1&&e[0].length===0}function QP(e){let t=0,r=0;return e.forEach(n=>{switch(n[0]){case qe:t+=1;break;case Pe:r+=1;break}}),{a:t,b:r}}function ZP({aAnnotation:e,aColor:t,aIndicator:r,bAnnotation:n,bColor:a,bIndicator:i,includeChangeCounts:o,omitAnnotationLines:l},u){if(l)return"";let c="",s="";if(o){let f=String(u.a),h=String(u.b),m=n.length-e.length,g=" ".repeat(Math.max(0,m)),b=" ".repeat(Math.max(0,-m)),y=h.length-f.length,R=" ".repeat(Math.max(0,y)),_=" ".repeat(Math.max(0,-y));c=`${g} ${r} ${R}${f}`,s=`${b} ${i} ${_}${h}`}let d=`${r} ${e}${c}`,p=`${i} ${n}${s}`;return`${t(d)}
|
|
106
|
+
${a(p)}
|
|
107
|
+
|
|
108
|
+
`}function Al(e,t,r){return ZP(r,QP(e))+(r.expand?WP(e,r):GP(e,r))+(t?r.truncateAnnotationColor(`
|
|
109
|
+
${r.truncateAnnotation}`):"")}function Aa(e,t,r){let n=Jt(r),[a,i]=oh(or(e)?[]:e,or(t)?[]:t,n);return Al(a,i,n)}function eS(e,t,r,n,a){if(or(e)&&or(r)&&(e=[],r=[]),or(t)&&or(n)&&(t=[],n=[]),e.length!==r.length||t.length!==n.length)return Aa(e,t,a);let[i,o]=oh(r,n,a),l=0,u=0;return i.forEach(c=>{switch(c[0]){case qe:c[1]=e[l],l+=1;break;case Pe:c[1]=t[u],u+=1;break;default:c[1]=t[u],l+=1,u+=1}}),Al(i,o,Jt(a))}function oh(e,t,r){let n=(r==null?void 0:r.truncateThreshold)??!1,a=Math.max(Math.floor((r==null?void 0:r.truncateThreshold)??0),0),i=n?Math.min(e.length,a):e.length,o=n?Math.min(t.length,a):t.length,l=i!==e.length||o!==t.length,u=(p,f)=>e[p]===t[f],c=[],s=0,d=0;for(th(i,o,u,(p,f,h)=>{for(;s!==f;s+=1)c.push(new ge(qe,e[s]));for(;d!==h;d+=1)c.push(new ge(Pe,t[d]));for(;p!==0;p-=1,s+=1,d+=1)c.push(new ge(Ee,t[d]))});s!==i;s+=1)c.push(new ge(qe,e[s]));for(;d!==o;d+=1)c.push(new ge(Pe,t[d]));return[c,l]}function Bu(e){return e.includes(`\r
|
|
110
|
+
`)?`\r
|
|
111
|
+
`:`
|
|
112
|
+
`}function tS(e,t,r){let n=(r==null?void 0:r.truncateThreshold)??!1,a=Math.max(Math.floor((r==null?void 0:r.truncateThreshold)??0),0),i=e.length,o=t.length;if(n){let p=e.includes(`
|
|
113
|
+
`),f=t.includes(`
|
|
114
|
+
`),h=Bu(e),m=Bu(t),g=p?`${e.split(h,a).join(h)}
|
|
115
|
+
`:e,b=f?`${t.split(m,a).join(m)}
|
|
116
|
+
`:t;i=g.length,o=b.length}let l=i!==e.length||o!==t.length,u=(p,f)=>e[p]===t[f],c=0,s=0,d=[];return th(i,o,u,(p,f,h)=>{c!==f&&d.push(new ge(qe,e.slice(c,f))),s!==h&&d.push(new ge(Pe,t.slice(s,h))),c=f+p,s=h+p,d.push(new ge(Ee,t.slice(h,s)))}),c!==i&&d.push(new ge(qe,e.slice(c))),s!==o&&d.push(new ge(Pe,t.slice(s))),[d,l]}function rS(e,t,r){return t.reduce((n,a)=>n+(a[0]===Ee?a[1]:a[0]===e&&a[1].length!==0?r(a[1]):""),"")}var ku=class{constructor(e,t){ye(this,"op");ye(this,"line");ye(this,"lines");ye(this,"changeColor");this.op=e,this.line=[],this.lines=[],this.changeColor=t}pushSubstring(e){this.pushDiff(new ge(this.op,e))}pushLine(){this.lines.push(this.line.length!==1?new ge(this.op,rS(this.op,this.line,this.changeColor)):this.line[0][0]===this.op?this.line[0]:new ge(this.op,this.line[0][1])),this.line.length=0}isLineEmpty(){return this.line.length===0}pushDiff(e){this.line.push(e)}align(e){let t=e[1];if(t.includes(`
|
|
117
|
+
`)){let r=t.split(`
|
|
118
|
+
`),n=r.length-1;r.forEach((a,i)=>{i<n?(this.pushSubstring(a),this.pushLine()):a.length!==0&&this.pushSubstring(a)})}else this.pushDiff(e)}moveLinesTo(e){this.isLineEmpty()||this.pushLine(),e.push(...this.lines),this.lines.length=0}},nS=class{constructor(e,t){ye(this,"deleteBuffer");ye(this,"insertBuffer");ye(this,"lines");this.deleteBuffer=e,this.insertBuffer=t,this.lines=[]}pushDiffCommonLine(e){this.lines.push(e)}pushDiffChangeLines(e){let t=e[1].length===0;(!t||this.deleteBuffer.isLineEmpty())&&this.deleteBuffer.pushDiff(e),(!t||this.insertBuffer.isLineEmpty())&&this.insertBuffer.pushDiff(e)}flushChangeLines(){this.deleteBuffer.moveLinesTo(this.lines),this.insertBuffer.moveLinesTo(this.lines)}align(e){let t=e[0],r=e[1];if(r.includes(`
|
|
119
|
+
`)){let n=r.split(`
|
|
120
|
+
`),a=n.length-1;n.forEach((i,o)=>{if(o===0){let l=new ge(t,i);this.deleteBuffer.isLineEmpty()&&this.insertBuffer.isLineEmpty()?(this.flushChangeLines(),this.pushDiffCommonLine(l)):(this.pushDiffChangeLines(l),this.flushChangeLines())}else o<a?this.pushDiffCommonLine(new ge(t,i)):i.length!==0&&this.pushDiffChangeLines(new ge(t,i))})}else this.pushDiffChangeLines(e)}getLines(){return this.flushChangeLines(),this.lines}};function aS(e,t){let r=new ku(qe,t),n=new ku(Pe,t),a=new nS(r,n);return e.forEach(i=>{switch(i[0]){case qe:r.align(i);break;case Pe:n.align(i);break;default:a.align(i)}}),a.getLines()}function iS(e,t){if(t){let r=e.length-1;return e.some((n,a)=>n[0]===Ee&&(a!==r||n[1]!==`
|
|
121
|
+
`))}return e.some(r=>r[0]===Ee)}function oS(e,t,r){if(e!==t&&e.length!==0&&t.length!==0){let n=e.includes(`
|
|
122
|
+
`)||t.includes(`
|
|
123
|
+
`),[a,i]=lh(n?`${e}
|
|
124
|
+
`:e,n?`${t}
|
|
125
|
+
`:t,!0,r);if(iS(a,n)){let o=Jt(r),l=aS(a,o.changeColor);return Al(l,i,o)}}return Aa(e.split(`
|
|
126
|
+
`),t.split(`
|
|
127
|
+
`),r)}function lh(e,t,r,n){let[a,i]=tS(e,t,n);return IP(a),[a,i]}function Wi(e,t){let{commonColor:r}=Jt(t);return r(e)}var{AsymmetricMatcher:lS,DOMCollection:sS,DOMElement:uS,Immutable:cS,ReactElement:dS,ReactTestComponent:fS}=Kp,sh=[fS,dS,uS,sS,cS,lS],Ki={plugins:sh},uh={callToJSON:!1,maxDepth:10,plugins:sh};function vr(e,t,r){if(Object.is(e,t))return"";let n=Au(e),a=n,i=!1;if(n==="object"&&typeof e.asymmetricMatch=="function"){if(e.$$typeof!==Symbol.for("jest.asymmetricMatcher")||typeof e.getExpectedType!="function")return;a=e.getExpectedType(),i=a==="string"}if(a!==Au(t)){let{aAnnotation:o,aColor:l,aIndicator:u,bAnnotation:c,bColor:s,bIndicator:d}=Jt(r),p=Yi(uh,r),f=at(e,p),h=at(t,p),m=`${l(`${u} ${o}:`)}
|
|
128
|
+
${f}`,g=`${s(`${d} ${c}:`)}
|
|
129
|
+
${h}`;return`${m}
|
|
130
|
+
|
|
131
|
+
${g}`}if(!i)switch(n){case"string":return Aa(e.split(`
|
|
132
|
+
`),t.split(`
|
|
133
|
+
`),r);case"boolean":case"number":return pS(e,t,r);case"map":return ni(Du(e),Du(t),r);case"set":return ni(Fu(e),Fu(t),r);default:return ni(e,t,r)}}function pS(e,t,r){let n=at(e,Ki),a=at(t,Ki);return n===a?"":Aa(n.split(`
|
|
134
|
+
`),a.split(`
|
|
135
|
+
`),r)}function Du(e){return new Map(Array.from(e.entries()).sort())}function Fu(e){return new Set(Array.from(e.values()).sort())}function ni(e,t,r){let n,a=!1;try{let o=Yi(Ki,r);n=Uu(e,t,o,r)}catch{a=!0}let i=Wi(Zp,r);if(n===void 0||n===i){let o=Yi(uh,r);n=Uu(e,t,o,r),n!==i&&!a&&(n=`${Wi(DP,r)}
|
|
136
|
+
|
|
137
|
+
${n}`)}return n}function Yi(e,t){let{compareKeys:r}=Jt(t);return{...e,compareKeys:r}}function Uu(e,t,r,n){let a={...r,indent:0},i=at(e,a),o=at(t,a);if(i===o)return Wi(Zp,n);{let l=at(e,r),u=at(t,r);return eS(l.split(`
|
|
138
|
+
`),u.split(`
|
|
139
|
+
`),i.split(`
|
|
140
|
+
`),o.split(`
|
|
141
|
+
`),n)}}var Hu=2e4;function zu(e){return Ui(e)==="Object"&&typeof e.asymmetricMatch=="function"}function Vu(e,t){let r=Ui(e),n=Ui(t);return r===n&&(r==="Object"||r==="Array")}function ch(e,t,r){let{aAnnotation:n,bAnnotation:a}=Jt(r);if(typeof e=="string"&&typeof t=="string"&&e.length>0&&t.length>0&&e.length<=Hu&&t.length<=Hu&&e!==t){if(e.includes(`
|
|
142
|
+
`)||t.includes(`
|
|
143
|
+
`))return oS(t,e,r);let[c]=lh(t,e),s=c.some(h=>h[0]===Ee),d=hS(n,a),p=d(n)+gS(Gu(c,qe,s)),f=d(a)+bS(Gu(c,Pe,s));return`${p}
|
|
144
|
+
${f}`}let i=su(e,{forceWritable:!0}),o=su(t,{forceWritable:!0}),{replacedExpected:l,replacedActual:u}=dh(i,o);return vr(l,u,r)}function dh(e,t,r=new WeakSet,n=new WeakSet){return Vu(e,t)?r.has(e)||n.has(t)?{replacedActual:e,replacedExpected:t}:(r.add(e),n.add(t),Pp(t).forEach(a=>{let i=t[a],o=e[a];if(zu(i))i.asymmetricMatch(o)&&(e[a]=i);else if(zu(o))o.asymmetricMatch(i)&&(t[a]=o);else if(Vu(o,i)){let l=dh(o,i,r,n);e[a]=l.replacedActual,t[a]=l.replacedExpected}}),{replacedActual:e,replacedExpected:t}):{replacedActual:e,replacedExpected:t}}function hS(...e){let t=e.reduce((r,n)=>n.length>r?n.length:r,0);return r=>`${r}: ${" ".repeat(t-r.length)}`}var mS="·";function fh(e){return e.replace(/\s+$/gm,t=>mS.repeat(t.length))}function bS(e){return ve.red(fh(Ge(e)))}function gS(e){return ve.green(fh(Ge(e)))}function Gu(e,t,r){return e.reduce((n,a)=>n+(a[0]===Ee?a[1]:a[0]===t?r?ve.inverse(a[1]):a[1]:""),"")}function $n(e,t){if(!e)throw new Error(t)}function lr(e,t){return typeof t===e}function yS(e){return e instanceof Promise}function Ji(e,t,r){Object.defineProperty(e,t,r)}function cr(e,t,r){Object.defineProperty(e,t,{value:r})}var Ur=Symbol.for("tinyspy:spy"),vS=new Set,_S=e=>{e.called=!1,e.callCount=0,e.calls=[],e.results=[],e.resolves=[],e.next=[]},ES=e=>(Ji(e,Ur,{value:{reset:()=>_S(e[Ur])}}),e[Ur]),Wn=e=>e[Ur]||ES(e);function wS(e){$n(lr("function",e)||lr("undefined",e),"cannot spy on a non-function value");let t=function(...n){let a=Wn(t);a.called=!0,a.callCount++,a.calls.push(n);let i=a.next.shift();if(i){a.results.push(i);let[s,d]=i;if(s==="ok")return d;throw d}let o,l="ok",u=a.results.length;if(a.impl)try{new.target?o=Reflect.construct(a.impl,n,new.target):o=a.impl.apply(this,n),l="ok"}catch(s){throw o=s,l="error",a.results.push([l,s]),s}let c=[l,o];return yS(o)&&o.then(s=>a.resolves[u]=["ok",s],s=>a.resolves[u]=["error",s]),a.results.push(c),o};cr(t,"_isMockFunction",!0),cr(t,"length",e?e.length:0),cr(t,"name",e&&e.name||"spy");let r=Wn(t);return r.reset(),r.impl=e,t}var Wu=(e,t)=>Object.getOwnPropertyDescriptor(e,t),Ku=(e,t)=>{t!=null&&typeof t=="function"&&t.prototype!=null&&Object.setPrototypeOf(e.prototype,t.prototype)};function CS(e,t,r){$n(!lr("undefined",e),"spyOn could not find an object to spy upon"),$n(lr("object",e)||lr("function",e),"cannot spyOn on a primitive value");let[n,a]=(()=>{if(!lr("object",t))return[t,"value"];if("getter"in t&&"setter"in t)throw new Error("cannot spy on both getter and setter");if("getter"in t)return[t.getter,"get"];if("setter"in t)return[t.setter,"set"];throw new Error("specify getter or setter to spy on")})(),i=Wu(e,n),o=Object.getPrototypeOf(e),l=o&&Wu(o,n),u=i||l;$n(u||n in e,`${String(n)} does not exist`);let c=!1;a==="value"&&u&&!u.value&&u.get&&(a="get",c=!0,r=u.get());let s;u?s=u[a]:a!=="value"?s=()=>e[n]:s=e[n],r||(r=s);let d=wS(r);a==="value"&&Ku(d,s);let p=m=>{let{value:g,...b}=u||{configurable:!0,writable:!0};a!=="value"&&delete b.writable,b[a]=m,Ji(e,n,b)},f=()=>u?Ji(e,n,u):p(s),h=d[Ur];return cr(h,"restore",f),cr(h,"getOriginal",()=>c?s():s),cr(h,"willCall",m=>(h.impl=m,d)),p(c?()=>(Ku(d,r),d):d),vS.add(d),d}var qa=new Set;function ph(e){return typeof e=="function"&&"_isMockFunction"in e&&e._isMockFunction}var RS=0;function TS(e){let t=e,r,n=[],a=[],i=[],o=Wn(e),l={get calls(){return o.calls},get contexts(){return a},get instances(){return n},get invocationCallOrder(){return i},get results(){return o.results.map(([f,h])=>({type:f==="error"?"throw":"return",value:h}))},get settledResults(){return o.resolves.map(([f,h])=>({type:f==="error"?"rejected":"fulfilled",value:h}))},get lastCall(){return o.calls[o.calls.length-1]}},u=[],c=!1;function s(...f){return n.push(this),a.push(this),i.push(++RS),(c?r:u.shift()||r||o.getOriginal()||(()=>{})).apply(this,f)}let d=t.name;t.getMockName=()=>d||"vi.fn()",t.mockName=f=>(d=f,t),t.mockClear=()=>(o.reset(),n=[],a=[],i=[],t),t.mockReset=()=>(t.mockClear(),r=()=>{},u=[],t),t.mockRestore=()=>(t.mockReset(),o.restore(),r=void 0,t),t.getMockImplementation=()=>r,t.mockImplementation=f=>(r=f,o.willCall(s),t),t.mockImplementationOnce=f=>(u.push(f),t);function p(f,h){let m=r;r=f,o.willCall(s),c=!0;let g=()=>{r=m,c=!1},b=h();return b instanceof Promise?b.then(()=>(g(),t)):(g(),t)}return t.withImplementation=p,t.mockReturnThis=()=>t.mockImplementation(function(){return this}),t.mockReturnValue=f=>t.mockImplementation(()=>f),t.mockReturnValueOnce=f=>t.mockImplementationOnce(()=>f),t.mockResolvedValue=f=>t.mockImplementation(()=>Promise.resolve(f)),t.mockResolvedValueOnce=f=>t.mockImplementationOnce(()=>Promise.resolve(f)),t.mockRejectedValue=f=>t.mockImplementation(()=>Promise.reject(f)),t.mockRejectedValueOnce=f=>t.mockImplementationOnce(()=>Promise.reject(f)),Object.defineProperty(t,"mock",{get:()=>l}),o.willCall(s),qa.add(t),t}function Yu(e){let t=TS(CS({spy:e||function(){}},"spy"));return e&&t.mockImplementation(e),t}var PS="@@__IMMUTABLE_RECORD__@@",SS="@@__IMMUTABLE_ITERABLE__@@";function OS(e){return e&&(e[SS]||e[PS])}var AS=Object.getPrototypeOf({});function Ju(e){return e instanceof Error?`<unserializable>: ${e.message}`:typeof e=="string"?`<unserializable>: ${e}`:"<unserializable>"}function sr(e,t=new WeakMap){if(!e||typeof e=="string")return e;if(typeof e=="function")return`Function<${e.name||"anonymous"}>`;if(typeof e=="symbol")return e.toString();if(typeof e!="object")return e;if(OS(e))return sr(e.toJSON(),t);if(e instanceof Promise||e.constructor&&e.constructor.prototype==="AsyncFunction")return"Promise";if(typeof Element<"u"&&e instanceof Element)return e.tagName;if(typeof e.asymmetricMatch=="function")return`${e.toString()} ${NP(e.sample)}`;if(typeof e.toJSON=="function")return sr(e.toJSON(),t);if(t.has(e))return t.get(e);if(Array.isArray(e)){let r=new Array(e.length);return t.set(e,r),e.forEach((n,a)=>{try{r[a]=sr(n,t)}catch(i){r[a]=Ju(i)}}),r}else{let r=Object.create(null);t.set(e,r);let n=e;for(;n&&n!==AS;)Object.getOwnPropertyNames(n).forEach(a=>{if(!(a in r))try{r[a]=sr(e[a],t)}catch(i){delete r[a],r[a]=Ju(i)}}),n=Object.getPrototypeOf(n);return r}}function qS(e){return e.replace(/__(vite_ssr_import|vi_import)_\d+__\./g,"")}function hh(e,t,r=new WeakSet){if(!e||typeof e!="object")return{message:String(e)};let n=e;n.stack&&(n.stackStr=String(n.stack)),n.name&&(n.nameStr=String(n.name)),(n.showDiff||n.showDiff===void 0&&n.expected!==void 0&&n.actual!==void 0)&&(n.diff=ch(n.actual,n.expected,{...t,...n.diffOptions})),typeof n.expected!="string"&&(n.expected=Ge(n.expected,10)),typeof n.actual!="string"&&(n.actual=Ge(n.actual,10));try{typeof n.message=="string"&&(n.message=qS(n.message))}catch{}try{!r.has(n)&&typeof n.cause=="object"&&(r.add(n),n.cause=hh(n.cause,t,r))}catch{}try{return sr(n)}catch(a){return sr(new Error(`Failed to fully serialize error: ${a==null?void 0:a.message}
|
|
145
|
+
Inner error message: ${n==null?void 0:n.message}`))}}var Zr=Symbol.for("matchers-object"),en=Symbol.for("$$jest-matchers-object-storybook"),ql=Symbol.for("expect-global"),Xi=Symbol.for("asymmetric-matchers-object");if(!Object.prototype.hasOwnProperty.call(globalThis,Zr)){let e=new WeakMap;Object.defineProperty(globalThis,Zr,{get:()=>e})}if(!Object.prototype.hasOwnProperty.call(globalThis,en)){let e=Object.create(null),t=[];Object.defineProperty(globalThis,en,{configurable:!0,get:()=>({state:globalThis[Zr].get(globalThis[ql]),matchers:e,customEqualityTesters:t})})}if(!Object.prototype.hasOwnProperty.call(globalThis,Xi)){let e=Object.create(null);Object.defineProperty(globalThis,Xi,{get:()=>e})}function Kn(e){return globalThis[Zr].get(e)}function ai(e,t){let r=globalThis[Zr],n=r.get(t)||{};Object.assign(n,e),r.set(t,n)}var Yn=ve.green,xl=ve.red,xS=ve.inverse,MS=ve.bold,St=ve.dim;function $S(e,t="received",r="expected",n={}){let{comment:a="",isDirectExpectCall:i=!1,isNot:o=!1,promise:l="",secondArgument:u="",expectedColor:c=Yn,receivedColor:s=xl,secondArgumentColor:d=Yn}=n,p="",f="expect";return!i&&t!==""&&(p+=St(`${f}(`)+s(t),f=")"),l!==""&&(p+=St(`${f}.`)+l,f=""),o&&(p+=`${St(`${f}.`)}not`,f=""),e.includes(".")?f+=e:(p+=St(`${f}.`)+e,f=""),r===""?f+="()":(p+=St(`${f}(`)+c(r),u&&(p+=St(", ")+d(u)),f=")"),a!==""&&(f+=` // ${a}`),f!==""&&(p+=St(f)),p}var NS="·";function mh(e){return e.replace(/\s+$/gm,t=>NS.repeat(t.length))}function jS(e){return xl(mh(Ge(e)))}function IS(e){return Yn(mh(Ge(e)))}function bh(){return{EXPECTED_COLOR:Yn,RECEIVED_COLOR:xl,INVERTED_COLOR:xS,BOLD_WEIGHT:MS,DIM_COLOR:St,diff:vr,matcherHint:$S,printReceived:jS,printExpected:IS,printDiffOrStringify:ch}}function Ml(){return globalThis[en].customEqualityTesters}function te(e,t,r,n){return r=r||[],gh(e,t,[],[],r,n?yh:BS)}function Xu(e){return!!e&&typeof e=="object"&&"asymmetricMatch"in e&&Xe("Function",e.asymmetricMatch)}function LS(e,t){let r=Xu(e),n=Xu(t);if(!(r&&n)){if(r)return e.asymmetricMatch(t);if(n)return t.asymmetricMatch(e)}}function gh(e,t,r,n,a,i){let o=!0,l=LS(e,t);if(l!==void 0)return l;let u={equals:te};for(let h=0;h<a.length;h++){let m=a[h].call(u,e,t,a);if(m!==void 0)return m}if(e instanceof Error&&t instanceof Error)return e.message===t.message;if(typeof URL=="function"&&e instanceof URL&&t instanceof URL)return e.href===t.href;if(Object.is(e,t))return!0;if(e===null||t===null)return e===t;let c=Object.prototype.toString.call(e);if(c!==Object.prototype.toString.call(t))return!1;switch(c){case"[object Boolean]":case"[object String]":case"[object Number]":return typeof e!=typeof t?!1:typeof e!="object"&&typeof t!="object"?Object.is(e,t):Object.is(e.valueOf(),t.valueOf());case"[object Date]":{let h=+e,m=+t;return h===m||Number.isNaN(h)&&Number.isNaN(m)}case"[object RegExp]":return e.source===t.source&&e.flags===t.flags}if(typeof e!="object"||typeof t!="object")return!1;if(Zu(e)&&Zu(t))return e.isEqualNode(t);let s=r.length;for(;s--;){if(r[s]===e)return n[s]===t;if(n[s]===t)return!1}if(r.push(e),n.push(t),c==="[object Array]"&&e.length!==t.length)return!1;let d=Qu(e,i),p,f=d.length;if(Qu(t,i).length!==f)return!1;for(;f--;)if(p=d[f],o=i(t,p)&&gh(e[p],t[p],r,n,a,i),!o)return!1;return r.pop(),n.pop(),o}function Qu(e,t){let r=[];for(let n in e)t(e,n)&&r.push(n);return r.concat(Object.getOwnPropertySymbols(e).filter(n=>Object.getOwnPropertyDescriptor(e,n).enumerable))}function BS(e,t){return yh(e,t)&&e[t]!==void 0}function yh(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function Xe(e,t){return Object.prototype.toString.apply(t)===`[object ${e}]`}function Zu(e){return e!==null&&typeof e=="object"&&"nodeType"in e&&typeof e.nodeType=="number"&&"nodeName"in e&&typeof e.nodeName=="string"&&"isEqualNode"in e&&typeof e.isEqualNode=="function"}var vh="@@__IMMUTABLE_KEYED__@@",_h="@@__IMMUTABLE_SET__@@",kS="@@__IMMUTABLE_LIST__@@",xa="@@__IMMUTABLE_ORDERED__@@",DS="@@__IMMUTABLE_RECORD__@@";function FS(e){return!!(e&&e[vh]&&!e[xa])}function US(e){return!!(e&&e[_h]&&!e[xa])}function Ma(e){return e!=null&&typeof e=="object"&&!Array.isArray(e)}function HS(e){return!!(e&&Ma(e)&&e[kS])}function zS(e){return!!(e&&Ma(e)&&e[vh]&&e[xa])}function VS(e){return!!(e&&Ma(e)&&e[_h]&&e[xa])}function GS(e){return!!(e&&Ma(e)&&e[DS])}var Eh=Symbol.iterator;function ec(e){return!!(e!=null&&e[Eh])}function De(e,t,r=[],n=[],a=[]){if(typeof e!="object"||typeof t!="object"||Array.isArray(e)||Array.isArray(t)||!ec(e)||!ec(t))return;if(e.constructor!==t.constructor)return!1;let i=n.length;for(;i--;)if(n[i]===e)return a[i]===t;n.push(e),a.push(t);let o=[...r.filter(c=>c!==De),l];function l(c,s){return De(c,s,[...r],[...n],[...a])}if(e.size!==void 0){if(e.size!==t.size)return!1;if(Xe("Set",e)||US(e)){let c=!0;for(let s of e)if(!t.has(s)){let d=!1;for(let p of t)te(s,p,o)===!0&&(d=!0);if(d===!1){c=!1;break}}return n.pop(),a.pop(),c}else if(Xe("Map",e)||FS(e)){let c=!0;for(let s of e)if(!t.has(s[0])||!te(s[1],t.get(s[0]),o)){let d=!1;for(let p of t){let f=te(s[0],p[0],o),h=!1;f===!0&&(h=te(s[1],p[1],o)),h===!0&&(d=!0)}if(d===!1){c=!1;break}}return n.pop(),a.pop(),c}}let u=t[Eh]();for(let c of e){let s=u.next();if(s.done||!te(c,s.value,o))return!1}if(!u.next().done)return!1;if(!HS(e)&&!zS(e)&&!VS(e)&&!GS(e)){let c=Object.entries(e),s=Object.entries(t);if(!te(c,s))return!1}return n.pop(),a.pop(),!0}function $l(e,t){return!e||typeof e!="object"||e===Object.prototype?!1:Object.prototype.hasOwnProperty.call(e,t)||$l(Object.getPrototypeOf(e),t)}function WS(e){return xn(e)&&!(e instanceof Error)&&!Array.isArray(e)&&!(e instanceof Date)}function bn(e,t,r=[]){let n=r.filter(i=>i!==bn),a=(i=new WeakMap)=>(o,l)=>{if(WS(l))return Object.keys(l).every(u=>{if(l[u]!=null&&typeof l[u]=="object"){if(i.has(l[u]))return te(o[u],l[u],n);i.set(l[u],!0)}let c=o!=null&&$l(o,u)&&te(o[u],l[u],[...n,a(i)]);return i.delete(l[u]),c})};return a()(e,t)}function tc(e,t){if(!(e==null||t==null||e.constructor===t.constructor))return!1}function rc(e,t){let r=e,n=t;if(!(e instanceof DataView&&t instanceof DataView)){if(!(e instanceof ArrayBuffer)||!(t instanceof ArrayBuffer))return;try{r=new DataView(e),n=new DataView(t)}catch{return}}if(r.byteLength!==n.byteLength)return!1;for(let a=0;a<r.byteLength;a++)if(r.getUint8(a)!==n.getUint8(a))return!1;return!0}function Qi(e,t,r=[]){if(!Array.isArray(e)||!Array.isArray(t))return;let n=Object.keys(e),a=Object.keys(t),i=r.filter(o=>o!==Qi);return te(e,t,i,!0)&&te(n,a)}function KS(e,t="#{this}",r="#{exp}"){let n=`expected ${t} to be ${r} // Object.is equality`;return["toStrictEqual","toEqual"].includes(e)?`${n}
|
|
146
|
+
|
|
147
|
+
If it should pass with deep equality, replace "toBe" with "${e}"
|
|
148
|
+
|
|
149
|
+
Expected: ${t}
|
|
150
|
+
Received: serializes to the same string
|
|
151
|
+
`:n}function YS(e,t){return`${t} ${e}${t===1?"":"s"}`}function ii(e){return[...Object.keys(e),...Object.getOwnPropertySymbols(e).filter(t=>{var r;return(r=Object.getOwnPropertyDescriptor(e,t))==null?void 0:r.enumerable})]}function JS(e,t,r=[]){let n=0,a=(i=new WeakMap)=>(o,l)=>{if(Array.isArray(o)){if(Array.isArray(l)&&l.length===o.length)return l.map((u,c)=>a(i)(o[c],u))}else{if(o instanceof Date)return o;if(xn(o)&&xn(l)){if(te(o,l,[...r,De,bn]))return l;let u={};i.set(o,u);for(let c of ii(o))$l(l,c)?u[c]=i.has(o[c])?i.get(o[c]):a(i)(o[c],l[c]):i.has(o[c])||(n+=1,xn(o[c])&&(n+=ii(o[c]).length),a(i)(o[c],l[c]));if(ii(u).length>0)return u}}return o};return{subset:a()(e,t),stripped:n}}var Bt=class{constructor(e,t=!1){ye(this,"$$typeof",Symbol.for("jest.asymmetricMatcher"));this.sample=e,this.inverse=t}getMatcherContext(e){return{...Kn(e||globalThis[ql]),equals:te,isNot:this.inverse,customTesters:Ml(),utils:{...bh(),diff:vr,stringify:Ge,iterableEquality:De,subsetEquality:bn}}}[Symbol.for("chai/inspect")](e){let t=Ge(this,e.depth,{min:!0});return t.length<=e.truncate?t:`${this.toString()}{…}`}},nc=class extends Bt{constructor(e,t=!1){if(!Xe("String",e))throw new Error("Expected is not a string");super(e,t)}asymmetricMatch(e){let t=Xe("String",e)&&e.includes(this.sample);return this.inverse?!t:t}toString(){return`String${this.inverse?"Not":""}Containing`}getExpectedType(){return"string"}},XS=class extends Bt{asymmetricMatch(e){return e!=null}toString(){return"Anything"}toAsymmetricMatcher(){return"Anything"}},ac=class extends Bt{constructor(e,t=!1){super(e,t)}getPrototype(e){return Object.getPrototypeOf?Object.getPrototypeOf(e):e.constructor.prototype===e?null:e.constructor.prototype}hasProperty(e,t){return e?Object.prototype.hasOwnProperty.call(e,t)?!0:this.hasProperty(this.getPrototype(e),t):!1}asymmetricMatch(e){if(typeof this.sample!="object")throw new TypeError(`You must provide an object to ${this.toString()}, not '${typeof this.sample}'.`);let t=!0,r=this.getMatcherContext();for(let n in this.sample)if(!this.hasProperty(e,n)||!te(this.sample[n],e[n],r.customTesters)){t=!1;break}return this.inverse?!t:t}toString(){return`Object${this.inverse?"Not":""}Containing`}getExpectedType(){return"object"}},ic=class extends Bt{constructor(e,t=!1){super(e,t)}asymmetricMatch(e){if(!Array.isArray(this.sample))throw new TypeError(`You must provide an array to ${this.toString()}, not '${typeof this.sample}'.`);let t=this.getMatcherContext(),r=this.sample.length===0||Array.isArray(e)&&this.sample.every(n=>e.some(a=>te(n,a,t.customTesters)));return this.inverse?!r:r}toString(){return`Array${this.inverse?"Not":""}Containing`}getExpectedType(){return"array"}},QS=class extends Bt{constructor(e){if(typeof e>"u")throw new TypeError("any() expects to be passed a constructor function. Please pass one or use anything() to match any object.");super(e)}fnNameFor(e){if(e.name)return e.name;let t=Function.prototype.toString.call(e).match(/^(?:async)?\s*function\s*(?:\*\s*)?([\w$]+)\s*\(/);return t?t[1]:"<anonymous>"}asymmetricMatch(e){return this.sample===String?typeof e=="string"||e instanceof String:this.sample===Number?typeof e=="number"||e instanceof Number:this.sample===Function?typeof e=="function"||e instanceof Function:this.sample===Boolean?typeof e=="boolean"||e instanceof Boolean:this.sample===BigInt?typeof e=="bigint"||e instanceof BigInt:this.sample===Symbol?typeof e=="symbol"||e instanceof Symbol:this.sample===Object?typeof e=="object":e instanceof this.sample}toString(){return"Any"}getExpectedType(){return this.sample===String?"string":this.sample===Number?"number":this.sample===Function?"function":this.sample===Object?"object":this.sample===Boolean?"boolean":this.fnNameFor(this.sample)}toAsymmetricMatcher(){return`Any<${this.fnNameFor(this.sample)}>`}},oc=class extends Bt{constructor(e,t=!1){if(!Xe("String",e)&&!Xe("RegExp",e))throw new Error("Expected is not a String or a RegExp");super(new RegExp(e),t)}asymmetricMatch(e){let t=Xe("String",e)&&this.sample.test(e);return this.inverse?!t:t}toString(){return`String${this.inverse?"Not":""}Matching`}getExpectedType(){return"string"}},lc=class extends Bt{constructor(t,r=2,n=!1){if(!Xe("Number",t))throw new Error("Expected is not a Number");if(!Xe("Number",r))throw new Error("Precision is not a Number");super(t);ye(this,"precision");this.inverse=n,this.precision=r}asymmetricMatch(t){if(!Xe("Number",t))return!1;let r=!1;return t===Number.POSITIVE_INFINITY&&this.sample===Number.POSITIVE_INFINITY||t===Number.NEGATIVE_INFINITY&&this.sample===Number.NEGATIVE_INFINITY?r=!0:r=Math.abs(this.sample-t)<10**-this.precision/2,this.inverse?!r:r}toString(){return`Number${this.inverse?"Not":""}CloseTo`}getExpectedType(){return"number"}toAsymmetricMatcher(){return[this.toString(),this.sample,`(${YS("digit",this.precision)})`].join(" ")}},ZS=(e,t)=>{t.addMethod(e.expect,"anything",()=>new XS),t.addMethod(e.expect,"any",r=>new QS(r)),t.addMethod(e.expect,"stringContaining",r=>new nc(r)),t.addMethod(e.expect,"objectContaining",r=>new ac(r)),t.addMethod(e.expect,"arrayContaining",r=>new ic(r)),t.addMethod(e.expect,"stringMatching",r=>new oc(r)),t.addMethod(e.expect,"closeTo",(r,n)=>new lc(r,n)),e.expect.not={stringContaining:r=>new nc(r,!0),objectContaining:r=>new ac(r,!0),arrayContaining:r=>new ic(r,!0),stringMatching:r=>new oc(r,!0),closeTo:(r,n)=>new lc(r,n,!0)}};function sc(e,t){return e&&t instanceof Promise&&(t=t.finally(()=>{let r=e.promises.indexOf(t);r!==-1&&e.promises.splice(r,1)}),e.promises||(e.promises=[]),e.promises.push(t)),t}function wh(e,t){return function(...r){var n;if(!e.flag(this,"soft"))return t.apply(this,r);let a=e.flag(this,"vitest-test");if(!a)throw new Error("expect.soft() can only be used inside a test");try{return t.apply(this,r)}catch(i){a.result||(a.result={state:"fail"}),a.result.state="fail",(n=a.result).errors||(n.errors=[]),a.result.errors.push(hh(i))}}}var eO=(e,t)=>{let{AssertionError:r}=e,n=Ml();function a(s,d){let p=f=>{let h=wh(t,d);t.addMethod(e.Assertion.prototype,f,h),t.addMethod(globalThis[en].matchers,f,h)};Array.isArray(s)?s.forEach(f=>p(f)):p(s)}["throw","throws","Throw"].forEach(s=>{t.overwriteMethod(e.Assertion.prototype,s,d=>function(...p){let f=t.flag(this,"promise"),h=t.flag(this,"object"),m=t.flag(this,"negate");if(f==="rejects")t.flag(this,"object",()=>{throw h});else if(f==="resolves"&&typeof h!="function"){if(m)return;{let g=t.flag(this,"message")||"expected promise to throw an error, but it didn't",b={showDiff:!1};throw new r(g,b,t.flag(this,"ssfi"))}}d.apply(this,p)})}),a("withTest",function(s){return t.flag(this,"vitest-test",s),this}),a("toEqual",function(s){let d=t.flag(this,"object"),p=te(d,s,[...n,De]);return this.assert(p,"expected #{this} to deeply equal #{exp}","expected #{this} to not deeply equal #{exp}",s,d)}),a("toStrictEqual",function(s){let d=t.flag(this,"object"),p=te(d,s,[...n,De,tc,Qi,rc],!0);return this.assert(p,"expected #{this} to strictly equal #{exp}","expected #{this} to not strictly equal #{exp}",s,d)}),a("toBe",function(s){let d=this._obj,p=Object.is(d,s),f="";return p||(te(d,s,[...n,De,tc,Qi,rc],!0)?f="toStrictEqual":te(d,s,[...n,De])&&(f="toEqual")),this.assert(p,KS(f),"expected #{this} not to be #{exp} // Object.is equality",s,d)}),a("toMatchObject",function(s){let d=this._obj,p=te(d,s,[...n,De,bn]),f=t.flag(this,"negate"),{subset:h,stripped:m}=JS(d,s);if(p&&f||!p&&!f){let g=t.getMessage(this,[p,"expected #{this} to match object #{exp}","expected #{this} to not match object #{exp}",s,h,!1]),b=m===0?g:`${g}
|
|
152
|
+
(${m} matching ${m===1?"property":"properties"} omitted from actual)`;throw new r(b,{showDiff:!0,expected:s,actual:h})}}),a("toMatch",function(s){let d=this._obj;if(typeof d!="string")throw new TypeError(`.toMatch() expects to receive a string, but got ${typeof d}`);return this.assert(typeof s=="string"?d.includes(s):d.match(s),"expected #{this} to match #{exp}","expected #{this} not to match #{exp}",s,d)}),a("toContain",function(s){let d=this._obj;if(typeof Node<"u"&&d instanceof Node){if(!(s instanceof Node))throw new TypeError(`toContain() expected a DOM node as the argument, but got ${typeof s}`);return this.assert(d.contains(s),"expected #{this} to contain element #{exp}","expected #{this} not to contain element #{exp}",s,d)}if(typeof DOMTokenList<"u"&&d instanceof DOMTokenList){dt(s,"class name",["string"]);let p=t.flag(this,"negate")?d.value.replace(s,"").trim():`${d.value} ${s}`;return this.assert(d.contains(s),`expected "${d.value}" to contain "${s}"`,`expected "${d.value}" not to contain "${s}"`,p,d.value)}return typeof d=="string"&&typeof s=="string"?this.assert(d.includes(s),"expected #{this} to contain #{exp}","expected #{this} not to contain #{exp}",s,d):(d!=null&&typeof d!="string"&&t.flag(this,"object",Array.from(d)),this.contain(s))}),a("toContainEqual",function(s){let d=t.flag(this,"object"),p=Array.from(d).findIndex(f=>te(f,s,n));this.assert(p!==-1,"expected #{this} to deep equally contain #{exp}","expected #{this} to not deep equally contain #{exp}",s)}),a("toBeTruthy",function(){let s=t.flag(this,"object");this.assert(!!s,"expected #{this} to be truthy","expected #{this} to not be truthy",s,!1)}),a("toBeFalsy",function(){let s=t.flag(this,"object");this.assert(!s,"expected #{this} to be falsy","expected #{this} to not be falsy",s,!1)}),a("toBeGreaterThan",function(s){let d=this._obj;return dt(d,"actual",["number","bigint"]),dt(s,"expected",["number","bigint"]),this.assert(d>s,`expected ${d} to be greater than ${s}`,`expected ${d} to be not greater than ${s}`,d,s,!1)}),a("toBeGreaterThanOrEqual",function(s){let d=this._obj;return dt(d,"actual",["number","bigint"]),dt(s,"expected",["number","bigint"]),this.assert(d>=s,`expected ${d} to be greater than or equal to ${s}`,`expected ${d} to be not greater than or equal to ${s}`,d,s,!1)}),a("toBeLessThan",function(s){let d=this._obj;return dt(d,"actual",["number","bigint"]),dt(s,"expected",["number","bigint"]),this.assert(d<s,`expected ${d} to be less than ${s}`,`expected ${d} to be not less than ${s}`,d,s,!1)}),a("toBeLessThanOrEqual",function(s){let d=this._obj;return dt(d,"actual",["number","bigint"]),dt(s,"expected",["number","bigint"]),this.assert(d<=s,`expected ${d} to be less than or equal to ${s}`,`expected ${d} to be not less than or equal to ${s}`,d,s,!1)}),a("toBeNaN",function(){return this.be.NaN}),a("toBeUndefined",function(){return this.be.undefined}),a("toBeNull",function(){return this.be.null}),a("toBeDefined",function(){let s=t.flag(this,"negate");return t.flag(this,"negate",!1),s?this.be.undefined:this.not.be.undefined}),a("toBeTypeOf",function(s){let d=typeof this._obj,p=s===d;return this.assert(p,"expected #{this} to be type of #{exp}","expected #{this} not to be type of #{exp}",s,d)}),a("toBeInstanceOf",function(s){return this.instanceOf(s)}),a("toHaveLength",function(s){return this.have.length(s)}),a("toHaveProperty",function(...s){Array.isArray(s[0])&&(s[0]=s[0].map(R=>String(R).replace(/([.[\]])/g,"\\$1")).join("."));let d=this._obj,[p,f]=s,h=()=>Object.prototype.hasOwnProperty.call(d,p)?{value:d[p],exists:!0}:t.getPathInfo(d,p),{value:m,exists:g}=h(),b=g&&(s.length===1||te(f,m,n)),y=s.length===1?"":` with value ${t.objDisplay(f)}`;return this.assert(b,`expected #{this} to have property "${p}"${y}`,`expected #{this} to not have property "${p}"${y}`,f,g?m:void 0)}),a("toBeCloseTo",function(s,d=2){let p=this._obj,f=!1,h=0,m=0;return s===Number.POSITIVE_INFINITY&&p===Number.POSITIVE_INFINITY||s===Number.NEGATIVE_INFINITY&&p===Number.NEGATIVE_INFINITY?f=!0:(h=10**-d/2,m=Math.abs(p-s),f=m<h),this.assert(f,`expected #{this} to be close to #{exp}, received difference is ${m}, but expected ${h}`,`expected #{this} to not be close to #{exp}, received difference is ${m}, but expected ${h}`,s,p,!1)});let i=s=>{if(!ph(s._obj))throw new TypeError(`${t.inspect(s._obj)} is not a spy or a call to a spy!`)},o=s=>(i(s),s._obj),l=s=>{let d=s%10,p=s%100;return d===1&&p!==11?`${s}st`:d===2&&p!==12?`${s}nd`:d===3&&p!==13?`${s}rd`:`${s}th`},u=(s,d,p)=>(s.mock.calls&&(d+=ve.gray(`
|
|
153
|
+
|
|
154
|
+
Received:
|
|
155
|
+
|
|
156
|
+
${s.mock.calls.map((f,h)=>{let m=ve.bold(` ${l(h+1)} ${s.getMockName()} call:
|
|
157
|
+
|
|
158
|
+
`);return p?m+=vr(p,f,{omitAnnotationLines:!0}):m+=Ge(f).split(`
|
|
159
|
+
`).map(g=>` ${g}`).join(`
|
|
160
|
+
`),m+=`
|
|
161
|
+
`,m}).join(`
|
|
162
|
+
`)}`)),d+=ve.gray(`
|
|
163
|
+
|
|
164
|
+
Number of calls: ${ve.bold(s.mock.calls.length)}
|
|
165
|
+
`),d),c=(s,d,p,f)=>(p+=ve.gray(`
|
|
166
|
+
|
|
167
|
+
Received:
|
|
168
|
+
|
|
169
|
+
${d.map((h,m)=>{let g=ve.bold(` ${l(m+1)} ${s.getMockName()} call return:
|
|
170
|
+
|
|
171
|
+
`);return f?g+=vr(f,h.value,{omitAnnotationLines:!0}):g+=Ge(h).split(`
|
|
172
|
+
`).map(b=>` ${b}`).join(`
|
|
173
|
+
`),g+=`
|
|
174
|
+
`,g}).join(`
|
|
175
|
+
`)}`),p+=ve.gray(`
|
|
176
|
+
|
|
177
|
+
Number of calls: ${ve.bold(s.mock.calls.length)}
|
|
178
|
+
`),p);a(["toHaveBeenCalledTimes","toBeCalledTimes"],function(s){let d=o(this),p=d.getMockName(),f=d.mock.calls.length;return this.assert(f===s,`expected "${p}" to be called #{exp} times, but got ${f} times`,`expected "${p}" to not be called #{exp} times`,s,f,!1)}),a("toHaveBeenCalledOnce",function(){let s=o(this),d=s.getMockName(),p=s.mock.calls.length;return this.assert(p===1,`expected "${d}" to be called once, but got ${p} times`,`expected "${d}" to not be called once`,1,p,!1)}),a(["toHaveBeenCalled","toBeCalled"],function(){let s=o(this),d=s.getMockName(),p=s.mock.calls.length,f=p>0,h=t.flag(this,"negate"),m=t.getMessage(this,[f,`expected "${d}" to be called at least once`,`expected "${d}" to not be called at all, but actually been called ${p} times`,!0,f]);if(f&&h&&(m=u(s,m)),f&&h||!f&&!h)throw new r(m)}),a(["toHaveBeenCalledWith","toBeCalledWith"],function(...s){let d=o(this),p=d.getMockName(),f=d.mock.calls.some(g=>te(g,s,[...n,De])),h=t.flag(this,"negate"),m=t.getMessage(this,[f,`expected "${p}" to be called with arguments: #{exp}`,`expected "${p}" to not be called with arguments: #{exp}`,s]);if(f&&h||!f&&!h)throw new r(u(d,m,s))}),a(["toHaveBeenNthCalledWith","nthCalledWith"],function(s,...d){let p=o(this),f=p.getMockName(),h=p.mock.calls[s-1],m=p.mock.calls.length,g=s<=m;this.assert(te(h,d,[...n,De]),`expected ${l(s)} "${f}" call to have been called with #{exp}${g?"":`, but called only ${m} times`}`,`expected ${l(s)} "${f}" call to not have been called with #{exp}`,d,h,g)}),a(["toHaveBeenLastCalledWith","lastCalledWith"],function(...s){let d=o(this),p=d.getMockName(),f=d.mock.calls[d.mock.calls.length-1];this.assert(te(f,s,[...n,De]),`expected last "${p}" call to have been called with #{exp}`,`expected last "${p}" call to not have been called with #{exp}`,s,f)}),a(["toThrow","toThrowError"],function(s){if(typeof s=="string"||typeof s>"u"||s instanceof RegExp)return this.throws(s);let d=this._obj,p=t.flag(this,"promise"),f=t.flag(this,"negate"),h=null;if(p==="rejects")h=d;else if(p==="resolves"&&typeof d!="function"){if(f)return;{let m=t.flag(this,"message")||"expected promise to throw an error, but it didn't",g={showDiff:!1};throw new r(m,g,t.flag(this,"ssfi"))}}else{let m=!1;try{d()}catch(g){m=!0,h=g}if(!m&&!f){let g=t.flag(this,"message")||"expected function to throw an error, but it didn't",b={showDiff:!1};throw new r(g,b,t.flag(this,"ssfi"))}}if(typeof s=="function"){let m=s.name||s.prototype.constructor.name;return this.assert(h&&h instanceof s,`expected error to be instance of ${m}`,`expected error not to be instance of ${m}`,s,h)}if(s instanceof Error)return this.assert(h&&s.message===h.message,`expected error to have message: ${s.message}`,`expected error not to have message: ${s.message}`,s.message,h&&h.message);if(typeof s=="object"&&"asymmetricMatch"in s&&typeof s.asymmetricMatch=="function"){let m=s;return this.assert(h&&m.asymmetricMatch(h),"expected error to match asymmetric matcher","expected error not to match asymmetric matcher",m,h)}throw new Error(`"toThrow" expects string, RegExp, function, Error instance or asymmetric matcher, got "${typeof s}"`)}),[{name:"toHaveResolved",condition:s=>s.mock.settledResults.length>0&&s.mock.settledResults.some(({type:d})=>d==="fulfilled"),action:"resolved"},{name:["toHaveReturned","toReturn"],condition:s=>s.mock.calls.length>0&&s.mock.results.some(({type:d})=>d!=="throw"),action:"called"}].forEach(({name:s,condition:d,action:p})=>{a(s,function(){let f=o(this),h=f.getMockName(),m=d(f);this.assert(m,`expected "${h}" to be successfully ${p} at least once`,`expected "${h}" to not be successfully ${p}`,m,!m,!1)})}),[{name:"toHaveResolvedTimes",condition:(s,d)=>s.mock.settledResults.reduce((p,{type:f})=>f==="fulfilled"?++p:p,0)===d,action:"resolved"},{name:["toHaveReturnedTimes","toReturnTimes"],condition:(s,d)=>s.mock.results.reduce((p,{type:f})=>f==="throw"?p:++p,0)===d,action:"called"}].forEach(({name:s,condition:d,action:p})=>{a(s,function(f){let h=o(this),m=h.getMockName(),g=d(h,f);this.assert(g,`expected "${m}" to be successfully ${p} ${f} times`,`expected "${m}" to not be successfully ${p} ${f} times`,`expected resolved times: ${f}`,`received resolved times: ${g}`,!1)})}),[{name:"toHaveResolvedWith",condition:(s,d)=>s.mock.settledResults.some(({type:p,value:f})=>p==="fulfilled"&&te(d,f)),action:"resolve"},{name:["toHaveReturnedWith","toReturnWith"],condition:(s,d)=>s.mock.results.some(({type:p,value:f})=>p==="return"&&te(d,f)),action:"return"}].forEach(({name:s,condition:d,action:p})=>{a(s,function(f){let h=o(this),m=d(h,f),g=t.flag(this,"negate");if(m&&g||!m&&!g){let b=h.getMockName(),y=t.getMessage(this,[m,`expected "${b}" to ${p} with: #{exp} at least once`,`expected "${b}" to not ${p} with: #{exp}`,f]),R=p==="return"?h.mock.results:h.mock.settledResults;throw new r(c(h,R,y,f))}})}),[{name:"toHaveLastResolvedWith",condition:(s,d)=>{let p=s.mock.settledResults[s.mock.settledResults.length-1];return p&&p.type==="fulfilled"&&te(p.value,d)},action:"resolve"},{name:["toHaveLastReturnedWith","lastReturnedWith"],condition:(s,d)=>{let p=s.mock.results[s.mock.results.length-1];return p&&p.type==="return"&&te(p.value,d)},action:"return"}].forEach(({name:s,condition:d,action:p})=>{a(s,function(f){let h=o(this),m=p==="return"?h.mock.results:h.mock.settledResults,g=m[m.length-1],b=h.getMockName();this.assert(d(h,f),`expected last "${b}" call to ${p} #{exp}`,`expected last "${b}" call to not ${p} #{exp}`,f,g==null?void 0:g.value)})}),[{name:"toHaveNthResolvedWith",condition:(s,d,p)=>{let f=s.mock.settledResults[d-1];return f&&f.type==="fulfilled"&&te(f.value,p)},action:"resolve"},{name:["toHaveNthReturnedWith","nthReturnedWith"],condition:(s,d,p)=>{let f=s.mock.results[d-1];return f&&f.type==="return"&&te(f.value,p)},action:"return"}].forEach(({name:s,condition:d,action:p})=>{a(s,function(f,h){let m=o(this),g=m.getMockName(),b=(p==="return"?m.mock.results:m.mock.settledResults)[f-1],y=`${l(f)} call`;this.assert(d(m,f,h),`expected ${y} "${g}" call to ${p} #{exp}`,`expected ${y} "${g}" call to not ${p} #{exp}`,h,b==null?void 0:b.value)})}),a("toSatisfy",function(s,d){return this.be.satisfy(s,d)}),a("withContext",function(s){for(let d in s)t.flag(this,d,s[d]);return this}),t.addProperty(e.Assertion.prototype,"resolves",function(){let s=new Error("resolves");t.flag(this,"promise","resolves"),t.flag(this,"error",s);let d=t.flag(this,"vitest-test"),p=t.flag(this,"object");if(t.flag(this,"poll"))throw new SyntaxError("expect.poll() is not supported in combination with .resolves");if(typeof(p==null?void 0:p.then)!="function")throw new TypeError(`You must provide a Promise to expect() when using .resolves, not '${typeof p}'.`);let f=new Proxy(this,{get:(h,m,g)=>{let b=Reflect.get(h,m,g);return typeof b!="function"?b instanceof e.Assertion?f:b:async(...y)=>{let R=p.then(_=>(t.flag(this,"object",_),b.call(this,...y)),_=>{let C=new r(`promise rejected "${t.inspect(_)}" instead of resolving`,{showDiff:!1});throw C.cause=_,C.stack=s.stack.replace(s.message,C.message),C});return sc(d,R)}}});return f}),t.addProperty(e.Assertion.prototype,"rejects",function(){let s=new Error("rejects");t.flag(this,"promise","rejects"),t.flag(this,"error",s);let d=t.flag(this,"vitest-test"),p=t.flag(this,"object"),f=typeof p=="function"?p():p;if(t.flag(this,"poll"))throw new SyntaxError("expect.poll() is not supported in combination with .rejects");if(typeof(f==null?void 0:f.then)!="function")throw new TypeError(`You must provide a Promise to expect() when using .rejects, not '${typeof f}'.`);let h=new Proxy(this,{get:(m,g,b)=>{let y=Reflect.get(m,g,b);return typeof y!="function"?y instanceof e.Assertion?h:y:async(...R)=>{let _=f.then(C=>{let w=new r(`promise resolved "${t.inspect(C)}" instead of rejecting`,{showDiff:!0,expected:new Error("rejected promise"),actual:C});throw w.stack=s.stack.replace(s.message,w.message),w},C=>(t.flag(this,"object",C),y.call(this,...R)));return sc(d,_)}}});return h})};function tO(e,t){let r=e._obj,n=nt.flag(e,"negate"),a=nt.flag(e,"promise")||"",i={...bh(),diff:vr,stringify:Ge,iterableEquality:De,subsetEquality:bn};return{state:{...Kn(t),customTesters:Ml(),isNot:n,utils:i,promise:a,equals:te,suppressedErrors:[],soft:nt.flag(e,"soft"),poll:nt.flag(e,"poll")},isNot:n,obj:r}}var uc=class extends Error{constructor(e,t,r){super(e),this.actual=t,this.expected=r}};function rO(e,t,r){return(n,a)=>{Object.entries(r).forEach(([i,o])=>{function l(...d){let{state:p,isNot:f,obj:h}=tO(this,t),m=o.call(p,h,...d);if(m&&typeof m=="object"&&m instanceof Promise)return m.then(({pass:_,message:C,actual:w,expected:v})=>{if(_&&f||!_&&!f)throw new uc(C(),w,v)});let{pass:g,message:b,actual:y,expected:R}=m;if(g&&f||!g&&!f)throw new uc(b(),y,R)}let u=wh(a,l);a.addMethod(globalThis[en].matchers,i,u),a.addMethod(e.Assertion.prototype,i,u);class c extends Bt{constructor(p=!1,...f){super(f,p)}asymmetricMatch(p){let{pass:f}=o.call(this.getMatcherContext(t),p,...this.sample);return this.inverse?!f:f}toString(){return`${this.inverse?"not.":""}${i}`}getExpectedType(){return"any"}toAsymmetricMatcher(){return`${this.toString()}<${this.sample.map(String).join(", ")}>`}}let s=(...d)=>new c(!1,...d);Object.defineProperty(t,i,{configurable:!0,enumerable:!0,value:s,writable:!0}),Object.defineProperty(t.not,i,{configurable:!0,enumerable:!0,value:(...d)=>new c(!0,...d),writable:!0}),Object.defineProperty(globalThis[Xi],i,{configurable:!0,enumerable:!0,value:s,writable:!0})})}}var nO=(e,t)=>{t.addMethod(e.expect,"extend",(r,n)=>{Dr(rO(e,r,n))})};function aO(){Dr(nO),Dr(eO),Dr(ZS);let e=(n,a)=>{let{assertionCalls:i}=Kn(e);return ai({assertionCalls:i+1,soft:!1},e),Ht(n,a)};Object.assign(e,Ht),e.getState=()=>Kn(e),e.setState=n=>ai(n,e),e.extend=n=>Ht.extend(e,n),e.soft=(...n)=>{let a=e(...n);return e.setState({soft:!0}),a},e.unreachable=n=>{P.fail(`expected${n?` "${n}" `:" "}not to be reached`)};function t(n){let a=()=>new Error(`expected number of assertions to be ${n}, but got ${e.getState().assertionCalls}`);"captureStackTrace"in Error&&typeof Error.captureStackTrace=="function"&&Error.captureStackTrace(a(),t),e.setState({expectedAssertionsNumber:n,expectedAssertionsNumberErrorGen:a})}function r(){let n=new Error("expected any number of assertion, but got none");"captureStackTrace"in Error&&typeof Error.captureStackTrace=="function"&&Error.captureStackTrace(n,r),e.setState({isExpectingAssertions:!0,isExpectingAssertionsError:n})}return ai({assertionCalls:0,isExpectingAssertions:!1,isExpectingAssertionsError:null,expectedAssertionsNumber:null,expectedAssertionsNumberErrorGen:null},e),nt.addMethod(e,"assertions",t),nt.addMethod(e,"hasAssertions",r),e.extend($f),e}var Ch=aO();Object.defineProperty(globalThis,ql,{value:Ch,writable:!0,configurable:!0});var Zi=new Set;function iO(e){return Zi.add(e),()=>void Zi.delete(e)}function oO(e){let t=e?Yu(e):Yu();return lO(t)}function lO(e){let t=cc(e),r=t.mockImplementation.bind(null);return t.mockImplementation=n=>cc(r(n)),t}function cc(e){let t=Wn(e),r=t.impl;return t.willCall(function(...n){return Zi.forEach(a=>a(e,n)),r==null?void 0:r.apply(this,n)}),e}function sO(){qa.forEach(e=>e.mockClear())}function uO(){qa.forEach(e=>e.mockReset())}function cO(){qa.forEach(e=>e.mockRestore())}var Rh={};Ao(Rh,{buildQueries:()=>wt,configure:()=>CA,createEvent:()=>jn,findAllByAltText:()=>Om,findAllByDisplayValue:()=>wm,findAllByLabelText:()=>tm,findAllByPlaceholderText:()=>cm,findAllByRole:()=>Fm,findAllByTestId:()=>Wm,findAllByText:()=>bm,findAllByTitle:()=>Nm,findByAltText:()=>Am,findByDisplayValue:()=>Cm,findByLabelText:()=>rm,findByPlaceholderText:()=>dm,findByRole:()=>Um,findByTestId:()=>Km,findByText:()=>gm,findByTitle:()=>jm,fireEvent:()=>on,getAllByAltText:()=>Pm,getAllByDisplayValue:()=>_m,getAllByLabelText:()=>nm,getAllByPlaceholderText:()=>sm,getAllByRole:()=>km,getAllByTestId:()=>Vm,getAllByText:()=>hm,getAllByTitle:()=>Mm,getByAltText:()=>Sm,getByDisplayValue:()=>Em,getByLabelText:()=>am,getByPlaceholderText:()=>um,getByRole:()=>Dm,getByTestId:()=>Gm,getByText:()=>mm,getByTitle:()=>$m,getConfig:()=>Z,getDefaultNormalizer:()=>kl,getElementError:()=>Na,getMultipleElementsFoundError:()=>ja,getNodeText:()=>gn,getQueriesForElement:()=>uo,getRoles:()=>Kh,getSuggestedQuery:()=>Xn,isInaccessible:()=>$a,logDOM:()=>eo,logRoles:()=>OA,makeFindQuery:()=>Er,makeGetAllQuery:()=>Ul,makeSingleQuery:()=>_r,prettyDOM:()=>nn,prettyFormat:()=>Nl,queries:()=>Qn,queryAllByAltText:()=>Rm,queryAllByAttribute:()=>Qt,queryAllByDisplayValue:()=>ym,queryAllByLabelText:()=>im,queryAllByPlaceholderText:()=>om,queryAllByRole:()=>Lm,queryAllByTestId:()=>Hm,queryAllByText:()=>fm,queryAllByTitle:()=>qm,queryByAltText:()=>Tm,queryByAttribute:()=>Jh,queryByDisplayValue:()=>vm,queryByLabelText:()=>Zh,queryByPlaceholderText:()=>lm,queryByRole:()=>Bm,queryByTestId:()=>zm,queryByText:()=>pm,queryByTitle:()=>xm,queryHelpers:()=>UA,screen:()=>bq,waitFor:()=>Fl,waitForElementToBeRemoved:()=>uq,within:()=>uo,wrapAllByQueryWithSuggestion:()=>Le,wrapSingleQueryWithSuggestion:()=>$t});var Nl=Fe(AC()),dO=Object.prototype.toString;function fO(e){return typeof e=="function"||dO.call(e)==="[object Function]"}function pO(e){var t=Number(e);return isNaN(t)?0:t===0||!isFinite(t)?t:(t>0?1:-1)*Math.floor(Math.abs(t))}var hO=Math.pow(2,53)-1;function mO(e){var t=pO(e);return Math.min(Math.max(t,0),hO)}function Je(e,t){var r=Array,n=Object(e);if(e==null)throw new TypeError("Array.from requires an array-like object - not null or undefined");for(var a=mO(n.length),i=fO(r)?Object(new r(a)):new Array(a),o=0,l;o<a;)l=n[o],i[o]=l,o+=1;return i.length=a,i}function tn(e){"@babel/helpers - typeof";return tn=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},tn(e)}function bO(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function gO(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,Th(n.key),n)}}function yO(e,t,r){return gO(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function vO(e,t,r){return t=Th(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Th(e){var t=_O(e,"string");return tn(t)==="symbol"?t:String(t)}function _O(e,t){if(tn(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(tn(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var EO=function(){function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];bO(this,e),vO(this,"items",void 0),this.items=t}return yO(e,[{key:"add",value:function(t){return this.has(t)===!1&&this.items.push(t),this}},{key:"clear",value:function(){this.items=[]}},{key:"delete",value:function(t){var r=this.items.length;return this.items=this.items.filter(function(n){return n!==t}),r!==this.items.length}},{key:"forEach",value:function(t){var r=this;this.items.forEach(function(n){t(n,n,r)})}},{key:"has",value:function(t){return this.items.indexOf(t)!==-1}},{key:"size",get:function(){return this.items.length}}]),e}(),wO=typeof Set>"u"?Set:EO;function Me(e){var t;return(t=e.localName)!==null&&t!==void 0?t:e.tagName.toLowerCase()}var CO={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"},RO={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 TO(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=RO[t])!==null&&n!==void 0&&n.has(r))})}function Ph(e,t){return TO(e,t)}function PO(e){var t=OO(e);if(t===null||t==="presentation"){var r=SO(e);if(t!=="presentation"||Ph(e,r||""))return r}return t}function SO(e){var t=CO[Me(e)];if(t!==void 0)return t;switch(Me(e)){case"a":case"area":case"link":if(e.hasAttribute("href"))return"link";break;case"img":return e.getAttribute("alt")===""&&!Ph(e,"img")?"presentation":"img";case"input":{var r=e,n=r.type;switch(n){case"button":case"image":case"reset":case"submit":return"button";case"checkbox":case"radio":return n;case"range":return"slider";case"email":case"tel":case"text":case"url":return e.hasAttribute("list")?"combobox":"textbox";case"search":return e.hasAttribute("list")?"combobox":"searchbox";case"number":return"spinbutton";default:return null}}case"select":return e.hasAttribute("multiple")||e.size>1?"listbox":"combobox"}return null}function OO(e){var t=e.getAttribute("role");if(t!==null){var r=t.trim().split(" ")[0];if(r.length>0)return r}return null}function he(e){return e!==null&&e.nodeType===e.ELEMENT_NODE}function Sh(e){return he(e)&&Me(e)==="caption"}function Nn(e){return he(e)&&Me(e)==="input"}function AO(e){return he(e)&&Me(e)==="optgroup"}function qO(e){return he(e)&&Me(e)==="select"}function xO(e){return he(e)&&Me(e)==="table"}function MO(e){return he(e)&&Me(e)==="textarea"}function $O(e){var t=e.ownerDocument===null?e:e.ownerDocument,r=t.defaultView;if(r===null)throw new TypeError("no window available");return r}function NO(e){return he(e)&&Me(e)==="fieldset"}function jO(e){return he(e)&&Me(e)==="legend"}function IO(e){return he(e)&&Me(e)==="slot"}function LO(e){return he(e)&&e.ownerSVGElement!==void 0}function BO(e){return he(e)&&Me(e)==="svg"}function kO(e){return LO(e)&&Me(e)==="title"}function Jn(e,t){if(he(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 mt(e,t){return he(e)?t.indexOf(PO(e))!==-1:!1}function DO(e){return e.trim().replace(/\s\s+/g," ")}function FO(e,t){if(!he(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 UO(e){return mt(e,["button","combobox","listbox","textbox"])||Oh(e,"range")}function Oh(e,t){if(!he(e))return!1;switch(t){case"range":return mt(e,["meter","progressbar","scrollbar","slider","spinbutton"]);default:throw new TypeError("No knowledge about abstract role '".concat(t,"'. This is likely a bug :("))}}function dc(e,t){var r=Je(e.querySelectorAll(t));return Jn(e,"aria-owns").forEach(function(n){r.push.apply(r,Je(n.querySelectorAll(t)))}),r}function HO(e){return qO(e)?e.selectedOptions||dc(e,"[selected]"):dc(e,'[aria-selected="true"]')}function zO(e){return mt(e,["none","presentation"])}function VO(e){return Sh(e)}function GO(e){return mt(e,["button","cell","checkbox","columnheader","gridcell","heading","label","legend","link","menuitem","menuitemcheckbox","menuitemradio","option","radio","row","rowheader","switch","tab","tooltip","treeitem"])}function WO(e){return!1}function KO(e){return Nn(e)||MO(e)?e.value:e.textContent||""}function fc(e){var t=e.getPropertyValue("content");return/^["'].*["']$/.test(t)?t.slice(1,-1):""}function Ah(e){var t=Me(e);return t==="button"||t==="input"&&e.getAttribute("type")!=="hidden"||t==="meter"||t==="output"||t==="progress"||t==="select"||t==="textarea"}function qh(e){if(Ah(e))return e;var t=null;return e.childNodes.forEach(function(r){if(t===null&&he(r)){var n=qh(r);n!==null&&(t=n)}}),t}function YO(e){if(e.control!==void 0)return e.control;var t=e.getAttribute("for");return t!==null?e.ownerDocument.getElementById(t):qh(e)}function JO(e){var t=e.labels;if(t===null)return t;if(t!==void 0)return Je(t);if(!Ah(e))return null;var r=e.ownerDocument;return Je(r.querySelectorAll("label")).filter(function(n){return YO(n)===e})}function XO(e){var t=e.assignedNodes();return t.length===0?Je(e.childNodes):t}function xh(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=new wO,n=$O(e),a=t.compute,i=a===void 0?"name":a,o=t.computedStyleSupportsPseudoElements,l=o===void 0?t.getComputedStyle!==void 0:o,u=t.getComputedStyle,c=u===void 0?n.getComputedStyle.bind(n):u,s=t.hidden,d=s===void 0?!1:s;function p(b,y){var R="";if(he(b)&&l){var _=c(b,"::before"),C=fc(_);R="".concat(C," ").concat(R)}var w=IO(b)?XO(b):Je(b.childNodes).concat(Jn(b,"aria-owns"));if(w.forEach(function(O){var M=g(O,{isEmbeddedInLabel:y.isEmbeddedInLabel,isReferenced:!1,recursion:!0}),N=he(O)?c(O).getPropertyValue("display"):"inline",k=N!=="inline"?" ":"";R+="".concat(k).concat(M).concat(k)}),he(b)&&l){var v=c(b,"::after"),E=fc(v);R="".concat(R," ").concat(E)}return R.trim()}function f(b,y){var R=b.getAttributeNode(y);return R!==null&&!r.has(R)&&R.value.trim()!==""?(r.add(R),R.value):null}function h(b){return he(b)?f(b,"title"):null}function m(b){if(!he(b))return null;if(NO(b)){r.add(b);for(var y=Je(b.childNodes),R=0;R<y.length;R+=1){var _=y[R];if(jO(_))return g(_,{isEmbeddedInLabel:!1,isReferenced:!1,recursion:!1})}}else if(xO(b)){r.add(b);for(var C=Je(b.childNodes),w=0;w<C.length;w+=1){var v=C[w];if(Sh(v))return g(v,{isEmbeddedInLabel:!1,isReferenced:!1,recursion:!1})}}else if(BO(b)){r.add(b);for(var E=Je(b.childNodes),O=0;O<E.length;O+=1){var M=E[O];if(kO(M))return M.textContent}return null}else if(Me(b)==="img"||Me(b)==="area"){var N=f(b,"alt");if(N!==null)return N}else if(AO(b)){var k=f(b,"label");if(k!==null)return k}if(Nn(b)&&(b.type==="button"||b.type==="submit"||b.type==="reset")){var j=f(b,"value");if(j!==null)return j;if(b.type==="submit")return"Submit";if(b.type==="reset")return"Reset"}var I=JO(b);if(I!==null&&I.length!==0)return r.add(b),Je(I).map(function(W){return g(W,{isEmbeddedInLabel:!0,isReferenced:!1,recursion:!0})}).filter(function(W){return W.length>0}).join(" ");if(Nn(b)&&b.type==="image"){var B=f(b,"alt");if(B!==null)return B;var z=f(b,"title");return z!==null?z:"Submit Query"}if(mt(b,["button"])){var K=p(b,{isEmbeddedInLabel:!1,isReferenced:!1});if(K!=="")return K}return null}function g(b,y){if(r.has(b))return"";if(!d&&FO(b,c)&&!y.isReferenced)return r.add(b),"";var R=he(b)?b.getAttributeNode("aria-labelledby"):null,_=R!==null&&!r.has(R)?Jn(b,"aria-labelledby"):[];if(i==="name"&&!y.isReferenced&&_.length>0)return r.add(R),_.map(function(N){return g(N,{isEmbeddedInLabel:y.isEmbeddedInLabel,isReferenced:!0,recursion:!1})}).join(" ");var C=y.recursion&&UO(b)&&i==="name";if(!C){var w=(he(b)&&b.getAttribute("aria-label")||"").trim();if(w!==""&&i==="name")return r.add(b),w;if(!zO(b)){var v=m(b);if(v!==null)return r.add(b),v}}if(mt(b,["menu"]))return r.add(b),"";if(C||y.isEmbeddedInLabel||y.isReferenced){if(mt(b,["combobox","listbox"])){r.add(b);var E=HO(b);return E.length===0?Nn(b)?b.value:"":Je(E).map(function(N){return g(N,{isEmbeddedInLabel:y.isEmbeddedInLabel,isReferenced:!1,recursion:!0})}).join(" ")}if(Oh(b,"range"))return r.add(b),b.hasAttribute("aria-valuetext")?b.getAttribute("aria-valuetext"):b.hasAttribute("aria-valuenow")?b.getAttribute("aria-valuenow"):b.getAttribute("value")||"";if(mt(b,["textbox"]))return r.add(b),KO(b)}if(GO(b)||he(b)&&y.isReferenced||VO(b)||WO()){var O=p(b,{isEmbeddedInLabel:y.isEmbeddedInLabel,isReferenced:!1});if(O!=="")return r.add(b),O}if(b.nodeType===b.TEXT_NODE)return r.add(b),b.textContent||"";if(y.recursion)return r.add(b),p(b,{isEmbeddedInLabel:y.isEmbeddedInLabel,isReferenced:!1});var M=h(b);return M!==null?(r.add(b),M):(r.add(b),"")}return DO(g(e,{isEmbeddedInLabel:!1,isReferenced:i==="description",recursion:!1}))}function rn(e){"@babel/helpers - typeof";return rn=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},rn(e)}function pc(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 hc(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?pc(Object(r),!0).forEach(function(n){QO(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):pc(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function QO(e,t,r){return t=ZO(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ZO(e){var t=eA(e,"string");return rn(t)==="symbol"?t:String(t)}function eA(e,t){if(rn(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(rn(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Mh(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=Jn(e,"aria-describedby").map(function(a){return xh(a,hc(hc({},t),{},{compute:"description"}))}).join(" ");if(r===""){var n=e.getAttribute("title");r=n===null?"":n}return r}function tA(e){return mt(e,["caption","code","deletion","emphasis","generic","insertion","paragraph","presentation","strong","subscript","superscript"])}function jl(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return tA(e)?"":xh(e,t)}var He=Fe(xo()),rA=Fe(qC());function $h(e){return e.replace(/</g,"<").replace(/>/g,">")}var nA=(e,t,r,n,a,i,o)=>{let l=n+r.indent,u=r.colors;return e.map(c=>{let s=t[c],d=o(s,r,l,a,i);return typeof s!="string"&&(d.indexOf(`
|
|
179
|
+
`)!==-1&&(d=r.spacingOuter+l+d+r.spacingOuter+n),d="{"+d+"}"),r.spacingInner+n+u.prop.open+c+u.prop.close+"="+u.value.open+d+u.value.close}).join("")},aA=3,iA=(e,t,r,n,a,i)=>e.map(o=>{let l=typeof o=="string"?Nh(o,t):i(o,t,r,n,a);return l===""&&typeof o=="object"&&o!==null&&o.nodeType!==aA?"":t.spacingOuter+r+l}).join(""),Nh=(e,t)=>{let r=t.colors.content;return r.open+$h(e)+r.close},oA=(e,t)=>{let r=t.colors.comment;return r.open+"<!--"+$h(e)+"-->"+r.close},lA=(e,t,r,n,a)=>{let i=n.colors.tag;return i.open+"<"+e+(t&&i.close+t+n.spacingOuter+a+i.open)+(r?">"+i.close+r+n.spacingOuter+a+i.open+"</"+e:(t&&!n.min?"":" ")+"/")+">"+i.close},sA=(e,t)=>{let r=t.colors.tag;return r.open+"<"+e+r.close+" …"+r.open+" />"+r.close},uA=1,jh=3,Ih=8,Lh=11,cA=/^((HTML|SVG)\w*)?Element$/,Bh=e=>{let{tagName:t}=e;return!!(typeof t=="string"&&t.includes("-")||typeof e.hasAttribute=="function"&&e.hasAttribute("is"))},dA=e=>{let t=e.constructor.name,{nodeType:r}=e;return r===uA&&(cA.test(t)||Bh(e))||r===jh&&t==="Text"||r===Ih&&t==="Comment"||r===Lh&&t==="DocumentFragment"};function fA(e){return e.nodeType===jh}function pA(e){return e.nodeType===Ih}function oi(e){return e.nodeType===Lh}function hA(e){return{test:t=>{var r;return((t==null||(r=t.constructor)==null?void 0:r.name)||Bh(t))&&dA(t)},serialize:(t,r,n,a,i,o)=>{if(fA(t))return Nh(t.data,r);if(pA(t))return oA(t.data,r);let l=oi(t)?"DocumentFragment":t.tagName.toLowerCase();return++a>r.maxDepth?sA(l,r):lA(l,nA(oi(t)?[]:Array.from(t.attributes).map(u=>u.name).sort(),oi(t)?{}:Array.from(t.attributes).reduce((u,c)=>(u[c.name]=c.value,u),{}),r,n+r.indent,a,i,o),iA(Array.prototype.slice.call(t.childNodes||t.children).filter(e),r,n+r.indent,a,i,o),r,n)}}}var kh=null,Il=null,Ll=null;try{let e=module&&module.require;Il=e.call(module,"fs").readFileSync,Ll=e.call(module,"@babel/code-frame").codeFrameColumns,kh=e.call(module,"chalk")}catch{}function mA(e){let t=e.indexOf("(")+1,r=e.indexOf(")"),n=e.slice(t,r),a=n.split(":"),[i,o,l]=[a[0],parseInt(a[1],10),parseInt(a[2],10)],u="";try{u=Il(i,"utf-8")}catch{return""}let c=Ll(u,{start:{line:o,column:l}},{highlightCode:!0,linesBelow:0});return kh.dim(n)+`
|
|
180
|
+
`+c+`
|
|
181
|
+
`}function bA(){if(!Il||!Ll)return"";let e=new Error().stack.split(`
|
|
182
|
+
`).slice(1).find(t=>!t.includes("node_modules/"));return mA(e)}var Dh=3;function li(){return typeof jest<"u"&&jest!==null?setTimeout._isMockFunction===!0||Object.prototype.hasOwnProperty.call(setTimeout,"clock"):!1}function Bl(){if(typeof window>"u")throw new Error("Could not find default container");return window.document}function Fh(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 Et(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 gA=()=>{if(typeof process>"u")return!1;let e;try{var t;let r=(t=vi)==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:yA}=Nl.plugins,vA=1,_A=8;function EA(e){return e.nodeType!==_A&&(e.nodeType!==vA||!e.matches(Z().defaultIgnore))}function nn(e,t,r){if(r===void 0&&(r={}),e||(e=Bl().body),typeof t!="number"&&(t=typeof process<"u"&&typeof vi<"u"&&vi.DEBUG_PRINT_LIMIT||7e3),t===0)return"";e.documentElement&&(e=e.documentElement);let n=typeof e;if(n==="object"?n=e.constructor.name:e={},!("outerHTML"in e))throw new TypeError("Expected an element or document but got "+n);let{filterNode:a=EA,...i}=r,o=Nl.format(e,{plugins:[hA(a),yA],printFunctionName:!1,highlight:gA(),...i});return t!==void 0&&e.outerHTML.length>t?o.slice(0,t)+"...":o}var eo=function(){let e=bA();console.log(e?nn(...arguments)+`
|
|
183
|
+
|
|
184
|
+
`+e:nn(...arguments))},zt={testIdAttribute:"data-testid",asyncUtilTimeout:1e3,asyncWrapper:e=>e(),unstable_advanceTimersWrapper:e=>e(),eventWrapper:e=>e(),defaultHidden:!1,defaultIgnore:"script, style",showOriginalStackTrace:!1,throwSuggestions:!1,getElementError(e,t){let r=nn(t),n=new Error([e,"Ignored nodes: comments, "+zt.defaultIgnore+`
|
|
185
|
+
`+r].filter(Boolean).join(`
|
|
186
|
+
|
|
187
|
+
`));return n.name="TestingLibraryElementError",n},_disableExpensiveErrorDiagnostics:!1,computedStyleSupportsPseudoElements:!1};function wA(e){try{return zt._disableExpensiveErrorDiagnostics=!0,e()}finally{zt._disableExpensiveErrorDiagnostics=!1}}function CA(e){typeof e=="function"&&(e=e(zt)),zt={...zt,...e}}function Z(){return zt}var RA=["button","meter","output","progress","select","textarea","input"];function Uh(e){return RA.includes(e.nodeName.toLowerCase())?"":e.nodeType===Dh?e.textContent:Array.from(e.childNodes).map(t=>Uh(t)).join("")}function to(e){let t;return e.tagName.toLowerCase()==="label"?t=Uh(e):t=e.value||e.textContent,t}function Hh(e){if(e.labels!==void 0){var t;return(t=e.labels)!=null?t:[]}if(!TA(e))return[];let r=e.ownerDocument.querySelectorAll("label");return Array.from(r).filter(n=>n.control===e)}function TA(e){return/BUTTON|METER|OUTPUT|PROGRESS|SELECT|TEXTAREA/.test(e.tagName)||e.tagName==="INPUT"&&e.getAttribute("type")!=="hidden"}function zh(e,t,r){let{selector:n="*"}=r===void 0?{}:r,a=t.getAttribute("aria-labelledby"),i=a?a.split(" "):[];return i.length?i.map(o=>{let l=e.querySelector('[id="'+o+'"]');return l?{content:to(l),formControl:null}:{content:"",formControl:null}}):Array.from(Hh(t)).map(o=>{let l=to(o),u=Array.from(o.querySelectorAll("button, input, meter, output, progress, select, textarea")).filter(c=>c.matches(n))[0];return{content:l,formControl:u}})}function Vh(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 qr(e,t,r,n){if(typeof e!="string")return!1;Vh(r);let a=n(e);return typeof r=="string"||typeof r=="number"?a.toLowerCase().includes(r.toString().toLowerCase()):typeof r=="function"?r(a,t):Gh(r,a)}function gt(e,t,r,n){if(typeof e!="string")return!1;Vh(r);let a=n(e);return r instanceof Function?r(a,t):r instanceof RegExp?Gh(r,a):a===String(r)}function kl(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 Xt(e){let{trim:t,collapseWhitespace:r,normalizer:n}=e;if(!n)return kl({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 Gh(e,t){let r=e.test(t);return e.global&&e.lastIndex!==0&&(console.warn("To match all elements we had to reset the lastIndex of the RegExp because the global flag is enabled. We encourage to remove the global flag from the RegExp."),e.lastIndex=0),r}function gn(e){return e.matches("input[type=submit], input[type=button], input[type=reset]")?e.value:Array.from(e.childNodes).filter(t=>t.nodeType===Dh&&!!t.textContent).map(t=>t.textContent).join("")}var PA=SA(He.elementRoles);function Wh(e){return e.hidden===!0||e.getAttribute("aria-hidden")==="true"||e.ownerDocument.defaultView.getComputedStyle(e).display==="none"}function $a(e,t){t===void 0&&(t={});let{isSubtreeInaccessible:r=Wh}=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 Dl(e){for(let{match:t,roles:r}of PA)if(t(e))return[...r];return[]}function SA(e){function t(o){let{name:l,attributes:u}=o;return""+l+u.map(c=>{let{name:s,value:d,constraints:p=[]}=c,f=p.indexOf("undefined")!==-1,h=p.indexOf("set")!==-1;return typeof d<"u"?"["+s+'="'+d+'"]':f?":not(["+s+"])":h?"["+s+"]:not(["+s+'=""])':"["+s+"]"}).join("")}function r(o){let{attributes:l=[]}=o;return l.length}function n(o,l){let{specificity:u}=o,{specificity:c}=l;return c-u}function a(o){let{attributes:l=[]}=o,u=l.findIndex(s=>s.value&&s.name==="type"&&s.value==="text");u>=0&&(l=[...l.slice(0,u),...l.slice(u+1)]);let c=t({...o,attributes:l});return s=>u>=0&&s.type!=="text"?!1:s.matches(c)}let i=[];for(let[o,l]of e.entries())i=[...i,{match:a(o),roles:Array.from(l),specificity:r(o)}];return i.sort(n)}function Kh(e,t){let{hidden:r=!1}=t===void 0?{}:t;function n(a){return[a,...Array.from(a.children).reduce((i,o)=>[...i,...n(o)],[])]}return n(e).filter(a=>r===!1?$a(a)===!1:!0).reduce((a,i)=>{let o=[];return i.hasAttribute("role")?o=i.getAttribute("role").split(" ").slice(0,1):o=Dl(i),o.reduce((l,u)=>Array.isArray(l[u])?{...l,[u]:[...l[u],i]}:{...l,[u]:[i]},a)},{})}function Yh(e,t){let{hidden:r,includeDescription:n}=t,a=Kh(e,{hidden:r});return Object.entries(a).filter(i=>{let[o]=i;return o!=="generic"}).map(i=>{let[o,l]=i,u="-".repeat(50),c=l.map(s=>{let d='Name "'+jl(s,{computedStyleSupportsPseudoElements:Z().computedStyleSupportsPseudoElements})+`":
|
|
188
|
+
`,p=nn(s.cloneNode(!1));if(n){let f='Description "'+Mh(s,{computedStyleSupportsPseudoElements:Z().computedStyleSupportsPseudoElements})+`":
|
|
189
|
+
`;return""+d+f+p}return""+d+p}).join(`
|
|
190
|
+
|
|
191
|
+
`);return o+`:
|
|
192
|
+
|
|
193
|
+
`+c+`
|
|
194
|
+
|
|
195
|
+
`+u}).join(`
|
|
196
|
+
`)}var OA=function(e,t){let{hidden:r=!1}=t===void 0?{}:t;return console.log(Yh(e,{hidden:r}))};function AA(e){return e.tagName==="OPTION"?e.selected:yn(e,"aria-selected")}function qA(e){return e.getAttribute("aria-busy")==="true"}function xA(e){if(!("indeterminate"in e&&e.indeterminate))return"checked"in e?e.checked:yn(e,"aria-checked")}function MA(e){return yn(e,"aria-pressed")}function $A(e){var t,r;return(t=(r=yn(e,"aria-current"))!=null?r:e.getAttribute("aria-current"))!=null?t:!1}function NA(e){return yn(e,"aria-expanded")}function yn(e,t){let r=e.getAttribute(t);if(r==="true")return!0;if(r==="false")return!1}function jA(e){let t={H1:1,H2:2,H3:3,H4:4,H5:5,H6:6};return e.getAttribute("aria-level")&&Number(e.getAttribute("aria-level"))||t[e.tagName]}function IA(e){let t=e.getAttribute("aria-valuenow");return t===null?void 0:+t}function LA(e){let t=e.getAttribute("aria-valuemax");return t===null?void 0:+t}function BA(e){let t=e.getAttribute("aria-valuemin");return t===null?void 0:+t}function kA(e){let t=e.getAttribute("aria-valuetext");return t===null?void 0:t}var mc=kl();function DA(e){return e.replace(/[.*+\-?^${}()|[\]\\]/g,"\\$&")}function bc(e){return new RegExp(DA(e.toLowerCase()),"i")}function Ct(e,t,r,n){let{variant:a,name:i}=n,o="",l={},u=[["Role","TestId"].includes(e)?r:bc(r)];i&&(l.name=bc(i)),e==="Role"&&$a(t)&&(l.hidden=!0,o=`Element is inaccessible. This means that the element and all its children are invisible to screen readers.
|
|
197
|
+
If you are using the aria-hidden prop, make sure this is the right choice for your case.
|
|
198
|
+
`),Object.keys(l).length>0&&u.push(l);let c=a+"By"+e;return{queryName:e,queryMethod:c,queryArgs:u,variant:a,warning:o,toString(){o&&console.warn(o);let[s,d]=u;return s=typeof s=="string"?"'"+s+"'":s,d=d?", { "+Object.entries(d).map(p=>{let[f,h]=p;return f+": "+h}).join(", ")+" }":"",c+"("+s+d+")"}}}function Rt(e,t,r){return r&&(!t||t.toLowerCase()===e.toLowerCase())}function Xn(e,t,r){var n,a;if(t===void 0&&(t="get"),e.matches(Z().defaultIgnore))return;let i=(n=e.getAttribute("role"))!=null?n:(a=Dl(e))==null?void 0:a[0];if(i!=="generic"&&Rt("Role",r,i))return Ct("Role",e,i,{variant:t,name:jl(e,{computedStyleSupportsPseudoElements:Z().computedStyleSupportsPseudoElements})});let o=zh(document,e).map(p=>p.content).join(" ");if(Rt("LabelText",r,o))return Ct("LabelText",e,o,{variant:t});let l=e.getAttribute("placeholder");if(Rt("PlaceholderText",r,l))return Ct("PlaceholderText",e,l,{variant:t});let u=mc(gn(e));if(Rt("Text",r,u))return Ct("Text",e,u,{variant:t});if(Rt("DisplayValue",r,e.value))return Ct("DisplayValue",e,mc(e.value),{variant:t});let c=e.getAttribute("alt");if(Rt("AltText",r,c))return Ct("AltText",e,c,{variant:t});let s=e.getAttribute("title");if(Rt("Title",r,s))return Ct("Title",e,s,{variant:t});let d=e.getAttribute(Z().testIdAttribute);if(Rt("TestId",r,d))return Ct("TestId",e,d,{variant:t})}function Cn(e,t){e.stack=t.stack.replace(t.message,e.message)}function FA(e,t){let{container:r=Bl(),timeout:n=Z().asyncUtilTimeout,showOriginalStackTrace:a=Z().showOriginalStackTrace,stackTraceError:i,interval:o=50,onTimeout:l=c=>(Object.defineProperty(c,"message",{value:Z().getElementError(c.message,r).message}),c),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(c,s)=>{let d,p,f,h=!1,m="idle",g=setTimeout(C,n),b=li();if(b){let{unstable_advanceTimersWrapper:w}=Z();for(_();!h;){if(!li()){let v=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||Cn(v,i),s(v);return}if(await w(async()=>{jest.advanceTimersByTime(o)}),h)break;_()}}else{try{Et(r)}catch(v){s(v);return}p=setInterval(R,o);let{MutationObserver:w}=Fh(r);f=new w(R),f.observe(r,u),_()}function y(w,v){h=!0,clearTimeout(g),b||(clearInterval(p),f.disconnect()),w?s(w):c(v)}function R(){if(li()){let w=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||Cn(w,i),s(w)}else return _()}function _(){if(m!=="pending")try{let w=wA(e);typeof(w==null?void 0:w.then)=="function"?(m="pending",w.then(v=>{m="resolved",y(null,v)},v=>{m="rejected",d=v})):y(null,w)}catch(w){d=w}}function C(){let w;d?(w=d,!a&&w.name==="TestingLibraryElementError"&&Cn(w,i)):(w=new Error("Timed out in waitFor."),a||Cn(w,i)),y(l(w),null)}})}function Fl(e,t){let r=new Error("STACK_TRACE_MESSAGE");return Z().asyncWrapper(()=>FA(e,{stackTraceError:r,...t}))}function Na(e,t){return Z().getElementError(e,t)}function ja(e,t){return Na(e+"\n\n(If this is intentional, then use the `*AllBy*` variant of the query (like `queryAllByText`, `getAllByText`, or `findAllByText`)).",t)}function Qt(e,t,r,n){let{exact:a=!0,collapseWhitespace:i,trim:o,normalizer:l}=n===void 0?{}:n,u=a?gt:qr,c=Xt({collapseWhitespace:i,trim:o,normalizer:l});return Array.from(t.querySelectorAll("["+e+"]")).filter(s=>u(s.getAttribute(e),s,r,c))}function Jh(e,t,r,n){let a=Qt(e,t,r,n);if(a.length>1)throw ja("Found multiple elements by ["+e+"="+r+"]",t);return a[0]||null}function _r(e,t){return function(r){for(var n=arguments.length,a=new Array(n>1?n-1:0),i=1;i<n;i++)a[i-1]=arguments[i];let o=e(r,...a);if(o.length>1){let l=o.map(u=>Na(null,u).message).join(`
|
|
199
|
+
|
|
200
|
+
`);throw ja(t(r,...a)+`
|
|
201
|
+
|
|
202
|
+
Here are the matching elements:
|
|
203
|
+
|
|
204
|
+
`+l,r)}return o[0]||null}}function Xh(e,t){return Z().getElementError(`A better query is available, try this:
|
|
205
|
+
`+e.toString()+`
|
|
206
|
+
`,t)}function Ul(e,t){return function(r){for(var n=arguments.length,a=new Array(n>1?n-1:0),i=1;i<n;i++)a[i-1]=arguments[i];let o=e(r,...a);if(!o.length)throw Z().getElementError(t(r,...a),r);return o}}function Er(e){return(t,r,n,a)=>Fl(()=>e(t,r,n),{container:t,...a})}var $t=(e,t,r)=>function(n){for(var a=arguments.length,i=new Array(a>1?a-1:0),o=1;o<a;o++)i[o-1]=arguments[o];let l=e(n,...i),[{suggest:u=Z().throwSuggestions}={}]=i.slice(-1);if(l&&u){let c=Xn(l,r);if(c&&!t.endsWith(c.queryName))throw Xh(c.toString(),n)}return l},Le=(e,t,r)=>function(n){for(var a=arguments.length,i=new Array(a>1?a-1:0),o=1;o<a;o++)i[o-1]=arguments[o];let l=e(n,...i),[{suggest:u=Z().throwSuggestions}={}]=i.slice(-1);if(l.length&&u){let c=[...new Set(l.map(s=>{var d;return(d=Xn(s,r))==null?void 0:d.toString()}))];if(c.length===1&&!t.endsWith(Xn(l[0],r).queryName))throw Xh(c[0],n)}return l};function wt(e,t,r){let n=$t(_r(e,t),e.name,"query"),a=Ul(e,r),i=_r(a,t),o=$t(i,e.name,"get"),l=Le(a,e.name.replace("query","get"),"getAll"),u=Er(Le(a,e.name,"findAll")),c=Er($t(i,e.name,"find"));return[n,l,o,u,c]}var UA=Object.freeze({__proto__:null,getElementError:Na,wrapAllByQueryWithSuggestion:Le,wrapSingleQueryWithSuggestion:$t,getMultipleElementsFoundError:ja,queryAllByAttribute:Qt,queryByAttribute:Jh,makeSingleQuery:_r,makeGetAllQuery:Ul,makeFindQuery:Er,buildQueries:wt});function HA(e){return Array.from(e.querySelectorAll("label,input")).map(t=>({node:t,textToMatch:to(t)})).filter(t=>{let{textToMatch:r}=t;return r!==null})}var zA=function(e,t,r){let{exact:n=!0,trim:a,collapseWhitespace:i,normalizer:o}=r===void 0?{}:r,l=n?gt:qr,u=Xt({collapseWhitespace:i,trim:a,normalizer:o});return HA(e).filter(c=>{let{node:s,textToMatch:d}=c;return l(d,s,t,u)}).map(c=>{let{node:s}=c;return s})},an=function(e,t,r){let{selector:n="*",exact:a=!0,collapseWhitespace:i,trim:o,normalizer:l}=r===void 0?{}:r;Et(e);let u=a?gt:qr,c=Xt({collapseWhitespace:i,trim:o,normalizer:l}),s=Array.from(e.querySelectorAll("*")).filter(d=>Hh(d).length||d.hasAttribute("aria-labelledby")).reduce((d,p)=>{let f=zh(e,p,{selector:n});f.filter(m=>!!m.formControl).forEach(m=>{u(m.content,m.formControl,t,c)&&m.formControl&&d.push(m.formControl)});let h=f.filter(m=>!!m.content).map(m=>m.content);return u(h.join(" "),p,t,c)&&d.push(p),h.length>1&&h.forEach((m,g)=>{u(m,p,t,c)&&d.push(p);let b=[...h];b.splice(g,1),b.length>1&&u(b.join(" "),p,t,c)&&d.push(p)}),d},[]).concat(Qt("aria-label",e,t,{exact:a,normalizer:c}));return Array.from(new Set(s)).filter(d=>d.matches(n))},Gt=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];let i=an(e,t,...n);if(!i.length){let o=zA(e,t,...n);if(o.length){let l=o.map(u=>VA(e,u)).filter(u=>!!u);throw l.length?Z().getElementError(l.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(`
|
|
207
|
+
|
|
208
|
+
`),e):Z().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 Z().getElementError("Unable to find a label with the text of: "+t,e)}return i};function VA(e,t){let r=t.getAttribute("for");if(!r)return null;let n=e.querySelector('[id="'+r+'"]');return n?n.tagName.toLowerCase():null}var Qh=(e,t)=>"Found multiple elements with the text of: "+t,Zh=$t(_r(an,Qh),an.name,"query"),em=_r(Gt,Qh),tm=Er(Le(Gt,Gt.name,"findAll")),rm=Er($t(em,Gt.name,"find")),nm=Le(Gt,Gt.name,"getAll"),am=$t(em,Gt.name,"get"),im=Le(an,an.name,"queryAll"),ro=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return Et(t[0]),Qt("placeholder",...t)},GA=(e,t)=>"Found multiple elements with the placeholder text of: "+t,WA=(e,t)=>"Unable to find an element with the placeholder text of: "+t,om=Le(ro,ro.name,"queryAll"),[lm,sm,um,cm,dm]=wt(ro,GA,WA),no=function(e,t,r){let{selector:n="*",exact:a=!0,collapseWhitespace:i,trim:o,ignore:l=Z().defaultIgnore,normalizer:u}=r===void 0?{}:r;Et(e);let c=a?gt:qr,s=Xt({collapseWhitespace:i,trim:o,normalizer:u}),d=[];return typeof e.matches=="function"&&e.matches(n)&&(d=[e]),[...d,...Array.from(e.querySelectorAll(n))].filter(p=>!l||!p.matches(l)).filter(p=>c(gn(p),p,t,s))},KA=(e,t)=>"Found multiple elements with the text: "+t,YA=function(e,t,r){r===void 0&&(r={});let{collapseWhitespace:n,trim:a,normalizer:i,selector:o}=r,l=Xt({collapseWhitespace:n,trim:a,normalizer:i})(t.toString()),u=l!==t.toString(),c=(o??"*")!=="*";return"Unable to find an element with the text: "+(u?l+" (normalized from '"+t+"')":t)+(c?", which matches selector '"+o+"'":"")+". 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."},fm=Le(no,no.name,"queryAll"),[pm,hm,mm,bm,gm]=wt(no,KA,YA),ao=function(e,t,r){let{exact:n=!0,collapseWhitespace:a,trim:i,normalizer:o}=r===void 0?{}:r;Et(e);let l=n?gt:qr,u=Xt({collapseWhitespace:a,trim:i,normalizer:o});return Array.from(e.querySelectorAll("input,textarea,select")).filter(c=>c.tagName==="SELECT"?Array.from(c.options).filter(s=>s.selected).some(s=>l(gn(s),s,t,u)):l(c.value,c,t,u))},JA=(e,t)=>"Found multiple elements with the display value: "+t+".",XA=(e,t)=>"Unable to find an element with the display value: "+t+".",ym=Le(ao,ao.name,"queryAll"),[vm,_m,Em,wm,Cm]=wt(ao,JA,XA),QA=/^(img|input|area|.+-.+)$/i,io=function(e,t,r){return r===void 0&&(r={}),Et(e),Qt("alt",e,t,r).filter(n=>QA.test(n.tagName))},ZA=(e,t)=>"Found multiple elements with the alt text: "+t,eq=(e,t)=>"Unable to find an element with the alt text: "+t,Rm=Le(io,io.name,"queryAll"),[Tm,Pm,Sm,Om,Am]=wt(io,ZA,eq),tq=e=>{var t;return e.tagName.toLowerCase()==="title"&&((t=e.parentElement)==null?void 0:t.tagName.toLowerCase())==="svg"},oo=function(e,t,r){let{exact:n=!0,collapseWhitespace:a,trim:i,normalizer:o}=r===void 0?{}:r;Et(e);let l=n?gt:qr,u=Xt({collapseWhitespace:a,trim:i,normalizer:o});return Array.from(e.querySelectorAll("[title], svg > title")).filter(c=>l(c.getAttribute("title"),c,t,u)||tq(c)&&l(gn(c),c,t,u))},rq=(e,t)=>"Found multiple elements with the title: "+t+".",nq=(e,t)=>"Unable to find an element with the title: "+t+".",qm=Le(oo,oo.name,"queryAll"),[xm,Mm,$m,Nm,jm]=wt(oo,rq,nq),lo=function(e,t,r){let{hidden:n=Z().defaultHidden,name:a,description:i,queryFallbacks:o=!1,selected:l,busy:u,checked:c,pressed:s,current:d,level:p,expanded:f,value:{now:h,min:m,max:g,text:b}={}}=r===void 0?{}:r;if(Et(e),l!==void 0){var y;if(((y=He.roles.get(t))==null?void 0:y.props["aria-selected"])===void 0)throw new Error('"aria-selected" is not supported on role "'+t+'".')}if(u!==void 0){var R;if(((R=He.roles.get(t))==null?void 0:R.props["aria-busy"])===void 0)throw new Error('"aria-busy" is not supported on role "'+t+'".')}if(c!==void 0){var _;if(((_=He.roles.get(t))==null?void 0:_.props["aria-checked"])===void 0)throw new Error('"aria-checked" is not supported on role "'+t+'".')}if(s!==void 0){var C;if(((C=He.roles.get(t))==null?void 0:C.props["aria-pressed"])===void 0)throw new Error('"aria-pressed" is not supported on role "'+t+'".')}if(d!==void 0){var w;if(((w=He.roles.get(t))==null?void 0:w.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(h!==void 0){var v;if(((v=He.roles.get(t))==null?void 0:v.props["aria-valuenow"])===void 0)throw new Error('"aria-valuenow" is not supported on role "'+t+'".')}if(g!==void 0){var E;if(((E=He.roles.get(t))==null?void 0:E.props["aria-valuemax"])===void 0)throw new Error('"aria-valuemax" is not supported on role "'+t+'".')}if(m!==void 0){var O;if(((O=He.roles.get(t))==null?void 0:O.props["aria-valuemin"])===void 0)throw new Error('"aria-valuemin" is not supported on role "'+t+'".')}if(b!==void 0){var M;if(((M=He.roles.get(t))==null?void 0:M.props["aria-valuetext"])===void 0)throw new Error('"aria-valuetext" is not supported on role "'+t+'".')}if(f!==void 0){var N;if(((N=He.roles.get(t))==null?void 0:N.props["aria-expanded"])===void 0)throw new Error('"aria-expanded" is not supported on role "'+t+'".')}let k=new WeakMap;function j(I){return k.has(I)||k.set(I,Wh(I)),k.get(I)}return Array.from(e.querySelectorAll(aq(t))).filter(I=>{if(I.hasAttribute("role")){let B=I.getAttribute("role");if(o)return B.split(" ").filter(Boolean).some(K=>K===t);let[z]=B.split(" ");return z===t}return Dl(I).some(B=>B===t)}).filter(I=>{if(l!==void 0)return l===AA(I);if(u!==void 0)return u===qA(I);if(c!==void 0)return c===xA(I);if(s!==void 0)return s===MA(I);if(d!==void 0)return d===$A(I);if(f!==void 0)return f===NA(I);if(p!==void 0)return p===jA(I);if(h!==void 0||g!==void 0||m!==void 0||b!==void 0){let z=!0;if(h!==void 0&&z&&(z=h===IA(I)),g!==void 0&&z&&(z=g===LA(I)),m!==void 0&&z&&(z=m===BA(I)),b!==void 0){var B;z&&(z=gt((B=kA(I))!=null?B:null,I,b,K=>K))}return z}return!0}).filter(I=>a===void 0?!0:gt(jl(I,{computedStyleSupportsPseudoElements:Z().computedStyleSupportsPseudoElements}),I,a,B=>B)).filter(I=>i===void 0?!0:gt(Mh(I,{computedStyleSupportsPseudoElements:Z().computedStyleSupportsPseudoElements}),I,i,B=>B)).filter(I=>n===!1?$a(I,{isSubtreeInaccessible:j})===!1:!0)};function aq(e){var t;let r='*[role~="'+e+'"]',n=(t=He.roleElements.get(e))!=null?t:new Set,a=new Set(Array.from(n).map(i=>{let{name:o}=i;return o}));return[r].concat(Array.from(a)).join(",")}var Im=e=>{let t="";return e===void 0?t="":typeof e=="string"?t=' and name "'+e+'"':t=" and name `"+e+"`",t},iq=function(e,t,r){let{name:n}=r===void 0?{}:r;return'Found multiple elements with the role "'+t+'"'+Im(n)},oq=function(e,t,r){let{hidden:n=Z().defaultHidden,name:a,description:i}=r===void 0?{}:r;if(Z()._disableExpensiveErrorDiagnostics)return'Unable to find role="'+t+'"'+Im(a);let o="";Array.from(e.children).forEach(s=>{o+=Yh(s,{hidden:n,includeDescription:i!==void 0})});let l;o.length===0?n===!1?l="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":l="There are no available roles.":l=(`
|
|
209
|
+
Here are the `+(n===!1?"accessible":"available")+` roles:
|
|
210
|
+
|
|
211
|
+
`+o.replace(/\n/g,`
|
|
212
|
+
`).replace(/\n\s\s\n/g,`
|
|
213
|
+
|
|
214
|
+
`)+`
|
|
215
|
+
`).trim();let u="";a===void 0?u="":typeof a=="string"?u=' and name "'+a+'"':u=" and name `"+a+"`";let c="";return i===void 0?c="":typeof i=="string"?c=' and description "'+i+'"':c=" and description `"+i+"`",(`
|
|
216
|
+
Unable to find an `+(n===!1?"accessible ":"")+'element with the role "'+t+'"'+u+c+`
|
|
217
|
+
|
|
218
|
+
`+l).trim()},Lm=Le(lo,lo.name,"queryAll"),[Bm,km,Dm,Fm,Um]=wt(lo,iq,oq),Hl=()=>Z().testIdAttribute,so=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return Et(t[0]),Qt(Hl(),...t)},lq=(e,t)=>"Found multiple elements by: ["+Hl()+'="'+t+'"]',sq=(e,t)=>"Unable to find an element by: ["+Hl()+'="'+t+'"]',Hm=Le(so,so.name,"queryAll"),[zm,Vm,Gm,Wm,Km]=wt(so,lq,sq),Qn=Object.freeze({__proto__:null,queryAllByLabelText:im,queryByLabelText:Zh,getAllByLabelText:nm,getByLabelText:am,findAllByLabelText:tm,findByLabelText:rm,queryByPlaceholderText:lm,queryAllByPlaceholderText:om,getByPlaceholderText:um,getAllByPlaceholderText:sm,findAllByPlaceholderText:cm,findByPlaceholderText:dm,queryByText:pm,queryAllByText:fm,getByText:mm,getAllByText:hm,findAllByText:bm,findByText:gm,queryByDisplayValue:vm,queryAllByDisplayValue:ym,getByDisplayValue:Em,getAllByDisplayValue:_m,findAllByDisplayValue:wm,findByDisplayValue:Cm,queryByAltText:Tm,queryAllByAltText:Rm,getByAltText:Sm,getAllByAltText:Pm,findAllByAltText:Om,findByAltText:Am,queryByTitle:xm,queryAllByTitle:qm,getByTitle:$m,getAllByTitle:Mm,findAllByTitle:Nm,findByTitle:jm,queryByRole:Bm,queryAllByRole:Lm,getAllByRole:km,getByRole:Dm,findAllByRole:Fm,findByRole:Um,queryByTestId:zm,queryAllByTestId:Hm,getByTestId:Gm,getAllByTestId:Vm,findAllByTestId:Wm,findByTestId:Km});function uo(e,t,r){return t===void 0&&(t=Qn),r===void 0&&(r={}),Object.keys(t).reduce((n,a)=>{let i=t[a];return n[a]=i.bind(null,e),n},r)}var Ym=e=>!e||Array.isArray(e)&&!e.length;function gc(e){if(Ym(e))throw new Error("The element(s) given to waitForElementToBeRemoved are already removed. waitForElementToBeRemoved requires that the element(s) exist(s) before waiting for removal.")}async function uq(e,t){let r=new Error("Timed out in waitForElementToBeRemoved.");if(typeof e!="function"){gc(e);let n=(Array.isArray(e)?e:[e]).map(a=>{let i=a.parentElement;if(i===null)return()=>null;for(;i.parentElement;)i=i.parentElement;return()=>i.contains(a)?a:null});e=()=>n.map(a=>a()).filter(Boolean)}return gc(e()),Fl(()=>{let n;try{n=e()}catch(a){if(a.name==="TestingLibraryElementError")return;throw a}if(!Ym(n))throw r},t)}var yc={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}}},vc={doubleClick:"dblClick"};function on(e,t){return Z().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 jn(e,t,r,n){let{EventType:a="Event",defaultInit:i={}}=n===void 0?{}:n;if(!t)throw new Error('Unable to fire a "'+e+'" event - please provide a DOM element.');let o={...i,...r},{target:{value:l,files:u,...c}={}}=o;l!==void 0&&cq(t,l),u!==void 0&&Object.defineProperty(t,"files",{configurable:!0,enumerable:!0,writable:!0,value:u}),Object.assign(t,c);let s=Fh(t),d=s[a]||s.Event,p;if(typeof d=="function")p=new d(e,o);else{p=s.document.createEvent(a);let{bubbles:f,cancelable:h,detail:m,...g}=o;p.initEvent(e,f,h,m),Object.keys(g).forEach(b=>{p[b]=g[b]})}return["dataTransfer","clipboardData"].forEach(f=>{let h=o[f];typeof h=="object"&&(typeof s.DataTransfer=="function"?Object.defineProperty(p,f,{value:Object.getOwnPropertyNames(h).reduce((m,g)=>(Object.defineProperty(m,g,{value:h[g]}),m),new s.DataTransfer)}):Object.defineProperty(p,f,{value:h}))}),p}Object.keys(yc).forEach(e=>{let{EventType:t,defaultInit:r}=yc[e],n=e.toLowerCase();jn[e]=(a,i)=>jn(n,a,i,{EventType:t,defaultInit:r}),on[e]=(a,i)=>on(a,jn[e](a,i))});function cq(e,t){let{set:r}=Object.getOwnPropertyDescriptor(e,"value")||{},n=Object.getPrototypeOf(e),{set:a}=Object.getOwnPropertyDescriptor(n,"value")||{};if(a&&r!==a)a.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(vc).forEach(e=>{let t=vc[e];on[e]=function(){return on[t](...arguments)}});function dq(e){return e.replace(/[ \t]*[\n][ \t]*/g,`
|
|
219
|
+
`)}function fq(e){return rA.default.compressToEncodedURIComponent(dq(e))}function pq(e){return"https://testing-playground.com/#markup="+fq(e)}var hq=(e,t,r)=>Array.isArray(e)?e.forEach(n=>eo(n,t,r)):eo(e,t,r),mq=function(e){if(e===void 0&&(e=Bl().body),!e||!("innerHTML"in e)){console.log("The element you're providing isn't a valid DOM element.");return}if(!e.innerHTML){console.log("The provided element doesn't have any children.");return}let t=pq(e.innerHTML);return console.log(`Open this URL in your browser
|
|
220
|
+
|
|
221
|
+
`+t),t},_c={debug:hq,logTestingPlaygroundURL:mq},bq=typeof document<"u"&&document.body?uo(document.body,Qn,_c):Object.keys(Qn).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),_c);function X(e,t,r){return e.namespaceURI&&e.namespaceURI!=="http://www.w3.org/1999/xhtml"||(t=Array.isArray(t)?t:[t],!t.includes(e.tagName.toLowerCase()))?!1:r?Object.entries(r).every(([n,a])=>e[n]===a):!0}var co;(function(e){e.button="button",e.color="color",e.file="file",e.image="image",e.reset="reset",e.submit="submit",e.checkbox="checkbox",e.radio="radio"})(co||(co={}));function Jm(e){return X(e,"button")||X(e,"input")&&e.type in co}function it(e){var t;if(gq(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 ${yq(e)}`)}function gq(e){return e.nodeType===9}function yq(e){return typeof e=="function"?`function ${e.name}`:e===null?"null":String(e)}function Xm(e,t){return new Promise((r,n)=>{let a=new t;a.onerror=n,a.onabort=n,a.onload=()=>{r(String(a.result))},a.readAsText(e)})}function zl(e,t){let r={...t,length:t.length,item:n=>r[n],[Symbol.iterator]:function*(){for(let n=0;n<r.length;n++)yield r[n]}};return r.constructor=e.FileList,e.FileList&&Object.setPrototypeOf(r,e.FileList.prototype),Object.freeze(r),r}function qt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Qm=class{getAsFile(){return this.file}getAsString(e){typeof this.data=="string"&&e(this.data)}webkitGetAsEntry(){throw new Error("not implemented")}constructor(e,t){qt(this,"kind",void 0),qt(this,"type",void 0),qt(this,"file",null),qt(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)}},vq=class extends Array{add(...e){let t=new Qm(e[0],e[1]);return this.push(t),t}clear(){this.splice(0,this.length)}remove(e){this.splice(e,1)}};function Rn(e,t){let[r,n]=e.split("/"),a=!n||n==="*";return i=>t?i.type===(a?r:e):a?i.type.startsWith(`${r}/`):i.type===r}function _q(e){return new class{getData(t){var r;let n=(r=this.items.find(Rn(t,!0)))!==null&&r!==void 0?r:this.items.find(Rn(t,!1)),a="";return n==null||n.getAsString(i=>{a=i}),a}setData(t,r){let n=this.items.findIndex(Rn(t,!0)),a=new Qm(r,t);n>=0?this.items.splice(n,1,a):this.items.push(a)}clearData(t){if(t){let r=this.items.findIndex(Rn(t,!0));r>=0&&this.items.remove(r)}else this.items.clear()}get types(){let t=[];return this.files.length&&t.push("Files"),this.items.forEach(r=>t.push(r.type)),Object.freeze(t),t}setDragImage(){}constructor(){qt(this,"dropEffect","none"),qt(this,"effectAllowed","uninitialized"),qt(this,"items",new vq),qt(this,"files",zl(e,[]))}}}function Vl(e,t=[]){let r=typeof e.DataTransfer>"u"?_q(e):new e.DataTransfer;return Object.defineProperty(r,"files",{get:()=>zl(e,t)}),r}function Eq(e,t){if(t.kind==="file")return t.getAsFile();let r="";return t.getAsString(n=>{r=n}),new e.Blob([r],{type:t.type})}function Zm(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function eb(e,...t){let r=Object.fromEntries(t.map(n=>[typeof n=="string"?"text/plain":n.type,Promise.resolve(n)]));return typeof e.ClipboardItem<"u"?new e.ClipboardItem(r):new class{get types(){return Array.from(Object.keys(this.data))}async getType(n){let a=await this.data[n];if(!a)throw new Error(`${n} is not one of the available MIME types on this item.`);return a instanceof e.Blob?a:new e.Blob([a],{type:n})}constructor(n){Zm(this,"data",void 0),this.data=n}}(r)}var wr=Symbol("Manage ClipboardSub");function Ec(e,t){return Object.assign(new class extends e.EventTarget{async read(){return Array.from(this.items)}async readText(){let r="";for(let n of this.items){let a=n.types.includes("text/plain")?"text/plain":n.types.find(i=>i.startsWith("text/"));a&&(r+=await n.getType(a).then(i=>Xm(i,e.FileReader)))}return r}async write(r){this.items=r}async writeText(r){this.items=[eb(e,r)]}constructor(...r){super(...r),Zm(this,"items",[])}},{[wr]:t})}function Gl(e){return!!(e!=null&&e[wr])}function wq(e){if(Gl(e.navigator.clipboard))return e.navigator.clipboard[wr];let t=Object.getOwnPropertyDescriptor(e.navigator,"clipboard"),r,n={resetClipboardStub:()=>{r=Ec(e,n)},detachClipboardStub:()=>{t?Object.defineProperty(e.navigator,"clipboard",t):Object.defineProperty(e.navigator,"clipboard",{value:void 0,configurable:!0})}};return r=Ec(e,n),Object.defineProperty(e.navigator,"clipboard",{get:()=>r,configurable:!0}),r[wr]}function Cq(e){Gl(e.navigator.clipboard)&&e.navigator.clipboard[wr].resetClipboardStub()}function Rq(e){Gl(e.navigator.clipboard)&&e.navigator.clipboard[wr].detachClipboardStub()}async function Tq(e){let t=e.defaultView,r=t==null?void 0:t.navigator.clipboard,n=r&&await r.read();if(!n)throw new Error("The Clipboard API is unavailable.");let a=Vl(t);for(let i of n)for(let o of i.types)a.setData(o,await i.getType(o).then(l=>Xm(l,t.FileReader)));return a}async function tb(e,t){let r=it(e),n=r.navigator.clipboard,a=[];for(let i=0;i<t.items.length;i++){let o=t.items[i],l=Eq(r,o);a.push(eb(r,l))}if(!(n&&await n.write(a).then(()=>!0,()=>!1)))throw new Error("The Clipboard API is unavailable.")}var Zn=globalThis;typeof Zn.afterEach=="function"&&Zn.afterEach(()=>Cq(globalThis.window));typeof Zn.afterAll=="function"&&Zn.afterAll(()=>Rq(globalThis.window));function Wt(e){return e.hasAttribute("contenteditable")&&(e.getAttribute("contenteditable")=="true"||e.getAttribute("contenteditable")=="")}function ln(e){let t=Pq(e);return t&&(t.closest('[contenteditable=""]')||t.closest('[contenteditable="true"]'))}function Pq(e){return e.nodeType===1?e:e.parentElement}function Cr(e){return rb(e)&&!e.readOnly||Wt(e)}var fo;(function(e){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"})(fo||(fo={}));function rb(e){return X(e,"textarea")||X(e,"input")&&e.type in fo}var po;(function(e){e.email="email",e.password="password",e.search="search",e.telephone="telephone",e.text="text",e.url="url"})(po||(po={}));function Sq(e){var t;let r=(t=e.getAttribute("maxlength"))!==null&&t!==void 0?t:"";return/^\d+$/.test(r)&&Number(r)>=0?Number(r):void 0}function Oq(e){return X(e,"textarea")||X(e,"input")&&e.type in po}var nb=["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 Wl(e){return e.matches(nb)}var ea;(function(e){e["{"]="}",e["["]="]"})(ea||(ea={}));function ab(e,t){let r=0,n=e[r]in ea?e[r]:"";r+=n.length;let a=new RegExp(`^\\${n}{2}`).test(e)?"":n;return{type:a,...a===""?Aq(e,r,t):qq(e,r,a,t)}}function Aq(e,t,r){let n=e[t];return ib(n,e,t,r),t+=n.length,{consumedLength:t,descriptor:n,releasePrevious:!1,releaseSelf:!0,repeat:1}}function qq(e,t,r,n){var a,i;let o=e[t]==="/"?"/":"";t+=o.length;let l=r==="{"&&e[t]==="\\";t+=Number(l);let u=l?e[t]:(a=e.slice(t).match(r==="{"?/^\w+|^[^}>/]/:/^\w+/))===null||a===void 0?void 0:a[0];ib(u,e,t,n),t+=u.length;var c;let s=(c=(i=e.slice(t).match(/^>\d+/))===null||i===void 0?void 0:i[0])!==null&&c!==void 0?c:"";t+=s.length;let d=e[t]==="/"||!s&&e[t]===">"?e[t]:"";t+=d.length;let p=ea[r],f=e[t]===p?p:"";if(!f)throw new Error(ob([!s&&"repeat modifier",!d&&"release modifier",`"${p}"`].filter(Boolean).join(" or "),e[t],e,n));return t+=f.length,{consumedLength:t,descriptor:u,releasePrevious:!!o,repeat:s?Math.max(Number(s.substr(1)),1):1,releaseSelf:xq(d,s)}}function ib(e,t,r,n){if(!e)throw new Error(ob("key descriptor",t[r],t,n))}function xq(e,t){if(e)return e==="/";if(t)return!1}function ob(e,t,r,n){return`Expected ${e} but found "${t??""}" in "${r}"
|
|
222
|
+
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"}
|
|
223
|
+
for more information about how userEvent parses your input.`}function Mq(e){return new e.constructor(e.type,e)}var je;(function(e){e[e.Trigger=2]="Trigger",e[e.Call=1]="Call"})(je||(je={}));function Ir(e,t){e.levelRefs[t]={}}function Tn(e,t){return e.levelRefs[t]}var dr;(function(e){e[e.EachTrigger=4]="EachTrigger",e[e.EachApiCall=2]="EachApiCall",e[e.EachTarget=1]="EachTarget",e[e.Never=0]="Never"})(dr||(dr={}));function yt(e){for(let r=e;r;r=r.parentElement)if(X(r,["button","input","select","textarea","optgroup","option"])){if(r.hasAttribute("disabled"))return!0}else if(X(r,"fieldset")){var t;if(r.hasAttribute("disabled")&&!(!((t=r.querySelector(":scope > legend"))===null||t===void 0)&&t.contains(e)))return!0}else if(r.tagName.includes("-")&&r.constructor.formAssociated&&r.hasAttribute("disabled"))return!0;return!1}function Ia(e){let t=e.activeElement;return t!=null&&t.shadowRoot?Ia(t.shadowRoot):yt(t)?e.ownerDocument?e.ownerDocument.body:e.body:t}function si(e){var t;return(t=Ia(e))!==null&&t!==void 0?t:e.body}function $q(e,t){let r=e;do{if(t(r))return r;r=r.parentElement}while(r&&r!==e.ownerDocument.body)}function ot(e){return lb(e)&&rb(e)}function Nq(e){return lb(e)&&Jm(e)}function lb(e){return e.nodeType===1}function jq(e){let t=e.ownerDocument.getSelection();if(t!=null&&t.focusNode&&ot(e)){let n=ln(t.focusNode);if(n){if(!t.isCollapsed){var r;let 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)}}function Rr(e,t){return Z().eventWrapper(e)}function Nt(e){let t=$q(e,Wl),r=Ia(e.ownerDocument);(t??e.ownerDocument.body)!==r&&(Rr(t?()=>t.focus():()=>r==null?void 0:r.blur()),jq(t??e.ownerDocument.body))}function Iq(e){!Wl(e)||Ia(e.ownerDocument)!==e||Rr(()=>e.blur())}var jt={};jt.click=(e,t,r)=>{let n=t.closest("button,input,label,select,textarea"),a=n&&X(n,"label")&&n.control;if(a)return()=>{Wl(a)&&Nt(a),r.dispatchEvent(a,Mq(e))};if(X(t,"input",{type:"file"}))return()=>{Iq(t),t.dispatchEvent(new(it(t)).Event("fileDialog")),Nt(t)}};var Tr=Symbol("Displayed value in UI"),bt=Symbol("Displayed selection in UI"),ta=Symbol("Initial value to compare on blur");function Lq(e){return typeof e=="object"&&Tr in e}function Bq(e){return!!e&&typeof e=="object"&&bt in e}function kq(e,t){e[ta]===void 0&&(e[ta]=e.value),e[Tr]=t,e.value=Object.assign(new String(t),{[Tr]:!0})}function lt(e){return e[Tr]===void 0?e.value:String(e[Tr])}function Kl(e){e[Tr]=void 0}function sb(e){e[ta]=void 0}function Dq(e){return e[ta]}function Fq(e,t){e[bt]=t}function xr(e,{focusOffset:t,anchorOffset:r=t},n="replace"){let a=lt(e).length,i=d=>Math.max(0,Math.min(a,d)),o=n==="replace"||e[bt]===void 0?i(r):e[bt].anchorOffset,l=i(t),u=Math.min(o,l),c=Math.max(o,l);if(e[bt]={anchorOffset:o,focusOffset:l},e.selectionStart===u&&e.selectionEnd===c)return;let s=Object.assign(new Number(u),{[bt]:!0});try{e.setSelectionRange(s,c)}catch{}}function sn(e){var t,r,n;let a=(n=e[bt])!==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 Uq(e){return!!e[bt]}function In(e){e[bt]=void 0}var ra=globalThis.parseInt;function Hq(e){let t=e.replace(/\D/g,"");if(t.length<2)return e;let r=ra(t[0],10),n=ra(t[1],10);if(r>=3||r===2&&n>=4){let a;return r>=3?a=1:a=2,wc(t,a)}return e.length===2?e:wc(t,2)}function wc(e,t){let r=e.slice(0,t),n=Math.min(ra(r,10),23),a=e.slice(t),i=ra(a,10),o=Math.min(i,59);return`${n.toString().padStart(2,"0")}:${o.toString().padStart(2,"0")}`}function ub(e,t){let r=e.cloneNode();return r.value=t,r.value===t}function cb(e,t,r,n){if(Ln(e)&&t+r>=0&&t+r<=e.nodeValue.length)return{node:e,offset:t+r};let a=Cc(e,t,r);if(a){if(Ln(a))return{node:a,offset:r>0?Math.min(1,a.nodeValue.length):Math.max(a.nodeValue.length-1,0)};if(X(a,"br")){let i=Cc(a,void 0,r);return i?Ln(i)?{node:i,offset:r>0?0:i.nodeValue.length}:r<0&&X(i,"br")?{node:a.parentNode,offset:Pn(a)}:{node:i.parentNode,offset:Pn(i)+(r>0?0:1)}:r<0&&n==="deleteContentBackward"?{node:a.parentNode,offset:Pn(a)}:void 0}else return{node:a.parentNode,offset:Pn(a)+(r>0?1:0)}}}function Cc(e,t,r){let n=Number(t)+(r<0?-1:0);return t!==void 0&&Yl(e)&&n>=0&&n<e.children.length&&(e=e.children[n]),Vq(e,r===1?"next":"previous",zq)}function zq(e){if(Ln(e))return!0;if(Yl(e)){if(X(e,["input","textarea"]))return e.type!=="hidden";if(X(e,"br"))return!0}return!1}function Pn(e){let t=0;for(;e.previousSibling;)t++,e=e.previousSibling;return t}function Yl(e){return e.nodeType===1}function Ln(e){return e.nodeType===3}function Vq(e,t,r){for(;;){var n;let a=e[`${t}Sibling`];if(a){if(e=Gq(a,t==="next"?"first":"last"),r(e))return e}else if(e.parentNode&&(!Yl(e.parentNode)||!Wt(e.parentNode)&&e.parentNode!==((n=e.ownerDocument)===null||n===void 0?void 0:n.body)))e=e.parentNode;else break}}function Gq(e,t){for(;e.hasChildNodes();)e=e[`${t}Child`];return e}var un=Symbol("Track programmatic changes for React workaround");function Wq(e){return Object.getOwnPropertyNames(e).some(t=>t.startsWith("__react"))&&it(e).REACT_VERSION===17}function Kq(e){Wq(e)&&(e[un]={previousValue:String(e.value),tracked:[]})}function Yq(e,t){var r,n;(n=e[un])===null||n===void 0||(r=n.tracked)===null||r===void 0||r.push(t),e[un]||(Kl(e),xr(e,{focusOffset:t.length}))}function Jq(e,t){var r;let n=e[un];if(e[un]=void 0,!(!(n==null||(r=n.tracked)===null||r===void 0)&&r.length))return;let a=n.tracked.length===2&&n.tracked[0]===n.previousValue&&n.tracked[1]===e.value;a||Kl(e),Uq(e)&&xr(e,{focusOffset:a?t:e.value.length})}function db(e){let t=Xq(e);if(t&&ot(t))return{type:"input",selection:sn(t)};let r=t==null?void 0:t.ownerDocument.getSelection();return{type:ln(e)&&(r!=null&&r.anchorNode)&&ln(r.anchorNode)?"contenteditable":"default",selection:r}}function Xq(e){return e.nodeType===1?e:e.parentElement}function Qq(e){let t=db(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 Kt({focusNode:e,focusOffset:t,anchorNode:r=e,anchorOffset:n=t}){var a,i;if(db(e).type==="input")return xr(e,{anchorOffset:n,focusOffset:t});(i=r.ownerDocument)===null||i===void 0||(a=i.getSelection())===null||a===void 0||a.setBaseAndExtent(r,n,e,t)}function fb(e){return X(e,"input")&&["date","time"].includes(e.type)}function Pr(e,t,r,n="insertText"){let a=Qq(t);a&&(!fb(t)&&!e.dispatchUIEvent(t,"beforeinput",{inputType:n,data:r})||("startContainer"in a?Zq(e,t,a,r,n):ex(e,t,a,r,n)))}function Zq(e,t,r,n,a){let i=!1;if(!r.collapsed)i=!0,r.deleteContents();else if(["deleteContentBackward","deleteContentForward"].includes(a)){let o=cb(r.startContainer,r.startOffset,a==="deleteContentBackward"?-1:1,a);if(o){i=!0;let l=r.cloneRange();l.comparePoint(o.node,o.offset)<0?l.setStart(o.node,o.offset):l.setEnd(o.node,o.offset),l.deleteContents()}}if(n)if(r.endContainer.nodeType===3){let o=r.endOffset;r.endContainer.insertData(o,n),r.setStart(r.endContainer,o+n.length),r.setEnd(r.endContainer,o+n.length)}else{let o=t.ownerDocument.createTextNode(n);r.insertNode(o),r.setStart(o,n.length),r.setEnd(o,n.length)}(i||n)&&e.dispatchUIEvent(t,"input",{inputType:a})}function ex(e,t,r,n,a){let i=n;if(Oq(t)){let c=Sq(t);if(c!==void 0&&n.length>0){let s=c-t.value.length;if(s>0)i=n.substring(0,s);else return}}let{newValue:o,newOffset:l,oldValue:u}=tx(i,t,r,a);o===u&&l===r.startOffset&&l===r.endOffset||X(t,"input",{type:"number"})&&!rx(o)||(kq(t,o),Kt({focusNode:t,anchorOffset:l,focusOffset:l}),fb(t)?ub(t,o)&&(Rc(e,t,l,{}),e.dispatchUIEvent(t,"change"),sb(t)):Rc(e,t,l,{data:n,inputType:a}))}function tx(e,t,{startOffset:r,endOffset:n},a){let i=lt(t),o=Math.max(0,r===n&&a==="deleteContentBackward"?r-1:r),l=i.substring(0,o),u=Math.min(i.length,r===n&&a==="deleteContentForward"?r+1:n),c=i.substring(u,i.length),s=`${l}${e}${c}`,d=o+e.length;if(X(t,"input",{type:"time"})){let p=Hq(s);p!==""&&ub(t,p)&&(s=p,d=p.length)}return{oldValue:i,newValue:s,newOffset:d}}function Rc(e,t,r,n){e.dispatchUIEvent(t,"input",n),Jq(t,r)}function rx(e){var t,r;let n=e.split("e",2);return!(/[^\d.\-e]/.test(e)||Number((t=e.match(/-/g))===null||t===void 0?void 0:t.length)>2||Number((r=e.match(/\./g))===null||r===void 0?void 0:r.length)>1||n[1]&&!/^-?\d*$/.test(n[1]))}jt.cut=(e,t,r)=>()=>{Cr(t)&&Pr(r,t,"","deleteByCut")};function nx(e){return e?Wt(e)?e.textContent:lt(e):null}function ax(e){let t=it(e);for(let r=e;r!=null&&r.ownerDocument;r=r.parentElement){let{display:n,visibility:a}=t.getComputedStyle(r);if(n==="none"||a==="hidden")return!1}return!0}function ix(e,t){let r=e.ownerDocument,n=r.querySelectorAll(nb),a=Array.from(n).filter(u=>u===e||!(Number(u.getAttribute("tabindex"))<0||yt(u)));Number(e.getAttribute("tabindex"))>=0&&a.sort((u,c)=>{let s=Number(u.getAttribute("tabindex")),d=Number(c.getAttribute("tabindex"));return s===d?0:s===0?1:d===0?-1:s-d});let i={},o=[r.body],l=X(e,"input",{type:"radio"})?e.name:void 0;a.forEach(u=>{let c=u;if(X(c,"input",{type:"radio"})&&c.name){if(c===e){o.push(c);return}else if(c.name===l)return;if(c.checked){o=o.filter(s=>!X(s,"input",{type:"radio",name:c.name})),o.push(c),i[c.name]=c;return}if(typeof i[c.name]<"u")return}o.push(c)});for(let u=o.findIndex(c=>c===e);;)if(u+=t?-1:1,u===o.length?u=0:u===-1&&(u=o.length-1),o[u]===e||o[u]===r.body||ax(o[u]))return o[u]}function Tc(e,t){if(ot(e)){let r=sn(e);Kt({focusNode:e,focusOffset:r.startOffset===r.endOffset?r.focusOffset+t:t<0?r.startOffset:r.endOffset})}else{let r=e.ownerDocument.getSelection();if(!(r!=null&&r.focusNode))return;if(r.isCollapsed){let n=cb(r.focusNode,r.focusOffset,t);n&&Kt({focusNode:n.node,focusOffset:n.offset})}else r[t<0?"collapseToStart":"collapseToEnd"]()}}function pb(e){if(ot(e))return Kt({focusNode:e,anchorOffset:0,focusOffset:lt(e).length});var t;let r=(t=ln(e))!==null&&t!==void 0?t:e.ownerDocument.body;Kt({focusNode:r,anchorOffset:0,focusOffset:r.childNodes.length})}function ox(e){if(ot(e))return sn(e).startOffset===0&&sn(e).endOffset===lt(e).length;var t;let r=(t=ln(e))!==null&&t!==void 0?t:e.ownerDocument.body,n=e.ownerDocument.getSelection();return(n==null?void 0:n.anchorNode)===r&&n.focusNode===r&&n.anchorOffset===0&&n.focusOffset===r.childNodes.length}function Lr(e,t,r){var n;if(ot(e))return Kt({focusNode:e,anchorOffset:t,focusOffset:r});if(Wt(e)&&((n=e.firstChild)===null||n===void 0?void 0:n.nodeType)===3)return Kt({focusNode:e.firstChild,anchorOffset:t,focusOffset:r});throw new Error("Not implemented. The result of this interaction is unreliable.")}function Sn(e,t,r){let n=it(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 i=a.findIndex(o=>o===t)+r;;i+=r){if(a[i]||(i=r>0?0:a.length-1),a[i]===t)return;yt(a[i])||(Nt(a[i]),e.dispatchUIEvent(a[i],"click"))}}jt.keydown=(e,t,r)=>{var n,a;return(a=(n=Pc[e.key])===null||n===void 0?void 0:n.call(Pc,e,t,r))!==null&&a!==void 0?a:lx(e,t,r)};var Pc={ArrowDown:(e,t,r)=>{if(X(t,"input",{type:"radio"}))return()=>Sn(r,t,-1)},ArrowLeft:(e,t,r)=>X(t,"input",{type:"radio"})?()=>Sn(r,t,-1):()=>Tc(t,-1),ArrowRight:(e,t,r)=>X(t,"input",{type:"radio"})?()=>Sn(r,t,1):()=>Tc(t,1),ArrowUp:(e,t,r)=>{if(X(t,"input",{type:"radio"}))return()=>Sn(r,t,1)},Backspace:(e,t,r)=>{if(Cr(t))return()=>{Pr(r,t,"","deleteContentBackward")}},Delete:(e,t,r)=>{if(Cr(t))return()=>{Pr(r,t,"","deleteContentForward")}},End:(e,t)=>{if(X(t,["input","textarea"])||Wt(t))return()=>{var r,n;let a=(n=(r=nx(t))===null||r===void 0?void 0:r.length)!==null&&n!==void 0?n:0;Lr(t,a,a)}},Home:(e,t)=>{if(X(t,["input","textarea"])||Wt(t))return()=>{Lr(t,0,0)}},PageDown:(e,t)=>{if(X(t,["input"]))return()=>{let r=lt(t).length;Lr(t,r,r)}},PageUp:(e,t)=>{if(X(t,["input"]))return()=>{Lr(t,0,0)}},Tab:(e,t,r)=>()=>{let n=ix(t,r.system.keyboard.modifiers.Shift);Nt(n),ot(n)&&xr(n,{anchorOffset:0,focusOffset:n.value.length})}},lx=(e,t,r)=>{if(e.code==="KeyA"&&r.system.keyboard.modifiers.Control)return()=>pb(t)};jt.keypress=(e,t,r)=>{if(e.key==="Enter"){if(X(t,"button")||X(t,"input")&&sx.includes(t.type)||X(t,"a")&&t.href)return()=>{r.dispatchUIEvent(t,"click")};if(X(t,"input")){let n=t.form,a=n==null?void 0:n.querySelector('input[type="submit"], button:not([type]), button[type="submit"]');return a?()=>r.dispatchUIEvent(a,"click"):n&&ux.includes(t.type)&&n.querySelectorAll("input").length===1?()=>r.dispatchUIEvent(n,"submit"):void 0}}if(Cr(t)){let n=e.key==="Enter"?Wt(t)&&!r.system.keyboard.modifiers.Shift?"insertParagraph":"insertLineBreak":"insertText",a=e.key==="Enter"?`
|
|
224
|
+
`:e.key;return()=>Pr(r,t,a,n)}};var sx=["button","color","file","image","reset","submit"],ux=["email","month","password","search","tel","text","url","week"];jt.keyup=(e,t,r)=>{var n;return(n=Sc[e.key])===null||n===void 0?void 0:n.call(Sc,e,t,r)};var Sc={" ":(e,t,r)=>{if(Jm(t))return()=>r.dispatchUIEvent(t,"click")}};jt.paste=(e,t,r)=>{if(Cr(t))return()=>{var n;let a=(n=e.clipboardData)===null||n===void 0?void 0:n.getData("text");a&&Pr(r,t,a,"insertFromPaste")}};var hb={auxclick:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},beforeinput:{EventType:"InputEvent",defaultInit:{bubbles:!0,cancelable:!0,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}},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 mb(e){return hb[e].EventType}var cx=["MouseEvent","PointerEvent"];function dx(e){return cx.includes(mb(e))}function fx(e){return mb(e)==="KeyboardEvent"}var px={ClipboardEvent:[mx],Event:[],InputEvent:[On,bx],MouseEvent:[On,ui,Oc],PointerEvent:[On,ui,Oc,yx],KeyboardEvent:[On,ui,gx]};function bb(e,t,r){let n=it(t),{EventType:a,defaultInit:i}=hb[e],o=new(hx(n))[a](e,i);return px[a].forEach(l=>l(o,r??{})),o}function hx(e){var t;let r=(t=e.Event)!==null&&t!==void 0?t:class{};var n;let a=(n=e.AnimationEvent)!==null&&n!==void 0?n:class extends r{};var i;let o=(i=e.ClipboardEvent)!==null&&i!==void 0?i:class extends r{};var l;let u=(l=e.PopStateEvent)!==null&&l!==void 0?l:class extends r{};var c;let s=(c=e.ProgressEvent)!==null&&c!==void 0?c:class extends r{};var d;let p=(d=e.TransitionEvent)!==null&&d!==void 0?d:class extends r{};var f;let h=(f=e.UIEvent)!==null&&f!==void 0?f:class extends r{};var m;let g=(m=e.CompositionEvent)!==null&&m!==void 0?m:class extends h{};var b;let y=(b=e.FocusEvent)!==null&&b!==void 0?b:class extends h{};var R;let _=(R=e.InputEvent)!==null&&R!==void 0?R:class extends h{};var C;let w=(C=e.KeyboardEvent)!==null&&C!==void 0?C:class extends h{};var v;let E=(v=e.MouseEvent)!==null&&v!==void 0?v:class extends h{};var O;let M=(O=e.DragEvent)!==null&&O!==void 0?O:class extends E{};var N;let k=(N=e.PointerEvent)!==null&&N!==void 0?N:class extends E{};var j;let I=(j=e.TouchEvent)!==null&&j!==void 0?j:class extends h{};return{Event:r,AnimationEvent:a,ClipboardEvent:o,PopStateEvent:u,ProgressEvent:s,TransitionEvent:p,UIEvent:h,CompositionEvent:g,FocusEvent:y,InputEvent:_,KeyboardEvent:w,MouseEvent:E,DragEvent:M,PointerEvent:k,TouchEvent:I}}function Zt(e,t){for(let[r,n]of Object.entries(t))Object.defineProperty(e,r,{get:()=>n??null})}function Re(e){return Number(e??0)}function mx(e,{clipboardData:t}){Zt(e,{clipboardData:t})}function bx(e,{data:t,inputType:r,isComposing:n}){Zt(e,{data:t,isComposing:!!n,inputType:String(r)})}function On(e,{view:t,detail:r}){Zt(e,{view:t,detail:Re(r??0)})}function ui(e,{altKey:t,ctrlKey:r,metaKey:n,shiftKey:a,modifierAltGraph:i,modifierCapsLock:o,modifierFn:l,modifierFnLock:u,modifierNumLock:c,modifierScrollLock:s,modifierSymbol:d,modifierSymbolLock:p}){Zt(e,{altKey:!!t,ctrlKey:!!r,metaKey:!!n,shiftKey:!!a,getModifierState(f){return!!{Alt:t,AltGraph:i,CapsLock:o,Control:r,Fn:l,FnLock:u,Meta:n,NumLock:c,ScrollLock:s,Shift:a,Symbol:d,SymbolLock:p}[f]}})}function gx(e,{key:t,code:r,location:n,repeat:a,isComposing:i,charCode:o}){Zt(e,{key:String(t),code:String(r),location:Re(n),repeat:!!a,isComposing:!!i,charCode:o})}function Oc(e,{x:t,y:r,screenX:n,screenY:a,clientX:i=t,clientY:o=r,button:l,buttons:u,relatedTarget:c}){Zt(e,{screenX:Re(n),screenY:Re(a),clientX:Re(i),x:Re(i),clientY:Re(o),y:Re(o),button:Re(l),buttons:Re(u),relatedTarget:c})}function yx(e,{pointerId:t,width:r,height:n,pressure:a,tangentialPressure:i,tiltX:o,tiltY:l,twist:u,pointerType:c,isPrimary:s}){Zt(e,{pointerId:Re(t),width:Re(r),height:Re(n),pressure:Re(a),tangentialPressure:Re(i),tiltX:Re(o),tiltY:Re(l),twist:Re(u),pointerType:String(c),isPrimary:!!s})}function vx(e,t,r,n=!1){(dx(t)||fx(t))&&(r={...r,...this.system.getUIEventModifiers()});let a=bb(t,e,r);return gb.call(this,e,a,n)}function gb(e,t,r=!1){var n;let a=t.type,i=r?()=>{}:(n=jt[a])===null||n===void 0?void 0:n.call(jt,t,e,this);if(i){t.preventDefault();let o=!1;return Object.defineProperty(t,"defaultPrevented",{get:()=>o}),Object.defineProperty(t,"preventDefault",{value:()=>{o=t.cancelable}}),Rr(()=>e.dispatchEvent(t)),o||i(),!o}return Rr(()=>e.dispatchEvent(t))}function _x(e,t,r){let n=bb(t,e,r);Rr(()=>e.dispatchEvent(n))}var ci=Symbol("Interceptor for programmatical calls");function ur(e,t,r){let n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),a=Object.getOwnPropertyDescriptor(e,t),i=n!=null&&n.set?"set":"value";if(typeof(n==null?void 0:n[i])!="function"||n[i][ci])throw new Error(`Element ${e.tagName} does not implement "${String(t)}".`);function o(...l){let{applyNative:u=!1,realArgs:c,then:s}=r.call(this,...l),d=(!u&&a||n)[i];i==="set"?d.call(this,c):d.call(this,...c),s==null||s()}o[ci]=ci,Object.defineProperty(e,t,{...a??n,[i]:o})}function Ex(e){ur(e,"value",function(t){let r=Lq(t);return r&&Kq(this),{applyNative:!!r,realArgs:wx(this,t),then:r?void 0:()=>Yq(this,String(t))}})}function wx(e,t){return X(e,"input",{type:"number"})&&String(t)!==""&&!Number.isNaN(Number(t))?String(Number(t)):String(t)}function Cx(e){ur(e,"setSelectionRange",function(t,...r){let n=Bq(t);return{applyNative:!!n,realArgs:[Number(t),...r],then:()=>n?void 0:In(e)}}),ur(e,"selectionStart",function(t){return{realArgs:t,then:()=>In(e)}}),ur(e,"selectionEnd",function(t){return{realArgs:t,then:()=>In(e)}}),ur(e,"select",function(){return{realArgs:[],then:()=>Fq(e,{anchorOffset:0,focusOffset:lt(e).length})}})}function Rx(e){ur(e,"setRangeText",function(...t){return{realArgs:t,then:()=>{Kl(e),In(e)}}})}var fr=Symbol("Node prepared with document state workarounds");function yb(e){e[fr]||(e.addEventListener("focus",t=>{let r=t.target;Ac(r)},{capture:!0,passive:!0}),e.activeElement&&Ac(e.activeElement),e.addEventListener("blur",t=>{let r=t.target,n=Dq(r);n!==void 0&&(r.value!==n&&_x(r,"change"),sb(r))},{capture:!0,passive:!0}),e[fr]=fr)}function Ac(e){e[fr]||(X(e,["input","textarea"])&&(Ex(e),Cx(e),Rx(e)),e[fr]=fr)}function Tx(e){return Px(e)?e:e.ownerDocument}function Px(e){return e.nodeType===9}function Sr(e){let t=e.delay;if(typeof t=="number")return Promise.all([new Promise(r=>globalThis.setTimeout(()=>r(),t)),e.advanceTimers(t)])}function er(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var ze;(function(e){e[e.STANDARD=0]="STANDARD",e[e.LEFT=1]="LEFT",e[e.RIGHT=2]="RIGHT",e[e.NUMPAD=3]="NUMPAD"})(ze||(ze={}));var Sx=["Alt","AltGraph","Control","Fn","Meta","Shift","Symbol"];function qc(e){return Sx.includes(e)}var Ox=["CapsLock","FnLock","NumLock","ScrollLock","SymbolLock"];function xc(e){return Ox.includes(e)}var Ax=class{isKeyPressed(e){return!!this.pressed[String(e.code)]}getPressedKeys(){return Object.values(this.pressed).map(e=>e.keyDef)}async keydown(e,t){var r,n,a;let i=String(t.key),o=String(t.code),l=si(e.config.document);this.setKeydownTarget(l);var u;(u=(r=this.pressed)[n=o])!==null&&u!==void 0||(r[n]={keyDef:t,unpreventedDefault:!1}),qc(i)&&(this.modifiers[i]=!0);let c=e.dispatchUIEvent(l,"keydown",{key:i,code:o});xc(i)&&!this.modifiers[i]&&(this.modifiers[i]=!0,this.modifierLockStart[i]=!0),(a=this.pressed[o]).unpreventedDefault||(a.unpreventedDefault=c),c&&this.hasKeyPress(i)&&e.dispatchUIEvent(si(e.config.document),"keypress",{key:i,code:o,charCode:t.key==="Enter"?13:String(t.key).charCodeAt(0)})}async keyup(e,t){let r=String(t.key),n=String(t.code),a=this.pressed[n].unpreventedDefault;delete this.pressed[n],qc(r)&&!Object.values(this.pressed).find(i=>i.keyDef.key===r)&&(this.modifiers[r]=!1),e.dispatchUIEvent(si(e.config.document),"keyup",{key:r,code:n},!a),xc(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){er(this,"system",void 0),er(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}),er(this,"pressed",{}),er(this,"carryChar",""),er(this,"lastKeydownTarget",void 0),er(this,"modifierLockStart",{}),this.system=e}},qx=[..."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:"Space",key:" "},{code:"AltLeft",key:"Alt",location:ze.LEFT},{code:"AltRight",key:"Alt",location:ze.RIGHT},{code:"ShiftLeft",key:"Shift",location:ze.LEFT},{code:"ShiftRight",key:"Shift",location:ze.RIGHT},{code:"ControlLeft",key:"Control",location:ze.LEFT},{code:"ControlRight",key:"Control",location:ze.RIGHT},{code:"MetaLeft",key:"Meta",location:ze.LEFT},{code:"MetaRight",key:"Meta",location:ze.RIGHT},{code:"OSLeft",key:"OS",location:ze.LEFT},{code:"OSRight",key:"OS",location:ze.RIGHT},{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"}],xx=[{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 Mx(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var vb=class{getButtons(){let e=0;for(let t of Object.keys(this.pressed))e|=2**Number(t);return e}down(e){let t=ho(e.button);if(t in this.pressed){this.pressed[t].push(e);return}return this.pressed[t]=[e],t}up(e){let t=ho(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(){Mx(this,"pressed",{})}},Mc={primary:0,secondary:1,auxiliary:2,back:3,X1:3,forward:4,X2:4};function ho(e=0){return e in Mc?Mc[e]:Number(e)}var $c={1:2,2:1};function Nc(e){return e=ho(e),e in $c?$c[e]:e}function $x(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Nx=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(){$x(this,"pressedKeys",new Set)}};function Hr(e,t){let r=[];for(let i=e;i;i=i.parentElement)r.push(i);let n=[];for(let i=t;i;i=i.parentElement)n.push(i);let 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 mo({target:e,node:t,offset:r}){return ot(e)?{node:e,offset:r??lt(e).length}:t?{node:t,offset:r??(t.nodeType===3?t.nodeValue.length:t.childNodes.length)}:_b(e,r)}function _b(e,t,r=!0){let n=t===void 0?e.childNodes.length-1:0,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.");let i=e.childNodes.item(n),o=String(i.textContent);if(o.length)if(t!==void 0&&o.length<t)t-=o.length;else{if(i.nodeType===1)return _b(i,t,!1);if(i.nodeType===3)return{node:i,offset:t??i.nodeValue.length}}n+=a}return{node:e,offset:e.childNodes.length}}function jx({document:e,target:t,clickCount:r,node:n,offset:a}){if(Nq(t))return;let i=ot(t),o=String(i?lt(t):t.textContent),[l,u]=n?[a,a]:Ix(o,a,r);if(i)return xr(t,{anchorOffset:l??o.length,focusOffset:u??o.length}),{node:t,start:l??0,end:u??o.length};{let{node:c,offset:s}=mo({target:t,node:n,offset:l}),{node:d,offset:p}=mo({target:t,node:n,offset:u}),f=t.ownerDocument.createRange();try{f.setStart(c,s),f.setEnd(d,p)}catch{throw new Error("The given offset is out of bounds.")}let h=e.getSelection();return h==null||h.removeAllRanges(),h==null||h.addRange(f.cloneRange()),f}}function Ix(e,t,r){if(r%3===1||e.length===0)return[t,t];let n=t??e.length;return r%3===2?[n-e.substr(0,t).match(/(\w+|\s+|\W)?$/)[0].length,t===void 0?t:t+e.substr(t).match(/^(\w+|\s+|\W)?/)[0].length]:[n-e.substr(0,t).match(/[^\r\n]*$/)[0].length,t===void 0?t:t+e.substr(t).match(/^[^\r\n]*/)[0].length]}function Lx(e,{document:t,target:r,node:n,offset:a}){let i=mo({target:r,node:n,offset:a});if("node"in e){if(i.node===e.node){let o=i.offset<e.start?e.end:e.start,l=i.offset>e.end||i.offset<e.start?i.offset:e.end;xr(e.node,{anchorOffset:o,focusOffset:l})}}else{let o=e.cloneRange(),l=o.comparePoint(i.node,i.offset);l<0?o.setStart(i.node,i.offset):l>0&&o.setEnd(i.node,i.offset);let u=t.getSelection();u==null||u.removeAllRanges(),u==null||u.addRange(o.cloneRange())}}function Eb(e,t){var r,n,a,i,o,l,u,c;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.y)||((a=e.coords)===null||a===void 0?void 0:a.y)!==((i=t.coords)===null||i===void 0?void 0:i.y)||((o=e.caret)===null||o===void 0?void 0:o.node)!==((l=t.caret)===null||l===void 0?void 0:l.node)||((u=e.caret)===null||u===void 0?void 0:u.offset)!==((c=t.caret)===null||c===void 0?void 0:c.offset)}function kt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Bx=class{move(e,t){let r=this.position,n=this.getTarget(e);if(this.position=t,!Eb(r,t))return;let a=this.getTarget(e),i=this.getEventInit("mousemove"),[o,l]=Hr(n,a);return{leave:()=>{n!==a&&(e.dispatchUIEvent(n,"mouseout",i),o.forEach(u=>e.dispatchUIEvent(u,"mouseleave",i)))},enter:()=>{n!==a&&(e.dispatchUIEvent(a,"mouseover",i),l.forEach(u=>e.dispatchUIEvent(u,"mouseenter",i)))},move:()=>{e.dispatchUIEvent(a,"mousemove",i),this.modifySelecting(e)}}}down(e,t,r){let n=this.buttons.down(t);if(n===void 0)return;let a=this.getTarget(e);this.buttonDownTarget[n]=a;let i=yt(a),o=this.getEventInit("mousedown",t.button);(i||e.dispatchUIEvent(a,"mousedown",o))&&(this.startSelecting(e,o.detail),Nt(a)),!i&&Nc(t.button)===2&&e.dispatchUIEvent(a,"contextmenu",this.getEventInit("contextmenu",t.button,r))}up(e,t,r){let n=this.buttons.up(t);if(n===void 0)return;let a=this.getTarget(e);if(!yt(a)){e.dispatchUIEvent(a,"mouseup",this.getEventInit("mouseup",t.button)),this.endSelecting();let i=Hr(this.buttonDownTarget[n],a)[2][0];if(i){let o=this.getEventInit("click",t.button,r);o.detail&&(e.dispatchUIEvent(i,o.button===0?"click":"auxclick",o),o.button===0&&o.detail===2&&e.dispatchUIEvent(i,"dblclick",{...this.getEventInit("dblclick",t.button),detail:o.detail}))}}}resetClickCount(){this.clickCount.reset()}getEventInit(e,t,r){let n={...this.position.coords};return r&&(n.pointerId=r.pointerId,n.pointerType=r.pointerType,n.isPrimary=r.isPrimary),n.button=Nc(t),n.buttons=this.buttons.getButtons(),e==="mousedown"?n.detail=this.clickCount.getOnDown(n.button):e==="mouseup"?n.detail=this.clickCount.getOnUp(n.button):(e==="click"||e==="auxclick")&&(n.detail=this.clickCount.incOnClick(n.button)),n}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=jx({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&&Lx(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(){kt(this,"position",{}),kt(this,"buttons",new vb),kt(this,"selecting",void 0),kt(this,"buttonDownTarget",{}),kt(this,"clickCount",new class{incOnClick(e){let 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(){kt(this,"down",{}),kt(this,"count",{})}})}};function na(e,t){var r;return((r=wb(e,t))===null||r===void 0?void 0:r.pointerEvents)!=="none"}function kx(e){let t=it(e);for(let r=e,n=[];r!=null&&r.ownerDocument;r=r.parentElement){n.push(r);let a=t.getComputedStyle(r).pointerEvents;if(a&&!["inherit","unset"].includes(a))return{pointerEvents:a,tree:n}}}var jc=Symbol("Last check for pointer-events");function wb(e,t){let r=t[jc];if(!(e.config.pointerEventsCheck!==dr.Never&&(!r||Ic(e.config.pointerEventsCheck,dr.EachApiCall)&&r[je.Call]!==Tn(e,je.Call)||Ic(e.config.pointerEventsCheck,dr.EachTrigger)&&r[je.Trigger]!==Tn(e,je.Trigger))))return r==null?void 0:r.result;let n=kx(t);return t[jc]={[je.Call]:Tn(e,je.Call),[je.Trigger]:Tn(e,je.Trigger),result:n},n}function Br(e,t){let r=wb(e,t);if((r==null?void 0:r.pointerEvents)==="none")throw new Error([`Unable to perform pointer interaction as the element ${r.tree.length>1?"inherits":"has"} \`pointer-events: none\`:`,"",Dx(r.tree)].join(`
|
|
225
|
+
`))}function Dx(e){return e.reverse().map((t,r)=>["".padEnd(r),t.tagName,t.id&&`#${t.id}`,t.hasAttribute("data-testid")&&`(testId=${t.getAttribute("data-testid")})`,Fx(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(`
|
|
226
|
+
`)}function Fx(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(X(e,["button","input","meter","output","progress","select","textarea"])&&!((t=e.labels)===null||t===void 0)&&t.length)r=Array.from(e.labels).map(o=>{var l;return(l=o.textContent)===null||l===void 0?void 0:l.trim()}).join("|");else if(X(e,"button")){var i;r=(i=e.textContent)===null||i===void 0?void 0:i.trim()}return r=r==null?void 0:r.replace(/\n/g," "),Number(r==null?void 0:r.length)>30&&(r=`${r==null?void 0:r.substring(0,29)}…`),r?`(label=${r})`:""}function Ic(e,t){return(e&t)>0}function Tt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Lc=class{init(e,t){this.position=t;let r=this.getTarget(e),[,n]=Hr(null,r),a=this.getEventInit();return Br(e,r),e.dispatchUIEvent(r,"pointerover",a),n.forEach(i=>e.dispatchUIEvent(i,"pointerenter",a)),this}move(e,t){let r=this.position,n=this.getTarget(e);if(this.position=t,!Eb(r,t))return;let a=this.getTarget(e),i=this.getEventInit(),[o,l]=Hr(n,a);return{leave:()=>{na(e,n)&&n!==a&&(e.dispatchUIEvent(n,"pointerout",i),o.forEach(u=>e.dispatchUIEvent(u,"pointerleave",i)))},enter:()=>{Br(e,a),n!==a&&(e.dispatchUIEvent(a,"pointerover",i),l.forEach(u=>e.dispatchUIEvent(u,"pointerenter",i)))},move:()=>{e.dispatchUIEvent(a,"pointermove",i)}}}down(e,t){if(this.isDown)return;let r=this.getTarget(e);Br(e,r),this.isDown=!0,this.isPrevented=!e.dispatchUIEvent(r,"pointerdown",this.getEventInit())}up(e,t){if(!this.isDown)return;let r=this.getTarget(e);Br(e,r),this.isDown=!1,e.dispatchUIEvent(r,"pointerup",this.getEventInit())}release(e){let t=this.getTarget(e),[r]=Hr(t,null),n=this.getEventInit();na(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(){return{...this.position.coords,pointerId:this.pointerId,pointerType:this.pointerType,isPrimary:this.isPrimary}}constructor({pointerId:e,pointerType:t,isPrimary:r}){Tt(this,"pointerId",void 0),Tt(this,"pointerType",void 0),Tt(this,"isPrimary",void 0),Tt(this,"isMultitouch",!1),Tt(this,"isCancelled",!1),Tt(this,"isDown",!1),Tt(this,"isPrevented",!1),Tt(this,"position",{}),this.pointerId=e,this.pointerType=t,this.isPrimary=r,this.isMultitouch=!r}};function Pt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Ux=class{isKeyPressed(e){return this.devices.get(e.pointerType).isPressed(e)}async press(e,t,r){let n=this.getPointerName(t),a=t.pointerType==="touch"?this.pointers.new(n,t).init(e,r):this.pointers.get(n);a.position=r,a.pointerType!=="touch"&&(this.mouse.position=r),this.devices.get(t.pointerType).addPressed(t),this.buttons.down(t),a.down(e,t),a.pointerType!=="touch"&&!a.isPrevented&&this.mouse.down(e,t,a)}async move(e,t,r){let n=this.pointers.get(t),a=n.move(e,r),i=n.pointerType==="touch"||n.isPrevented&&n.isDown?void 0:this.mouse.move(e,r);a==null||a.leave(),i==null||i.leave(),a==null||a.enter(),i==null||i.enter(),a==null||a.move(),i==null||i.move()}async release(e,t,r){let n=this.devices.get(t.pointerType);n.removePressed(t),this.buttons.up(t);let a=this.pointers.get(this.getPointerName(t));if(a.position=r,a.pointerType!=="touch"&&(this.mouse.position=r),n.countPressed===0&&a.up(e,t),a.pointerType==="touch"&&a.release(e),!a.isPrevented){if(a.pointerType==="touch"&&!a.isMultitouch){let i=this.mouse.move(e,a.position);i==null||i.leave(),i==null||i.enter(),i==null||i.move(),this.mouse.down(e,t,a)}if(!a.isMultitouch){let i=this.mouse.move(e,a.position);i==null||i.leave(),i==null||i.enter(),i==null||i.move(),this.mouse.up(e,t,a)}}}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){Pt(this,"system",void 0),Pt(this,"mouse",void 0),Pt(this,"buttons",void 0),Pt(this,"devices",new class{get(t){var r,n,a;return(a=(r=this.registry)[n=t])!==null&&a!==void 0||(r[n]=new Nx),this.registry[t]}constructor(){Pt(this,"registry",{})}}),Pt(this,"pointers",new class{new(t,r){let n=r.pointerType!=="touch"||!Object.values(this.registry).some(a=>a.pointerType==="touch"&&!a.isCancelled);return n||Object.values(this.registry).forEach(a=>{a.pointerType===r.pointerType&&!a.isCancelled&&(a.isMultitouch=!0)}),this.registry[t]=new Lc({pointerId:this.nextId++,pointerType:r.pointerType,isPrimary: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(){Pt(this,"registry",{mouse:new Lc({pointerId:1,pointerType:"mouse",isPrimary:!0})}),Pt(this,"nextId",2)}}),this.system=e,this.buttons=new vb,this.mouse=new Bx}};function Bc(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Cb=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(){Bc(this,"keyboard",new Ax(this)),Bc(this,"pointer",new Ux(this))}};async function Hx(e){let t=[];return this.config.skipHover||t.push({target:e}),t.push({keys:"[MouseLeft]",target:e}),this.pointer(t)}async function zx(e){return this.pointer([{target:e},"[MouseLeft][MouseLeft]"])}async function Vx(e){return this.pointer([{target:e},"[MouseLeft][MouseLeft][MouseLeft]"])}async function Gx(e){return this.pointer({target:e})}async function Wx(e){return Br(this,this.system.pointer.getMouseTarget(this)),this.pointer({target:e.ownerDocument.body})}async function Kx({shift:e}={}){return this.keyboard(e===!0?"{Shift>}{Tab}{/Shift}":e===!1?"[/ShiftLeft][/ShiftRight]{Tab}":"{Tab}")}function Yx(e,t){let r=[];do{let{type:a,descriptor:i,consumedLength:o,releasePrevious:l,releaseSelf:u=!0,repeat:c}=ab(t,"keyboard");var n;let s=(n=e.find(d=>{if(a==="["){var p;return((p=d.code)===null||p===void 0?void 0:p.toLowerCase())===i.toLowerCase()}else if(a==="{"){var f;return((f=d.key)===null||f===void 0?void 0:f.toLowerCase())===i.toLowerCase()}return d.key===i}))!==null&&n!==void 0?n:{key:"Unknown",code:"Unknown",[a==="["?"code":"key"]:i};r.push({keyDef:s,releasePrevious:l,releaseSelf:u,repeat:c}),t=t.slice(o)}while(t);return r}async function Jx(e){let t=Yx(this.config.keyboardMap,e);for(let r=0;r<t.length;r++)await Sr(this.config),await Xx(this,t[r])}async function Xx(e,{keyDef:t,releasePrevious:r,releaseSelf:n,repeat:a}){let{system:i}=e;if(i.keyboard.isKeyPressed(t)&&await i.keyboard.keyup(e,t),!r){for(let o=1;o<=a;o++)await i.keyboard.keydown(e,t),o<a&&await Sr(e.config);n&&await i.keyboard.keyup(e,t)}}async function Qx(e){for(let t of e.system.keyboard.getPressedKeys())await e.system.keyboard.keyup(e,t)}function Rb(e){let t=ot(e)?{"text/plain":Zx(e)}:{"text/plain":String(e.ownerDocument.getSelection())},r=Vl(it(e));for(let n in t)t[n]&&r.setData(n,t[n]);return r}function Zx(e){let t=sn(e);return lt(e).substring(t.startOffset,t.endOffset)}async function eM(){let e=this.config.document;var t;let r=(t=e.activeElement)!==null&&t!==void 0?t:e.body,n=Rb(r);if(n.items.length!==0)return this.dispatchUIEvent(r,"copy",{clipboardData:n})&&this.config.writeToClipboard&&await tb(e,n),n}async function tM(){let e=this.config.document;var t;let r=(t=e.activeElement)!==null&&t!==void 0?t:e.body,n=Rb(r);if(n.items.length!==0)return this.dispatchUIEvent(r,"cut",{clipboardData:n})&&this.config.writeToClipboard&&await tb(r.ownerDocument,n),n}async function rM(e){let t=this.config.document;var r;let n=(r=t.activeElement)!==null&&r!==void 0?r:t.body;var a;let i=(a=typeof e=="string"?nM(t,e):e)!==null&&a!==void 0?a:await Tq(t).catch(()=>{throw new Error("`userEvent.paste()` without `clipboardData` requires the `ClipboardAPI` to be available.")});this.dispatchUIEvent(n,"paste",{clipboardData:i})}function nM(e,t){let r=Vl(it(e));return r.setData("text",t),r}function kc(e,t){let r=[];do{let{descriptor:n,consumedLength:a,releasePrevious:i,releaseSelf:o=!0}=ab(t,"pointer"),l=e.find(u=>u.name===n);l&&r.push({keyDef:l,releasePrevious:i,releaseSelf:o}),t=t.slice(a)}while(t);return r}async function aM(e){let{pointerMap:t}=this.config,r=[];(Array.isArray(e)?e:[e]).forEach(n=>{typeof n=="string"?r.push(...kc(t,n)):"keys"in n?r.push(...kc(t,n.keys).map(a=>({...n,...a}))):r.push(n)});for(let n=0;n<r.length;n++)await Sr(this.config),await iM(this,r[n]);this.system.pointer.resetClickCount()}async function iM(e,t){var r,n;let a="pointerName"in t&&t.pointerName?t.pointerName:"keyDef"in t?e.system.pointer.getPointerName(t.keyDef):"mouse",i=e.system.pointer.getPreviousPosition(a);var o,l,u,c;let s={target:(o=t.target)!==null&&o!==void 0?o:oM(e,i),coords:(l=t.coords)!==null&&l!==void 0?l:i==null?void 0:i.coords,caret:{node:(u=t.node)!==null&&u!==void 0?u:Dc(t)||i==null||(r=i.caret)===null||r===void 0?void 0:r.node,offset:(c=t.offset)!==null&&c!==void 0?c:Dc(t)||i==null||(n=i.caret)===null||n===void 0?void 0:n.offset}};"keyDef"in t?(e.system.pointer.isKeyPressed(t.keyDef)&&(Ir(e,je.Trigger),await e.system.pointer.release(e,t.keyDef,s)),t.releasePrevious||(Ir(e,je.Trigger),await e.system.pointer.press(e,t.keyDef,s),t.releaseSelf&&(Ir(e,je.Trigger),await e.system.pointer.release(e,t.keyDef,s)))):(Ir(e,je.Trigger),await e.system.pointer.move(e,a,s))}function Dc(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 oM(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 lM(e){if(!Cr(e)||yt(e))throw new Error("clear()` is only supported on editable elements.");if(Nt(e),e.ownerDocument.activeElement!==e)throw new Error("The element to be cleared could not be focused.");if(pb(e),!ox(e))throw new Error("The element content to be cleared could not be selected.");Pr(this,e,"","deleteContentBackward")}async function sM(e,t){return Tb.call(this,!0,e,t)}async function uM(e,t){return Tb.call(this,!1,e,t)}async function Tb(e,t,r){if(!e&&!t.multiple)throw Z().getElementError("Unable to deselect an option in a non-multiple select. Use selectOptions to change the selection instead.",t);let n=Array.isArray(r)?r:[r],a=Array.from(t.querySelectorAll('option, [role="option"]')),i=n.map(l=>{if(typeof l!="string"&&a.includes(l))return l;{let u=a.find(c=>c.value===l||c.innerHTML===l);if(u)return u;throw Z().getElementError(`Value "${String(l)}" not found in options`,t)}}).filter(l=>!yt(l));if(yt(t)||!i.length)return;let o=l=>{l.selected=e,this.dispatchUIEvent(t,"input",{bubbles:!0,cancelable:!1,composed:!0}),this.dispatchUIEvent(t,"change")};if(X(t,"select"))if(t.multiple)for(let l of i){let u=this.config.pointerEventsCheck===0?!0:na(this,l);u&&(this.dispatchUIEvent(l,"pointerover"),this.dispatchUIEvent(t,"pointerenter"),this.dispatchUIEvent(l,"mouseover"),this.dispatchUIEvent(t,"mouseenter"),this.dispatchUIEvent(l,"pointermove"),this.dispatchUIEvent(l,"mousemove"),this.dispatchUIEvent(l,"pointerdown"),this.dispatchUIEvent(l,"mousedown")),Nt(t),u&&(this.dispatchUIEvent(l,"pointerup"),this.dispatchUIEvent(l,"mouseup")),o(l),u&&this.dispatchUIEvent(l,"click"),await Sr(this.config)}else if(i.length===1){let l=this.config.pointerEventsCheck===0?!0:na(this,t);l?await this.click(t):Nt(t),o(i[0]),l&&(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 Sr(this.config)}else throw Z().getElementError("Cannot select multiple options on a non-multiple select",t);else if(t.getAttribute("role")==="listbox")for(let l of i)await this.click(l),await this.unhover(l);else throw Z().getElementError("Cannot select options on elements that are neither select nor listbox elements",t)}async function cM(e,t,{skipClick:r=this.config.skipClick,skipAutoClose:n=this.config.skipAutoClose,initialSelectionStart:a,initialSelectionEnd:i}={}){e.disabled||(r||await this.click(e),a!==void 0&&Lr(e,a,i??a),await this.keyboard(t),n||await Qx(this))}var Fc=Symbol("files and value properties are mocked");function di(e,t,r){r?Object.defineProperty(e,t,r):delete e[t]}function dM(e,t){var r;(r=e[Fc])===null||r===void 0||r.restore();let n=Object.getOwnPropertyDescriptor(e,"type"),a=Object.getOwnPropertyDescriptor(e,"value"),i=Object.getOwnPropertyDescriptor(e,"files");function o(){di(e,"type",n),di(e,"value",a),di(e,"files",i)}e[Fc]={restore:o},Object.defineProperties(e,{files:{configurable:!0,get:()=>t},value:{configurable:!0,get:()=>t.length?`C:\\fakepath\\${t[0].name}`:"",set(l){if(l==="")o();else{var u;a==null||(u=a.set)===null||u===void 0||u.call(e,l)}}},type:{configurable:!0,get:()=>"file",set(l){l!=="file"&&(o(),e.type=l)}}})}async function fM(e,t){let r=X(e,"label")?e.control:e;if(!r||!X(r,"input",{type:"file"}))throw new TypeError(`The ${r===e?"given":"associated"} ${r==null?void 0:r.tagName} element does not accept file uploads`);if(yt(e))return;let n=(Array.isArray(t)?t:[t]).filter(i=>!this.config.applyAccept||pM(i,r.accept)).slice(0,r.multiple?void 0:1),a=()=>{var i;n.length===((i=r.files)===null||i===void 0?void 0:i.length)&&n.every((o,l)=>{var u;return o===((u=r.files)===null||u===void 0?void 0:u.item(l))})||(dM(r,zl(it(e),n)),this.dispatchUIEvent(r,"input"),this.dispatchUIEvent(r,"change"))};r.addEventListener("fileDialog",a),await this.click(e),r.removeEventListener("fileDialog",a)}function pM(e,t){if(!t)return!0;let r=["audio/*","image/*","video/*"];return t.split(",").some(n=>n.startsWith(".")?e.name.endsWith(n):r.includes(n)?e.type.startsWith(n.substr(0,n.length-1)):e.type===n)}var Uc={click:Hx,dblClick:zx,tripleClick:Vx,hover:Gx,unhover:Wx,tab:Kx,keyboard:Jx,copy:eM,cut:tM,paste:rM,pointer:aM,clear:lM,deselectOptions:uM,selectOptions:sM,type:cM,upload:fM};function hM(e){return Z().asyncWrapper(e)}var Pb={applyAccept:!0,autoModify:!0,delay:0,document:globalThis.document,keyboardMap:qx,pointerMap:xx,pointerEventsCheck:dr.EachApiCall,skipAutoClose:!1,skipClick:!1,skipHover:!1,writeToClipboard:!1,advanceTimers:()=>Promise.resolve()},mM={...Pb,writeToClipboard:!0};function Sb(e={},t=mM,r){let n=vM(e,r,t);return{...t,...e,document:n}}function bM(e={}){let t=Sb(e);yb(t.document);var r;let n=(r=t.document.defaultView)!==null&&r!==void 0?r:globalThis.window;return wq(n),Jl(t).api}function $e({keyboardState:e,pointerState:t,...r}={},n){let a=Sb(r,Pb,n);yb(a.document);var i;let o=(i=t??e)!==null&&i!==void 0?i:new Cb;return{api:Jl(a,o).api,system:o}}function gM(e){return Jl({...this.config,...e},this.system).api}function yM(e,t){function r(...n){return Ir(e,je.Call),hM(()=>t.apply(e,n).then(async a=>(await Sr(e.config),a)))}return Object.defineProperty(r,"name",{get:()=>t.name}),r}function Jl(e,t=new Cb){let r={};return Object.assign(r,{config:e,dispatchEvent:gb.bind(r),dispatchUIEvent:vx.bind(r),system:t,levelRefs:{},...Uc}),{instance:r,api:{...Object.fromEntries(Object.entries(Uc).map(([n,a])=>[n,yM(r,a)])),setup:gM.bind(r)}}}function vM(e,t,r){var n,a;return(a=(n=e.document)!==null&&n!==void 0?n:t&&Tx(t))!==null&&a!==void 0?a:r.document}var Ob={};Ao(Ob,{clear:()=>_M,click:()=>EM,copy:()=>wM,cut:()=>CM,dblClick:()=>RM,deselectOptions:()=>TM,hover:()=>PM,keyboard:()=>SM,paste:()=>AM,pointer:()=>OM,selectOptions:()=>qM,tab:()=>jM,tripleClick:()=>xM,type:()=>MM,unhover:()=>$M,upload:()=>NM});function _M(e){return $e().api.clear(e)}function EM(e,t={}){return $e(t,e).api.click(e)}function wM(e={}){return $e(e).api.copy()}function CM(e={}){return $e(e).api.cut()}function RM(e,t={}){return $e(t).api.dblClick(e)}function TM(e,t,r={}){return $e(r).api.deselectOptions(e,t)}function PM(e,t={}){return $e(t).api.hover(e)}async function SM(e,t={}){let{api:r,system:n}=$e(t);return r.keyboard(e).then(()=>n)}async function OM(e,t={}){let{api:r,system:n}=$e(t);return r.pointer(e).then(()=>n)}function AM(e,t){return $e(t).api.paste(e)}function qM(e,t,r={}){return $e(r).api.selectOptions(e,t)}function xM(e,t={}){return $e(t).api.tripleClick(e)}function MM(e,t,r={}){return $e(r,e).api.type(e,t,r)}function $M(e,t={}){let{api:r,system:n}=$e(t);return n.pointer.setMousePosition({target:e}),r.unhover(e)}function NM(e,t,r={}){return $e(r).api.upload(e,t)}function jM(e={}){return $e().api.tab(e)}var IM={...Ob,setup:bM};function LM(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];var n=Array.from(typeof e=="string"?[e]:e);n[n.length-1]=n[n.length-1].replace(/\r?\n([\t ]*)$/,"");var a=n.reduce(function(l,u){var c=u.match(/\n([\t ]+|(?!\s).)/g);return c?l.concat(c.map(function(s){var d,p;return(p=(d=s.match(/[\t ]/g))===null||d===void 0?void 0:d.length)!==null&&p!==void 0?p:0})):l},[]);if(a.length){var i=new RegExp(`
|
|
227
|
+
[ ]{`+Math.min.apply(Math,a)+"}","g");n=n.map(function(l){return l.replace(i,`
|
|
228
|
+
`)})}n[0]=n[0].replace(/^\r?\n/,"");var o=n[0];return t.forEach(function(l,u){var c=o.match(/(?:^|\n)( *)$/),s=c?c[1]:"",d=l;typeof l=="string"&&l.includes(`
|
|
229
|
+
`)&&(d=String(l).split(`
|
|
230
|
+
`).map(function(p,f){return f===0?p:""+s+p}).join(`
|
|
231
|
+
`)),o+=d+n[u+1]}),o}var BM=LM,bo=la({...Rh},{intercept:(e,t)=>t[0]==="fireEvent"||e.startsWith("find")||e.startsWith("waitFor")});bo.screen=new Proxy(bo.screen,{get(e,t,r){return n_.warn(BM`
|
|
232
|
+
You are using Testing Library's \`screen\` object. Use \`within(canvasElement)\` instead.
|
|
233
|
+
More info: https://storybook.js.org/docs/essentials/interactions
|
|
234
|
+
`),Reflect.get(e,t,r)}});var{buildQueries:KM,configure:YM,createEvent:JM,fireEvent:XM,findAllByAltText:QM,findAllByDisplayValue:ZM,findAllByLabelText:e$,findAllByPlaceholderText:t$,findAllByRole:r$,findAllByTestId:n$,findAllByText:a$,findAllByTitle:i$,findByAltText:o$,findByDisplayValue:l$,findByLabelText:s$,findByPlaceholderText:u$,findByRole:c$,findByTestId:d$,findByText:f$,findByTitle:p$,getAllByAltText:h$,getAllByDisplayValue:m$,getAllByLabelText:b$,getAllByPlaceholderText:g$,getAllByRole:y$,getAllByTestId:v$,getAllByText:_$,getAllByTitle:E$,getByAltText:w$,getByDisplayValue:C$,getByLabelText:R$,getByPlaceholderText:T$,getByRole:P$,getByTestId:S$,getByText:O$,getByTitle:A$,getConfig:q$,getDefaultNormalizer:x$,getElementError:M$,getNodeText:$$,getQueriesForElement:N$,getRoles:j$,getSuggestedQuery:I$,isInaccessible:L$,logDOM:B$,logRoles:k$,prettyDOM:D$,queries:F$,queryAllByAltText:U$,queryAllByAttribute:H$,queryAllByDisplayValue:z$,queryAllByLabelText:V$,queryAllByPlaceholderText:G$,queryAllByRole:W$,queryAllByTestId:K$,queryAllByText:Y$,queryAllByTitle:J$,queryByAltText:X$,queryByAttribute:Q$,queryByDisplayValue:Z$,queryByLabelText:eN,queryByPlaceholderText:tN,queryByRole:rN,queryByTestId:nN,queryByText:aN,queryByTitle:iN,queryHelpers:oN,screen:lN,waitFor:sN,waitForElementToBeRemoved:uN,within:kM,prettyFormat:cN}=bo;la({userEvent:IM},{intercept:!0});la({expect:Ch},{getKeys:(e,t)=>{let r=["assert","__methods","__flags","_obj"];if(e.constructor===S){let n=Object.keys(Object.getPrototypeOf(e)).filter(a=>!r.includes(a));return t>2?n:[...n,"not"]}return Object.keys(e)},intercept:e=>e!=="expect"});var DM=({parameters:e})=>{var t,r,n;((t=e==null?void 0:e.test)==null?void 0:t.mockReset)===!0?uO():((r=e==null?void 0:e.test)==null?void 0:r.clearMocks)===!0?sO():((n=e==null?void 0:e.test)==null?void 0:n.restoreMocks)!==!1&&cO()},go=(e,t=0,r)=>{var n;if(t>5||e==null)return e;if(ph(e))return r&&e.mockName(r),e;if(typeof e=="function"&&"isAction"in e&&e.isAction&&!("implicit"in e&&e.implicit)){let a=oO(e);return r&&a.mockName(r),a}if(Array.isArray(e))return t++,e.map(a=>go(a,t));if(typeof e=="object"&&e.constructor===Object){t++;for(let[a,i]of Object.entries(e))(n=Object.getOwnPropertyDescriptor(e,a))!=null&&n.writable&&(e[a]=go(i,t,a));return e}return e},FM=({initialArgs:e})=>{go(e)},UM=e=>{globalThis.HTMLElement&&e.canvasElement instanceof globalThis.HTMLElement&&(e.canvas=kM(e.canvasElement))};Pd.__STORYBOOK_TEST_LOADERS__=[DM,FM,UM];Pd.__STORYBOOK_TEST_ON_MOCK_CALL__=iO;var{step:dN}=la({step:(e,t,r)=>t(r)},{intercept:!0}),fN={throwPlayFunctionExceptions:!1};export{fN as parameters,dN as runStep};
|