@epa-wg/custom-element-dist 0.0.27 → 0.0.29
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 +2 -2
- package/README.md +4 -4
- package/coverage/coverage-final.json +21 -22
- package/coverage/index.html +19 -34
- package/coverage/src/custom-element/coverage.svg +1 -1
- package/coverage/src/custom-element/custom-element.js/coverage.svg +1 -1
- package/coverage/src/custom-element/custom-element.js.html +491 -368
- package/coverage/src/custom-element/http-request.js.html +12 -12
- package/coverage/src/custom-element/index.html +19 -19
- package/coverage/src/custom-element/local-storage.js.html +52 -52
- package/coverage/src/custom-element/location-element.js.html +4 -4
- package/coverage/src/custom-element/module-url.js.html +1 -1
- package/coverage/src/index.html +1 -1
- package/coverage/src/mocks/handlers.ts.html +1 -1
- package/coverage/src/mocks/index.html +1 -1
- package/coverage/src/stories/attributes.test.stories.ts.html +11 -2
- package/coverage/src/stories/css.test.stories.ts.html +8 -2
- package/coverage/src/stories/dom-merge.test.stories.ts.html +3 -3
- package/coverage/src/stories/external-template.test.stories.ts.html +8 -2
- package/coverage/src/stories/form.test.stories.ts.html +8 -2
- package/coverage/src/stories/http-request.stories.ts.html +1 -1
- package/coverage/src/stories/index.html +1 -1
- package/coverage/src/stories/local-storage.test.stories.ts.html +24 -18
- package/coverage/src/stories/location-element.test.stories.ts.html +8 -2
- package/coverage/src/stories/module-url.test.stories.ts.html +8 -2
- package/coverage/src/stories/set-url.test.stories.ts.html +8 -2
- package/coverage/src/stories/slice-events.test.stories.ts.html +8 -2
- package/coverage/src/stories/slots.test.stories.ts.html +8 -2
- package/coverage/src/stories/testStoryBook.ts.html +12 -12
- package/coverage/src/stories/version-select.test.stories.ts.html +8 -2
- package/coverage/src/sum.ts.html +1 -1
- package/dist/custom-element-BOIPgtxz.js +565 -0
- package/dist/custom-element-CUsSENWc.cjs +97 -0
- package/dist/custom-element-bundle.cjs +1 -1
- package/dist/custom-element-bundle.js +22 -21
- package/dist/demo/a.svg +26 -26
- package/dist/demo/demo.css +0 -3
- package/dist/demo/s.xml +18 -3
- package/dist/demo/s.xslt +37 -54
- package/dist/demo/ss.html +24 -57
- package/package.json +13 -13
- package/public/demo/a.svg +26 -26
- package/public/demo/demo.css +0 -3
- package/public/demo/s.xml +18 -3
- package/public/demo/s.xslt +37 -54
- package/public/demo/ss.html +24 -57
- package/src/custom-element/custom-element.js +61 -20
- package/src/custom-element/demo/a.svg +26 -26
- package/src/custom-element/demo/demo.css +0 -3
- package/src/custom-element/demo/s.xml +18 -3
- package/src/custom-element/demo/s.xslt +37 -54
- package/src/custom-element/demo/ss.html +24 -57
- package/src/custom-element/ide/web-types-dce.json +1 -1
- package/src/custom-element/ide/web-types-xsl.json +1 -1
- package/src/dce-social-preview.png +0 -0
- package/src/material/angular.css +987 -0
- package/src/material/components/autocomplete.html +241 -0
- package/src/material/components/dropdown.html +115 -0
- package/src/material/components/icon-link.html +161 -0
- package/src/material/components/menu.html +235 -0
- package/src/material/components.html +121 -0
- package/src/material/demo.css +31 -0
- package/src/material/index.html +111 -0
- package/src/material/material.css +357 -0
- package/src/material/theme/README.md +18 -0
- package/src/material/theme/semantic.css +112 -0
- package/src/mocks/versions.mock.ts +8 -8
- package/src/stories/attributes.test.stories.ts +3 -0
- package/src/stories/css.test.stories.ts +2 -0
- package/src/stories/dom-merge.test.stories.ts +2 -2
- package/src/stories/external-template.test.stories.ts +2 -0
- package/src/stories/form.test.stories.ts +2 -0
- package/src/stories/local-storage.test.stories.ts +2 -0
- package/src/stories/location-element.test.stories.ts +2 -0
- package/src/stories/module-url.test.stories.ts +2 -0
- package/src/stories/set-url.test.stories.ts +2 -0
- package/src/stories/slice-events.test.stories.ts +2 -0
- package/src/stories/slots.test.stories.ts +2 -0
- package/src/stories/version-select.test.stories.ts +2 -0
- package/storybook-static/assets/Color-ERTF36HU-CQkSD2nd.js +1 -0
- package/storybook-static/assets/Configure-DOhzHFEs.js +165 -0
- package/storybook-static/assets/DocsRenderer-CFRXHY34-BSJkbsd6.js +2 -0
- package/storybook-static/assets/{attributes.test.stories-Bt5V18qO.js → attributes.test.stories-BJBuuXgZ.js} +4 -4
- package/storybook-static/assets/{css.test.stories-CGYy2daE.js → css.test.stories-pgbBc17d.js} +1 -1
- package/storybook-static/assets/custom-element-BDGsYgbP.js +97 -0
- package/storybook-static/assets/{dom-merge.test.stories-XlsZ0UvX.js → dom-merge.test.stories-CXcYP_-J.js} +5 -5
- package/storybook-static/assets/entry-preview-C313OLrj.js +26 -0
- package/storybook-static/assets/{entry-preview-docs-BMKNVQXA.js → entry-preview-docs-B7ORr9w5.js} +2 -2
- package/storybook-static/assets/{external-template.test.stories-Bt_Pflu8.js → external-template.test.stories-CpJ68Ghy.js} +13 -13
- package/storybook-static/assets/{form.test.stories-B0NoI8wm.js → form.test.stories-D35lyqd8.js} +2 -2
- package/storybook-static/assets/{handlers-B5969HUu.js → handlers-CW9pDZnt.js} +6 -6
- package/storybook-static/assets/{http-request.stories-B2skuTFV.js → http-request.stories-CBbknCOO.js} +6 -6
- package/storybook-static/assets/iframe-DOi4N7qI.js +2 -0
- package/storybook-static/assets/{index-C7lvoJNv.js → index-B3QjF0Ed.js} +1 -1
- package/storybook-static/assets/index-BSz1w4Gl.js +234 -0
- package/storybook-static/assets/index-BdcJ-iJ7.js +8 -0
- package/storybook-static/assets/index-CaL3Qp7t.js +634 -0
- package/storybook-static/assets/index-DgFM0Ce3.js +1 -0
- package/storybook-static/assets/index-YxUFxnQR.js +1 -0
- package/storybook-static/assets/{local-storage.test.stories-DfY6feqG.js → local-storage.test.stories-BY-PWhuk.js} +5 -5
- package/storybook-static/assets/{location-element.test.stories-944AotIJ.js → location-element.test.stories-3auBYEaU.js} +3 -3
- package/storybook-static/assets/{module-url.test.stories-DSKcwApl.js → module-url.test.stories-B7L9cL60.js} +6 -6
- package/storybook-static/assets/{preview-0Jj89qip.js → preview-BRPR-UXC.js} +1 -1
- package/storybook-static/assets/{preview-DB9FwMii.js → preview-BWzBA1C2.js} +1 -1
- package/storybook-static/assets/preview-BhhEZcNS.js +1 -0
- package/storybook-static/assets/{preview-CadgX-4y.js → preview-C992A1Y-.js} +2 -2
- package/storybook-static/assets/preview-CcS4DQh8.js +1 -0
- package/storybook-static/assets/{preview-AJR7rVPD.js → preview-CfWMRsRq.js} +1 -1
- package/storybook-static/assets/{preview-FpHGYA1q.js → preview-DHPc-V4N.js} +1 -1
- package/storybook-static/assets/preview-DYzi3Z2p.js +1 -0
- package/storybook-static/assets/{preview-4Up_z4Em.js → preview-caVMbCIR.js} +2 -2
- package/storybook-static/assets/preview-ncvtW_hb.js +34 -0
- package/storybook-static/assets/{set-url.test.stories-DjLHKkEh.js → set-url.test.stories-CuSuDLIx.js} +3 -3
- package/storybook-static/assets/{slice-events.test.stories-8I_BrHd6.js → slice-events.test.stories-BkRKsKem.js} +4 -4
- package/storybook-static/assets/{slots.test.stories-CvZz4jyP.js → slots.test.stories-BJCUWFkE.js} +8 -8
- package/storybook-static/assets/{version-select.test.stories-DSxmJylI.js → version-select.test.stories-B3ybJn_Z.js} +2 -2
- package/storybook-static/demo/a.svg +26 -26
- package/storybook-static/demo/demo.css +0 -3
- package/storybook-static/demo/s.xml +18 -3
- package/storybook-static/demo/s.xslt +37 -54
- package/storybook-static/demo/ss.html +24 -57
- package/storybook-static/iframe.html +1 -1
- package/storybook-static/index.html +3 -7
- package/storybook-static/project.json +1 -1
- package/storybook-static/sb-addons/essentials-actions-3/manager-bundle.js +1 -1
- package/storybook-static/sb-addons/essentials-backgrounds-4/manager-bundle.js +9 -9
- package/storybook-static/sb-addons/essentials-controls-2/manager-bundle.js +76 -94
- package/storybook-static/sb-addons/essentials-measure-7/manager-bundle.js +1 -1
- package/storybook-static/sb-addons/essentials-outline-8/manager-bundle.js +1 -1
- package/storybook-static/sb-addons/essentials-toolbars-6/manager-bundle.js +1 -1
- package/storybook-static/sb-addons/essentials-viewport-5/manager-bundle.js +1 -1
- package/storybook-static/sb-addons/interactions-9/manager-bundle.js +211 -0
- package/storybook-static/sb-addons/interactions-9/manager-bundle.js.LEGAL.txt +0 -0
- package/storybook-static/sb-manager/globals-module-info.js +11 -0
- package/storybook-static/sb-manager/globals-runtime.js +27803 -26928
- package/storybook-static/sb-manager/runtime.js +10341 -10136
- package/storybook-static/sb-preview/runtime.js +3841 -3828
- package/.idea/custom-element-dist.iml +0 -9
- package/.idea/misc.xml +0 -6
- package/.idea/modules.xml +0 -8
- package/.idea/vcs.xml +0 -6
- package/coverage/src/custom-element/demo/coverage.svg +0 -10
- package/coverage/src/custom-element/demo/index.html +0 -116
- package/coverage/src/custom-element/demo/z.js/coverage.svg +0 -10
- package/coverage/src/custom-element/demo/z.js.html +0 -112
- package/dist/custom-element-BMMsP1Dy.js +0 -533
- package/dist/custom-element-CPSk7s0j.cjs +0 -87
- package/dist/demo/s1.xslt +0 -60
- package/dist/demo/z.html +0 -33
- package/dist/demo/z.js +0 -9
- package/dist/demo/z.xml +0 -60
- package/dist/demo/z1.html +0 -34
- package/public/demo/s1.xslt +0 -60
- package/public/demo/z.html +0 -33
- package/public/demo/z.js +0 -9
- package/public/demo/z.xml +0 -60
- package/public/demo/z1.html +0 -34
- package/src/custom-element/demo/s1.xslt +0 -60
- package/src/custom-element/demo/z.html +0 -33
- package/src/custom-element/demo/z.js +0 -9
- package/src/custom-element/demo/z.xml +0 -60
- package/src/custom-element/demo/z1.html +0 -34
- package/storybook-static/assets/Color-KGDBMAHA-CJo5gHY3.js +0 -1
- package/storybook-static/assets/Configure-DdXbGKhY.js +0 -173
- package/storybook-static/assets/DocsRenderer-PKQXORMH-DLnpL5hE.js +0 -2
- package/storybook-static/assets/custom-element-D8hcDZHh.js +0 -265
- package/storybook-static/assets/entry-preview-BKQ8UCxI.js +0 -8
- package/storybook-static/assets/iframe-Dfrt81rk.js +0 -2
- package/storybook-static/assets/index-Ay195x2L.js +0 -605
- package/storybook-static/assets/index-C3ChPTMh.js +0 -1
- package/storybook-static/assets/index-C8k3Z-3Y.js +0 -28
- package/storybook-static/assets/index-DGdNYaqV.js +0 -8
- package/storybook-static/assets/index-Gpdhz4ab.js +0 -1
- package/storybook-static/assets/lit-element-DzhCn-8W.js +0 -19
- package/storybook-static/assets/preview-BJPLiuSt.js +0 -1
- package/storybook-static/assets/preview-BMWqy4Bi.js +0 -1
- package/storybook-static/assets/preview-BnWGZYux.js +0 -1
- package/storybook-static/assets/preview-Djh1_Tal.js +0 -20
- package/storybook-static/demo/s1.xslt +0 -60
- package/storybook-static/demo/z.html +0 -33
- package/storybook-static/demo/z.js +0 -9
- package/storybook-static/demo/z.xml +0 -60
- package/storybook-static/demo/z1.html +0 -34
- package/storybook-static/sb-addons/chromatic-com-storybook-9/manager-bundle.js +0 -336
- package/storybook-static/sb-addons/chromatic-com-storybook-9/manager-bundle.js.LEGAL.txt +0 -77
- package/storybook-static/sb-addons/interactions-10/manager-bundle.js +0 -234
- /package/{storybook-static/sb-addons/interactions-10/manager-bundle.js.LEGAL.txt → src/material/guide/getting-started/index.html} +0 -0
|
@@ -0,0 +1,234 @@
|
|
|
1
|
+
const{once:dg}=__STORYBOOK_MODULE_CLIENT_LOGGER__,{FORCE_REMOUNT:es,STORY_RENDER_PHASE_CHANGED:fg,SET_CURRENT_STORY:pg}=__STORYBOOK_MODULE_CORE_EVENTS__,{addons:mg}=__STORYBOOK_MODULE_PREVIEW_API__,{global:Me}=__STORYBOOK_MODULE_GLOBAL__;var hg=(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')}),bg={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]},gg=Object.entries(bg);function _i(e){return String(e)}_i.open="";_i.close="";function yg(e=!1){let t=typeof process<"u"?process:void 0,r=t?.env||{},n=t?.argv||[];return!("NO_COLOR"in r||n.includes("--no-color"))&&("FORCE_COLOR"in r||n.includes("--color")||t?.platform==="win32"||e&&r.TERM!=="dumb"||"CI"in r)||typeof window<"u"&&!!window.chrome}function vg(e=!1){let t=yg(e),r=(a,l,u,c)=>{let s="",d=0;do s+=a.substring(d,c)+u,d=c+l.length,c=a.indexOf(l,d);while(~c);return s+a.substring(d)},n=(a,l,u=a)=>{let c=s=>{let d=String(s),p=d.indexOf(l,a.length);return~p?a+r(d,l,u,p)+l:a+d+l};return c.open=a,c.close=l,c},o={isColorSupported:t},i=a=>`\x1B[${a}m`;for(let[a,l]of gg)o[a]=t?n(i(l[0]),i(l[1]),l[2]):_i;return o}var pt=vg(!1);function _g(e,t){let r=Object.keys(e),n=t===null?r:r.sort(t);if(Object.getOwnPropertySymbols)for(let o of Object.getOwnPropertySymbols(e))Object.getOwnPropertyDescriptor(e,o).enumerable&&n.push(o);return n}function ao(e,t,r,n,o,i,a=": "){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,o),p=i(c.value[1],t,s,n,o);l+=d+a+p,c=e.next(),c.done?t.min||(l+=","):l+=`,${t.spacingInner}`}l+=t.spacingOuter+r}return l}function Ei(e,t,r,n,o,i){let a="",l=0,u=e.next();if(!u.done){a+=t.spacingOuter;let c=r+t.indent;for(;!u.done;){if(a+=c,l++===t.maxWidth){a+="…";break}a+=i(u.value,t,c,n,o),u=e.next(),u.done?t.min||(a+=","):a+=`,${t.spacingInner}`}a+=t.spacingOuter+r}return a}function Dn(e,t,r,n,o,i){let a="";e=e instanceof ArrayBuffer?new DataView(e):e;let l=c=>c instanceof DataView,u=l(e)?e.byteLength:e.length;if(u>0){a+=t.spacingOuter;let c=r+t.indent;for(let s=0;s<u;s++){if(a+=c,s===t.maxWidth){a+="…";break}(l(e)||s in e)&&(a+=i(l(e)?e.getInt8(s):e[s],t,c,n,o)),s<u-1?a+=`,${t.spacingInner}`:t.min||(a+=",")}a+=t.spacingOuter+r}return a}function wi(e,t,r,n,o,i){let a="",l=_g(e,t.compareKeys);if(l.length>0){a+=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,o),p=i(e[s],t,u,n,o);a+=`${u+d}: ${p}`,c<l.length-1?a+=`,${t.spacingInner}`:t.min||(a+=",")}a+=t.spacingOuter+r}return a}var Eg=typeof Symbol=="function"&&Symbol.for?Symbol.for("jest.asymmetricMatcher"):1267621,Bo=" ",wg=(e,t,r,n,o,i)=>{let a=e.toString();if(a==="ArrayContaining"||a==="ArrayNotContaining")return++n>t.maxDepth?`[${a}]`:`${a+Bo}[${Dn(e.sample,t,r,n,o,i)}]`;if(a==="ObjectContaining"||a==="ObjectNotContaining")return++n>t.maxDepth?`[${a}]`:`${a+Bo}{${wi(e.sample,t,r,n,o,i)}}`;if(a==="StringMatching"||a==="StringNotMatching"||a==="StringContaining"||a==="StringNotContaining")return a+Bo+i(e.sample,t,r,n,o);if(typeof e.toAsymmetricMatcher!="function")throw new TypeError(`Asymmetric matcher ${e.constructor.name} does not implement toAsymmetricMatcher()`);return e.toAsymmetricMatcher()},Cg=e=>e&&e.$$typeof===Eg,Rg={serialize:wg,test:Cg},Tg=" ",Gc=new Set(["DOMStringMap","NamedNodeMap"]),Pg=/^(?:HTML\w*Collection|NodeList)$/;function Sg(e){return Gc.has(e)||Pg.test(e)}var Og=e=>e&&e.constructor&&!!e.constructor.name&&Sg(e.constructor.name);function Ag(e){return e.constructor.name==="NamedNodeMap"}var qg=(e,t,r,n,o,i)=>{let a=e.constructor.name;return++n>t.maxDepth?`[${a}]`:(t.min?"":a+Tg)+(Gc.has(a)?`{${wi(Ag(e)?[...e].reduce((l,u)=>(l[u.name]=u.value,l),{}):{...e},t,r,n,o,i)}}`:`[${Dn([...e],t,r,n,o,i)}]`)},xg={serialize:qg,test:Og};function Wc(e){return e.replaceAll("<","<").replaceAll(">",">")}function Ci(e,t,r,n,o,i,a){let l=n+r.indent,u=r.colors;return e.map(c=>{let s=t[c],d=a(s,r,l,o,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 Ri(e,t,r,n,o,i){return e.map(a=>t.spacingOuter+r+(typeof a=="string"?Kc(a,t):i(a,t,r,n,o))).join("")}function Kc(e,t){let r=t.colors.content;return r.open+Wc(e)+r.close}function Mg(e,t){let r=t.colors.comment;return`${r.open}<!--${Wc(e)}-->${r.close}`}function Ti(e,t,r,n,o){let i=n.colors.tag;return`${i.open}<${e}${t&&i.close+t+n.spacingOuter+o+i.open}${r?`>${i.close}${r}${n.spacingOuter}${o}${i.open}</${e}`:`${t&&!n.min?"":" "}/`}>${i.close}`}function Pi(e,t){let r=t.colors.tag;return`${r.open}<${e}${r.close} …${r.open} />${r.close}`}var $g=1,Yc=3,Jc=8,Xc=11,Ng=/^(?:(?:HTML|SVG)\w*)?Element$/;function jg(e){try{return typeof e.hasAttribute=="function"&&e.hasAttribute("is")}catch{return!1}}function Ig(e){let t=e.constructor.name,{nodeType:r,tagName:n}=e,o=typeof n=="string"&&n.includes("-")||jg(e);return r===$g&&(Ng.test(t)||o)||r===Yc&&t==="Text"||r===Jc&&t==="Comment"||r===Xc&&t==="DocumentFragment"}var Lg=e=>{var t;return((t=e?.constructor)==null?void 0:t.name)&&Ig(e)};function Bg(e){return e.nodeType===Yc}function Dg(e){return e.nodeType===Jc}function Do(e){return e.nodeType===Xc}var kg=(e,t,r,n,o,i)=>{if(Bg(e))return Kc(e.data,t);if(Dg(e))return Mg(e.data,t);let a=Do(e)?"DocumentFragment":e.tagName.toLowerCase();return++n>t.maxDepth?Pi(a,t):Ti(a,Ci(Do(e)?[]:Array.from(e.attributes,l=>l.name).sort(),Do(e)?{}:[...e.attributes].reduce((l,u)=>(l[u.name]=u.value,l),{}),t,r+t.indent,n,o,i),Ri(Array.prototype.slice.call(e.childNodes||e.children),t,r+t.indent,n,o,i),t,r)},Fg={serialize:kg,test:Lg},Ug="@@__IMMUTABLE_ITERABLE__@@",Hg="@@__IMMUTABLE_LIST__@@",zg="@@__IMMUTABLE_KEYED__@@",Vg="@@__IMMUTABLE_MAP__@@",ts="@@__IMMUTABLE_ORDERED__@@",Gg="@@__IMMUTABLE_RECORD__@@",Wg="@@__IMMUTABLE_SEQ__@@",Kg="@@__IMMUTABLE_SET__@@",Yg="@@__IMMUTABLE_STACK__@@",pr=e=>`Immutable.${e}`,io=e=>`[${e}]`,Vr=" ",rs="…";function Jg(e,t,r,n,o,i,a){return++n>t.maxDepth?io(pr(a)):`${pr(a)+Vr}{${ao(e.entries(),t,r,n,o,i)}}`}function Xg(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 Qg(e,t,r,n,o,i){let a=pr(e._name||"Record");return++n>t.maxDepth?io(a):`${a+Vr}{${ao(Xg(e),t,r,n,o,i)}}`}function Zg(e,t,r,n,o,i){let a=pr("Seq");return++n>t.maxDepth?io(a):e[zg]?`${a+Vr}{${e._iter||e._object?ao(e.entries(),t,r,n,o,i):rs}}`:`${a+Vr}[${e._iter||e._array||e._collection||e._iterable?Ei(e.values(),t,r,n,o,i):rs}]`}function ko(e,t,r,n,o,i,a){return++n>t.maxDepth?io(pr(a)):`${pr(a)+Vr}[${Ei(e.values(),t,r,n,o,i)}]`}var ey=(e,t,r,n,o,i)=>e[Vg]?Jg(e,t,r,n,o,i,e[ts]?"OrderedMap":"Map"):e[Hg]?ko(e,t,r,n,o,i,"List"):e[Kg]?ko(e,t,r,n,o,i,e[ts]?"OrderedSet":"Set"):e[Yg]?ko(e,t,r,n,o,i,"Stack"):e[Wg]?Zg(e,t,r,n,o,i):Qg(e,t,r,n,o,i),ty=e=>e&&(e[Ug]===!0||e[Gg]===!0),ry={serialize:ey,test:ty},Qc={exports:{}},re={},ns;function ny(){return ns||(ns=1,function(){var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),i=Symbol.for("react.provider"),a=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"),m=!1,h=!1,y=!1,b=!1,g=!1,T;T=Symbol.for("react.module.reference");function C(M){return!!(typeof M=="string"||typeof M=="function"||M===r||M===o||g||M===n||M===c||M===s||b||M===f||m||h||y||typeof M=="object"&&M!==null&&(M.$$typeof===p||M.$$typeof===d||M.$$typeof===i||M.$$typeof===a||M.$$typeof===u||M.$$typeof===T||M.getModuleId!==void 0))}function E(M){if(typeof M=="object"&&M!==null){var ie=M.$$typeof;switch(ie){case e:var le=M.type;switch(le){case r:case o:case n:case c:case s:return le;default:var ge=le&&le.$$typeof;switch(ge){case l:case a:case u:case p:case d:case i:return ge;default:return ie}}case t:return ie}}}var w=a,_=i,v=e,O=u,$=r,N=p,L=d,j=t,I=o,H=n,V=c,J=s,W=!1,ve=!1;function Ie(M){return W||(W=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")),!1}function Le(M){return ve||(ve=!0,console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")),!1}function F(M){return E(M)===a}function B(M){return E(M)===i}function k(M){return typeof M=="object"&&M!==null&&M.$$typeof===e}function G(M){return E(M)===u}function Z(M){return E(M)===r}function ue(M){return E(M)===p}function _e(M){return E(M)===d}function lt(M){return E(M)===t}function q(M){return E(M)===o}function z(M){return E(M)===n}function D(M){return E(M)===c}function X(M){return E(M)===s}re.ContextConsumer=w,re.ContextProvider=_,re.Element=v,re.ForwardRef=O,re.Fragment=$,re.Lazy=N,re.Memo=L,re.Portal=j,re.Profiler=I,re.StrictMode=H,re.Suspense=V,re.SuspenseList=J,re.isAsyncMode=Ie,re.isConcurrentMode=Le,re.isContextConsumer=F,re.isContextProvider=B,re.isElement=k,re.isForwardRef=G,re.isFragment=Z,re.isLazy=ue,re.isMemo=_e,re.isPortal=lt,re.isProfiler=q,re.isStrictMode=z,re.isSuspense=D,re.isSuspenseList=X,re.isValidElementType=C,re.typeOf=E}()),re}Qc.exports=ny();var kt=Qc.exports;function Zc(e,t=[]){if(Array.isArray(e))for(let r of e)Zc(r,t);else e!=null&&e!==!1&&e!==""&&t.push(e);return t}function os(e){let t=e.type;if(typeof t=="string")return t;if(typeof t=="function")return t.displayName||t.name||"Unknown";if(kt.isFragment(e))return"React.Fragment";if(kt.isSuspense(e))return"React.Suspense";if(typeof t=="object"&&t!==null){if(kt.isContextProvider(e))return"Context.Provider";if(kt.isContextConsumer(e))return"Context.Consumer";if(kt.isForwardRef(e)){if(t.displayName)return t.displayName;let r=t.render.displayName||t.render.name||"";return r===""?"ForwardRef":`ForwardRef(${r})`}if(kt.isMemo(e)){let r=t.displayName||t.type.displayName||t.type.name||"";return r===""?"Memo":`Memo(${r})`}}return"UNDEFINED"}function oy(e){let{props:t}=e;return Object.keys(t).filter(r=>r!=="children"&&t[r]!==void 0).sort()}var ay=(e,t,r,n,o,i)=>++n>t.maxDepth?Pi(os(e),t):Ti(os(e),Ci(oy(e),e.props,t,r+t.indent,n,o,i),Ri(Zc(e.props.children),t,r+t.indent,n,o,i),t,r),iy=e=>e!=null&&kt.isElement(e),ly={serialize:ay,test:iy},sy=typeof Symbol=="function"&&Symbol.for?Symbol.for("react.test.json"):245830487;function uy(e){let{props:t}=e;return t?Object.keys(t).filter(r=>t[r]!==void 0).sort():[]}var cy=(e,t,r,n,o,i)=>++n>t.maxDepth?Pi(e.type,t):Ti(e.type,e.props?Ci(uy(e),e.props,t,r+t.indent,n,o,i):"",e.children?Ri(e.children,t,r+t.indent,n,o,i):"",t,r),dy=e=>e&&e.$$typeof===sy,fy={serialize:cy,test:dy},ed=Object.prototype.toString,py=Date.prototype.toISOString,my=Error.prototype.toString,as=RegExp.prototype.toString;function Fo(e){return typeof e.constructor=="function"&&e.constructor.name||"Object"}function hy(e){return typeof window<"u"&&e===window}var by=/^Symbol\((.*)\)(.*)$/,gy=/\n/g,td=class extends Error{constructor(t,r){super(t),this.stack=r,this.name=this.constructor.name}};function yy(e){return e==="[object Array]"||e==="[object ArrayBuffer]"||e==="[object DataView]"||e==="[object Float32Array]"||e==="[object Float64Array]"||e==="[object Int8Array]"||e==="[object Int16Array]"||e==="[object Int32Array]"||e==="[object Uint8Array]"||e==="[object Uint8ClampedArray]"||e==="[object Uint16Array]"||e==="[object Uint32Array]"}function vy(e){return Object.is(e,-0)?"-0":String(e)}function _y(e){return`${e}n`}function is(e,t){return t?`[Function ${e.name||"anonymous"}]`:"[Function]"}function ls(e){return String(e).replace(by,"Symbol($1)")}function ss(e){return`[${my.call(e)}]`}function rd(e,t,r,n){if(e===!0||e===!1)return`${e}`;if(e===void 0)return"undefined";if(e===null)return"null";let o=typeof e;if(o==="number")return vy(e);if(o==="bigint")return _y(e);if(o==="string")return n?`"${e.replaceAll(/"|\\/g,"\\$&")}"`:`"${e}"`;if(o==="function")return is(e,t);if(o==="symbol")return ls(e);let i=ed.call(e);return i==="[object WeakMap]"?"WeakMap {}":i==="[object WeakSet]"?"WeakSet {}":i==="[object Function]"||i==="[object GeneratorFunction]"?is(e,t):i==="[object Symbol]"?ls(e):i==="[object Date]"?Number.isNaN(+e)?"Date { NaN }":py.call(e):i==="[object Error]"?ss(e):i==="[object RegExp]"?r?as.call(e).replaceAll(/[$()*+.?[\\\]^{|}]/g,"\\$&"):as.call(e):e instanceof Error?ss(e):null}function nd(e,t,r,n,o,i){if(o.includes(e))return"[Circular]";o=[...o],o.push(e);let a=++n>t.maxDepth,l=t.min;if(t.callToJSON&&!a&&e.toJSON&&typeof e.toJSON=="function"&&!i)return Ot(e.toJSON(),t,r,n,o,!0);let u=ed.call(e);return u==="[object Arguments]"?a?"[Arguments]":`${l?"":"Arguments "}[${Dn(e,t,r,n,o,Ot)}]`:yy(u)?a?`[${e.constructor.name}]`:`${l||!t.printBasicPrototype&&e.constructor.name==="Array"?"":`${e.constructor.name} `}[${Dn(e,t,r,n,o,Ot)}]`:u==="[object Map]"?a?"[Map]":`Map {${ao(e.entries(),t,r,n,o,Ot," => ")}}`:u==="[object Set]"?a?"[Set]":`Set {${Ei(e.values(),t,r,n,o,Ot)}}`:a||hy(e)?`[${Fo(e)}]`:`${l||!t.printBasicPrototype&&Fo(e)==="Object"?"":`${Fo(e)} `}{${wi(e,t,r,n,o,Ot)}}`}function Ey(e){return e.serialize!=null}function od(e,t,r,n,o,i){let a;try{a=Ey(e)?e.serialize(t,r,n,o,i,Ot):e.print(t,l=>Ot(l,r,n,o,i),l=>{let u=n+r.indent;return u+l.replaceAll(gy,`
|
|
3
|
+
${u}`)},{edgeSpacing:r.spacingOuter,min:r.min,spacing:r.spacingInner},r.colors)}catch(l){throw new td(l.message,l.stack)}if(typeof a!="string")throw new TypeError(`pretty-format: Plugin must return type "string" but instead returned "${typeof a}".`);return a}function ad(e,t){for(let r of e)try{if(r.test(t))return r}catch(n){throw new td(n.message,n.stack)}return null}function Ot(e,t,r,n,o,i){let a=ad(t.plugins,e);if(a!==null)return od(a,e,t,r,n,o);let l=rd(e,t.printFunctionName,t.escapeRegex,t.escapeString);return l!==null?l:nd(e,t,r,n,o,i)}var Si={comment:"gray",content:"reset",prop:"yellow",tag:"cyan",value:"green"},id=Object.keys(Si),Ge={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:Si};function wy(e){for(let t of Object.keys(e))if(!Object.prototype.hasOwnProperty.call(Ge,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 Cy(){return id.reduce((e,t)=>{let r=Si[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 Ry(){return id.reduce((e,t)=>(e[t]={close:"",open:""},e),Object.create(null))}function ld(e){return e?.printFunctionName??Ge.printFunctionName}function sd(e){return e?.escapeRegex??Ge.escapeRegex}function ud(e){return e?.escapeString??Ge.escapeString}function us(e){return{callToJSON:e?.callToJSON??Ge.callToJSON,colors:e?.highlight?Cy():Ry(),compareKeys:typeof e?.compareKeys=="function"||e?.compareKeys===null?e.compareKeys:Ge.compareKeys,escapeRegex:sd(e),escapeString:ud(e),indent:e?.min?"":Ty(e?.indent??Ge.indent),maxDepth:e?.maxDepth??Ge.maxDepth,maxWidth:e?.maxWidth??Ge.maxWidth,min:e?.min??Ge.min,plugins:e?.plugins??Ge.plugins,printBasicPrototype:e?.printBasicPrototype??!0,printFunctionName:ld(e),spacingInner:e?.min?" ":`
|
|
4
|
+
`,spacingOuter:e?.min?"":`
|
|
5
|
+
`}}function Ty(e){return Array.from({length:e+1}).join(" ")}function tt(e,t){if(t&&(wy(t),t.plugins)){let n=ad(t.plugins,e);if(n!==null)return od(n,e,us(t),"",0,[])}let r=rd(e,ld(t),sd(t),ud(t));return r!==null?r:nd(e,us(t),"",0,[])}var cd={AsymmetricMatcher:Rg,DOMCollection:xg,DOMElement:Fg,Immutable:ry,ReactElement:ly,ReactTestComponent:fy},cs={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"]},Py={special:"cyan",number:"yellow",bigint:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",symbol:"green",date:"magenta",regexp:"red"},mr="…";function Sy(e,t){let r=cs[Py[t]]||cs[t]||"";return r?`\x1B[${r[0]}m${String(e)}\x1B[${r[1]}m`:String(e)}function Oy({showHidden:e=!1,depth:t=2,colors:r=!1,customInspect:n=!0,showProxy:o=!1,maxArrayLength:i=1/0,breakLength:a=1/0,seen:l=[],truncate:u=1/0,stylize:c=String}={},s){let d={showHidden:!!e,depth:Number(t),colors:!!r,customInspect:!!n,showProxy:!!o,maxArrayLength:Number(i),breakLength:Number(a),truncate:Number(u),seen:l,inspect:s,stylize:c};return d.colors&&(d.stylize=Sy),d}function Ay(e){return e>="\uD800"&&e<="\uDBFF"}function It(e,t,r=mr){e=String(e);let n=r.length,o=e.length;if(n>t&&o>n)return r;if(o>t&&o>n){let i=t-n;return i>0&&Ay(e[i-1])&&(i=i-1),`${e.slice(0,i)}${r}`}return e}function Xe(e,t,r,n=", "){r=r||t.inspect;let o=e.length;if(o===0)return"";let i=t.truncate,a="",l="",u="";for(let c=0;c<o;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-a.length-(s?0:n.length);let f=l||r(p,t)+(s?"":n),m=a.length+f.length,h=m+u.length;if(s&&m>i&&a.length+u.length<=i||!s&&!d&&h>i||(l=s?"":r(e[c+1],t)+(d?"":n),!s&&d&&h>i&&m+l.length>i))break;if(a+=f,!s&&!d&&m+l.length>=i){u=`${mr}(${e.length-c-1})`;break}u=""}return`${a}${u}`}function qy(e){return e.match(/^[a-zA-Z_][a-zA-Z_0-9]*$/)?e:JSON.stringify(e).replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'")}function Gr([e,t],r){return r.truncate-=2,typeof e=="string"?e=qy(e):typeof e!="number"&&(e=`[${r.inspect(e,r)}]`),r.truncate-=e.length,t=r.inspect(t,r),`${e}: ${t}`}function xy(e,t){let r=Object.keys(e).slice(e.length);if(!e.length&&!r.length)return"[]";t.truncate-=4;let n=Xe(e,t);t.truncate-=n.length;let o="";return r.length&&(o=Xe(r.map(i=>[i,e[i]]),t,Gr)),`[ ${n}${o?`, ${o}`:""} ]`}var My=e=>typeof Buffer=="function"&&e instanceof Buffer?"Buffer":e[Symbol.toStringTag]?e[Symbol.toStringTag]:e.constructor.name;function ut(e,t){let r=My(e);t.truncate-=r.length+4;let n=Object.keys(e).slice(e.length);if(!e.length&&!n.length)return`${r}[]`;let o="";for(let a=0;a<e.length;a++){let l=`${t.stylize(It(e[a],t.truncate),"number")}${a===e.length-1?"":", "}`;if(t.truncate-=l.length,e[a]!==e.length&&t.truncate<=3){o+=`${mr}(${e.length-e[a]+1})`;break}o+=l}let i="";return n.length&&(i=Xe(n.map(a=>[a,e[a]]),t,Gr)),`${r}[ ${o}${i?`, ${i}`:""} ]`}function $y(e,t){let r=e.toJSON();if(r===null)return"Invalid Date";let n=r.split("T"),o=n[0];return t.stylize(`${o}T${It(n[1],t.truncate-o.length-1)}`,"date")}function ds(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 Ny([e,t],r){return r.truncate-=4,e=r.inspect(e,r),r.truncate-=e.length,t=r.inspect(t,r),`${e} => ${t}`}function jy(e){let t=[];return e.forEach((r,n)=>{t.push([n,r])}),t}function Iy(e,t){return e.size-1<=0?"Map{}":(t.truncate-=7,`Map{ ${Xe(jy(e),t,Ny)} }`)}var Ly=Number.isNaN||(e=>e!==e);function fs(e,t){return Ly(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 ps(e,t){let r=It(e.toString(),t.truncate-1);return r!==mr&&(r+="n"),t.stylize(r,"bigint")}function By(e,t){let r=e.toString().split("/")[2],n=t.truncate-(2+r.length),o=e.source;return t.stylize(`/${It(o,n)}/${r}`,"regexp")}function Dy(e){let t=[];return e.forEach(r=>{t.push(r)}),t}function ky(e,t){return e.size===0?"Set{}":(t.truncate-=7,`Set{ ${Xe(Dy(e),t)} }`)}var ms=new RegExp("['\\u0000-\\u001f\\u007f-\\u009f\\u00ad\\u0600-\\u0604\\u070f\\u17b4\\u17b5\\u200c-\\u200f\\u2028-\\u202f\\u2060-\\u206f\\ufeff\\ufff0-\\uffff]","g"),Fy={"\b":"\\b"," ":"\\t","\n":"\\n","\f":"\\f","\r":"\\r","'":"\\'","\\":"\\\\"},Uy=16,Hy=4;function zy(e){return Fy[e]||`\\u${`0000${e.charCodeAt(0).toString(Uy)}`.slice(-Hy)}`}function hs(e,t){return ms.test(e)&&(e=e.replace(ms,zy)),t.stylize(`'${It(e,t.truncate-2)}'`,"string")}function bs(e){return"description"in Symbol.prototype?e.description?`Symbol(${e.description})`:"Symbol()":e.toString()}var dd=()=>"Promise{…}";try{let{getPromiseDetails:e,kPending:t,kRejected:r}=process.binding("util");Array.isArray(e(Promise.resolve()))&&(dd=(n,o)=>{let[i,a]=e(n);return i===t?"Promise{<pending>}":`Promise${i===r?"!":""}{${o.inspect(a,o)}}`})}catch{}var Vy=dd;function qn(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 o=Xe(r.map(l=>[l,e[l]]),t,Gr),i=Xe(n.map(l=>[l,e[l]]),t,Gr);t.seen.pop();let a="";return o&&i&&(a=", "),`{ ${o}${a}${i} }`}var Uo=typeof Symbol<"u"&&Symbol.toStringTag?Symbol.toStringTag:!1;function Gy(e,t){let r="";return Uo&&Uo in e&&(r=e[Uo]),r=r||e.constructor.name,(!r||r==="_class")&&(r="<Anonymous Class>"),t.truncate-=r.length,`${r}${qn(e,t)}`}function Wy(e,t){return e.length===0?"Arguments[]":(t.truncate-=13,`Arguments[ ${Xe(e,t)} ]`)}var Ky=["stack","line","column","name","message","fileName","lineNumber","columnNumber","number","description"];function Yy(e,t){let r=Object.getOwnPropertyNames(e).filter(a=>Ky.indexOf(a)===-1),n=e.name;t.truncate-=n.length;let o="";typeof e.message=="string"?o=It(e.message,t.truncate):r.unshift("message"),o=o?`: ${o}`:"",t.truncate-=o.length+5;let i=Xe(r.map(a=>[a,e[a]]),t,Gr);return`${n}${o}${i?` { ${i} }`:""}`}function Jy([e,t],r){return r.truncate-=3,t?`${r.stylize(String(e),"yellow")}=${r.stylize(`"${t}"`,"string")}`:`${r.stylize(String(e),"yellow")}`}function ma(e,t){return Xe(e,t,fd,`
|
|
6
|
+
`)}function fd(e,t){let r=e.getAttributeNames(),n=e.tagName.toLowerCase(),o=t.stylize(`<${n}`,"special"),i=t.stylize(">","special"),a=t.stylize(`</${n}>`,"special");t.truncate-=n.length*2+5;let l="";r.length>0&&(l+=" ",l+=Xe(r.map(s=>[s,e.getAttribute(s)]),t,Jy," ")),t.truncate-=l.length;let u=t.truncate,c=ma(e.children,t);return c&&c.length>u&&(c=`${mr}(${e.children.length})`),`${o}${l}${i}${c}${a}`}var Xy=typeof Symbol=="function"&&typeof Symbol.for=="function",Ho=Xy?Symbol.for("chai/inspect"):"@@chai/inspect",tr=!1;try{let e=hg("util");tr=e.inspect?e.inspect.custom:!1}catch{tr=!1}var gs=new WeakMap,ys={},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:fs,Number:fs,bigint:ps,BigInt:ps,string:hs,String:hs,function:ds,Function:ds,symbol:bs,Symbol:bs,Array:xy,Date:$y,Map:Iy,Set:ky,RegExp:By,Promise:Vy,WeakSet:(e,t)=>t.stylize("WeakSet{…}","special"),WeakMap:(e,t)=>t.stylize("WeakMap{…}","special"),Arguments:Wy,Int8Array:ut,Uint8Array:ut,Uint8ClampedArray:ut,Int16Array:ut,Uint16Array:ut,Int32Array:ut,Uint32Array:ut,Float32Array:ut,Float64Array:ut,Generator:()=>"",DataView:()=>"",ArrayBuffer:()=>"",Error:Yy,HTMLCollection:ma,NodeList:ma},Qy=(e,t,r)=>Ho in e&&typeof e[Ho]=="function"?e[Ho](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&&gs.has(e.constructor)?gs.get(e.constructor)(e,t):ys[r]?ys[r](e,t):"",Zy=Object.prototype.toString;function ha(e,t={}){let r=Oy(t,ha),{customInspect:n}=r,o=e===null?"null":typeof e;if(o==="object"&&(o=Zy.call(e).slice(8,-1)),o in vs)return vs[o](e,r);if(n&&e){let a=Qy(e,r,o);if(a)return typeof a=="string"?a:ha(a,r)}let i=e?Object.getPrototypeOf(e):!1;return i===Object.prototype||i===null?qn(e,r):e&&typeof HTMLElement=="function"&&e instanceof HTMLElement?fd(e,r):"constructor"in e?e.constructor!==Object?Gy(e,r):qn(e,r):e===Object(e)?qn(e,r):r.stylize(String(e),o)}var{AsymmetricMatcher:ev,DOMCollection:tv,DOMElement:rv,Immutable:nv,ReactElement:ov,ReactTestComponent:av}=cd,_s=[av,ov,rv,tv,nv,ev];function Wr(e,t=10,{maxLength:r,...n}={}){let o=r??1e4,i;try{i=tt(e,{maxDepth:t,escapeString:!1,plugins:_s,...n})}catch{i=tt(e,{callToJSON:!1,maxDepth:t,escapeString:!1,plugins:_s,...n})}return i.length>=o&&t>1?Wr(e,Math.floor(t/2)):i}var iv=/%[sdjifoOc%]/g;function lv(...e){if(typeof e[0]!="string"){let i=[];for(let a=0;a<e.length;a++)i.push(Mr(e[a],{depth:0,colors:!1}));return i.join(" ")}let t=e.length,r=1,n=e[0],o=String(n).replace(iv,i=>{if(i==="%%")return"%";if(r>=t)return i;switch(i){case"%s":{let a=e[r++];return typeof a=="bigint"?`${a.toString()}n`:typeof a=="number"&&a===0&&1/a<0?"-0":typeof a=="object"&&a!==null?Mr(a,{depth:0,colors:!1}):String(a)}case"%d":{let a=e[r++];return typeof a=="bigint"?`${a.toString()}n`:Number(a).toString()}case"%i":{let a=e[r++];return typeof a=="bigint"?`${a.toString()}n`:Number.parseInt(String(a)).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(a){let l=a.message;if(l.includes("circular structure")||l.includes("cyclic structures")||l.includes("cyclic object"))return"[Circular]";throw a}default:return i}});for(let i=e[r];r<t;i=e[++r])i===null||typeof i!="object"?o+=` ${i}`:o+=` ${Mr(i)}`;return o}function Mr(e,t={}){return t.truncate===0&&(t.truncate=Number.POSITIVE_INFINITY),ha(e,t)}function sv(e){return e===Object.prototype||e===Function.prototype||e===RegExp.prototype}function ba(e){return Object.prototype.toString.apply(e).slice(8,-1)}function uv(e,t){let r=typeof t=="function"?t:n=>t.add(n);Object.getOwnPropertyNames(e).forEach(r),Object.getOwnPropertySymbols(e).forEach(r)}function pd(e){let t=new Set;return sv(e)?[]:(uv(e,t),Array.from(t))}var md={forceWritable:!1};function Es(e,t=md){return ga(e,new WeakMap,t)}function ga(e,t,r=md){let n,o;if(t.has(e))return t.get(e);if(Array.isArray(e)){for(o=Array(n=e.length),t.set(e,o);n--;)o[n]=ga(e[n],t,r);return o}if(Object.prototype.toString.call(e)==="[object Object]"){o=Object.create(Object.getPrototypeOf(e)),t.set(e,o);let i=pd(e);for(let a of i){let l=Object.getOwnPropertyDescriptor(e,a);if(!l)continue;let u=ga(e[a],t,r);r.forceWritable?Object.defineProperty(o,a,{enumerable:l.enumerable,configurable:!0,writable:!0,value:u}):"get"in l?Object.defineProperty(o,a,{...l,get(){return u}}):Object.defineProperty(o,a,{...l,value:u})}return o}return e}function ws(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 Pe=-1,we=1,he=0,fe=class{0;1;constructor(t,r){this[0]=t,this[1]=r}},cv=function(e,t){if(!e||!t||e.charAt(0)!==t.charAt(0))return 0;let r=0,n=Math.min(e.length,t.length),o=n,i=0;for(;r<o;)e.substring(i,o)===t.substring(i,o)?(r=o,i=r):n=o,o=Math.floor((n-r)/2+r);return o},hd=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),o=n,i=0;for(;r<o;)e.substring(e.length-o,e.length-i)===t.substring(t.length-o,t.length-i)?(r=o,i=r):n=o,o=Math.floor((n-r)/2+r);return o},Cs=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 o=Math.min(r,n);if(e===t)return o;let i=0,a=1;for(;;){let l=e.substring(o-a),u=t.indexOf(l);if(u===-1)return i;a+=u,(u===0||e.substring(o-a)===t.substring(0,a))&&(i=a,a++)}},dv=function(e){let t=!1,r=[],n=0,o=null,i=0,a=0,l=0,u=0,c=0;for(;i<e.length;)e[i][0]===he?(r[n++]=i,a=u,l=c,u=0,c=0,o=e[i][1]):(e[i][0]===we?u+=e[i][1].length:c+=e[i][1].length,o&&o.length<=Math.max(a,l)&&o.length<=Math.max(u,c)&&(e.splice(r[n-1],0,new fe(Pe,o)),e[r[n-1]+1][0]=we,n--,n--,i=n>0?r[n-1]:-1,a=0,l=0,u=0,c=0,o=null,t=!0)),i++;for(t&&bd(e),mv(e),i=1;i<e.length;){if(e[i-1][0]===Pe&&e[i][0]===we){let s=e[i-1][1],d=e[i][1],p=Cs(s,d),f=Cs(d,s);p>=f?(p>=s.length/2||p>=d.length/2)&&(e.splice(i,0,new fe(he,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 fe(he,s.substring(0,f))),e[i-1][0]=we,e[i-1][1]=d.substring(0,d.length-f),e[i+1][0]=Pe,e[i+1][1]=s.substring(f),i++),i++}i++}},Rs=/[^a-z0-9]/i,Ts=/\s/,Ps=/[\r\n]/,fv=/\n\r?\n$/,pv=/^\r?\n\r?\n/;function mv(e){function t(n,o){if(!n||!o)return 6;let i=n.charAt(n.length-1),a=o.charAt(0),l=i.match(Rs),u=a.match(Rs),c=l&&i.match(Ts),s=u&&a.match(Ts),d=c&&i.match(Ps),p=s&&a.match(Ps),f=d&&n.match(fv),m=p&&o.match(pv);return f||m?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]===he&&e[r+1][0]===he){let n=e[r-1][1],o=e[r][1],i=e[r+1][1],a=hd(n,o);if(a){let d=o.substring(o.length-a);n=n.substring(0,n.length-a),o=d+o.substring(0,o.length-a),i=d+i}let l=n,u=o,c=i,s=t(n,o)+t(o,i);for(;o.charAt(0)===i.charAt(0);){n+=o.charAt(0),o=o.substring(1)+i.charAt(0),i=i.substring(1);let d=t(n,o)+t(o,i);d>=s&&(s=d,l=n,u=o,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 bd(e){e.push(new fe(he,""));let t=0,r=0,n=0,o="",i="",a;for(;t<e.length;)switch(e[t][0]){case we:n++,i+=e[t][1],t++;break;case Pe:r++,o+=e[t][1],t++;break;case he:r+n>1?(r!==0&&n!==0&&(a=cv(i,o),a!==0&&(t-r-n>0&&e[t-r-n-1][0]===he?e[t-r-n-1][1]+=i.substring(0,a):(e.splice(0,0,new fe(he,i.substring(0,a))),t++),i=i.substring(a),o=o.substring(a)),a=hd(i,o),a!==0&&(e[t][1]=i.substring(i.length-a)+e[t][1],i=i.substring(0,i.length-a),o=o.substring(0,o.length-a))),t-=r+n,e.splice(t,r+n),o.length&&(e.splice(t,0,new fe(Pe,o)),t++),i.length&&(e.splice(t,0,new fe(we,i)),t++),t++):t!==0&&e[t-1][0]===he?(e[t-1][1]+=e[t][1],e.splice(t,1)):t++,n=0,r=0,o="",i="";break}e[e.length-1][1]===""&&e.pop();let l=!1;for(t=1;t<e.length-1;)e[t-1][0]===he&&e[t+1][0]===he&&(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&&bd(e)}var gd="Compared values have no visual difference.",hv="Compared values serialize to the same structure.\nPrinting internal object structure without calling `toJSON` instead.",yd={};Object.defineProperty(yd,"__esModule",{value:!0});var vd=yd.default=vv,Dr="diff-sequences",Re=0,Kr=(e,t,r,n,o)=>{let i=0;for(;e<t&&r<n&&o(e,r);)e+=1,r+=1,i+=1;return i},Yr=(e,t,r,n,o)=>{let i=0;for(;e<=t&&r<=n&&o(t,n);)t-=1,n-=1,i+=1;return i},zo=(e,t,r,n,o,i,a)=>{let l=0,u=-e,c=i[l],s=c;i[l]+=Kr(c+1,t,n+c-u+1,r,o);let d=e<a?e:a;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+Kr(c+1,t,n+c-u+1,r,o)}return a},Ss=(e,t,r,n,o,i,a)=>{let l=0,u=e,c=i[l],s=c;i[l]-=Yr(t,c-1,r,n+c-u-1,o);let d=e<a?e:a;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-Yr(t,c-1,r,n+c-u-1,o)}return a},bv=(e,t,r,n,o,i,a,l,u,c,s)=>{let d=n-t,p=r-t,f=o-n-p,m=-f-(e-1),h=-f+(e-1),y=Re,b=e<l?e:l;for(let g=0,T=-e;g<=b;g+=1,T+=2){let C=g===0||g!==e&&y<a[g],E=C?a[g]:y,w=C?E:E+1,_=d+w-T,v=Kr(w+1,r,_+1,o,i),O=w+v;if(y=a[g],a[g]=O,m<=T&&T<=h){let $=(e-1-(T+f))/2;if($<=c&&u[$]-1<=O){let N=d+E-(C?T+1:T-1),L=Yr(t,E,n,N,i),j=E-L,I=N-L,H=j+1,V=I+1;s.nChangePreceding=e-1,e-1===H+V-t-n?(s.aEndPreceding=t,s.bEndPreceding=n):(s.aEndPreceding=H,s.bEndPreceding=V),s.nCommonPreceding=L,L!==0&&(s.aCommonPreceding=H,s.bCommonPreceding=V),s.nCommonFollowing=v,v!==0&&(s.aCommonFollowing=w+1,s.bCommonFollowing=_+1);let J=O+1,W=_+v+1;return s.nChangeFollowing=e-1,e-1===r+o-J-W?(s.aStartFollowing=r,s.bStartFollowing=o):(s.aStartFollowing=J,s.bStartFollowing=W),!0}}}return!1},gv=(e,t,r,n,o,i,a,l,u,c,s)=>{let d=o-r,p=r-t,f=o-n-p,m=f-e,h=f+e,y=Re,b=e<c?e:c;for(let g=0,T=e;g<=b;g+=1,T-=2){let C=g===0||g!==e&&u[g]<y,E=C?u[g]:y,w=C?E:E-1,_=d+w-T,v=Yr(t,w-1,n,_-1,i),O=w-v;if(y=u[g],u[g]=O,m<=T&&T<=h){let $=(e+(T-f))/2;if($<=l&&O-1<=a[$]){let N=_-v;if(s.nChangePreceding=e,e===O+N-t-n?(s.aEndPreceding=t,s.bEndPreceding=n):(s.aEndPreceding=O,s.bEndPreceding=N),s.nCommonPreceding=v,v!==0&&(s.aCommonPreceding=O,s.bCommonPreceding=N),s.nChangeFollowing=e-1,e===1)s.nCommonFollowing=0,s.aStartFollowing=r,s.bStartFollowing=o;else{let L=d+E-(C?T-1:T+1),j=Kr(E,r,L,o,i);s.nCommonFollowing=j,j!==0&&(s.aCommonFollowing=E,s.bCommonFollowing=L);let I=E+j,H=L+j;e-1===r+o-I-H?(s.aStartFollowing=r,s.bStartFollowing=o):(s.aStartFollowing=I,s.bStartFollowing=H)}return!0}}}return!1},yv=(e,t,r,n,o,i,a,l,u)=>{let c=n-t,s=o-r,d=r-t,p=o-n,f=p-d,m=d,h=d;if(a[0]=t-1,l[0]=r,f%2===0){let y=(e||f)/2,b=(d+p)/2;for(let g=1;g<=b;g+=1)if(m=zo(g,r,o,c,i,a,m),g<y)h=Ss(g,t,n,s,i,l,h);else if(gv(g,t,r,n,o,i,a,m,l,h,u))return}else{let y=((e||f)+1)/2,b=(d+p+1)/2,g=1;for(m=zo(g,r,o,c,i,a,m),g+=1;g<=b;g+=1)if(h=Ss(g-1,t,n,s,i,l,h),g<y)m=zo(g,r,o,c,i,a,m);else if(bv(g,t,r,n,o,i,a,m,l,h,u))return}throw new Error(`${Dr}: no overlap aStart=${t} aEnd=${r} bStart=${n} bEnd=${o}`)},ya=(e,t,r,n,o,i,a,l,u,c)=>{if(o-n<r-t){if(i=!i,i&&a.length===1){let{foundSubsequence:$,isCommon:N}=a[0];a[1]={foundSubsequence:(L,j,I)=>{$(L,I,j)},isCommon:(L,j)=>N(j,L)}}let v=t,O=r;t=n,r=o,n=v,o=O}let{foundSubsequence:s,isCommon:d}=a[i?1:0];yv(e,t,r,n,o,d,l,u,c);let{nChangePreceding:p,aEndPreceding:f,bEndPreceding:m,nCommonPreceding:h,aCommonPreceding:y,bCommonPreceding:b,nCommonFollowing:g,aCommonFollowing:T,bCommonFollowing:C,nChangeFollowing:E,aStartFollowing:w,bStartFollowing:_}=c;t<f&&n<m&&ya(p,t,f,n,m,i,a,l,u,c),h!==0&&s(h,y,b),g!==0&&s(g,T,C),w<r&&_<o&&ya(E,w,r,_,o,i,a,l,u,c)},Os=(e,t)=>{if(typeof t!="number")throw new TypeError(`${Dr}: ${e} typeof ${typeof t} is not a number`);if(!Number.isSafeInteger(t))throw new RangeError(`${Dr}: ${e} value ${t} is not a safe integer`);if(t<0)throw new RangeError(`${Dr}: ${e} value ${t} is a negative integer`)},As=(e,t)=>{let r=typeof t;if(r!=="function")throw new TypeError(`${Dr}: ${e} typeof ${r} is not a function`)};function vv(e,t,r,n){Os("aLength",e),Os("bLength",t),As("isCommon",r),As("foundSubsequence",n);let o=Kr(0,e,0,t,r);if(o!==0&&n(o,0,0),e!==o||t!==o){let i=o,a=o,l=Yr(i,e-1,a,t-1,r),u=e-l,c=t-l,s=o+l;e!==s&&t!==s&&ya(0,i,u,a,c,!1,[{foundSubsequence:n,isCommon:r}],[Re],[Re],{aCommonFollowing:Re,aCommonPreceding:Re,aEndPreceding:Re,aStartFollowing:Re,bCommonFollowing:Re,bCommonPreceding:Re,bEndPreceding:Re,bStartFollowing:Re,nChangeFollowing:Re,nChangePreceding:Re,nCommonFollowing:Re,nCommonPreceding:Re}),l!==0&&n(l,u,c)}}function _v(e,t){return e.replace(/\s+$/,r=>t(r))}function Oi(e,t,r,n,o,i){return e.length!==0?r(`${n} ${_v(e,o)}`):n!==" "?r(n):t&&i.length!==0?r(`${n} ${i}`):""}function _d(e,t,{aColor:r,aIndicator:n,changeLineTrailingSpaceColor:o,emptyFirstOrLastLinePlaceholder:i}){return Oi(e,t,r,n,o,i)}function Ed(e,t,{bColor:r,bIndicator:n,changeLineTrailingSpaceColor:o,emptyFirstOrLastLinePlaceholder:i}){return Oi(e,t,r,n,o,i)}function wd(e,t,{commonColor:r,commonIndicator:n,commonLineTrailingSpaceColor:o,emptyFirstOrLastLinePlaceholder:i}){return Oi(e,t,r,n,o,i)}function qs(e,t,r,n,{patchColor:o}){return o(`@@ -${e+1},${t-e} +${r+1},${n-r} @@`)}function Ev(e,t){let r=e.length,n=t.contextLines,o=n+n,i=r,a=!1,l=0,u=0;for(;u!==r;){let C=u;for(;u!==r&&e[u][0]===he;)u+=1;if(C!==u)if(C===0)u>n&&(i-=u-n,a=!0);else if(u===r){let E=u-C;E>n&&(i-=E-n,a=!0)}else{let E=u-C;E>o&&(i-=E-o,l+=1)}for(;u!==r&&e[u][0]!==he;)u+=1}let c=l!==0||a;l!==0?i+=l+1:a&&(i+=1);let s=i-1,d=[],p=0;c&&d.push("");let f=0,m=0,h=0,y=0,b=C=>{let E=d.length;d.push(wd(C,E===0||E===s,t)),h+=1,y+=1},g=C=>{let E=d.length;d.push(_d(C,E===0||E===s,t)),h+=1},T=C=>{let E=d.length;d.push(Ed(C,E===0||E===s,t)),y+=1};for(u=0;u!==r;){let C=u;for(;u!==r&&e[u][0]===he;)u+=1;if(C!==u)if(C===0){u>n&&(C=u-n,f=C,m=C,h=f,y=m);for(let E=C;E!==u;E+=1)b(e[E][1])}else if(u===r){let E=u-C>n?C+n:u;for(let w=C;w!==E;w+=1)b(e[w][1])}else{let E=u-C;if(E>o){let w=C+n;for(let v=C;v!==w;v+=1)b(e[v][1]);d[p]=qs(f,h,m,y,t),p=d.length,d.push("");let _=E-o;f=h+_,m=y+_,h=f,y=m;for(let v=u-n;v!==u;v+=1)b(e[v][1])}else for(let w=C;w!==u;w+=1)b(e[w][1])}for(;u!==r&&e[u][0]===Pe;)g(e[u][1]),u+=1;for(;u!==r&&e[u][0]===we;)T(e[u][1]),u+=1}return c&&(d[p]=qs(f,h,m,y,t)),d.join(`
|
|
7
|
+
`)}function wv(e,t){return e.map((r,n,o)=>{let i=r[1],a=n===0||n===o.length-1;switch(r[0]){case Pe:return _d(i,a,t);case we:return Ed(i,a,t);default:return wd(i,a,t)}}).join(`
|
|
8
|
+
`)}var Vo=e=>e,Cd=5,Cv=0;function Rv(){return{aAnnotation:"Expected",aColor:pt.green,aIndicator:"-",bAnnotation:"Received",bColor:pt.red,bIndicator:"+",changeColor:pt.inverse,changeLineTrailingSpaceColor:Vo,commonColor:pt.dim,commonIndicator:" ",commonLineTrailingSpaceColor:Vo,compareKeys:void 0,contextLines:Cd,emptyFirstOrLastLinePlaceholder:"",expand:!0,includeChangeCounts:!1,omitAnnotationLines:!1,patchColor:pt.yellow,truncateThreshold:Cv,truncateAnnotation:"... Diff result is truncated",truncateAnnotationColor:Vo}}function Tv(e){return e&&typeof e=="function"?e:void 0}function Pv(e){return typeof e=="number"&&Number.isSafeInteger(e)&&e>=0?e:Cd}function Yt(e={}){return{...Rv(),...e,compareKeys:Tv(e.compareKeys),contextLines:Pv(e.contextLines)}}function rr(e){return e.length===1&&e[0].length===0}function Sv(e){let t=0,r=0;return e.forEach(n=>{switch(n[0]){case Pe:t+=1;break;case we:r+=1;break}}),{a:t,b:r}}function Ov({aAnnotation:e,aColor:t,aIndicator:r,bAnnotation:n,bColor:o,bIndicator:i,includeChangeCounts:a,omitAnnotationLines:l},u){if(l)return"";let c="",s="";if(a){let f=String(u.a),m=String(u.b),h=n.length-e.length,y=" ".repeat(Math.max(0,h)),b=" ".repeat(Math.max(0,-h)),g=m.length-f.length,T=" ".repeat(Math.max(0,g)),C=" ".repeat(Math.max(0,-g));c=`${y} ${r} ${T}${f}`,s=`${b} ${i} ${C}${m}`}let d=`${r} ${e}${c}`,p=`${i} ${n}${s}`;return`${t(d)}
|
|
9
|
+
${o(p)}
|
|
10
|
+
|
|
11
|
+
`}function Ai(e,t,r){return Ov(r,Sv(e))+(r.expand?wv(e,r):Ev(e,r))+(t?r.truncateAnnotationColor(`
|
|
12
|
+
${r.truncateAnnotation}`):"")}function lo(e,t,r){let n=Yt(r),[o,i]=Rd(rr(e)?[]:e,rr(t)?[]:t,n);return Ai(o,i,n)}function Av(e,t,r,n,o){if(rr(e)&&rr(r)&&(e=[],r=[]),rr(t)&&rr(n)&&(t=[],n=[]),e.length!==r.length||t.length!==n.length)return lo(e,t,o);let[i,a]=Rd(r,n,o),l=0,u=0;return i.forEach(c=>{switch(c[0]){case Pe:c[1]=e[l],l+=1;break;case we:c[1]=t[u],u+=1;break;default:c[1]=t[u],l+=1,u+=1}}),Ai(i,a,Yt(o))}function Rd(e,t,r){let n=r?.truncateThreshold??!1,o=Math.max(Math.floor(r?.truncateThreshold??0),0),i=n?Math.min(e.length,o):e.length,a=n?Math.min(t.length,o):t.length,l=i!==e.length||a!==t.length,u=(p,f)=>e[p]===t[f],c=[],s=0,d=0;for(vd(i,a,u,(p,f,m)=>{for(;s!==f;s+=1)c.push(new fe(Pe,e[s]));for(;d!==m;d+=1)c.push(new fe(we,t[d]));for(;p!==0;p-=1,s+=1,d+=1)c.push(new fe(he,t[d]))});s!==i;s+=1)c.push(new fe(Pe,e[s]));for(;d!==a;d+=1)c.push(new fe(we,t[d]));return[c,l]}function xs(e){return e.includes(`\r
|
|
13
|
+
`)?`\r
|
|
14
|
+
`:`
|
|
15
|
+
`}function qv(e,t,r){let n=r?.truncateThreshold??!1,o=Math.max(Math.floor(r?.truncateThreshold??0),0),i=e.length,a=t.length;if(n){let p=e.includes(`
|
|
16
|
+
`),f=t.includes(`
|
|
17
|
+
`),m=xs(e),h=xs(t),y=p?`${e.split(m,o).join(m)}
|
|
18
|
+
`:e,b=f?`${t.split(h,o).join(h)}
|
|
19
|
+
`:t;i=y.length,a=b.length}let l=i!==e.length||a!==t.length,u=(p,f)=>e[p]===t[f],c=0,s=0,d=[];return vd(i,a,u,(p,f,m)=>{c!==f&&d.push(new fe(Pe,e.slice(c,f))),s!==m&&d.push(new fe(we,t.slice(s,m))),c=f+p,s=m+p,d.push(new fe(he,t.slice(m,s)))}),c!==i&&d.push(new fe(Pe,e.slice(c))),s!==a&&d.push(new fe(we,t.slice(s))),[d,l]}function xv(e,t,r){return t.reduce((n,o)=>n+(o[0]===he?o[1]:o[0]===e&&o[1].length!==0?r(o[1]):""),"")}var Ms=class{op;line;lines;changeColor;constructor(t,r){this.op=t,this.line=[],this.lines=[],this.changeColor=r}pushSubstring(t){this.pushDiff(new fe(this.op,t))}pushLine(){this.lines.push(this.line.length!==1?new fe(this.op,xv(this.op,this.line,this.changeColor)):this.line[0][0]===this.op?this.line[0]:new fe(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
|
+
`),o=n.length-1;n.forEach((i,a)=>{a<o?(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}},Mv=class{deleteBuffer;insertBuffer;lines;constructor(t,r){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 o=n.split(`
|
|
23
|
+
`),i=o.length-1;o.forEach((a,l)=>{if(l===0){let u=new fe(r,a);this.deleteBuffer.isLineEmpty()&&this.insertBuffer.isLineEmpty()?(this.flushChangeLines(),this.pushDiffCommonLine(u)):(this.pushDiffChangeLines(u),this.flushChangeLines())}else l<i?this.pushDiffCommonLine(new fe(r,a)):a.length!==0&&this.pushDiffChangeLines(new fe(r,a))})}else this.pushDiffChangeLines(t)}getLines(){return this.flushChangeLines(),this.lines}};function $v(e,t){let r=new Ms(Pe,t),n=new Ms(we,t),o=new Mv(r,n);return e.forEach(i=>{switch(i[0]){case Pe:r.align(i);break;case we:n.align(i);break;default:o.align(i)}}),o.getLines()}function Nv(e,t){if(t){let r=e.length-1;return e.some((n,o)=>n[0]===he&&(o!==r||n[1]!==`
|
|
24
|
+
`))}return e.some(r=>r[0]===he)}function jv(e,t,r){if(e!==t&&e.length!==0&&t.length!==0){let n=e.includes(`
|
|
25
|
+
`)||t.includes(`
|
|
26
|
+
`),[o,i]=Td(n?`${e}
|
|
27
|
+
`:e,n?`${t}
|
|
28
|
+
`:t,!0,r);if(Nv(o,n)){let a=Yt(r),l=$v(o,a.changeColor);return Ai(l,i,a)}}return lo(e.split(`
|
|
29
|
+
`),t.split(`
|
|
30
|
+
`),r)}function Td(e,t,r,n){let[o,i]=qv(e,t,n);return dv(o),[o,i]}function va(e,t){let{commonColor:r}=Yt(t);return r(e)}var{AsymmetricMatcher:Iv,DOMCollection:Lv,DOMElement:Bv,Immutable:Dv,ReactElement:kv,ReactTestComponent:Fv}=cd,Pd=[Fv,kv,Bv,Lv,Dv,Iv],_a={plugins:Pd},Sd={callToJSON:!1,maxDepth:10,plugins:Pd};function Uv(e,t,r){if(Object.is(e,t))return"";let n=ws(e),o=n,i=!1;if(n==="object"&&typeof e.asymmetricMatch=="function"){if(e.$$typeof!==Symbol.for("jest.asymmetricMatcher")||typeof e.getExpectedType!="function")return;o=e.getExpectedType(),i=o==="string"}if(o!==ws(t)){let{aAnnotation:a,aColor:l,aIndicator:u,bAnnotation:c,bColor:s,bIndicator:d}=Yt(r),p=Ea(Sd,r),f=tt(e,p),m=tt(t,p),h=`${l(`${u} ${a}:`)}
|
|
31
|
+
${f}`,y=`${s(`${d} ${c}:`)}
|
|
32
|
+
${m}`;return`${h}
|
|
33
|
+
|
|
34
|
+
${y}`}if(!i)switch(n){case"string":return lo(e.split(`
|
|
35
|
+
`),t.split(`
|
|
36
|
+
`),r);case"boolean":case"number":return Hv(e,t,r);case"map":return Go($s(e),$s(t),r);case"set":return Go(Ns(e),Ns(t),r);default:return Go(e,t,r)}}function Hv(e,t,r){let n=tt(e,_a),o=tt(t,_a);return n===o?"":lo(n.split(`
|
|
37
|
+
`),o.split(`
|
|
38
|
+
`),r)}function $s(e){return new Map(Array.from(e.entries()).sort())}function Ns(e){return new Set(Array.from(e.values()).sort())}function Go(e,t,r){let n,o=!1;try{let a=Ea(_a,r);n=js(e,t,a,r)}catch{o=!0}let i=va(gd,r);if(n===void 0||n===i){let a=Ea(Sd,r);n=js(e,t,a,r),n!==i&&!o&&(n=`${va(hv,r)}
|
|
39
|
+
|
|
40
|
+
${n}`)}return n}function Ea(e,t){let{compareKeys:r}=Yt(t);return{...e,compareKeys:r}}function js(e,t,r,n){let o={...r,indent:0},i=tt(e,o),a=tt(t,o);if(i===a)return va(gd,n);{let l=tt(e,r),u=tt(t,r);return Av(l.split(`
|
|
41
|
+
`),u.split(`
|
|
42
|
+
`),i.split(`
|
|
43
|
+
`),a.split(`
|
|
44
|
+
`),n)}}var Is=2e4;function Ls(e){return ba(e)==="Object"&&typeof e.asymmetricMatch=="function"}function Bs(e,t){let r=ba(e),n=ba(t);return r===n&&(r==="Object"||r==="Array")}function zv(e,t,r){let{aAnnotation:n,bAnnotation:o}=Yt(r);if(typeof e=="string"&&typeof t=="string"&&e.length>0&&t.length>0&&e.length<=Is&&t.length<=Is&&e!==t){if(e.includes(`
|
|
45
|
+
`)||t.includes(`
|
|
46
|
+
`))return jv(t,e,r);let[c]=Td(t,e),s=c.some(m=>m[0]===he),d=Vv(n,o),p=d(n)+Kv(Ds(c,Pe,s)),f=d(o)+Wv(Ds(c,we,s));return`${p}
|
|
47
|
+
${f}`}let i=Es(e,{forceWritable:!0}),a=Es(t,{forceWritable:!0}),{replacedExpected:l,replacedActual:u}=Od(i,a);return Uv(l,u,r)}function Od(e,t,r=new WeakSet,n=new WeakSet){return Bs(e,t)?r.has(e)||n.has(t)?{replacedActual:e,replacedExpected:t}:(r.add(e),n.add(t),pd(t).forEach(o=>{let i=t[o],a=e[o];if(Ls(i))i.asymmetricMatch(a)&&(e[o]=i);else if(Ls(a))a.asymmetricMatch(i)&&(t[o]=a);else if(Bs(a,i)){let l=Od(a,i,r,n);e[o]=l.replacedActual,t[o]=l.replacedExpected}}),{replacedActual:e,replacedExpected:t}):{replacedActual:e,replacedExpected:t}}function Vv(...e){let t=e.reduce((r,n)=>n.length>r?n.length:r,0);return r=>`${r}: ${" ".repeat(t-r.length)}`}var Gv="·";function Ad(e){return e.replace(/\s+$/gm,t=>Gv.repeat(t.length))}function Wv(e){return pt.red(Ad(Wr(e)))}function Kv(e){return pt.green(Ad(Wr(e)))}function Ds(e,t,r){return e.reduce((n,o)=>n+(o[0]===he?o[1]:o[0]===t?r?pt.inverse(o[1]):o[1]:""),"")}var Yv="@@__IMMUTABLE_RECORD__@@",Jv="@@__IMMUTABLE_ITERABLE__@@";function Xv(e){return e&&(e[Jv]||e[Yv])}var Qv=Object.getPrototypeOf({});function ks(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(Xv(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()} ${lv(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,o)=>{try{r[o]=nr(n,t)}catch(i){r[o]=ks(i)}}),r}else{let r=Object.create(null);t.set(e,r);let n=e;for(;n&&n!==Qv;)Object.getOwnPropertyNames(n).forEach(o=>{if(!(o in r))try{r[o]=nr(e[o],t)}catch(i){delete r[o],r[o]=ks(i)}}),n=Object.getPrototypeOf(n);return r}}function Zv(e){return e.replace(/__(vite_ssr_import|vi_import)_\d+__\./g,"")}function qd(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=zv(n.actual,n.expected,{...t,...n.diffOptions})),typeof n.expected!="string"&&(n.expected=Wr(n.expected,10)),typeof n.actual!="string"&&(n.actual=Wr(n.actual,10));try{typeof n.message=="string"&&(n.message=Zv(n.message))}catch{}try{!r.has(n)&&typeof n.cause=="object"&&(r.add(n),n.cause=qd(n.cause,t,r))}catch{}try{return nr(n)}catch(o){return nr(new Error(`Failed to fully serialize error: ${o?.message}
|
|
48
|
+
Inner error message: ${n?.message}`))}}var e_=(e=>(e.DONE="done",e.ERROR="error",e.ACTIVE="active",e.WAITING="waiting",e))(e_||{}),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"},Fs={start:!1,back:!1,goto:!1,next:!1,end:!1},t_=new Error("This function ran after the play function completed. Did you forget to `await` it?"),Us=e=>Object.prototype.toString.call(e)==="[object Object]",r_=e=>Object.prototype.toString.call(e)==="[object Module]",n_=e=>{if(!Us(e)&&!r_(e))return!1;if(e.constructor===void 0)return!0;let t=e.constructor.prototype;return!!Us(t)},o_=e=>{try{return new e.constructor}catch{return{}}},Wo=()=>({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}),Hs=(e,t=!1)=>{let r=(t?e.shadowCalls:e.calls).filter(o=>o.retain);if(!r.length)return;let n=new Map(Array.from(e.callRefsByResult.entries()).filter(([,o])=>o.retain));return{cursor:r.length,calls:r,callRefsByResult:n}},a_=class{constructor(){this.initialized=!1,this.channel=mg.getChannel(),this.state=Me.window?.parent.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER_STATE__||{};let e=({storyId:a,isPlaying:l=!0,isDebugging:u=!1})=>{let c=this.getState(a);this.setState(a,{...Wo(),...Hs(c,u),shadowCalls:u?c.shadowCalls:[],chainedCallIds:u?c.chainedCallIds:new Set,playUntil:u?c.playUntil:void 0,isPlaying:l,isDebugging:u}),this.sync(a)};this.channel.on(es,e),this.channel.on(fg,({storyId:a,newPhase:l})=>{let{isDebugging:u}=this.getState(a);this.setState(a,{renderPhase:l}),l==="preparing"&&u&&e({storyId:a}),l==="playing"&&e({storyId:a,isDebugging:u}),l==="played"&&this.setState(a,{isLocked:!1,isPlaying:!1,isDebugging:!1}),l==="errored"&&this.setState(a,{isLocked:!1,isPlaying:!1})}),this.channel.on(pg,()=>{this.initialized?this.cleanup():this.initialized=!0});let t=({storyId:a,playUntil:l})=>{this.getState(a).isDebugging||this.setState(a,({calls:c})=>({calls:[],shadowCalls:c.map(s=>({...s,status:"waiting"})),isDebugging:!0}));let u=this.getLog(a);this.setState(a,({shadowCalls:c})=>{if(l||!u.length)return{playUntil:l};let s=c.findIndex(d=>d.id===u[0].callId);return{playUntil:c.slice(0,s).filter(d=>d.interceptable&&!d.ancestors.length).slice(-1)[0]?.id}}),this.channel.emit(es,{storyId:a,isDebugging:!0})},r=({storyId:a})=>{let l=this.getLog(a).filter(c=>!c.ancestors.length),u=l.reduceRight((c,s,d)=>c>=0||s.status==="waiting"?c:d,-1);t({storyId:a,playUntil:l[u-1]?.callId})},n=({storyId:a,callId:l})=>{let{calls:u,shadowCalls:c,resolvers:s}=this.getState(a),d=u.find(({id:f})=>f===l),p=c.find(({id:f})=>f===l);if(!d&&p&&Object.values(s).length>0){let f=this.getLog(a).find(m=>m.status==="waiting")?.callId;p.id!==f&&this.setState(a,{playUntil:p.id}),Object.values(s).forEach(m=>m())}else t({storyId:a,playUntil:l})},o=({storyId:a})=>{let{resolvers:l}=this.getState(a);if(Object.values(l).length>0)Object.values(l).forEach(u=>u());else{let u=this.getLog(a).find(c=>c.status==="waiting")?.callId;u?t({storyId:a,playUntil:u}):i({storyId:a})}},i=({storyId:a})=>{this.setState(a,{playUntil:void 0,isDebugging:!1}),Object.values(this.getState(a).resolvers).forEach(l=>l())};this.channel.on(ct.START,t),this.channel.on(ct.BACK,r),this.channel.on(ct.GOTO,n),this.channel.on(ct.NEXT,o),this.channel.on(ct.END,i)}getState(e){return this.state[e]||Wo()}setState(e,t){let r=this.getState(e),n=typeof t=="function"?t(r):t;this.state={...this.state,[e]:{...r,...n}},Me.window?.parent&&(Me.window.parent.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER_STATE__=this.state)}cleanup(){this.state=Object.entries(this.state).reduce((t,[r,n])=>{let o=Hs(n);return o&&(t[r]=Object.assign(Wo(),o)),t},{});let e={controlStates:Fs,logItems:[]};this.channel.emit(ct.SYNC,e),Me.window?.parent&&(Me.window.parent.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER_STATE__=this.state)}getLog(e){let{calls:t,shadowCalls:r}=this.getState(e),n=[...r];t.forEach((i,a)=>{n[a]=i});let o=new Set;return n.reduceRight((i,a)=>(a.args.forEach(l=>{l?.__callId__&&o.add(l.__callId__)}),a.path.forEach(l=>{l.__callId__&&o.add(l.__callId__)}),(a.interceptable||a.exception)&&!o.has(a.id)&&(i.unshift({callId:a.id,status:a.status,ancestors:a.ancestors}),o.add(a.id)),i),[])}instrument(e,t,r=0){if(!n_(e))return e;let{mutate:n=!1,path:o=[]}=t,i=t.getKeys?t.getKeys(e,r):Object.keys(e);return r+=1,i.reduce((a,l)=>{let u=i_(e,l);if(typeof u?.get=="function"){let s=()=>u?.get?.bind(e)?.();return Object.defineProperty(a,l,{get:()=>this.instrument(s(),{...t,path:o.concat(l)},r)}),a}let c=e[l];return typeof c!="function"?(a[l]=this.instrument(c,{...t,path:o.concat(l)},r),a):"__originalFn__"in c&&typeof c.__originalFn__=="function"?(a[l]=c,a):(a[l]=(...s)=>this.track(l,c,e,s,t),a[l].__originalFn__=c,Object.defineProperty(a[l],"name",{value:l,writable:!1}),Object.keys(c).length>0&&Object.assign(a[l],this.instrument({...c},{...t,path:o.concat(l)},r)),a)},n?e:o_(e))}track(e,t,r,n,o){let i=n?.[0]?.__storyId__||Me.__STORYBOOK_PREVIEW__?.selectionStore?.selection?.storyId,{cursor:a,ancestors:l}=this.getState(i);this.setState(i,{cursor:a+1});let u=`${l.slice(-1)[0]||i} [${a}] ${e}`,{path:c=[],intercept:s=!1,retain:d=!1}=o,p=typeof s=="function"?s(e,c):s,f={id:u,cursor:a,storyId:i,ancestors:l,path:c,method:e,args:n,interceptable:p,retain:d},m=(p&&!l.length?this.intercept:this.invoke).call(this,t,r,f,o);return this.instrument(m,{...o,mutate:!0,path:[{__callId__:f.id}]})}intercept(e,t,r,n){let{chainedCallIds:o,isDebugging:i,playUntil:a}=this.getState(r.storyId),l=o.has(r.id);return!i||l||a?(a===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:o,renderPhase:i}=this.getState(r.storyId),a=25,l=(s,d,p)=>{if(p.includes(s))return"[Circular]";if(p=[...p,s],d>a)return"...";if(o.has(s))return o.get(s);if(s instanceof Array)return s.map(f=>l(f,++d,p));if(s instanceof Date)return{__date__:{value:s.toISOString()}};if(s instanceof Error){let{name:f,message:m,stack:h}=s;return{__error__:{name:f,message:m,stack:h}}}if(s instanceof RegExp){let{flags:f,source:m}=s;return{__regexp__:{flags:f,source:m}}}if(s instanceof Me.window?.HTMLElement){let{prefix:f,localName:m,id:h,classList:y,innerText:b}=s,g=Array.from(y);return{__element__:{prefix:f,localName:m,id:h,classNames:g,innerText:b}}}return typeof s=="function"?{__function__:{name:"getMockName"in s?s.getMockName():s.name}}:typeof s=="symbol"?{__symbol__:{description:s.description}}:typeof s=="object"&&s?.constructor?.name&&s?.constructor?.name!=="Object"?{__class__:{name:s.constructor.name}}:Object.prototype.toString.call(s)==="[object Object]"?Object.fromEntries(Object.entries(s).map(([f,m])=>[f,l(m,++d,p)])):s},u={...r,args:r.args.map(s=>l(s,0,[]))};r.path.forEach(s=>{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:m=r.id}=s,{showDiff:h=void 0,diff:y=void 0,actual:b=void 0,expected:g=void 0}=s.name==="AssertionError"?qd(s):s,T={name:d,message:p,stack:f,callId:m,showDiff:h,diff:y,actual:b,expected:g};if(this.update({...u,status:"error",exception:T}),this.setState(r.storyId,C=>({callRefsByResult:new Map([...Array.from(C.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 t_;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:m,ancestors:h}=this.getState(r.storyId);this.setState(r.storyId,{cursor:0,ancestors:[...h,r.id]});let y=()=>this.setState(r.storyId,{cursor:m,ancestors:h}),b=!1;try{let g=p(...f);return g instanceof Promise?(b=!0,g.finally(y)):g}finally{b||y()}}),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,o)=>Object.assign(n,{[o.id]:o}),{});return{calls:Object.values(r).sort((n,o)=>n.id.localeCompare(o.id,void 0,{numeric:!0}))}}),this.sync(e.storyId)}sync(e){let t=()=>{let{isLocked:r,isPlaying:n}=this.getState(e),o=this.getLog(e),i=o.filter(({ancestors:c})=>!c.length).find(c=>c.status==="waiting")?.callId,a=o.some(c=>c.status==="active");if(r||a||o.length===0){let c={controlStates:Fs,logItems:o};this.channel.emit(ct.SYNC,c);return}let l=o.some(c=>c.status==="done"||c.status==="error"),u={controlStates:{start:l,back:l,goto:!0,next:n,end:n},logItems:o,pausedAt:i};this.channel.emit(ct.SYNC,u)};this.setState(e,({syncTimeout:r})=>(clearTimeout(r),{syncTimeout:setTimeout(t,0)}))}};function qi(e,t={}){try{let r=!1,n=!1;return Me.window?.location?.search?.includes("instrument=true")?r=!0:Me.window?.location?.search?.includes("instrument=false")&&(n=!0),Me.window?.parent===Me.window&&!r||n?e:(Me.window&&!Me.window.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER__&&(Me.window.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER__=new a_),(Me.window?.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER__).instrument(e,t))}catch(r){return dg.warn(r),e}}function i_(e,t){let r=e;for(;r!=null;){let n=Object.getOwnPropertyDescriptor(r,t);if(n)return n;r=Object.getPrototypeOf(r)}}var wa={};const{global:xd}=__STORYBOOK_MODULE_GLOBAL__,{once:l_}=__STORYBOOK_MODULE_CLIENT_LOGGER__;var s_=Object.create,xi=Object.defineProperty,u_=Object.getOwnPropertyDescriptor,Md=Object.getOwnPropertyNames,c_=Object.getPrototypeOf,d_=Object.prototype.hasOwnProperty,f_=(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')}),R=(e,t)=>function(){return t||(0,e[Md(e)[0]])((t={exports:{}}).exports,t),t.exports},Mi=(e,t)=>{for(var r in t)xi(e,r,{get:t[r],enumerable:!0})},p_=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of Md(t))!d_.call(e,o)&&o!==r&&xi(e,o,{get:()=>t[o],enumerable:!(n=u_(t,o))||n.enumerable});return e},ke=(e,t,r)=>(r=e!=null?s_(c_(e)):{},p_(t||!e||!e.__esModule?xi(r,"default",{value:e,enumerable:!0}):r,e)),m_=R({"../../node_modules/min-indent/index.js"(e,t){t.exports=r=>{let n=r.match(/^[ \t]*(?=\S)/gm);return n?n.reduce((o,i)=>Math.min(o,i.length),1/0):0}}}),h_=R({"../../node_modules/strip-indent/index.js"(e,t){var r=m_();t.exports=n=>{let o=r(n);if(o===0)return n;let i=new RegExp(`^[ \\t]{${o}}`,"gm");return n.replace(i,"")}}}),b_=R({"../../node_modules/indent-string/index.js"(e,t){t.exports=(r,n=1,o)=>{if(o={indent:" ",includeEmptyLines:!1,...o},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 o.indent!="string")throw new TypeError(`Expected \`options.indent\` to be a \`string\`, got \`${typeof o.indent}\``);if(n===0)return r;let i=o.includeEmptyLines?/^/gm:/^(?!\s*$)/gm;return r.replace(i,o.indent.repeat(n))}}}),$d=R({"../../node_modules/redent/index.js"(e,t){var r=h_(),n=b_();t.exports=(o,i=0,a)=>n(r(o),i,a)}}),g_=R({"../../node_modules/aria-query/lib/util/iteratorProxy.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;function t(){var n=this,o=0,i={"@@iterator":function(){return i},next:function(){if(o<n.length){var a=n[o];return o=o+1,{done:!1,value:a}}else return{done:!0}}};return i}var r=t;e.default=r}}),pn=R({"../../node_modules/aria-query/lib/util/iterationDecorator.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=o;var t=r(g_());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(a){return typeof a}:function(a){return a&&typeof Symbol=="function"&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a},n(i)}function o(i,a){return typeof Symbol=="function"&&n(Symbol.iterator)==="symbol"&&Object.defineProperty(i,Symbol.iterator,{value:t.default.bind(a)}),i}}}),y_=R({"../../node_modules/aria-query/lib/ariaPropsMap.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(pn());function r(f){return f&&f.__esModule?f:{default:f}}function n(f,m){return a(f)||i(f,m)||u(f,m)||o()}function o(){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,m){var h=f==null?null:typeof Symbol<"u"&&f[Symbol.iterator]||f["@@iterator"];if(h!=null){var y=[],b=!0,g=!1,T,C;try{for(h=h.call(f);!(b=(T=h.next()).done)&&(y.push(T.value),!(m&&y.length===m));b=!0);}catch(E){g=!0,C=E}finally{try{!b&&h.return!=null&&h.return()}finally{if(g)throw C}}return y}}function a(f){if(Array.isArray(f))return f}function l(f,m){var h=typeof Symbol<"u"&&f[Symbol.iterator]||f["@@iterator"];if(!h){if(Array.isArray(f)||(h=u(f))||m){h&&(f=h);var y=0,b=function(){};return{s:b,n:function(){return y>=f.length?{done:!0}:{done:!1,value:f[y++]}},e:function(E){throw E},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 g=!0,T=!1,C;return{s:function(){h=h.call(f)},n:function(){var E=h.next();return g=E.done,E},e:function(E){T=!0,C=E},f:function(){try{!g&&h.return!=null&&h.return()}finally{if(T)throw C}}}}function u(f,m){if(f){if(typeof f=="string")return c(f,m);var h=Object.prototype.toString.call(f).slice(8,-1);if(h==="Object"&&f.constructor&&(h=f.constructor.name),h==="Map"||h==="Set")return Array.from(f);if(h==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(h))return c(f,m)}}function c(f,m){(m==null||m>f.length)&&(m=f.length);for(var h=0,y=new Array(m);h<m;h++)y[h]=f[h];return y}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 m=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,h=l(s),y;try{for(h.s();!(y=h.n()).done;){var b=n(y.value,2),g=b[0],T=b[1];f.call(m,T,g,s)}}catch(C){h.e(C)}finally{h.f()}},get:function(f){var m=s.find(function(h){return h[0]===f});return m&&m[1]},has:function(f){return!!d.get(f)},keys:function(){return s.map(function(f){var m=n(f,1),h=m[0];return h})},values:function(){return s.map(function(f){var m=n(f,2),h=m[1];return h})}},p=(0,t.default)(d,d.entries());e.default=p}}),v_=R({"../../node_modules/aria-query/lib/domMap.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(pn());function r(f){return f&&f.__esModule?f:{default:f}}function n(f,m){return a(f)||i(f,m)||u(f,m)||o()}function o(){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,m){var h=f==null?null:typeof Symbol<"u"&&f[Symbol.iterator]||f["@@iterator"];if(h!=null){var y=[],b=!0,g=!1,T,C;try{for(h=h.call(f);!(b=(T=h.next()).done)&&(y.push(T.value),!(m&&y.length===m));b=!0);}catch(E){g=!0,C=E}finally{try{!b&&h.return!=null&&h.return()}finally{if(g)throw C}}return y}}function a(f){if(Array.isArray(f))return f}function l(f,m){var h=typeof Symbol<"u"&&f[Symbol.iterator]||f["@@iterator"];if(!h){if(Array.isArray(f)||(h=u(f))||m){h&&(f=h);var y=0,b=function(){};return{s:b,n:function(){return y>=f.length?{done:!0}:{done:!1,value:f[y++]}},e:function(E){throw E},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 g=!0,T=!1,C;return{s:function(){h=h.call(f)},n:function(){var E=h.next();return g=E.done,E},e:function(E){T=!0,C=E},f:function(){try{!g&&h.return!=null&&h.return()}finally{if(T)throw C}}}}function u(f,m){if(f){if(typeof f=="string")return c(f,m);var h=Object.prototype.toString.call(f).slice(8,-1);if(h==="Object"&&f.constructor&&(h=f.constructor.name),h==="Map"||h==="Set")return Array.from(f);if(h==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(h))return c(f,m)}}function c(f,m){(m==null||m>f.length)&&(m=f.length);for(var h=0,y=new Array(m);h<m;h++)y[h]=f[h];return y}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 m=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,h=l(s),y;try{for(h.s();!(y=h.n()).done;){var b=n(y.value,2),g=b[0],T=b[1];f.call(m,T,g,s)}}catch(C){h.e(C)}finally{h.f()}},get:function(f){var m=s.find(function(h){return h[0]===f});return m&&m[1]},has:function(f){return!!d.get(f)},keys:function(){return s.map(function(f){var m=n(f,1),h=m[0];return h})},values:function(){return s.map(function(f){var m=n(f,2),h=m[1];return h})}},p=(0,t.default)(d,d.entries());e.default=p}}),__=R({"../../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}}),E_=R({"../../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}}),w_=R({"../../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}}),C_=R({"../../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}}),R_=R({"../../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}}),T_=R({"../../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}}),P_=R({"../../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}}),S_=R({"../../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}}),O_=R({"../../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}}),A_=R({"../../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}}),q_=R({"../../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}}),x_=R({"../../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}}),M_=R({"../../node_modules/aria-query/lib/etc/roles/ariaAbstractRoles.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=f(__()),r=f(E_()),n=f(w_()),o=f(C_()),i=f(R_()),a=f(T_()),l=f(P_()),u=f(S_()),c=f(O_()),s=f(A_()),d=f(q_()),p=f(x_());function f(y){return y&&y.__esModule?y:{default:y}}var m=[["command",t.default],["composite",r.default],["input",n.default],["landmark",o.default],["range",i.default],["roletype",a.default],["section",l.default],["sectionhead",u.default],["select",c.default],["structure",s.default],["widget",d.default],["window",p.default]],h=m;e.default=h}}),$_=R({"../../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}}),N_=R({"../../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}}),j_=R({"../../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}}),I_=R({"../../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}}),L_=R({"../../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}}),B_=R({"../../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}}),D_=R({"../../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}}),k_=R({"../../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}}),F_=R({"../../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}}),U_=R({"../../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}}),H_=R({"../../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}}),z_=R({"../../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}}),V_=R({"../../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}}),G_=R({"../../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}}),W_=R({"../../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}}),K_=R({"../../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}}),Y_=R({"../../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}}),J_=R({"../../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}}),X_=R({"../../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}}),Q_=R({"../../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}}),Z_=R({"../../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}}),e0=R({"../../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}}),t0=R({"../../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}}),r0=R({"../../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}}),n0=R({"../../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}}),o0=R({"../../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}}),a0=R({"../../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}}),i0=R({"../../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}}),l0=R({"../../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}}),s0=R({"../../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}}),u0=R({"../../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}}),c0=R({"../../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}}),d0=R({"../../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}}),f0=R({"../../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}}),p0=R({"../../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}}),m0=R({"../../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}}),h0=R({"../../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}}),b0=R({"../../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}}),g0=R({"../../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}}),y0=R({"../../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}}),v0=R({"../../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}}),_0=R({"../../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}}),E0=R({"../../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}}),w0=R({"../../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}}),C0=R({"../../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}}),R0=R({"../../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}}),T0=R({"../../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}}),P0=R({"../../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}}),S0=R({"../../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}}),O0=R({"../../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}}),A0=R({"../../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}}),q0=R({"../../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}}),x0=R({"../../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}}),M0=R({"../../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}}),$0=R({"../../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}}),N0=R({"../../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}}),j0=R({"../../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}}),I0=R({"../../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}}),L0=R({"../../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}}),B0=R({"../../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}}),D0=R({"../../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}}),k0=R({"../../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}}),F0=R({"../../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}}),U0=R({"../../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}}),H0=R({"../../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}}),z0=R({"../../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}}),V0=R({"../../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}}),G0=R({"../../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}}),W0=R({"../../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}}),K0=R({"../../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}}),Y0=R({"../../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}}),J0=R({"../../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}}),X0=R({"../../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}}),Q0=R({"../../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}}),Z0=R({"../../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}}),eE=R({"../../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}}),tE=R({"../../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}}),rE=R({"../../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}}),nE=R({"../../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}}),oE=R({"../../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}}),aE=R({"../../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}}),iE=R({"../../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}}),lE=R({"../../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}}),sE=R({"../../node_modules/aria-query/lib/etc/roles/ariaLiteralRoles.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=U($_()),r=U(N_()),n=U(j_()),o=U(I_()),i=U(L_()),a=U(B_()),l=U(D_()),u=U(k_()),c=U(F_()),s=U(U_()),d=U(H_()),p=U(z_()),f=U(V_()),m=U(G_()),h=U(W_()),y=U(K_()),b=U(Y_()),g=U(J_()),T=U(X_()),C=U(Q_()),E=U(Z_()),w=U(e0()),_=U(t0()),v=U(r0()),O=U(n0()),$=U(o0()),N=U(a0()),L=U(i0()),j=U(l0()),I=U(s0()),H=U(u0()),V=U(c0()),J=U(d0()),W=U(f0()),ve=U(p0()),Ie=U(m0()),Le=U(h0()),F=U(b0()),B=U(g0()),k=U(y0()),G=U(v0()),Z=U(_0()),ue=U(E0()),_e=U(w0()),lt=U(C0()),q=U(R0()),z=U(T0()),D=U(P0()),X=U(S0()),M=U(O0()),ie=U(A0()),le=U(q0()),ge=U(x0()),st=U(M0()),Nb=U($0()),jb=U(N0()),Ib=U(j0()),Lb=U(I0()),Bb=U(L0()),Db=U(B0()),kb=U(D0()),Fb=U(k0()),Ub=U(F0()),Hb=U(U0()),zb=U(H0()),Vb=U(z0()),Gb=U(V0()),Wb=U(G0()),Kb=U(W0()),Yb=U(K0()),Jb=U(Y0()),Xb=U(J0()),Qb=U(X0()),Zb=U(Q0()),eg=U(Z0()),tg=U(eE()),rg=U(tE()),ng=U(rE()),og=U(nE()),ag=U(oE()),ig=U(aE()),lg=U(iE()),sg=U(lE());function U(wn){return wn&&wn.__esModule?wn:{default:wn}}var ug=[["alert",t.default],["alertdialog",r.default],["application",n.default],["article",o.default],["banner",i.default],["blockquote",a.default],["button",l.default],["caption",u.default],["cell",c.default],["checkbox",s.default],["code",d.default],["columnheader",p.default],["combobox",f.default],["complementary",m.default],["contentinfo",h.default],["definition",y.default],["deletion",b.default],["dialog",g.default],["directory",T.default],["document",C.default],["emphasis",E.default],["feed",w.default],["figure",_.default],["form",v.default],["generic",O.default],["grid",$.default],["gridcell",N.default],["group",L.default],["heading",j.default],["img",I.default],["insertion",H.default],["link",V.default],["list",J.default],["listbox",W.default],["listitem",ve.default],["log",Ie.default],["main",Le.default],["mark",F.default],["marquee",B.default],["math",k.default],["menu",G.default],["menubar",Z.default],["menuitem",ue.default],["menuitemcheckbox",_e.default],["menuitemradio",lt.default],["meter",q.default],["navigation",z.default],["none",D.default],["note",X.default],["option",M.default],["paragraph",ie.default],["presentation",le.default],["progressbar",ge.default],["radio",st.default],["radiogroup",Nb.default],["region",jb.default],["row",Ib.default],["rowgroup",Lb.default],["rowheader",Bb.default],["scrollbar",Db.default],["search",kb.default],["searchbox",Fb.default],["separator",Ub.default],["slider",Hb.default],["spinbutton",zb.default],["status",Vb.default],["strong",Gb.default],["subscript",Wb.default],["superscript",Kb.default],["switch",Yb.default],["tab",Jb.default],["table",Xb.default],["tablist",Qb.default],["tabpanel",Zb.default],["term",eg.default],["textbox",tg.default],["time",rg.default],["timer",ng.default],["toolbar",og.default],["tooltip",ag.default],["tree",ig.default],["treegrid",lg.default],["treeitem",sg.default]],cg=ug;e.default=cg}}),uE=R({"../../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}}),cE=R({"../../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}}),dE=R({"../../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}}),fE=R({"../../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}}),pE=R({"../../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}}),mE=R({"../../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}}),hE=R({"../../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}}),bE=R({"../../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}}),gE=R({"../../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}}),yE=R({"../../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}}),vE=R({"../../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}}),_E=R({"../../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}}),EE=R({"../../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}}),wE=R({"../../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}}),CE=R({"../../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}}),RE=R({"../../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}}),TE=R({"../../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}}),PE=R({"../../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}}),SE=R({"../../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}}),OE=R({"../../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}}),AE=R({"../../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}}),qE=R({"../../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}}),xE=R({"../../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}}),ME=R({"../../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}}),$E=R({"../../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}}),NE=R({"../../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}}),jE=R({"../../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}}),IE=R({"../../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}}),LE=R({"../../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}}),BE=R({"../../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}}),DE=R({"../../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}}),kE=R({"../../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}}),FE=R({"../../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}}),UE=R({"../../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}}),HE=R({"../../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}}),zE=R({"../../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}}),VE=R({"../../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}}),GE=R({"../../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}}),WE=R({"../../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}}),KE=R({"../../node_modules/aria-query/lib/etc/roles/ariaDpubRoles.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=k(uE()),r=k(cE()),n=k(dE()),o=k(fE()),i=k(pE()),a=k(mE()),l=k(hE()),u=k(bE()),c=k(gE()),s=k(yE()),d=k(vE()),p=k(_E()),f=k(EE()),m=k(wE()),h=k(CE()),y=k(RE()),b=k(TE()),g=k(PE()),T=k(SE()),C=k(OE()),E=k(AE()),w=k(qE()),_=k(xE()),v=k(ME()),O=k($E()),$=k(NE()),N=k(jE()),L=k(IE()),j=k(LE()),I=k(BE()),H=k(DE()),V=k(kE()),J=k(FE()),W=k(UE()),ve=k(HE()),Ie=k(zE()),Le=k(VE()),F=k(GE()),B=k(WE());function k(ue){return ue&&ue.__esModule?ue:{default:ue}}var G=[["doc-abstract",t.default],["doc-acknowledgments",r.default],["doc-afterword",n.default],["doc-appendix",o.default],["doc-backlink",i.default],["doc-biblioentry",a.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",m.default],["doc-dedication",h.default],["doc-endnote",y.default],["doc-endnotes",b.default],["doc-epigraph",g.default],["doc-epilogue",T.default],["doc-errata",C.default],["doc-example",E.default],["doc-footnote",w.default],["doc-foreword",_.default],["doc-glossary",v.default],["doc-glossref",O.default],["doc-index",$.default],["doc-introduction",N.default],["doc-noteref",L.default],["doc-notice",j.default],["doc-pagebreak",I.default],["doc-pagelist",H.default],["doc-part",V.default],["doc-preface",J.default],["doc-prologue",W.default],["doc-pullquote",ve.default],["doc-qna",Ie.default],["doc-subtitle",Le.default],["doc-tip",F.default],["doc-toc",B.default]],Z=G;e.default=Z}}),YE=R({"../../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}}),JE=R({"../../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}}),XE=R({"../../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}}),QE=R({"../../node_modules/aria-query/lib/etc/roles/ariaGraphicsRoles.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=o(YE()),r=o(JE()),n=o(XE());function o(l){return l&&l.__esModule?l:{default:l}}var i=[["graphics-document",t.default],["graphics-object",r.default],["graphics-symbol",n.default]],a=i;e.default=a}}),$i=R({"../../node_modules/aria-query/lib/rolesMap.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=a(M_()),r=a(sE()),n=a(KE()),o=a(QE()),i=a(pn());function a(g){return g&&g.__esModule?g:{default:g}}function l(g,T,C){return T in g?Object.defineProperty(g,T,{value:C,enumerable:!0,configurable:!0,writable:!0}):g[T]=C,g}function u(g,T){var C=typeof Symbol<"u"&&g[Symbol.iterator]||g["@@iterator"];if(!C){if(Array.isArray(g)||(C=d(g))||T){C&&(g=C);var E=0,w=function(){};return{s:w,n:function(){return E>=g.length?{done:!0}:{done:!1,value:g[E++]}},e:function($){throw $},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 _=!0,v=!1,O;return{s:function(){C=C.call(g)},n:function(){var $=C.next();return _=$.done,$},e:function($){v=!0,O=$},f:function(){try{!_&&C.return!=null&&C.return()}finally{if(v)throw O}}}}function c(g,T){return m(g)||f(g,T)||d(g,T)||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(g,T){if(g){if(typeof g=="string")return p(g,T);var C=Object.prototype.toString.call(g).slice(8,-1);if(C==="Object"&&g.constructor&&(C=g.constructor.name),C==="Map"||C==="Set")return Array.from(g);if(C==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(C))return p(g,T)}}function p(g,T){(T==null||T>g.length)&&(T=g.length);for(var C=0,E=new Array(T);C<T;C++)E[C]=g[C];return E}function f(g,T){var C=g==null?null:typeof Symbol<"u"&&g[Symbol.iterator]||g["@@iterator"];if(C!=null){var E=[],w=!0,_=!1,v,O;try{for(C=C.call(g);!(w=(v=C.next()).done)&&(E.push(v.value),!(T&&E.length===T));w=!0);}catch($){_=!0,O=$}finally{try{!w&&C.return!=null&&C.return()}finally{if(_)throw O}}return E}}function m(g){if(Array.isArray(g))return g}var h=[].concat(t.default,r.default,n.default,o.default);h.forEach(function(g){var T=c(g,2),C=T[1],E=u(C.superClass),w;try{for(E.s();!(w=E.n()).done;){var _=w.value,v=u(_),O;try{var $=function(){var N=O.value,L=h.find(function(J){var W=c(J,1),ve=W[0];return ve===N});if(L)for(var j=L[1],I=0,H=Object.keys(j.props);I<H.length;I++){var V=H[I];Object.prototype.hasOwnProperty.call(C.props,V)||Object.assign(C.props,l({},V,j.props[V]))}};for(v.s();!(O=v.n()).done;)$()}catch(N){v.e(N)}finally{v.f()}}}catch(N){E.e(N)}finally{E.f()}});var y={entries:function(){return h},forEach:function(g){var T=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,C=u(h),E;try{for(C.s();!(E=C.n()).done;){var w=c(E.value,2),_=w[0],v=w[1];g.call(T,v,_,h)}}catch(O){C.e(O)}finally{C.f()}},get:function(g){var T=h.find(function(C){return C[0]===g});return T&&T[1]},has:function(g){return!!y.get(g)},keys:function(){return h.map(function(g){var T=c(g,1),C=T[0];return C})},values:function(){return h.map(function(g){var T=c(g,2),C=T[1];return C})}},b=(0,i.default)(y,y.entries());e.default=b}}),ZE=R({"../../node_modules/dequal/lite/index.js"(e){var t=Object.prototype.hasOwnProperty;function r(n,o){var i,a;if(n===o)return!0;if(n&&o&&(i=n.constructor)===o.constructor){if(i===Date)return n.getTime()===o.getTime();if(i===RegExp)return n.toString()===o.toString();if(i===Array){if((a=n.length)===o.length)for(;a--&&r(n[a],o[a]););return a===-1}if(!i||typeof n=="object"){a=0;for(i in n)if(t.call(n,i)&&++a&&!t.call(o,i)||!(i in o)||!r(n[i],o[i]))return!1;return Object.keys(o).length===a}}return n!==n&&o!==o}e.dequal=r}}),ew=R({"../../node_modules/aria-query/lib/elementRoleMap.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=ZE(),r=o(pn()),n=o($i());function o(w){return w&&w.__esModule?w:{default:w}}function i(w,_){return u(w)||l(w,_)||s(w,_)||a()}function a(){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,_){var v=w==null?null:typeof Symbol<"u"&&w[Symbol.iterator]||w["@@iterator"];if(v!=null){var O=[],$=!0,N=!1,L,j;try{for(v=v.call(w);!($=(L=v.next()).done)&&(O.push(L.value),!(_&&O.length===_));$=!0);}catch(I){N=!0,j=I}finally{try{!$&&v.return!=null&&v.return()}finally{if(N)throw j}}return O}}function u(w){if(Array.isArray(w))return w}function c(w,_){var v=typeof Symbol<"u"&&w[Symbol.iterator]||w["@@iterator"];if(!v){if(Array.isArray(w)||(v=s(w))||_){v&&(w=v);var O=0,$=function(){};return{s:$,n:function(){return O>=w.length?{done:!0}:{done:!1,value:w[O++]}},e:function(I){throw I},f:$}}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,L=!1,j;return{s:function(){v=v.call(w)},n:function(){var I=v.next();return N=I.done,I},e:function(I){L=!0,j=I},f:function(){try{!N&&v.return!=null&&v.return()}finally{if(L)throw j}}}}function s(w,_){if(w){if(typeof w=="string")return d(w,_);var v=Object.prototype.toString.call(w).slice(8,-1);if(v==="Object"&&w.constructor&&(v=w.constructor.name),v==="Map"||v==="Set")return Array.from(w);if(v==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(v))return d(w,_)}}function d(w,_){(_==null||_>w.length)&&(_=w.length);for(var v=0,O=new Array(_);v<_;v++)O[v]=w[v];return O}var p=[],f=n.default.keys();for(T=0;T<f.length;T++)if(m=f[T],h=n.default.get(m),h)for(y=[].concat(h.baseConcepts,h.relatedConcepts),g=0;g<y.length;g++)b=y[g],b.module==="HTML"&&function(){var w=b.concept;if(w){var _=p.find(function(N){return(0,t.dequal)(N,w)}),v;_?v=_[1]:v=[];for(var O=!0,$=0;$<v.length;$++)if(v[$]===m){O=!1;break}O&&v.push(m),p.push([w,v])}}();var m,h,y,b,g,T,C={entries:function(){return p},forEach:function(w){var _=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,v=c(p),O;try{for(v.s();!(O=v.n()).done;){var $=i(O.value,2),N=$[0],L=$[1];w.call(_,L,N,p)}}catch(j){v.e(j)}finally{v.f()}},get:function(w){var _=p.find(function(v){return w.name===v[0].name&&(0,t.dequal)(w.attributes,v[0].attributes)});return _&&_[1]},has:function(w){return!!C.get(w)},keys:function(){return p.map(function(w){var _=i(w,1),v=_[0];return v})},values:function(){return p.map(function(w){var _=i(w,2),v=_[1];return v})}},E=(0,r.default)(C,C.entries());e.default=E}}),tw=R({"../../node_modules/aria-query/lib/roleElementMap.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=n(pn()),r=n($i());function n(_){return _&&_.__esModule?_:{default:_}}function o(_,v){return l(_)||a(_,v)||c(_,v)||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 a(_,v){var O=_==null?null:typeof Symbol<"u"&&_[Symbol.iterator]||_["@@iterator"];if(O!=null){var $=[],N=!0,L=!1,j,I;try{for(O=O.call(_);!(N=(j=O.next()).done)&&($.push(j.value),!(v&&$.length===v));N=!0);}catch(H){L=!0,I=H}finally{try{!N&&O.return!=null&&O.return()}finally{if(L)throw I}}return $}}function l(_){if(Array.isArray(_))return _}function u(_,v){var O=typeof Symbol<"u"&&_[Symbol.iterator]||_["@@iterator"];if(!O){if(Array.isArray(_)||(O=c(_))||v){O&&(_=O);var $=0,N=function(){};return{s:N,n:function(){return $>=_.length?{done:!0}:{done:!1,value:_[$++]}},e:function(H){throw H},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 L=!0,j=!1,I;return{s:function(){O=O.call(_)},n:function(){var H=O.next();return L=H.done,H},e:function(H){j=!0,I=H},f:function(){try{!L&&O.return!=null&&O.return()}finally{if(j)throw I}}}}function c(_,v){if(_){if(typeof _=="string")return s(_,v);var O=Object.prototype.toString.call(_).slice(8,-1);if(O==="Object"&&_.constructor&&(O=_.constructor.name),O==="Map"||O==="Set")return Array.from(_);if(O==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(O))return s(_,v)}}function s(_,v){(v==null||v>_.length)&&(v=_.length);for(var O=0,$=new Array(v);O<v;O++)$[O]=_[O];return $}var d=[],p=r.default.keys();for(C=0;C<p.length;C++)if(f=p[C],m=r.default.get(f),h=[],m){for(y=[].concat(m.baseConcepts,m.relatedConcepts),T=0;T<y.length;T++)b=y[T],b.module==="HTML"&&(g=b.concept,g!=null&&h.push(g));h.length>0&&d.push([f,h])}var f,m,h,y,b,g,T,C,E={entries:function(){return d},forEach:function(_){var v=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,O=u(d),$;try{for(O.s();!($=O.n()).done;){var N=o($.value,2),L=N[0],j=N[1];_.call(v,j,L,d)}}catch(I){O.e(I)}finally{O.f()}},get:function(_){var v=d.find(function(O){return O[0]===_});return v&&v[1]},has:function(_){return!!E.get(_)},keys:function(){return d.map(function(_){var v=o(_,1),O=v[0];return O})},values:function(){return d.map(function(_){var v=o(_,2),O=v[1];return O})}},w=(0,t.default)(E,E.entries());e.default=w}}),Ni=R({"../../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=a(y_()),r=a(v_()),n=a($i()),o=a(ew()),i=a(tw());function a(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=o.default;e.elementRoles=s;var d=i.default;e.roleElements=d}}),rw=R({"../../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]}}}),Nd=R({"../../node_modules/color-convert/conversions.js"(e,t){var r=rw(),n={};for(let a of Object.keys(r))n[r[a]]=a;var o={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=o;for(let a of Object.keys(o)){if(!("channels"in o[a]))throw new Error("missing channels property: "+a);if(!("labels"in o[a]))throw new Error("missing channel labels property: "+a);if(o[a].labels.length!==o[a].channels)throw new Error("channel and label counts mismatch: "+a);let{channels:l,labels:u}=o[a];delete o[a].channels,delete o[a].labels,Object.defineProperty(o[a],"channels",{value:l}),Object.defineProperty(o[a],"labels",{value:u})}o.rgb.hsl=function(a){let l=a[0]/255,u=a[1]/255,c=a[2]/255,s=Math.min(l,u,c),d=Math.max(l,u,c),p=d-s,f,m;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 h=(s+d)/2;return d===s?m=0:h<=.5?m=p/(d+s):m=p/(2-d-s),[f,m*100,h*100]},o.rgb.hsv=function(a){let l,u,c,s,d,p=a[0]/255,f=a[1]/255,m=a[2]/255,h=Math.max(p,f,m),y=h-Math.min(p,f,m),b=function(g){return(h-g)/6/y+1/2};return y===0?(s=0,d=0):(d=y/h,l=b(p),u=b(f),c=b(m),p===h?s=c-u:f===h?s=1/3+l-c:m===h&&(s=2/3+u-l),s<0?s+=1:s>1&&(s-=1)),[s*360,d*100,h*100]},o.rgb.hwb=function(a){let l=a[0],u=a[1],c=a[2],s=o.rgb.hsl(a)[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]},o.rgb.cmyk=function(a){let l=a[0]/255,u=a[1]/255,c=a[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(a,l){return(a[0]-l[0])**2+(a[1]-l[1])**2+(a[2]-l[2])**2}o.rgb.keyword=function(a){let l=n[a];if(l)return l;let u=1/0,c;for(let s of Object.keys(r)){let d=r[s],p=i(a,d);p<u&&(u=p,c=s)}return c},o.keyword.rgb=function(a){return r[a]},o.rgb.xyz=function(a){let l=a[0]/255,u=a[1]/255,c=a[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]},o.rgb.lab=function(a){let l=o.rgb.xyz(a),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]},o.hsl.rgb=function(a){let l=a[0]/360,u=a[1]/100,c=a[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,m=[0,0,0];for(let h=0;h<3;h++)d=l+1/3*-(h-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,m[h]=p*255;return m},o.hsl.hsv=function(a){let l=a[0],u=a[1]/100,c=a[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]},o.hsv.rgb=function(a){let l=a[0]/60,u=a[1]/100,c=a[2]/100,s=Math.floor(l)%6,d=l-Math.floor(l),p=255*c*(1-u),f=255*c*(1-u*d),m=255*c*(1-u*(1-d));switch(c*=255,s){case 0:return[c,m,p];case 1:return[f,c,p];case 2:return[p,c,m];case 3:return[p,f,c];case 4:return[m,p,c];case 5:return[c,p,f]}},o.hsv.hsl=function(a){let l=a[0],u=a[1]/100,c=a[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]},o.hwb.rgb=function(a){let l=a[0]/360,u=a[1]/100,c=a[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 m=u+d*(f-u),h,y,b;switch(p){default:case 6:case 0:h=f,y=m,b=u;break;case 1:h=m,y=f,b=u;break;case 2:h=u,y=f,b=m;break;case 3:h=u,y=m,b=f;break;case 4:h=m,y=u,b=f;break;case 5:h=f,y=u,b=m;break}return[h*255,y*255,b*255]},o.cmyk.rgb=function(a){let l=a[0]/100,u=a[1]/100,c=a[2]/100,s=a[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]},o.xyz.rgb=function(a){let l=a[0]/100,u=a[1]/100,c=a[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]},o.xyz.lab=function(a){let l=a[0],u=a[1],c=a[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]},o.lab.xyz=function(a){let l=a[0],u=a[1],c=a[2],s,d,p;d=(l+16)/116,s=u/500+d,p=d-c/200;let f=d**3,m=s**3,h=p**3;return d=f>.008856?f:(d-16/116)/7.787,s=m>.008856?m:(s-16/116)/7.787,p=h>.008856?h:(p-16/116)/7.787,s*=95.047,d*=100,p*=108.883,[s,d,p]},o.lab.lch=function(a){let l=a[0],u=a[1],c=a[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]},o.lch.lab=function(a){let l=a[0],u=a[1],c=a[2]/360*2*Math.PI,s=u*Math.cos(c),d=u*Math.sin(c);return[l,s,d]},o.rgb.ansi16=function(a,l=null){let[u,c,s]=a,d=l===null?o.rgb.hsv(a)[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},o.hsv.ansi16=function(a){return o.rgb.ansi16(o.hsv.rgb(a),a[2])},o.rgb.ansi256=function(a){let l=a[0],u=a[1],c=a[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)},o.ansi16.rgb=function(a){let l=a%10;if(l===0||l===7)return a>50&&(l+=3.5),l=l/10.5*255,[l,l,l];let u=(~~(a>50)+1)*.5,c=(l&1)*u*255,s=(l>>1&1)*u*255,d=(l>>2&1)*u*255;return[c,s,d]},o.ansi256.rgb=function(a){if(a>=232){let d=(a-232)*10+8;return[d,d,d]}a-=16;let l,u=Math.floor(a/36)/5*255,c=Math.floor((l=a%36)/6)/5*255,s=l%6/5*255;return[u,c,s]},o.rgb.hex=function(a){let l=(((Math.round(a[0])&255)<<16)+((Math.round(a[1])&255)<<8)+(Math.round(a[2])&255)).toString(16).toUpperCase();return"000000".substring(l.length)+l},o.hex.rgb=function(a){let l=a.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]},o.rgb.hcg=function(a){let l=a[0]/255,u=a[1]/255,c=a[2]/255,s=Math.max(Math.max(l,u),c),d=Math.min(Math.min(l,u),c),p=s-d,f,m;return p<1?f=d/(1-p):f=0,p<=0?m=0:s===l?m=(u-c)/p%6:s===u?m=2+(c-l)/p:m=4+(l-u)/p,m/=6,m%=1,[m*360,p*100,f*100]},o.hsl.hcg=function(a){let l=a[1]/100,u=a[2]/100,c=u<.5?2*l*u:2*l*(1-u),s=0;return c<1&&(s=(u-.5*c)/(1-c)),[a[0],c*100,s*100]},o.hsv.hcg=function(a){let l=a[1]/100,u=a[2]/100,c=l*u,s=0;return c<1&&(s=(u-c)/(1-c)),[a[0],c*100,s*100]},o.hcg.rgb=function(a){let l=a[0]/360,u=a[1]/100,c=a[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,m=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 m=(1-u)*c,[(u*s[0]+m)*255,(u*s[1]+m)*255,(u*s[2]+m)*255]},o.hcg.hsv=function(a){let l=a[1]/100,u=a[2]/100,c=l+u*(1-l),s=0;return c>0&&(s=l/c),[a[0],s*100,c*100]},o.hcg.hsl=function(a){let l=a[1]/100,u=a[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))),[a[0],c*100,u*100]},o.hcg.hwb=function(a){let l=a[1]/100,u=a[2]/100,c=l+u*(1-l);return[a[0],(c-l)*100,(1-c)*100]},o.hwb.hcg=function(a){let l=a[1]/100,u=1-a[2]/100,c=u-l,s=0;return c<1&&(s=(u-c)/(1-c)),[a[0],c*100,s*100]},o.apple.rgb=function(a){return[a[0]/65535*255,a[1]/65535*255,a[2]/65535*255]},o.rgb.apple=function(a){return[a[0]/255*65535,a[1]/255*65535,a[2]/255*65535]},o.gray.rgb=function(a){return[a[0]/100*255,a[0]/100*255,a[0]/100*255]},o.gray.hsl=function(a){return[0,0,a[0]]},o.gray.hsv=o.gray.hsl,o.gray.hwb=function(a){return[0,100,a[0]]},o.gray.cmyk=function(a){return[0,0,0,a[0]]},o.gray.lab=function(a){return[a[0],0,0]},o.gray.hex=function(a){let l=Math.round(a[0]/100*255)&255,u=((l<<16)+(l<<8)+l).toString(16).toUpperCase();return"000000".substring(u.length)+u},o.rgb.gray=function(a){return[(a[0]+a[1]+a[2])/3/255*100]}}}),nw=R({"../../node_modules/color-convert/route.js"(e,t){var r=Nd();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 o(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 m=d[f],h=u[m];h.distance===-1&&(h.distance=u[s].distance+1,h.parent=s,c.unshift(m))}}return u}function i(l,u){return function(c){return u(l(c))}}function a(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=o(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]=a(f,u))}return c}}}),ow=R({"../../node_modules/color-convert/index.js"(e,t){var r=Nd(),n=nw(),o={},i=Object.keys(r);function a(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,m=0;m<f;m++)p[m]=Math.round(p[m]);return p};return"conversion"in u&&(c.conversion=u.conversion),c}i.forEach(u=>{o[u]={},Object.defineProperty(o[u],"channels",{value:r[u].channels}),Object.defineProperty(o[u],"labels",{value:r[u].labels});let c=n(u);Object.keys(c).forEach(s=>{let d=c[s];o[u][s]=l(d),o[u][s].raw=a(d)})}),t.exports=o}}),aw=R({"../../node_modules/ansi-styles/index.js"(e,t){var r=(d,p)=>(...f)=>`\x1B[${d(...f)+p}m`,n=(d,p)=>(...f)=>{let m=d(...f);return`\x1B[${38+p};5;${m}m`},o=(d,p)=>(...f)=>{let m=d(...f);return`\x1B[${38+p};2;${m[0]};${m[1]};${m[2]}m`},i=d=>d,a=(d,p,f)=>[d,p,f],l=(d,p,f)=>{Object.defineProperty(d,p,{get:()=>{let m=f();return Object.defineProperty(d,p,{value:m,enumerable:!0,configurable:!0}),m},enumerable:!0,configurable:!0})},u,c=(d,p,f,m)=>{u===void 0&&(u=ow());let h=m?10:0,y={};for(let[b,g]of Object.entries(u)){let T=b==="ansi16"?"ansi":b;b===p?y[T]=d(f,h):typeof g=="object"&&(y[T]=d(g[p],h))}return y};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,m]of Object.entries(p)){for(let[h,y]of Object.entries(m))p[h]={open:`\x1B[${y[0]}m`,close:`\x1B[${y[1]}m`},m[h]=p[h],d.set(y[0],y[1]);Object.defineProperty(p,f,{value:m,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(o,"rgb",a,!1)),l(p.bgColor,"ansi",()=>c(r,"ansi16",i,!0)),l(p.bgColor,"ansi256",()=>c(n,"ansi256",i,!0)),l(p.bgColor,"ansi16m",()=>c(o,"rgb",a,!0)),p}Object.defineProperty(t,"exports",{enumerable:!0,get:s})}}),iw=R({"../../node_modules/supports-color/browser.js"(e,t){t.exports={stdout:!1,stderr:!1}}}),lw=R({"../../node_modules/@testing-library/jest-dom/node_modules/chalk/source/util.js"(e,t){var r=(o,i,a)=>{let l=o.indexOf(i);if(l===-1)return o;let u=i.length,c=0,s="";do s+=o.substr(c,l-c)+i+a,c=l+u,l=o.indexOf(i,c);while(l!==-1);return s+=o.substr(c),s},n=(o,i,a,l)=>{let u=0,c="";do{let s=o[l-1]==="\r";c+=o.substr(u,(s?l-1:l)-u)+i+(s?`\r
|
|
59
|
+
`:`
|
|
60
|
+
`)+a,u=l+1,l=o.indexOf(`
|
|
61
|
+
`,u)}while(l!==-1);return c+=o.substr(u),c};t.exports={stringReplaceAll:r,stringEncaseCRLFWithFirstIndex:n}}}),sw=R({"../../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,o=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/,i=/\\(u(?:[a-f\d]{4}|\{[a-f\d]{1,6}\})|x[a-f\d]{2}|.)|([^\\])/gi,a=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)):a.get(d)||d}function u(d,p){let f=[],m=p.trim().split(/\s*,\s*/g),h;for(let y of m){let b=Number(y);if(!Number.isNaN(b))f.push(b);else if(h=y.match(o))f.push(h[2].replace(i,(g,T,C)=>T?l(T):C));else throw new Error(`Invalid Chalk template style argument: ${y} (in style '${d}')`)}return f}function c(d){n.lastIndex=0;let p=[],f;for(;(f=n.exec(d))!==null;){let m=f[1];if(f[2]){let h=u(m,f[2]);p.push([m].concat(h))}else p.push([m])}return p}function s(d,p){let f={};for(let h of p)for(let y of h.styles)f[y[0]]=h.inverse?null:y.slice(1);let m=d;for(let[h,y]of Object.entries(f))if(Array.isArray(y)){if(!(h in m))throw new Error(`Unknown Chalk style: ${h}`);m=y.length>0?m[h](...y):m[h]}return m}t.exports=(d,p)=>{let f=[],m=[],h=[];if(p.replace(r,(y,b,g,T,C,E)=>{if(b)h.push(l(b));else if(T){let w=h.join("");h=[],m.push(f.length===0?w:s(d,f)(w)),f.push({inverse:g,styles:c(T)})}else if(C){if(f.length===0)throw new Error("Found extraneous } in Chalk template literal");m.push(s(d,f)(h.join(""))),h=[],f.pop()}else h.push(E)}),m.push(h.join("")),f.length>0){let y=`Chalk template literal is missing ${f.length} closing bracket${f.length===1?"":"s"} (\`}\`)`;throw new Error(y)}return m.join("")}}}),jd=R({"../../node_modules/@testing-library/jest-dom/node_modules/chalk/source/index.js"(e,t){var r=aw(),{stdout:n,stderr:o}=iw(),{stringReplaceAll:i,stringEncaseCRLFWithFirstIndex:a}=lw(),l=["ansi","ansi","ansi256","ansi16m"],u=Object.create(null),c=(E,w={})=>{if(w.level>3||w.level<0)throw new Error("The `level` option should be an integer from 0 to 3");let _=n?n.level:0;E.level=w.level===void 0?_:w.level},s=class{constructor(E){return d(E)}},d=E=>{let w={};return c(w,E),w.template=(..._)=>T(w.template,..._),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(E){return d(E)}for(let[E,w]of Object.entries(r))u[E]={get(){let _=y(this,h(w.open,w.close,this._styler),this._isEmpty);return Object.defineProperty(this,E,{value:_}),_}};u.visible={get(){let E=y(this,this._styler,!0);return Object.defineProperty(this,"visible",{value:E}),E}};var f=["rgb","hex","keyword","hsl","hsv","hwb","ansi","ansi256"];for(let E of f)u[E]={get(){let{level:w}=this;return function(..._){let v=h(r.color[l[w]][E](..._),r.color.close,this._styler);return y(this,v,this._isEmpty)}}};for(let E of f){let w="bg"+E[0].toUpperCase()+E.slice(1);u[w]={get(){let{level:_}=this;return function(...v){let O=h(r.bgColor[l[_]][E](...v),r.bgColor.close,this._styler);return y(this,O,this._isEmpty)}}}}var m=Object.defineProperties(()=>{},{...u,level:{enumerable:!0,get(){return this._generator.level},set(E){this._generator.level=E}}}),h=(E,w,_)=>{let v,O;return _===void 0?(v=E,O=w):(v=_.openAll+E,O=w+_.closeAll),{open:E,close:w,openAll:v,closeAll:O,parent:_}},y=(E,w,_)=>{let v=(...O)=>b(v,O.length===1?""+O[0]:O.join(" "));return v.__proto__=m,v._generator=E,v._styler=w,v._isEmpty=_,v},b=(E,w)=>{if(E.level<=0||!w)return E._isEmpty?"":w;let _=E._styler;if(_===void 0)return w;let{openAll:v,closeAll:O}=_;if(w.indexOf("\x1B")!==-1)for(;_!==void 0;)w=i(w,_.close,_.open),_=_.parent;let $=w.indexOf(`
|
|
63
|
+
`);return $!==-1&&(w=a(w,O,v,$)),v+w+O},g,T=(E,...w)=>{let[_]=w;if(!Array.isArray(_))return w.join(" ");let v=w.slice(1),O=[_.raw[0]];for(let $=1;$<_.length;$++)O.push(String(v[$-1]).replace(/[{}\\]/g,"\\$&"),String(_.raw[$]));return g===void 0&&(g=sw()),g(E,O.join(""))};Object.defineProperties(p.prototype,u);var C=p();C.supportsColor=n,C.stderr=p({level:o?o.level:0}),C.stderr.supportsColor=o,C.Level={None:0,Basic:1,Ansi256:2,TrueColor:3,0:"None",1:"Basic",2:"Ansi256",3:"TrueColor"},t.exports=C}}),uw=R({"../../node_modules/lodash/_listCacheClear.js"(e,t){function r(){this.__data__=[],this.size=0}t.exports=r}}),Id=R({"../../node_modules/lodash/eq.js"(e,t){function r(n,o){return n===o||n!==n&&o!==o}t.exports=r}}),so=R({"../../node_modules/lodash/_assocIndexOf.js"(e,t){var r=Id();function n(o,i){for(var a=o.length;a--;)if(r(o[a][0],i))return a;return-1}t.exports=n}}),cw=R({"../../node_modules/lodash/_listCacheDelete.js"(e,t){var r=so(),n=Array.prototype,o=n.splice;function i(a){var l=this.__data__,u=r(l,a);if(u<0)return!1;var c=l.length-1;return u==c?l.pop():o.call(l,u,1),--this.size,!0}t.exports=i}}),dw=R({"../../node_modules/lodash/_listCacheGet.js"(e,t){var r=so();function n(o){var i=this.__data__,a=r(i,o);return a<0?void 0:i[a][1]}t.exports=n}}),fw=R({"../../node_modules/lodash/_listCacheHas.js"(e,t){var r=so();function n(o){return r(this.__data__,o)>-1}t.exports=n}}),pw=R({"../../node_modules/lodash/_listCacheSet.js"(e,t){var r=so();function n(o,i){var a=this.__data__,l=r(a,o);return l<0?(++this.size,a.push([o,i])):a[l][1]=i,this}t.exports=n}}),uo=R({"../../node_modules/lodash/_ListCache.js"(e,t){var r=uw(),n=cw(),o=dw(),i=fw(),a=pw();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=o,l.prototype.has=i,l.prototype.set=a,t.exports=l}}),mw=R({"../../node_modules/lodash/_stackClear.js"(e,t){var r=uo();function n(){this.__data__=new r,this.size=0}t.exports=n}}),hw=R({"../../node_modules/lodash/_stackDelete.js"(e,t){function r(n){var o=this.__data__,i=o.delete(n);return this.size=o.size,i}t.exports=r}}),bw=R({"../../node_modules/lodash/_stackGet.js"(e,t){function r(n){return this.__data__.get(n)}t.exports=r}}),gw=R({"../../node_modules/lodash/_stackHas.js"(e,t){function r(n){return this.__data__.has(n)}t.exports=r}}),Ld=R({"../../node_modules/lodash/_freeGlobal.js"(e,t){var r=typeof global=="object"&&global&&global.Object===Object&&global;t.exports=r}}),vt=R({"../../node_modules/lodash/_root.js"(e,t){var r=Ld(),n=typeof self=="object"&&self&&self.Object===Object&&self,o=r||n||Function("return this")();t.exports=o}}),ji=R({"../../node_modules/lodash/_Symbol.js"(e,t){var r=vt(),n=r.Symbol;t.exports=n}}),yw=R({"../../node_modules/lodash/_getRawTag.js"(e,t){var r=ji(),n=Object.prototype,o=n.hasOwnProperty,i=n.toString,a=r?r.toStringTag:void 0;function l(u){var c=o.call(u,a),s=u[a];try{u[a]=void 0;var d=!0}catch{}var p=i.call(u);return d&&(c?u[a]=s:delete u[a]),p}t.exports=l}}),vw=R({"../../node_modules/lodash/_objectToString.js"(e,t){var r=Object.prototype,n=r.toString;function o(i){return n.call(i)}t.exports=o}}),co=R({"../../node_modules/lodash/_baseGetTag.js"(e,t){var r=ji(),n=yw(),o=vw(),i="[object Null]",a="[object Undefined]",l=r?r.toStringTag:void 0;function u(c){return c==null?c===void 0?a:i:l&&l in Object(c)?n(c):o(c)}t.exports=u}}),Bd=R({"../../node_modules/lodash/isObject.js"(e,t){function r(n){var o=typeof n;return n!=null&&(o=="object"||o=="function")}t.exports=r}}),Dd=R({"../../node_modules/lodash/isFunction.js"(e,t){var r=co(),n=Bd(),o="[object AsyncFunction]",i="[object Function]",a="[object GeneratorFunction]",l="[object Proxy]";function u(c){if(!n(c))return!1;var s=r(c);return s==i||s==a||s==o||s==l}t.exports=u}}),_w=R({"../../node_modules/lodash/_coreJsData.js"(e,t){var r=vt(),n=r["__core-js_shared__"];t.exports=n}}),Ew=R({"../../node_modules/lodash/_isMasked.js"(e,t){var r=_w(),n=function(){var i=/[^.]+$/.exec(r&&r.keys&&r.keys.IE_PROTO||"");return i?"Symbol(src)_1."+i:""}();function o(i){return!!n&&n in i}t.exports=o}}),kd=R({"../../node_modules/lodash/_toSource.js"(e,t){var r=Function.prototype,n=r.toString;function o(i){if(i!=null){try{return n.call(i)}catch{}try{return i+""}catch{}}return""}t.exports=o}}),ww=R({"../../node_modules/lodash/_baseIsNative.js"(e,t){var r=Dd(),n=Ew(),o=Bd(),i=kd(),a=/[\\^$.*+?()[\]{}|]/g,l=/^\[object .+?Constructor\]$/,u=Function.prototype,c=Object.prototype,s=u.toString,d=c.hasOwnProperty,p=RegExp("^"+s.call(d).replace(a,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function f(m){if(!o(m)||n(m))return!1;var h=r(m)?p:l;return h.test(i(m))}t.exports=f}}),Cw=R({"../../node_modules/lodash/_getValue.js"(e,t){function r(n,o){return n?.[o]}t.exports=r}}),Or=R({"../../node_modules/lodash/_getNative.js"(e,t){var r=ww(),n=Cw();function o(i,a){var l=n(i,a);return r(l)?l:void 0}t.exports=o}}),Ii=R({"../../node_modules/lodash/_Map.js"(e,t){var r=Or(),n=vt(),o=r(n,"Map");t.exports=o}}),fo=R({"../../node_modules/lodash/_nativeCreate.js"(e,t){var r=Or(),n=r(Object,"create");t.exports=n}}),Rw=R({"../../node_modules/lodash/_hashClear.js"(e,t){var r=fo();function n(){this.__data__=r?r(null):{},this.size=0}t.exports=n}}),Tw=R({"../../node_modules/lodash/_hashDelete.js"(e,t){function r(n){var o=this.has(n)&&delete this.__data__[n];return this.size-=o?1:0,o}t.exports=r}}),Pw=R({"../../node_modules/lodash/_hashGet.js"(e,t){var r=fo(),n="__lodash_hash_undefined__",o=Object.prototype,i=o.hasOwnProperty;function a(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=a}}),Sw=R({"../../node_modules/lodash/_hashHas.js"(e,t){var r=fo(),n=Object.prototype,o=n.hasOwnProperty;function i(a){var l=this.__data__;return r?l[a]!==void 0:o.call(l,a)}t.exports=i}}),Ow=R({"../../node_modules/lodash/_hashSet.js"(e,t){var r=fo(),n="__lodash_hash_undefined__";function o(i,a){var l=this.__data__;return this.size+=this.has(i)?0:1,l[i]=r&&a===void 0?n:a,this}t.exports=o}}),Aw=R({"../../node_modules/lodash/_Hash.js"(e,t){var r=Rw(),n=Tw(),o=Pw(),i=Sw(),a=Ow();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=o,l.prototype.has=i,l.prototype.set=a,t.exports=l}}),qw=R({"../../node_modules/lodash/_mapCacheClear.js"(e,t){var r=Aw(),n=uo(),o=Ii();function i(){this.size=0,this.__data__={hash:new r,map:new(o||n),string:new r}}t.exports=i}}),xw=R({"../../node_modules/lodash/_isKeyable.js"(e,t){function r(n){var o=typeof n;return o=="string"||o=="number"||o=="symbol"||o=="boolean"?n!=="__proto__":n===null}t.exports=r}}),po=R({"../../node_modules/lodash/_getMapData.js"(e,t){var r=xw();function n(o,i){var a=o.__data__;return r(i)?a[typeof i=="string"?"string":"hash"]:a.map}t.exports=n}}),Mw=R({"../../node_modules/lodash/_mapCacheDelete.js"(e,t){var r=po();function n(o){var i=r(this,o).delete(o);return this.size-=i?1:0,i}t.exports=n}}),$w=R({"../../node_modules/lodash/_mapCacheGet.js"(e,t){var r=po();function n(o){return r(this,o).get(o)}t.exports=n}}),Nw=R({"../../node_modules/lodash/_mapCacheHas.js"(e,t){var r=po();function n(o){return r(this,o).has(o)}t.exports=n}}),jw=R({"../../node_modules/lodash/_mapCacheSet.js"(e,t){var r=po();function n(o,i){var a=r(this,o),l=a.size;return a.set(o,i),this.size+=a.size==l?0:1,this}t.exports=n}}),Fd=R({"../../node_modules/lodash/_MapCache.js"(e,t){var r=qw(),n=Mw(),o=$w(),i=Nw(),a=jw();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=o,l.prototype.has=i,l.prototype.set=a,t.exports=l}}),Iw=R({"../../node_modules/lodash/_stackSet.js"(e,t){var r=uo(),n=Ii(),o=Fd(),i=200;function a(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 o(s)}return c.set(l,u),this.size=c.size,this}t.exports=a}}),Lw=R({"../../node_modules/lodash/_Stack.js"(e,t){var r=uo(),n=mw(),o=hw(),i=bw(),a=gw(),l=Iw();function u(c){var s=this.__data__=new r(c);this.size=s.size}u.prototype.clear=n,u.prototype.delete=o,u.prototype.get=i,u.prototype.has=a,u.prototype.set=l,t.exports=u}}),Bw=R({"../../node_modules/lodash/_setCacheAdd.js"(e,t){var r="__lodash_hash_undefined__";function n(o){return this.__data__.set(o,r),this}t.exports=n}}),Dw=R({"../../node_modules/lodash/_setCacheHas.js"(e,t){function r(n){return this.__data__.has(n)}t.exports=r}}),kw=R({"../../node_modules/lodash/_SetCache.js"(e,t){var r=Fd(),n=Bw(),o=Dw();function i(a){var l=-1,u=a==null?0:a.length;for(this.__data__=new r;++l<u;)this.add(a[l])}i.prototype.add=i.prototype.push=n,i.prototype.has=o,t.exports=i}}),Fw=R({"../../node_modules/lodash/_arraySome.js"(e,t){function r(n,o){for(var i=-1,a=n==null?0:n.length;++i<a;)if(o(n[i],i,n))return!0;return!1}t.exports=r}}),Uw=R({"../../node_modules/lodash/_cacheHas.js"(e,t){function r(n,o){return n.has(o)}t.exports=r}}),Ud=R({"../../node_modules/lodash/_equalArrays.js"(e,t){var r=kw(),n=Fw(),o=Uw(),i=1,a=2;function l(u,c,s,d,p,f){var m=s&i,h=u.length,y=c.length;if(h!=y&&!(m&&y>h))return!1;var b=f.get(u),g=f.get(c);if(b&&g)return b==c&&g==u;var T=-1,C=!0,E=s&a?new r:void 0;for(f.set(u,c),f.set(c,u);++T<h;){var w=u[T],_=c[T];if(d)var v=m?d(_,w,T,c,u,f):d(w,_,T,u,c,f);if(v!==void 0){if(v)continue;C=!1;break}if(E){if(!n(c,function(O,$){if(!o(E,$)&&(w===O||p(w,O,s,d,f)))return E.push($)})){C=!1;break}}else if(!(w===_||p(w,_,s,d,f))){C=!1;break}}return f.delete(u),f.delete(c),C}t.exports=l}}),Hw=R({"../../node_modules/lodash/_Uint8Array.js"(e,t){var r=vt(),n=r.Uint8Array;t.exports=n}}),zw=R({"../../node_modules/lodash/_mapToArray.js"(e,t){function r(n){var o=-1,i=Array(n.size);return n.forEach(function(a,l){i[++o]=[l,a]}),i}t.exports=r}}),Vw=R({"../../node_modules/lodash/_setToArray.js"(e,t){function r(n){var o=-1,i=Array(n.size);return n.forEach(function(a){i[++o]=a}),i}t.exports=r}}),Gw=R({"../../node_modules/lodash/_equalByTag.js"(e,t){var r=ji(),n=Hw(),o=Id(),i=Ud(),a=zw(),l=Vw(),u=1,c=2,s="[object Boolean]",d="[object Date]",p="[object Error]",f="[object Map]",m="[object Number]",h="[object RegExp]",y="[object Set]",b="[object String]",g="[object Symbol]",T="[object ArrayBuffer]",C="[object DataView]",E=r?r.prototype:void 0,w=E?E.valueOf:void 0;function _(v,O,$,N,L,j,I){switch($){case C:if(v.byteLength!=O.byteLength||v.byteOffset!=O.byteOffset)return!1;v=v.buffer,O=O.buffer;case T:return!(v.byteLength!=O.byteLength||!j(new n(v),new n(O)));case s:case d:case m:return o(+v,+O);case p:return v.name==O.name&&v.message==O.message;case h:case b:return v==O+"";case f:var H=a;case y:var V=N&u;if(H||(H=l),v.size!=O.size&&!V)return!1;var J=I.get(v);if(J)return J==O;N|=c,I.set(v,O);var W=i(H(v),H(O),N,L,j,I);return I.delete(v),W;case g:if(w)return w.call(v)==w.call(O)}return!1}t.exports=_}}),Ww=R({"../../node_modules/lodash/_arrayPush.js"(e,t){function r(n,o){for(var i=-1,a=o.length,l=n.length;++i<a;)n[l+i]=o[i];return n}t.exports=r}}),Li=R({"../../node_modules/lodash/isArray.js"(e,t){var r=Array.isArray;t.exports=r}}),Kw=R({"../../node_modules/lodash/_baseGetAllKeys.js"(e,t){var r=Ww(),n=Li();function o(i,a,l){var u=a(i);return n(i)?u:r(u,l(i))}t.exports=o}}),Yw=R({"../../node_modules/lodash/_arrayFilter.js"(e,t){function r(n,o){for(var i=-1,a=n==null?0:n.length,l=0,u=[];++i<a;){var c=n[i];o(c,i,n)&&(u[l++]=c)}return u}t.exports=r}}),Jw=R({"../../node_modules/lodash/stubArray.js"(e,t){function r(){return[]}t.exports=r}}),Xw=R({"../../node_modules/lodash/_getSymbols.js"(e,t){var r=Yw(),n=Jw(),o=Object.prototype,i=o.propertyIsEnumerable,a=Object.getOwnPropertySymbols,l=a?function(u){return u==null?[]:(u=Object(u),r(a(u),function(c){return i.call(u,c)}))}:n;t.exports=l}}),Qw=R({"../../node_modules/lodash/_baseTimes.js"(e,t){function r(n,o){for(var i=-1,a=Array(n);++i<n;)a[i]=o(i);return a}t.exports=r}}),mo=R({"../../node_modules/lodash/isObjectLike.js"(e,t){function r(n){return n!=null&&typeof n=="object"}t.exports=r}}),Zw=R({"../../node_modules/lodash/_baseIsArguments.js"(e,t){var r=co(),n=mo(),o="[object Arguments]";function i(a){return n(a)&&r(a)==o}t.exports=i}}),e1=R({"../../node_modules/lodash/isArguments.js"(e,t){var r=Zw(),n=mo(),o=Object.prototype,i=o.hasOwnProperty,a=o.propertyIsEnumerable,l=r(function(){return arguments}())?r:function(u){return n(u)&&i.call(u,"callee")&&!a.call(u,"callee")};t.exports=l}}),t1=R({"../../node_modules/lodash/stubFalse.js"(e,t){function r(){return!1}t.exports=r}}),Hd=R({"../../node_modules/lodash/isBuffer.js"(e,t){var r=vt(),n=t1(),o=typeof e=="object"&&e&&!e.nodeType&&e,i=o&&typeof t=="object"&&t&&!t.nodeType&&t,a=i&&i.exports===o,l=a?r.Buffer:void 0,u=l?l.isBuffer:void 0,c=u||n;t.exports=c}}),r1=R({"../../node_modules/lodash/_isIndex.js"(e,t){var r=9007199254740991,n=/^(?:0|[1-9]\d*)$/;function o(i,a){var l=typeof i;return a=a??r,!!a&&(l=="number"||l!="symbol"&&n.test(i))&&i>-1&&i%1==0&&i<a}t.exports=o}}),zd=R({"../../node_modules/lodash/isLength.js"(e,t){var r=9007199254740991;function n(o){return typeof o=="number"&&o>-1&&o%1==0&&o<=r}t.exports=n}}),n1=R({"../../node_modules/lodash/_baseIsTypedArray.js"(e,t){var r=co(),n=zd(),o=mo(),i="[object Arguments]",a="[object Array]",l="[object Boolean]",u="[object Date]",c="[object Error]",s="[object Function]",d="[object Map]",p="[object Number]",f="[object Object]",m="[object RegExp]",h="[object Set]",y="[object String]",b="[object WeakMap]",g="[object ArrayBuffer]",T="[object DataView]",C="[object Float32Array]",E="[object Float64Array]",w="[object Int8Array]",_="[object Int16Array]",v="[object Int32Array]",O="[object Uint8Array]",$="[object Uint8ClampedArray]",N="[object Uint16Array]",L="[object Uint32Array]",j={};j[C]=j[E]=j[w]=j[_]=j[v]=j[O]=j[$]=j[N]=j[L]=!0,j[i]=j[a]=j[g]=j[l]=j[T]=j[u]=j[c]=j[s]=j[d]=j[p]=j[f]=j[m]=j[h]=j[y]=j[b]=!1;function I(H){return o(H)&&n(H.length)&&!!j[r(H)]}t.exports=I}}),o1=R({"../../node_modules/lodash/_baseUnary.js"(e,t){function r(n){return function(o){return n(o)}}t.exports=r}}),a1=R({"../../node_modules/lodash/_nodeUtil.js"(e,t){var r=Ld(),n=typeof e=="object"&&e&&!e.nodeType&&e,o=n&&typeof t=="object"&&t&&!t.nodeType&&t,i=o&&o.exports===n,a=i&&r.process,l=function(){try{var u=o&&o.require&&o.require("util").types;return u||a&&a.binding&&a.binding("util")}catch{}}();t.exports=l}}),Vd=R({"../../node_modules/lodash/isTypedArray.js"(e,t){var r=n1(),n=o1(),o=a1(),i=o&&o.isTypedArray,a=i?n(i):r;t.exports=a}}),i1=R({"../../node_modules/lodash/_arrayLikeKeys.js"(e,t){var r=Qw(),n=e1(),o=Li(),i=Hd(),a=r1(),l=Vd(),u=Object.prototype,c=u.hasOwnProperty;function s(d,p){var f=o(d),m=!f&&n(d),h=!f&&!m&&i(d),y=!f&&!m&&!h&&l(d),b=f||m||h||y,g=b?r(d.length,String):[],T=g.length;for(var C in d)(p||c.call(d,C))&&!(b&&(C=="length"||h&&(C=="offset"||C=="parent")||y&&(C=="buffer"||C=="byteLength"||C=="byteOffset")||a(C,T)))&&g.push(C);return g}t.exports=s}}),l1=R({"../../node_modules/lodash/_isPrototype.js"(e,t){var r=Object.prototype;function n(o){var i=o&&o.constructor,a=typeof i=="function"&&i.prototype||r;return o===a}t.exports=n}}),s1=R({"../../node_modules/lodash/_overArg.js"(e,t){function r(n,o){return function(i){return n(o(i))}}t.exports=r}}),u1=R({"../../node_modules/lodash/_nativeKeys.js"(e,t){var r=s1(),n=r(Object.keys,Object);t.exports=n}}),c1=R({"../../node_modules/lodash/_baseKeys.js"(e,t){var r=l1(),n=u1(),o=Object.prototype,i=o.hasOwnProperty;function a(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=a}}),d1=R({"../../node_modules/lodash/isArrayLike.js"(e,t){var r=Dd(),n=zd();function o(i){return i!=null&&n(i.length)&&!r(i)}t.exports=o}}),f1=R({"../../node_modules/lodash/keys.js"(e,t){var r=i1(),n=c1(),o=d1();function i(a){return o(a)?r(a):n(a)}t.exports=i}}),p1=R({"../../node_modules/lodash/_getAllKeys.js"(e,t){var r=Kw(),n=Xw(),o=f1();function i(a){return r(a,o,n)}t.exports=i}}),m1=R({"../../node_modules/lodash/_equalObjects.js"(e,t){var r=p1(),n=1,o=Object.prototype,i=o.hasOwnProperty;function a(l,u,c,s,d,p){var f=c&n,m=r(l),h=m.length,y=r(u),b=y.length;if(h!=b&&!f)return!1;for(var g=h;g--;){var T=m[g];if(!(f?T in u:i.call(u,T)))return!1}var C=p.get(l),E=p.get(u);if(C&&E)return C==u&&E==l;var w=!0;p.set(l,u),p.set(u,l);for(var _=f;++g<h;){T=m[g];var v=l[T],O=u[T];if(s)var $=f?s(O,v,T,u,l,p):s(v,O,T,l,u,p);if(!($===void 0?v===O||d(v,O,c,s,p):$)){w=!1;break}_||(_=T=="constructor")}if(w&&!_){var N=l.constructor,L=u.constructor;N!=L&&"constructor"in l&&"constructor"in u&&!(typeof N=="function"&&N instanceof N&&typeof L=="function"&&L instanceof L)&&(w=!1)}return p.delete(l),p.delete(u),w}t.exports=a}}),h1=R({"../../node_modules/lodash/_DataView.js"(e,t){var r=Or(),n=vt(),o=r(n,"DataView");t.exports=o}}),b1=R({"../../node_modules/lodash/_Promise.js"(e,t){var r=Or(),n=vt(),o=r(n,"Promise");t.exports=o}}),g1=R({"../../node_modules/lodash/_Set.js"(e,t){var r=Or(),n=vt(),o=r(n,"Set");t.exports=o}}),y1=R({"../../node_modules/lodash/_WeakMap.js"(e,t){var r=Or(),n=vt(),o=r(n,"WeakMap");t.exports=o}}),v1=R({"../../node_modules/lodash/_getTag.js"(e,t){var r=h1(),n=Ii(),o=b1(),i=g1(),a=y1(),l=co(),u=kd(),c="[object Map]",s="[object Object]",d="[object Promise]",p="[object Set]",f="[object WeakMap]",m="[object DataView]",h=u(r),y=u(n),b=u(o),g=u(i),T=u(a),C=l;(r&&C(new r(new ArrayBuffer(1)))!=m||n&&C(new n)!=c||o&&C(o.resolve())!=d||i&&C(new i)!=p||a&&C(new a)!=f)&&(C=function(E){var w=l(E),_=w==s?E.constructor:void 0,v=_?u(_):"";if(v)switch(v){case h:return m;case y:return c;case b:return d;case g:return p;case T:return f}return w}),t.exports=C}}),_1=R({"../../node_modules/lodash/_baseIsEqualDeep.js"(e,t){var r=Lw(),n=Ud(),o=Gw(),i=m1(),a=v1(),l=Li(),u=Hd(),c=Vd(),s=1,d="[object Arguments]",p="[object Array]",f="[object Object]",m=Object.prototype,h=m.hasOwnProperty;function y(b,g,T,C,E,w){var _=l(b),v=l(g),O=_?p:a(b),$=v?p:a(g);O=O==d?f:O,$=$==d?f:$;var N=O==f,L=$==f,j=O==$;if(j&&u(b)){if(!u(g))return!1;_=!0,N=!1}if(j&&!N)return w||(w=new r),_||c(b)?n(b,g,T,C,E,w):o(b,g,O,T,C,E,w);if(!(T&s)){var I=N&&h.call(b,"__wrapped__"),H=L&&h.call(g,"__wrapped__");if(I||H){var V=I?b.value():b,J=H?g.value():g;return w||(w=new r),E(V,J,T,C,w)}}return j?(w||(w=new r),i(b,g,T,C,E,w)):!1}t.exports=y}}),E1=R({"../../node_modules/lodash/_baseIsEqual.js"(e,t){var r=_1(),n=mo();function o(i,a,l,u,c){return i===a?!0:i==null||a==null||!n(i)&&!n(a)?i!==i&&a!==a:r(i,a,l,u,o,c)}t.exports=o}}),Gd=R({"../../node_modules/lodash/isEqualWith.js"(e,t){var r=E1();function n(o,i,a){a=typeof a=="function"?a:void 0;var l=a?a(o,i):void 0;return l===void 0?r(o,i,void 0,a):!!l}t.exports=n}}),Wd=R({"../../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(o){if(arguments.length==0)throw new TypeError("`CSS.escape` requires an argument.");for(var i=String(o),a=i.length,l=-1,u,c="",s=i.charCodeAt(0);++l<a;){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&&a==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})}}),Kd=R({"../../node_modules/pretty-format/node_modules/ansi-styles/index.js"(e,t){var r=(i=0)=>a=>`\x1B[${38+i};5;${a}m`,n=(i=0)=>(a,l,u)=>`\x1B[${38+i};2;${a};${l};${u}m`;function o(){let i=new Map,a={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],overline:[53,55],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};a.color.gray=a.color.blackBright,a.bgColor.bgGray=a.bgColor.bgBlackBright,a.color.grey=a.color.blackBright,a.bgColor.bgGrey=a.bgColor.bgBlackBright;for(let[l,u]of Object.entries(a)){for(let[c,s]of Object.entries(u))a[c]={open:`\x1B[${s[0]}m`,close:`\x1B[${s[1]}m`},u[c]=a[c],i.set(s[0],s[1]);Object.defineProperty(a,l,{value:u,enumerable:!1})}return Object.defineProperty(a,"codes",{value:i,enumerable:!1}),a.color.close="\x1B[39m",a.bgColor.close="\x1B[49m",a.color.ansi256=r(),a.color.ansi16m=n(),a.bgColor.ansi256=r(10),a.bgColor.ansi16m=n(10),Object.defineProperties(a,{rgbToAnsi256:{value:(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=>a.rgbToAnsi256(...a.hexToRgb(l)),enumerable:!1}}),a}Object.defineProperty(t,"exports",{enumerable:!0,get:o})}}),ho=R({"../../node_modules/pretty-format/build/collections.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.printIteratorEntries=r,e.printIteratorValues=n,e.printListItems=o,e.printObjectProperties=i;var t=(a,l)=>{let u=Object.keys(a).sort(l);return Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(a).forEach(c=>{Object.getOwnPropertyDescriptor(a,c).enumerable&&u.push(c)}),u};function r(a,l,u,c,s,d,p=": "){let f="",m=a.next();if(!m.done){f+=l.spacingOuter;let h=u+l.indent;for(;!m.done;){let y=d(m.value[0],l,h,c,s),b=d(m.value[1],l,h,c,s);f+=h+y+p+b,m=a.next(),m.done?l.min||(f+=","):f+=","+l.spacingInner}f+=l.spacingOuter+u}return f}function n(a,l,u,c,s,d){let p="",f=a.next();if(!f.done){p+=l.spacingOuter;let m=u+l.indent;for(;!f.done;)p+=m+d(f.value,l,m,c,s),f=a.next(),f.done?l.min||(p+=","):p+=","+l.spacingInner;p+=l.spacingOuter+u}return p}function o(a,l,u,c,s,d){let p="";if(a.length){p+=l.spacingOuter;let f=u+l.indent;for(let m=0;m<a.length;m++)p+=f,m in a&&(p+=d(a[m],l,f,c,s)),m<a.length-1?p+=","+l.spacingInner:l.min||(p+=",");p+=l.spacingOuter+u}return p}function i(a,l,u,c,s,d){let p="",f=t(a,l.compareKeys);if(f.length){p+=l.spacingOuter;let m=u+l.indent;for(let h=0;h<f.length;h++){let y=f[h],b=d(y,l,m,c,s),g=d(a[y],l,m,c,s);p+=m+b+": "+g,h<f.length-1?p+=","+l.spacingInner:l.min||(p+=",")}p+=l.spacingOuter+u}return p}}}),w1=R({"../../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=ho(),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,o=typeof n=="function"&&n.for?n.for("jest.asymmetricMatcher"):1267621,i=" ",a=(s,d,p,f,m,h)=>{let y=s.toString();return y==="ArrayContaining"||y==="ArrayNotContaining"?++f>d.maxDepth?"["+y+"]":y+i+"["+(0,t.printListItems)(s.sample,d,p,f,m,h)+"]":y==="ObjectContaining"||y==="ObjectNotContaining"?++f>d.maxDepth?"["+y+"]":y+i+"{"+(0,t.printObjectProperties)(s.sample,d,p,f,m,h)+"}":y==="StringMatching"||y==="StringNotMatching"||y==="StringContaining"||y==="StringNotContaining"?y+i+h(s.sample,d,p,f,m):s.toAsymmetricMatcher()};e.serialize=a;var l=s=>s&&s.$$typeof===o;e.test=l;var u={serialize:a,test:l},c=u;e.default=c}}),C1=R({"../../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")}}}),R1=R({"../../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(C1()),r=n(Kd());function n(c){return c&&c.__esModule?c:{default:c}}var o=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 a=(c,s,d,p,f,m)=>m(o(c),s,d,p,f);e.serialize=a;var l={serialize:a,test:i},u=l;e.default=u}}),T1=R({"../../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=ho(),r=" ",n=["DOMStringMap","NamedNodeMap"],o=/^(HTML\w*Collection|NodeList)$/,i=d=>n.indexOf(d)!==-1||o.test(d),a=d=>d&&d.constructor&&!!d.constructor.name&&i(d.constructor.name);e.test=a;var l=d=>d.constructor.name==="NamedNodeMap",u=(d,p,f,m,h,y)=>{let b=d.constructor.name;return++m>p.maxDepth?"["+b+"]":(p.min?"":b+r)+(n.indexOf(b)!==-1?"{"+(0,t.printObjectProperties)(l(d)?Array.from(d).reduce((g,T)=>(g[T.name]=T.value,g),{}):{...d},p,f,m,h,y)+"}":"["+(0,t.printListItems)(Array.from(d),p,f,m,h,y)+"]")};e.serialize=u;var c={serialize:u,test:a},s=c;e.default=s}}),P1=R({"../../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,">")}}}),Bi=R({"../../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(P1());function r(c){return c&&c.__esModule?c:{default:c}}var n=(c,s,d,p,f,m,h)=>{let y=p+d.indent,b=d.colors;return c.map(g=>{let T=s[g],C=h(T,d,y,f,m);return typeof T!="string"&&(C.indexOf(`
|
|
64
|
+
`)!==-1&&(C=d.spacingOuter+y+C+d.spacingOuter+p),C="{"+C+"}"),d.spacingInner+p+b.prop.open+g+b.prop.close+"="+b.value.open+C+b.value.close}).join("")};e.printProps=n;var o=(c,s,d,p,f,m)=>c.map(h=>s.spacingOuter+d+(typeof h=="string"?i(h,s):m(h,s,d,p,f))).join("");e.printChildren=o;var i=(c,s)=>{let d=s.colors.content;return d.open+(0,t.default)(c)+d.close};e.printText=i;var a=(c,s)=>{let d=s.colors.comment;return d.open+"<!--"+(0,t.default)(c)+"-->"+d.close};e.printComment=a;var l=(c,s,d,p,f)=>{let m=p.colors.tag;return m.open+"<"+c+(s&&m.close+s+p.spacingOuter+f+m.open)+(d?">"+m.close+d+p.spacingOuter+f+m.open+"</"+c:(s&&!p.min?"":" ")+"/")+">"+m.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}}),S1=R({"../../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=Bi(),r=1,n=3,o=8,i=11,a=/^((HTML|SVG)\w*)?Element$/,l=y=>{try{return typeof y.hasAttribute=="function"&&y.hasAttribute("is")}catch{return!1}},u=y=>{let b=y.constructor.name,{nodeType:g,tagName:T}=y,C=typeof T=="string"&&T.includes("-")||l(y);return g===r&&(a.test(b)||C)||g===n&&b==="Text"||g===o&&b==="Comment"||g===i&&b==="DocumentFragment"},c=y=>{var b;return(y==null||(b=y.constructor)===null||b===void 0?void 0:b.name)&&u(y)};e.test=c;function s(y){return y.nodeType===n}function d(y){return y.nodeType===o}function p(y){return y.nodeType===i}var f=(y,b,g,T,C,E)=>{if(s(y))return(0,t.printText)(y.data,b);if(d(y))return(0,t.printComment)(y.data,b);let w=p(y)?"DocumentFragment":y.tagName.toLowerCase();return++T>b.maxDepth?(0,t.printElementAsLeaf)(w,b):(0,t.printElement)(w,(0,t.printProps)(p(y)?[]:Array.from(y.attributes).map(_=>_.name).sort(),p(y)?{}:Array.from(y.attributes).reduce((_,v)=>(_[v.name]=v.value,_),{}),b,g+b.indent,T,C,E),(0,t.printChildren)(Array.prototype.slice.call(y.childNodes||y.children),b,g+b.indent,T,C,E),b,g)};e.serialize=f;var m={serialize:f,test:c},h=m;e.default=h}}),O1=R({"../../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=ho(),r="@@__IMMUTABLE_ITERABLE__@@",n="@@__IMMUTABLE_LIST__@@",o="@@__IMMUTABLE_KEYED__@@",i="@@__IMMUTABLE_MAP__@@",a="@@__IMMUTABLE_ORDERED__@@",l="@@__IMMUTABLE_RECORD__@@",u="@@__IMMUTABLE_SEQ__@@",c="@@__IMMUTABLE_SET__@@",s="@@__IMMUTABLE_STACK__@@",d=v=>"Immutable."+v,p=v=>"["+v+"]",f=" ",m="…",h=(v,O,$,N,L,j,I)=>++N>O.maxDepth?p(d(I)):d(I)+f+"{"+(0,t.printIteratorEntries)(v.entries(),O,$,N,L,j)+"}";function y(v){let O=0;return{next(){if(O<v._keys.length){let $=v._keys[O++];return{done:!1,value:[$,v.get($)]}}return{done:!0,value:void 0}}}}var b=(v,O,$,N,L,j)=>{let I=d(v._name||"Record");return++N>O.maxDepth?p(I):I+f+"{"+(0,t.printIteratorEntries)(y(v),O,$,N,L,j)+"}"},g=(v,O,$,N,L,j)=>{let I=d("Seq");return++N>O.maxDepth?p(I):v[o]?I+f+"{"+(v._iter||v._object?(0,t.printIteratorEntries)(v.entries(),O,$,N,L,j):m)+"}":I+f+"["+(v._iter||v._array||v._collection||v._iterable?(0,t.printIteratorValues)(v.values(),O,$,N,L,j):m)+"]"},T=(v,O,$,N,L,j,I)=>++N>O.maxDepth?p(d(I)):d(I)+f+"["+(0,t.printIteratorValues)(v.values(),O,$,N,L,j)+"]",C=(v,O,$,N,L,j)=>v[i]?h(v,O,$,N,L,j,v[a]?"OrderedMap":"Map"):v[n]?T(v,O,$,N,L,j,"List"):v[c]?T(v,O,$,N,L,j,v[a]?"OrderedSet":"Set"):v[s]?T(v,O,$,N,L,j,"Stack"):v[u]?g(v,O,$,N,L,j):b(v,O,$,N,L,j);e.serialize=C;var E=v=>v&&(v[r]===!0||v[l]===!0);e.test=E;var w={serialize:C,test:E},_=w;e.default=_}}),A1=R({"../../node_modules/pretty-format/node_modules/react-is/cjs/react-is.development.js"(e){(function(){var t=60103,r=60106,n=60107,o=60108,i=60114,a=60109,l=60110,u=60112,c=60113,s=60120,d=60115,p=60116,f=60121,m=60122,h=60117,y=60129,b=60131;if(typeof Symbol=="function"&&Symbol.for){var g=Symbol.for;t=g("react.element"),r=g("react.portal"),n=g("react.fragment"),o=g("react.strict_mode"),i=g("react.profiler"),a=g("react.provider"),l=g("react.context"),u=g("react.forward_ref"),c=g("react.suspense"),s=g("react.suspense_list"),d=g("react.memo"),p=g("react.lazy"),f=g("react.block"),m=g("react.server.block"),h=g("react.fundamental"),g("react.scope"),g("react.opaque.id"),y=g("react.debug_trace_mode"),g("react.offscreen"),b=g("react.legacy_hidden")}var T=!1;function C(D){return!!(typeof D=="string"||typeof D=="function"||D===n||D===i||D===y||D===o||D===c||D===s||D===b||T||typeof D=="object"&&D!==null&&(D.$$typeof===p||D.$$typeof===d||D.$$typeof===a||D.$$typeof===l||D.$$typeof===u||D.$$typeof===h||D.$$typeof===f||D[0]===m))}function E(D){if(typeof D=="object"&&D!==null){var X=D.$$typeof;switch(X){case t:var M=D.type;switch(M){case n:case i:case o:case c:case s:return M;default:var ie=M&&M.$$typeof;switch(ie){case l:case u:case p:case d:case a:return ie;default:return X}}case r:return X}}}var w=l,_=a,v=t,O=u,$=n,N=p,L=d,j=r,I=i,H=o,V=c,J=!1,W=!1;function ve(D){return J||(J=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")),!1}function Ie(D){return W||(W=!0,console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")),!1}function Le(D){return E(D)===l}function F(D){return E(D)===a}function B(D){return typeof D=="object"&&D!==null&&D.$$typeof===t}function k(D){return E(D)===u}function G(D){return E(D)===n}function Z(D){return E(D)===p}function ue(D){return E(D)===d}function _e(D){return E(D)===r}function lt(D){return E(D)===i}function q(D){return E(D)===o}function z(D){return E(D)===c}e.ContextConsumer=w,e.ContextProvider=_,e.Element=v,e.ForwardRef=O,e.Fragment=$,e.Lazy=N,e.Memo=L,e.Portal=j,e.Profiler=I,e.StrictMode=H,e.Suspense=V,e.isAsyncMode=ve,e.isConcurrentMode=Ie,e.isContextConsumer=Le,e.isContextProvider=F,e.isElement=B,e.isForwardRef=k,e.isFragment=G,e.isLazy=Z,e.isMemo=ue,e.isPortal=_e,e.isProfiler=lt,e.isStrictMode=q,e.isSuspense=z,e.isValidElementType=C,e.typeOf=E})()}}),q1=R({"../../node_modules/pretty-format/node_modules/react-is/index.js"(e,t){t.exports=A1()}}),x1=R({"../../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=o(q1()),r=Bi();function n(p){if(typeof WeakMap!="function")return null;var f=new WeakMap,m=new WeakMap;return(n=function(h){return h?m:f})(p)}function o(p,f){if(p&&p.__esModule)return p;if(p===null||typeof p!="object"&&typeof p!="function")return{default:p};var m=n(f);if(m&&m.has(p))return m.get(p);var h={},y=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var b in p)if(b!=="default"&&Object.prototype.hasOwnProperty.call(p,b)){var g=y?Object.getOwnPropertyDescriptor(p,b):null;g&&(g.get||g.set)?Object.defineProperty(h,b,g):h[b]=p[b]}return h.default=p,m&&m.set(p,h),h}var i=(p,f=[])=>(Array.isArray(p)?p.forEach(m=>{i(m,f)}):p!=null&&p!==!1&&f.push(p),f),a=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 m=f.render.displayName||f.render.name||"";return m!==""?"ForwardRef("+m+")":"ForwardRef"}if(t.isMemo(p)){let m=f.displayName||f.type.displayName||f.type.name||"";return m!==""?"Memo("+m+")":"Memo"}}return"UNDEFINED"},l=p=>{let{props:f}=p;return Object.keys(f).filter(m=>m!=="children"&&f[m]!==void 0).sort()},u=(p,f,m,h,y,b)=>++h>f.maxDepth?(0,r.printElementAsLeaf)(a(p),f):(0,r.printElement)(a(p),(0,r.printProps)(l(p),p.props,f,m+f.indent,h,y,b),(0,r.printChildren)(i(p.props.children),f,m+f.indent,h,y,b),f,m);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}}),M1=R({"../../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=Bi(),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,o=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():[]},a=(s,d,p,f,m,h)=>++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,m,h):"",s.children?(0,t.printChildren)(s.children,d,p+d.indent,f,m,h):"",d,p);e.serialize=a;var l=s=>s&&s.$$typeof===o;e.test=l;var u={serialize:a,test:l},c=u;e.default=c}}),$1=R({"../../node_modules/pretty-format/build/index.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.DEFAULT_OPTIONS=void 0,e.format=ue,e.plugins=void 0;var t=s(Kd()),r=ho(),n=s(w1()),o=s(R1()),i=s(T1()),a=s(S1()),l=s(O1()),u=s(x1()),c=s(M1());function s(q){return q&&q.__esModule?q:{default:q}}var d=Object.prototype.toString,p=Date.prototype.toISOString,f=Error.prototype.toString,m=RegExp.prototype.toString,h=q=>typeof q.constructor=="function"&&q.constructor.name||"Object",y=q=>typeof window<"u"&&q===window,b=/^Symbol\((.*)\)(.*)$/,g=/\n/gi,T=class extends Error{constructor(q,z){super(q),this.stack=z,this.name=this.constructor.name}};function C(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 E(q){return Object.is(q,-0)?"-0":String(q)}function w(q){return`${q}n`}function _(q,z){return z?"[Function "+(q.name||"anonymous")+"]":"[Function]"}function v(q){return String(q).replace(b,"Symbol($1)")}function O(q){return"["+f.call(q)+"]"}function $(q,z,D,X){if(q===!0||q===!1)return""+q;if(q===void 0)return"undefined";if(q===null)return"null";let M=typeof q;if(M==="number")return E(q);if(M==="bigint")return w(q);if(M==="string")return X?'"'+q.replace(/"|\\/g,"\\$&")+'"':'"'+q+'"';if(M==="function")return _(q,z);if(M==="symbol")return v(q);let ie=d.call(q);return ie==="[object WeakMap]"?"WeakMap {}":ie==="[object WeakSet]"?"WeakSet {}":ie==="[object Function]"||ie==="[object GeneratorFunction]"?_(q,z):ie==="[object Symbol]"?v(q):ie==="[object Date]"?isNaN(+q)?"Date { NaN }":p.call(q):ie==="[object Error]"?O(q):ie==="[object RegExp]"?D?m.call(q).replace(/[\\^$*+?.()|[\]{}]/g,"\\$&"):m.call(q):q instanceof Error?O(q):null}function N(q,z,D,X,M,ie){if(M.indexOf(q)!==-1)return"[Circular]";M=M.slice(),M.push(q);let le=++X>z.maxDepth,ge=z.min;if(z.callToJSON&&!le&&q.toJSON&&typeof q.toJSON=="function"&&!ie)return H(q.toJSON(),z,D,X,M,!0);let st=d.call(q);return st==="[object Arguments]"?le?"[Arguments]":(ge?"":"Arguments ")+"["+(0,r.printListItems)(q,z,D,X,M,H)+"]":C(st)?le?"["+q.constructor.name+"]":(ge||!z.printBasicPrototype&&q.constructor.name==="Array"?"":q.constructor.name+" ")+"["+(0,r.printListItems)(q,z,D,X,M,H)+"]":st==="[object Map]"?le?"[Map]":"Map {"+(0,r.printIteratorEntries)(q.entries(),z,D,X,M,H," => ")+"}":st==="[object Set]"?le?"[Set]":"Set {"+(0,r.printIteratorValues)(q.values(),z,D,X,M,H)+"}":le||y(q)?"["+h(q)+"]":(ge||!z.printBasicPrototype&&h(q)==="Object"?"":h(q)+" ")+"{"+(0,r.printObjectProperties)(q,z,D,X,M,H)+"}"}function L(q){return q.serialize!=null}function j(q,z,D,X,M,ie){let le;try{le=L(q)?q.serialize(z,D,X,M,ie,H):q.print(z,ge=>H(ge,D,X,M,ie),ge=>{let st=X+D.indent;return st+ge.replace(g,`
|
|
65
|
+
`+st)},{edgeSpacing:D.spacingOuter,min:D.min,spacing:D.spacingInner},D.colors)}catch(ge){throw new T(ge.message,ge.stack)}if(typeof le!="string")throw new Error(`pretty-format: Plugin must return type "string" but instead returned "${typeof le}".`);return le}function I(q,z){for(let D=0;D<q.length;D++)try{if(q[D].test(z))return q[D]}catch(X){throw new T(X.message,X.stack)}return null}function H(q,z,D,X,M,ie){let le=I(z.plugins,q);if(le!==null)return j(le,q,z,D,X,M);let ge=$(q,z.printFunctionName,z.escapeRegex,z.escapeString);return ge!==null?ge:N(q,z,D,X,M,ie)}var V={comment:"gray",content:"reset",prop:"yellow",tag:"cyan",value:"green"},J=Object.keys(V),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:V};e.DEFAULT_OPTIONS=W;function ve(q){if(Object.keys(q).forEach(z=>{if(!W.hasOwnProperty(z))throw new Error(`pretty-format: Unknown option "${z}".`)}),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 Ie=q=>J.reduce((z,D)=>{let X=q.theme&&q.theme[D]!==void 0?q.theme[D]:V[D],M=X&&t.default[X];if(M&&typeof M.close=="string"&&typeof M.open=="string")z[D]=M;else throw new Error(`pretty-format: Option "theme" has a key "${D}" whose value "${X}" is undefined in ansi-styles.`);return z},Object.create(null)),Le=()=>J.reduce((q,z)=>(q[z]={close:"",open:""},q),Object.create(null)),F=q=>q&&q.printFunctionName!==void 0?q.printFunctionName:W.printFunctionName,B=q=>q&&q.escapeRegex!==void 0?q.escapeRegex:W.escapeRegex,k=q=>q&&q.escapeString!==void 0?q.escapeString:W.escapeString,G=q=>{var z;return{callToJSON:q&&q.callToJSON!==void 0?q.callToJSON:W.callToJSON,colors:q&&q.highlight?Ie(q):Le(),compareKeys:q&&typeof q.compareKeys=="function"?q.compareKeys:W.compareKeys,escapeRegex:B(q),escapeString:k(q),indent:q&&q.min?"":Z(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:(z=q?.printBasicPrototype)!==null&&z!==void 0?z:!0,printFunctionName:F(q),spacingInner:q&&q.min?" ":`
|
|
66
|
+
`,spacingOuter:q&&q.min?"":`
|
|
67
|
+
`}};function Z(q){return new Array(q+1).join(" ")}function ue(q,z){if(z&&(ve(z),z.plugins)){let X=I(z.plugins,q);if(X!==null)return j(X,q,G(z),"",0,[])}let D=$(q,F(z),B(z),k(z));return D!==null?D:N(q,G(z),"",0,[])}var _e={AsymmetricMatcher:n.default,ConvertAnsi:o.default,DOMCollection:i.default,DOMElement:a.default,Immutable:l.default,ReactElement:u.default,ReactTestComponent:c.default};e.plugins=_e;var lt=ue;e.default=lt}}),N1=R({"../../node_modules/lz-string/libs/lz-string.js"(e,t){var r=function(){var n=String.fromCharCode,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-$",a={};function l(c,s){if(!a[c]){a[c]={};for(var d=0;d<c.length;d++)a[c][c.charAt(d)]=d}return a[c][s]}var u={compressToBase64:function(c){if(c==null)return"";var s=u._compress(c,6,function(d){return o.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(o,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 m=s.charCodeAt(p);d[p*2]=m>>>8,d[p*2+1]=m%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(m){f.push(n(m))}),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,m={},h={},y="",b="",g="",T=2,C=3,E=2,w=[],_=0,v=0,O;for(O=0;O<c.length;O+=1)if(y=c.charAt(O),Object.prototype.hasOwnProperty.call(m,y)||(m[y]=C++,h[y]=!0),b=g+y,Object.prototype.hasOwnProperty.call(m,b))g=b;else{if(Object.prototype.hasOwnProperty.call(h,g)){if(g.charCodeAt(0)<256){for(p=0;p<E;p++)_=_<<1,v==s-1?(v=0,w.push(d(_)),_=0):v++;for(f=g.charCodeAt(0),p=0;p<8;p++)_=_<<1|f&1,v==s-1?(v=0,w.push(d(_)),_=0):v++,f=f>>1}else{for(f=1,p=0;p<E;p++)_=_<<1|f,v==s-1?(v=0,w.push(d(_)),_=0):v++,f=0;for(f=g.charCodeAt(0),p=0;p<16;p++)_=_<<1|f&1,v==s-1?(v=0,w.push(d(_)),_=0):v++,f=f>>1}T--,T==0&&(T=Math.pow(2,E),E++),delete h[g]}else for(f=m[g],p=0;p<E;p++)_=_<<1|f&1,v==s-1?(v=0,w.push(d(_)),_=0):v++,f=f>>1;T--,T==0&&(T=Math.pow(2,E),E++),m[b]=C++,g=String(y)}if(g!==""){if(Object.prototype.hasOwnProperty.call(h,g)){if(g.charCodeAt(0)<256){for(p=0;p<E;p++)_=_<<1,v==s-1?(v=0,w.push(d(_)),_=0):v++;for(f=g.charCodeAt(0),p=0;p<8;p++)_=_<<1|f&1,v==s-1?(v=0,w.push(d(_)),_=0):v++,f=f>>1}else{for(f=1,p=0;p<E;p++)_=_<<1|f,v==s-1?(v=0,w.push(d(_)),_=0):v++,f=0;for(f=g.charCodeAt(0),p=0;p<16;p++)_=_<<1|f&1,v==s-1?(v=0,w.push(d(_)),_=0):v++,f=f>>1}T--,T==0&&(T=Math.pow(2,E),E++),delete h[g]}else for(f=m[g],p=0;p<E;p++)_=_<<1|f&1,v==s-1?(v=0,w.push(d(_)),_=0):v++,f=f>>1;T--,T==0&&(T=Math.pow(2,E),E++)}for(f=2,p=0;p<E;p++)_=_<<1|f&1,v==s-1?(v=0,w.push(d(_)),_=0):v++,f=f>>1;for(;;)if(_=_<<1,v==s-1){w.push(d(_));break}else v++;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,m=4,h=3,y="",b=[],g,T,C,E,w,_,v,O={val:d(0),position:s,index:1};for(g=0;g<3;g+=1)p[g]=g;for(C=0,w=Math.pow(2,2),_=1;_!=w;)E=O.val&O.position,O.position>>=1,O.position==0&&(O.position=s,O.val=d(O.index++)),C|=(E>0?1:0)*_,_<<=1;switch(C){case 0:for(C=0,w=Math.pow(2,8),_=1;_!=w;)E=O.val&O.position,O.position>>=1,O.position==0&&(O.position=s,O.val=d(O.index++)),C|=(E>0?1:0)*_,_<<=1;v=n(C);break;case 1:for(C=0,w=Math.pow(2,16),_=1;_!=w;)E=O.val&O.position,O.position>>=1,O.position==0&&(O.position=s,O.val=d(O.index++)),C|=(E>0?1:0)*_,_<<=1;v=n(C);break;case 2:return""}for(p[3]=v,T=v,b.push(v);;){if(O.index>c)return"";for(C=0,w=Math.pow(2,h),_=1;_!=w;)E=O.val&O.position,O.position>>=1,O.position==0&&(O.position=s,O.val=d(O.index++)),C|=(E>0?1:0)*_,_<<=1;switch(v=C){case 0:for(C=0,w=Math.pow(2,8),_=1;_!=w;)E=O.val&O.position,O.position>>=1,O.position==0&&(O.position=s,O.val=d(O.index++)),C|=(E>0?1:0)*_,_<<=1;p[m++]=n(C),v=m-1,f--;break;case 1:for(C=0,w=Math.pow(2,16),_=1;_!=w;)E=O.val&O.position,O.position>>=1,O.position==0&&(O.position=s,O.val=d(O.index++)),C|=(E>0?1:0)*_,_<<=1;p[m++]=n(C),v=m-1,f--;break;case 2:return b.join("")}if(f==0&&(f=Math.pow(2,h),h++),p[v])y=p[v];else if(v===m)y=T+T.charAt(0);else return null;b.push(y),p[m++]=T+y.charAt(0),f--,T=y,f==0&&(f=Math.pow(2,h),h++)}}};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})}}),Yd=Object.defineProperty,j1=Object.getOwnPropertyNames,x=(e,t)=>Yd(e,"name",{value:t,configurable:!0}),I1=(e,t)=>function(){return t||(0,e[j1(e)[0]])((t={exports:{}}).exports,t),t.exports},Di=(e,t)=>{for(var r in t)Yd(e,r,{get:t[r],enumerable:!0})},L1=I1({"(disabled):util"(){}}),rt={};Di(rt,{addChainableMethod:()=>Xi,addLengthGuard:()=>bn,addMethod:()=>Ki,addProperty:()=>Wi,checkError:()=>Be,compareByInspect:()=>Hn,eql:()=>wf,expectTypes:()=>rf,flag:()=>K,getActual:()=>go,getMessage:()=>Ui,getName:()=>vo,getOperator:()=>tl,getOwnEnumerableProperties:()=>el,getOwnEnumerablePropertySymbols:()=>Zi,getPathInfo:()=>Gi,hasProperty:()=>yo,inspect:()=>ee,isNaN:()=>zn,isProxyEnabled:()=>hn,isRegExp:()=>Vn,objDisplay:()=>Ut,overwriteChainableMethod:()=>Qi,overwriteMethod:()=>Ji,overwriteProperty:()=>Yi,proxify:()=>Ar,test:()=>ki,transferFlags:()=>Qe,type:()=>se});var Be={};Di(Be,{compatibleConstructor:()=>Qd,compatibleInstance:()=>Xd,compatibleMessage:()=>Zd,getConstructorName:()=>ef,getMessage:()=>tf});function bo(e){return e instanceof Error||Object.prototype.toString.call(e)==="[object Error]"}x(bo,"isErrorInstance");function Jd(e){return Object.prototype.toString.call(e)==="[object RegExp]"}x(Jd,"isRegExp");function Xd(e,t){return bo(t)&&e===t}x(Xd,"compatibleInstance");function Qd(e,t){return bo(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(Qd,"compatibleConstructor");function Zd(e,t){let r=typeof e=="string"?e:e.message;return Jd(t)?t.test(r):typeof t=="string"?r.indexOf(t)!==-1:!1}x(Zd,"compatibleMessage");function ef(e){let t=e;return bo(e)?t=e.constructor.name:typeof e=="function"&&(t=e.name,t===""&&(t=new e().name||t)),t}x(ef,"getConstructorName");function tf(e){let t="";return e&&e.message?t=e.message:typeof e=="string"&&(t=e),t}x(tf,"getMessage");function K(e,t,r){var n=e.__flags||(e.__flags=Object.create(null));if(arguments.length===3)n[t]=r;else return n[t]}x(K,"flag");function ki(e,t){var r=K(e,"negate"),n=t[0];return r?!n:n}x(ki,"test");function se(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(se,"type");var B1="captureStackTrace"in Error,Cn,oe=(Cn=class extends Error{message;get name(){return"AssertionError"}get ok(){return!1}constructor(e="Unspecified AssertionError",t,r){super(e),this.message=e,B1&&Error.captureStackTrace(this,r||Cn);for(let n in t)n in this||(this[n]=t[n])}toJSON(e){return{...this,name:this.name,message:this.message,ok:!1,stack:e!==!1?this.stack:void 0}}},x(Cn,"AssertionError"),Cn);function rf(e,t){var r=K(e,"message"),n=K(e,"ssfi");r=r?r+": ":"",e=K(e,"object"),t=t.map(function(a){return a.toLowerCase()}),t.sort();var o=t.map(function(a,l){var u=~["a","e","i","o","u"].indexOf(a.charAt(0))?"an":"a",c=t.length>1&&l===t.length-1?"or ":"";return c+u+" "+a}).join(", "),i=se(e).toLowerCase();if(!t.some(function(a){return i===a}))throw new oe(r+"object tested must be "+o+", but "+i+" given",void 0,n)}x(rf,"expectTypes");function go(e,t){return t.length>4?t[4]:e._obj}x(go,"getActual");var zs={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"]},D1={special:"cyan",number:"yellow",bigint:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",symbol:"green",date:"magenta",regexp:"red"},hr="…";function nf(e,t){let r=zs[D1[t]]||zs[t]||"";return r?`\x1B[${r[0]}m${String(e)}\x1B[${r[1]}m`:String(e)}x(nf,"colorise");function of({showHidden:e=!1,depth:t=2,colors:r=!1,customInspect:n=!0,showProxy:o=!1,maxArrayLength:i=1/0,breakLength:a=1/0,seen:l=[],truncate:u=1/0,stylize:c=String}={},s){let d={showHidden:!!e,depth:Number(t),colors:!!r,customInspect:!!n,showProxy:!!o,maxArrayLength:Number(i),breakLength:Number(a),truncate:Number(u),seen:l,inspect:s,stylize:c};return d.colors&&(d.stylize=nf),d}x(of,"normaliseOptions");function _t(e,t,r=hr){e=String(e);let n=r.length,o=e.length;return n>t&&o>n?r:o>t&&o>n?`${e.slice(0,t-n)}${r}`:e}x(_t,"truncate");function ze(e,t,r,n=", "){r=r||t.inspect;let o=e.length;if(o===0)return"";let i=t.truncate,a="",l="",u="";for(let c=0;c<o;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-a.length-(s?0:n.length);let f=l||r(p,t)+(s?"":n),m=a.length+f.length,h=m+u.length;if(s&&m>i&&a.length+u.length<=i||!s&&!d&&h>i||(l=s?"":r(e[c+1],t)+(d?"":n),!s&&d&&h>i&&m+l.length>i))break;if(a+=f,!s&&!d&&m+l.length>=i){u=`${hr}(${e.length-c-1})`;break}u=""}return`${a}${u}`}x(ze,"inspectList");function af(e){return e.match(/^[a-zA-Z_][a-zA-Z_0-9]*$/)?e:JSON.stringify(e).replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'")}x(af,"quoteComplexKey");function br([e,t],r){return r.truncate-=2,typeof e=="string"?e=af(e):typeof e!="number"&&(e=`[${r.inspect(e,r)}]`),r.truncate-=e.length,t=r.inspect(t,r),`${e}: ${t}`}x(br,"inspectProperty");function lf(e,t){let r=Object.keys(e).slice(e.length);if(!e.length&&!r.length)return"[]";t.truncate-=4;let n=ze(e,t);t.truncate-=n.length;let o="";return r.length&&(o=ze(r.map(i=>[i,e[i]]),t,br)),`[ ${n}${o?`, ${o}`:""} ]`}x(lf,"inspectArray");var k1=x(e=>typeof Buffer=="function"&&e instanceof Buffer?"Buffer":e[Symbol.toStringTag]?e[Symbol.toStringTag]:e.constructor.name,"getArrayName");function et(e,t){let r=k1(e);t.truncate-=r.length+4;let n=Object.keys(e).slice(e.length);if(!e.length&&!n.length)return`${r}[]`;let o="";for(let a=0;a<e.length;a++){let l=`${t.stylize(_t(e[a],t.truncate),"number")}${a===e.length-1?"":", "}`;if(t.truncate-=l.length,e[a]!==e.length&&t.truncate<=3){o+=`${hr}(${e.length-e[a]+1})`;break}o+=l}let i="";return n.length&&(i=ze(n.map(a=>[a,e[a]]),t,br)),`${r}[ ${o}${i?`, ${i}`:""} ]`}x(et,"inspectTypedArray");function sf(e,t){let r=e.toJSON();if(r===null)return"Invalid Date";let n=r.split("T"),o=n[0];return t.stylize(`${o}T${_t(n[1],t.truncate-o.length-1)}`,"date")}x(sf,"inspectDate");function Ca(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(Ca,"inspectFunction");function uf([e,t],r){return r.truncate-=4,e=r.inspect(e,r),r.truncate-=e.length,t=r.inspect(t,r),`${e} => ${t}`}x(uf,"inspectMapEntry");function cf(e){let t=[];return e.forEach((r,n)=>{t.push([n,r])}),t}x(cf,"mapToEntries");function df(e,t){return e.size-1<=0?"Map{}":(t.truncate-=7,`Map{ ${ze(cf(e),t,uf)} }`)}x(df,"inspectMap");var F1=Number.isNaN||(e=>e!==e);function Ra(e,t){return F1(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(Ra,"inspectNumber");function Ta(e,t){let r=_t(e.toString(),t.truncate-1);return r!==hr&&(r+="n"),t.stylize(r,"bigint")}x(Ta,"inspectBigInt");function ff(e,t){let r=e.toString().split("/")[2],n=t.truncate-(2+r.length),o=e.source;return t.stylize(`/${_t(o,n)}/${r}`,"regexp")}x(ff,"inspectRegExp");function pf(e){let t=[];return e.forEach(r=>{t.push(r)}),t}x(pf,"arrayFromSet");function mf(e,t){return e.size===0?"Set{}":(t.truncate-=7,`Set{ ${ze(pf(e),t)} }`)}x(mf,"inspectSet");var Vs=new RegExp("['\\u0000-\\u001f\\u007f-\\u009f\\u00ad\\u0600-\\u0604\\u070f\\u17b4\\u17b5\\u200c-\\u200f\\u2028-\\u202f\\u2060-\\u206f\\ufeff\\ufff0-\\uffff]","g"),U1={"\b":"\\b"," ":"\\t","\n":"\\n","\f":"\\f","\r":"\\r","'":"\\'","\\":"\\\\"},H1=16,z1=4;function hf(e){return U1[e]||`\\u${`0000${e.charCodeAt(0).toString(H1)}`.slice(-z1)}`}x(hf,"escape");function Pa(e,t){return Vs.test(e)&&(e=e.replace(Vs,hf)),t.stylize(`'${_t(e,t.truncate-2)}'`,"string")}x(Pa,"inspectString");function Sa(e){return"description"in Symbol.prototype?e.description?`Symbol(${e.description})`:"Symbol()":e.toString()}x(Sa,"inspectSymbol");var bf=x(()=>"Promise{…}","getPromiseValue");try{let{getPromiseDetails:e,kPending:t,kRejected:r}=process.binding("util");Array.isArray(e(Promise.resolve()))&&(bf=x((n,o)=>{let[i,a]=e(n);return i===t?"Promise{<pending>}":`Promise${i===r?"!":""}{${o.inspect(a,o)}}`},"getPromiseValue"))}catch{}var V1=bf;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 o=ze(r.map(l=>[l,e[l]]),t,br),i=ze(n.map(l=>[l,e[l]]),t,br);t.seen.pop();let a="";return o&&i&&(a=", "),`{ ${o}${a}${i} }`}x(kr,"inspectObject");var Ko=typeof Symbol<"u"&&Symbol.toStringTag?Symbol.toStringTag:!1;function gf(e,t){let r="";return Ko&&Ko in e&&(r=e[Ko]),r=r||e.constructor.name,(!r||r==="_class")&&(r="<Anonymous Class>"),t.truncate-=r.length,`${r}${kr(e,t)}`}x(gf,"inspectClass");function yf(e,t){return e.length===0?"Arguments[]":(t.truncate-=13,`Arguments[ ${ze(e,t)} ]`)}x(yf,"inspectArguments");var G1=["stack","line","column","name","message","fileName","lineNumber","columnNumber","number","description"];function vf(e,t){let r=Object.getOwnPropertyNames(e).filter(a=>G1.indexOf(a)===-1),n=e.name;t.truncate-=n.length;let o="";typeof e.message=="string"?o=_t(e.message,t.truncate):r.unshift("message"),o=o?`: ${o}`:"",t.truncate-=o.length+5;let i=ze(r.map(a=>[a,e[a]]),t,br);return`${n}${o}${i?` { ${i} }`:""}`}x(vf,"inspectObject");function _f([e,t],r){return r.truncate-=3,t?`${r.stylize(String(e),"yellow")}=${r.stylize(`"${t}"`,"string")}`:`${r.stylize(String(e),"yellow")}`}x(_f,"inspectAttribute");function kn(e,t){return ze(e,t,Fi,`
|
|
68
|
+
`)}x(kn,"inspectHTMLCollection");function Fi(e,t){let r=e.getAttributeNames(),n=e.tagName.toLowerCase(),o=t.stylize(`<${n}`,"special"),i=t.stylize(">","special"),a=t.stylize(`</${n}>`,"special");t.truncate-=n.length*2+5;let l="";r.length>0&&(l+=" ",l+=ze(r.map(s=>[s,e.getAttribute(s)]),t,_f," ")),t.truncate-=l.length;let u=t.truncate,c=kn(e.children,t);return c&&c.length>u&&(c=`${hr}(${e.children.length})`),`${o}${l}${i}${c}${a}`}x(Fi,"inspectHTML");var W1=typeof Symbol=="function"&&typeof Symbol.for=="function",Yo=W1?Symbol.for("chai/inspect"):"@@chai/inspect",or=!1;try{let e=L1();or=e.inspect?e.inspect.custom:!1}catch{or=!1}var Gs=new WeakMap,Ws={},Ks={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:Ra,Number:Ra,bigint:Ta,BigInt:Ta,string:Pa,String:Pa,function:Ca,Function:Ca,symbol:Sa,Symbol:Sa,Array:lf,Date:sf,Map:df,Set:mf,RegExp:ff,Promise:V1,WeakSet:(e,t)=>t.stylize("WeakSet{…}","special"),WeakMap:(e,t)=>t.stylize("WeakMap{…}","special"),Arguments:yf,Int8Array:et,Uint8Array:et,Uint8ClampedArray:et,Int16Array:et,Uint16Array:et,Int32Array:et,Uint32Array:et,Float32Array:et,Float64Array:et,Generator:()=>"",DataView:()=>"",ArrayBuffer:()=>"",Error:vf,HTMLCollection:kn,NodeList:kn},K1=x((e,t,r)=>Yo in e&&typeof e[Yo]=="function"?e[Yo](t):or&&or in e&&typeof e[or]=="function"?e[or](t.depth,t):"inspect"in e&&typeof e.inspect=="function"?e.inspect(t.depth,t):"constructor"in e&&Gs.has(e.constructor)?Gs.get(e.constructor)(e,t):Ws[r]?Ws[r](e,t):"","inspectCustom"),Y1=Object.prototype.toString;function Fn(e,t={}){let r=of(t,Fn),{customInspect:n}=r,o=e===null?"null":typeof e;if(o==="object"&&(o=Y1.call(e).slice(8,-1)),o in Ks)return Ks[o](e,r);if(n&&e){let a=K1(e,r,o);if(a)return typeof a=="string"?a:Fn(a,r)}let i=e?Object.getPrototypeOf(e):!1;return i===Object.prototype||i===null?kr(e,r):e&&typeof HTMLElement=="function"&&e instanceof HTMLElement?Fi(e,r):"constructor"in e?e.constructor!==Object?gf(e,r):kr(e,r):e===Object(e)?kr(e,r):r.stylize(String(e),o)}x(Fn,"inspect");var Ne={includeStack:!1,showDiff:!0,truncateThreshold:40,useProxy:!0,proxyExcludedKeys:["then","catch","inspect","toJSON"],deepEqual:null};function ee(e,t,r,n){var o={colors:n,depth:typeof r>"u"?2:r,showHidden:t,truncate:Ne.truncateThreshold?Ne.truncateThreshold:1/0};return Fn(e,o)}x(ee,"inspect");function Ut(e){var t=ee(e),r=Object.prototype.toString.call(e);if(Ne.truncateThreshold&&t.length>=Ne.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),o=n.length>2?n.splice(0,2).join(", ")+", ...":n.join(", ");return"{ Object ("+o+") }"}else return t}else return t}x(Ut,"objDisplay");function Ui(e,t){var r=K(e,"negate"),n=K(e,"object"),o=t[3],i=go(e,t),a=r?t[2]:t[1],l=K(e,"message");return typeof a=="function"&&(a=a()),a=a||"",a=a.replace(/#\{this\}/g,function(){return Ut(n)}).replace(/#\{act\}/g,function(){return Ut(i)}).replace(/#\{exp\}/g,function(){return Ut(o)}),l?l+": "+a:a}x(Ui,"getMessage");function Qe(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 o in n)(r||o!=="object"&&o!=="ssfi"&&o!=="lockSsfi"&&o!="message")&&(t.__flags[o]=n[o])}x(Qe,"transferFlags");function Oa(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(Oa,"type");function Hi(){this._key="chai/deep-eql__"+Math.random()+Date.now()}x(Hi,"FakeMap");Hi.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 Ef=typeof WeakMap=="function"?WeakMap:Hi;function Aa(e,t,r){if(!r||Vt(e)||Vt(t))return null;var n=r.get(e);if(n){var o=n.get(t);if(typeof o=="boolean")return o}return null}x(Aa,"memoizeCompare");function jr(e,t,r,n){if(!(!r||Vt(e)||Vt(t))){var o=r.get(e);o?o.set(t,n):(o=new Ef,o.set(t,n),r.set(e,o))}}x(jr,"memoizeSet");var wf=mn;function mn(e,t,r){if(r&&r.comparator)return qa(e,t,r);var n=zi(e,t);return n!==null?n:qa(e,t,r)}x(mn,"deepEqual");function zi(e,t){return e===t?e!==0||1/e===1/t:e!==e&&t!==t?!0:Vt(e)||Vt(t)?!1:null}x(zi,"simpleEqual");function qa(e,t,r){r=r||{},r.memoize=r.memoize===!1?!1:r.memoize||new Ef;var n=r&&r.comparator,o=Aa(e,t,r.memoize);if(o!==null)return o;var i=Aa(t,e,r.memoize);if(i!==null)return i;if(n){var a=n(e,t);if(a===!1||a===!0)return jr(e,t,r.memoize,a),a;var l=zi(e,t);if(l!==null)return l}var u=Oa(e);if(u!==Oa(t))return jr(e,t,r.memoize,!1),!1;jr(e,t,r.memoize,!0);var c=Cf(e,t,u,r);return jr(e,t,r.memoize,c),c}x(qa,"extensiveDeepEqual");function Cf(e,t,r,n){switch(r){case"String":case"Number":case"Boolean":case"Date":return mn(e.valueOf(),t.valueOf());case"Promise":case"Symbol":case"function":case"WeakMap":case"WeakSet":return e===t;case"Error":return Vi(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 Rf(e,t);case"Generator":return Tf(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 xa(e,t,n);case"Map":return xa(e,t,n);case"Temporal.PlainDate":case"Temporal.PlainTime":case"Temporal.PlainDateTime":case"Temporal.Instant":case"Temporal.ZonedDateTime":case"Temporal.PlainYearMonth":case"Temporal.PlainMonthDay":return e.equals(t);case"Temporal.Duration":return e.total("nanoseconds")===t.total("nanoseconds");case"Temporal.TimeZone":case"Temporal.Calendar":return e.toString()===t.toString();default:return Sf(e,t,n)}}x(Cf,"extensiveDeepEqualByType");function Rf(e,t){return e.toString()===t.toString()}x(Rf,"regexpEqual");function xa(e,t,r){if(e.size!==t.size)return!1;if(e.size===0)return!0;var n=[],o=[];return e.forEach(x(function(i,a){n.push([i,a])},"gatherEntries")),t.forEach(x(function(i,a){o.push([i,a])},"gatherEntries")),xt(n.sort(),o.sort(),r)}x(xa,"entriesEqual");function xt(e,t,r){var n=e.length;if(n!==t.length)return!1;if(n===0)return!0;for(var o=-1;++o<n;)if(mn(e[o],t[o],r)===!1)return!1;return!0}x(xt,"iterableEqual");function Tf(e,t,r){return xt(Un(e),Un(t),r)}x(Tf,"generatorEqual");function Pf(e){return typeof Symbol<"u"&&typeof e=="object"&&typeof Symbol.iterator<"u"&&typeof e[Symbol.iterator]=="function"}x(Pf,"hasIteratorFunction");function Ma(e){if(Pf(e))try{return Un(e[Symbol.iterator]())}catch{return[]}return[]}x(Ma,"getIteratorEntries");function Un(e){for(var t=e.next(),r=[t.value];t.done===!1;)t=e.next(),r.push(t.value);return r}x(Un,"getGeneratorEntries");function $a(e){var t=[];for(var r in e)t.push(r);return t}x($a,"getEnumerableKeys");function Na(e){for(var t=[],r=Object.getOwnPropertySymbols(e),n=0;n<r.length;n+=1){var o=r[n];Object.getOwnPropertyDescriptor(e,o).enumerable&&t.push(o)}return t}x(Na,"getEnumerableSymbols");function Vi(e,t,r,n){var o=r.length;if(o===0)return!0;for(var i=0;i<o;i+=1)if(mn(e[r[i]],t[r[i]],n)===!1)return!1;return!0}x(Vi,"keysEqual");function Sf(e,t,r){var n=$a(e),o=$a(t),i=Na(e),a=Na(t);if(n=n.concat(i),o=o.concat(a),n.length&&n.length===o.length)return xt(ja(n).sort(),ja(o).sort())===!1?!1:Vi(e,t,n,r);var l=Ma(e),u=Ma(t);return l.length&&l.length===u.length?(l.sort(),u.sort(),xt(l,u,r)):n.length===0&&l.length===0&&o.length===0&&u.length===0}x(Sf,"objectEqual");function Vt(e){return e===null||typeof e!="object"}x(Vt,"isPrimitive");function ja(e){return e.map(x(function(t){return typeof t=="symbol"?t.toString():t},"mapSymbol"))}x(ja,"mapSymbols");function yo(e,t){return typeof e>"u"||e===null?!1:t in Object(e)}x(yo,"hasProperty");function Of(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(Of,"parsePath");function Ia(e,t,r){let n=e,o=null;r=typeof r>"u"?t.length:r;for(let i=0;i<r;i++){let a=t[i];n&&(typeof a.p>"u"?n=n[a.i]:n=n[a.p],i===r-1&&(o=n))}return o}x(Ia,"internalGetPathValue");function Gi(e,t){let r=Of(t),n=r[r.length-1],o={parent:r.length>1?Ia(e,r,r.length-1):e,name:n.p||n.i,value:Ia(e,r)};return o.exists=yo(o.parent,o.name),o}x(Gi,"getPathInfo");function S(e,t,r,n){return K(this,"ssfi",r||S),K(this,"lockSsfi",n),K(this,"object",e),K(this,"message",t),K(this,"eql",Ne.deepEqual||wf),Ar(this)}x(S,"Assertion");Object.defineProperty(S,"includeStack",{get:function(){return console.warn("Assertion.includeStack is deprecated, use chai.config.includeStack instead."),Ne.includeStack},set:function(e){console.warn("Assertion.includeStack is deprecated, use chai.config.includeStack instead."),Ne.includeStack=e}});Object.defineProperty(S,"showDiff",{get:function(){return console.warn("Assertion.showDiff is deprecated, use chai.config.showDiff instead."),Ne.showDiff},set:function(e){console.warn("Assertion.showDiff is deprecated, use chai.config.showDiff instead."),Ne.showDiff=e}});S.addProperty=function(e,t){Wi(this.prototype,e,t)};S.addMethod=function(e,t){Ki(this.prototype,e,t)};S.addChainableMethod=function(e,t,r){Xi(this.prototype,e,t,r)};S.overwriteProperty=function(e,t){Yi(this.prototype,e,t)};S.overwriteMethod=function(e,t){Ji(this.prototype,e,t)};S.overwriteChainableMethod=function(e,t,r){Qi(this.prototype,e,t,r)};S.prototype.assert=function(e,t,r,n,o,i){var a=ki(this,arguments);if(i!==!1&&(i=!0),n===void 0&&o===void 0&&(i=!1),Ne.showDiff!==!0&&(i=!1),!a){t=Ui(this,arguments);var l=go(this,arguments),u={actual:l,expected:n,showDiff:i},c=tl(this,arguments);throw c&&(u.operator=c),new oe(t,u,Ne.includeStack?this.assert:K(this,"ssfi"))}};Object.defineProperty(S.prototype,"_obj",{get:function(){return K(this,"object")},set:function(e){K(this,"object",e)}});function hn(){return Ne.useProxy&&typeof Proxy<"u"&&typeof Reflect<"u"}x(hn,"isProxyEnabled");function Wi(e,t,r){r=r===void 0?function(){}:r,Object.defineProperty(e,t,{get:x(function n(){!hn()&&!K(this,"lockSsfi")&&K(this,"ssfi",n);var o=r.call(this);if(o!==void 0)return o;var i=new S;return Qe(this,i),i},"propertyGetter"),configurable:!0})}x(Wi,"addProperty");var J1=Object.getOwnPropertyDescriptor(function(){},"length");function bn(e,t,r){return J1.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(bn,"addLengthGuard");function Af(e){var t=Object.getOwnPropertyNames(e);function r(o){t.indexOf(o)===-1&&t.push(o)}x(r,"addProperty");for(var n=Object.getPrototypeOf(e);n!==null;)Object.getOwnPropertyNames(n).forEach(r),n=Object.getPrototypeOf(n);return t}x(Af,"getProperties");var Ys=["__flags","__methods","_obj","assert"];function Ar(e,t){return hn()?new Proxy(e,{get:x(function r(n,o){if(typeof o=="string"&&Ne.proxyExcludedKeys.indexOf(o)===-1&&!Reflect.has(n,o)){if(t)throw Error("Invalid Chai property: "+t+"."+o+'. See docs for proper usage of "'+t+'".');var i=null,a=4;throw Af(n).forEach(function(l){if(!Object.prototype.hasOwnProperty(l)&&Ys.indexOf(l)===-1){var u=qf(o,l,a);u<a&&(i=l,a=u)}}),Error(i!==null?"Invalid Chai property: "+o+'. Did you mean "'+i+'"?':"Invalid Chai property: "+o)}return Ys.indexOf(o)===-1&&!K(n,"lockSsfi")&&K(n,"ssfi",r),Reflect.get(n,o)},"proxyGetter")}):e}x(Ar,"proxify");function qf(e,t,r){if(Math.abs(e.length-t.length)>=r)return r;for(var n=[],o=0;o<=e.length;o++)n[o]=Array(t.length+1).fill(0),n[o][0]=o;for(var i=0;i<t.length;i++)n[0][i]=i;for(var o=1;o<=e.length;o++)for(var a=e.charCodeAt(o-1),i=1;i<=t.length;i++){if(Math.abs(o-i)>=r){n[o][i]=r;continue}n[o][i]=Math.min(n[o-1][i]+1,n[o][i-1]+1,n[o-1][i-1]+(a===t.charCodeAt(i-1)?0:1))}return n[e.length][t.length]}x(qf,"stringDistanceCapped");function Ki(e,t,r){var n=x(function(){K(this,"lockSsfi")||K(this,"ssfi",n);var o=r.apply(this,arguments);if(o!==void 0)return o;var i=new S;return Qe(this,i),i},"methodWrapper");bn(n,t,!1),e[t]=Ar(n,t)}x(Ki,"addMethod");function Yi(e,t,r){var n=Object.getOwnPropertyDescriptor(e,t),o=x(function(){},"_super");n&&typeof n.get=="function"&&(o=n.get),Object.defineProperty(e,t,{get:x(function i(){!hn()&&!K(this,"lockSsfi")&&K(this,"ssfi",i);var a=K(this,"lockSsfi");K(this,"lockSsfi",!0);var l=r(o).call(this);if(K(this,"lockSsfi",a),l!==void 0)return l;var u=new S;return Qe(this,u),u},"overwritingPropertyGetter"),configurable:!0})}x(Yi,"overwriteProperty");function Ji(e,t,r){var n=e[t],o=x(function(){throw new Error(t+" is not a function")},"_super");n&&typeof n=="function"&&(o=n);var i=x(function(){K(this,"lockSsfi")||K(this,"ssfi",i);var a=K(this,"lockSsfi");K(this,"lockSsfi",!0);var l=r(o).apply(this,arguments);if(K(this,"lockSsfi",a),l!==void 0)return l;var u=new S;return Qe(this,u),u},"overwritingMethodWrapper");bn(i,t,!1),e[t]=Ar(i,t)}x(Ji,"overwriteMethod");var X1=typeof Object.setPrototypeOf=="function",Js=x(function(){},"testFn"),Q1=Object.getOwnPropertyNames(Js).filter(function(e){var t=Object.getOwnPropertyDescriptor(Js,e);return typeof t!="object"?!0:!t.configurable}),Z1=Function.prototype.call,eC=Function.prototype.apply;function Xi(e,t,r,n){typeof n!="function"&&(n=x(function(){},"chainingBehavior"));var o={method:r,chainingBehavior:n};e.__methods||(e.__methods={}),e.__methods[t]=o,Object.defineProperty(e,t,{get:x(function(){o.chainingBehavior.call(this);var i=x(function(){K(this,"lockSsfi")||K(this,"ssfi",i);var u=o.method.apply(this,arguments);if(u!==void 0)return u;var c=new S;return Qe(this,c),c},"chainableMethodWrapper");if(bn(i,t,!0),X1){var a=Object.create(this);a.call=Z1,a.apply=eC,Object.setPrototypeOf(i,a)}else{var l=Object.getOwnPropertyNames(e);l.forEach(function(u){if(Q1.indexOf(u)===-1){var c=Object.getOwnPropertyDescriptor(e,u);Object.defineProperty(i,u,c)}})}return Qe(this,i),Ar(i)},"chainableMethodGetter"),configurable:!0})}x(Xi,"addChainableMethod");function Qi(e,t,r,n){var o=e.__methods[t],i=o.chainingBehavior;o.chainingBehavior=x(function(){var l=n(i).call(this);if(l!==void 0)return l;var u=new S;return Qe(this,u),u},"overwritingChainableMethodGetter");var a=o.method;o.method=x(function(){var l=r(a).apply(this,arguments);if(l!==void 0)return l;var u=new S;return Qe(this,u),u},"overwritingChainableMethodWrapper")}x(Qi,"overwriteChainableMethod");function Hn(e,t){return ee(e)<ee(t)?-1:1}x(Hn,"compareByInspect");function Zi(e){return typeof Object.getOwnPropertySymbols!="function"?[]:Object.getOwnPropertySymbols(e).filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})}x(Zi,"getOwnEnumerablePropertySymbols");function el(e){return Object.keys(e).concat(Zi(e))}x(el,"getOwnEnumerableProperties");function xf(e){return e!==e}x(xf,"_isNaN");var zn=Number.isNaN||xf;function Mf(e){var t=se(e),r=["Array","Object","Function"];return r.indexOf(t)!==-1}x(Mf,"isObjectType");function tl(e,t){var r=K(e,"operator"),n=K(e,"negate"),o=t[3],i=n?t[2]:t[1];if(r)return r;if(typeof i=="function"&&(i=i()),i=i||"",!!i&&!/\shave\s/.test(i)){var a=Mf(o);return/\snot\s/.test(i)?a?"notDeepStrictEqual":"notStrictEqual":a?"deepStrictEqual":"strictEqual"}}x(tl,"getOperator");function vo(e){return e.name}x(vo,"getName");function Vn(e){return Object.prototype.toString.call(e)==="[object RegExp]"}x(Vn,"isRegExp");var{flag:A}=rt;["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 Xs={function:["function","asyncfunction","generatorfunction","asyncgeneratorfunction"],asyncfunction:["asyncfunction","asyncgeneratorfunction"],generatorfunction:["generatorfunction","asyncgeneratorfunction"],asyncgeneratorfunction:["asyncgeneratorfunction"]};function rl(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 o=se(r).toLowerCase();Xs.function.includes(e)?this.assert(Xs[e].includes(o),"expected #{this} to be "+n+e,"expected #{this} not to be "+n+e):this.assert(e===o,"expected #{this} to be "+n+e,"expected #{this} not to be "+n+e)}x(rl,"an");S.addChainableMethod("an",rl);S.addChainableMethod("a",rl);function $f(e,t){return zn(e)&&zn(t)||e===t}x($f,"SameValueZero");function gn(){A(this,"contains",!0)}x(gn,"includeChainingBehavior");function yn(e,t){t&&A(this,"message",t);var r=A(this,"object"),n=se(r).toLowerCase(),o=A(this,"message"),i=A(this,"negate"),a=A(this,"ssfi"),l=A(this,"deep"),u=l?"deep ":"",c=l?A(this,"eql"):$f;o=o?o+": ":"";var s=!1;switch(n){case"string":s=r.indexOf(e)!==-1;break;case"weakset":if(l)throw new oe(o+"unable to use .deep.include with WeakSet",void 0,a);s=r.has(e);break;case"map":r.forEach(function(m){s=s||c(m,e)});break;case"set":l?r.forEach(function(m){s=s||c(m,e)}):s=r.has(e);break;case"array":l?s=r.some(function(m){return c(m,e)}):s=r.indexOf(e)!==-1;break;default:if(e!==Object(e))throw new oe(o+"the given combination of arguments ("+n+" and "+se(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 "+se(e).toLowerCase(),void 0,a);var d=Object.keys(e),p=null,f=0;if(d.forEach(function(m){var h=new S(r);if(Qe(this,h,!0),A(h,"lockSsfi",!0),!i||d.length===1){h.property(m,e[m]);return}try{h.property(m,e[m])}catch(y){if(!Be.compatibleConstructor(y,oe))throw y;p===null&&(p=y),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(yn,"include");S.addChainableMethod("include",yn,gn);S.addChainableMethod("contain",yn,gn);S.addChainableMethod("contains",yn,gn);S.addChainableMethod("includes",yn,gn);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}: `:"",o=A(this,"negate"),i=o?`${n}expected ${ee(e)} not to be a callable function`:`${n}expected ${ee(e)} to be a callable function`,a=["Function","AsyncFunction","GeneratorFunction","AsyncGeneratorFunction"].includes(se(e));if(a&&o||!a&&!o)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(zn(A(this,"object")),"expected #{this} to be NaN","expected #{this} not to be NaN")});function nl(){var e=A(this,"object");this.assert(e!=null,"expected #{this} to exist","expected #{this} to not exist")}x(nl,"assertExist");S.addProperty("exist",nl);S.addProperty("exists",nl);S.addProperty("empty",function(){var e=A(this,"object"),t=A(this,"ssfi"),r=A(this,"message"),n;switch(r=r?r+": ":"",se(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 o=r+".empty was passed a function "+vo(e);throw new oe(o.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 ol(){var e=A(this,"object"),t=se(e);this.assert(t==="Arguments","expected #{this} to be arguments but got "+t,"expected #{this} to not be arguments")}x(ol,"checkArguments");S.addProperty("arguments",ol);S.addProperty("Arguments",ol);function _o(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(_o,"assertEqual");S.addMethod("equal",_o);S.addMethod("equals",_o);S.addMethod("eq",_o);function al(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(al,"assertEql");S.addMethod("eql",al);S.addMethod("eqls",al);function Eo(e,t){t&&A(this,"message",t);var r=A(this,"object"),n=A(this,"doLength"),o=A(this,"message"),i=o?o+": ":"",a=A(this,"ssfi"),l=se(r).toLowerCase(),u=se(e).toLowerCase(),c,s=!0;if(n&&l!=="map"&&l!=="set"&&new S(r,o,a,!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,a);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(Eo,"assertAbove");S.addMethod("above",Eo);S.addMethod("gt",Eo);S.addMethod("greaterThan",Eo);function wo(e,t){t&&A(this,"message",t);var r=A(this,"object"),n=A(this,"doLength"),o=A(this,"message"),i=o?o+": ":"",a=A(this,"ssfi"),l=se(r).toLowerCase(),u=se(e).toLowerCase(),c,s=!0;if(n&&l!=="map"&&l!=="set"&&new S(r,o,a,!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,a);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(wo,"assertLeast");S.addMethod("least",wo);S.addMethod("gte",wo);S.addMethod("greaterThanOrEqual",wo);function Co(e,t){t&&A(this,"message",t);var r=A(this,"object"),n=A(this,"doLength"),o=A(this,"message"),i=o?o+": ":"",a=A(this,"ssfi"),l=se(r).toLowerCase(),u=se(e).toLowerCase(),c,s=!0;if(n&&l!=="map"&&l!=="set"&&new S(r,o,a,!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,a);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(Co,"assertBelow");S.addMethod("below",Co);S.addMethod("lt",Co);S.addMethod("lessThan",Co);function Ro(e,t){t&&A(this,"message",t);var r=A(this,"object"),n=A(this,"doLength"),o=A(this,"message"),i=o?o+": ":"",a=A(this,"ssfi"),l=se(r).toLowerCase(),u=se(e).toLowerCase(),c,s=!0;if(n&&l!=="map"&&l!=="set"&&new S(r,o,a,!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,a);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(Ro,"assertMost");S.addMethod("most",Ro);S.addMethod("lte",Ro);S.addMethod("lessThanOrEqual",Ro);S.addMethod("within",function(e,t,r){r&&A(this,"message",r);var n=A(this,"object"),o=A(this,"doLength"),i=A(this,"message"),a=i?i+": ":"",l=A(this,"ssfi"),u=se(n).toLowerCase(),c=se(e).toLowerCase(),s=se(t).toLowerCase(),d,p=!0,f=c==="date"&&s==="date"?e.toISOString()+".."+t.toISOString():e+".."+t;if(o&&u!=="map"&&u!=="set"&&new S(n,i,l,!0).to.have.property("length"),!o&&u==="date"&&(c!=="date"||s!=="date"))d=a+"the arguments to within must be dates";else if((c!=="number"||s!=="number")&&(o||u==="number"))d=a+"the arguments to within must be numbers";else if(!o&&u!=="date"&&u!=="number"){var m=u==="string"?"'"+n+"'":n;d=a+"expected "+m+" to be a number or a date"}else p=!1;if(p)throw new oe(d,void 0,l);if(o){var h="length",y;u==="map"||u==="set"?(h="size",y=n.size):y=n.length,this.assert(y>=e&&y<=t,"expected #{this} to have a "+h+" within "+f,"expected #{this} to not have a "+h+" within "+f)}else this.assert(n>=e&&n<=t,"expected #{this} to be within "+f,"expected #{this} to not be within "+f)});function il(e,t){t&&A(this,"message",t);var r=A(this,"object"),n=A(this,"ssfi"),o=A(this,"message");try{var i=r instanceof e}catch(l){throw l instanceof TypeError?(o=o?o+": ":"",new oe(o+"The instanceof assertion needs a constructor but "+se(e)+" was given.",void 0,n)):l}var a=vo(e);a==null&&(a="an unnamed constructor"),this.assert(i,"expected #{this} to be an instance of "+a,"expected #{this} to not be an instance of "+a)}x(il,"assertInstanceOf");S.addMethod("instanceof",il);S.addMethod("instanceOf",il);function ll(e,t,r){r&&A(this,"message",r);var n=A(this,"nested"),o=A(this,"own"),i=A(this,"message"),a=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&&o)throw new oe(i+'The "nested" and "own" flags cannot be combined.',void 0,l);if(a==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?Gi(a,e):null,p=n?d.value:a[e],f=c?A(this,"eql"):(y,b)=>y===b,m="";c&&(m+="deep "),o&&(m+="own "),n&&(m+="nested "),m+="property ";var h;o?h=Object.prototype.hasOwnProperty.call(a,e):n?h=d.exists:h=yo(a,e),(!s||arguments.length===1)&&this.assert(h,"expected #{this} to have "+m+ee(e),"expected #{this} to not have "+m+ee(e)),arguments.length>1&&this.assert(h&&f(t,p),"expected #{this} to have "+m+ee(e)+" of #{exp}, but got #{act}","expected #{this} to not have "+m+ee(e)+" of #{act}",t,p),A(this,"object",p)}x(ll,"assertProperty");S.addMethod("property",ll);function sl(e,t,r){A(this,"own",!0),ll.apply(this,arguments)}x(sl,"assertOwnProperty");S.addMethod("ownProperty",sl);S.addMethod("haveOwnProperty",sl);function ul(e,t,r){typeof t=="string"&&(r=t,t=null),r&&A(this,"message",r);var n=A(this,"object"),o=Object.getOwnPropertyDescriptor(Object(n),e),i=A(this,"eql");o&&t?this.assert(i(t,o),"expected the own property descriptor for "+ee(e)+" on #{this} to match "+ee(t)+", got "+ee(o),"expected the own property descriptor for "+ee(e)+" on #{this} to not match "+ee(t),t,o,!0):this.assert(o,"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",o)}x(ul,"assertOwnPropertyDescriptor");S.addMethod("ownPropertyDescriptor",ul);S.addMethod("haveOwnPropertyDescriptor",ul);function cl(){A(this,"doLength",!0)}x(cl,"assertLengthChain");function dl(e,t){t&&A(this,"message",t);var r=A(this,"object"),n=se(r).toLowerCase(),o=A(this,"message"),i=A(this,"ssfi"),a="length",l;switch(n){case"map":case"set":a="size",l=r.size;break;default:new S(r,o,i,!0).to.have.property("length"),l=r.length}this.assert(l==e,"expected #{this} to have a "+a+" of #{exp} but got #{act}","expected #{this} to not have a "+a+" of #{act}",e,l)}x(dl,"assertLength");S.addChainableMethod("length",dl,cl);S.addChainableMethod("lengthOf",dl,cl);function fl(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(fl,"assertMatch");S.addMethod("match",fl);S.addMethod("matches",fl);S.addMethod("string",function(e,t){t&&A(this,"message",t);var r=A(this,"object"),n=A(this,"message"),o=A(this,"ssfi");new S(r,n,o,!0).is.a("string"),this.assert(~r.indexOf(e),"expected #{this} to contain "+ee(e),"expected #{this} to not contain "+ee(e))});function pl(e){var t=A(this,"object"),r=se(t),n=se(e),o=A(this,"ssfi"),i=A(this,"deep"),a,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(g,T){u.push(T)}),n!=="Array"&&(e=Array.prototype.slice.call(arguments));else{switch(u=el(t),n){case"Array":if(arguments.length>1)throw new oe(d,void 0,o);break;case"Object":if(arguments.length>1)throw new oe(d,void 0,o);e=Object.keys(e);break;default:e=Array.prototype.slice.call(arguments)}e=e.map(function(g){return typeof g=="symbol"?g:String(g)})}if(!e.length)throw new oe(s+"keys required",void 0,o);var p=e.length,f=A(this,"any"),m=A(this,"all"),h=e,y=i?A(this,"eql"):(g,T)=>g===T;if(!f&&!m&&(m=!0),f&&(c=h.some(function(g){return u.some(function(T){return y(g,T)})})),m&&(c=h.every(function(g){return u.some(function(T){return y(g,T)})}),A(this,"contains")||(c=c&&e.length==u.length)),p>1){e=e.map(function(g){return ee(g)});var b=e.pop();m&&(a=e.join(", ")+", and "+b),f&&(a=e.join(", ")+", or "+b)}else a=ee(e[0]);a=(p>1?"keys ":"key ")+a,a=(A(this,"contains")?"contain ":"have ")+a,this.assert(c,"expected #{this} to "+l+a,"expected #{this} to not "+l+a,h.slice(0).sort(Hn),u.sort(Hn),!0)}x(pl,"assertKeys");S.addMethod("keys",pl);S.addMethod("key",pl);function To(e,t,r){r&&A(this,"message",r);var n=A(this,"object"),o=A(this,"ssfi"),i=A(this,"message"),a=A(this,"negate")||!1;new S(n,i,o,!0).is.a("function"),(Vn(e)||typeof e=="string")&&(t=e,e=null);let l,u=!1;try{n()}catch(g){u=!0,l=g}var c=e===void 0&&t===void 0,s=!!(e&&t),d=!1,p=!1;if(c||!c&&!a){var f="an error";e instanceof Error?f="#{exp}":e&&(f=Be.getConstructorName(e));let g=l;if(l instanceof Error)g=l.toString();else if(typeof l=="string")g=l;else if(l&&(typeof l=="object"||typeof l=="function"))try{g=Be.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(),g)}if(e&&l){if(e instanceof Error){var m=Be.compatibleInstance(l,e);m===a&&(s&&a?d=!0:this.assert(a,"expected #{this} to throw #{exp} but #{act} was thrown","expected #{this} to not throw #{exp}"+(l&&!a?" but #{act} was thrown":""),e.toString(),l.toString()))}var h=Be.compatibleConstructor(l,e);h===a&&(s&&a?d=!0:this.assert(a,"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&&Be.getConstructorName(e),l instanceof Error?l.toString():l&&Be.getConstructorName(l)))}if(l&&t!==void 0&&t!==null){var y="including";Vn(t)&&(y="matching");var b=Be.compatibleMessage(l,t);b===a&&(s&&a?p=!0:this.assert(a,"expected #{this} to throw error "+y+" #{exp} but got #{act}","expected #{this} to throw error not "+y+" #{exp}",t,Be.getMessage(l)))}d&&p&&this.assert(a,"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&&Be.getConstructorName(e),l instanceof Error?l.toString():l&&Be.getConstructorName(l)),A(this,"object",l)}x(To,"assertThrows");S.addMethod("throw",To);S.addMethod("throws",To);S.addMethod("Throw",To);function ml(e,t){t&&A(this,"message",t);var r=A(this,"object"),n=A(this,"itself"),o=typeof r=="function"&&!n?r.prototype[e]:r[e];this.assert(typeof o=="function","expected #{this} to respond to "+ee(e),"expected #{this} to not respond to "+ee(e))}x(ml,"respondTo");S.addMethod("respondTo",ml);S.addMethod("respondsTo",ml);S.addProperty("itself",function(){A(this,"itself",!0)});function hl(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(hl,"satisfy");S.addMethod("satisfy",hl);S.addMethod("satisfies",hl);function bl(e,t,r){r&&A(this,"message",r);var n=A(this,"object"),o=A(this,"message"),i=A(this,"ssfi");if(new S(n,o,i,!0).is.a("number"),typeof e!="number"||typeof t!="number"){o=o?o+": ":"";var a=t===void 0?", and a delta is required":"";throw new oe(o+"the arguments to closeTo or approximately must be numbers"+a,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(bl,"closeTo");S.addMethod("closeTo",bl);S.addMethod("approximately",bl);function Nf(e,t,r,n,o){let i=Array.from(t),a=Array.from(e);if(!n){if(a.length!==i.length)return!1;i=i.slice()}return a.every(function(l,u){if(o)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(Nf,"isSubsetOf");S.addMethod("members",function(e,t){t&&A(this,"message",t);var r=A(this,"object"),n=A(this,"message"),o=A(this,"ssfi");new S(r,n,o,!0).to.be.iterable,new S(e,n,o,!0).to.be.iterable;var i=A(this,"contains"),a=A(this,"ordered"),l,u,c;i?(l=a?"an ordered superset":"a superset",u="expected #{this} to be "+l+" of #{exp}",c="expected #{this} to not be "+l+" of #{exp}"):(l=a?"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(Nf(e,r,s,i,a),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 jf(e,t){t&&A(this,"message",t);var r=A(this,"object"),n=A(this,"message"),o=A(this,"ssfi"),i=A(this,"contains"),a=A(this,"deep"),l=A(this,"eql");new S(e,n,o,!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):a?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(jf,"oneOf");S.addMethod("oneOf",jf);function gl(e,t,r){r&&A(this,"message",r);var n=A(this,"object"),o=A(this,"message"),i=A(this,"ssfi");new S(n,o,i,!0).is.a("function");var a;t?(new S(e,o,i,!0).to.have.property(t),a=e[t]):(new S(e,o,i,!0).is.a("function"),a=e()),n();var l=t==null?e():e[t],u=t==null?a:"."+t;A(this,"deltaMsgObj",u),A(this,"initialDeltaValue",a),A(this,"finalDeltaValue",l),A(this,"deltaBehavior","change"),A(this,"realDelta",l!==a),this.assert(a!==l,"expected "+u+" to change","expected "+u+" to not change")}x(gl,"assertChanges");S.addMethod("change",gl);S.addMethod("changes",gl);function yl(e,t,r){r&&A(this,"message",r);var n=A(this,"object"),o=A(this,"message"),i=A(this,"ssfi");new S(n,o,i,!0).is.a("function");var a;t?(new S(e,o,i,!0).to.have.property(t),a=e[t]):(new S(e,o,i,!0).is.a("function"),a=e()),new S(a,o,i,!0).is.a("number"),n();var l=t==null?e():e[t],u=t==null?a:"."+t;A(this,"deltaMsgObj",u),A(this,"initialDeltaValue",a),A(this,"finalDeltaValue",l),A(this,"deltaBehavior","increase"),A(this,"realDelta",l-a),this.assert(l-a>0,"expected "+u+" to increase","expected "+u+" to not increase")}x(yl,"assertIncreases");S.addMethod("increase",yl);S.addMethod("increases",yl);function vl(e,t,r){r&&A(this,"message",r);var n=A(this,"object"),o=A(this,"message"),i=A(this,"ssfi");new S(n,o,i,!0).is.a("function");var a;t?(new S(e,o,i,!0).to.have.property(t),a=e[t]):(new S(e,o,i,!0).is.a("function"),a=e()),new S(a,o,i,!0).is.a("number"),n();var l=t==null?e():e[t],u=t==null?a:"."+t;A(this,"deltaMsgObj",u),A(this,"initialDeltaValue",a),A(this,"finalDeltaValue",l),A(this,"deltaBehavior","decrease"),A(this,"realDelta",a-l),this.assert(l-a<0,"expected "+u+" to decrease","expected "+u+" to not decrease")}x(vl,"assertDecreases");S.addMethod("decrease",vl);S.addMethod("decreases",vl);function If(e,t){t&&A(this,"message",t);var r=A(this,"deltaMsgObj"),n=A(this,"initialDeltaValue"),o=A(this,"finalDeltaValue"),i=A(this,"deltaBehavior"),a=A(this,"realDelta"),l;i==="change"?l=Math.abs(o-n)===Math.abs(e):l=a===Math.abs(e),this.assert(l,"expected "+r+" to "+i+" by "+e,"expected "+r+" to not "+i+" by "+e)}x(If,"assertDelta");S.addMethod("by",If);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 Lf={};Di(Lf,{Should:()=>rC,should:()=>tC});function _l(){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,o,i,a){throw arguments.length<2&&(i=n,n=void 0),i=i||"should.fail()",new oe(i,{actual:n,expected:o,operator:a},r.fail)},r.equal=function(n,o,i){new S(n,i).to.equal(o)},r.Throw=function(n,o,i,a){new S(n,a).to.Throw(o,i)},r.exist=function(n,o){new S(n,o).to.exist},r.not={},r.not.equal=function(n,o,i){new S(n,i).to.not.equal(o)},r.not.Throw=function(n,o,i,a){new S(n,a).to.not.Throw(o,i)},r.not.exist=function(n,o){new S(n,o).to.not.exist},r.throw=r.Throw,r.not.throw=r.not.Throw,r}x(_l,"loadShould");var tC=_l,rC=_l;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==K(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!=K(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 o=new S(e,n,P.throws,!0).to.throw(t,r);return K(o,"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 o;switch(t){case"==":o=e==r;break;case"===":o=e===r;break;case">":o=e>r;break;case">=":o=e>=r;break;case"<":o=e<r;break;case"<=":o=e<=r;break;case"!=":o=e!=r;break;case"!==":o=e!==r;break;default:throw n=n&&n+": ",new oe(n+'Invalid operator "'+t+'"',void 0,P.operator)}var i=new S(o,n,P.operator,!0);i.assert(K(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,o){if(arguments.length===4&&typeof t=="function"){var i=n;n=r,o=i}else arguments.length===3&&(n=r,r=null);new S(e,o,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,o){if(arguments.length===4&&typeof t=="function"){var i=n;n=r,o=i}else arguments.length===3&&(n=r,r=null);new S(e,o,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,o){if(arguments.length===4&&typeof t=="function"){var i=n;n=r,o=i}else arguments.length===3&&(n=r,r=null);new S(e,o,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,o){if(arguments.length===4&&typeof t=="function"){var i=n;n=r,o=i}else arguments.length===3&&(n=r,r=null);new S(e,o,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,o){if(arguments.length===4&&typeof t=="function"){var i=n;n=r,o=i}else arguments.length===3&&(n=r,r=null);new S(e,o,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,o){if(arguments.length===4&&typeof t=="function"){var i=n;n=r,o=i}else arguments.length===3&&(n=r,r=null);return new S(e,o,P.doesNotDecreaseBy,!0).to.not.decrease(t,r).by(n)};P.decreasesButNotBy=function(e,t,r,n,o){if(arguments.length===4&&typeof t=="function"){var i=n;n=r,o=i}else arguments.length===3&&(n=r,r=null);new S(e,o,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 Qs=[];function Fr(e){let t={AssertionError:oe,util:rt,config:Ne,expect:Ht,assert:P,Assertion:S,...Lf};return~Qs.indexOf(e)||(e(t,rt),Qs.push(e)),t}x(Fr,"use");var Bf={};Mi(Bf,{toBeChecked:()=>Pp,toBeDisabled:()=>yp,toBeEmpty:()=>np,toBeEmptyDOMElement:()=>op,toBeEnabled:()=>vp,toBeInTheDOM:()=>Da,toBeInTheDocument:()=>rp,toBeInvalid:()=>wp,toBePartiallyChecked:()=>Op,toBeRequired:()=>_p,toBeValid:()=>Cp,toBeVisible:()=>pp,toContainElement:()=>ka,toContainHTML:()=>ap,toHaveAccessibleDescription:()=>Fa,toHaveAccessibleErrorMessage:()=>lp,toHaveAccessibleName:()=>Ha,toHaveAttribute:()=>sp,toHaveClass:()=>up,toHaveDescription:()=>Ap,toHaveDisplayValue:()=>Tp,toHaveErrorMessage:()=>qp,toHaveFocus:()=>cp,toHaveFormValues:()=>dp,toHaveRole:()=>Ua,toHaveStyle:()=>za,toHaveTextContent:()=>ip,toHaveValue:()=>Rp});var Zs=ke($d(),1);function Df(e){Object.defineProperty(e,"__esModule",{value:!0,configurable:!0})}function El(e,t,r,n){Object.defineProperty(e,t,{get:r,set:n,enumerable:!0,configurable:!0})}var kf={};Df(kf);El(kf,"default",()=>Ff);var Ff=class extends Error{constructor(e,t,r,n,o){super(e+":"+r+":"+n+": "+t),this.reason=t,this.filename=e,this.line=r,this.column=n,this.source=o}},Uf={};Df(Uf);El(Uf,"default",()=>Hf);var Hf=class{constructor(e,t,r){this.start=e,this.end=t,this.source=r}},nC={};El(nC,"CssTypes",()=>ye);var ye;(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"})(ye||(ye={}));var Jo=/\/\*[^]*?(?:\*\/|$)/g,oC=(e,t)=>{t=t||{};let r=1,n=1;function o(F){let B=F.match(/\n/g);B&&(r+=B.length);let k=F.lastIndexOf(`
|
|
69
|
+
`);n=~k?F.length-k:n+F.length}function i(){let F={line:r,column:n};return function(B){return B.position=new Hf(F,{line:r,column:n},t?.source||""),f(),B}}let a=[];function l(F){let B=new Ff(t?.source||"",F,r,n,e);if(t?.silent)a.push(B);else throw B}function u(){let F=d();return{type:ye.stylesheet,stylesheet:{source:t?.source,rules:F,parsingErrors:a}}}function c(){return p(/^{\s*/)}function s(){return p(/^}/)}function d(){let F,B=[];for(f(),m(B);e.length&&e.charAt(0)!=="}"&&(F=Ie()||Le());)F&&(B.push(F),m(B));return B}function p(F){let B=F.exec(e);if(!B)return;let k=B[0];return o(k),e=e.slice(k.length),B}function f(){p(/^\s*/)}function m(F){let B;for(F=F||[];B=h();)B&&F.push(B);return F}function h(){let F=i();if(e.charAt(0)!=="/"||e.charAt(1)!=="*")return;let B=p(/^\/\*[^]*?\*\//);return B?F({type:ye.comment,comment:B[0].slice(2,-2)}):l("End of comment missing")}function y(F,B,k){let G=B+1,Z=!1,ue=F.indexOf(")",G);for(;!Z&&ue!==-1;){let _e=F.indexOf("(",G);_e!==-1&&_e<ue?(G=y(F,_e+1)+1,ue=F.indexOf(")",G)):Z=!0}return Z&&ue!==-1?ue:-1}function b(){let F=p(/^([^{]+)/);if(!F)return;let B=Fe(F[0]).replace(Jo,"");if(B.indexOf(",")===-1)return[B];let k=0,G=B.indexOf("(",k);for(;G!==-1;){let Z=y(B,G);if(Z===-1)break;k=Z+1,B=B.substring(0,G)+B.substring(G,Z).replace(/,/g,"")+B.substring(Z),G=B.indexOf("(",k)}return B=B.replace(/("|')(?:\\\1|.)*?\1/g,Z=>Z.replace(/,/g,"")),B.split(",").map(Z=>Fe(Z.replace(/\u200C/g,",")))}function g(){let F=i(),B=p(/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/);if(!B)return;let k=Fe(B[0]);if(!p(/^:\s*/))return l("property missing ':'");let G=p(/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/),Z=F({type:ye.declaration,property:k.replace(Jo,""),value:G?Fe(G[0]).replace(Jo,""):""});return p(/^[;\s]*/),Z}function T(){let F=[];if(!c())return l("missing '{'");m(F);let B;for(;B=g();)B&&(F.push(B),m(F));return s()?F:l("missing '}'")}function C(){let F,B=[],k=i();for(;F=p(/^((\d+\.\d+|\.\d+|\d+)%?|[a-z]+)\s*/);)B.push(F[1]),p(/^,\s*/);if(B.length)return k({type:ye.keyframe,values:B,declarations:T()||[]})}function E(){let F=i(),B=p(/^@([-\w]+)?keyframes\s*/);if(!B)return;let k=B[1],G=p(/^([-\w]+)\s*/);if(!G)return l("@keyframes missing name");let Z=G[1];if(!c())return l("@keyframes missing '{'");let ue,_e=m();for(;ue=C();)_e.push(ue),_e=_e.concat(m());return s()?F({type:ye.keyframes,name:Z,vendor:k,keyframes:_e}):l("@keyframes missing '}'")}function w(){let F=i(),B=p(/^@supports *([^{]+)/);if(!B)return;let k=Fe(B[1]);if(!c())return l("@supports missing '{'");let G=m().concat(d());return s()?F({type:ye.supports,supports:k,rules:G}):l("@supports missing '}'")}function _(){let F=i();if(!p(/^@host\s*/))return;if(!c())return l("@host missing '{'");let B=m().concat(d());return s()?F({type:ye.host,rules:B}):l("@host missing '}'")}function v(){let F=i(),B=p(/^@container *([^{]+)/);if(!B)return;let k=Fe(B[1]);if(!c())return l("@container missing '{'");let G=m().concat(d());return s()?F({type:ye.container,container:k,rules:G}):l("@container missing '}'")}function O(){let F=i(),B=p(/^@layer *([^{;@]+)/);if(!B)return;let k=Fe(B[1]);if(!c())return p(/^[;\s]*/),F({type:ye.layer,layer:k});let G=m().concat(d());return s()?F({type:ye.layer,layer:k,rules:G}):l("@layer missing '}'")}function $(){let F=i(),B=p(/^@media *([^{]+)/);if(!B)return;let k=Fe(B[1]);if(!c())return l("@media missing '{'");let G=m().concat(d());return s()?F({type:ye.media,media:k,rules:G}):l("@media missing '}'")}function N(){let F=i(),B=p(/^@custom-media\s+(--\S+)\s*([^{;\s][^{;]*);/);if(B)return F({type:ye.customMedia,name:Fe(B[1]),media:Fe(B[2])})}function L(){let F=i();if(!p(/^@page */))return;let B=b()||[];if(!c())return l("@page missing '{'");let k=m(),G;for(;G=g();)k.push(G),k=k.concat(m());return s()?F({type:ye.page,selectors:B,declarations:k}):l("@page missing '}'")}function j(){let F=i(),B=p(/^@([-\w]+)?document *([^{]+)/);if(!B)return;let k=Fe(B[1]),G=Fe(B[2]);if(!c())return l("@document missing '{'");let Z=m().concat(d());return s()?F({type:ye.document,document:G,vendor:k,rules:Z}):l("@document missing '}'")}function I(){let F=i();if(!p(/^@font-face\s*/))return;if(!c())return l("@font-face missing '{'");let B=m(),k;for(;k=g();)B.push(k),B=B.concat(m());return s()?F({type:ye.fontFace,declarations:B}):l("@font-face missing '}'")}function H(){let F=i();if(!p(/^@starting-style\s*/))return;if(!c())return l("@starting-style missing '{'");let B=m().concat(d());return s()?F({type:ye.startingStyle,rules:B}):l("@starting-style missing '}'")}let V=ve("import"),J=ve("charset"),W=ve("namespace");function ve(F){let B=new RegExp("^@"+F+`\\s*((?::?[^;'"]|"(?:\\\\"|[^"])*?"|'(?:\\\\'|[^'])*?')+)(?:;|$)`);return function(){let k=i(),G=p(B);if(!G)return;let Z={type:F};return Z[F]=G[1].trim(),k(Z)}}function Ie(){if(e[0]==="@")return E()||$()||N()||w()||V()||J()||W()||j()||L()||_()||I()||v()||H()||O()}function Le(){let F=i(),B=b();return B?(m(),F({type:ye.rule,selectors:B,declarations:T()||[]})):l("selector missing")}return La(u())};function Fe(e){return e?e.trim():""}function La(e,t){let r=e&&typeof e.type=="string",n=r?e:t;for(let o in e){let i=e[o];Array.isArray(i)?i.forEach(a=>{La(a,n)}):i&&typeof i=="object"&&La(i,n)}return r&&Object.defineProperty(e,"parent",{configurable:!0,writable:!0,enumerable:!1,value:t||null}),e}var aC=oC,iC=aC,lC=Object.prototype.toString;function sC(e){return typeof e=="function"||lC.call(e)==="[object Function]"}function uC(e){var t=Number(e);return isNaN(t)?0:t===0||!isFinite(t)?t:(t>0?1:-1)*Math.floor(Math.abs(t))}var cC=Math.pow(2,53)-1;function dC(e){var t=uC(e);return Math.min(Math.max(t,0),cC)}function Ke(e,t){var r=Array,n=Object(e);if(e==null)throw new TypeError("Array.from requires an array-like object - not null or undefined");for(var o=dC(n.length),i=sC(r)?Object(new r(o)):new Array(o),a=0,l;a<o;)l=n[a],i[a]=l,a+=1;return i.length=o,i}function Jr(e){"@babel/helpers - typeof";return Jr=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},Jr(e)}function fC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pC(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,zf(n.key),n)}}function mC(e,t,r){return t&&pC(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function hC(e,t,r){return t=zf(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function zf(e){var t=bC(e,"string");return Jr(t)==="symbol"?t:String(t)}function bC(e,t){if(Jr(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(Jr(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var gC=function(){function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];fC(this,e),hC(this,"items",void 0),this.items=t}return mC(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}(),yC=typeof Set>"u"?Set:gC;function Ae(e){var t;return(t=e.localName)!==null&&t!==void 0?t:e.tagName.toLowerCase()}var vC={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"},_C={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 EC(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=_C[t])!==null&&n!==void 0&&n.has(r))})}function Vf(e,t){return EC(e,t)}function wC(e){var t=RC(e);if(t===null||Ba.indexOf(t)!==-1){var r=CC(e);if(Ba.indexOf(t||"")===-1||Vf(e,r||""))return r}return t}function CC(e){var t=vC[Ae(e)];if(t!==void 0)return t;switch(Ae(e)){case"a":case"area":case"link":if(e.hasAttribute("href"))return"link";break;case"img":return e.getAttribute("alt")===""&&!Vf(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 RC(e){var t=e.getAttribute("role");if(t!==null){var r=t.trim().split(" ")[0];if(r.length>0)return r}return null}var Ba=["presentation","none"];function ce(e){return e!==null&&e.nodeType===e.ELEMENT_NODE}function Gf(e){return ce(e)&&Ae(e)==="caption"}function xn(e){return ce(e)&&Ae(e)==="input"}function TC(e){return ce(e)&&Ae(e)==="optgroup"}function PC(e){return ce(e)&&Ae(e)==="select"}function SC(e){return ce(e)&&Ae(e)==="table"}function OC(e){return ce(e)&&Ae(e)==="textarea"}function AC(e){var t=e.ownerDocument===null?e:e.ownerDocument,r=t.defaultView;if(r===null)throw new TypeError("no window available");return r}function qC(e){return ce(e)&&Ae(e)==="fieldset"}function xC(e){return ce(e)&&Ae(e)==="legend"}function MC(e){return ce(e)&&Ae(e)==="slot"}function $C(e){return ce(e)&&e.ownerSVGElement!==void 0}function NC(e){return ce(e)&&Ae(e)==="svg"}function jC(e){return $C(e)&&Ae(e)==="title"}function Gn(e,t){if(ce(e)&&e.hasAttribute(t)){var r=e.getAttribute(t).split(" "),n=e.getRootNode?e.getRootNode():e.ownerDocument;return r.map(function(o){return n.getElementById(o)}).filter(function(o){return o!==null})}return[]}function mt(e,t){return ce(e)?t.indexOf(wC(e))!==-1:!1}function IC(e){return e.trim().replace(/\s\s+/g," ")}function LC(e,t){if(!ce(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 BC(e){return mt(e,["button","combobox","listbox","textbox"])||Wf(e,"range")}function Wf(e,t){if(!ce(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 eu(e,t){var r=Ke(e.querySelectorAll(t));return Gn(e,"aria-owns").forEach(function(n){r.push.apply(r,Ke(n.querySelectorAll(t)))}),r}function DC(e){return PC(e)?e.selectedOptions||eu(e,"[selected]"):eu(e,'[aria-selected="true"]')}function kC(e){return mt(e,Ba)}function FC(e){return Gf(e)}function UC(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 HC(e){return!1}function zC(e){return xn(e)||OC(e)?e.value:e.textContent||""}function tu(e){var t=e.getPropertyValue("content");return/^["'].*["']$/.test(t)?t.slice(1,-1):""}function Kf(e){var t=Ae(e);return t==="button"||t==="input"&&e.getAttribute("type")!=="hidden"||t==="meter"||t==="output"||t==="progress"||t==="select"||t==="textarea"}function Yf(e){if(Kf(e))return e;var t=null;return e.childNodes.forEach(function(r){if(t===null&&ce(r)){var n=Yf(r);n!==null&&(t=n)}}),t}function VC(e){if(e.control!==void 0)return e.control;var t=e.getAttribute("for");return t!==null?e.ownerDocument.getElementById(t):Yf(e)}function GC(e){var t=e.labels;if(t===null)return t;if(t!==void 0)return Ke(t);if(!Kf(e))return null;var r=e.ownerDocument;return Ke(r.querySelectorAll("label")).filter(function(n){return VC(n)===e})}function WC(e){var t=e.assignedNodes();return t.length===0?Ke(e.childNodes):t}function Jf(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=new yC,n=AC(e),o=t.compute,i=o===void 0?"name":o,a=t.computedStyleSupportsPseudoElements,l=a===void 0?t.getComputedStyle!==void 0:a,u=t.getComputedStyle,c=u===void 0?n.getComputedStyle.bind(n):u,s=t.hidden,d=s===void 0?!1:s;function p(b,g){var T="";if(ce(b)&&l){var C=c(b,"::before"),E=tu(C);T="".concat(E," ").concat(T)}var w=MC(b)?WC(b):Ke(b.childNodes).concat(Gn(b,"aria-owns"));if(w.forEach(function(O){var $=y(O,{isEmbeddedInLabel:g.isEmbeddedInLabel,isReferenced:!1,recursion:!0}),N=ce(O)?c(O).getPropertyValue("display"):"inline",L=N!=="inline"?" ":"";T+="".concat(L).concat($).concat(L)}),ce(b)&&l){var _=c(b,"::after"),v=tu(_);T="".concat(T," ").concat(v)}return T.trim()}function f(b,g){var T=b.getAttributeNode(g);return T!==null&&!r.has(T)&&T.value.trim()!==""?(r.add(T),T.value):null}function m(b){return ce(b)?f(b,"title"):null}function h(b){if(!ce(b))return null;if(qC(b)){r.add(b);for(var g=Ke(b.childNodes),T=0;T<g.length;T+=1){var C=g[T];if(xC(C))return y(C,{isEmbeddedInLabel:!1,isReferenced:!1,recursion:!1})}}else if(SC(b)){r.add(b);for(var E=Ke(b.childNodes),w=0;w<E.length;w+=1){var _=E[w];if(Gf(_))return y(_,{isEmbeddedInLabel:!1,isReferenced:!1,recursion:!1})}}else if(NC(b)){r.add(b);for(var v=Ke(b.childNodes),O=0;O<v.length;O+=1){var $=v[O];if(jC($))return $.textContent}return null}else if(Ae(b)==="img"||Ae(b)==="area"){var N=f(b,"alt");if(N!==null)return N}else if(TC(b)){var L=f(b,"label");if(L!==null)return L}if(xn(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=GC(b);if(I!==null&&I.length!==0)return r.add(b),Ke(I).map(function(W){return y(W,{isEmbeddedInLabel:!0,isReferenced:!1,recursion:!0})}).filter(function(W){return W.length>0}).join(" ");if(xn(b)&&b.type==="image"){var H=f(b,"alt");if(H!==null)return H;var V=f(b,"title");return V!==null?V:"Submit Query"}if(mt(b,["button"])){var J=p(b,{isEmbeddedInLabel:!1,isReferenced:!1});if(J!=="")return J}return null}function y(b,g){if(r.has(b))return"";if(!d&&LC(b,c)&&!g.isReferenced)return r.add(b),"";var T=ce(b)?b.getAttributeNode("aria-labelledby"):null,C=T!==null&&!r.has(T)?Gn(b,"aria-labelledby"):[];if(i==="name"&&!g.isReferenced&&C.length>0)return r.add(T),C.map(function(N){return y(N,{isEmbeddedInLabel:g.isEmbeddedInLabel,isReferenced:!0,recursion:!1})}).join(" ");var E=g.recursion&&BC(b)&&i==="name";if(!E){var w=(ce(b)&&b.getAttribute("aria-label")||"").trim();if(w!==""&&i==="name")return r.add(b),w;if(!kC(b)){var _=h(b);if(_!==null)return r.add(b),_}}if(mt(b,["menu"]))return r.add(b),"";if(E||g.isEmbeddedInLabel||g.isReferenced){if(mt(b,["combobox","listbox"])){r.add(b);var v=DC(b);return v.length===0?xn(b)?b.value:"":Ke(v).map(function(N){return y(N,{isEmbeddedInLabel:g.isEmbeddedInLabel,isReferenced:!1,recursion:!0})}).join(" ")}if(Wf(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),zC(b)}if(UC(b)||ce(b)&&g.isReferenced||FC(b)||HC()){var O=p(b,{isEmbeddedInLabel:g.isEmbeddedInLabel,isReferenced:!1});if(O!=="")return r.add(b),O}if(b.nodeType===b.TEXT_NODE)return r.add(b),b.textContent||"";if(g.recursion)return r.add(b),p(b,{isEmbeddedInLabel:g.isEmbeddedInLabel,isReferenced:!1});var $=m(b);return $!==null?(r.add(b),$):(r.add(b),"")}return IC(y(e,{isEmbeddedInLabel:!1,isReferenced:i==="description",recursion:!1}))}function Xr(e){"@babel/helpers - typeof";return Xr=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},Xr(e)}function ru(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function nu(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?ru(Object(r),!0).forEach(function(n){KC(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ru(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function KC(e,t,r){return t=YC(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function YC(e){var t=JC(e,"string");return Xr(t)==="symbol"?t:String(t)}function JC(e,t){if(Xr(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(Xr(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function XC(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=Gn(e,"aria-describedby").map(function(i){return Jf(i,nu(nu({},t),{},{compute:"description"}))}).join(" ");if(r===""){var n=e.getAttribute("aria-description");r=n===null?"":n}if(r===""){var o=e.getAttribute("title");r=o===null?"":o}return r}function QC(e){return mt(e,["caption","code","deletion","emphasis","generic","insertion","none","paragraph","presentation","strong","subscript","superscript"])}function ZC(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return QC(e)?"":Jf(e,t)}var wl=ke(Ni(),1),eR=ke(jd(),1),Xf=ke(Gd(),1),tR=ke(Wd(),1),Qf=class extends Error{constructor(e,t,r,n){super(),Error.captureStackTrace&&Error.captureStackTrace(this,r);let o="";try{o=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}.`,o].join(`
|
|
70
|
+
`)}},ou=class extends Qf{constructor(...e){super("be an HTMLElement or an SVGElement",...e)}},au=class extends Qf{constructor(...e){super("be a Node",...e)}};function Zf(e,t,...r){if(!e||!e.ownerDocument||!e.ownerDocument.defaultView)throw new t(e,...r)}function rR(e,...t){Zf(e,au,...t);let r=e.ownerDocument.defaultView;if(!(e instanceof r.Node))throw new au(e,...t)}function ae(e,...t){Zf(e,ou,...t);let r=e.ownerDocument.defaultView;if(!(e instanceof r.HTMLElement)&&!(e instanceof r.SVGElement))throw new ou(e,...t)}var nR=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 oR(e,...t){let r=iC(`selector { ${e} }`,{silent:!0}).stylesheet;if(r.parsingErrors&&r.parsingErrors.length>0){let{reason:n,line:o}=r.parsingErrors[0];throw new nR({css:e,message:`Syntax error parsing expected css: ${n} on line: ${o}`},...t)}return r.rules[0].declarations.filter(n=>n.type==="declaration").reduce((n,{property:o,value:i})=>Object.assign(n,{[o]:i}),{})}function iu(e,t){return typeof t=="string"?t:e.utils.stringify(t)}function Se(e,t,r,n,o,i){return[`${t}
|
|
72
|
+
`,`${r}:
|
|
73
|
+
${e.utils.EXPECTED_COLOR((0,Zs.default)(iu(e,n),2))}`,`${o}:
|
|
74
|
+
${e.utils.RECEIVED_COLOR((0,Zs.default)(iu(e,i),2))}`].join(`
|
|
75
|
+
`)}function aR(e,t){return t instanceof RegExp?t.test(e):e.includes(String(t))}function Po(e,t){console.warn(`Warning: ${e} has been deprecated and will be removed in future updates.`,t)}function So(e){return e.replace(/\s+/g," ").trim()}function Mt(e){return e.tagName&&e.tagName.toLowerCase()}function iR({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 lR(e){switch(e.type){case"number":return e.value===""?null:Number(e.value);case"checkbox":return e.checked;default:return e.value}}var sR=["meter","progressbar","slider","spinbutton"];function uR(e){if(sR.includes(e.getAttribute("role")))return Number(e.getAttribute("aria-valuenow"))}function ep(e){if(e)switch(e.tagName.toLowerCase()){case"input":return lR(e);case"select":return iR(e);default:return e.value??uR(e)}}function cR(e,{wordConnector:t=", ",lastWordConnector:r=" and "}={}){return[e.slice(0,-1).join(t),e[e.length-1]].join(e.length>1?r:"")}function tp(e,t){if(Array.isArray(e)&&Array.isArray(t))return[...new Set(e)].every(r=>new Set(t).has(r))}function Da(e,t){return Po("toBeInTheDOM","Please use toBeInTheDocument for searching the entire document and toContainElement for searching a specific container."),e&&ae(e,Da,this),t&&ae(t,Da,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 rp(e){(e!==null||!this.isNot)&&ae(e,rp,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 np(e){return Po("toBeEmpty","Please use instead toBeEmptyDOMElement for finding empty nodes in the DOM."),ae(e,np,this),{pass:e.innerHTML==="",message:()=>[this.utils.matcherHint(`${this.isNot?".not":""}.toBeEmpty`,"element",""),"","Received:",` ${this.utils.printReceived(e.innerHTML)}`].join(`
|
|
78
|
+
`)}}function op(e){return ae(e,op,this),{pass:dR(e),message:()=>[this.utils.matcherHint(`${this.isNot?".not":""}.toBeEmptyDOMElement`,"element",""),"","Received:",` ${this.utils.printReceived(e.innerHTML)}`].join(`
|
|
79
|
+
`)}}function dR(e){return[...e.childNodes].filter(t=>t.nodeType!==8).length===0}function ka(e,t){return ae(e,ka,this),t!==null&&ae(t,ka,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 fR(e,t){let r=e.ownerDocument.createElement("div");return r.innerHTML=t,r.innerHTML}function ap(e,t){if(ae(e,ap,this),typeof t!="string")throw new Error(`.toContainHTML() expects a string value, got ${t}`);return{pass:e.outerHTML.includes(fR(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 ip(e,t,r={normalizeWhitespace:!0}){rR(e,ip,this);let n=r.normalizeWhitespace?So(e.textContent):e.textContent.replace(/\u00a0/g," "),o=n!==""&&t==="";return{pass:!o&&aR(n,t),message:()=>{let i=this.isNot?"not to":"to";return Se(this,this.utils.matcherHint(`${this.isNot?".not":""}.toHaveTextContent`,"element",""),o?"Checking with empty string will always match, use .toBeEmptyDOMElement() instead":`Expected element ${i} have text content`,t,"Received",n)}}}function Fa(e,t){ae(e,Fa,this);let r=XC(e),n=arguments.length===1,o=!1;return n?o=r!=="":o=t instanceof RegExp?t.test(r):this.equals(r,t),{pass:o,message:()=>{let i=this.isNot?"not to":"to";return Se(this,this.utils.matcherHint(`${this.isNot?".not":""}.${Fa.name}`,"element",""),`Expected element ${i} have accessible description`,t,"Received",r)}}}var $r="aria-invalid",pR=["false"];function lp(e,t){ae(e,lp,this);let r=this.isNot?"not to":"to",n=this.isNot?".not.toHaveAccessibleErrorMessage":".toHaveAccessibleErrorMessage",o=e.getAttribute("aria-errormessage");if(o&&/\s+/.test(o))return{pass:!1,message:()=>Se(this,this.utils.matcherHint(n,"element"),"Expected element's `aria-errormessage` attribute to be empty or a single, valid ID","","Received",`aria-errormessage="${o}"`)};let i=e.getAttribute($r);if(!e.hasAttribute($r)||pR.includes(i))return{pass:!1,message:()=>Se(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 a=So(e.ownerDocument.getElementById(o)?.textContent??"");return{pass:t===void 0?!!a:t instanceof RegExp?t.test(a):this.equals(a,t),message:()=>Se(this,this.utils.matcherHint(n,"element"),`Expected element ${r} have accessible error message`,t??"","Received",a)}}var mR=gR(wl.elementRoles);function Ua(e,t){ae(e,Ua,this);let r=hR(e);return{pass:r.some(n=>n===t),message:()=>{let n=this.isNot?"not to":"to";return Se(this,this.utils.matcherHint(`${this.isNot?".not":""}.${Ua.name}`,"element",""),`Expected element ${n} have role`,t,"Received",r.join(", "))}}}function hR(e){return e.hasAttribute("role")?e.getAttribute("role").split(" ").filter(Boolean):bR(e)}function bR(e){for(let{match:t,roles:r}of mR)if(t(e))return[...r];return[]}function gR(e){function t({name:a,attributes:l}){return`${a}${l.map(({name:u,value:c,constraints:s=[]})=>s.indexOf("undefined")!==-1?`:not([${u}])`:c?`[${u}="${c}"]`:`[${u}]`).join("")}`}function r({attributes:a=[]}){return a.length}function n({specificity:a},{specificity:l}){return l-a}function o(a){let{attributes:l=[]}=a,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({...a,attributes:l});return s=>u>=0&&s.type!=="text"?!1:s.matches(c)}let i=[];for(let[a,l]of e.entries())i=[...i,{match:o(a),roles:Array.from(l),specificity:r(a)}];return i.sort(n)}function Ha(e,t){ae(e,Ha,this);let r=ZC(e),n=arguments.length===1,o=!1;return n?o=r!=="":o=t instanceof RegExp?t.test(r):this.equals(r,t),{pass:o,message:()=>{let i=this.isNot?"not to":"to";return Se(this,this.utils.matcherHint(`${this.isNot?".not":""}.${Ha.name}`,"element",""),`Expected element ${i} have accessible name`,t,"Received",r)}}}function lu(e,t,r){return r===void 0?t:`${t}=${e(r)}`}function yR(e,t,r){return r===void 0?`element.hasAttribute(${e(t)})`:`element.getAttribute(${e(t)}) === ${e(r)}`}function sp(e,t,r){ae(e,sp,this);let n=r!==void 0,o=e.hasAttribute(t),i=e.getAttribute(t);return{pass:n?o&&this.equals(i,r):o,message:()=>{let a=this.isNot?"not to":"to",l=o?lu(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:yR(this.utils.stringify,t,r)});return Se(this,u,`Expected the element ${a} have attribute`,lu(this.utils.stringify,t,r),"Received",l)}}}function vR(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 su(e){return e?e.split(/\s+/).filter(t=>t.length>0):[]}function uu(e,t){return e.every(r=>typeof r=="string"?t.includes(r):t.some(n=>r.test(n)))}function up(e,...t){ae(e,up,this);let{expectedClassNames:r,options:n}=vR(t),o=su(e.getAttribute("class")),i=r.reduce((l,u)=>l.concat(typeof u=="string"||!u?su(u):u),[]),a=i.some(l=>l instanceof RegExp);if(n.exact&&a)throw new Error("Exact option does not support RegExp expected class names");return n.exact?{pass:uu(i,o)&&i.length===o.length,message:()=>{let l=this.isNot?"not to":"to";return Se(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",o.join(" "))}}:i.length>0?{pass:uu(i,o),message:()=>{let l=this.isNot?"not to":"to";return Se(this,this.utils.matcherHint(`${this.isNot?".not":""}.toHaveClass`,"element",this.utils.printExpected(i.join(" "))),`Expected the element ${l} have class`,i.join(" "),"Received",o.join(" "))}}:{pass:this.isNot?o.length>0:!1,message:()=>this.isNot?Se(this,this.utils.matcherHint(".not.toHaveClass","element",""),"Expected the element to have classes","(none)","Received",o.join(" ")):[this.utils.matcherHint(".toHaveClass","element"),"At least one expected class must be provided."].join(`
|
|
83
|
+
`)}}function _R(e,t){let r={},n=e.createElement("div");return Object.keys(t).forEach(o=>{n.style[o]=t[o],r[o]=n.style[o]}),r}function ER(e,t){return!!Object.keys(e).length&&Object.entries(e).every(([r,n])=>{let o=r.startsWith("--"),i=[r];return o||i.push(r.toLowerCase()),i.some(a=>t[a]===n||t.getPropertyValue(a)===n)})}function cu(e){return Object.keys(e).sort().map(t=>`${t}: ${e[t]};`).join(`
|
|
84
|
+
`)}function wR(e,t,r){let n=Array.from(r).filter(o=>t[o]!==void 0).reduce((o,i)=>Object.assign(o,{[i]:r.getPropertyValue(i)}),{});return e(cu(t),cu(n)).replace(`${eR.default.red("+ Received")}
|
|
85
|
+
`,"")}function za(e,t){ae(e,za,this);let r=typeof t=="object"?t:oR(t,za,this),{getComputedStyle:n}=e.ownerDocument.defaultView,o=_R(e.ownerDocument,r),i=n(e);return{pass:ER(o,i),message:()=>{let a=`${this.isNot?".not":""}.toHaveStyle`;return[this.utils.matcherHint(a,"element",""),wR(this.utils.diff,o,i)].join(`
|
|
86
|
+
|
|
87
|
+
`)}}}function cp(e){return ae(e,cp,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 CR(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 RR(e,t){let r=[...e.querySelectorAll(`[name="${(0,tR.default)(t)}"]`)];if(r.length!==0)switch(r.length){case 1:return ep(r[0]);default:return CR(r)}}function TR(e){return/\[\]$/.test(e)?e.slice(0,-2):e}function PR(e){return Array.from(e.elements).map(t=>t.name).reduce((t,r)=>({...t,[TR(r)]:RR(e,r)}),{})}function dp(e,t){if(ae(e,dp,this),!e.elements)throw new Error("toHaveFormValues must be called on a form or a fieldset");let r=PR(e);return{pass:Object.entries(t).every(([n,o])=>(0,Xf.default)(r[n],o,tp)),message:()=>{let n=this.isNot?"not to":"to",o=`${this.isNot?".not":""}.toHaveFormValues`,i=Object.keys(r).filter(a=>t.hasOwnProperty(a)).reduce((a,l)=>({...a,[l]:r[l]}),{});return[this.utils.matcherHint(o,"element",""),`Expected the element ${n} have form values`,this.utils.diff(t,i)].join(`
|
|
89
|
+
|
|
90
|
+
`)}}}function SR(e){let{getComputedStyle:t}=e.ownerDocument.defaultView,{display:r,visibility:n,opacity:o}=t(e);return r!=="none"&&n!=="hidden"&&n!=="collapse"&&o!=="0"&&o!==0}function OR(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 fp(e,t){return SR(e)&&OR(e,t)&&(!e.parentElement||fp(e.parentElement,e))}function pp(e){ae(e,pp,this);let t=e.ownerDocument===e.getRootNode({composed:!0}),r=t&&fp(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 AR=["fieldset","input","select","optgroup","option","button","textarea"];function qR(e,t){return Mt(e)==="legend"&&Mt(t)==="fieldset"&&e.isSameNode(Array.from(t.children).find(r=>Mt(r)==="legend"))}function xR(e,t){return hp(t)&&!qR(e,t)}function MR(e){return e.includes("-")}function mp(e){let t=Mt(e);return AR.includes(t)||MR(t)}function hp(e){return mp(e)&&e.hasAttribute("disabled")}function bp(e){let t=e.parentElement;return!!t&&(xR(e,t)||bp(t))}function gp(e){return mp(e)&&(hp(e)||bp(e))}function yp(e){ae(e,yp,this);let t=gp(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 vp(e){ae(e,vp,this);let t=!gp(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 $R=["select","textarea"],NR=["input","select","textarea"],jR=["color","hidden","range","submit","image","reset"],IR=["checkbox","combobox","gridcell","listbox","radiogroup","spinbutton","textbox","tree"];function LR(e){return $R.includes(Mt(e))&&e.hasAttribute("required")}function BR(e){return Mt(e)==="input"&&e.hasAttribute("required")&&(e.hasAttribute("type")&&!jR.includes(e.getAttribute("type"))||!e.hasAttribute("type"))}function DR(e){return e.hasAttribute("aria-required")&&e.getAttribute("aria-required")==="true"&&(NR.includes(Mt(e))||e.hasAttribute("role")&&IR.includes(e.getAttribute("role")))}function _p(e){ae(e,_p,this);let t=LR(e)||BR(e)||DR(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 kR=["form","input","select","textarea"];function FR(e){return e.hasAttribute("aria-invalid")&&e.getAttribute("aria-invalid")!=="false"}function UR(e){return kR.includes(Mt(e))}function Ep(e){let t=FR(e);return UR(e)?t||!e.checkValidity():t}function wp(e){ae(e,wp,this);let t=Ep(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 Cp(e){ae(e,Cp,this);let t=!Ep(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 Rp(e,t){if(ae(e,Rp,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=ep(e),n=t!==void 0,o=t,i=r;return t==r&&t!==r&&(o=`${t} (${typeof t})`,i=`${r} (${typeof r})`),{pass:n?(0,Xf.default)(r,t,tp):!!r,message:()=>{let a=this.isNot?"not to":"to",l=this.utils.matcherHint(`${this.isNot?".not":""}.toHaveValue`,"element",t);return Se(this,l,`Expected the element ${a} have value`,n?o:"(any)","Received",i)}}}function Tp(e,t){ae(e,Tp,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=HR(r,e),o=zR(t),i=o.filter(u=>n.some(c=>u instanceof RegExp?u.test(c):this.equals(c,String(u)))).length,a=i===n.length,l=i===o.length;return{pass:a&&l,message:()=>Se(this,this.utils.matcherHint(`${this.isNot?".not":""}.toHaveDisplayValue`,"element",""),`Expected element ${this.isNot?"not ":""}to have display value`,t,"Received",n)}}function HR(e,t){return e==="select"?Array.from(t).filter(r=>r.selected).map(r=>r.textContent):[t.value]}function zR(e){return e instanceof Array?e:[e]}function Pp(e){ae(e,Pp,this);let t=()=>e.tagName.toLowerCase()==="input"&&["checkbox","radio"].includes(e.type),r=()=>Sp(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 ${VR()} 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 o=n()?"is":"is not";return[this.utils.matcherHint(`${this.isNot?".not":""}.toBeChecked`,"element",""),"",`Received element ${o} checked:`,` ${this.utils.printReceived(e.cloneNode(!1))}`].join(`
|
|
97
|
+
`)}}}function VR(){return cR(GR().map(e=>`role="${e}"`),{lastWordConnector:" or "})}function GR(){return wl.roles.keys().filter(Sp)}function Sp(e){return wl.roles.get(e)?.props["aria-checked"]!==void 0}function Op(e){ae(e,Op,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 o=e.getAttribute("aria-checked")==="mixed";return t()&&e.indeterminate||o};return{pass:n(),message:()=>{let o=n()?"is":"is not";return[this.utils.matcherHint(`${this.isNot?".not":""}.toBePartiallyChecked`,"element",""),"",`Received element ${o} partially checked:`,` ${this.utils.printReceived(e.cloneNode(!1))}`].join(`
|
|
98
|
+
`)}}}function Ap(e,t){Po("toHaveDescription","Please use toHaveAccessibleDescription."),ae(e,Ap,this);let r=t!==void 0,n=(e.getAttribute("aria-describedby")||"").split(/\s+/).filter(Boolean),o="";if(n.length>0){let i=e.ownerDocument,a=n.map(l=>i.getElementById(l)).filter(Boolean);o=So(a.map(l=>l.textContent).join(" "))}return{pass:r?t instanceof RegExp?t.test(o):this.equals(o,t):!!o,message:()=>{let i=this.isNot?"not to":"to";return Se(this,this.utils.matcherHint(`${this.isNot?".not":""}.toHaveDescription`,"element",""),`Expected the element ${i} have description`,this.utils.printExpected(t),"Received",this.utils.printReceived(o))}}}function qp(e,t){if(Po("toHaveErrorMessage","Please use toHaveAccessibleErrorMessage."),ae(e,qp,this),!e.hasAttribute("aria-invalid")||e.getAttribute("aria-invalid")==="false"){let i=this.isNot?".not":"";return{pass:!1,message:()=>Se(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),o="";if(n.length>0){let i=e.ownerDocument,a=n.map(l=>i.getElementById(l)).filter(Boolean);o=So(a.map(l=>l.textContent).join(" "))}return{pass:r?t instanceof RegExp?t.test(o):this.equals(o,t):!!o,message:()=>{let i=this.isNot?"not to":"to";return Se(this,this.utils.matcherHint(`${this.isNot?".not":""}.toHaveErrorMessage`,"element",""),`Expected the element ${i} have error message`,this.utils.printExpected(t),"Received",this.utils.printReceived(o))}}}ke($d(),1);ke(Ni(),1);ke(jd(),1);ke(Gd(),1);ke(Wd(),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 Mn(e){return e!=null&&typeof e=="object"&&!Array.isArray(e)}function WR(e){return e===Object.prototype||e===Function.prototype||e===RegExp.prototype}function Va(e){return Object.prototype.toString.apply(e).slice(8,-1)}function KR(e,t){let r=typeof t=="function"?t:n=>t.add(n);Object.getOwnPropertyNames(e).forEach(r),Object.getOwnPropertySymbols(e).forEach(r)}function xp(e){let t=new Set;return WR(e)?[]:(KR(e,t),Array.from(t))}var Mp={forceWritable:!1};function du(e,t=Mp){return Ga(e,new WeakMap,t)}function Ga(e,t,r=Mp){let n,o;if(t.has(e))return t.get(e);if(Array.isArray(e)){for(o=Array(n=e.length),t.set(e,o);n--;)o[n]=Ga(e[n],t,r);return o}if(Object.prototype.toString.call(e)==="[object Object]"){o=Object.create(Object.getPrototypeOf(e)),t.set(e,o);let i=xp(e);for(let a of i){let l=Object.getOwnPropertyDescriptor(e,a);if(!l)continue;let u=Ga(e[a],t,r);r.forceWritable?Object.defineProperty(o,a,{enumerable:l.enumerable,configurable:!0,writable:!0,value:u}):"get"in l?Object.defineProperty(o,a,{...l,get(){return u}}):Object.defineProperty(o,a,{...l,value:u})}return o}return e}var fu={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"]},YR={special:"cyan",number:"yellow",bigint:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",symbol:"green",date:"magenta",regexp:"red"},gr="…";function JR(e,t){let r=fu[YR[t]]||fu[t]||"";return r?`\x1B[${r[0]}m${String(e)}\x1B[${r[1]}m`:String(e)}function XR({showHidden:e=!1,depth:t=2,colors:r=!1,customInspect:n=!0,showProxy:o=!1,maxArrayLength:i=1/0,breakLength:a=1/0,seen:l=[],truncate:u=1/0,stylize:c=String}={},s){let d={showHidden:!!e,depth:Number(t),colors:!!r,customInspect:!!n,showProxy:!!o,maxArrayLength:Number(i),breakLength:Number(a),truncate:Number(u),seen:l,inspect:s,stylize:c};return d.colors&&(d.stylize=JR),d}function QR(e){return e>="\uD800"&&e<="\uDBFF"}function Lt(e,t,r=gr){e=String(e);let n=r.length,o=e.length;if(n>t&&o>n)return r;if(o>t&&o>n){let i=t-n;return i>0&&QR(e[i-1])&&(i=i-1),`${e.slice(0,i)}${r}`}return e}function Ze(e,t,r,n=", "){r=r||t.inspect;let o=e.length;if(o===0)return"";let i=t.truncate,a="",l="",u="";for(let c=0;c<o;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-a.length-(s?0:n.length);let f=l||r(p,t)+(s?"":n),m=a.length+f.length,h=m+u.length;if(s&&m>i&&a.length+u.length<=i||!s&&!d&&h>i||(l=s?"":r(e[c+1],t)+(d?"":n),!s&&d&&h>i&&m+l.length>i))break;if(a+=f,!s&&!d&&m+l.length>=i){u=`${gr}(${e.length-c-1})`;break}u=""}return`${a}${u}`}function ZR(e){return e.match(/^[a-zA-Z_][a-zA-Z_0-9]*$/)?e:JSON.stringify(e).replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'")}function Qr([e,t],r){return r.truncate-=2,typeof e=="string"?e=ZR(e):typeof e!="number"&&(e=`[${r.inspect(e,r)}]`),r.truncate-=e.length,t=r.inspect(t,r),`${e}: ${t}`}function eT(e,t){let r=Object.keys(e).slice(e.length);if(!e.length&&!r.length)return"[]";t.truncate-=4;let n=Ze(e,t);t.truncate-=n.length;let o="";return r.length&&(o=Ze(r.map(i=>[i,e[i]]),t,Qr)),`[ ${n}${o?`, ${o}`:""} ]`}var tT=e=>typeof Buffer=="function"&&e instanceof Buffer?"Buffer":e[Symbol.toStringTag]?e[Symbol.toStringTag]:e.constructor.name;function ft(e,t){let r=tT(e);t.truncate-=r.length+4;let n=Object.keys(e).slice(e.length);if(!e.length&&!n.length)return`${r}[]`;let o="";for(let a=0;a<e.length;a++){let l=`${t.stylize(Lt(e[a],t.truncate),"number")}${a===e.length-1?"":", "}`;if(t.truncate-=l.length,e[a]!==e.length&&t.truncate<=3){o+=`${gr}(${e.length-e[a]+1})`;break}o+=l}let i="";return n.length&&(i=Ze(n.map(a=>[a,e[a]]),t,Qr)),`${r}[ ${o}${i?`, ${i}`:""} ]`}function rT(e,t){let r=e.toJSON();if(r===null)return"Invalid Date";let n=r.split("T"),o=n[0];return t.stylize(`${o}T${Lt(n[1],t.truncate-o.length-1)}`,"date")}function pu(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 nT([e,t],r){return r.truncate-=4,e=r.inspect(e,r),r.truncate-=e.length,t=r.inspect(t,r),`${e} => ${t}`}function oT(e){let t=[];return e.forEach((r,n)=>{t.push([n,r])}),t}function aT(e,t){return e.size-1<=0?"Map{}":(t.truncate-=7,`Map{ ${Ze(oT(e),t,nT)} }`)}var iT=Number.isNaN||(e=>e!==e);function mu(e,t){return iT(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 hu(e,t){let r=Lt(e.toString(),t.truncate-1);return r!==gr&&(r+="n"),t.stylize(r,"bigint")}function lT(e,t){let r=e.toString().split("/")[2],n=t.truncate-(2+r.length),o=e.source;return t.stylize(`/${Lt(o,n)}/${r}`,"regexp")}function sT(e){let t=[];return e.forEach(r=>{t.push(r)}),t}function uT(e,t){return e.size===0?"Set{}":(t.truncate-=7,`Set{ ${Ze(sT(e),t)} }`)}var bu=new RegExp("['\\u0000-\\u001f\\u007f-\\u009f\\u00ad\\u0600-\\u0604\\u070f\\u17b4\\u17b5\\u200c-\\u200f\\u2028-\\u202f\\u2060-\\u206f\\ufeff\\ufff0-\\uffff]","g"),cT={"\b":"\\b"," ":"\\t","\n":"\\n","\f":"\\f","\r":"\\r","'":"\\'","\\":"\\\\"},dT=16,fT=4;function pT(e){return cT[e]||`\\u${`0000${e.charCodeAt(0).toString(dT)}`.slice(-fT)}`}function gu(e,t){return bu.test(e)&&(e=e.replace(bu,pT)),t.stylize(`'${Lt(e,t.truncate-2)}'`,"string")}function yu(e){return"description"in Symbol.prototype?e.description?`Symbol(${e.description})`:"Symbol()":e.toString()}var $p=()=>"Promise{…}";try{let{getPromiseDetails:e,kPending:t,kRejected:r}=process.binding("util");Array.isArray(e(Promise.resolve()))&&($p=(n,o)=>{let[i,a]=e(n);return i===t?"Promise{<pending>}":`Promise${i===r?"!":""}{${o.inspect(a,o)}}`})}catch{}var mT=$p;function $n(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 o=Ze(r.map(l=>[l,e[l]]),t,Qr),i=Ze(n.map(l=>[l,e[l]]),t,Qr);t.seen.pop();let a="";return o&&i&&(a=", "),`{ ${o}${a}${i} }`}var Xo=typeof Symbol<"u"&&Symbol.toStringTag?Symbol.toStringTag:!1;function hT(e,t){let r="";return Xo&&Xo in e&&(r=e[Xo]),r=r||e.constructor.name,(!r||r==="_class")&&(r="<Anonymous Class>"),t.truncate-=r.length,`${r}${$n(e,t)}`}function bT(e,t){return e.length===0?"Arguments[]":(t.truncate-=13,`Arguments[ ${Ze(e,t)} ]`)}var gT=["stack","line","column","name","message","fileName","lineNumber","columnNumber","number","description"];function yT(e,t){let r=Object.getOwnPropertyNames(e).filter(a=>gT.indexOf(a)===-1),n=e.name;t.truncate-=n.length;let o="";typeof e.message=="string"?o=Lt(e.message,t.truncate):r.unshift("message"),o=o?`: ${o}`:"",t.truncate-=o.length+5;let i=Ze(r.map(a=>[a,e[a]]),t,Qr);return`${n}${o}${i?` { ${i} }`:""}`}function vT([e,t],r){return r.truncate-=3,t?`${r.stylize(String(e),"yellow")}=${r.stylize(`"${t}"`,"string")}`:`${r.stylize(String(e),"yellow")}`}function Wa(e,t){return Ze(e,t,Np,`
|
|
99
|
+
`)}function Np(e,t){let r=e.getAttributeNames(),n=e.tagName.toLowerCase(),o=t.stylize(`<${n}`,"special"),i=t.stylize(">","special"),a=t.stylize(`</${n}>`,"special");t.truncate-=n.length*2+5;let l="";r.length>0&&(l+=" ",l+=Ze(r.map(s=>[s,e.getAttribute(s)]),t,vT," ")),t.truncate-=l.length;let u=t.truncate,c=Wa(e.children,t);return c&&c.length>u&&(c=`${gr}(${e.children.length})`),`${o}${l}${i}${c}${a}`}var _T=typeof Symbol=="function"&&typeof Symbol.for=="function",Qo=_T?Symbol.for("chai/inspect"):"@@chai/inspect",ar=!1;try{let e=f_("util");ar=e.inspect?e.inspect.custom:!1}catch{ar=!1}var vu=new WeakMap,_u={},Eu={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:mu,Number:mu,bigint:hu,BigInt:hu,string:gu,String:gu,function:pu,Function:pu,symbol:yu,Symbol:yu,Array:eT,Date:rT,Map:aT,Set:uT,RegExp:lT,Promise:mT,WeakSet:(e,t)=>t.stylize("WeakSet{…}","special"),WeakMap:(e,t)=>t.stylize("WeakMap{…}","special"),Arguments:bT,Int8Array:ft,Uint8Array:ft,Uint8ClampedArray:ft,Int16Array:ft,Uint16Array:ft,Int32Array:ft,Uint32Array:ft,Float32Array:ft,Float64Array:ft,Generator:()=>"",DataView:()=>"",ArrayBuffer:()=>"",Error:yT,HTMLCollection:Wa,NodeList:Wa},ET=(e,t,r)=>Qo in e&&typeof e[Qo]=="function"?e[Qo](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&&vu.has(e.constructor)?vu.get(e.constructor)(e,t):_u[r]?_u[r](e,t):"",wT=Object.prototype.toString;function Ka(e,t={}){let r=XR(t,Ka),{customInspect:n}=r,o=e===null?"null":typeof e;if(o==="object"&&(o=wT.call(e).slice(8,-1)),o in Eu)return Eu[o](e,r);if(n&&e){let a=ET(e,r,o);if(a)return typeof a=="string"?a:Ka(a,r)}let i=e?Object.getPrototypeOf(e):!1;return i===Object.prototype||i===null?$n(e,r):e&&typeof HTMLElement=="function"&&e instanceof HTMLElement?Np(e,r):"constructor"in e?e.constructor!==Object?hT(e,r):$n(e,r):e===Object(e)?$n(e,r):r.stylize(String(e),o)}var CT={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]},RT=Object.entries(CT);function Cl(e){return String(e)}Cl.open="";Cl.close="";function TT(e=!1){let t=typeof process<"u"?process:void 0,r=t?.env||{},n=t?.argv||[];return!("NO_COLOR"in r||n.includes("--no-color"))&&("FORCE_COLOR"in r||n.includes("--color")||t?.platform==="win32"||e&&r.TERM!=="dumb"||"CI"in r)||typeof window<"u"&&!!window.chrome}function PT(e=!1){let t=TT(e),r=(a,l,u,c)=>{let s="",d=0;do s+=a.substring(d,c)+u,d=c+l.length,c=a.indexOf(l,d);while(~c);return s+a.substring(d)},n=(a,l,u=a)=>{let c=s=>{let d=String(s),p=d.indexOf(l,a.length);return~p?a+r(d,l,u,p)+l:a+d+l};return c.open=a,c.close=l,c},o={isColorSupported:t},i=a=>`\x1B[${a}m`;for(let[a,l]of RT)o[a]=t?n(i(l[0]),i(l[1]),l[2]):Cl;return o}var me=PT(!1);function ST(e,t){let r=Object.keys(e),n=t===null?r:r.sort(t);if(Object.getOwnPropertySymbols)for(let o of Object.getOwnPropertySymbols(e))Object.getOwnPropertyDescriptor(e,o).enumerable&&n.push(o);return n}function Oo(e,t,r,n,o,i,a=": "){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,o),p=i(c.value[1],t,s,n,o);l+=d+a+p,c=e.next(),c.done?t.min||(l+=","):l+=`,${t.spacingInner}`}l+=t.spacingOuter+r}return l}function Rl(e,t,r,n,o,i){let a="",l=0,u=e.next();if(!u.done){a+=t.spacingOuter;let c=r+t.indent;for(;!u.done;){if(a+=c,l++===t.maxWidth){a+="…";break}a+=i(u.value,t,c,n,o),u=e.next(),u.done?t.min||(a+=","):a+=`,${t.spacingInner}`}a+=t.spacingOuter+r}return a}function Wn(e,t,r,n,o,i){let a="";e=e instanceof ArrayBuffer?new DataView(e):e;let l=c=>c instanceof DataView,u=l(e)?e.byteLength:e.length;if(u>0){a+=t.spacingOuter;let c=r+t.indent;for(let s=0;s<u;s++){if(a+=c,s===t.maxWidth){a+="…";break}(l(e)||s in e)&&(a+=i(l(e)?e.getInt8(s):e[s],t,c,n,o)),s<u-1?a+=`,${t.spacingInner}`:t.min||(a+=",")}a+=t.spacingOuter+r}return a}function Tl(e,t,r,n,o,i){let a="",l=ST(e,t.compareKeys);if(l.length>0){a+=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,o),p=i(e[s],t,u,n,o);a+=`${u+d}: ${p}`,c<l.length-1?a+=`,${t.spacingInner}`:t.min||(a+=",")}a+=t.spacingOuter+r}return a}var OT=typeof Symbol=="function"&&Symbol.for?Symbol.for("jest.asymmetricMatcher"):1267621,Zo=" ",AT=(e,t,r,n,o,i)=>{let a=e.toString();if(a==="ArrayContaining"||a==="ArrayNotContaining")return++n>t.maxDepth?`[${a}]`:`${a+Zo}[${Wn(e.sample,t,r,n,o,i)}]`;if(a==="ObjectContaining"||a==="ObjectNotContaining")return++n>t.maxDepth?`[${a}]`:`${a+Zo}{${Tl(e.sample,t,r,n,o,i)}}`;if(a==="StringMatching"||a==="StringNotMatching"||a==="StringContaining"||a==="StringNotContaining")return a+Zo+i(e.sample,t,r,n,o);if(typeof e.toAsymmetricMatcher!="function")throw new TypeError(`Asymmetric matcher ${e.constructor.name} does not implement toAsymmetricMatcher()`);return e.toAsymmetricMatcher()},qT=e=>e&&e.$$typeof===OT,xT={serialize:AT,test:qT},MT=" ",jp=new Set(["DOMStringMap","NamedNodeMap"]),$T=/^(?:HTML\w*Collection|NodeList)$/;function NT(e){return jp.has(e)||$T.test(e)}var jT=e=>e&&e.constructor&&!!e.constructor.name&&NT(e.constructor.name);function IT(e){return e.constructor.name==="NamedNodeMap"}var LT=(e,t,r,n,o,i)=>{let a=e.constructor.name;return++n>t.maxDepth?`[${a}]`:(t.min?"":a+MT)+(jp.has(a)?`{${Tl(IT(e)?[...e].reduce((l,u)=>(l[u.name]=u.value,l),{}):{...e},t,r,n,o,i)}}`:`[${Wn([...e],t,r,n,o,i)}]`)},BT={serialize:LT,test:jT};function Ip(e){return e.replaceAll("<","<").replaceAll(">",">")}function Pl(e,t,r,n,o,i,a){let l=n+r.indent,u=r.colors;return e.map(c=>{let s=t[c],d=a(s,r,l,o,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 Sl(e,t,r,n,o,i){return e.map(a=>t.spacingOuter+r+(typeof a=="string"?Lp(a,t):i(a,t,r,n,o))).join("")}function Lp(e,t){let r=t.colors.content;return r.open+Ip(e)+r.close}function DT(e,t){let r=t.colors.comment;return`${r.open}<!--${Ip(e)}-->${r.close}`}function Ol(e,t,r,n,o){let i=n.colors.tag;return`${i.open}<${e}${t&&i.close+t+n.spacingOuter+o+i.open}${r?`>${i.close}${r}${n.spacingOuter}${o}${i.open}</${e}`:`${t&&!n.min?"":" "}/`}>${i.close}`}function Al(e,t){let r=t.colors.tag;return`${r.open}<${e}${r.close} …${r.open} />${r.close}`}var kT=1,Bp=3,Dp=8,kp=11,FT=/^(?:(?:HTML|SVG)\w*)?Element$/;function UT(e){try{return typeof e.hasAttribute=="function"&&e.hasAttribute("is")}catch{return!1}}function HT(e){let t=e.constructor.name,{nodeType:r,tagName:n}=e,o=typeof n=="string"&&n.includes("-")||UT(e);return r===kT&&(FT.test(t)||o)||r===Bp&&t==="Text"||r===Dp&&t==="Comment"||r===kp&&t==="DocumentFragment"}var zT=e=>{var t;return((t=e?.constructor)==null?void 0:t.name)&&HT(e)};function VT(e){return e.nodeType===Bp}function GT(e){return e.nodeType===Dp}function ea(e){return e.nodeType===kp}var WT=(e,t,r,n,o,i)=>{if(VT(e))return Lp(e.data,t);if(GT(e))return DT(e.data,t);let a=ea(e)?"DocumentFragment":e.tagName.toLowerCase();return++n>t.maxDepth?Al(a,t):Ol(a,Pl(ea(e)?[]:Array.from(e.attributes,l=>l.name).sort(),ea(e)?{}:[...e.attributes].reduce((l,u)=>(l[u.name]=u.value,l),{}),t,r+t.indent,n,o,i),Sl(Array.prototype.slice.call(e.childNodes||e.children),t,r+t.indent,n,o,i),t,r)},KT={serialize:WT,test:zT},YT="@@__IMMUTABLE_ITERABLE__@@",JT="@@__IMMUTABLE_LIST__@@",XT="@@__IMMUTABLE_KEYED__@@",QT="@@__IMMUTABLE_MAP__@@",wu="@@__IMMUTABLE_ORDERED__@@",ZT="@@__IMMUTABLE_RECORD__@@",eP="@@__IMMUTABLE_SEQ__@@",tP="@@__IMMUTABLE_SET__@@",rP="@@__IMMUTABLE_STACK__@@",yr=e=>`Immutable.${e}`,Ao=e=>`[${e}]`,Zr=" ",Cu="…";function nP(e,t,r,n,o,i,a){return++n>t.maxDepth?Ao(yr(a)):`${yr(a)+Zr}{${Oo(e.entries(),t,r,n,o,i)}}`}function oP(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 aP(e,t,r,n,o,i){let a=yr(e._name||"Record");return++n>t.maxDepth?Ao(a):`${a+Zr}{${Oo(oP(e),t,r,n,o,i)}}`}function iP(e,t,r,n,o,i){let a=yr("Seq");return++n>t.maxDepth?Ao(a):e[XT]?`${a+Zr}{${e._iter||e._object?Oo(e.entries(),t,r,n,o,i):Cu}}`:`${a+Zr}[${e._iter||e._array||e._collection||e._iterable?Rl(e.values(),t,r,n,o,i):Cu}]`}function ta(e,t,r,n,o,i,a){return++n>t.maxDepth?Ao(yr(a)):`${yr(a)+Zr}[${Rl(e.values(),t,r,n,o,i)}]`}var lP=(e,t,r,n,o,i)=>e[QT]?nP(e,t,r,n,o,i,e[wu]?"OrderedMap":"Map"):e[JT]?ta(e,t,r,n,o,i,"List"):e[tP]?ta(e,t,r,n,o,i,e[wu]?"OrderedSet":"Set"):e[rP]?ta(e,t,r,n,o,i,"Stack"):e[eP]?iP(e,t,r,n,o,i):aP(e,t,r,n,o,i),sP=e=>e&&(e[YT]===!0||e[ZT]===!0),uP={serialize:lP,test:sP},Fp={exports:{}},ne={},Ru;function cP(){return Ru||(Ru=1,function(){var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),i=Symbol.for("react.provider"),a=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"),m=!1,h=!1,y=!1,b=!1,g=!1,T;T=Symbol.for("react.module.reference");function C(M){return!!(typeof M=="string"||typeof M=="function"||M===r||M===o||g||M===n||M===c||M===s||b||M===f||m||h||y||typeof M=="object"&&M!==null&&(M.$$typeof===p||M.$$typeof===d||M.$$typeof===i||M.$$typeof===a||M.$$typeof===u||M.$$typeof===T||M.getModuleId!==void 0))}function E(M){if(typeof M=="object"&&M!==null){var ie=M.$$typeof;switch(ie){case e:var le=M.type;switch(le){case r:case o:case n:case c:case s:return le;default:var ge=le&&le.$$typeof;switch(ge){case l:case a:case u:case p:case d:case i:return ge;default:return ie}}case t:return ie}}}var w=a,_=i,v=e,O=u,$=r,N=p,L=d,j=t,I=o,H=n,V=c,J=s,W=!1,ve=!1;function Ie(M){return W||(W=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")),!1}function Le(M){return ve||(ve=!0,console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")),!1}function F(M){return E(M)===a}function B(M){return E(M)===i}function k(M){return typeof M=="object"&&M!==null&&M.$$typeof===e}function G(M){return E(M)===u}function Z(M){return E(M)===r}function ue(M){return E(M)===p}function _e(M){return E(M)===d}function lt(M){return E(M)===t}function q(M){return E(M)===o}function z(M){return E(M)===n}function D(M){return E(M)===c}function X(M){return E(M)===s}ne.ContextConsumer=w,ne.ContextProvider=_,ne.Element=v,ne.ForwardRef=O,ne.Fragment=$,ne.Lazy=N,ne.Memo=L,ne.Portal=j,ne.Profiler=I,ne.StrictMode=H,ne.Suspense=V,ne.SuspenseList=J,ne.isAsyncMode=Ie,ne.isConcurrentMode=Le,ne.isContextConsumer=F,ne.isContextProvider=B,ne.isElement=k,ne.isForwardRef=G,ne.isFragment=Z,ne.isLazy=ue,ne.isMemo=_e,ne.isPortal=lt,ne.isProfiler=q,ne.isStrictMode=z,ne.isSuspense=D,ne.isSuspenseList=X,ne.isValidElementType=C,ne.typeOf=E}()),ne}Fp.exports=cP();var Ft=Fp.exports;function Up(e,t=[]){if(Array.isArray(e))for(let r of e)Up(r,t);else e!=null&&e!==!1&&e!==""&&t.push(e);return t}function Tu(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 dP(e){let{props:t}=e;return Object.keys(t).filter(r=>r!=="children"&&t[r]!==void 0).sort()}var fP=(e,t,r,n,o,i)=>++n>t.maxDepth?Al(Tu(e),t):Ol(Tu(e),Pl(dP(e),e.props,t,r+t.indent,n,o,i),Sl(Up(e.props.children),t,r+t.indent,n,o,i),t,r),pP=e=>e!=null&&Ft.isElement(e),mP={serialize:fP,test:pP},hP=typeof Symbol=="function"&&Symbol.for?Symbol.for("react.test.json"):245830487;function bP(e){let{props:t}=e;return t?Object.keys(t).filter(r=>t[r]!==void 0).sort():[]}var gP=(e,t,r,n,o,i)=>++n>t.maxDepth?Al(e.type,t):Ol(e.type,e.props?Pl(bP(e),e.props,t,r+t.indent,n,o,i):"",e.children?Sl(e.children,t,r+t.indent,n,o,i):"",t,r),yP=e=>e&&e.$$typeof===hP,vP={serialize:gP,test:yP},Hp=Object.prototype.toString,_P=Date.prototype.toISOString,EP=Error.prototype.toString,Pu=RegExp.prototype.toString;function ra(e){return typeof e.constructor=="function"&&e.constructor.name||"Object"}function wP(e){return typeof window<"u"&&e===window}var CP=/^Symbol\((.*)\)(.*)$/,RP=/\n/g,zp=class extends Error{constructor(e,t){super(e),this.stack=t,this.name=this.constructor.name}};function TP(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 PP(e){return Object.is(e,-0)?"-0":String(e)}function SP(e){return`${e}n`}function Su(e,t){return t?`[Function ${e.name||"anonymous"}]`:"[Function]"}function Ou(e){return String(e).replace(CP,"Symbol($1)")}function Au(e){return`[${EP.call(e)}]`}function Vp(e,t,r,n){if(e===!0||e===!1)return`${e}`;if(e===void 0)return"undefined";if(e===null)return"null";let o=typeof e;if(o==="number")return PP(e);if(o==="bigint")return SP(e);if(o==="string")return n?`"${e.replaceAll(/"|\\/g,"\\$&")}"`:`"${e}"`;if(o==="function")return Su(e,t);if(o==="symbol")return Ou(e);let i=Hp.call(e);return i==="[object WeakMap]"?"WeakMap {}":i==="[object WeakSet]"?"WeakSet {}":i==="[object Function]"||i==="[object GeneratorFunction]"?Su(e,t):i==="[object Symbol]"?Ou(e):i==="[object Date]"?Number.isNaN(+e)?"Date { NaN }":_P.call(e):i==="[object Error]"?Au(e):i==="[object RegExp]"?r?Pu.call(e).replaceAll(/[$()*+.?[\\\]^{|}]/g,"\\$&"):Pu.call(e):e instanceof Error?Au(e):null}function Gp(e,t,r,n,o,i){if(o.includes(e))return"[Circular]";o=[...o],o.push(e);let a=++n>t.maxDepth,l=t.min;if(t.callToJSON&&!a&&e.toJSON&&typeof e.toJSON=="function"&&!i)return At(e.toJSON(),t,r,n,o,!0);let u=Hp.call(e);return u==="[object Arguments]"?a?"[Arguments]":`${l?"":"Arguments "}[${Wn(e,t,r,n,o,At)}]`:TP(u)?a?`[${e.constructor.name}]`:`${l||!t.printBasicPrototype&&e.constructor.name==="Array"?"":`${e.constructor.name} `}[${Wn(e,t,r,n,o,At)}]`:u==="[object Map]"?a?"[Map]":`Map {${Oo(e.entries(),t,r,n,o,At," => ")}}`:u==="[object Set]"?a?"[Set]":`Set {${Rl(e.values(),t,r,n,o,At)}}`:a||wP(e)?`[${ra(e)}]`:`${l||!t.printBasicPrototype&&ra(e)==="Object"?"":`${ra(e)} `}{${Tl(e,t,r,n,o,At)}}`}function OP(e){return e.serialize!=null}function Wp(e,t,r,n,o,i){let a;try{a=OP(e)?e.serialize(t,r,n,o,i,At):e.print(t,l=>At(l,r,n,o,i),l=>{let u=n+r.indent;return u+l.replaceAll(RP,`
|
|
101
|
+
${u}`)},{edgeSpacing:r.spacingOuter,min:r.min,spacing:r.spacingInner},r.colors)}catch(l){throw new zp(l.message,l.stack)}if(typeof a!="string")throw new TypeError(`pretty-format: Plugin must return type "string" but instead returned "${typeof a}".`);return a}function Kp(e,t){for(let r of e)try{if(r.test(t))return r}catch(n){throw new zp(n.message,n.stack)}return null}function At(e,t,r,n,o,i){let a=Kp(t.plugins,e);if(a!==null)return Wp(a,e,t,r,n,o);let l=Vp(e,t.printFunctionName,t.escapeRegex,t.escapeString);return l!==null?l:Gp(e,t,r,n,o,i)}var ql={comment:"gray",content:"reset",prop:"yellow",tag:"cyan",value:"green"},Yp=Object.keys(ql),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:ql};function AP(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 qP(){return Yp.reduce((e,t)=>{let r=ql[t],n=r&&me[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 xP(){return Yp.reduce((e,t)=>(e[t]={close:"",open:""},e),Object.create(null))}function Jp(e){return e?.printFunctionName??We.printFunctionName}function Xp(e){return e?.escapeRegex??We.escapeRegex}function Qp(e){return e?.escapeString??We.escapeString}function qu(e){return{callToJSON:e?.callToJSON??We.callToJSON,colors:e?.highlight?qP():xP(),compareKeys:typeof e?.compareKeys=="function"||e?.compareKeys===null?e.compareKeys:We.compareKeys,escapeRegex:Xp(e),escapeString:Qp(e),indent:e?.min?"":MP(e?.indent??We.indent),maxDepth:e?.maxDepth??We.maxDepth,maxWidth:e?.maxWidth??We.maxWidth,min:e?.min??We.min,plugins:e?.plugins??We.plugins,printBasicPrototype:e?.printBasicPrototype??!0,printFunctionName:Jp(e),spacingInner:e?.min?" ":`
|
|
102
|
+
`,spacingOuter:e?.min?"":`
|
|
103
|
+
`}}function MP(e){return Array.from({length:e+1}).join(" ")}function nt(e,t){if(t&&(AP(t),t.plugins)){let n=Kp(t.plugins,e);if(n!==null)return Wp(n,e,qu(t),"",0,[])}let r=Vp(e,Jp(t),Xp(t),Qp(t));return r!==null?r:Gp(e,qu(t),"",0,[])}var Zp={AsymmetricMatcher:xT,DOMCollection:BT,DOMElement:KT,Immutable:uP,ReactElement:mP,ReactTestComponent:vP},{AsymmetricMatcher:$P,DOMCollection:NP,DOMElement:jP,Immutable:IP,ReactElement:LP,ReactTestComponent:BP}=Zp,xu=[BP,LP,jP,NP,IP,$P];function Ve(e,t=10,{maxLength:r,...n}={}){let o=r??1e4,i;try{i=nt(e,{maxDepth:t,escapeString:!1,plugins:xu,...n})}catch{i=nt(e,{callToJSON:!1,maxDepth:t,escapeString:!1,plugins:xu,...n})}return i.length>=o&&t>1?Ve(e,Math.floor(t/2)):i}var DP=/%[sdjifoOc%]/g;function kP(...e){if(typeof e[0]!="string"){let i=[];for(let a=0;a<e.length;a++)i.push(Nr(e[a],{depth:0,colors:!1}));return i.join(" ")}let t=e.length,r=1,n=e[0],o=String(n).replace(DP,i=>{if(i==="%%")return"%";if(r>=t)return i;switch(i){case"%s":{let a=e[r++];return typeof a=="bigint"?`${a.toString()}n`:typeof a=="number"&&a===0&&1/a<0?"-0":typeof a=="object"&&a!==null?Nr(a,{depth:0,colors:!1}):String(a)}case"%d":{let a=e[r++];return typeof a=="bigint"?`${a.toString()}n`:Number(a).toString()}case"%i":{let a=e[r++];return typeof a=="bigint"?`${a.toString()}n`:Number.parseInt(String(a)).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(a){let l=a.message;if(l.includes("circular structure")||l.includes("cyclic structures")||l.includes("cyclic object"))return"[Circular]";throw a}default:return i}});for(let i=e[r];r<t;i=e[++r])i===null||typeof i!="object"?o+=` ${i}`:o+=` ${Nr(i)}`;return o}function Nr(e,t={}){return t.truncate===0&&(t.truncate=Number.POSITIVE_INFINITY),Ka(e,t)}var em;em=/\r?\n|[\r\u2028\u2029]/y;RegExp(em.source);var tm={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(tm.keyword);new Set(tm.strict);function Mu(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,Ce=1,be=0,pe=class{0;1;constructor(e,t){this[0]=e,this[1]=t}},FP=function(e,t){if(!e||!t||e.charAt(0)!==t.charAt(0))return 0;let r=0,n=Math.min(e.length,t.length),o=n,i=0;for(;r<o;)e.substring(i,o)===t.substring(i,o)?(r=o,i=r):n=o,o=Math.floor((n-r)/2+r);return o},rm=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),o=n,i=0;for(;r<o;)e.substring(e.length-o,e.length-i)===t.substring(t.length-o,t.length-i)?(r=o,i=r):n=o,o=Math.floor((n-r)/2+r);return o},$u=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 o=Math.min(r,n);if(e===t)return o;let i=0,a=1;for(;;){let l=e.substring(o-a),u=t.indexOf(l);if(u===-1)return i;a+=u,(u===0||e.substring(o-a)===t.substring(0,a))&&(i=a,a++)}},UP=function(e){let t=!1,r=[],n=0,o=null,i=0,a=0,l=0,u=0,c=0;for(;i<e.length;)e[i][0]===be?(r[n++]=i,a=u,l=c,u=0,c=0,o=e[i][1]):(e[i][0]===Ce?u+=e[i][1].length:c+=e[i][1].length,o&&o.length<=Math.max(a,l)&&o.length<=Math.max(u,c)&&(e.splice(r[n-1],0,new pe(Oe,o)),e[r[n-1]+1][0]=Ce,n--,n--,i=n>0?r[n-1]:-1,a=0,l=0,u=0,c=0,o=null,t=!0)),i++;for(t&&nm(e),VP(e),i=1;i<e.length;){if(e[i-1][0]===Oe&&e[i][0]===Ce){let s=e[i-1][1],d=e[i][1],p=$u(s,d),f=$u(d,s);p>=f?(p>=s.length/2||p>=d.length/2)&&(e.splice(i,0,new pe(be,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 pe(be,s.substring(0,f))),e[i-1][0]=Ce,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++}},Nu=/[^a-z0-9]/i,ju=/\s/,Iu=/[\r\n]/,HP=/\n\r?\n$/,zP=/^\r?\n\r?\n/;function VP(e){function t(n,o){if(!n||!o)return 6;let i=n.charAt(n.length-1),a=o.charAt(0),l=i.match(Nu),u=a.match(Nu),c=l&&i.match(ju),s=u&&a.match(ju),d=c&&i.match(Iu),p=s&&a.match(Iu),f=d&&n.match(HP),m=p&&o.match(zP);return f||m?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]===be&&e[r+1][0]===be){let n=e[r-1][1],o=e[r][1],i=e[r+1][1],a=rm(n,o);if(a){let d=o.substring(o.length-a);n=n.substring(0,n.length-a),o=d+o.substring(0,o.length-a),i=d+i}let l=n,u=o,c=i,s=t(n,o)+t(o,i);for(;o.charAt(0)===i.charAt(0);){n+=o.charAt(0),o=o.substring(1)+i.charAt(0),i=i.substring(1);let d=t(n,o)+t(o,i);d>=s&&(s=d,l=n,u=o,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 nm(e){e.push(new pe(be,""));let t=0,r=0,n=0,o="",i="",a;for(;t<e.length;)switch(e[t][0]){case Ce:n++,i+=e[t][1],t++;break;case Oe:r++,o+=e[t][1],t++;break;case be:r+n>1?(r!==0&&n!==0&&(a=FP(i,o),a!==0&&(t-r-n>0&&e[t-r-n-1][0]===be?e[t-r-n-1][1]+=i.substring(0,a):(e.splice(0,0,new pe(be,i.substring(0,a))),t++),i=i.substring(a),o=o.substring(a)),a=rm(i,o),a!==0&&(e[t][1]=i.substring(i.length-a)+e[t][1],i=i.substring(0,i.length-a),o=o.substring(0,o.length-a))),t-=r+n,e.splice(t,r+n),o.length&&(e.splice(t,0,new pe(Oe,o)),t++),i.length&&(e.splice(t,0,new pe(Ce,i)),t++),t++):t!==0&&e[t-1][0]===be?(e[t-1][1]+=e[t][1],e.splice(t,1)):t++,n=0,r=0,o="",i="";break}e[e.length-1][1]===""&&e.pop();let l=!1;for(t=1;t<e.length-1;)e[t-1][0]===be&&e[t+1][0]===be&&(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&&nm(e)}var om="Compared values have no visual difference.",GP="Compared values serialize to the same structure.\nPrinting internal object structure without calling `toJSON` instead.",am={};Object.defineProperty(am,"__esModule",{value:!0});var im=am.default=JP,Ur="diff-sequences",Te=0,en=(e,t,r,n,o)=>{let i=0;for(;e<t&&r<n&&o(e,r);)e+=1,r+=1,i+=1;return i},tn=(e,t,r,n,o)=>{let i=0;for(;e<=t&&r<=n&&o(t,n);)t-=1,n-=1,i+=1;return i},na=(e,t,r,n,o,i,a)=>{let l=0,u=-e,c=i[l],s=c;i[l]+=en(c+1,t,n+c-u+1,r,o);let d=e<a?e:a;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+en(c+1,t,n+c-u+1,r,o)}return a},Lu=(e,t,r,n,o,i,a)=>{let l=0,u=e,c=i[l],s=c;i[l]-=tn(t,c-1,r,n+c-u-1,o);let d=e<a?e:a;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-tn(t,c-1,r,n+c-u-1,o)}return a},WP=(e,t,r,n,o,i,a,l,u,c,s)=>{let d=n-t,p=r-t,f=o-n-p,m=-f-(e-1),h=-f+(e-1),y=Te,b=e<l?e:l;for(let g=0,T=-e;g<=b;g+=1,T+=2){let C=g===0||g!==e&&y<a[g],E=C?a[g]:y,w=C?E:E+1,_=d+w-T,v=en(w+1,r,_+1,o,i),O=w+v;if(y=a[g],a[g]=O,m<=T&&T<=h){let $=(e-1-(T+f))/2;if($<=c&&u[$]-1<=O){let N=d+E-(C?T+1:T-1),L=tn(t,E,n,N,i),j=E-L,I=N-L,H=j+1,V=I+1;s.nChangePreceding=e-1,e-1===H+V-t-n?(s.aEndPreceding=t,s.bEndPreceding=n):(s.aEndPreceding=H,s.bEndPreceding=V),s.nCommonPreceding=L,L!==0&&(s.aCommonPreceding=H,s.bCommonPreceding=V),s.nCommonFollowing=v,v!==0&&(s.aCommonFollowing=w+1,s.bCommonFollowing=_+1);let J=O+1,W=_+v+1;return s.nChangeFollowing=e-1,e-1===r+o-J-W?(s.aStartFollowing=r,s.bStartFollowing=o):(s.aStartFollowing=J,s.bStartFollowing=W),!0}}}return!1},KP=(e,t,r,n,o,i,a,l,u,c,s)=>{let d=o-r,p=r-t,f=o-n-p,m=f-e,h=f+e,y=Te,b=e<c?e:c;for(let g=0,T=e;g<=b;g+=1,T-=2){let C=g===0||g!==e&&u[g]<y,E=C?u[g]:y,w=C?E:E-1,_=d+w-T,v=tn(t,w-1,n,_-1,i),O=w-v;if(y=u[g],u[g]=O,m<=T&&T<=h){let $=(e+(T-f))/2;if($<=l&&O-1<=a[$]){let N=_-v;if(s.nChangePreceding=e,e===O+N-t-n?(s.aEndPreceding=t,s.bEndPreceding=n):(s.aEndPreceding=O,s.bEndPreceding=N),s.nCommonPreceding=v,v!==0&&(s.aCommonPreceding=O,s.bCommonPreceding=N),s.nChangeFollowing=e-1,e===1)s.nCommonFollowing=0,s.aStartFollowing=r,s.bStartFollowing=o;else{let L=d+E-(C?T-1:T+1),j=en(E,r,L,o,i);s.nCommonFollowing=j,j!==0&&(s.aCommonFollowing=E,s.bCommonFollowing=L);let I=E+j,H=L+j;e-1===r+o-I-H?(s.aStartFollowing=r,s.bStartFollowing=o):(s.aStartFollowing=I,s.bStartFollowing=H)}return!0}}}return!1},YP=(e,t,r,n,o,i,a,l,u)=>{let c=n-t,s=o-r,d=r-t,p=o-n,f=p-d,m=d,h=d;if(a[0]=t-1,l[0]=r,f%2===0){let y=(e||f)/2,b=(d+p)/2;for(let g=1;g<=b;g+=1)if(m=na(g,r,o,c,i,a,m),g<y)h=Lu(g,t,n,s,i,l,h);else if(KP(g,t,r,n,o,i,a,m,l,h,u))return}else{let y=((e||f)+1)/2,b=(d+p+1)/2,g=1;for(m=na(g,r,o,c,i,a,m),g+=1;g<=b;g+=1)if(h=Lu(g-1,t,n,s,i,l,h),g<y)m=na(g,r,o,c,i,a,m);else if(WP(g,t,r,n,o,i,a,m,l,h,u))return}throw new Error(`${Ur}: no overlap aStart=${t} aEnd=${r} bStart=${n} bEnd=${o}`)},Ya=(e,t,r,n,o,i,a,l,u,c)=>{if(o-n<r-t){if(i=!i,i&&a.length===1){let{foundSubsequence:$,isCommon:N}=a[0];a[1]={foundSubsequence:(L,j,I)=>{$(L,I,j)},isCommon:(L,j)=>N(j,L)}}let v=t,O=r;t=n,r=o,n=v,o=O}let{foundSubsequence:s,isCommon:d}=a[i?1:0];YP(e,t,r,n,o,d,l,u,c);let{nChangePreceding:p,aEndPreceding:f,bEndPreceding:m,nCommonPreceding:h,aCommonPreceding:y,bCommonPreceding:b,nCommonFollowing:g,aCommonFollowing:T,bCommonFollowing:C,nChangeFollowing:E,aStartFollowing:w,bStartFollowing:_}=c;t<f&&n<m&&Ya(p,t,f,n,m,i,a,l,u,c),h!==0&&s(h,y,b),g!==0&&s(g,T,C),w<r&&_<o&&Ya(E,w,r,_,o,i,a,l,u,c)},Bu=(e,t)=>{if(typeof t!="number")throw new TypeError(`${Ur}: ${e} typeof ${typeof t} is not a number`);if(!Number.isSafeInteger(t))throw new RangeError(`${Ur}: ${e} value ${t} is not a safe integer`);if(t<0)throw new RangeError(`${Ur}: ${e} value ${t} is a negative integer`)},Du=(e,t)=>{let r=typeof t;if(r!=="function")throw new TypeError(`${Ur}: ${e} typeof ${r} is not a function`)};function JP(e,t,r,n){Bu("aLength",e),Bu("bLength",t),Du("isCommon",r),Du("foundSubsequence",n);let o=en(0,e,0,t,r);if(o!==0&&n(o,0,0),e!==o||t!==o){let i=o,a=o,l=tn(i,e-1,a,t-1,r),u=e-l,c=t-l,s=o+l;e!==s&&t!==s&&Ya(0,i,u,a,c,!1,[{foundSubsequence:n,isCommon:r}],[Te],[Te],{aCommonFollowing:Te,aCommonPreceding:Te,aEndPreceding:Te,aStartFollowing:Te,bCommonFollowing:Te,bCommonPreceding:Te,bEndPreceding:Te,bStartFollowing:Te,nChangeFollowing:Te,nChangePreceding:Te,nCommonFollowing:Te,nCommonPreceding:Te}),l!==0&&n(l,u,c)}}function XP(e,t){return e.replace(/\s+$/,r=>t(r))}function xl(e,t,r,n,o,i){return e.length!==0?r(`${n} ${XP(e,o)}`):n!==" "?r(n):t&&i.length!==0?r(`${n} ${i}`):""}function lm(e,t,{aColor:r,aIndicator:n,changeLineTrailingSpaceColor:o,emptyFirstOrLastLinePlaceholder:i}){return xl(e,t,r,n,o,i)}function sm(e,t,{bColor:r,bIndicator:n,changeLineTrailingSpaceColor:o,emptyFirstOrLastLinePlaceholder:i}){return xl(e,t,r,n,o,i)}function um(e,t,{commonColor:r,commonIndicator:n,commonLineTrailingSpaceColor:o,emptyFirstOrLastLinePlaceholder:i}){return xl(e,t,r,n,o,i)}function ku(e,t,r,n,{patchColor:o}){return o(`@@ -${e+1},${t-e} +${r+1},${n-r} @@`)}function QP(e,t){let r=e.length,n=t.contextLines,o=n+n,i=r,a=!1,l=0,u=0;for(;u!==r;){let C=u;for(;u!==r&&e[u][0]===be;)u+=1;if(C!==u)if(C===0)u>n&&(i-=u-n,a=!0);else if(u===r){let E=u-C;E>n&&(i-=E-n,a=!0)}else{let E=u-C;E>o&&(i-=E-o,l+=1)}for(;u!==r&&e[u][0]!==be;)u+=1}let c=l!==0||a;l!==0?i+=l+1:a&&(i+=1);let s=i-1,d=[],p=0;c&&d.push("");let f=0,m=0,h=0,y=0,b=C=>{let E=d.length;d.push(um(C,E===0||E===s,t)),h+=1,y+=1},g=C=>{let E=d.length;d.push(lm(C,E===0||E===s,t)),h+=1},T=C=>{let E=d.length;d.push(sm(C,E===0||E===s,t)),y+=1};for(u=0;u!==r;){let C=u;for(;u!==r&&e[u][0]===be;)u+=1;if(C!==u)if(C===0){u>n&&(C=u-n,f=C,m=C,h=f,y=m);for(let E=C;E!==u;E+=1)b(e[E][1])}else if(u===r){let E=u-C>n?C+n:u;for(let w=C;w!==E;w+=1)b(e[w][1])}else{let E=u-C;if(E>o){let w=C+n;for(let v=C;v!==w;v+=1)b(e[v][1]);d[p]=ku(f,h,m,y,t),p=d.length,d.push("");let _=E-o;f=h+_,m=y+_,h=f,y=m;for(let v=u-n;v!==u;v+=1)b(e[v][1])}else for(let w=C;w!==u;w+=1)b(e[w][1])}for(;u!==r&&e[u][0]===Oe;)g(e[u][1]),u+=1;for(;u!==r&&e[u][0]===Ce;)T(e[u][1]),u+=1}return c&&(d[p]=ku(f,h,m,y,t)),d.join(`
|
|
104
|
+
`)}function ZP(e,t){return e.map((r,n,o)=>{let i=r[1],a=n===0||n===o.length-1;switch(r[0]){case Oe:return lm(i,a,t);case Ce:return sm(i,a,t);default:return um(i,a,t)}}).join(`
|
|
105
|
+
`)}var oa=e=>e,cm=5,eS=0;function tS(){return{aAnnotation:"Expected",aColor:me.green,aIndicator:"-",bAnnotation:"Received",bColor:me.red,bIndicator:"+",changeColor:me.inverse,changeLineTrailingSpaceColor:oa,commonColor:me.dim,commonIndicator:" ",commonLineTrailingSpaceColor:oa,compareKeys:void 0,contextLines:cm,emptyFirstOrLastLinePlaceholder:"",expand:!0,includeChangeCounts:!1,omitAnnotationLines:!1,patchColor:me.yellow,truncateThreshold:eS,truncateAnnotation:"... Diff result is truncated",truncateAnnotationColor:oa}}function rS(e){return e&&typeof e=="function"?e:void 0}function nS(e){return typeof e=="number"&&Number.isSafeInteger(e)&&e>=0?e:cm}function Jt(e={}){return{...tS(),...e,compareKeys:rS(e.compareKeys),contextLines:nS(e.contextLines)}}function ir(e){return e.length===1&&e[0].length===0}function oS(e){let t=0,r=0;return e.forEach(n=>{switch(n[0]){case Oe:t+=1;break;case Ce:r+=1;break}}),{a:t,b:r}}function aS({aAnnotation:e,aColor:t,aIndicator:r,bAnnotation:n,bColor:o,bIndicator:i,includeChangeCounts:a,omitAnnotationLines:l},u){if(l)return"";let c="",s="";if(a){let f=String(u.a),m=String(u.b),h=n.length-e.length,y=" ".repeat(Math.max(0,h)),b=" ".repeat(Math.max(0,-h)),g=m.length-f.length,T=" ".repeat(Math.max(0,g)),C=" ".repeat(Math.max(0,-g));c=`${y} ${r} ${T}${f}`,s=`${b} ${i} ${C}${m}`}let d=`${r} ${e}${c}`,p=`${i} ${n}${s}`;return`${t(d)}
|
|
106
|
+
${o(p)}
|
|
107
|
+
|
|
108
|
+
`}function Ml(e,t,r){return aS(r,oS(e))+(r.expand?ZP(e,r):QP(e,r))+(t?r.truncateAnnotationColor(`
|
|
109
|
+
${r.truncateAnnotation}`):"")}function qo(e,t,r){let n=Jt(r),[o,i]=dm(ir(e)?[]:e,ir(t)?[]:t,n);return Ml(o,i,n)}function iS(e,t,r,n,o){if(ir(e)&&ir(r)&&(e=[],r=[]),ir(t)&&ir(n)&&(t=[],n=[]),e.length!==r.length||t.length!==n.length)return qo(e,t,o);let[i,a]=dm(r,n,o),l=0,u=0;return i.forEach(c=>{switch(c[0]){case Oe:c[1]=e[l],l+=1;break;case Ce:c[1]=t[u],u+=1;break;default:c[1]=t[u],l+=1,u+=1}}),Ml(i,a,Jt(o))}function dm(e,t,r){let n=r?.truncateThreshold??!1,o=Math.max(Math.floor(r?.truncateThreshold??0),0),i=n?Math.min(e.length,o):e.length,a=n?Math.min(t.length,o):t.length,l=i!==e.length||a!==t.length,u=(p,f)=>e[p]===t[f],c=[],s=0,d=0;for(im(i,a,u,(p,f,m)=>{for(;s!==f;s+=1)c.push(new pe(Oe,e[s]));for(;d!==m;d+=1)c.push(new pe(Ce,t[d]));for(;p!==0;p-=1,s+=1,d+=1)c.push(new pe(be,t[d]))});s!==i;s+=1)c.push(new pe(Oe,e[s]));for(;d!==a;d+=1)c.push(new pe(Ce,t[d]));return[c,l]}function Fu(e){return e.includes(`\r
|
|
110
|
+
`)?`\r
|
|
111
|
+
`:`
|
|
112
|
+
`}function lS(e,t,r){let n=r?.truncateThreshold??!1,o=Math.max(Math.floor(r?.truncateThreshold??0),0),i=e.length,a=t.length;if(n){let p=e.includes(`
|
|
113
|
+
`),f=t.includes(`
|
|
114
|
+
`),m=Fu(e),h=Fu(t),y=p?`${e.split(m,o).join(m)}
|
|
115
|
+
`:e,b=f?`${t.split(h,o).join(h)}
|
|
116
|
+
`:t;i=y.length,a=b.length}let l=i!==e.length||a!==t.length,u=(p,f)=>e[p]===t[f],c=0,s=0,d=[];return im(i,a,u,(p,f,m)=>{c!==f&&d.push(new pe(Oe,e.slice(c,f))),s!==m&&d.push(new pe(Ce,t.slice(s,m))),c=f+p,s=m+p,d.push(new pe(be,t.slice(m,s)))}),c!==i&&d.push(new pe(Oe,e.slice(c))),s!==a&&d.push(new pe(Ce,t.slice(s))),[d,l]}function sS(e,t,r){return t.reduce((n,o)=>n+(o[0]===be?o[1]:o[0]===e&&o[1].length!==0?r(o[1]):""),"")}var Uu=class{op;line;lines;changeColor;constructor(e,t){this.op=e,this.line=[],this.lines=[],this.changeColor=t}pushSubstring(e){this.pushDiff(new pe(this.op,e))}pushLine(){this.lines.push(this.line.length!==1?new pe(this.op,sS(this.op,this.line,this.changeColor)):this.line[0][0]===this.op?this.line[0]:new pe(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((o,i)=>{i<n?(this.pushSubstring(o),this.pushLine()):o.length!==0&&this.pushSubstring(o)})}else this.pushDiff(e)}moveLinesTo(e){this.isLineEmpty()||this.pushLine(),e.push(...this.lines),this.lines.length=0}},uS=class{deleteBuffer;insertBuffer;lines;constructor(e,t){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
|
+
`),o=n.length-1;n.forEach((i,a)=>{if(a===0){let l=new pe(t,i);this.deleteBuffer.isLineEmpty()&&this.insertBuffer.isLineEmpty()?(this.flushChangeLines(),this.pushDiffCommonLine(l)):(this.pushDiffChangeLines(l),this.flushChangeLines())}else a<o?this.pushDiffCommonLine(new pe(t,i)):i.length!==0&&this.pushDiffChangeLines(new pe(t,i))})}else this.pushDiffChangeLines(e)}getLines(){return this.flushChangeLines(),this.lines}};function cS(e,t){let r=new Uu(Oe,t),n=new Uu(Ce,t),o=new uS(r,n);return e.forEach(i=>{switch(i[0]){case Oe:r.align(i);break;case Ce:n.align(i);break;default:o.align(i)}}),o.getLines()}function dS(e,t){if(t){let r=e.length-1;return e.some((n,o)=>n[0]===be&&(o!==r||n[1]!==`
|
|
121
|
+
`))}return e.some(r=>r[0]===be)}function fS(e,t,r){if(e!==t&&e.length!==0&&t.length!==0){let n=e.includes(`
|
|
122
|
+
`)||t.includes(`
|
|
123
|
+
`),[o,i]=fm(n?`${e}
|
|
124
|
+
`:e,n?`${t}
|
|
125
|
+
`:t,!0,r);if(dS(o,n)){let a=Jt(r),l=cS(o,a.changeColor);return Ml(l,i,a)}}return qo(e.split(`
|
|
126
|
+
`),t.split(`
|
|
127
|
+
`),r)}function fm(e,t,r,n){let[o,i]=lS(e,t,n);return UP(o),[o,i]}function Ja(e,t){let{commonColor:r}=Jt(t);return r(e)}var{AsymmetricMatcher:pS,DOMCollection:mS,DOMElement:hS,Immutable:bS,ReactElement:gS,ReactTestComponent:yS}=Zp,pm=[yS,gS,hS,mS,bS,pS],Xa={plugins:pm},mm={callToJSON:!1,maxDepth:10,plugins:pm};function vr(e,t,r){if(Object.is(e,t))return"";let n=Mu(e),o=n,i=!1;if(n==="object"&&typeof e.asymmetricMatch=="function"){if(e.$$typeof!==Symbol.for("jest.asymmetricMatcher")||typeof e.getExpectedType!="function")return;o=e.getExpectedType(),i=o==="string"}if(o!==Mu(t)){let{aAnnotation:a,aColor:l,aIndicator:u,bAnnotation:c,bColor:s,bIndicator:d}=Jt(r),p=Qa(mm,r),f=nt(e,p),m=nt(t,p),h=`${l(`${u} ${a}:`)}
|
|
128
|
+
${f}`,y=`${s(`${d} ${c}:`)}
|
|
129
|
+
${m}`;return`${h}
|
|
130
|
+
|
|
131
|
+
${y}`}if(!i)switch(n){case"string":return qo(e.split(`
|
|
132
|
+
`),t.split(`
|
|
133
|
+
`),r);case"boolean":case"number":return vS(e,t,r);case"map":return aa(Hu(e),Hu(t),r);case"set":return aa(zu(e),zu(t),r);default:return aa(e,t,r)}}function vS(e,t,r){let n=nt(e,Xa),o=nt(t,Xa);return n===o?"":qo(n.split(`
|
|
134
|
+
`),o.split(`
|
|
135
|
+
`),r)}function Hu(e){return new Map(Array.from(e.entries()).sort())}function zu(e){return new Set(Array.from(e.values()).sort())}function aa(e,t,r){let n,o=!1;try{let a=Qa(Xa,r);n=Vu(e,t,a,r)}catch{o=!0}let i=Ja(om,r);if(n===void 0||n===i){let a=Qa(mm,r);n=Vu(e,t,a,r),n!==i&&!o&&(n=`${Ja(GP,r)}
|
|
136
|
+
|
|
137
|
+
${n}`)}return n}function Qa(e,t){let{compareKeys:r}=Jt(t);return{...e,compareKeys:r}}function Vu(e,t,r,n){let o={...r,indent:0},i=nt(e,o),a=nt(t,o);if(i===a)return Ja(om,n);{let l=nt(e,r),u=nt(t,r);return iS(l.split(`
|
|
138
|
+
`),u.split(`
|
|
139
|
+
`),i.split(`
|
|
140
|
+
`),a.split(`
|
|
141
|
+
`),n)}}var Gu=2e4;function Wu(e){return Va(e)==="Object"&&typeof e.asymmetricMatch=="function"}function Ku(e,t){let r=Va(e),n=Va(t);return r===n&&(r==="Object"||r==="Array")}function hm(e,t,r){let{aAnnotation:n,bAnnotation:o}=Jt(r);if(typeof e=="string"&&typeof t=="string"&&e.length>0&&t.length>0&&e.length<=Gu&&t.length<=Gu&&e!==t){if(e.includes(`
|
|
142
|
+
`)||t.includes(`
|
|
143
|
+
`))return fS(t,e,r);let[c]=fm(t,e),s=c.some(m=>m[0]===be),d=_S(n,o),p=d(n)+CS(Yu(c,Oe,s)),f=d(o)+wS(Yu(c,Ce,s));return`${p}
|
|
144
|
+
${f}`}let i=du(e,{forceWritable:!0}),a=du(t,{forceWritable:!0}),{replacedExpected:l,replacedActual:u}=bm(i,a);return vr(l,u,r)}function bm(e,t,r=new WeakSet,n=new WeakSet){return Ku(e,t)?r.has(e)||n.has(t)?{replacedActual:e,replacedExpected:t}:(r.add(e),n.add(t),xp(t).forEach(o=>{let i=t[o],a=e[o];if(Wu(i))i.asymmetricMatch(a)&&(e[o]=i);else if(Wu(a))a.asymmetricMatch(i)&&(t[o]=a);else if(Ku(a,i)){let l=bm(a,i,r,n);e[o]=l.replacedActual,t[o]=l.replacedExpected}}),{replacedActual:e,replacedExpected:t}):{replacedActual:e,replacedExpected:t}}function _S(...e){let t=e.reduce((r,n)=>n.length>r?n.length:r,0);return r=>`${r}: ${" ".repeat(t-r.length)}`}var ES="·";function gm(e){return e.replace(/\s+$/gm,t=>ES.repeat(t.length))}function wS(e){return me.red(gm(Ve(e)))}function CS(e){return me.green(gm(Ve(e)))}function Yu(e,t,r){return e.reduce((n,o)=>n+(o[0]===be?o[1]:o[0]===t?r?me.inverse(o[1]):o[1]:""),"")}function Nn(e,t){if(!e)throw new Error(t)}function lr(e,t){return typeof t===e}function RS(e){return e instanceof Promise}function Za(e,t,r){Object.defineProperty(e,t,r)}function cr(e,t,r){Object.defineProperty(e,t,{value:r})}var Hr=Symbol.for("tinyspy:spy"),TS=new Set,PS=e=>{e.called=!1,e.callCount=0,e.calls=[],e.results=[],e.resolves=[],e.next=[]},SS=e=>(Za(e,Hr,{value:{reset:()=>PS(e[Hr])}}),e[Hr]),Kn=e=>e[Hr]||SS(e);function OS(e){Nn(lr("function",e)||lr("undefined",e),"cannot spy on a non-function value");let t=function(...n){let o=Kn(t);o.called=!0,o.callCount++,o.calls.push(n);let i=o.next.shift();if(i){o.results.push(i);let[s,d]=i;if(s==="ok")return d;throw d}let a,l="ok",u=o.results.length;if(o.impl)try{new.target?a=Reflect.construct(o.impl,n,new.target):a=o.impl.apply(this,n),l="ok"}catch(s){throw a=s,l="error",o.results.push([l,s]),s}let c=[l,a];return RS(a)&&a.then(s=>o.resolves[u]=["ok",s],s=>o.resolves[u]=["error",s]),o.results.push(c),a};cr(t,"_isMockFunction",!0),cr(t,"length",e?e.length:0),cr(t,"name",e&&e.name||"spy");let r=Kn(t);return r.reset(),r.impl=e,t}var Ju=(e,t)=>Object.getOwnPropertyDescriptor(e,t),Xu=(e,t)=>{t!=null&&typeof t=="function"&&t.prototype!=null&&Object.setPrototypeOf(e.prototype,t.prototype)};function AS(e,t,r){Nn(!lr("undefined",e),"spyOn could not find an object to spy upon"),Nn(lr("object",e)||lr("function",e),"cannot spyOn on a primitive value");let[n,o]=(()=>{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=Ju(e,n),a=Object.getPrototypeOf(e),l=a&&Ju(a,n),u=i||l;Nn(u||n in e,`${String(n)} does not exist`);let c=!1;o==="value"&&u&&!u.value&&u.get&&(o="get",c=!0,r=u.get());let s;u?s=u[o]:o!=="value"?s=()=>e[n]:s=e[n],r||(r=s);let d=OS(r);o==="value"&&Xu(d,s);let p=h=>{let{value:y,...b}=u||{configurable:!0,writable:!0};o!=="value"&&delete b.writable,b[o]=h,Za(e,n,b)},f=()=>u?Za(e,n,u):p(s),m=d[Hr];return cr(m,"restore",f),cr(m,"getOriginal",()=>c?s():s),cr(m,"willCall",h=>(m.impl=h,d)),p(c?()=>(Xu(d,r),d):d),TS.add(d),d}var xo=new Set;function ym(e){return typeof e=="function"&&"_isMockFunction"in e&&e._isMockFunction}var qS=0;function xS(e){let t=e,r,n=[],o=[],i=[],a=Kn(e),l={get calls(){return a.calls},get contexts(){return o},get instances(){return n},get invocationCallOrder(){return i},get results(){return a.results.map(([f,m])=>({type:f==="error"?"throw":"return",value:m}))},get settledResults(){return a.resolves.map(([f,m])=>({type:f==="error"?"rejected":"fulfilled",value:m}))},get lastCall(){return a.calls[a.calls.length-1]}},u=[],c=!1;function s(...f){return n.push(this),o.push(this),i.push(++qS),(c?r:u.shift()||r||a.getOriginal()||(()=>{})).apply(this,f)}let d=t.name;t.getMockName=()=>d||"vi.fn()",t.mockName=f=>(d=f,t),t.mockClear=()=>(a.reset(),n=[],o=[],i=[],t),t.mockReset=()=>(t.mockClear(),r=()=>{},u=[],t),t.mockRestore=()=>(t.mockReset(),a.restore(),r=void 0,t),t.getMockImplementation=()=>r,t.mockImplementation=f=>(r=f,a.willCall(s),t),t.mockImplementationOnce=f=>(u.push(f),t);function p(f,m){let h=r;r=f,a.willCall(s),c=!0;let y=()=>{r=h,c=!1},b=m();return b instanceof Promise?b.then(()=>(y(),t)):(y(),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}),a.willCall(s),xo.add(t),t}function Qu(e){let t=xS(AS({spy:e||function(){}},"spy"));return e&&t.mockImplementation(e),t}var MS="@@__IMMUTABLE_RECORD__@@",$S="@@__IMMUTABLE_ITERABLE__@@";function NS(e){return e&&(e[$S]||e[MS])}var jS=Object.getPrototypeOf({});function Zu(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(NS(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()} ${kP(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,o)=>{try{r[o]=sr(n,t)}catch(i){r[o]=Zu(i)}}),r}else{let r=Object.create(null);t.set(e,r);let n=e;for(;n&&n!==jS;)Object.getOwnPropertyNames(n).forEach(o=>{if(!(o in r))try{r[o]=sr(e[o],t)}catch(i){delete r[o],r[o]=Zu(i)}}),n=Object.getPrototypeOf(n);return r}}function IS(e){return e.replace(/__(vite_ssr_import|vi_import)_\d+__\./g,"")}function vm(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=hm(n.actual,n.expected,{...t,...n.diffOptions})),typeof n.expected!="string"&&(n.expected=Ve(n.expected,10)),typeof n.actual!="string"&&(n.actual=Ve(n.actual,10));try{typeof n.message=="string"&&(n.message=IS(n.message))}catch{}try{!r.has(n)&&typeof n.cause=="object"&&(r.add(n),n.cause=vm(n.cause,t,r))}catch{}try{return sr(n)}catch(o){return sr(new Error(`Failed to fully serialize error: ${o?.message}
|
|
145
|
+
Inner error message: ${n?.message}`))}}var rn=Symbol.for("matchers-object"),nn=Symbol.for("$$jest-matchers-object-storybook"),$l=Symbol.for("expect-global"),ei=Symbol.for("asymmetric-matchers-object");if(!Object.prototype.hasOwnProperty.call(globalThis,rn)){let e=new WeakMap;Object.defineProperty(globalThis,rn,{get:()=>e})}if(!Object.prototype.hasOwnProperty.call(globalThis,nn)){let e=Object.create(null),t=[];Object.defineProperty(globalThis,nn,{configurable:!0,get:()=>({state:globalThis[rn].get(globalThis[$l]),matchers:e,customEqualityTesters:t})})}if(!Object.prototype.hasOwnProperty.call(globalThis,ei)){let e=Object.create(null);Object.defineProperty(globalThis,ei,{get:()=>e})}function Yn(e){return globalThis[rn].get(e)}function ia(e,t){let r=globalThis[rn],n=r.get(t)||{};Object.assign(n,e),r.set(t,n)}var Jn=me.green,Nl=me.red,LS=me.inverse,BS=me.bold,St=me.dim;function DS(e,t="received",r="expected",n={}){let{comment:o="",isDirectExpectCall:i=!1,isNot:a=!1,promise:l="",secondArgument:u="",expectedColor:c=Jn,receivedColor:s=Nl,secondArgumentColor:d=Jn}=n,p="",f="expect";return!i&&t!==""&&(p+=St(`${f}(`)+s(t),f=")"),l!==""&&(p+=St(`${f}.`)+l,f=""),a&&(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=")"),o!==""&&(f+=` // ${o}`),f!==""&&(p+=St(f)),p}var kS="·";function _m(e){return e.replace(/\s+$/gm,t=>kS.repeat(t.length))}function FS(e){return Nl(_m(Ve(e)))}function US(e){return Jn(_m(Ve(e)))}function Em(){return{EXPECTED_COLOR:Jn,RECEIVED_COLOR:Nl,INVERTED_COLOR:LS,BOLD_WEIGHT:BS,DIM_COLOR:St,diff:vr,matcherHint:DS,printReceived:FS,printExpected:US,printDiffOrStringify:hm}}function jl(){return globalThis[nn].customEqualityTesters}function te(e,t,r,n){return r=r||[],wm(e,t,[],[],r,n?Cm:zS)}function ec(e){return!!e&&typeof e=="object"&&"asymmetricMatch"in e&&Je("Function",e.asymmetricMatch)}function HS(e,t){let r=ec(e),n=ec(t);if(!(r&&n)){if(r)return e.asymmetricMatch(t);if(n)return t.asymmetricMatch(e)}}function wm(e,t,r,n,o,i){let a=!0,l=HS(e,t);if(l!==void 0)return l;let u={equals:te};for(let m=0;m<o.length;m++){let h=o[m].call(u,e,t,o);if(h!==void 0)return h}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 m=+e,h=+t;return m===h||Number.isNaN(m)&&Number.isNaN(h)}case"[object RegExp]":return e.source===t.source&&e.flags===t.flags}if(typeof e!="object"||typeof t!="object")return!1;if(rc(e)&&rc(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=tc(e,i),p,f=d.length;if(tc(t,i).length!==f)return!1;for(;f--;)if(p=d[f],a=i(t,p)&&wm(e[p],t[p],r,n,o,i),!a)return!1;return r.pop(),n.pop(),a}function tc(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 zS(e,t){return Cm(e,t)&&e[t]!==void 0}function Cm(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function Je(e,t){return Object.prototype.toString.apply(t)===`[object ${e}]`}function rc(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 Rm="@@__IMMUTABLE_KEYED__@@",Tm="@@__IMMUTABLE_SET__@@",VS="@@__IMMUTABLE_LIST__@@",Mo="@@__IMMUTABLE_ORDERED__@@",GS="@@__IMMUTABLE_RECORD__@@";function WS(e){return!!(e&&e[Rm]&&!e[Mo])}function KS(e){return!!(e&&e[Tm]&&!e[Mo])}function $o(e){return e!=null&&typeof e=="object"&&!Array.isArray(e)}function YS(e){return!!(e&&$o(e)&&e[VS])}function JS(e){return!!(e&&$o(e)&&e[Rm]&&e[Mo])}function XS(e){return!!(e&&$o(e)&&e[Tm]&&e[Mo])}function QS(e){return!!(e&&$o(e)&&e[GS])}var Pm=Symbol.iterator;function nc(e){return!!(e!=null&&e[Pm])}function De(e,t,r=[],n=[],o=[]){if(typeof e!="object"||typeof t!="object"||Array.isArray(e)||Array.isArray(t)||!nc(e)||!nc(t))return;if(e.constructor!==t.constructor)return!1;let i=n.length;for(;i--;)if(n[i]===e)return o[i]===t;n.push(e),o.push(t);let a=[...r.filter(c=>c!==De),l];function l(c,s){return De(c,s,[...r],[...n],[...o])}if(e.size!==void 0){if(e.size!==t.size)return!1;if(Je("Set",e)||KS(e)){let c=!0;for(let s of e)if(!t.has(s)){let d=!1;for(let p of t)te(s,p,a)===!0&&(d=!0);if(d===!1){c=!1;break}}return n.pop(),o.pop(),c}else if(Je("Map",e)||WS(e)){let c=!0;for(let s of e)if(!t.has(s[0])||!te(s[1],t.get(s[0]),a)){let d=!1;for(let p of t){let f=te(s[0],p[0],a),m=!1;f===!0&&(m=te(s[1],p[1],a)),m===!0&&(d=!0)}if(d===!1){c=!1;break}}return n.pop(),o.pop(),c}}let u=t[Pm]();for(let c of e){let s=u.next();if(s.done||!te(c,s.value,a))return!1}if(!u.next().done)return!1;if(!YS(e)&&!JS(e)&&!XS(e)&&!QS(e)){let c=Object.entries(e),s=Object.entries(t);if(!te(c,s))return!1}return n.pop(),o.pop(),!0}function Il(e,t){return!e||typeof e!="object"||e===Object.prototype?!1:Object.prototype.hasOwnProperty.call(e,t)||Il(Object.getPrototypeOf(e),t)}function ZS(e){return Mn(e)&&!(e instanceof Error)&&!Array.isArray(e)&&!(e instanceof Date)}function vn(e,t,r=[]){let n=r.filter(i=>i!==vn),o=(i=new WeakMap)=>(a,l)=>{if(ZS(l))return Object.keys(l).every(u=>{if(l[u]!=null&&typeof l[u]=="object"){if(i.has(l[u]))return te(a[u],l[u],n);i.set(l[u],!0)}let c=a!=null&&Il(a,u)&&te(a[u],l[u],[...n,o(i)]);return i.delete(l[u]),c})};return o()(e,t)}function oc(e,t){if(!(e==null||t==null||e.constructor===t.constructor))return!1}function ac(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 o=0;o<r.byteLength;o++)if(r.getUint8(o)!==n.getUint8(o))return!1;return!0}function ti(e,t,r=[]){if(!Array.isArray(e)||!Array.isArray(t))return;let n=Object.keys(e),o=Object.keys(t),i=r.filter(a=>a!==ti);return te(e,t,i,!0)&&te(n,o)}function eO(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 tO(e,t){return`${t} ${e}${t===1?"":"s"}`}function la(e){return[...Object.keys(e),...Object.getOwnPropertySymbols(e).filter(t=>{var r;return(r=Object.getOwnPropertyDescriptor(e,t))==null?void 0:r.enumerable})]}function rO(e,t,r=[]){let n=0,o=(i=new WeakMap)=>(a,l)=>{if(Array.isArray(a)){if(Array.isArray(l)&&l.length===a.length)return l.map((u,c)=>o(i)(a[c],u))}else{if(a instanceof Date)return a;if(Mn(a)&&Mn(l)){if(te(a,l,[...r,De,vn]))return l;let u={};i.set(a,u);for(let c of la(a))Il(l,c)?u[c]=i.has(a[c])?i.get(a[c]):o(i)(a[c],l[c]):i.has(a[c])||(n+=1,Mn(a[c])&&(n+=la(a[c]).length),o(i)(a[c],l[c]));if(la(u).length>0)return u}}return a};return{subset:o()(e,t),stripped:n}}var Bt=class{constructor(e,t=!1){this.sample=e,this.inverse=t}$$typeof=Symbol.for("jest.asymmetricMatcher");getMatcherContext(e){return{...Yn(e||globalThis[$l]),equals:te,isNot:this.inverse,customTesters:jl(),utils:{...Em(),diff:vr,stringify:Ve,iterableEquality:De,subsetEquality:vn}}}[Symbol.for("chai/inspect")](e){let t=Ve(this,e.depth,{min:!0});return t.length<=e.truncate?t:`${this.toString()}{…}`}},ic=class extends Bt{constructor(e,t=!1){if(!Je("String",e))throw new Error("Expected is not a string");super(e,t)}asymmetricMatch(e){let t=Je("String",e)&&e.includes(this.sample);return this.inverse?!t:t}toString(){return`String${this.inverse?"Not":""}Containing`}getExpectedType(){return"string"}},nO=class extends Bt{asymmetricMatch(e){return e!=null}toString(){return"Anything"}toAsymmetricMatcher(){return"Anything"}},lc=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"}},sc=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(o=>te(n,o,t.customTesters)));return this.inverse?!r:r}toString(){return`Array${this.inverse?"Not":""}Containing`}getExpectedType(){return"array"}},oO=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)}>`}},uc=class extends Bt{constructor(e,t=!1){if(!Je("String",e)&&!Je("RegExp",e))throw new Error("Expected is not a String or a RegExp");super(new RegExp(e),t)}asymmetricMatch(e){let t=Je("String",e)&&this.sample.test(e);return this.inverse?!t:t}toString(){return`String${this.inverse?"Not":""}Matching`}getExpectedType(){return"string"}},cc=class extends Bt{precision;constructor(e,t=2,r=!1){if(!Je("Number",e))throw new Error("Expected is not a Number");if(!Je("Number",t))throw new Error("Precision is not a Number");super(e),this.inverse=r,this.precision=t}asymmetricMatch(e){if(!Je("Number",e))return!1;let t=!1;return e===Number.POSITIVE_INFINITY&&this.sample===Number.POSITIVE_INFINITY||e===Number.NEGATIVE_INFINITY&&this.sample===Number.NEGATIVE_INFINITY?t=!0:t=Math.abs(this.sample-e)<10**-this.precision/2,this.inverse?!t:t}toString(){return`Number${this.inverse?"Not":""}CloseTo`}getExpectedType(){return"number"}toAsymmetricMatcher(){return[this.toString(),this.sample,`(${tO("digit",this.precision)})`].join(" ")}},aO=(e,t)=>{t.addMethod(e.expect,"anything",()=>new nO),t.addMethod(e.expect,"any",r=>new oO(r)),t.addMethod(e.expect,"stringContaining",r=>new ic(r)),t.addMethod(e.expect,"objectContaining",r=>new lc(r)),t.addMethod(e.expect,"arrayContaining",r=>new sc(r)),t.addMethod(e.expect,"stringMatching",r=>new uc(r)),t.addMethod(e.expect,"closeTo",(r,n)=>new cc(r,n)),e.expect.not={stringContaining:r=>new ic(r,!0),objectContaining:r=>new lc(r,!0),arrayContaining:r=>new sc(r,!0),stringMatching:r=>new uc(r,!0),closeTo:(r,n)=>new cc(r,n,!0)}};function dc(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 Sm(e,t){return function(...r){var n;if(!e.flag(this,"soft"))return t.apply(this,r);let o=e.flag(this,"vitest-test");if(!o)throw new Error("expect.soft() can only be used inside a test");try{return t.apply(this,r)}catch(i){o.result||(o.result={state:"fail"}),o.result.state="fail",(n=o.result).errors||(n.errors=[]),o.result.errors.push(vm(i))}}}var iO=(e,t)=>{let{AssertionError:r}=e,n=jl();function o(s,d){let p=f=>{let m=Sm(t,d);t.addMethod(e.Assertion.prototype,f,m),t.addMethod(globalThis[nn].matchers,f,m)};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"),m=t.flag(this,"object"),h=t.flag(this,"negate");if(f==="rejects")t.flag(this,"object",()=>{throw m});else if(f==="resolves"&&typeof m!="function"){if(h)return;{let y=t.flag(this,"message")||"expected promise to throw an error, but it didn't",b={showDiff:!1};throw new r(y,b,t.flag(this,"ssfi"))}}d.apply(this,p)})}),o("withTest",function(s){return t.flag(this,"vitest-test",s),this}),o("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)}),o("toStrictEqual",function(s){let d=t.flag(this,"object"),p=te(d,s,[...n,De,oc,ti,ac],!0);return this.assert(p,"expected #{this} to strictly equal #{exp}","expected #{this} to not strictly equal #{exp}",s,d)}),o("toBe",function(s){let d=this._obj,p=Object.is(d,s),f="";return p||(te(d,s,[...n,De,oc,ti,ac],!0)?f="toStrictEqual":te(d,s,[...n,De])&&(f="toEqual")),this.assert(p,eO(f),"expected #{this} not to be #{exp} // Object.is equality",s,d)}),o("toMatchObject",function(s){let d=this._obj,p=te(d,s,[...n,De,vn]),f=t.flag(this,"negate"),{subset:m,stripped:h}=rO(d,s);if(p&&f||!p&&!f){let y=t.getMessage(this,[p,"expected #{this} to match object #{exp}","expected #{this} to not match object #{exp}",s,m,!1]),b=h===0?y:`${y}
|
|
152
|
+
(${h} matching ${h===1?"property":"properties"} omitted from actual)`;throw new r(b,{showDiff:!0,expected:s,actual:m})}}),o("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)}),o("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))}),o("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)}),o("toBeTruthy",function(){let s=t.flag(this,"object");this.assert(!!s,"expected #{this} to be truthy","expected #{this} to not be truthy",s,!1)}),o("toBeFalsy",function(){let s=t.flag(this,"object");this.assert(!s,"expected #{this} to be falsy","expected #{this} to not be falsy",s,!1)}),o("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)}),o("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)}),o("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)}),o("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)}),o("toBeNaN",function(){return this.be.NaN}),o("toBeUndefined",function(){return this.be.undefined}),o("toBeNull",function(){return this.be.null}),o("toBeDefined",function(){let s=t.flag(this,"negate");return t.flag(this,"negate",!1),s?this.be.undefined:this.not.be.undefined}),o("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)}),o("toBeInstanceOf",function(s){return this.instanceOf(s)}),o("toHaveLength",function(s){return this.have.length(s)}),o("toHaveProperty",function(...s){Array.isArray(s[0])&&(s[0]=s[0].map(T=>String(T).replace(/([.[\]])/g,"\\$1")).join("."));let d=this._obj,[p,f]=s,m=()=>Object.prototype.hasOwnProperty.call(d,p)?{value:d[p],exists:!0}:t.getPathInfo(d,p),{value:h,exists:y}=m(),b=y&&(s.length===1||te(f,h,n)),g=s.length===1?"":` with value ${t.objDisplay(f)}`;return this.assert(b,`expected #{this} to have property "${p}"${g}`,`expected #{this} to not have property "${p}"${g}`,f,y?h:void 0)}),o("toBeCloseTo",function(s,d=2){let p=this._obj,f=!1,m=0,h=0;return s===Number.POSITIVE_INFINITY&&p===Number.POSITIVE_INFINITY||s===Number.NEGATIVE_INFINITY&&p===Number.NEGATIVE_INFINITY?f=!0:(m=10**-d/2,h=Math.abs(p-s),f=h<m),this.assert(f,`expected #{this} to be close to #{exp}, received difference is ${h}, but expected ${m}`,`expected #{this} to not be close to #{exp}, received difference is ${h}, but expected ${m}`,s,p,!1)});let i=s=>{if(!ym(s._obj))throw new TypeError(`${t.inspect(s._obj)} is not a spy or a call to a spy!`)},a=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+=me.gray(`
|
|
153
|
+
|
|
154
|
+
Received:
|
|
155
|
+
|
|
156
|
+
${s.mock.calls.map((f,m)=>{let h=me.bold(` ${l(m+1)} ${s.getMockName()} call:
|
|
157
|
+
|
|
158
|
+
`);return p?h+=vr(p,f,{omitAnnotationLines:!0}):h+=Ve(f).split(`
|
|
159
|
+
`).map(y=>` ${y}`).join(`
|
|
160
|
+
`),h+=`
|
|
161
|
+
`,h}).join(`
|
|
162
|
+
`)}`)),d+=me.gray(`
|
|
163
|
+
|
|
164
|
+
Number of calls: ${me.bold(s.mock.calls.length)}
|
|
165
|
+
`),d),c=(s,d,p,f)=>(p+=me.gray(`
|
|
166
|
+
|
|
167
|
+
Received:
|
|
168
|
+
|
|
169
|
+
${d.map((m,h)=>{let y=me.bold(` ${l(h+1)} ${s.getMockName()} call return:
|
|
170
|
+
|
|
171
|
+
`);return f?y+=vr(f,m.value,{omitAnnotationLines:!0}):y+=Ve(m).split(`
|
|
172
|
+
`).map(b=>` ${b}`).join(`
|
|
173
|
+
`),y+=`
|
|
174
|
+
`,y}).join(`
|
|
175
|
+
`)}`),p+=me.gray(`
|
|
176
|
+
|
|
177
|
+
Number of calls: ${me.bold(s.mock.calls.length)}
|
|
178
|
+
`),p);o(["toHaveBeenCalledTimes","toBeCalledTimes"],function(s){let d=a(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)}),o("toHaveBeenCalledOnce",function(){let s=a(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)}),o(["toHaveBeenCalled","toBeCalled"],function(){let s=a(this),d=s.getMockName(),p=s.mock.calls.length,f=p>0,m=t.flag(this,"negate"),h=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&&m&&(h=u(s,h)),f&&m||!f&&!m)throw new r(h)}),o(["toHaveBeenCalledWith","toBeCalledWith"],function(...s){let d=a(this),p=d.getMockName(),f=d.mock.calls.some(y=>te(y,s,[...n,De])),m=t.flag(this,"negate"),h=t.getMessage(this,[f,`expected "${p}" to be called with arguments: #{exp}`,`expected "${p}" to not be called with arguments: #{exp}`,s]);if(f&&m||!f&&!m)throw new r(u(d,h,s))}),o(["toHaveBeenNthCalledWith","nthCalledWith"],function(s,...d){let p=a(this),f=p.getMockName(),m=p.mock.calls[s-1],h=p.mock.calls.length,y=s<=h;this.assert(te(m,d,[...n,De]),`expected ${l(s)} "${f}" call to have been called with #{exp}${y?"":`, but called only ${h} times`}`,`expected ${l(s)} "${f}" call to not have been called with #{exp}`,d,m,y)}),o(["toHaveBeenLastCalledWith","lastCalledWith"],function(...s){let d=a(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)}),o(["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"),m=null;if(p==="rejects")m=d;else if(p==="resolves"&&typeof d!="function"){if(f)return;{let h=t.flag(this,"message")||"expected promise to throw an error, but it didn't",y={showDiff:!1};throw new r(h,y,t.flag(this,"ssfi"))}}else{let h=!1;try{d()}catch(y){h=!0,m=y}if(!h&&!f){let y=t.flag(this,"message")||"expected function to throw an error, but it didn't",b={showDiff:!1};throw new r(y,b,t.flag(this,"ssfi"))}}if(typeof s=="function"){let h=s.name||s.prototype.constructor.name;return this.assert(m&&m instanceof s,`expected error to be instance of ${h}`,`expected error not to be instance of ${h}`,s,m)}if(s instanceof Error)return this.assert(m&&s.message===m.message,`expected error to have message: ${s.message}`,`expected error not to have message: ${s.message}`,s.message,m&&m.message);if(typeof s=="object"&&"asymmetricMatch"in s&&typeof s.asymmetricMatch=="function"){let h=s;return this.assert(m&&h.asymmetricMatch(m),"expected error to match asymmetric matcher","expected error not to match asymmetric matcher",h,m)}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})=>{o(s,function(){let f=a(this),m=f.getMockName(),h=d(f);this.assert(h,`expected "${m}" to be successfully ${p} at least once`,`expected "${m}" to not be successfully ${p}`,h,!h,!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})=>{o(s,function(f){let m=a(this),h=m.getMockName(),y=d(m,f);this.assert(y,`expected "${h}" to be successfully ${p} ${f} times`,`expected "${h}" to not be successfully ${p} ${f} times`,`expected resolved times: ${f}`,`received resolved times: ${y}`,!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})=>{o(s,function(f){let m=a(this),h=d(m,f),y=t.flag(this,"negate");if(h&&y||!h&&!y){let b=m.getMockName(),g=t.getMessage(this,[h,`expected "${b}" to ${p} with: #{exp} at least once`,`expected "${b}" to not ${p} with: #{exp}`,f]),T=p==="return"?m.mock.results:m.mock.settledResults;throw new r(c(m,T,g,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})=>{o(s,function(f){let m=a(this),h=p==="return"?m.mock.results:m.mock.settledResults,y=h[h.length-1],b=m.getMockName();this.assert(d(m,f),`expected last "${b}" call to ${p} #{exp}`,`expected last "${b}" call to not ${p} #{exp}`,f,y?.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})=>{o(s,function(f,m){let h=a(this),y=h.getMockName(),b=(p==="return"?h.mock.results:h.mock.settledResults)[f-1],g=`${l(f)} call`;this.assert(d(h,f,m),`expected ${g} "${y}" call to ${p} #{exp}`,`expected ${g} "${y}" call to not ${p} #{exp}`,m,b?.value)})}),o("toSatisfy",function(s,d){return this.be.satisfy(s,d)}),o("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?.then!="function")throw new TypeError(`You must provide a Promise to expect() when using .resolves, not '${typeof p}'.`);let f=new Proxy(this,{get:(m,h,y)=>{let b=Reflect.get(m,h,y);return typeof b!="function"?b instanceof e.Assertion?f:b:async(...g)=>{let T=p.then(C=>(t.flag(this,"object",C),b.call(this,...g)),C=>{let E=new r(`promise rejected "${t.inspect(C)}" instead of resolving`,{showDiff:!1});throw E.cause=C,E.stack=s.stack.replace(s.message,E.message),E});return dc(d,T)}}});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?.then!="function")throw new TypeError(`You must provide a Promise to expect() when using .rejects, not '${typeof f}'.`);let m=new Proxy(this,{get:(h,y,b)=>{let g=Reflect.get(h,y,b);return typeof g!="function"?g instanceof e.Assertion?m:g:async(...T)=>{let C=f.then(E=>{let w=new r(`promise resolved "${t.inspect(E)}" instead of rejecting`,{showDiff:!0,expected:new Error("rejected promise"),actual:E});throw w.stack=s.stack.replace(s.message,w.message),w},E=>(t.flag(this,"object",E),g.call(this,...T)));return dc(d,C)}}});return m})};function lO(e,t){let r=e._obj,n=rt.flag(e,"negate"),o=rt.flag(e,"promise")||"",i={...Em(),diff:vr,stringify:Ve,iterableEquality:De,subsetEquality:vn};return{state:{...Yn(t),customTesters:jl(),isNot:n,utils:i,promise:o,equals:te,suppressedErrors:[],soft:rt.flag(e,"soft"),poll:rt.flag(e,"poll")},isNot:n,obj:r}}var fc=class extends Error{constructor(e,t,r){super(e),this.actual=t,this.expected=r}};function sO(e,t,r){return(n,o)=>{Object.entries(r).forEach(([i,a])=>{function l(...d){let{state:p,isNot:f,obj:m}=lO(this,t),h=a.call(p,m,...d);if(h&&typeof h=="object"&&h instanceof Promise)return h.then(({pass:C,message:E,actual:w,expected:_})=>{if(C&&f||!C&&!f)throw new fc(E(),w,_)});let{pass:y,message:b,actual:g,expected:T}=h;if(y&&f||!y&&!f)throw new fc(b(),g,T)}let u=Sm(o,l);o.addMethod(globalThis[nn].matchers,i,u),o.addMethod(e.Assertion.prototype,i,u);class c extends Bt{constructor(p=!1,...f){super(f,p)}asymmetricMatch(p){let{pass:f}=a.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[ei],i,{configurable:!0,enumerable:!0,value:s,writable:!0})})}}var uO=(e,t)=>{t.addMethod(e.expect,"extend",(r,n)=>{Fr(sO(e,r,n))})};function cO(){Fr(uO),Fr(iO),Fr(aO);let e=(n,o)=>{let{assertionCalls:i}=Yn(e);return ia({assertionCalls:i+1,soft:!1},e),Ht(n,o)};Object.assign(e,Ht),e.getState=()=>Yn(e),e.setState=n=>ia(n,e),e.extend=n=>Ht.extend(e,n),e.soft=(...n)=>{let o=e(...n);return e.setState({soft:!0}),o},e.unreachable=n=>{P.fail(`expected${n?` "${n}" `:" "}not to be reached`)};function t(n){let o=()=>new Error(`expected number of assertions to be ${n}, but got ${e.getState().assertionCalls}`);"captureStackTrace"in Error&&typeof Error.captureStackTrace=="function"&&Error.captureStackTrace(o(),t),e.setState({expectedAssertionsNumber:n,expectedAssertionsNumberErrorGen:o})}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 ia({assertionCalls:0,isExpectingAssertions:!1,isExpectingAssertionsError:null,expectedAssertionsNumber:null,expectedAssertionsNumberErrorGen:null},e),rt.addMethod(e,"assertions",t),rt.addMethod(e,"hasAssertions",r),e.extend(Bf),e}var Om=cO();Object.defineProperty(globalThis,$l,{value:Om,writable:!0,configurable:!0});var ri=new Set;function dO(e){return ri.add(e),()=>void ri.delete(e)}function fO(e){let t=e?Qu(e):Qu();return pO(t)}function pO(e){let t=pc(e),r=t.mockImplementation.bind(null);return t.mockImplementation=n=>pc(r(n)),t}function pc(e){let t=Kn(e),r=t.impl;return t.willCall(function(...n){return ri.forEach(o=>o(e,n)),r?.apply(this,n)}),e}function mO(){xo.forEach(e=>e.mockClear())}function hO(){xo.forEach(e=>e.mockReset())}function bO(){xo.forEach(e=>e.mockRestore())}var Am={};Mi(Am,{buildQueries:()=>wt,configure:()=>AA,createEvent:()=>In,findAllByAltText:()=>$h,findAllByDisplayValue:()=>Sh,findAllByLabelText:()=>ih,findAllByPlaceholderText:()=>hh,findAllByRole:()=>Gh,findAllByTestId:()=>Qh,findAllByText:()=>Eh,findAllByTitle:()=>Dh,findByAltText:()=>Nh,findByDisplayValue:()=>Oh,findByLabelText:()=>lh,findByPlaceholderText:()=>bh,findByRole:()=>Wh,findByTestId:()=>Zh,findByText:()=>wh,findByTitle:()=>kh,fireEvent:()=>un,getAllByAltText:()=>xh,getAllByDisplayValue:()=>Th,getAllByLabelText:()=>sh,getAllByPlaceholderText:()=>ph,getAllByRole:()=>zh,getAllByTestId:()=>Jh,getAllByText:()=>vh,getAllByTitle:()=>Lh,getByAltText:()=>Mh,getByDisplayValue:()=>Ph,getByLabelText:()=>uh,getByPlaceholderText:()=>mh,getByRole:()=>Vh,getByTestId:()=>Xh,getByText:()=>_h,getByTitle:()=>Bh,getConfig:()=>Q,getDefaultNormalizer:()=>Ul,getElementError:()=>jo,getMultipleElementsFoundError:()=>Io,getNodeText:()=>_n,getQueriesForElement:()=>fi,getRoles:()=>Zm,getSuggestedQuery:()=>Qn,isInaccessible:()=>No,logDOM:()=>ni,logRoles:()=>NA,makeFindQuery:()=>Er,makeGetAllQuery:()=>Vl,makeSingleQuery:()=>_r,prettyDOM:()=>ln,prettyFormat:()=>Ll,queries:()=>Zn,queryAllByAltText:()=>Ah,queryAllByAttribute:()=>Qt,queryAllByDisplayValue:()=>Ch,queryAllByLabelText:()=>ch,queryAllByPlaceholderText:()=>dh,queryAllByRole:()=>Uh,queryAllByTestId:()=>Kh,queryAllByText:()=>gh,queryAllByTitle:()=>jh,queryByAltText:()=>qh,queryByAttribute:()=>th,queryByDisplayValue:()=>Rh,queryByLabelText:()=>oh,queryByPlaceholderText:()=>fh,queryByRole:()=>Hh,queryByTestId:()=>Yh,queryByText:()=>yh,queryByTitle:()=>Ih,queryHelpers:()=>KA,screen:()=>wq,waitFor:()=>zl,waitForElementToBeRemoved:()=>hq,within:()=>fi,wrapAllByQueryWithSuggestion:()=>je,wrapSingleQueryWithSuggestion:()=>$t});var Ll=ke($1()),gO=Object.prototype.toString;function yO(e){return typeof e=="function"||gO.call(e)==="[object Function]"}function vO(e){var t=Number(e);return isNaN(t)?0:t===0||!isFinite(t)?t:(t>0?1:-1)*Math.floor(Math.abs(t))}var _O=Math.pow(2,53)-1;function EO(e){var t=vO(e);return Math.min(Math.max(t,0),_O)}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 o=EO(n.length),i=yO(r)?Object(new r(o)):new Array(o),a=0,l;a<o;)l=n[a],i[a]=l,a+=1;return i.length=o,i}function on(e){"@babel/helpers - typeof";return on=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},on(e)}function wO(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function CO(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,qm(n.key),n)}}function RO(e,t,r){return t&&CO(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function TO(e,t,r){return t=qm(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function qm(e){var t=PO(e,"string");return on(t)==="symbol"?t:String(t)}function PO(e,t){if(on(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(on(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var SO=function(){function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];wO(this,e),TO(this,"items",void 0),this.items=t}return RO(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}(),OO=typeof Set>"u"?Set:SO;function qe(e){var t;return(t=e.localName)!==null&&t!==void 0?t:e.tagName.toLowerCase()}var AO={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"},qO={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 xO(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=qO[t])!==null&&n!==void 0&&n.has(r))})}function xm(e,t){return xO(e,t)}function MO(e){var t=NO(e);if(t===null||t==="presentation"){var r=$O(e);if(t!=="presentation"||xm(e,r||""))return r}return t}function $O(e){var t=AO[qe(e)];if(t!==void 0)return t;switch(qe(e)){case"a":case"area":case"link":if(e.hasAttribute("href"))return"link";break;case"img":return e.getAttribute("alt")===""&&!xm(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 NO(e){var t=e.getAttribute("role");if(t!==null){var r=t.trim().split(" ")[0];if(r.length>0)return r}return null}function de(e){return e!==null&&e.nodeType===e.ELEMENT_NODE}function Mm(e){return de(e)&&qe(e)==="caption"}function jn(e){return de(e)&&qe(e)==="input"}function jO(e){return de(e)&&qe(e)==="optgroup"}function IO(e){return de(e)&&qe(e)==="select"}function LO(e){return de(e)&&qe(e)==="table"}function BO(e){return de(e)&&qe(e)==="textarea"}function DO(e){var t=e.ownerDocument===null?e:e.ownerDocument,r=t.defaultView;if(r===null)throw new TypeError("no window available");return r}function kO(e){return de(e)&&qe(e)==="fieldset"}function FO(e){return de(e)&&qe(e)==="legend"}function UO(e){return de(e)&&qe(e)==="slot"}function HO(e){return de(e)&&e.ownerSVGElement!==void 0}function zO(e){return de(e)&&qe(e)==="svg"}function VO(e){return HO(e)&&qe(e)==="title"}function Xn(e,t){if(de(e)&&e.hasAttribute(t)){var r=e.getAttribute(t).split(" "),n=e.getRootNode?e.getRootNode():e.ownerDocument;return r.map(function(o){return n.getElementById(o)}).filter(function(o){return o!==null})}return[]}function ht(e,t){return de(e)?t.indexOf(MO(e))!==-1:!1}function GO(e){return e.trim().replace(/\s\s+/g," ")}function WO(e,t){if(!de(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 KO(e){return ht(e,["button","combobox","listbox","textbox"])||$m(e,"range")}function $m(e,t){if(!de(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 mc(e,t){var r=Ye(e.querySelectorAll(t));return Xn(e,"aria-owns").forEach(function(n){r.push.apply(r,Ye(n.querySelectorAll(t)))}),r}function YO(e){return IO(e)?e.selectedOptions||mc(e,"[selected]"):mc(e,'[aria-selected="true"]')}function JO(e){return ht(e,["none","presentation"])}function XO(e){return Mm(e)}function QO(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 ZO(e){return!1}function eA(e){return jn(e)||BO(e)?e.value:e.textContent||""}function hc(e){var t=e.getPropertyValue("content");return/^["'].*["']$/.test(t)?t.slice(1,-1):""}function Nm(e){var t=qe(e);return t==="button"||t==="input"&&e.getAttribute("type")!=="hidden"||t==="meter"||t==="output"||t==="progress"||t==="select"||t==="textarea"}function jm(e){if(Nm(e))return e;var t=null;return e.childNodes.forEach(function(r){if(t===null&&de(r)){var n=jm(r);n!==null&&(t=n)}}),t}function tA(e){if(e.control!==void 0)return e.control;var t=e.getAttribute("for");return t!==null?e.ownerDocument.getElementById(t):jm(e)}function rA(e){var t=e.labels;if(t===null)return t;if(t!==void 0)return Ye(t);if(!Nm(e))return null;var r=e.ownerDocument;return Ye(r.querySelectorAll("label")).filter(function(n){return tA(n)===e})}function nA(e){var t=e.assignedNodes();return t.length===0?Ye(e.childNodes):t}function Im(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=new OO,n=DO(e),o=t.compute,i=o===void 0?"name":o,a=t.computedStyleSupportsPseudoElements,l=a===void 0?t.getComputedStyle!==void 0:a,u=t.getComputedStyle,c=u===void 0?n.getComputedStyle.bind(n):u,s=t.hidden,d=s===void 0?!1:s;function p(b,g){var T="";if(de(b)&&l){var C=c(b,"::before"),E=hc(C);T="".concat(E," ").concat(T)}var w=UO(b)?nA(b):Ye(b.childNodes).concat(Xn(b,"aria-owns"));if(w.forEach(function(O){var $=y(O,{isEmbeddedInLabel:g.isEmbeddedInLabel,isReferenced:!1,recursion:!0}),N=de(O)?c(O).getPropertyValue("display"):"inline",L=N!=="inline"?" ":"";T+="".concat(L).concat($).concat(L)}),de(b)&&l){var _=c(b,"::after"),v=hc(_);T="".concat(T," ").concat(v)}return T.trim()}function f(b,g){var T=b.getAttributeNode(g);return T!==null&&!r.has(T)&&T.value.trim()!==""?(r.add(T),T.value):null}function m(b){return de(b)?f(b,"title"):null}function h(b){if(!de(b))return null;if(kO(b)){r.add(b);for(var g=Ye(b.childNodes),T=0;T<g.length;T+=1){var C=g[T];if(FO(C))return y(C,{isEmbeddedInLabel:!1,isReferenced:!1,recursion:!1})}}else if(LO(b)){r.add(b);for(var E=Ye(b.childNodes),w=0;w<E.length;w+=1){var _=E[w];if(Mm(_))return y(_,{isEmbeddedInLabel:!1,isReferenced:!1,recursion:!1})}}else if(zO(b)){r.add(b);for(var v=Ye(b.childNodes),O=0;O<v.length;O+=1){var $=v[O];if(VO($))return $.textContent}return null}else if(qe(b)==="img"||qe(b)==="area"){var N=f(b,"alt");if(N!==null)return N}else if(jO(b)){var L=f(b,"label");if(L!==null)return L}if(jn(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=rA(b);if(I!==null&&I.length!==0)return r.add(b),Ye(I).map(function(W){return y(W,{isEmbeddedInLabel:!0,isReferenced:!1,recursion:!0})}).filter(function(W){return W.length>0}).join(" ");if(jn(b)&&b.type==="image"){var H=f(b,"alt");if(H!==null)return H;var V=f(b,"title");return V!==null?V:"Submit Query"}if(ht(b,["button"])){var J=p(b,{isEmbeddedInLabel:!1,isReferenced:!1});if(J!=="")return J}return null}function y(b,g){if(r.has(b))return"";if(!d&&WO(b,c)&&!g.isReferenced)return r.add(b),"";var T=de(b)?b.getAttributeNode("aria-labelledby"):null,C=T!==null&&!r.has(T)?Xn(b,"aria-labelledby"):[];if(i==="name"&&!g.isReferenced&&C.length>0)return r.add(T),C.map(function(N){return y(N,{isEmbeddedInLabel:g.isEmbeddedInLabel,isReferenced:!0,recursion:!1})}).join(" ");var E=g.recursion&&KO(b)&&i==="name";if(!E){var w=(de(b)&&b.getAttribute("aria-label")||"").trim();if(w!==""&&i==="name")return r.add(b),w;if(!JO(b)){var _=h(b);if(_!==null)return r.add(b),_}}if(ht(b,["menu"]))return r.add(b),"";if(E||g.isEmbeddedInLabel||g.isReferenced){if(ht(b,["combobox","listbox"])){r.add(b);var v=YO(b);return v.length===0?jn(b)?b.value:"":Ye(v).map(function(N){return y(N,{isEmbeddedInLabel:g.isEmbeddedInLabel,isReferenced:!1,recursion:!0})}).join(" ")}if($m(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),eA(b)}if(QO(b)||de(b)&&g.isReferenced||XO(b)||ZO()){var O=p(b,{isEmbeddedInLabel:g.isEmbeddedInLabel,isReferenced:!1});if(O!=="")return r.add(b),O}if(b.nodeType===b.TEXT_NODE)return r.add(b),b.textContent||"";if(g.recursion)return r.add(b),p(b,{isEmbeddedInLabel:g.isEmbeddedInLabel,isReferenced:!1});var $=m(b);return $!==null?(r.add(b),$):(r.add(b),"")}return GO(y(e,{isEmbeddedInLabel:!1,isReferenced:i==="description",recursion:!1}))}function an(e){"@babel/helpers - typeof";return an=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},an(e)}function bc(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function gc(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?bc(Object(r),!0).forEach(function(n){oA(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):bc(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function oA(e,t,r){return t=aA(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function aA(e){var t=iA(e,"string");return an(t)==="symbol"?t:String(t)}function iA(e,t){if(an(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(an(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Lm(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=Xn(e,"aria-describedby").map(function(o){return Im(o,gc(gc({},t),{},{compute:"description"}))}).join(" ");if(r===""){var n=e.getAttribute("title");r=n===null?"":n}return r}function lA(e){return ht(e,["caption","code","deletion","emphasis","generic","insertion","paragraph","presentation","strong","subscript","superscript"])}function Bl(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return lA(e)?"":Im(e,t)}var Ue=ke(Ni()),sA=ke(N1());function Bm(e){return e.replace(/</g,"<").replace(/>/g,">")}var uA=(e,t,r,n,o,i,a)=>{let l=n+r.indent,u=r.colors;return e.map(c=>{let s=t[c],d=a(s,r,l,o,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("")},cA=3,dA=(e,t,r,n,o,i)=>e.map(a=>{let l=typeof a=="string"?Dm(a,t):i(a,t,r,n,o);return l===""&&typeof a=="object"&&a!==null&&a.nodeType!==cA?"":t.spacingOuter+r+l}).join(""),Dm=(e,t)=>{let r=t.colors.content;return r.open+Bm(e)+r.close},fA=(e,t)=>{let r=t.colors.comment;return r.open+"<!--"+Bm(e)+"-->"+r.close},pA=(e,t,r,n,o)=>{let i=n.colors.tag;return i.open+"<"+e+(t&&i.close+t+n.spacingOuter+o+i.open)+(r?">"+i.close+r+n.spacingOuter+o+i.open+"</"+e:(t&&!n.min?"":" ")+"/")+">"+i.close},mA=(e,t)=>{let r=t.colors.tag;return r.open+"<"+e+r.close+" …"+r.open+" />"+r.close},hA=1,km=3,Fm=8,Um=11,bA=/^((HTML|SVG)\w*)?Element$/,Hm=e=>{let{tagName:t}=e;return!!(typeof t=="string"&&t.includes("-")||typeof e.hasAttribute=="function"&&e.hasAttribute("is"))},gA=e=>{let t=e.constructor.name,{nodeType:r}=e;return r===hA&&(bA.test(t)||Hm(e))||r===km&&t==="Text"||r===Fm&&t==="Comment"||r===Um&&t==="DocumentFragment"};function yA(e){return e.nodeType===km}function vA(e){return e.nodeType===Fm}function sa(e){return e.nodeType===Um}function _A(e){return{test:t=>{var r;return((t==null||(r=t.constructor)==null?void 0:r.name)||Hm(t))&&gA(t)},serialize:(t,r,n,o,i,a)=>{if(yA(t))return Dm(t.data,r);if(vA(t))return fA(t.data,r);let l=sa(t)?"DocumentFragment":t.tagName.toLowerCase();return++o>r.maxDepth?mA(l,r):pA(l,uA(sa(t)?[]:Array.from(t.attributes).map(u=>u.name).sort(),sa(t)?{}:Array.from(t.attributes).reduce((u,c)=>(u[c.name]=c.value,u),{}),r,n+r.indent,o,i,a),dA(Array.prototype.slice.call(t.childNodes||t.children).filter(e),r,n+r.indent,o,i,a),r,n)}}}var zm=null,Dl=null,kl=null;try{let e=module&&module.require;Dl=e.call(module,"fs").readFileSync,kl=e.call(module,"@babel/code-frame").codeFrameColumns,zm=e.call(module,"chalk")}catch{}function EA(e){let t=e.indexOf("(")+1,r=e.indexOf(")"),n=e.slice(t,r),o=n.split(":"),[i,a,l]=[o[0],parseInt(o[1],10),parseInt(o[2],10)],u="";try{u=Dl(i,"utf-8")}catch{return""}let c=kl(u,{start:{line:a,column:l}},{highlightCode:!0,linesBelow:0});return zm.dim(n)+`
|
|
180
|
+
`+c+`
|
|
181
|
+
`}function wA(){if(!Dl||!kl)return"";let e=new Error().stack.split(`
|
|
182
|
+
`).slice(1).find(t=>!t.includes("node_modules/"));return EA(e)}var Vm=3;function ua(){return typeof jest<"u"&&jest!==null?setTimeout._isMockFunction===!0||Object.prototype.hasOwnProperty.call(setTimeout,"clock"):!1}function Fl(){if(typeof window>"u")throw new Error("Could not find default container");return window.document}function Gm(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 CA=()=>{if(typeof process>"u")return!1;let e;try{var t;let r=(t=wa)==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:RA}=Ll.plugins,TA=1,PA=8;function SA(e){return e.nodeType!==PA&&(e.nodeType!==TA||!e.matches(Q().defaultIgnore))}function ln(e,t,r){if(r===void 0&&(r={}),e||(e=Fl().body),typeof t!="number"&&(t=typeof process<"u"&&typeof wa<"u"&&wa.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:o=SA,...i}=r,a=Ll.format(e,{plugins:[_A(o),RA],printFunctionName:!1,highlight:CA(),...i});return t!==void 0&&e.outerHTML.length>t?a.slice(0,t)+"...":a}var ni=function(){let e=wA();console.log(e?ln(...arguments)+`
|
|
183
|
+
|
|
184
|
+
`+e:ln(...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=ln(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 OA(e){try{return zt._disableExpensiveErrorDiagnostics=!0,e()}finally{zt._disableExpensiveErrorDiagnostics=!1}}function AA(e){typeof e=="function"&&(e=e(zt)),zt={...zt,...e}}function Q(){return zt}var qA=["button","meter","output","progress","select","textarea","input"];function Wm(e){return qA.includes(e.nodeName.toLowerCase())?"":e.nodeType===Vm?e.textContent:Array.from(e.childNodes).map(t=>Wm(t)).join("")}function oi(e){let t;return e.tagName.toLowerCase()==="label"?t=Wm(e):t=e.value||e.textContent,t}function Km(e){if(e.labels!==void 0){var t;return(t=e.labels)!=null?t:[]}if(!xA(e))return[];let r=e.ownerDocument.querySelectorAll("label");return Array.from(r).filter(n=>n.control===e)}function xA(e){return/BUTTON|METER|OUTPUT|PROGRESS|SELECT|TEXTAREA/.test(e.tagName)||e.tagName==="INPUT"&&e.getAttribute("type")!=="hidden"}function Ym(e,t,r){let{selector:n="*"}=r===void 0?{}:r,o=t.getAttribute("aria-labelledby"),i=o?o.split(" "):[];return i.length?i.map(a=>{let l=e.querySelector('[id="'+a+'"]');return l?{content:oi(l),formControl:null}:{content:"",formControl:null}}):Array.from(Km(t)).map(a=>{let l=oi(a),u=Array.from(a.querySelectorAll("button, input, meter, output, progress, select, textarea")).filter(c=>c.matches(n))[0];return{content:l,formControl:u}})}function Jm(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;Jm(r);let o=n(e);return typeof r=="string"||typeof r=="number"?o.toLowerCase().includes(r.toString().toLowerCase()):typeof r=="function"?r(o,t):Xm(r,o)}function gt(e,t,r,n){if(typeof e!="string")return!1;Jm(r);let o=n(e);return r instanceof Function?r(o,t):r instanceof RegExp?Xm(r,o):o===String(r)}function Ul(e){let{trim:t=!0,collapseWhitespace:r=!0}=e===void 0?{}:e;return n=>{let o=n;return o=t?o.trim():o,o=r?o.replace(/\s+/g," "):o,o}}function Xt(e){let{trim:t,collapseWhitespace:r,normalizer:n}=e;if(!n)return Ul({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 Xm(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 _n(e){return e.matches("input[type=submit], input[type=button], input[type=reset]")?e.value:Array.from(e.childNodes).filter(t=>t.nodeType===Vm&&!!t.textContent).map(t=>t.textContent).join("")}var MA=$A(Ue.elementRoles);function Qm(e){return e.hidden===!0||e.getAttribute("aria-hidden")==="true"||e.ownerDocument.defaultView.getComputedStyle(e).display==="none"}function No(e,t){t===void 0&&(t={});let{isSubtreeInaccessible:r=Qm}=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 Hl(e){for(let{match:t,roles:r}of MA)if(t(e))return[...r];return[]}function $A(e){function t(a){let{name:l,attributes:u}=a;return""+l+u.map(c=>{let{name:s,value:d,constraints:p=[]}=c,f=p.indexOf("undefined")!==-1,m=p.indexOf("set")!==-1;return typeof d<"u"?"["+s+'="'+d+'"]':f?":not(["+s+"])":m?"["+s+"]:not(["+s+'=""])':"["+s+"]"}).join("")}function r(a){let{attributes:l=[]}=a;return l.length}function n(a,l){let{specificity:u}=a,{specificity:c}=l;return c-u}function o(a){let{attributes:l=[]}=a,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({...a,attributes:l});return s=>u>=0&&s.type!=="text"?!1:s.matches(c)}let i=[];for(let[a,l]of e.entries())i=[...i,{match:o(a),roles:Array.from(l),specificity:r(a)}];return i.sort(n)}function Zm(e,t){let{hidden:r=!1}=t===void 0?{}:t;function n(o){return[o,...Array.from(o.children).reduce((i,a)=>[...i,...n(a)],[])]}return n(e).filter(o=>r===!1?No(o)===!1:!0).reduce((o,i)=>{let a=[];return i.hasAttribute("role")?a=i.getAttribute("role").split(" ").slice(0,1):a=Hl(i),a.reduce((l,u)=>Array.isArray(l[u])?{...l,[u]:[...l[u],i]}:{...l,[u]:[i]},o)},{})}function eh(e,t){let{hidden:r,includeDescription:n}=t,o=Zm(e,{hidden:r});return Object.entries(o).filter(i=>{let[a]=i;return a!=="generic"}).map(i=>{let[a,l]=i,u="-".repeat(50),c=l.map(s=>{let d='Name "'+Bl(s,{computedStyleSupportsPseudoElements:Q().computedStyleSupportsPseudoElements})+`":
|
|
188
|
+
`,p=ln(s.cloneNode(!1));if(n){let f='Description "'+Lm(s,{computedStyleSupportsPseudoElements:Q().computedStyleSupportsPseudoElements})+`":
|
|
189
|
+
`;return""+d+f+p}return""+d+p}).join(`
|
|
190
|
+
|
|
191
|
+
`);return a+`:
|
|
192
|
+
|
|
193
|
+
`+c+`
|
|
194
|
+
|
|
195
|
+
`+u}).join(`
|
|
196
|
+
`)}var NA=function(e,t){let{hidden:r=!1}=t===void 0?{}:t;return console.log(eh(e,{hidden:r}))};function jA(e){return e.tagName==="OPTION"?e.selected:En(e,"aria-selected")}function IA(e){return e.getAttribute("aria-busy")==="true"}function LA(e){if(!("indeterminate"in e&&e.indeterminate))return"checked"in e?e.checked:En(e,"aria-checked")}function BA(e){return En(e,"aria-pressed")}function DA(e){var t,r;return(t=(r=En(e,"aria-current"))!=null?r:e.getAttribute("aria-current"))!=null?t:!1}function kA(e){return En(e,"aria-expanded")}function En(e,t){let r=e.getAttribute(t);if(r==="true")return!0;if(r==="false")return!1}function FA(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 UA(e){let t=e.getAttribute("aria-valuenow");return t===null?void 0:+t}function HA(e){let t=e.getAttribute("aria-valuemax");return t===null?void 0:+t}function zA(e){let t=e.getAttribute("aria-valuemin");return t===null?void 0:+t}function VA(e){let t=e.getAttribute("aria-valuetext");return t===null?void 0:t}var yc=Ul();function GA(e){return e.replace(/[.*+\-?^${}()|[\]\\]/g,"\\$&")}function vc(e){return new RegExp(GA(e.toLowerCase()),"i")}function Ct(e,t,r,n){let{variant:o,name:i}=n,a="",l={},u=[["Role","TestId"].includes(e)?r:vc(r)];i&&(l.name=vc(i)),e==="Role"&&No(t)&&(l.hidden=!0,a=`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=o+"By"+e;return{queryName:e,queryMethod:c,queryArgs:u,variant:o,warning:a,toString(){a&&console.warn(a);let[s,d]=u;return s=typeof s=="string"?"'"+s+"'":s,d=d?", { "+Object.entries(d).map(p=>{let[f,m]=p;return f+": "+m}).join(", ")+" }":"",c+"("+s+d+")"}}}function Rt(e,t,r){return r&&(!t||t.toLowerCase()===e.toLowerCase())}function Qn(e,t,r){var n,o;if(t===void 0&&(t="get"),e.matches(Q().defaultIgnore))return;let i=(n=e.getAttribute("role"))!=null?n:(o=Hl(e))==null?void 0:o[0];if(i!=="generic"&&Rt("Role",r,i))return Ct("Role",e,i,{variant:t,name:Bl(e,{computedStyleSupportsPseudoElements:Q().computedStyleSupportsPseudoElements})});let a=Ym(document,e).map(p=>p.content).join(" ");if(Rt("LabelText",r,a))return Ct("LabelText",e,a,{variant:t});let l=e.getAttribute("placeholder");if(Rt("PlaceholderText",r,l))return Ct("PlaceholderText",e,l,{variant:t});let u=yc(_n(e));if(Rt("Text",r,u))return Ct("Text",e,u,{variant:t});if(Rt("DisplayValue",r,e.value))return Ct("DisplayValue",e,yc(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(Q().testIdAttribute);if(Rt("TestId",r,d))return Ct("TestId",e,d,{variant:t})}function Rn(e,t){e.stack=t.stack.replace(t.message,e.message)}function WA(e,t){let{container:r=Fl(),timeout:n=Q().asyncUtilTimeout,showOriginalStackTrace:o=Q().showOriginalStackTrace,stackTraceError:i,interval:a=50,onTimeout:l=c=>(Object.defineProperty(c,"message",{value:Q().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,m=!1,h="idle",y=setTimeout(E,n),b=ua();if(b){let{unstable_advanceTimersWrapper:w}=Q();for(C();!m;){if(!ua()){let _=new Error("Changed from using fake timers to real timers while using waitFor. This is not allowed and will result in very strange behavior. Please ensure you're awaiting all async things your test is doing before changing to real timers. For more info, please go to https://github.com/testing-library/dom-testing-library/issues/830");o||Rn(_,i),s(_);return}if(await w(async()=>{jest.advanceTimersByTime(a)}),m)break;C()}}else{try{Et(r)}catch(_){s(_);return}p=setInterval(T,a);let{MutationObserver:w}=Gm(r);f=new w(T),f.observe(r,u),C()}function g(w,_){m=!0,clearTimeout(y),b||(clearInterval(p),f.disconnect()),w?s(w):c(_)}function T(){if(ua()){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 o||Rn(w,i),s(w)}else return C()}function C(){if(h!=="pending")try{let w=OA(e);typeof w?.then=="function"?(h="pending",w.then(_=>{h="resolved",g(null,_)},_=>{h="rejected",d=_})):g(null,w)}catch(w){d=w}}function E(){let w;d?(w=d,!o&&w.name==="TestingLibraryElementError"&&Rn(w,i)):(w=new Error("Timed out in waitFor."),o||Rn(w,i)),g(l(w),null)}})}function zl(e,t){let r=new Error("STACK_TRACE_MESSAGE");return Q().asyncWrapper(()=>WA(e,{stackTraceError:r,...t}))}function jo(e,t){return Q().getElementError(e,t)}function Io(e,t){return jo(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:o=!0,collapseWhitespace:i,trim:a,normalizer:l}=n===void 0?{}:n,u=o?gt:qr,c=Xt({collapseWhitespace:i,trim:a,normalizer:l});return Array.from(t.querySelectorAll("["+e+"]")).filter(s=>u(s.getAttribute(e),s,r,c))}function th(e,t,r,n){let o=Qt(e,t,r,n);if(o.length>1)throw Io("Found multiple elements by ["+e+"="+r+"]",t);return o[0]||null}function _r(e,t){return function(r){for(var n=arguments.length,o=new Array(n>1?n-1:0),i=1;i<n;i++)o[i-1]=arguments[i];let a=e(r,...o);if(a.length>1){let l=a.map(u=>jo(null,u).message).join(`
|
|
199
|
+
|
|
200
|
+
`);throw Io(t(r,...o)+`
|
|
201
|
+
|
|
202
|
+
Here are the matching elements:
|
|
203
|
+
|
|
204
|
+
`+l,r)}return a[0]||null}}function rh(e,t){return Q().getElementError(`A better query is available, try this:
|
|
205
|
+
`+e.toString()+`
|
|
206
|
+
`,t)}function Vl(e,t){return function(r){for(var n=arguments.length,o=new Array(n>1?n-1:0),i=1;i<n;i++)o[i-1]=arguments[i];let a=e(r,...o);if(!a.length)throw Q().getElementError(t(r,...o),r);return a}}function Er(e){return(t,r,n,o)=>zl(()=>e(t,r,n),{container:t,...o})}var $t=(e,t,r)=>function(n){for(var o=arguments.length,i=new Array(o>1?o-1:0),a=1;a<o;a++)i[a-1]=arguments[a];let l=e(n,...i),[{suggest:u=Q().throwSuggestions}={}]=i.slice(-1);if(l&&u){let c=Qn(l,r);if(c&&!t.endsWith(c.queryName))throw rh(c.toString(),n)}return l},je=(e,t,r)=>function(n){for(var o=arguments.length,i=new Array(o>1?o-1:0),a=1;a<o;a++)i[a-1]=arguments[a];let l=e(n,...i),[{suggest:u=Q().throwSuggestions}={}]=i.slice(-1);if(l.length&&u){let c=[...new Set(l.map(s=>{var d;return(d=Qn(s,r))==null?void 0:d.toString()}))];if(c.length===1&&!t.endsWith(Qn(l[0],r).queryName))throw rh(c[0],n)}return l};function wt(e,t,r){let n=$t(_r(e,t),e.name,"query"),o=Vl(e,r),i=_r(o,t),a=$t(i,e.name,"get"),l=je(o,e.name.replace("query","get"),"getAll"),u=Er(je(o,e.name,"findAll")),c=Er($t(i,e.name,"find"));return[n,l,a,u,c]}var KA=Object.freeze({__proto__:null,getElementError:jo,wrapAllByQueryWithSuggestion:je,wrapSingleQueryWithSuggestion:$t,getMultipleElementsFoundError:Io,queryAllByAttribute:Qt,queryByAttribute:th,makeSingleQuery:_r,makeGetAllQuery:Vl,makeFindQuery:Er,buildQueries:wt});function YA(e){return Array.from(e.querySelectorAll("label,input")).map(t=>({node:t,textToMatch:oi(t)})).filter(t=>{let{textToMatch:r}=t;return r!==null})}var JA=function(e,t,r){let{exact:n=!0,trim:o,collapseWhitespace:i,normalizer:a}=r===void 0?{}:r,l=n?gt:qr,u=Xt({collapseWhitespace:i,trim:o,normalizer:a});return YA(e).filter(c=>{let{node:s,textToMatch:d}=c;return l(d,s,t,u)}).map(c=>{let{node:s}=c;return s})},sn=function(e,t,r){let{selector:n="*",exact:o=!0,collapseWhitespace:i,trim:a,normalizer:l}=r===void 0?{}:r;Et(e);let u=o?gt:qr,c=Xt({collapseWhitespace:i,trim:a,normalizer:l}),s=Array.from(e.querySelectorAll("*")).filter(d=>Km(d).length||d.hasAttribute("aria-labelledby")).reduce((d,p)=>{let f=Ym(e,p,{selector:n});f.filter(h=>!!h.formControl).forEach(h=>{u(h.content,h.formControl,t,c)&&h.formControl&&d.push(h.formControl)});let m=f.filter(h=>!!h.content).map(h=>h.content);return u(m.join(" "),p,t,c)&&d.push(p),m.length>1&&m.forEach((h,y)=>{u(h,p,t,c)&&d.push(p);let b=[...m];b.splice(y,1),b.length>1&&u(b.join(" "),p,t,c)&&d.push(p)}),d},[]).concat(Qt("aria-label",e,t,{exact:o,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),o=2;o<r;o++)n[o-2]=arguments[o];let i=sn(e,t,...n);if(!i.length){let a=JA(e,t,...n);if(a.length){let l=a.map(u=>XA(e,u)).filter(u=>!!u);throw l.length?Q().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):Q().getElementError("Found a label with the text of: "+t+`, however no form control was found associated to that label. Make sure you're using the "for" attribute or "aria-labelledby" attribute correctly.`,e)}else throw Q().getElementError("Unable to find a label with the text of: "+t,e)}return i};function XA(e,t){let r=t.getAttribute("for");if(!r)return null;let n=e.querySelector('[id="'+r+'"]');return n?n.tagName.toLowerCase():null}var nh=(e,t)=>"Found multiple elements with the text of: "+t,oh=$t(_r(sn,nh),sn.name,"query"),ah=_r(Gt,nh),ih=Er(je(Gt,Gt.name,"findAll")),lh=Er($t(ah,Gt.name,"find")),sh=je(Gt,Gt.name,"getAll"),uh=$t(ah,Gt.name,"get"),ch=je(sn,sn.name,"queryAll"),ai=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)},QA=(e,t)=>"Found multiple elements with the placeholder text of: "+t,ZA=(e,t)=>"Unable to find an element with the placeholder text of: "+t,dh=je(ai,ai.name,"queryAll"),[fh,ph,mh,hh,bh]=wt(ai,QA,ZA),ii=function(e,t,r){let{selector:n="*",exact:o=!0,collapseWhitespace:i,trim:a,ignore:l=Q().defaultIgnore,normalizer:u}=r===void 0?{}:r;Et(e);let c=o?gt:qr,s=Xt({collapseWhitespace:i,trim:a,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(_n(p),p,t,s))},eq=(e,t)=>"Found multiple elements with the text: "+t,tq=function(e,t,r){r===void 0&&(r={});let{collapseWhitespace:n,trim:o,normalizer:i,selector:a}=r,l=Xt({collapseWhitespace:n,trim:o,normalizer:i})(t.toString()),u=l!==t.toString(),c=(a??"*")!=="*";return"Unable to find an element with the text: "+(u?l+" (normalized from '"+t+"')":t)+(c?", which matches selector '"+a+"'":"")+". This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible."},gh=je(ii,ii.name,"queryAll"),[yh,vh,_h,Eh,wh]=wt(ii,eq,tq),li=function(e,t,r){let{exact:n=!0,collapseWhitespace:o,trim:i,normalizer:a}=r===void 0?{}:r;Et(e);let l=n?gt:qr,u=Xt({collapseWhitespace:o,trim:i,normalizer:a});return Array.from(e.querySelectorAll("input,textarea,select")).filter(c=>c.tagName==="SELECT"?Array.from(c.options).filter(s=>s.selected).some(s=>l(_n(s),s,t,u)):l(c.value,c,t,u))},rq=(e,t)=>"Found multiple elements with the display value: "+t+".",nq=(e,t)=>"Unable to find an element with the display value: "+t+".",Ch=je(li,li.name,"queryAll"),[Rh,Th,Ph,Sh,Oh]=wt(li,rq,nq),oq=/^(img|input|area|.+-.+)$/i,si=function(e,t,r){return r===void 0&&(r={}),Et(e),Qt("alt",e,t,r).filter(n=>oq.test(n.tagName))},aq=(e,t)=>"Found multiple elements with the alt text: "+t,iq=(e,t)=>"Unable to find an element with the alt text: "+t,Ah=je(si,si.name,"queryAll"),[qh,xh,Mh,$h,Nh]=wt(si,aq,iq),lq=e=>{var t;return e.tagName.toLowerCase()==="title"&&((t=e.parentElement)==null?void 0:t.tagName.toLowerCase())==="svg"},ui=function(e,t,r){let{exact:n=!0,collapseWhitespace:o,trim:i,normalizer:a}=r===void 0?{}:r;Et(e);let l=n?gt:qr,u=Xt({collapseWhitespace:o,trim:i,normalizer:a});return Array.from(e.querySelectorAll("[title], svg > title")).filter(c=>l(c.getAttribute("title"),c,t,u)||lq(c)&&l(_n(c),c,t,u))},sq=(e,t)=>"Found multiple elements with the title: "+t+".",uq=(e,t)=>"Unable to find an element with the title: "+t+".",jh=je(ui,ui.name,"queryAll"),[Ih,Lh,Bh,Dh,kh]=wt(ui,sq,uq),ci=function(e,t,r){let{hidden:n=Q().defaultHidden,name:o,description:i,queryFallbacks:a=!1,selected:l,busy:u,checked:c,pressed:s,current:d,level:p,expanded:f,value:{now:m,min:h,max:y,text:b}={}}=r===void 0?{}:r;if(Et(e),l!==void 0){var g;if(((g=Ue.roles.get(t))==null?void 0:g.props["aria-selected"])===void 0)throw new Error('"aria-selected" is not supported on role "'+t+'".')}if(u!==void 0){var T;if(((T=Ue.roles.get(t))==null?void 0:T.props["aria-busy"])===void 0)throw new Error('"aria-busy" is not supported on role "'+t+'".')}if(c!==void 0){var C;if(((C=Ue.roles.get(t))==null?void 0:C.props["aria-checked"])===void 0)throw new Error('"aria-checked" is not supported on role "'+t+'".')}if(s!==void 0){var E;if(((E=Ue.roles.get(t))==null?void 0:E.props["aria-pressed"])===void 0)throw new Error('"aria-pressed" is not supported on role "'+t+'".')}if(d!==void 0){var w;if(((w=Ue.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(m!==void 0){var _;if(((_=Ue.roles.get(t))==null?void 0:_.props["aria-valuenow"])===void 0)throw new Error('"aria-valuenow" is not supported on role "'+t+'".')}if(y!==void 0){var v;if(((v=Ue.roles.get(t))==null?void 0:v.props["aria-valuemax"])===void 0)throw new Error('"aria-valuemax" is not supported on role "'+t+'".')}if(h!==void 0){var O;if(((O=Ue.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 $;if((($=Ue.roles.get(t))==null?void 0:$.props["aria-valuetext"])===void 0)throw new Error('"aria-valuetext" is not supported on role "'+t+'".')}if(f!==void 0){var N;if(((N=Ue.roles.get(t))==null?void 0:N.props["aria-expanded"])===void 0)throw new Error('"aria-expanded" is not supported on role "'+t+'".')}let L=new WeakMap;function j(I){return L.has(I)||L.set(I,Qm(I)),L.get(I)}return Array.from(e.querySelectorAll(cq(t))).filter(I=>{if(I.hasAttribute("role")){let H=I.getAttribute("role");if(a)return H.split(" ").filter(Boolean).some(J=>J===t);let[V]=H.split(" ");return V===t}return Hl(I).some(H=>H===t)}).filter(I=>{if(l!==void 0)return l===jA(I);if(u!==void 0)return u===IA(I);if(c!==void 0)return c===LA(I);if(s!==void 0)return s===BA(I);if(d!==void 0)return d===DA(I);if(f!==void 0)return f===kA(I);if(p!==void 0)return p===FA(I);if(m!==void 0||y!==void 0||h!==void 0||b!==void 0){let V=!0;if(m!==void 0&&V&&(V=m===UA(I)),y!==void 0&&V&&(V=y===HA(I)),h!==void 0&&V&&(V=h===zA(I)),b!==void 0){var H;V&&(V=gt((H=VA(I))!=null?H:null,I,b,J=>J))}return V}return!0}).filter(I=>o===void 0?!0:gt(Bl(I,{computedStyleSupportsPseudoElements:Q().computedStyleSupportsPseudoElements}),I,o,H=>H)).filter(I=>i===void 0?!0:gt(Lm(I,{computedStyleSupportsPseudoElements:Q().computedStyleSupportsPseudoElements}),I,i,H=>H)).filter(I=>n===!1?No(I,{isSubtreeInaccessible:j})===!1:!0)};function cq(e){var t;let r='*[role~="'+e+'"]',n=(t=Ue.roleElements.get(e))!=null?t:new Set,o=new Set(Array.from(n).map(i=>{let{name:a}=i;return a}));return[r].concat(Array.from(o)).join(",")}var Fh=e=>{let t="";return e===void 0?t="":typeof e=="string"?t=' and name "'+e+'"':t=" and name `"+e+"`",t},dq=function(e,t,r){let{name:n}=r===void 0?{}:r;return'Found multiple elements with the role "'+t+'"'+Fh(n)},fq=function(e,t,r){let{hidden:n=Q().defaultHidden,name:o,description:i}=r===void 0?{}:r;if(Q()._disableExpensiveErrorDiagnostics)return'Unable to find role="'+t+'"'+Fh(o);let a="";Array.from(e.children).forEach(s=>{a+=eh(s,{hidden:n,includeDescription:i!==void 0})});let l;a.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
|
+
`+a.replace(/\n/g,`
|
|
212
|
+
`).replace(/\n\s\s\n/g,`
|
|
213
|
+
|
|
214
|
+
`)+`
|
|
215
|
+
`).trim();let u="";o===void 0?u="":typeof o=="string"?u=' and name "'+o+'"':u=" and name `"+o+"`";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()},Uh=je(ci,ci.name,"queryAll"),[Hh,zh,Vh,Gh,Wh]=wt(ci,dq,fq),Gl=()=>Q().testIdAttribute,di=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return Et(t[0]),Qt(Gl(),...t)},pq=(e,t)=>"Found multiple elements by: ["+Gl()+'="'+t+'"]',mq=(e,t)=>"Unable to find an element by: ["+Gl()+'="'+t+'"]',Kh=je(di,di.name,"queryAll"),[Yh,Jh,Xh,Qh,Zh]=wt(di,pq,mq),Zn=Object.freeze({__proto__:null,queryAllByLabelText:ch,queryByLabelText:oh,getAllByLabelText:sh,getByLabelText:uh,findAllByLabelText:ih,findByLabelText:lh,queryByPlaceholderText:fh,queryAllByPlaceholderText:dh,getByPlaceholderText:mh,getAllByPlaceholderText:ph,findAllByPlaceholderText:hh,findByPlaceholderText:bh,queryByText:yh,queryAllByText:gh,getByText:_h,getAllByText:vh,findAllByText:Eh,findByText:wh,queryByDisplayValue:Rh,queryAllByDisplayValue:Ch,getByDisplayValue:Ph,getAllByDisplayValue:Th,findAllByDisplayValue:Sh,findByDisplayValue:Oh,queryByAltText:qh,queryAllByAltText:Ah,getByAltText:Mh,getAllByAltText:xh,findAllByAltText:$h,findByAltText:Nh,queryByTitle:Ih,queryAllByTitle:jh,getByTitle:Bh,getAllByTitle:Lh,findAllByTitle:Dh,findByTitle:kh,queryByRole:Hh,queryAllByRole:Uh,getAllByRole:zh,getByRole:Vh,findAllByRole:Gh,findByRole:Wh,queryByTestId:Yh,queryAllByTestId:Kh,getByTestId:Xh,getAllByTestId:Jh,findAllByTestId:Qh,findByTestId:Zh});function fi(e,t,r){return t===void 0&&(t=Zn),r===void 0&&(r={}),Object.keys(t).reduce((n,o)=>{let i=t[o];return n[o]=i.bind(null,e),n},r)}var eb=e=>!e||Array.isArray(e)&&!e.length;function _c(e){if(eb(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 hq(e,t){let r=new Error("Timed out in waitForElementToBeRemoved.");if(typeof e!="function"){_c(e);let n=(Array.isArray(e)?e:[e]).map(o=>{let i=o.parentElement;if(i===null)return()=>null;for(;i.parentElement;)i=i.parentElement;return()=>i.contains(o)?o:null});e=()=>n.map(o=>o()).filter(Boolean)}return _c(e()),zl(()=>{let n;try{n=e()}catch(o){if(o.name==="TestingLibraryElementError")return;throw o}if(!eb(n))throw r},t)}var Ec={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}}},wc={doubleClick:"dblClick"};function un(e,t){return Q().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 In(e,t,r,n){let{EventType:o="Event",defaultInit:i={}}=n===void 0?{}:n;if(!t)throw new Error('Unable to fire a "'+e+'" event - please provide a DOM element.');let a={...i,...r},{target:{value:l,files:u,...c}={}}=a;l!==void 0&&bq(t,l),u!==void 0&&Object.defineProperty(t,"files",{configurable:!0,enumerable:!0,writable:!0,value:u}),Object.assign(t,c);let s=Gm(t),d=s[o]||s.Event,p;if(typeof d=="function")p=new d(e,a);else{p=s.document.createEvent(o);let{bubbles:f,cancelable:m,detail:h,...y}=a;p.initEvent(e,f,m,h),Object.keys(y).forEach(b=>{p[b]=y[b]})}return["dataTransfer","clipboardData"].forEach(f=>{let m=a[f];typeof m=="object"&&(typeof s.DataTransfer=="function"?Object.defineProperty(p,f,{value:Object.getOwnPropertyNames(m).reduce((h,y)=>(Object.defineProperty(h,y,{value:m[y]}),h),new s.DataTransfer)}):Object.defineProperty(p,f,{value:m}))}),p}Object.keys(Ec).forEach(e=>{let{EventType:t,defaultInit:r}=Ec[e],n=e.toLowerCase();In[e]=(o,i)=>In(n,o,i,{EventType:t,defaultInit:r}),un[e]=(o,i)=>un(o,In[e](o,i))});function bq(e,t){let{set:r}=Object.getOwnPropertyDescriptor(e,"value")||{},n=Object.getPrototypeOf(e),{set:o}=Object.getOwnPropertyDescriptor(n,"value")||{};if(o&&r!==o)o.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(wc).forEach(e=>{let t=wc[e];un[e]=function(){return un[t](...arguments)}});function gq(e){return e.replace(/[ \t]*[\n][ \t]*/g,`
|
|
219
|
+
`)}function yq(e){return sA.default.compressToEncodedURIComponent(gq(e))}function vq(e){return"https://testing-playground.com/#markup="+yq(e)}var _q=(e,t,r)=>Array.isArray(e)?e.forEach(n=>ni(n,t,r)):ni(e,t,r),Eq=function(e){if(e===void 0&&(e=Fl().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=vq(e.innerHTML);return console.log(`Open this URL in your browser
|
|
220
|
+
|
|
221
|
+
`+t),t},Cc={debug:_q,logTestingPlaygroundURL:Eq},wq=typeof document<"u"&&document.body?fi(document.body,Zn,Cc):Object.keys(Zn).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),Cc);function Y(e,t,r){return e.namespaceURI&&e.namespaceURI!=="http://www.w3.org/1999/xhtml"||(t=Array.isArray(t)?t:[t],!t.includes(e.tagName.toLowerCase()))?!1:r?Object.entries(r).every(([n,o])=>e[n]===o):!0}var pi;(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"})(pi||(pi={}));function tb(e){return Y(e,"button")||Y(e,"input")&&e.type in pi}function ot(e){var t;if(Cq(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 ${Rq(e)}`)}function Cq(e){return e.nodeType===9}function Rq(e){return typeof e=="function"?`function ${e.name}`:e===null?"null":String(e)}function rb(e,t){return new Promise((r,n)=>{let o=new t;o.onerror=n,o.onabort=n,o.onload=()=>{r(String(o.result))},o.readAsText(e)})}function Wl(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 nb=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)}},Tq=class extends Array{add(...e){let t=new nb(e[0],e[1]);return this.push(t),t}clear(){this.splice(0,this.length)}remove(e){this.splice(e,1)}};function Tn(e,t){let[r,n]=e.split("/"),o=!n||n==="*";return i=>t?i.type===(o?r:e):o?i.type.startsWith(`${r}/`):i.type===r}function Pq(e){return new class{getData(t){var r;let n=(r=this.items.find(Tn(t,!0)))!==null&&r!==void 0?r:this.items.find(Tn(t,!1)),o="";return n?.getAsString(i=>{o=i}),o}setData(t,r){let n=this.items.findIndex(Tn(t,!0)),o=new nb(r,t);n>=0?this.items.splice(n,1,o):this.items.push(o)}clearData(t){if(t){let r=this.items.findIndex(Tn(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 Tq),qt(this,"files",Wl(e,[]))}}}function Kl(e,t=[]){let r=typeof e.DataTransfer>"u"?Pq(e):new e.DataTransfer;return Object.defineProperty(r,"files",{get:()=>Wl(e,t)}),r}function Sq(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 ob(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ab(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 o=await this.data[n];if(!o)throw new Error(`${n} is not one of the available MIME types on this item.`);return o instanceof e.Blob?o:new e.Blob([o],{type:n})}constructor(n){ob(this,"data",void 0),this.data=n}}(r)}var wr=Symbol("Manage ClipboardSub");function Rc(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 o=n.types.includes("text/plain")?"text/plain":n.types.find(i=>i.startsWith("text/"));o&&(r+=await n.getType(o).then(i=>rb(i,e.FileReader)))}return r}async write(r){this.items=r}async writeText(r){this.items=[ab(e,r)]}constructor(...r){super(...r),ob(this,"items",[])}},{[wr]:t})}function Yl(e){return!!e?.[wr]}function Oq(e){if(Yl(e.navigator.clipboard))return e.navigator.clipboard[wr];let t=Object.getOwnPropertyDescriptor(e.navigator,"clipboard"),r,n={resetClipboardStub:()=>{r=Rc(e,n)},detachClipboardStub:()=>{t?Object.defineProperty(e.navigator,"clipboard",t):Object.defineProperty(e.navigator,"clipboard",{value:void 0,configurable:!0})}};return r=Rc(e,n),Object.defineProperty(e.navigator,"clipboard",{get:()=>r,configurable:!0}),r[wr]}function Aq(e){Yl(e.navigator.clipboard)&&e.navigator.clipboard[wr].resetClipboardStub()}function qq(e){Yl(e.navigator.clipboard)&&e.navigator.clipboard[wr].detachClipboardStub()}async function xq(e){let t=e.defaultView,r=t?.navigator.clipboard,n=r&&await r.read();if(!n)throw new Error("The Clipboard API is unavailable.");let o=Kl(t);for(let i of n)for(let a of i.types)o.setData(a,await i.getType(a).then(l=>rb(l,t.FileReader)));return o}async function ib(e,t){let r=ot(e),n=r.navigator.clipboard,o=[];for(let i=0;i<t.items.length;i++){let a=t.items[i],l=Sq(r,a);o.push(ab(r,l))}if(!(n&&await n.write(o).then(()=>!0,()=>!1)))throw new Error("The Clipboard API is unavailable.")}var eo=globalThis;typeof eo.afterEach=="function"&&eo.afterEach(()=>Aq(globalThis.window));typeof eo.afterAll=="function"&&eo.afterAll(()=>qq(globalThis.window));function Wt(e){return e.hasAttribute("contenteditable")&&(e.getAttribute("contenteditable")=="true"||e.getAttribute("contenteditable")=="")}function cn(e){let t=Mq(e);return t&&(t.closest('[contenteditable=""]')||t.closest('[contenteditable="true"]'))}function Mq(e){return e.nodeType===1?e:e.parentElement}function Cr(e){return lb(e)&&!e.readOnly||Wt(e)}var mi;(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"})(mi||(mi={}));function lb(e){return Y(e,"textarea")||Y(e,"input")&&e.type in mi}var hi;(function(e){e.email="email",e.password="password",e.search="search",e.telephone="telephone",e.text="text",e.url="url"})(hi||(hi={}));function $q(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 Nq(e){return Y(e,"textarea")||Y(e,"input")&&e.type in hi}var sb=["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 Jl(e){return e.matches(sb)}var to;(function(e){e["{"]="}",e["["]="]"})(to||(to={}));function ub(e,t){let r=0,n=e[r]in to?e[r]:"";r+=n.length;let o=new RegExp(`^\\${n}{2}`).test(e)?"":n;return{type:o,...o===""?jq(e,r,t):Iq(e,r,o,t)}}function jq(e,t,r){let n=e[t];return cb(n,e,t,r),t+=n.length,{consumedLength:t,descriptor:n,releasePrevious:!1,releaseSelf:!0,repeat:1}}function Iq(e,t,r,n){var o,i;let a=e[t]==="/"?"/":"";t+=a.length;let l=r==="{"&&e[t]==="\\";t+=Number(l);let u=l?e[t]:(o=e.slice(t).match(r==="{"?/^\w+|^[^}>/]/:/^\w+/))===null||o===void 0?void 0:o[0];cb(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=to[r],f=e[t]===p?p:"";if(!f)throw new Error(db([!s&&"repeat modifier",!d&&"release modifier",`"${p}"`].filter(Boolean).join(" or "),e[t],e,n));return t+=f.length,{consumedLength:t,descriptor:u,releasePrevious:!!a,repeat:s?Math.max(Number(s.substr(1)),1):1,releaseSelf:Lq(d,s)}}function cb(e,t,r,n){if(!e)throw new Error(db("key descriptor",t[r],t,n))}function Lq(e,t){if(e)return e==="/";if(t)return!1}function db(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 Bq(e){return new e.constructor(e.type,e)}var $e;(function(e){e[e.Trigger=2]="Trigger",e[e.Call=1]="Call"})($e||($e={}));function Ir(e,t){e.levelRefs[t]={}}function Pn(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(Y(r,["button","input","select","textarea","optgroup","option"])){if(r.hasAttribute("disabled"))return!0}else if(Y(r,"fieldset")){var t;if(r.hasAttribute("disabled")&&!(!((t=r.querySelector(":scope > legend"))===null||t===void 0)&&t.contains(e)))return!0}else if(r.tagName.includes("-")&&r.constructor.formAssociated&&r.hasAttribute("disabled"))return!0;return!1}function Lo(e){let t=e.activeElement;return t?.shadowRoot?Lo(t.shadowRoot):yt(t)?e.ownerDocument?e.ownerDocument.body:e.body:t}function ca(e){var t;return(t=Lo(e))!==null&&t!==void 0?t:e.body}function Dq(e,t){let r=e;do{if(t(r))return r;r=r.parentElement}while(r&&r!==e.ownerDocument.body)}function at(e){return fb(e)&&lb(e)}function kq(e){return fb(e)&&tb(e)}function fb(e){return e.nodeType===1}function Fq(e){let t=e.ownerDocument.getSelection();if(t?.focusNode&&at(e)){let n=cn(t.focusNode);if(n){if(!t.isCollapsed){var r;let o=((r=n.firstChild)===null||r===void 0?void 0:r.nodeType)===3?n.firstChild:n;t.setBaseAndExtent(o,0,o,0)}}else t.setBaseAndExtent(e,0,e,0)}}function Rr(e,t){return Q().eventWrapper(e)}function Nt(e){let t=Dq(e,Jl),r=Lo(e.ownerDocument);(t??e.ownerDocument.body)!==r&&(Rr(t?()=>t.focus():()=>r?.blur()),Fq(t??e.ownerDocument.body))}function Uq(e){!Jl(e)||Lo(e.ownerDocument)!==e||Rr(()=>e.blur())}var jt={};jt.click=(e,t,r)=>{let n=t.closest("button,input,label,select,textarea"),o=n&&Y(n,"label")&&n.control;if(o)return()=>{Jl(o)&&Nt(o),r.dispatchEvent(o,Bq(e))};if(Y(t,"input",{type:"file"}))return()=>{Uq(t),t.dispatchEvent(new(ot(t)).Event("fileDialog")),Nt(t)}};var Tr=Symbol("Displayed value in UI"),bt=Symbol("Displayed selection in UI"),ro=Symbol("Initial value to compare on blur");function Hq(e){return typeof e=="object"&&Tr in e}function zq(e){return!!e&&typeof e=="object"&&bt in e}function Vq(e,t){e[ro]===void 0&&(e[ro]=e.value),e[Tr]=t,e.value=Object.assign(new String(t),{[Tr]:!0})}function it(e){return e[Tr]===void 0?e.value:String(e[Tr])}function Xl(e){e[Tr]=void 0}function pb(e){e[ro]=void 0}function Gq(e){return e[ro]}function Wq(e,t){e[bt]=t}function xr(e,{focusOffset:t,anchorOffset:r=t},n="replace"){let o=it(e).length,i=d=>Math.max(0,Math.min(o,d)),a=n==="replace"||e[bt]===void 0?i(r):e[bt].anchorOffset,l=i(t),u=Math.min(a,l),c=Math.max(a,l);if(e[bt]={anchorOffset:a,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 dn(e){var t,r,n;let o=(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{...o,startOffset:Math.min(o.anchorOffset,o.focusOffset),endOffset:Math.max(o.anchorOffset,o.focusOffset)}}function Kq(e){return!!e[bt]}function Ln(e){e[bt]=void 0}var no=globalThis.parseInt;function Yq(e){let t=e.replace(/\D/g,"");if(t.length<2)return e;let r=no(t[0],10),n=no(t[1],10);if(r>=3||r===2&&n>=4){let o;return r>=3?o=1:o=2,Tc(t,o)}return e.length===2?e:Tc(t,2)}function Tc(e,t){let r=e.slice(0,t),n=Math.min(no(r,10),23),o=e.slice(t),i=no(o,10),a=Math.min(i,59);return`${n.toString().padStart(2,"0")}:${a.toString().padStart(2,"0")}`}function mb(e,t){let r=e.cloneNode();return r.value=t,r.value===t}function hb(e,t,r,n){if(Bn(e)&&t+r>=0&&t+r<=e.nodeValue.length)return{node:e,offset:t+r};let o=Pc(e,t,r);if(o){if(Bn(o))return{node:o,offset:r>0?Math.min(1,o.nodeValue.length):Math.max(o.nodeValue.length-1,0)};if(Y(o,"br")){let i=Pc(o,void 0,r);return i?Bn(i)?{node:i,offset:r>0?0:i.nodeValue.length}:r<0&&Y(i,"br")?{node:o.parentNode,offset:Sn(o)}:{node:i.parentNode,offset:Sn(i)+(r>0?0:1)}:r<0&&n==="deleteContentBackward"?{node:o.parentNode,offset:Sn(o)}:void 0}else return{node:o.parentNode,offset:Sn(o)+(r>0?1:0)}}}function Pc(e,t,r){let n=Number(t)+(r<0?-1:0);return t!==void 0&&Ql(e)&&n>=0&&n<e.children.length&&(e=e.children[n]),Xq(e,r===1?"next":"previous",Jq)}function Jq(e){if(Bn(e))return!0;if(Ql(e)){if(Y(e,["input","textarea"]))return e.type!=="hidden";if(Y(e,"br"))return!0}return!1}function Sn(e){let t=0;for(;e.previousSibling;)t++,e=e.previousSibling;return t}function Ql(e){return e.nodeType===1}function Bn(e){return e.nodeType===3}function Xq(e,t,r){for(;;){var n;let o=e[`${t}Sibling`];if(o){if(e=Qq(o,t==="next"?"first":"last"),r(e))return e}else if(e.parentNode&&(!Ql(e.parentNode)||!Wt(e.parentNode)&&e.parentNode!==((n=e.ownerDocument)===null||n===void 0?void 0:n.body)))e=e.parentNode;else break}}function Qq(e,t){for(;e.hasChildNodes();)e=e[`${t}Child`];return e}var fn=Symbol("Track programmatic changes for React workaround");function Zq(e){return Object.getOwnPropertyNames(e).some(t=>t.startsWith("__react"))&&ot(e).REACT_VERSION===17}function ex(e){Zq(e)&&(e[fn]={previousValue:String(e.value),tracked:[]})}function tx(e,t){var r,n;(n=e[fn])===null||n===void 0||(r=n.tracked)===null||r===void 0||r.push(t),e[fn]||(Xl(e),xr(e,{focusOffset:t.length}))}function rx(e,t){var r;let n=e[fn];if(e[fn]=void 0,!(!(n==null||(r=n.tracked)===null||r===void 0)&&r.length))return;let o=n.tracked.length===2&&n.tracked[0]===n.previousValue&&n.tracked[1]===e.value;o||Xl(e),Kq(e)&&xr(e,{focusOffset:o?t:e.value.length})}function bb(e){let t=nx(e);if(t&&at(t))return{type:"input",selection:dn(t)};let r=t?.ownerDocument.getSelection();return{type:cn(e)&&r?.anchorNode&&cn(r.anchorNode)?"contenteditable":"default",selection:r}}function nx(e){return e.nodeType===1?e:e.parentElement}function ox(e){let t=bb(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 o,i;if(bb(e).type==="input")return xr(e,{anchorOffset:n,focusOffset:t});(i=r.ownerDocument)===null||i===void 0||(o=i.getSelection())===null||o===void 0||o.setBaseAndExtent(r,n,e,t)}function gb(e){return Y(e,"input")&&["date","time"].includes(e.type)}function Pr(e,t,r,n="insertText"){let o=ox(t);o&&(!gb(t)&&!e.dispatchUIEvent(t,"beforeinput",{inputType:n,data:r})||("startContainer"in o?ax(e,t,o,r,n):ix(e,t,o,r,n)))}function ax(e,t,r,n,o){let i=!1;if(!r.collapsed)i=!0,r.deleteContents();else if(["deleteContentBackward","deleteContentForward"].includes(o)){let a=hb(r.startContainer,r.startOffset,o==="deleteContentBackward"?-1:1,o);if(a){i=!0;let l=r.cloneRange();l.comparePoint(a.node,a.offset)<0?l.setStart(a.node,a.offset):l.setEnd(a.node,a.offset),l.deleteContents()}}if(n)if(r.endContainer.nodeType===3){let a=r.endOffset;r.endContainer.insertData(a,n),r.setStart(r.endContainer,a+n.length),r.setEnd(r.endContainer,a+n.length)}else{let a=t.ownerDocument.createTextNode(n);r.insertNode(a),r.setStart(a,n.length),r.setEnd(a,n.length)}(i||n)&&e.dispatchUIEvent(t,"input",{inputType:o})}function ix(e,t,r,n,o){let i=n;if(Nq(t)){let c=$q(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:a,newOffset:l,oldValue:u}=lx(i,t,r,o);a===u&&l===r.startOffset&&l===r.endOffset||Y(t,"input",{type:"number"})&&!sx(a)||(Vq(t,a),Kt({focusNode:t,anchorOffset:l,focusOffset:l}),gb(t)?mb(t,a)&&(Sc(e,t,l,{}),e.dispatchUIEvent(t,"change"),pb(t)):Sc(e,t,l,{data:n,inputType:o}))}function lx(e,t,{startOffset:r,endOffset:n},o){let i=it(t),a=Math.max(0,r===n&&o==="deleteContentBackward"?r-1:r),l=i.substring(0,a),u=Math.min(i.length,r===n&&o==="deleteContentForward"?r+1:n),c=i.substring(u,i.length),s=`${l}${e}${c}`,d=a+e.length;if(Y(t,"input",{type:"time"})){let p=Yq(s);p!==""&&mb(t,p)&&(s=p,d=p.length)}return{oldValue:i,newValue:s,newOffset:d}}function Sc(e,t,r,n){e.dispatchUIEvent(t,"input",n),rx(t,r)}function sx(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 ux(e){return e?Wt(e)?e.textContent:it(e):null}function cx(e){let t=ot(e);for(let r=e;r?.ownerDocument;r=r.parentElement){let{display:n,visibility:o}=t.getComputedStyle(r);if(n==="none"||o==="hidden")return!1}return!0}function dx(e,t){let r=e.ownerDocument,n=r.querySelectorAll(sb),o=Array.from(n).filter(u=>u===e||!(Number(u.getAttribute("tabindex"))<0||yt(u)));Number(e.getAttribute("tabindex"))>=0&&o.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={},a=[r.body],l=Y(e,"input",{type:"radio"})?e.name:void 0;o.forEach(u=>{let c=u;if(Y(c,"input",{type:"radio"})&&c.name){if(c===e){a.push(c);return}else if(c.name===l)return;if(c.checked){a=a.filter(s=>!Y(s,"input",{type:"radio",name:c.name})),a.push(c),i[c.name]=c;return}if(typeof i[c.name]<"u")return}a.push(c)});for(let u=a.findIndex(c=>c===e);;)if(u+=t?-1:1,u===a.length?u=0:u===-1&&(u=a.length-1),a[u]===e||a[u]===r.body||cx(a[u]))return a[u]}function Oc(e,t){if(at(e)){let r=dn(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?.focusNode)return;if(r.isCollapsed){let n=hb(r.focusNode,r.focusOffset,t);n&&Kt({focusNode:n.node,focusOffset:n.offset})}else r[t<0?"collapseToStart":"collapseToEnd"]()}}function yb(e){if(at(e))return Kt({focusNode:e,anchorOffset:0,focusOffset:it(e).length});var t;let r=(t=cn(e))!==null&&t!==void 0?t:e.ownerDocument.body;Kt({focusNode:r,anchorOffset:0,focusOffset:r.childNodes.length})}function fx(e){if(at(e))return dn(e).startOffset===0&&dn(e).endOffset===it(e).length;var t;let r=(t=cn(e))!==null&&t!==void 0?t:e.ownerDocument.body,n=e.ownerDocument.getSelection();return n?.anchorNode===r&&n.focusNode===r&&n.anchorOffset===0&&n.focusOffset===r.childNodes.length}function Lr(e,t,r){var n;if(at(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 On(e,t,r){let n=ot(t),o=Array.from(t.ownerDocument.querySelectorAll(t.name?`input[type="radio"][name="${n.CSS.escape(t.name)}"]`:'input[type="radio"][name=""], input[type="radio"]:not([name])'));for(let i=o.findIndex(a=>a===t)+r;;i+=r){if(o[i]||(i=r>0?0:o.length-1),o[i]===t)return;yt(o[i])||(Nt(o[i]),e.dispatchUIEvent(o[i],"click"))}}jt.keydown=(e,t,r)=>{var n,o;return(o=(n=Ac[e.key])===null||n===void 0?void 0:n.call(Ac,e,t,r))!==null&&o!==void 0?o:px(e,t,r)};var Ac={ArrowDown:(e,t,r)=>{if(Y(t,"input",{type:"radio"}))return()=>On(r,t,-1)},ArrowLeft:(e,t,r)=>Y(t,"input",{type:"radio"})?()=>On(r,t,-1):()=>Oc(t,-1),ArrowRight:(e,t,r)=>Y(t,"input",{type:"radio"})?()=>On(r,t,1):()=>Oc(t,1),ArrowUp:(e,t,r)=>{if(Y(t,"input",{type:"radio"}))return()=>On(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(Y(t,["input","textarea"])||Wt(t))return()=>{var r,n;let o=(n=(r=ux(t))===null||r===void 0?void 0:r.length)!==null&&n!==void 0?n:0;Lr(t,o,o)}},Home:(e,t)=>{if(Y(t,["input","textarea"])||Wt(t))return()=>{Lr(t,0,0)}},PageDown:(e,t)=>{if(Y(t,["input"]))return()=>{let r=it(t).length;Lr(t,r,r)}},PageUp:(e,t)=>{if(Y(t,["input"]))return()=>{Lr(t,0,0)}},Tab:(e,t,r)=>()=>{let n=dx(t,r.system.keyboard.modifiers.Shift);Nt(n),at(n)&&xr(n,{anchorOffset:0,focusOffset:n.value.length})}},px=(e,t,r)=>{if(e.code==="KeyA"&&r.system.keyboard.modifiers.Control)return()=>yb(t)};jt.keypress=(e,t,r)=>{if(e.key==="Enter"){if(Y(t,"button")||Y(t,"input")&&mx.includes(t.type)||Y(t,"a")&&t.href)return()=>{r.dispatchUIEvent(t,"click")};if(Y(t,"input")){let n=t.form,o=n?.querySelector('input[type="submit"], button:not([type]), button[type="submit"]');return o?()=>r.dispatchUIEvent(o,"click"):n&&hx.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",o=e.key==="Enter"?`
|
|
224
|
+
`:e.key;return()=>Pr(r,t,o,n)}};var mx=["button","color","file","image","reset","submit"],hx=["email","month","password","search","tel","text","url","week"];jt.keyup=(e,t,r)=>{var n;return(n=qc[e.key])===null||n===void 0?void 0:n.call(qc,e,t,r)};var qc={" ":(e,t,r)=>{if(tb(t))return()=>r.dispatchUIEvent(t,"click")}};jt.paste=(e,t,r)=>{if(Cr(t))return()=>{var n;let o=(n=e.clipboardData)===null||n===void 0?void 0:n.getData("text");o&&Pr(r,t,o,"insertFromPaste")}};var vb={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 _b(e){return vb[e].EventType}var bx=["MouseEvent","PointerEvent"];function gx(e){return bx.includes(_b(e))}function yx(e){return _b(e)==="KeyboardEvent"}var vx={ClipboardEvent:[Ex],Event:[],InputEvent:[An,wx],MouseEvent:[An,da,xc],PointerEvent:[An,da,xc,Rx],KeyboardEvent:[An,da,Cx]};function Eb(e,t,r){let n=ot(t),{EventType:o,defaultInit:i}=vb[e],a=new(_x(n))[o](e,i);return vx[o].forEach(l=>l(a,r??{})),a}function _x(e){var t;let r=(t=e.Event)!==null&&t!==void 0?t:class{};var n;let o=(n=e.AnimationEvent)!==null&&n!==void 0?n:class extends r{};var i;let a=(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 m=(f=e.UIEvent)!==null&&f!==void 0?f:class extends r{};var h;let y=(h=e.CompositionEvent)!==null&&h!==void 0?h:class extends m{};var b;let g=(b=e.FocusEvent)!==null&&b!==void 0?b:class extends m{};var T;let C=(T=e.InputEvent)!==null&&T!==void 0?T:class extends m{};var E;let w=(E=e.KeyboardEvent)!==null&&E!==void 0?E:class extends m{};var _;let v=(_=e.MouseEvent)!==null&&_!==void 0?_:class extends m{};var O;let $=(O=e.DragEvent)!==null&&O!==void 0?O:class extends v{};var N;let L=(N=e.PointerEvent)!==null&&N!==void 0?N:class extends v{};var j;let I=(j=e.TouchEvent)!==null&&j!==void 0?j:class extends m{};return{Event:r,AnimationEvent:o,ClipboardEvent:a,PopStateEvent:u,ProgressEvent:s,TransitionEvent:p,UIEvent:m,CompositionEvent:y,FocusEvent:g,InputEvent:C,KeyboardEvent:w,MouseEvent:v,DragEvent:$,PointerEvent:L,TouchEvent:I}}function Zt(e,t){for(let[r,n]of Object.entries(t))Object.defineProperty(e,r,{get:()=>n??null})}function Ee(e){return Number(e??0)}function Ex(e,{clipboardData:t}){Zt(e,{clipboardData:t})}function wx(e,{data:t,inputType:r,isComposing:n}){Zt(e,{data:t,isComposing:!!n,inputType:String(r)})}function An(e,{view:t,detail:r}){Zt(e,{view:t,detail:Ee(r??0)})}function da(e,{altKey:t,ctrlKey:r,metaKey:n,shiftKey:o,modifierAltGraph:i,modifierCapsLock:a,modifierFn:l,modifierFnLock:u,modifierNumLock:c,modifierScrollLock:s,modifierSymbol:d,modifierSymbolLock:p}){Zt(e,{altKey:!!t,ctrlKey:!!r,metaKey:!!n,shiftKey:!!o,getModifierState(f){return!!{Alt:t,AltGraph:i,CapsLock:a,Control:r,Fn:l,FnLock:u,Meta:n,NumLock:c,ScrollLock:s,Shift:o,Symbol:d,SymbolLock:p}[f]}})}function Cx(e,{key:t,code:r,location:n,repeat:o,isComposing:i,charCode:a}){Zt(e,{key:String(t),code:String(r),location:Ee(n),repeat:!!o,isComposing:!!i,charCode:a})}function xc(e,{x:t,y:r,screenX:n,screenY:o,clientX:i=t,clientY:a=r,button:l,buttons:u,relatedTarget:c}){Zt(e,{screenX:Ee(n),screenY:Ee(o),clientX:Ee(i),x:Ee(i),clientY:Ee(a),y:Ee(a),button:Ee(l),buttons:Ee(u),relatedTarget:c})}function Rx(e,{pointerId:t,width:r,height:n,pressure:o,tangentialPressure:i,tiltX:a,tiltY:l,twist:u,pointerType:c,isPrimary:s}){Zt(e,{pointerId:Ee(t),width:Ee(r),height:Ee(n),pressure:Ee(o),tangentialPressure:Ee(i),tiltX:Ee(a),tiltY:Ee(l),twist:Ee(u),pointerType:String(c),isPrimary:!!s})}function Tx(e,t,r,n=!1){(gx(t)||yx(t))&&(r={...r,...this.system.getUIEventModifiers()});let o=Eb(t,e,r);return wb.call(this,e,o,n)}function wb(e,t,r=!1){var n;let o=t.type,i=r?()=>{}:(n=jt[o])===null||n===void 0?void 0:n.call(jt,t,e,this);if(i){t.preventDefault();let a=!1;return Object.defineProperty(t,"defaultPrevented",{get:()=>a}),Object.defineProperty(t,"preventDefault",{value:()=>{a=t.cancelable}}),Rr(()=>e.dispatchEvent(t)),a||i(),!a}return Rr(()=>e.dispatchEvent(t))}function Px(e,t,r){let n=Eb(t,e,r);Rr(()=>e.dispatchEvent(n))}var fa=Symbol("Interceptor for programmatical calls");function ur(e,t,r){let n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),o=Object.getOwnPropertyDescriptor(e,t),i=n?.set?"set":"value";if(typeof n?.[i]!="function"||n[i][fa])throw new Error(`Element ${e.tagName} does not implement "${String(t)}".`);function a(...l){let{applyNative:u=!1,realArgs:c,then:s}=r.call(this,...l),d=(!u&&o||n)[i];i==="set"?d.call(this,c):d.call(this,...c),s?.()}a[fa]=fa,Object.defineProperty(e,t,{...o??n,[i]:a})}function Sx(e){ur(e,"value",function(t){let r=Hq(t);return r&&ex(this),{applyNative:!!r,realArgs:Ox(this,t),then:r?void 0:()=>tx(this,String(t))}})}function Ox(e,t){return Y(e,"input",{type:"number"})&&String(t)!==""&&!Number.isNaN(Number(t))?String(Number(t)):String(t)}function Ax(e){ur(e,"setSelectionRange",function(t,...r){let n=zq(t);return{applyNative:!!n,realArgs:[Number(t),...r],then:()=>n?void 0:Ln(e)}}),ur(e,"selectionStart",function(t){return{realArgs:t,then:()=>Ln(e)}}),ur(e,"selectionEnd",function(t){return{realArgs:t,then:()=>Ln(e)}}),ur(e,"select",function(){return{realArgs:[],then:()=>Wq(e,{anchorOffset:0,focusOffset:it(e).length})}})}function qx(e){ur(e,"setRangeText",function(...t){return{realArgs:t,then:()=>{Xl(e),Ln(e)}}})}var fr=Symbol("Node prepared with document state workarounds");function Cb(e){e[fr]||(e.addEventListener("focus",t=>{let r=t.target;Mc(r)},{capture:!0,passive:!0}),e.activeElement&&Mc(e.activeElement),e.addEventListener("blur",t=>{let r=t.target,n=Gq(r);n!==void 0&&(r.value!==n&&Px(r,"change"),pb(r))},{capture:!0,passive:!0}),e[fr]=fr)}function Mc(e){e[fr]||(Y(e,["input","textarea"])&&(Sx(e),Ax(e),qx(e)),e[fr]=fr)}function xx(e){return Mx(e)?e:e.ownerDocument}function Mx(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 He;(function(e){e[e.STANDARD=0]="STANDARD",e[e.LEFT=1]="LEFT",e[e.RIGHT=2]="RIGHT",e[e.NUMPAD=3]="NUMPAD"})(He||(He={}));var $x=["Alt","AltGraph","Control","Fn","Meta","Shift","Symbol"];function $c(e){return $x.includes(e)}var Nx=["CapsLock","FnLock","NumLock","ScrollLock","SymbolLock"];function Nc(e){return Nx.includes(e)}var jx=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,o;let i=String(t.key),a=String(t.code),l=ca(e.config.document);this.setKeydownTarget(l);var u;(u=(r=this.pressed)[n=a])!==null&&u!==void 0||(r[n]={keyDef:t,unpreventedDefault:!1}),$c(i)&&(this.modifiers[i]=!0);let c=e.dispatchUIEvent(l,"keydown",{key:i,code:a});Nc(i)&&!this.modifiers[i]&&(this.modifiers[i]=!0,this.modifierLockStart[i]=!0),(o=this.pressed[a]).unpreventedDefault||(o.unpreventedDefault=c),c&&this.hasKeyPress(i)&&e.dispatchUIEvent(ca(e.config.document),"keypress",{key:i,code:a,charCode:t.key==="Enter"?13:String(t.key).charCodeAt(0)})}async keyup(e,t){let r=String(t.key),n=String(t.code),o=this.pressed[n].unpreventedDefault;delete this.pressed[n],$c(r)&&!Object.values(this.pressed).find(i=>i.keyDef.key===r)&&(this.modifiers[r]=!1),e.dispatchUIEvent(ca(e.config.document),"keyup",{key:r,code:n},!o),Nc(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}},Ix=[..."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:He.LEFT},{code:"AltRight",key:"Alt",location:He.RIGHT},{code:"ShiftLeft",key:"Shift",location:He.LEFT},{code:"ShiftRight",key:"Shift",location:He.RIGHT},{code:"ControlLeft",key:"Control",location:He.LEFT},{code:"ControlRight",key:"Control",location:He.RIGHT},{code:"MetaLeft",key:"Meta",location:He.LEFT},{code:"MetaRight",key:"Meta",location:He.RIGHT},{code:"OSLeft",key:"OS",location:He.LEFT},{code:"OSRight",key:"OS",location:He.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"}],Lx=[{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 Bx(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Rb=class{getButtons(){let e=0;for(let t of Object.keys(this.pressed))e|=2**Number(t);return e}down(e){let t=bi(e.button);if(t in this.pressed){this.pressed[t].push(e);return}return this.pressed[t]=[e],t}up(e){let t=bi(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(){Bx(this,"pressed",{})}},jc={primary:0,secondary:1,auxiliary:2,back:3,X1:3,forward:4,X2:4};function bi(e=0){return e in jc?jc[e]:Number(e)}var Ic={1:2,2:1};function Lc(e){return e=bi(e),e in Ic?Ic[e]:e}function Dx(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var kx=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(){Dx(this,"pressedKeys",new Set)}};function zr(e,t){let r=[];for(let i=e;i;i=i.parentElement)r.push(i);let n=[];for(let i=t;i;i=i.parentElement)n.push(i);let o=0;for(;!(o>=r.length||o>=n.length||r[r.length-1-o]!==n[n.length-1-o]);o++);return[r.slice(0,r.length-o),n.slice(0,n.length-o),n.slice(n.length-o)]}function gi({target:e,node:t,offset:r}){return at(e)?{node:e,offset:r??it(e).length}:t?{node:t,offset:r??(t.nodeType===3?t.nodeValue.length:t.childNodes.length)}:Tb(e,r)}function Tb(e,t,r=!0){let n=t===void 0?e.childNodes.length-1:0,o=t===void 0?-1:1;for(;t===void 0?n>=(r?Math.max(e.childNodes.length-1,0):0):n<=e.childNodes.length;){if(t&&n===e.childNodes.length)throw new Error("The given offset is out of bounds.");let i=e.childNodes.item(n),a=String(i.textContent);if(a.length)if(t!==void 0&&a.length<t)t-=a.length;else{if(i.nodeType===1)return Tb(i,t,!1);if(i.nodeType===3)return{node:i,offset:t??i.nodeValue.length}}n+=o}return{node:e,offset:e.childNodes.length}}function Fx({document:e,target:t,clickCount:r,node:n,offset:o}){if(kq(t))return;let i=at(t),a=String(i?it(t):t.textContent),[l,u]=n?[o,o]:Ux(a,o,r);if(i)return xr(t,{anchorOffset:l??a.length,focusOffset:u??a.length}),{node:t,start:l??0,end:u??a.length};{let{node:c,offset:s}=gi({target:t,node:n,offset:l}),{node:d,offset:p}=gi({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 m=e.getSelection();return m?.removeAllRanges(),m?.addRange(f.cloneRange()),f}}function Ux(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 Hx(e,{document:t,target:r,node:n,offset:o}){let i=gi({target:r,node:n,offset:o});if("node"in e){if(i.node===e.node){let a=i.offset<e.start?e.end:e.start,l=i.offset>e.end||i.offset<e.start?i.offset:e.end;xr(e.node,{anchorOffset:a,focusOffset:l})}}else{let a=e.cloneRange(),l=a.comparePoint(i.node,i.offset);l<0?a.setStart(i.node,i.offset):l>0&&a.setEnd(i.node,i.offset);let u=t.getSelection();u?.removeAllRanges(),u?.addRange(a.cloneRange())}}function Pb(e,t){var r,n,o,i,a,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)||((o=e.coords)===null||o===void 0?void 0:o.y)!==((i=t.coords)===null||i===void 0?void 0:i.y)||((a=e.caret)===null||a===void 0?void 0:a.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 Dt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var zx=class{move(e,t){let r=this.position,n=this.getTarget(e);if(this.position=t,!Pb(r,t))return;let o=this.getTarget(e),i=this.getEventInit("mousemove"),[a,l]=zr(n,o);return{leave:()=>{n!==o&&(e.dispatchUIEvent(n,"mouseout",i),a.forEach(u=>e.dispatchUIEvent(u,"mouseleave",i)))},enter:()=>{n!==o&&(e.dispatchUIEvent(o,"mouseover",i),l.forEach(u=>e.dispatchUIEvent(u,"mouseenter",i)))},move:()=>{e.dispatchUIEvent(o,"mousemove",i),this.modifySelecting(e)}}}down(e,t,r){let n=this.buttons.down(t);if(n===void 0)return;let o=this.getTarget(e);this.buttonDownTarget[n]=o;let i=yt(o),a=this.getEventInit("mousedown",t.button);(i||e.dispatchUIEvent(o,"mousedown",a))&&(this.startSelecting(e,a.detail),Nt(o)),!i&&Lc(t.button)===2&&e.dispatchUIEvent(o,"contextmenu",this.getEventInit("contextmenu",t.button,r))}up(e,t,r){let n=this.buttons.up(t);if(n===void 0)return;let o=this.getTarget(e);if(!yt(o)){e.dispatchUIEvent(o,"mouseup",this.getEventInit("mouseup",t.button)),this.endSelecting();let i=zr(this.buttonDownTarget[n],o)[2][0];if(i){let a=this.getEventInit("click",t.button,r);a.detail&&(e.dispatchUIEvent(i,a.button===0?"click":"auxclick",a),a.button===0&&a.detail===2&&e.dispatchUIEvent(i,"dblclick",{...this.getEventInit("dblclick",t.button),detail:a.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=Lc(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=Fx({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&&Hx(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(){Dt(this,"position",{}),Dt(this,"buttons",new Rb),Dt(this,"selecting",void 0),Dt(this,"buttonDownTarget",{}),Dt(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(){Dt(this,"down",{}),Dt(this,"count",{})}})}};function oo(e,t){var r;return((r=Sb(e,t))===null||r===void 0?void 0:r.pointerEvents)!=="none"}function Vx(e){let t=ot(e);for(let r=e,n=[];r?.ownerDocument;r=r.parentElement){n.push(r);let o=t.getComputedStyle(r).pointerEvents;if(o&&!["inherit","unset"].includes(o))return{pointerEvents:o,tree:n}}}var Bc=Symbol("Last check for pointer-events");function Sb(e,t){let r=t[Bc];if(!(e.config.pointerEventsCheck!==dr.Never&&(!r||Dc(e.config.pointerEventsCheck,dr.EachApiCall)&&r[$e.Call]!==Pn(e,$e.Call)||Dc(e.config.pointerEventsCheck,dr.EachTrigger)&&r[$e.Trigger]!==Pn(e,$e.Trigger))))return r?.result;let n=Vx(t);return t[Bc]={[$e.Call]:Pn(e,$e.Call),[$e.Trigger]:Pn(e,$e.Trigger),result:n},n}function Br(e,t){let r=Sb(e,t);if(r?.pointerEvents==="none")throw new Error([`Unable to perform pointer interaction as the element ${r.tree.length>1?"inherits":"has"} \`pointer-events: none\`:`,"",Gx(r.tree)].join(`
|
|
225
|
+
`))}function Gx(e){return e.reverse().map((t,r)=>["".padEnd(r),t.tagName,t.id&&`#${t.id}`,t.hasAttribute("data-testid")&&`(testId=${t.getAttribute("data-testid")})`,Wx(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 Wx(e){var t;let r;if(e.hasAttribute("aria-label"))r=e.getAttribute("aria-label");else if(e.hasAttribute("aria-labelledby")){var n,o;r=(o=e.ownerDocument.getElementById(e.getAttribute("aria-labelledby")))===null||o===void 0||(n=o.textContent)===null||n===void 0?void 0:n.trim()}else if(Y(e,["button","input","meter","output","progress","select","textarea"])&&!((t=e.labels)===null||t===void 0)&&t.length)r=Array.from(e.labels).map(a=>{var l;return(l=a.textContent)===null||l===void 0?void 0:l.trim()}).join("|");else if(Y(e,"button")){var i;r=(i=e.textContent)===null||i===void 0?void 0:i.trim()}return r=r?.replace(/\n/g," "),Number(r?.length)>30&&(r=`${r?.substring(0,29)}…`),r?`(label=${r})`:""}function Dc(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 kc=class{init(e,t){this.position=t;let r=this.getTarget(e),[,n]=zr(null,r),o=this.getEventInit();return Br(e,r),e.dispatchUIEvent(r,"pointerover",o),n.forEach(i=>e.dispatchUIEvent(i,"pointerenter",o)),this}move(e,t){let r=this.position,n=this.getTarget(e);if(this.position=t,!Pb(r,t))return;let o=this.getTarget(e),i=this.getEventInit(),[a,l]=zr(n,o);return{leave:()=>{oo(e,n)&&n!==o&&(e.dispatchUIEvent(n,"pointerout",i),a.forEach(u=>e.dispatchUIEvent(u,"pointerleave",i)))},enter:()=>{Br(e,o),n!==o&&(e.dispatchUIEvent(o,"pointerover",i),l.forEach(u=>e.dispatchUIEvent(u,"pointerenter",i)))},move:()=>{e.dispatchUIEvent(o,"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]=zr(t,null),n=this.getEventInit();oo(e,t)&&(e.dispatchUIEvent(t,"pointerout",n),r.forEach(o=>e.dispatchUIEvent(o,"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 Kx=class{isKeyPressed(e){return this.devices.get(e.pointerType).isPressed(e)}async press(e,t,r){let n=this.getPointerName(t),o=t.pointerType==="touch"?this.pointers.new(n,t).init(e,r):this.pointers.get(n);o.position=r,o.pointerType!=="touch"&&(this.mouse.position=r),this.devices.get(t.pointerType).addPressed(t),this.buttons.down(t),o.down(e,t),o.pointerType!=="touch"&&!o.isPrevented&&this.mouse.down(e,t,o)}async move(e,t,r){let n=this.pointers.get(t),o=n.move(e,r),i=n.pointerType==="touch"||n.isPrevented&&n.isDown?void 0:this.mouse.move(e,r);o?.leave(),i?.leave(),o?.enter(),i?.enter(),o?.move(),i?.move()}async release(e,t,r){let n=this.devices.get(t.pointerType);n.removePressed(t),this.buttons.up(t);let o=this.pointers.get(this.getPointerName(t));if(o.position=r,o.pointerType!=="touch"&&(this.mouse.position=r),n.countPressed===0&&o.up(e,t),o.pointerType==="touch"&&o.release(e),!o.isPrevented){if(o.pointerType==="touch"&&!o.isMultitouch){let i=this.mouse.move(e,o.position);i?.leave(),i?.enter(),i?.move(),this.mouse.down(e,t,o)}if(!o.isMultitouch){let i=this.mouse.move(e,o.position);i?.leave(),i?.enter(),i?.move(),this.mouse.up(e,t,o)}}}getPointerName(e){return e.pointerType==="touch"?e.name:e.pointerType}getPreviousPosition(e){return this.pointers.has(e)?this.pointers.get(e).position:void 0}resetClickCount(){this.mouse.resetClickCount()}getMouseTarget(e){var t;return(t=this.mouse.position.target)!==null&&t!==void 0?t:e.config.document.body}setMousePosition(e){this.mouse.position=e,this.pointers.get("mouse").position=e}constructor(e){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,o;return(o=(r=this.registry)[n=t])!==null&&o!==void 0||(r[n]=new kx),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(o=>o.pointerType==="touch"&&!o.isCancelled);return n||Object.values(this.registry).forEach(o=>{o.pointerType===r.pointerType&&!o.isCancelled&&(o.isMultitouch=!0)}),this.registry[t]=new kc({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 kc({pointerId:1,pointerType:"mouse",isPrimary:!0})}),Pt(this,"nextId",2)}}),this.system=e,this.buttons=new Rb,this.mouse=new zx}};function Fc(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Ob=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(){Fc(this,"keyboard",new jx(this)),Fc(this,"pointer",new Kx(this))}};async function Yx(e){let t=[];return this.config.skipHover||t.push({target:e}),t.push({keys:"[MouseLeft]",target:e}),this.pointer(t)}async function Jx(e){return this.pointer([{target:e},"[MouseLeft][MouseLeft]"])}async function Xx(e){return this.pointer([{target:e},"[MouseLeft][MouseLeft][MouseLeft]"])}async function Qx(e){return this.pointer({target:e})}async function Zx(e){return Br(this,this.system.pointer.getMouseTarget(this)),this.pointer({target:e.ownerDocument.body})}async function eM({shift:e}={}){return this.keyboard(e===!0?"{Shift>}{Tab}{/Shift}":e===!1?"[/ShiftLeft][/ShiftRight]{Tab}":"{Tab}")}function tM(e,t){let r=[];do{let{type:o,descriptor:i,consumedLength:a,releasePrevious:l,releaseSelf:u=!0,repeat:c}=ub(t,"keyboard");var n;let s=(n=e.find(d=>{if(o==="["){var p;return((p=d.code)===null||p===void 0?void 0:p.toLowerCase())===i.toLowerCase()}else if(o==="{"){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",[o==="["?"code":"key"]:i};r.push({keyDef:s,releasePrevious:l,releaseSelf:u,repeat:c}),t=t.slice(a)}while(t);return r}async function rM(e){let t=tM(this.config.keyboardMap,e);for(let r=0;r<t.length;r++)await Sr(this.config),await nM(this,t[r])}async function nM(e,{keyDef:t,releasePrevious:r,releaseSelf:n,repeat:o}){let{system:i}=e;if(i.keyboard.isKeyPressed(t)&&await i.keyboard.keyup(e,t),!r){for(let a=1;a<=o;a++)await i.keyboard.keydown(e,t),a<o&&await Sr(e.config);n&&await i.keyboard.keyup(e,t)}}async function oM(e){for(let t of e.system.keyboard.getPressedKeys())await e.system.keyboard.keyup(e,t)}function Ab(e){let t=at(e)?{"text/plain":aM(e)}:{"text/plain":String(e.ownerDocument.getSelection())},r=Kl(ot(e));for(let n in t)t[n]&&r.setData(n,t[n]);return r}function aM(e){let t=dn(e);return it(e).substring(t.startOffset,t.endOffset)}async function iM(){let e=this.config.document;var t;let r=(t=e.activeElement)!==null&&t!==void 0?t:e.body,n=Ab(r);if(n.items.length!==0)return this.dispatchUIEvent(r,"copy",{clipboardData:n})&&this.config.writeToClipboard&&await ib(e,n),n}async function lM(){let e=this.config.document;var t;let r=(t=e.activeElement)!==null&&t!==void 0?t:e.body,n=Ab(r);if(n.items.length!==0)return this.dispatchUIEvent(r,"cut",{clipboardData:n})&&this.config.writeToClipboard&&await ib(r.ownerDocument,n),n}async function sM(e){let t=this.config.document;var r;let n=(r=t.activeElement)!==null&&r!==void 0?r:t.body;var o;let i=(o=typeof e=="string"?uM(t,e):e)!==null&&o!==void 0?o:await xq(t).catch(()=>{throw new Error("`userEvent.paste()` without `clipboardData` requires the `ClipboardAPI` to be available.")});this.dispatchUIEvent(n,"paste",{clipboardData:i})}function uM(e,t){let r=Kl(ot(e));return r.setData("text",t),r}function Uc(e,t){let r=[];do{let{descriptor:n,consumedLength:o,releasePrevious:i,releaseSelf:a=!0}=ub(t,"pointer"),l=e.find(u=>u.name===n);l&&r.push({keyDef:l,releasePrevious:i,releaseSelf:a}),t=t.slice(o)}while(t);return r}async function cM(e){let{pointerMap:t}=this.config,r=[];(Array.isArray(e)?e:[e]).forEach(n=>{typeof n=="string"?r.push(...Uc(t,n)):"keys"in n?r.push(...Uc(t,n.keys).map(o=>({...n,...o}))):r.push(n)});for(let n=0;n<r.length;n++)await Sr(this.config),await dM(this,r[n]);this.system.pointer.resetClickCount()}async function dM(e,t){var r,n;let o="pointerName"in t&&t.pointerName?t.pointerName:"keyDef"in t?e.system.pointer.getPointerName(t.keyDef):"mouse",i=e.system.pointer.getPreviousPosition(o);var a,l,u,c;let s={target:(a=t.target)!==null&&a!==void 0?a:fM(e,i),coords:(l=t.coords)!==null&&l!==void 0?l:i?.coords,caret:{node:(u=t.node)!==null&&u!==void 0?u:Hc(t)||i==null||(r=i.caret)===null||r===void 0?void 0:r.node,offset:(c=t.offset)!==null&&c!==void 0?c:Hc(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,$e.Trigger),await e.system.pointer.release(e,t.keyDef,s)),t.releasePrevious||(Ir(e,$e.Trigger),await e.system.pointer.press(e,t.keyDef,s),t.releaseSelf&&(Ir(e,$e.Trigger),await e.system.pointer.release(e,t.keyDef,s)))):(Ir(e,$e.Trigger),await e.system.pointer.move(e,o,s))}function Hc(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 fM(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 pM(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(yb(e),!fx(e))throw new Error("The element content to be cleared could not be selected.");Pr(this,e,"","deleteContentBackward")}async function mM(e,t){return qb.call(this,!0,e,t)}async function hM(e,t){return qb.call(this,!1,e,t)}async function qb(e,t,r){if(!e&&!t.multiple)throw Q().getElementError("Unable to deselect an option in a non-multiple select. Use selectOptions to change the selection instead.",t);let n=Array.isArray(r)?r:[r],o=Array.from(t.querySelectorAll('option, [role="option"]')),i=n.map(l=>{if(typeof l!="string"&&o.includes(l))return l;{let u=o.find(c=>c.value===l||c.innerHTML===l);if(u)return u;throw Q().getElementError(`Value "${String(l)}" not found in options`,t)}}).filter(l=>!yt(l));if(yt(t)||!i.length)return;let a=l=>{l.selected=e,this.dispatchUIEvent(t,"input",{bubbles:!0,cancelable:!1,composed:!0}),this.dispatchUIEvent(t,"change")};if(Y(t,"select"))if(t.multiple)for(let l of i){let u=this.config.pointerEventsCheck===0?!0:oo(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")),a(l),u&&this.dispatchUIEvent(l,"click"),await Sr(this.config)}else if(i.length===1){let l=this.config.pointerEventsCheck===0?!0:oo(this,t);l?await this.click(t):Nt(t),a(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 Q().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 Q().getElementError("Cannot select options on elements that are neither select nor listbox elements",t)}async function bM(e,t,{skipClick:r=this.config.skipClick,skipAutoClose:n=this.config.skipAutoClose,initialSelectionStart:o,initialSelectionEnd:i}={}){e.disabled||(r||await this.click(e),o!==void 0&&Lr(e,o,i??o),await this.keyboard(t),n||await oM(this))}var zc=Symbol("files and value properties are mocked");function pa(e,t,r){r?Object.defineProperty(e,t,r):delete e[t]}function gM(e,t){var r;(r=e[zc])===null||r===void 0||r.restore();let n=Object.getOwnPropertyDescriptor(e,"type"),o=Object.getOwnPropertyDescriptor(e,"value"),i=Object.getOwnPropertyDescriptor(e,"files");function a(){pa(e,"type",n),pa(e,"value",o),pa(e,"files",i)}e[zc]={restore:a},Object.defineProperties(e,{files:{configurable:!0,get:()=>t},value:{configurable:!0,get:()=>t.length?`C:\\fakepath\\${t[0].name}`:"",set(l){if(l==="")a();else{var u;o==null||(u=o.set)===null||u===void 0||u.call(e,l)}}},type:{configurable:!0,get:()=>"file",set(l){l!=="file"&&(a(),e.type=l)}}})}async function yM(e,t){let r=Y(e,"label")?e.control:e;if(!r||!Y(r,"input",{type:"file"}))throw new TypeError(`The ${r===e?"given":"associated"} ${r?.tagName} element does not accept file uploads`);if(yt(e))return;let n=(Array.isArray(t)?t:[t]).filter(i=>!this.config.applyAccept||vM(i,r.accept)).slice(0,r.multiple?void 0:1),o=()=>{var i;n.length===((i=r.files)===null||i===void 0?void 0:i.length)&&n.every((a,l)=>{var u;return a===((u=r.files)===null||u===void 0?void 0:u.item(l))})||(gM(r,Wl(ot(e),n)),this.dispatchUIEvent(r,"input"),this.dispatchUIEvent(r,"change"))};r.addEventListener("fileDialog",o),await this.click(e),r.removeEventListener("fileDialog",o)}function vM(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 Vc={click:Yx,dblClick:Jx,tripleClick:Xx,hover:Qx,unhover:Zx,tab:eM,keyboard:rM,copy:iM,cut:lM,paste:sM,pointer:cM,clear:pM,deselectOptions:hM,selectOptions:mM,type:bM,upload:yM};function _M(e){return Q().asyncWrapper(e)}var xb={applyAccept:!0,autoModify:!0,delay:0,document:globalThis.document,keyboardMap:Ix,pointerMap:Lx,pointerEventsCheck:dr.EachApiCall,skipAutoClose:!1,skipClick:!1,skipHover:!1,writeToClipboard:!1,advanceTimers:()=>Promise.resolve()},EM={...xb,writeToClipboard:!0};function Mb(e={},t=EM,r){let n=TM(e,r,t);return{...t,...e,document:n}}function wM(e={}){let t=Mb(e);Cb(t.document);var r;let n=(r=t.document.defaultView)!==null&&r!==void 0?r:globalThis.window;return Oq(n),Zl(t).api}function xe({keyboardState:e,pointerState:t,...r}={},n){let o=Mb(r,xb,n);Cb(o.document);var i;let a=(i=t??e)!==null&&i!==void 0?i:new Ob;return{api:Zl(o,a).api,system:a}}function CM(e){return Zl({...this.config,...e},this.system).api}function RM(e,t){function r(...n){return Ir(e,$e.Call),_M(()=>t.apply(e,n).then(async o=>(await Sr(e.config),o)))}return Object.defineProperty(r,"name",{get:()=>t.name}),r}function Zl(e,t=new Ob){let r={};return Object.assign(r,{config:e,dispatchEvent:wb.bind(r),dispatchUIEvent:Tx.bind(r),system:t,levelRefs:{},...Vc}),{instance:r,api:{...Object.fromEntries(Object.entries(Vc).map(([n,o])=>[n,RM(r,o)])),setup:CM.bind(r)}}}function TM(e,t,r){var n,o;return(o=(n=e.document)!==null&&n!==void 0?n:t&&xx(t))!==null&&o!==void 0?o:r.document}var $b={};Mi($b,{clear:()=>PM,click:()=>SM,copy:()=>OM,cut:()=>AM,dblClick:()=>qM,deselectOptions:()=>xM,hover:()=>MM,keyboard:()=>$M,paste:()=>jM,pointer:()=>NM,selectOptions:()=>IM,tab:()=>FM,tripleClick:()=>LM,type:()=>BM,unhover:()=>DM,upload:()=>kM});function PM(e){return xe().api.clear(e)}function SM(e,t={}){return xe(t,e).api.click(e)}function OM(e={}){return xe(e).api.copy()}function AM(e={}){return xe(e).api.cut()}function qM(e,t={}){return xe(t).api.dblClick(e)}function xM(e,t,r={}){return xe(r).api.deselectOptions(e,t)}function MM(e,t={}){return xe(t).api.hover(e)}async function $M(e,t={}){let{api:r,system:n}=xe(t);return r.keyboard(e).then(()=>n)}async function NM(e,t={}){let{api:r,system:n}=xe(t);return r.pointer(e).then(()=>n)}function jM(e,t){return xe(t).api.paste(e)}function IM(e,t,r={}){return xe(r).api.selectOptions(e,t)}function LM(e,t={}){return xe(t).api.tripleClick(e)}function BM(e,t,r={}){return xe(r,e).api.type(e,t,r)}function DM(e,t={}){let{api:r,system:n}=xe(t);return n.pointer.setMousePosition({target:e}),r.unhover(e)}function kM(e,t,r={}){return xe(r).api.upload(e,t)}function FM(e={}){return xe().api.tab(e)}var UM={...$b,setup:wM};function HM(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 o=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(o.length){var i=new RegExp(`
|
|
227
|
+
[ ]{`+Math.min.apply(Math,o)+"}","g");n=n.map(function(l){return l.replace(i,`
|
|
228
|
+
`)})}n[0]=n[0].replace(/^\r?\n/,"");var a=n[0];return t.forEach(function(l,u){var c=a.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
|
+
`)),a+=d+n[u+1]}),a}var zM=HM,yi=qi({...Am},{intercept:(e,t)=>t[0]==="fireEvent"||e.startsWith("find")||e.startsWith("waitFor")});yi.screen=new Proxy(yi.screen,{get(e,t,r){return l_.warn(zM`
|
|
232
|
+
You are using Testing Library's \`screen\` object. Use \`within(canvasElement)\` instead.
|
|
233
|
+
More info: https://storybook.js.org/docs/react/essentials/interactions
|
|
234
|
+
`),Reflect.get(e,t,r)}});var{buildQueries:ZM,configure:e$,createEvent:t$,fireEvent:r$,findAllByAltText:n$,findAllByDisplayValue:o$,findAllByLabelText:a$,findAllByPlaceholderText:i$,findAllByRole:l$,findAllByTestId:s$,findAllByText:u$,findAllByTitle:c$,findByAltText:d$,findByDisplayValue:f$,findByLabelText:p$,findByPlaceholderText:m$,findByRole:h$,findByTestId:b$,findByText:g$,findByTitle:y$,getAllByAltText:v$,getAllByDisplayValue:_$,getAllByLabelText:E$,getAllByPlaceholderText:w$,getAllByRole:C$,getAllByTestId:R$,getAllByText:T$,getAllByTitle:P$,getByAltText:S$,getByDisplayValue:O$,getByLabelText:A$,getByPlaceholderText:q$,getByRole:x$,getByTestId:M$,getByText:$$,getByTitle:N$,getConfig:j$,getDefaultNormalizer:I$,getElementError:L$,getNodeText:B$,getQueriesForElement:D$,getRoles:k$,getSuggestedQuery:F$,isInaccessible:U$,logDOM:H$,logRoles:z$,prettyDOM:V$,queries:G$,queryAllByAltText:W$,queryAllByAttribute:K$,queryAllByDisplayValue:Y$,queryAllByLabelText:J$,queryAllByPlaceholderText:X$,queryAllByRole:Q$,queryAllByTestId:Z$,queryAllByText:eN,queryAllByTitle:tN,queryByAltText:rN,queryByAttribute:nN,queryByDisplayValue:oN,queryByLabelText:aN,queryByPlaceholderText:iN,queryByRole:lN,queryByTestId:sN,queryByText:uN,queryByTitle:cN,queryHelpers:dN,screen:fN,waitFor:pN,waitForElementToBeRemoved:mN,within:VM,prettyFormat:hN}=yi,{userEvent:bN}=qi({userEvent:UM},{intercept:!0}),{expect:gN}=qi({expect:Om},{getKeys:(e,t)=>{let r=["assert","__methods","__flags","_obj"];if(e.constructor===S){let n=Object.keys(Object.getPrototypeOf(e)).filter(o=>!r.includes(o));return t>2?n:[...n,"not"]}return Object.keys(e)},intercept:e=>e!=="expect"}),GM=({parameters:e})=>{e?.test?.mockReset===!0?hO():e?.test?.clearMocks===!0?mO():e?.test?.restoreMocks!==!1&&bO()},vi=(e,t=0,r)=>{if(t>5||e==null)return e;if(ym(e))return r&&e.mockName(r),e;if(typeof e=="function"&&"isAction"in e&&e.isAction&&!("implicit"in e&&e.implicit)){let n=fO(e);return r&&n.mockName(r),n}if(Array.isArray(e))return t++,e.map(n=>vi(n,t));if(typeof e=="object"&&e.constructor===Object){t++;for(let[n,o]of Object.entries(e))Object.getOwnPropertyDescriptor(e,n)?.writable&&(e[n]=vi(o,t,n));return e}return e},WM=({initialArgs:e})=>{vi(e)},KM=e=>{globalThis.HTMLElement&&e.canvasElement instanceof globalThis.HTMLElement&&(e.canvas=VM(e.canvasElement))};xd.__STORYBOOK_TEST_LOADERS__=[GM,WM,KM];xd.__STORYBOOK_TEST_ON_MOCK_CALL__=dO;export{gN as e,r$ as f,qi as i,bN as u,VM as w};
|