@choosemycompany/ui 0.0.1 → 0.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/README.md +81 -0
- package/dist/cmc-ui.umd.js +1 -0
- package/package.json +6 -6
- package/dist/lib/cmc-ui.umd.js +0 -1
- package/dist/storybook-static/addon-visual-tests-assets/visual-test-illustration.mp4 +0 -0
- package/dist/storybook-static/assets/Button-P5kRU_oR.css +0 -1
- package/dist/storybook-static/assets/Button.stories-CSVwoLhx.js +0 -58
- package/dist/storybook-static/assets/Color-AVL7NMMY-Ct7aAYs-.js +0 -1
- package/dist/storybook-static/assets/DocsRenderer-PQXLIZUC-B03cbZIO.js +0 -706
- package/dist/storybook-static/assets/Heading-DA0pyUxl.css +0 -1
- package/dist/storybook-static/assets/Heading-DKVmbxcF.js +0 -1
- package/dist/storybook-static/assets/Heading.stories-CLjJkHP6.js +0 -91
- package/dist/storybook-static/assets/Title-DUsXPc1D.css +0 -1
- package/dist/storybook-static/assets/Title.stories-Bw8kvqVZ.js +0 -8
- package/dist/storybook-static/assets/_commonjsHelpers-CqkleIqs.js +0 -1
- package/dist/storybook-static/assets/axe-CGjeO0Ii.js +0 -30
- package/dist/storybook-static/assets/iframe-2fFtGrst.css +0 -1
- package/dist/storybook-static/assets/iframe-Qtrfk0sh.js +0 -1121
- package/dist/storybook-static/assets/index-D68ytP8I.js +0 -1
- package/dist/storybook-static/assets/matchers-7Z3WT2CE-T3xScrR7.js +0 -14
- package/dist/storybook-static/favicon.svg +0 -1
- package/dist/storybook-static/iframe.html +0 -686
- package/dist/storybook-static/index.html +0 -164
- package/dist/storybook-static/index.json +0 -1
- package/dist/storybook-static/nunito-sans-bold-italic.woff2 +0 -0
- package/dist/storybook-static/nunito-sans-bold.woff2 +0 -0
- package/dist/storybook-static/nunito-sans-italic.woff2 +0 -0
- package/dist/storybook-static/nunito-sans-regular.woff2 +0 -0
- package/dist/storybook-static/project.json +0 -1
- package/dist/storybook-static/sb-addons/a11y-4/manager-bundle.js +0 -5
- package/dist/storybook-static/sb-addons/chromatic-com-storybook-1/manager-bundle.js +0 -356
- package/dist/storybook-static/sb-addons/chromatic-com-storybook-1/manager-bundle.js.LEGAL.txt +0 -40
- package/dist/storybook-static/sb-addons/docs-2/manager-bundle.js +0 -151
- package/dist/storybook-static/sb-addons/onboarding-3/manager-bundle.js +0 -127
- package/dist/storybook-static/sb-addons/storybook-core-server-presets-0/common-manager-bundle.js +0 -188
- package/dist/storybook-static/sb-addons/vitest-5/manager-bundle.js +0 -3
- package/dist/storybook-static/sb-common-assets/favicon.svg +0 -1
- package/dist/storybook-static/sb-common-assets/nunito-sans-bold-italic.woff2 +0 -0
- package/dist/storybook-static/sb-common-assets/nunito-sans-bold.woff2 +0 -0
- package/dist/storybook-static/sb-common-assets/nunito-sans-italic.woff2 +0 -0
- package/dist/storybook-static/sb-common-assets/nunito-sans-regular.woff2 +0 -0
- package/dist/storybook-static/sb-manager/globals-module-info.js +0 -797
- package/dist/storybook-static/sb-manager/globals-runtime.js +0 -72134
- package/dist/storybook-static/sb-manager/globals.js +0 -34
- package/dist/storybook-static/sb-manager/runtime.js +0 -13002
- package/dist/storybook-static/src/components/Atoms/Button/Button.constants.d.ts +0 -15
- package/dist/storybook-static/src/components/Atoms/Heading/Heading.constants.d.ts +0 -9
- /package/dist/{lib/cmc-ui.es.js → cmc-ui.es.js} +0 -0
- /package/dist/{lib/src → src}/components/Atoms/Button/Button.constants.d.ts +0 -0
- /package/dist/{lib/src → src}/components/Atoms/Button/Button.vue.d.ts +0 -0
- /package/dist/{lib/src → src}/components/Atoms/Heading/Heading.constants.d.ts +0 -0
- /package/dist/{lib/src → src}/components/Atoms/Heading/Heading.vue.d.ts +0 -0
- /package/dist/{lib/src → src}/components/Molecules/Title/Title.vue.d.ts +0 -0
- /package/dist/{lib/ui.css → ui.css} +0 -0
|
@@ -1,1121 +0,0 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/Button.stories-CSVwoLhx.js","assets/Button-P5kRU_oR.css","assets/Heading.stories-CLjJkHP6.js","assets/Heading-DKVmbxcF.js","assets/Heading-DA0pyUxl.css","assets/Title.stories-Bw8kvqVZ.js","assets/Title-DUsXPc1D.css","assets/DocsRenderer-PQXLIZUC-B03cbZIO.js","assets/_commonjsHelpers-CqkleIqs.js","assets/axe-CGjeO0Ii.js"])))=>i.map(i=>d[i]);
|
|
2
|
-
var tV=Object.defineProperty;var rV=(e,t,r)=>t in e?tV(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var gt=(e,t,r)=>rV(e,typeof t!="symbol"?t+"":t,r);(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))n(o);new MutationObserver(o=>{for(const i of o)if(i.type==="childList")for(const a of i.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&n(a)}).observe(document,{childList:!0,subtree:!0});function r(o){const i={};return o.integrity&&(i.integrity=o.integrity),o.referrerPolicy&&(i.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?i.credentials="include":o.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function n(o){if(o.ep)return;o.ep=!0;const i=r(o);fetch(o.href,i)}})();var gm={},nV=Object.create,fu=Object.defineProperty,oV=Object.getOwnPropertyDescriptor,iV=Object.getOwnPropertyNames,aV=Object.getPrototypeOf,sV=Object.prototype.hasOwnProperty,s=(e,t)=>fu(e,"name",{value:t,configurable:!0}),Ku=(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')}),lV=(e,t)=>()=>(e&&(t=e(e=0)),t),A=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),fr=(e,t)=>{for(var r in t)fu(e,r,{get:t[r],enumerable:!0})},I_=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of iV(t))!sV.call(e,o)&&o!==r&&fu(e,o,{get:()=>t[o],enumerable:!(n=oV(t,o))||n.enumerable});return e},_t=(e,t,r)=>(r=e!=null?nV(aV(e)):{},I_(t||!e||!e.__esModule?fu(r,"default",{value:e,enumerable:!0}):r,e)),uV=e=>I_(fu({},"__esModule",{value:!0}),e),k_=A((e,t)=>{(function(r){if(typeof e=="object"&&typeof t<"u")t.exports=r();else if(typeof define=="function"&&define.amd)define([],r);else{var n;typeof window<"u"?n=window:typeof global<"u"?n=global:typeof self<"u"?n=self:n=this,n.memoizerific=r()}})(function(){return s(function r(n,o,i){function a(c,d){if(!o[c]){if(!n[c]){var p=typeof Ku=="function"&&Ku;if(!d&&p)return p(c,!0);if(l)return l(c,!0);var h=new Error("Cannot find module '"+c+"'");throw h.code="MODULE_NOT_FOUND",h}var f=o[c]={exports:{}};n[c][0].call(f.exports,function(m){var y=n[c][1][m];return a(y||m)},f,f.exports,r,n,o,i)}return o[c].exports}s(a,"s");for(var l=typeof Ku=="function"&&Ku,u=0;u<i.length;u++)a(i[u]);return a},"e")({1:[function(r,n,o){n.exports=function(i){if(typeof Map!="function"||i){var a=r("./similar");return new a}else return new Map}},{"./similar":2}],2:[function(r,n,o){function i(){return this.list=[],this.lastItem=void 0,this.size=0,this}s(i,"Similar"),i.prototype.get=function(a){var l;if(this.lastItem&&this.isEqual(this.lastItem.key,a))return this.lastItem.val;if(l=this.indexOf(a),l>=0)return this.lastItem=this.list[l],this.list[l].val},i.prototype.set=function(a,l){var u;return this.lastItem&&this.isEqual(this.lastItem.key,a)?(this.lastItem.val=l,this):(u=this.indexOf(a),u>=0?(this.lastItem=this.list[u],this.list[u].val=l,this):(this.lastItem={key:a,val:l},this.list.push(this.lastItem),this.size++,this))},i.prototype.delete=function(a){var l;if(this.lastItem&&this.isEqual(this.lastItem.key,a)&&(this.lastItem=void 0),l=this.indexOf(a),l>=0)return this.size--,this.list.splice(l,1)[0]},i.prototype.has=function(a){var l;return this.lastItem&&this.isEqual(this.lastItem.key,a)?!0:(l=this.indexOf(a),l>=0?(this.lastItem=this.list[l],!0):!1)},i.prototype.forEach=function(a,l){var u;for(u=0;u<this.size;u++)a.call(l||this,this.list[u].val,this.list[u].key,this)},i.prototype.indexOf=function(a){var l;for(l=0;l<this.size;l++)if(this.isEqual(this.list[l].key,a))return l;return-1},i.prototype.isEqual=function(a,l){return a===l||a!==a&&l!==l},n.exports=i},{}],3:[function(r,n,o){var i=r("map-or-similar");n.exports=function(c){var d=new i(!1),p=[];return function(h){var f=s(function(){var m=d,y,g,b=arguments.length-1,v=Array(b+1),S=!0,T;if((f.numArgs||f.numArgs===0)&&f.numArgs!==b+1)throw new Error("Memoizerific functions should always be called with the same number of arguments");for(T=0;T<b;T++){if(v[T]={cacheItem:m,arg:arguments[T]},m.has(arguments[T])){m=m.get(arguments[T]);continue}S=!1,y=new i(!1),m.set(arguments[T],y),m=y}return S&&(m.has(arguments[b])?g=m.get(arguments[b]):S=!1),S||(g=h.apply(null,arguments),m.set(arguments[b],g)),c>0&&(v[b]={cacheItem:m,arg:arguments[b]},S?a(p,v):p.push(v),p.length>c&&l(p.shift())),f.wasMemoized=S,f.numArgs=b+1,g},"memoizerific");return f.limit=c,f.wasMemoized=!1,f.cache=d,f.lru=p,f}};function a(c,d){var p=c.length,h=d.length,f,m,y;for(m=0;m<p;m++){for(f=!0,y=0;y<h;y++)if(!u(c[m][y].arg,d[y].arg)){f=!1;break}if(f)break}c.push(c.splice(m,1)[0])}s(a,"moveToMostRecentLru");function l(c){var d=c.length,p=c[d-1],h,f;for(p.cacheItem.delete(p.arg),f=d-2;f>=0&&(p=c[f],h=p.cacheItem.get(p.arg),!h||!h.size);f--)p.cacheItem.delete(p.arg)}s(l,"removeCachedResult");function u(c,d){return c===d||c!==c&&d!==d}s(u,"isEqual")},{"map-or-similar":1}]},{},[3])(3)})}),cV=A(()=>{}),dV=A((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}}),pV=A((e,t)=>{var r=dV();t.exports=n=>{let o=r(n);if(o===0)return n;let i=new RegExp(`^[ \\t]{${o}}`,"gm");return n.replace(i,"")}}),fV=A((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))}}),M_=A((e,t)=>{var r=pV(),n=fV();t.exports=(o,i=0,a)=>n(r(o),i,a)}),hV=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;function t(){var r=this,n=0,o={"@@iterator":s(function(){return o},"iterator"),next:s(function(){if(n<r.length){var i=r[n];return n=n+1,{done:!1,value:i}}else return{done:!0}},"next")};return o}s(t,"iteratorProxy"),e.default=t}),hu=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=o;var t=r(hV());function r(i){return i&&i.__esModule?i:{default:i}}s(r,"_interopRequireDefault");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)}s(n,"_typeof");function o(i,a){return typeof Symbol=="function"&&n(Symbol.iterator)==="symbol"&&Object.defineProperty(i,Symbol.iterator,{value:t.default.bind(a)}),i}s(o,"iterationDecorator")}),mV=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(hu());function r(p){return p&&p.__esModule?p:{default:p}}s(r,"_interopRequireDefault");function n(p,h){return u(p)||l(p,h)||i(p,h)||o()}s(n,"_slicedToArray");function o(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
3
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}s(o,"_nonIterableRest");function i(p,h){if(p){if(typeof p=="string")return a(p,h);var f={}.toString.call(p).slice(8,-1);return f==="Object"&&p.constructor&&(f=p.constructor.name),f==="Map"||f==="Set"?Array.from(p):f==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(f)?a(p,h):void 0}}s(i,"_unsupportedIterableToArray");function a(p,h){(h==null||h>p.length)&&(h=p.length);for(var f=0,m=Array(h);f<h;f++)m[f]=p[f];return m}s(a,"_arrayLikeToArray");function l(p,h){var f=p==null?null:typeof Symbol<"u"&&p[Symbol.iterator]||p["@@iterator"];if(f!=null){var m,y,g,b,v=[],S=!0,T=!1;try{if(g=(f=f.call(p)).next,h===0){if(Object(f)!==f)return;S=!1}else for(;!(S=(m=g.call(f)).done)&&(v.push(m.value),v.length!==h);S=!0);}catch(P){T=!0,y=P}finally{try{if(!S&&f.return!=null&&(b=f.return(),Object(b)!==b))return}finally{if(T)throw y}}return v}}s(l,"_iterableToArrayLimit");function u(p){if(Array.isArray(p))return p}s(u,"_arrayWithHoles");var c=[["aria-activedescendant",{type:"id"}],["aria-atomic",{type:"boolean"}],["aria-autocomplete",{type:"token",values:["inline","list","both","none"]}],["aria-braillelabel",{type:"string"}],["aria-brailleroledescription",{type:"string"}],["aria-busy",{type:"boolean"}],["aria-checked",{type:"tristate"}],["aria-colcount",{type:"integer"}],["aria-colindex",{type:"integer"}],["aria-colspan",{type:"integer"}],["aria-controls",{type:"idlist"}],["aria-current",{type:"token",values:["page","step","location","date","time",!0,!1]}],["aria-describedby",{type:"idlist"}],["aria-description",{type:"string"}],["aria-details",{type:"id"}],["aria-disabled",{type:"boolean"}],["aria-dropeffect",{type:"tokenlist",values:["copy","execute","link","move","none","popup"]}],["aria-errormessage",{type:"id"}],["aria-expanded",{type:"boolean",allowundefined:!0}],["aria-flowto",{type:"idlist"}],["aria-grabbed",{type:"boolean",allowundefined:!0}],["aria-haspopup",{type:"token",values:[!1,!0,"menu","listbox","tree","grid","dialog"]}],["aria-hidden",{type:"boolean",allowundefined:!0}],["aria-invalid",{type:"token",values:["grammar",!1,"spelling",!0]}],["aria-keyshortcuts",{type:"string"}],["aria-label",{type:"string"}],["aria-labelledby",{type:"idlist"}],["aria-level",{type:"integer"}],["aria-live",{type:"token",values:["assertive","off","polite"]}],["aria-modal",{type:"boolean"}],["aria-multiline",{type:"boolean"}],["aria-multiselectable",{type:"boolean"}],["aria-orientation",{type:"token",values:["vertical","undefined","horizontal"]}],["aria-owns",{type:"idlist"}],["aria-placeholder",{type:"string"}],["aria-posinset",{type:"integer"}],["aria-pressed",{type:"tristate"}],["aria-readonly",{type:"boolean"}],["aria-relevant",{type:"tokenlist",values:["additions","all","removals","text"]}],["aria-required",{type:"boolean"}],["aria-roledescription",{type:"string"}],["aria-rowcount",{type:"integer"}],["aria-rowindex",{type:"integer"}],["aria-rowspan",{type:"integer"}],["aria-selected",{type:"boolean",allowundefined:!0}],["aria-setsize",{type:"integer"}],["aria-sort",{type:"token",values:["ascending","descending","none","other"]}],["aria-valuemax",{type:"number"}],["aria-valuemin",{type:"number"}],["aria-valuenow",{type:"number"}],["aria-valuetext",{type:"string"}]],d={entries:s(function(){return c},"entries"),forEach:s(function(p){for(var h=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,f=0,m=c;f<m.length;f++){var y=n(m[f],2),g=y[0],b=y[1];p.call(h,b,g,c)}},"forEach"),get:s(function(p){var h=c.filter(function(f){return f[0]===p})[0];return h&&h[1]},"get"),has:s(function(p){return!!d.get(p)},"has"),keys:s(function(){return c.map(function(p){var h=n(p,1),f=h[0];return f})},"keys"),values:s(function(){return c.map(function(p){var h=n(p,2),f=h[1];return f})},"values")};e.default=(0,t.default)(d,d.entries())}),yV=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(hu());function r(p){return p&&p.__esModule?p:{default:p}}s(r,"_interopRequireDefault");function n(p,h){return u(p)||l(p,h)||i(p,h)||o()}s(n,"_slicedToArray");function o(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
4
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}s(o,"_nonIterableRest");function i(p,h){if(p){if(typeof p=="string")return a(p,h);var f={}.toString.call(p).slice(8,-1);return f==="Object"&&p.constructor&&(f=p.constructor.name),f==="Map"||f==="Set"?Array.from(p):f==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(f)?a(p,h):void 0}}s(i,"_unsupportedIterableToArray");function a(p,h){(h==null||h>p.length)&&(h=p.length);for(var f=0,m=Array(h);f<h;f++)m[f]=p[f];return m}s(a,"_arrayLikeToArray");function l(p,h){var f=p==null?null:typeof Symbol<"u"&&p[Symbol.iterator]||p["@@iterator"];if(f!=null){var m,y,g,b,v=[],S=!0,T=!1;try{if(g=(f=f.call(p)).next,h===0){if(Object(f)!==f)return;S=!1}else for(;!(S=(m=g.call(f)).done)&&(v.push(m.value),v.length!==h);S=!0);}catch(P){T=!0,y=P}finally{try{if(!S&&f.return!=null&&(b=f.return(),Object(b)!==b))return}finally{if(T)throw y}}return v}}s(l,"_iterableToArrayLimit");function u(p){if(Array.isArray(p))return p}s(u,"_arrayWithHoles");var c=[["a",{reserved:!1}],["abbr",{reserved:!1}],["acronym",{reserved:!1}],["address",{reserved:!1}],["applet",{reserved:!1}],["area",{reserved:!1}],["article",{reserved:!1}],["aside",{reserved:!1}],["audio",{reserved:!1}],["b",{reserved:!1}],["base",{reserved:!0}],["bdi",{reserved:!1}],["bdo",{reserved:!1}],["big",{reserved:!1}],["blink",{reserved:!1}],["blockquote",{reserved:!1}],["body",{reserved:!1}],["br",{reserved:!1}],["button",{reserved:!1}],["canvas",{reserved:!1}],["caption",{reserved:!1}],["center",{reserved:!1}],["cite",{reserved:!1}],["code",{reserved:!1}],["col",{reserved:!0}],["colgroup",{reserved:!0}],["content",{reserved:!1}],["data",{reserved:!1}],["datalist",{reserved:!1}],["dd",{reserved:!1}],["del",{reserved:!1}],["details",{reserved:!1}],["dfn",{reserved:!1}],["dialog",{reserved:!1}],["dir",{reserved:!1}],["div",{reserved:!1}],["dl",{reserved:!1}],["dt",{reserved:!1}],["em",{reserved:!1}],["embed",{reserved:!1}],["fieldset",{reserved:!1}],["figcaption",{reserved:!1}],["figure",{reserved:!1}],["font",{reserved:!1}],["footer",{reserved:!1}],["form",{reserved:!1}],["frame",{reserved:!1}],["frameset",{reserved:!1}],["h1",{reserved:!1}],["h2",{reserved:!1}],["h3",{reserved:!1}],["h4",{reserved:!1}],["h5",{reserved:!1}],["h6",{reserved:!1}],["head",{reserved:!0}],["header",{reserved:!1}],["hgroup",{reserved:!1}],["hr",{reserved:!1}],["html",{reserved:!0}],["i",{reserved:!1}],["iframe",{reserved:!1}],["img",{reserved:!1}],["input",{reserved:!1}],["ins",{reserved:!1}],["kbd",{reserved:!1}],["keygen",{reserved:!1}],["label",{reserved:!1}],["legend",{reserved:!1}],["li",{reserved:!1}],["link",{reserved:!0}],["main",{reserved:!1}],["map",{reserved:!1}],["mark",{reserved:!1}],["marquee",{reserved:!1}],["menu",{reserved:!1}],["menuitem",{reserved:!1}],["meta",{reserved:!0}],["meter",{reserved:!1}],["nav",{reserved:!1}],["noembed",{reserved:!0}],["noscript",{reserved:!0}],["object",{reserved:!1}],["ol",{reserved:!1}],["optgroup",{reserved:!1}],["option",{reserved:!1}],["output",{reserved:!1}],["p",{reserved:!1}],["param",{reserved:!0}],["picture",{reserved:!0}],["pre",{reserved:!1}],["progress",{reserved:!1}],["q",{reserved:!1}],["rp",{reserved:!1}],["rt",{reserved:!1}],["rtc",{reserved:!1}],["ruby",{reserved:!1}],["s",{reserved:!1}],["samp",{reserved:!1}],["script",{reserved:!0}],["section",{reserved:!1}],["select",{reserved:!1}],["small",{reserved:!1}],["source",{reserved:!0}],["spacer",{reserved:!1}],["span",{reserved:!1}],["strike",{reserved:!1}],["strong",{reserved:!1}],["style",{reserved:!0}],["sub",{reserved:!1}],["summary",{reserved:!1}],["sup",{reserved:!1}],["table",{reserved:!1}],["tbody",{reserved:!1}],["td",{reserved:!1}],["textarea",{reserved:!1}],["tfoot",{reserved:!1}],["th",{reserved:!1}],["thead",{reserved:!1}],["time",{reserved:!1}],["title",{reserved:!0}],["tr",{reserved:!1}],["track",{reserved:!0}],["tt",{reserved:!1}],["u",{reserved:!1}],["ul",{reserved:!1}],["var",{reserved:!1}],["video",{reserved:!1}],["wbr",{reserved:!1}],["xmp",{reserved:!1}]],d={entries:s(function(){return c},"entries"),forEach:s(function(p){for(var h=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,f=0,m=c;f<m.length;f++){var y=n(m[f],2),g=y[0],b=y[1];p.call(h,b,g,c)}},"forEach"),get:s(function(p){var h=c.filter(function(f){return f[0]===p})[0];return h&&h[1]},"get"),has:s(function(p){return!!d.get(p)},"has"),keys:s(function(){return c.map(function(p){var h=n(p,1),f=h[0];return f})},"keys"),values:s(function(){return c.map(function(p){var h=n(p,2),f=h[1];return f})},"values")};e.default=(0,t.default)(d,d.entries())}),gV=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]};e.default=t}),bV=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-disabled":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]};e.default=t}),vV=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null},relatedConcepts:[{concept:{name:"input"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]};e.default=t}),wV=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),EV=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-valuemax":null,"aria-valuemin":null,"aria-valuenow":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};e.default=t}),SV=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{"aria-atomic":null,"aria-busy":null,"aria-controls":null,"aria-current":null,"aria-describedby":null,"aria-details":null,"aria-dropeffect":null,"aria-flowto":null,"aria-grabbed":null,"aria-hidden":null,"aria-keyshortcuts":null,"aria-label":null,"aria-labelledby":null,"aria-live":null,"aria-owns":null,"aria-relevant":null,"aria-roledescription":null},relatedConcepts:[{concept:{name:"role"},module:"XHTML"},{concept:{name:"type"},module:"Dublin Core"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[]};e.default=t}),xV=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"frontmatter"},module:"DTB"},{concept:{name:"level"},module:"DTB"},{concept:{name:"level"},module:"SMIL"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};e.default=t}),TV=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};e.default=t}),CV=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","composite"],["roletype","structure","section","group"]]};e.default=t}),_V=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]};e.default=t}),PV=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]};e.default=t}),OV=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-modal":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]};e.default=t}),AV=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=f(gV()),r=f(bV()),n=f(vV()),o=f(wV()),i=f(EV()),a=f(SV()),l=f(xV()),u=f(TV()),c=f(CV()),d=f(_V()),p=f(PV()),h=f(OV());function f(y){return y&&y.__esModule?y:{default:y}}s(f,"_interopRequireDefault");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",d.default],["widget",p.default],["window",h.default]];e.default=m}),RV=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-atomic":"true","aria-live":"assertive"},relatedConcepts:[{concept:{name:"alert"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),NV=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"alert"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","alert"],["roletype","window","dialog"]]};e.default=t}),IV=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"Device Independence Delivery Unit"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};e.default=t}),kV=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{name:"article"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","document"]]};e.default=t}),MV=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{constraints:["scoped to the body element"],name:"header"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}),qV=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"blockquote"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),jV=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null,"aria-pressed":null},relatedConcepts:[{concept:{attributes:[{name:"type",value:"button"}],name:"input"},module:"HTML"},{concept:{attributes:[{name:"type",value:"image"}],name:"input"},module:"HTML"},{concept:{attributes:[{name:"type",value:"reset"}],name:"input"},module:"HTML"},{concept:{attributes:[{name:"type",value:"submit"}],name:"input"},module:"HTML"},{concept:{name:"button"},module:"HTML"},{concept:{name:"trigger"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command"]]};e.default=t}),$V=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"caption"},module:"HTML"}],requireContextRole:["figure","grid","table"],requiredContextRole:["figure","grid","table"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),LV=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-colindex":null,"aria-colspan":null,"aria-rowindex":null,"aria-rowspan":null},relatedConcepts:[{concept:{constraints:["ancestor table element has table role"],name:"td"},module:"HTML"}],requireContextRole:["row"],requiredContextRole:["row"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),FV=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-checked":null,"aria-errormessage":null,"aria-expanded":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null},relatedConcepts:[{concept:{attributes:[{name:"type",value:"checkbox"}],name:"input"},module:"HTML"},{concept:{name:"option"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input"]]};e.default=t}),DV=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"code"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),BV=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-sort":null},relatedConcepts:[{concept:{name:"th"},module:"HTML"},{concept:{attributes:[{name:"scope",value:"col"}],name:"th"},module:"HTML"},{concept:{attributes:[{name:"scope",value:"colgroup"}],name:"th"},module:"HTML"}],requireContextRole:["row"],requiredContextRole:["row"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","cell"],["roletype","structure","section","cell","gridcell"],["roletype","widget","gridcell"],["roletype","structure","sectionhead"]]};e.default=t}),UV=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-autocomplete":null,"aria-errormessage":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null,"aria-expanded":"false","aria-haspopup":"listbox"},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"email"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"search"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"tel"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"text"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"url"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"url"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"multiple"},{constraints:["undefined"],name:"size"}],constraints:["the multiple attribute is not set and the size attribute does not have a value greater than 1"],name:"select"},module:"HTML"},{concept:{name:"select"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-controls":null,"aria-expanded":"false"},superClass:[["roletype","widget","input"]]};e.default=t}),HV=A(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","scoped to the main element"],name:"aside"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-label"}],constraints:["scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"aside"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-labelledby"}],constraints:["scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"aside"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}),VV=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{constraints:["scoped to the body element"],name:"footer"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}),JV=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"dd"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),zV=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"del"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),WV=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"dialog"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","window"]]};e.default=t}),GV=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{module:"DAISY Guide"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","list"]]};e.default=t}),KV=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"Device Independence Delivery Unit"}},{concept:{name:"html"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};e.default=t}),YV=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"em"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),XV=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["article"]],requiredProps:{},superClass:[["roletype","structure","section","list"]]};e.default=t}),QV=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"figure"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),ZV=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"aria-label"}],name:"form"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-labelledby"}],name:"form"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"name"}],name:"form"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}),e3=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"a"},module:"HTML"},{concept:{name:"area"},module:"HTML"},{concept:{name:"aside"},module:"HTML"},{concept:{name:"b"},module:"HTML"},{concept:{name:"bdo"},module:"HTML"},{concept:{name:"body"},module:"HTML"},{concept:{name:"data"},module:"HTML"},{concept:{name:"div"},module:"HTML"},{concept:{constraints:["scoped to the main element","scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"footer"},module:"HTML"},{concept:{constraints:["scoped to the main element","scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"header"},module:"HTML"},{concept:{name:"hgroup"},module:"HTML"},{concept:{name:"i"},module:"HTML"},{concept:{name:"pre"},module:"HTML"},{concept:{name:"q"},module:"HTML"},{concept:{name:"samp"},module:"HTML"},{concept:{name:"section"},module:"HTML"},{concept:{name:"small"},module:"HTML"},{concept:{name:"span"},module:"HTML"},{concept:{name:"u"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};e.default=t}),t3=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-multiselectable":null,"aria-readonly":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["row"],["row","rowgroup"]],requiredProps:{},superClass:[["roletype","widget","composite"],["roletype","structure","section","table"]]};e.default=t}),r3=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null,"aria-selected":null},relatedConcepts:[{concept:{constraints:["ancestor table element has grid role","ancestor table element has treegrid role"],name:"td"},module:"HTML"}],requireContextRole:["row"],requiredContextRole:["row"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","cell"],["roletype","widget"]]};e.default=t}),n3=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-disabled":null},relatedConcepts:[{concept:{name:"details"},module:"HTML"},{concept:{name:"fieldset"},module:"HTML"},{concept:{name:"optgroup"},module:"HTML"},{concept:{name:"address"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),o3=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-level":"2"},relatedConcepts:[{concept:{name:"h1"},module:"HTML"},{concept:{name:"h2"},module:"HTML"},{concept:{name:"h3"},module:"HTML"},{concept:{name:"h4"},module:"HTML"},{concept:{name:"h5"},module:"HTML"},{concept:{name:"h6"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-level":"2"},superClass:[["roletype","structure","sectionhead"]]};e.default=t}),i3=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"alt"}],name:"img"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"alt"}],name:"img"},module:"HTML"},{concept:{name:"imggroup"},module:"DTB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),a3=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"ins"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),s3=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"href"}],name:"a"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"href"}],name:"area"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command"]]};e.default=t}),l3=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"menu"},module:"HTML"},{concept:{name:"ol"},module:"HTML"},{concept:{name:"ul"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["listitem"]],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),u3=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-expanded":null,"aria-invalid":null,"aria-multiselectable":null,"aria-readonly":null,"aria-required":null,"aria-orientation":"vertical"},relatedConcepts:[{concept:{attributes:[{constraints:[">1"],name:"size"}],constraints:["the size attribute value is greater than 1"],name:"select"},module:"HTML"},{concept:{attributes:[{name:"multiple"}],name:"select"},module:"HTML"},{concept:{name:"datalist"},module:"HTML"},{concept:{name:"list"},module:"ARIA"},{concept:{name:"select"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["option","group"],["option"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]};e.default=t}),c3=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-level":null,"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{constraints:["direct descendant of ol","direct descendant of ul","direct descendant of menu"],name:"li"},module:"HTML"},{concept:{name:"item"},module:"XForms"}],requireContextRole:["directory","list"],requiredContextRole:["directory","list"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),d3=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-live":"polite"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),p3=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"main"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}),f3=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:[],props:{"aria-braillelabel":null,"aria-brailleroledescription":null,"aria-description":null},relatedConcepts:[{concept:{name:"mark"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),h3=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),m3=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"math"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),y3=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":"vertical"},relatedConcepts:[{concept:{name:"MENU"},module:"JAPI"},{concept:{name:"list"},module:"ARIA"},{concept:{name:"select"},module:"XForms"},{concept:{name:"sidebar"},module:"DTB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["menuitem","group"],["menuitemradio","group"],["menuitemcheckbox","group"],["menuitem"],["menuitemcheckbox"],["menuitemradio"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]};e.default=t}),g3=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":"horizontal"},relatedConcepts:[{concept:{name:"toolbar"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["menuitem","group"],["menuitemradio","group"],["menuitemcheckbox","group"],["menuitem"],["menuitemcheckbox"],["menuitemradio"]],requiredProps:{},superClass:[["roletype","widget","composite","select","menu"],["roletype","structure","section","group","select","menu"]]};e.default=t}),b3=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null,"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{name:"MENU_ITEM"},module:"JAPI"},{concept:{name:"listitem"},module:"ARIA"},{concept:{name:"option"},module:"ARIA"}],requireContextRole:["group","menu","menubar"],requiredContextRole:["group","menu","menubar"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command"]]};e.default=t}),v3=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"menuitem"},module:"ARIA"}],requireContextRole:["group","menu","menubar"],requiredContextRole:["group","menu","menubar"],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input","checkbox"],["roletype","widget","command","menuitem"]]};e.default=t}),w3=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"menuitem"},module:"ARIA"}],requireContextRole:["group","menu","menubar"],requiredContextRole:["group","menu","menubar"],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input","checkbox","menuitemcheckbox"],["roletype","widget","command","menuitem","menuitemcheckbox"],["roletype","widget","input","radio"]]};e.default=t}),E3=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-valuetext":null,"aria-valuemax":"100","aria-valuemin":"0"},relatedConcepts:[{concept:{name:"meter"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-valuenow":null},superClass:[["roletype","structure","range"]]};e.default=t}),S3=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"nav"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}),x3=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[]};e.default=t}),T3=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),C3=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-checked":null,"aria-posinset":null,"aria-setsize":null,"aria-selected":"false"},relatedConcepts:[{concept:{name:"item"},module:"XForms"},{concept:{name:"listitem"},module:"ARIA"},{concept:{name:"option"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-selected":"false"},superClass:[["roletype","widget","input"]]};e.default=t}),_3=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"p"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),P3=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{attributes:[{name:"alt",value:""}],name:"img"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};e.default=t}),O3=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-valuetext":null},relatedConcepts:[{concept:{name:"progress"},module:"HTML"},{concept:{name:"status"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","range"],["roletype","widget"]]};e.default=t}),A3=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-checked":null,"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{attributes:[{name:"type",value:"radio"}],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input"]]};e.default=t}),R3=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null},relatedConcepts:[{concept:{name:"list"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["radio"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]};e.default=t}),N3=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"aria-label"}],name:"section"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-labelledby"}],name:"section"},module:"HTML"},{concept:{name:"Device Independence Glossart perceivable unit"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}),I3=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-colindex":null,"aria-expanded":null,"aria-level":null,"aria-posinset":null,"aria-rowindex":null,"aria-selected":null,"aria-setsize":null},relatedConcepts:[{concept:{name:"tr"},module:"HTML"}],requireContextRole:["grid","rowgroup","table","treegrid"],requiredContextRole:["grid","rowgroup","table","treegrid"],requiredOwnedElements:[["cell"],["columnheader"],["gridcell"],["rowheader"]],requiredProps:{},superClass:[["roletype","structure","section","group"],["roletype","widget"]]};e.default=t}),k3=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"tbody"},module:"HTML"},{concept:{name:"tfoot"},module:"HTML"},{concept:{name:"thead"},module:"HTML"}],requireContextRole:["grid","table","treegrid"],requiredContextRole:["grid","table","treegrid"],requiredOwnedElements:[["row"]],requiredProps:{},superClass:[["roletype","structure"]]};e.default=t}),M3=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-sort":null},relatedConcepts:[{concept:{attributes:[{name:"scope",value:"row"}],name:"th"},module:"HTML"},{concept:{attributes:[{name:"scope",value:"rowgroup"}],name:"th"},module:"HTML"}],requireContextRole:["row","rowgroup"],requiredContextRole:["row","rowgroup"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","cell"],["roletype","structure","section","cell","gridcell"],["roletype","widget","gridcell"],["roletype","structure","sectionhead"]]};e.default=t}),q3=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-valuetext":null,"aria-orientation":"vertical","aria-valuemax":"100","aria-valuemin":"0"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-controls":null,"aria-valuenow":null},superClass:[["roletype","structure","range"],["roletype","widget"]]};e.default=t}),j3=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}),$3=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"search"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","input","textbox"]]};e.default=t}),L3=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-orientation":"horizontal","aria-valuemax":"100","aria-valuemin":"0","aria-valuenow":null,"aria-valuetext":null},relatedConcepts:[{concept:{name:"hr"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};e.default=t}),F3=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-haspopup":null,"aria-invalid":null,"aria-readonly":null,"aria-valuetext":null,"aria-orientation":"horizontal","aria-valuemax":"100","aria-valuemin":"0"},relatedConcepts:[{concept:{attributes:[{name:"type",value:"range"}],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-valuenow":null},superClass:[["roletype","widget","input"],["roletype","structure","range"]]};e.default=t}),D3=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null,"aria-valuetext":null,"aria-valuenow":"0"},relatedConcepts:[{concept:{attributes:[{name:"type",value:"number"}],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","composite"],["roletype","widget","input"],["roletype","structure","range"]]};e.default=t}),B3=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-atomic":"true","aria-live":"polite"},relatedConcepts:[{concept:{name:"output"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),U3=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"strong"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),H3=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"sub"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),V3=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"sup"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),J3=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"button"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input","checkbox"]]};e.default=t}),z3=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null,"aria-posinset":null,"aria-setsize":null,"aria-selected":"false"},relatedConcepts:[],requireContextRole:["tablist"],requiredContextRole:["tablist"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","sectionhead"],["roletype","widget"]]};e.default=t}),W3=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-colcount":null,"aria-rowcount":null},relatedConcepts:[{concept:{name:"table"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["row"],["row","rowgroup"]],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),G3=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-level":null,"aria-multiselectable":null,"aria-orientation":"horizontal"},relatedConcepts:[{module:"DAISY",concept:{name:"guide"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["tab"]],requiredProps:{},superClass:[["roletype","widget","composite"]]};e.default=t}),K3=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),Y3=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"dfn"},module:"HTML"},{concept:{name:"dt"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),X3=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-autocomplete":null,"aria-errormessage":null,"aria-haspopup":null,"aria-invalid":null,"aria-multiline":null,"aria-placeholder":null,"aria-readonly":null,"aria-required":null},relatedConcepts:[{concept:{attributes:[{constraints:["undefined"],name:"type"},{constraints:["undefined"],name:"list"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"email"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"tel"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"text"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"url"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{name:"input"},module:"XForms"},{concept:{name:"textarea"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","input"]]};e.default=t}),Q3=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"time"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),Z3=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","status"]]};e.default=t}),e5=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":"horizontal"},relatedConcepts:[{concept:{name:"menubar"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","group"]]};e.default=t}),t5=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),r5=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null,"aria-multiselectable":null,"aria-required":null,"aria-orientation":"vertical"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["treeitem","group"],["treeitem"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]};e.default=t}),n5=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["row"],["row","rowgroup"]],requiredProps:{},superClass:[["roletype","widget","composite","grid"],["roletype","structure","section","table","grid"],["roletype","widget","composite","select","tree"],["roletype","structure","section","group","select","tree"]]};e.default=t}),o5=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-expanded":null,"aria-haspopup":null},relatedConcepts:[],requireContextRole:["group","tree"],requiredContextRole:["group","tree"],requiredOwnedElements:[],requiredProps:{"aria-selected":null},superClass:[["roletype","structure","section","listitem"],["roletype","widget","input","option"]]};e.default=t}),i5=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=W(RV()),r=W(NV()),n=W(IV()),o=W(kV()),i=W(MV()),a=W(qV()),l=W(jV()),u=W($V()),c=W(LV()),d=W(FV()),p=W(DV()),h=W(BV()),f=W(UV()),m=W(HV()),y=W(VV()),g=W(JV()),b=W(zV()),v=W(WV()),S=W(GV()),T=W(KV()),P=W(YV()),C=W(XV()),w=W(QV()),E=W(ZV()),_=W(e3()),R=W(t3()),N=W(r3()),q=W(n3()),L=W(o3()),O=W(i3()),k=W(a3()),M=W(s3()),G=W(l3()),V=W(u3()),oe=W(c3()),fe=W(d3()),te=W(p3()),Y=W(f3()),Q=W(h3()),re=W(m3()),ce=W(y3()),ie=W(g3()),be=W(b3()),we=W(v3()),Ye=W(w3()),We=W(E3()),H=W(S3()),de=W(x3()),$=W(T3()),U=W(C3()),J=W(_3()),ee=W(P3()),Z=W(O3()),ne=W(A3()),se=W(R3()),le=W(N3()),ue=W(I3()),ae=W(k3()),ve=W(M3()),pe=W(q3()),ge=W(j3()),Se=W($3()),Ae=W(L3()),De=W(F3()),qe=W(D3()),Pt=W(B3()),mt=W(U3()),Dt=W(H3()),At=W(V3()),Yr=W(J3()),fo=W(z3()),Rt=W(W3()),Qt=W(G3()),ho=W(K3()),Ns=W(Y3()),Is=W(X3()),ks=W(Q3()),Zo=W(Z3()),ra=W(e5()),pn=W(t5()),xt=W(r5()),ei=W(n5()),Nn=W(o5());function W(mo){return mo&&mo.__esModule?mo:{default:mo}}s(W,"_interopRequireDefault");var ti=[["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",d.default],["code",p.default],["columnheader",h.default],["combobox",f.default],["complementary",m.default],["contentinfo",y.default],["definition",g.default],["deletion",b.default],["dialog",v.default],["directory",S.default],["document",T.default],["emphasis",P.default],["feed",C.default],["figure",w.default],["form",E.default],["generic",_.default],["grid",R.default],["gridcell",N.default],["group",q.default],["heading",L.default],["img",O.default],["insertion",k.default],["link",M.default],["list",G.default],["listbox",V.default],["listitem",oe.default],["log",fe.default],["main",te.default],["mark",Y.default],["marquee",Q.default],["math",re.default],["menu",ce.default],["menubar",ie.default],["menuitem",be.default],["menuitemcheckbox",we.default],["menuitemradio",Ye.default],["meter",We.default],["navigation",H.default],["none",de.default],["note",$.default],["option",U.default],["paragraph",J.default],["presentation",ee.default],["progressbar",Z.default],["radio",ne.default],["radiogroup",se.default],["region",le.default],["row",ue.default],["rowgroup",ae.default],["rowheader",ve.default],["scrollbar",pe.default],["search",ge.default],["searchbox",Se.default],["separator",Ae.default],["slider",De.default],["spinbutton",qe.default],["status",Pt.default],["strong",mt.default],["subscript",Dt.default],["superscript",At.default],["switch",Yr.default],["tab",fo.default],["table",Rt.default],["tablist",Qt.default],["tabpanel",ho.default],["term",Ns.default],["textbox",Is.default],["time",ks.default],["timer",Zo.default],["toolbar",ra.default],["tooltip",pn.default],["tree",xt.default],["treegrid",ei.default],["treeitem",Nn.default]];e.default=ti}),a5=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"abstract [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),s5=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"acknowledgments [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}),l5=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"afterword [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}),u5=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"appendix [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}),c5=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"referrer [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]};e.default=t}),d5=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"EPUB biblioentry [EPUB-SSV]"},module:"EPUB"}],requireContextRole:["doc-bibliography"],requiredContextRole:["doc-bibliography"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","listitem"]]};e.default=t}),p5=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"bibliography [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["doc-biblioentry"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}),f5=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"biblioref [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]};e.default=t}),h5=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"chapter [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}),m5=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"colophon [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),y5=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"conclusion [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}),g5=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"cover [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","img"]]};e.default=t}),b5=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"credit [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),v5=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"credits [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}),w5=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"dedication [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),E5=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"rearnote [EPUB-SSV]"},module:"EPUB"}],requireContextRole:["doc-endnotes"],requiredContextRole:["doc-endnotes"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","listitem"]]};e.default=t}),S5=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"rearnotes [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["doc-endnote"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}),x5=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"epigraph [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),T5=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"epilogue [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}),C5=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"errata [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}),_5=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),P5=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"footnote [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),O5=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"foreword [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}),A5=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"glossary [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["definition"],["term"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}),R5=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"glossref [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]};e.default=t}),N5=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"index [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]};e.default=t}),I5=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"introduction [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}),k5=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"noteref [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]};e.default=t}),M5=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"notice [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","note"]]};e.default=t}),q5=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"pagebreak [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","separator"]]};e.default=t}),j5=A(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,"aria-disabled":null,"aria-errormessage":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),$5=A(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,"aria-disabled":null,"aria-errormessage":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),L5=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"page-list [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]};e.default=t}),F5=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"part [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}),D5=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"preface [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}),B5=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"prologue [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}),U5=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"pullquote [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["none"]]};e.default=t}),H5=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"qna [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),V5=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"subtitle [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","sectionhead"]]};e.default=t}),J5=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"help [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","note"]]};e.default=t}),z5=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"toc [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]};e.default=t}),W5=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=ie(a5()),r=ie(s5()),n=ie(l5()),o=ie(u5()),i=ie(c5()),a=ie(d5()),l=ie(p5()),u=ie(f5()),c=ie(h5()),d=ie(m5()),p=ie(y5()),h=ie(g5()),f=ie(b5()),m=ie(v5()),y=ie(w5()),g=ie(E5()),b=ie(S5()),v=ie(x5()),S=ie(T5()),T=ie(C5()),P=ie(_5()),C=ie(P5()),w=ie(O5()),E=ie(A5()),_=ie(R5()),R=ie(N5()),N=ie(I5()),q=ie(k5()),L=ie(M5()),O=ie(q5()),k=ie(j5()),M=ie($5()),G=ie(L5()),V=ie(F5()),oe=ie(D5()),fe=ie(B5()),te=ie(U5()),Y=ie(H5()),Q=ie(V5()),re=ie(J5()),ce=ie(z5());function ie(we){return we&&we.__esModule?we:{default:we}}s(ie,"_interopRequireDefault");var be=[["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",d.default],["doc-conclusion",p.default],["doc-cover",h.default],["doc-credit",f.default],["doc-credits",m.default],["doc-dedication",y.default],["doc-endnote",g.default],["doc-endnotes",b.default],["doc-epigraph",v.default],["doc-epilogue",S.default],["doc-errata",T.default],["doc-example",P.default],["doc-footnote",C.default],["doc-foreword",w.default],["doc-glossary",E.default],["doc-glossref",_.default],["doc-index",R.default],["doc-introduction",N.default],["doc-noteref",q.default],["doc-notice",L.default],["doc-pagebreak",O.default],["doc-pagefooter",k.default],["doc-pageheader",M.default],["doc-pagelist",G.default],["doc-part",V.default],["doc-preface",oe.default],["doc-prologue",fe.default],["doc-pullquote",te.default],["doc-qna",Y.default],["doc-subtitle",Q.default],["doc-tip",re.default],["doc-toc",ce.default]];e.default=be}),G5=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{module:"GRAPHICS",concept:{name:"graphics-object"}},{module:"ARIA",concept:{name:"img"}},{module:"ARIA",concept:{name:"article"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","document"]]};e.default=t}),K5=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{module:"GRAPHICS",concept:{name:"graphics-document"}},{module:"ARIA",concept:{name:"group"}},{module:"ARIA",concept:{name:"img"}},{module:"GRAPHICS",concept:{name:"graphics-symbol"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","group"]]};e.default=t}),Y5=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","img"]]};e.default=t}),X5=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=o(G5()),r=o(K5()),n=o(Y5());function o(a){return a&&a.__esModule?a:{default:a}}s(o,"_interopRequireDefault");var i=[["graphics-document",t.default],["graphics-object",r.default],["graphics-symbol",n.default]];e.default=i}),sb=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=a(AV()),r=a(i5()),n=a(W5()),o=a(X5()),i=a(hu());function a(g){return g&&g.__esModule?g:{default:g}}s(a,"_interopRequireDefault");function l(g,b){var v=typeof Symbol<"u"&&g[Symbol.iterator]||g["@@iterator"];if(!v){if(Array.isArray(g)||(v=d(g))||b&&g&&typeof g.length=="number"){v&&(g=v);var S=0,T=s(function(){},"F");return{s:T,n:s(function(){return S>=g.length?{done:!0}:{done:!1,value:g[S++]}},"n"),e:s(function(E){throw E},"e"),f:T}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
5
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var P,C=!0,w=!1;return{s:s(function(){v=v.call(g)},"s"),n:s(function(){var E=v.next();return C=E.done,E},"n"),e:s(function(E){w=!0,P=E},"e"),f:s(function(){try{C||v.return==null||v.return()}finally{if(w)throw P}},"f")}}s(l,"_createForOfIteratorHelper");function u(g,b){return f(g)||h(g,b)||d(g,b)||c()}s(u,"_slicedToArray");function c(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
6
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}s(c,"_nonIterableRest");function d(g,b){if(g){if(typeof g=="string")return p(g,b);var v={}.toString.call(g).slice(8,-1);return v==="Object"&&g.constructor&&(v=g.constructor.name),v==="Map"||v==="Set"?Array.from(g):v==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(v)?p(g,b):void 0}}s(d,"_unsupportedIterableToArray");function p(g,b){(b==null||b>g.length)&&(b=g.length);for(var v=0,S=Array(b);v<b;v++)S[v]=g[v];return S}s(p,"_arrayLikeToArray");function h(g,b){var v=g==null?null:typeof Symbol<"u"&&g[Symbol.iterator]||g["@@iterator"];if(v!=null){var S,T,P,C,w=[],E=!0,_=!1;try{if(P=(v=v.call(g)).next,b===0){if(Object(v)!==v)return;E=!1}else for(;!(E=(S=P.call(v)).done)&&(w.push(S.value),w.length!==b);E=!0);}catch(R){_=!0,T=R}finally{try{if(!E&&v.return!=null&&(C=v.return(),Object(C)!==C))return}finally{if(_)throw T}}return w}}s(h,"_iterableToArrayLimit");function f(g){if(Array.isArray(g))return g}s(f,"_arrayWithHoles");var m=[].concat(t.default,r.default,n.default,o.default);m.forEach(function(g){var b=u(g,2),v=b[1],S=l(v.superClass),T;try{for(S.s();!(T=S.n()).done;){var P=T.value,C=l(P),w;try{var E=s(function(){var _=w.value,R=m.filter(function(k){var M=u(k,1),G=M[0];return G===_})[0];if(R)for(var N=R[1],q=0,L=Object.keys(N.props);q<L.length;q++){var O=L[q];Object.prototype.hasOwnProperty.call(v.props,O)||(v.props[O]=N.props[O])}},"_loop");for(C.s();!(w=C.n()).done;)E()}catch(_){C.e(_)}finally{C.f()}}}catch(_){S.e(_)}finally{S.f()}});var y={entries:s(function(){return m},"entries"),forEach:s(function(g){var b=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,v=l(m),S;try{for(v.s();!(S=v.n()).done;){var T=u(S.value,2),P=T[0],C=T[1];g.call(b,C,P,m)}}catch(w){v.e(w)}finally{v.f()}},"forEach"),get:s(function(g){var b=m.filter(function(v){return v[0]===g})[0];return b&&b[1]},"get"),has:s(function(g){return!!y.get(g)},"has"),keys:s(function(){return m.map(function(g){var b=u(g,1),v=b[0];return v})},"keys"),values:s(function(){return m.map(function(g){var b=u(g,2),v=b[1];return v})},"values")};e.default=(0,i.default)(y,y.entries())}),Q5=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=n(hu()),r=n(sb());function n(C){return C&&C.__esModule?C:{default:C}}s(n,"_interopRequireDefault");function o(C,w){return c(C)||u(C,w)||a(C,w)||i()}s(o,"_slicedToArray");function i(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
7
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}s(i,"_nonIterableRest");function a(C,w){if(C){if(typeof C=="string")return l(C,w);var E={}.toString.call(C).slice(8,-1);return E==="Object"&&C.constructor&&(E=C.constructor.name),E==="Map"||E==="Set"?Array.from(C):E==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(E)?l(C,w):void 0}}s(a,"_unsupportedIterableToArray");function l(C,w){(w==null||w>C.length)&&(w=C.length);for(var E=0,_=Array(w);E<w;E++)_[E]=C[E];return _}s(l,"_arrayLikeToArray");function u(C,w){var E=C==null?null:typeof Symbol<"u"&&C[Symbol.iterator]||C["@@iterator"];if(E!=null){var _,R,N,q,L=[],O=!0,k=!1;try{if(N=(E=E.call(C)).next,w===0){if(Object(E)!==E)return;O=!1}else for(;!(O=(_=N.call(E)).done)&&(L.push(_.value),L.length!==w);O=!0);}catch(M){k=!0,R=M}finally{try{if(!O&&E.return!=null&&(q=E.return(),Object(q)!==q))return}finally{if(k)throw R}}return L}}s(u,"_iterableToArrayLimit");function c(C){if(Array.isArray(C))return C}s(c,"_arrayWithHoles");var d=[],p=r.default.keys();for(b=0;b<p.length;b++)if(h=p[b],f=r.default.get(h),f)for(m=[].concat(f.baseConcepts,f.relatedConcepts),y=s(function(){var C=m[g];if(C.module==="HTML"){var w=C.concept;if(w){var E=d.filter(function(q){return S(q[0],w)})[0],_;E?_=E[1]:_=[];for(var R=!0,N=0;N<_.length;N++)if(_[N]===h){R=!1;break}R&&_.push(h),E||d.push([w,_])}}},"_loop"),g=0;g<m.length;g++)y();var h,f,m,y,g,b,v={entries:s(function(){return d},"entries"),forEach:s(function(C){for(var w=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,E=0,_=d;E<_.length;E++){var R=o(_[E],2),N=R[0],q=R[1];C.call(w,q,N,d)}},"forEach"),get:s(function(C){var w=d.filter(function(E){return C.name===E[0].name&&P(C.attributes,E[0].attributes)})[0];return w&&w[1]},"get"),has:s(function(C){return!!v.get(C)},"has"),keys:s(function(){return d.map(function(C){var w=o(C,1),E=w[0];return E})},"keys"),values:s(function(){return d.map(function(C){var w=o(C,2),E=w[1];return E})},"values")};function S(C,w){return C.name===w.name&&T(C.constraints,w.constraints)&&P(C.attributes,w.attributes)}s(S,"ariaRoleRelationConceptEquals");function T(C,w){if(C===void 0&&w!==void 0||C!==void 0&&w===void 0)return!1;if(C!==void 0&&w!==void 0){if(C.length!==w.length)return!1;for(var E=0;E<C.length;E++)if(C[E]!==w[E])return!1}return!0}s(T,"ariaRoleRelationConstraintsEquals");function P(C,w){if(C===void 0&&w!==void 0||C!==void 0&&w===void 0)return!1;if(C!==void 0&&w!==void 0){if(C.length!==w.length)return!1;for(var E=0;E<C.length;E++){if(C[E].name!==w[E].name||C[E].value!==w[E].value||C[E].constraints===void 0&&w[E].constraints!==void 0||C[E].constraints!==void 0&&w[E].constraints===void 0)return!1;if(C[E].constraints!==void 0&&w[E].constraints!==void 0){if(C[E].constraints.length!==w[E].constraints.length)return!1;for(var _=0;_<C[E].constraints.length;_++)if(C[E].constraints[_]!==w[E].constraints[_])return!1}}}return!0}s(P,"ariaRoleRelationConceptAttributeEquals"),e.default=(0,t.default)(v,v.entries())}),Z5=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=n(hu()),r=n(sb());function n(P){return P&&P.__esModule?P:{default:P}}s(n,"_interopRequireDefault");function o(P,C){return c(P)||u(P,C)||a(P,C)||i()}s(o,"_slicedToArray");function i(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
8
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}s(i,"_nonIterableRest");function a(P,C){if(P){if(typeof P=="string")return l(P,C);var w={}.toString.call(P).slice(8,-1);return w==="Object"&&P.constructor&&(w=P.constructor.name),w==="Map"||w==="Set"?Array.from(P):w==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(w)?l(P,C):void 0}}s(a,"_unsupportedIterableToArray");function l(P,C){(C==null||C>P.length)&&(C=P.length);for(var w=0,E=Array(C);w<C;w++)E[w]=P[w];return E}s(l,"_arrayLikeToArray");function u(P,C){var w=P==null?null:typeof Symbol<"u"&&P[Symbol.iterator]||P["@@iterator"];if(w!=null){var E,_,R,N,q=[],L=!0,O=!1;try{if(R=(w=w.call(P)).next,C===0){if(Object(w)!==w)return;L=!1}else for(;!(L=(E=R.call(w)).done)&&(q.push(E.value),q.length!==C);L=!0);}catch(k){O=!0,_=k}finally{try{if(!L&&w.return!=null&&(N=w.return(),Object(N)!==N))return}finally{if(O)throw _}}return q}}s(u,"_iterableToArrayLimit");function c(P){if(Array.isArray(P))return P}s(c,"_arrayWithHoles");var d=[],p=r.default.keys();for(S=0;S<p.length;S++)if(h=p[S],f=r.default.get(h),m=[],f){for(y=[].concat(f.baseConcepts,f.relatedConcepts),v=0;v<y.length;v++)g=y[v],g.module==="HTML"&&(b=g.concept,b!=null&&m.push(b));m.length>0&&d.push([h,m])}var h,f,m,y,g,b,v,S,T={entries:s(function(){return d},"entries"),forEach:s(function(P){for(var C=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,w=0,E=d;w<E.length;w++){var _=o(E[w],2),R=_[0],N=_[1];P.call(C,N,R,d)}},"forEach"),get:s(function(P){var C=d.filter(function(w){return w[0]===P})[0];return C&&C[1]},"get"),has:s(function(P){return!!T.get(P)},"has"),keys:s(function(){return d.map(function(P){var C=o(P,1),w=C[0];return w})},"keys"),values:s(function(){return d.map(function(P){var C=o(P,2),w=C[1];return w})},"values")};e.default=(0,t.default)(T,T.entries())}),q_=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.roles=e.roleElements=e.elementRoles=e.dom=e.aria=void 0;var t=a(mV()),r=a(yV()),n=a(sb()),o=a(Q5()),i=a(Z5());function a(l){return l&&l.__esModule?l:{default:l}}s(a,"_interopRequireDefault"),e.aria=t.default,e.dom=r.default,e.roles=n.default,e.elementRoles=o.default,e.roleElements=i.default}),eJ=A((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]}}),j_=A((e,t)=>{var r=eJ(),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,d=Math.min(l,u,c),p=Math.max(l,u,c),h=p-d,f,m;p===d?f=0:l===p?f=(u-c)/h:u===p?f=2+(c-l)/h:c===p&&(f=4+(l-u)/h),f=Math.min(f*60,360),f<0&&(f+=360);let y=(d+p)/2;return p===d?m=0:y<=.5?m=h/(p+d):m=h/(2-p-d),[f,m*100,y*100]},o.rgb.hsv=function(a){let l,u,c,d,p,h=a[0]/255,f=a[1]/255,m=a[2]/255,y=Math.max(h,f,m),g=y-Math.min(h,f,m),b=s(function(v){return(y-v)/6/g+1/2},"diffc");return g===0?(d=0,p=0):(p=g/y,l=b(h),u=b(f),c=b(m),h===y?d=c-u:f===y?d=1/3+l-c:m===y&&(d=2/3+u-l),d<0?d+=1:d>1&&(d-=1)),[d*360,p*100,y*100]},o.rgb.hwb=function(a){let l=a[0],u=a[1],c=a[2],d=o.rgb.hsl(a)[0],p=1/255*Math.min(l,Math.min(u,c));return c=1-1/255*Math.max(l,Math.max(u,c)),[d,p*100,c*100]},o.rgb.cmyk=function(a){let l=a[0]/255,u=a[1]/255,c=a[2]/255,d=Math.min(1-l,1-u,1-c),p=(1-l-d)/(1-d)||0,h=(1-u-d)/(1-d)||0,f=(1-c-d)/(1-d)||0;return[p*100,h*100,f*100,d*100]};function i(a,l){return(a[0]-l[0])**2+(a[1]-l[1])**2+(a[2]-l[2])**2}s(i,"comparativeDistance"),o.rgb.keyword=function(a){let l=n[a];if(l)return l;let u=1/0,c;for(let d of Object.keys(r)){let p=r[d],h=i(a,p);h<u&&(u=h,c=d)}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 d=l*.4124+u*.3576+c*.1805,p=l*.2126+u*.7152+c*.0722,h=l*.0193+u*.1192+c*.9505;return[d*100,p*100,h*100]},o.rgb.lab=function(a){let l=o.rgb.xyz(a),u=l[0],c=l[1],d=l[2];u/=95.047,c/=100,d/=108.883,u=u>.008856?u**(1/3):7.787*u+16/116,c=c>.008856?c**(1/3):7.787*c+16/116,d=d>.008856?d**(1/3):7.787*d+16/116;let p=116*c-16,h=500*(u-c),f=200*(c-d);return[p,h,f]},o.hsl.rgb=function(a){let l=a[0]/360,u=a[1]/100,c=a[2]/100,d,p,h;if(u===0)return h=c*255,[h,h,h];c<.5?d=c*(1+u):d=c+u-c*u;let f=2*c-d,m=[0,0,0];for(let y=0;y<3;y++)p=l+1/3*-(y-1),p<0&&p++,p>1&&p--,6*p<1?h=f+(d-f)*6*p:2*p<1?h=d:3*p<2?h=f+(d-f)*(2/3-p)*6:h=f,m[y]=h*255;return m},o.hsl.hsv=function(a){let l=a[0],u=a[1]/100,c=a[2]/100,d=u,p=Math.max(c,.01);c*=2,u*=c<=1?c:2-c,d*=p<=1?p:2-p;let h=(c+u)/2,f=c===0?2*d/(p+d):2*u/(c+u);return[l,f*100,h*100]},o.hsv.rgb=function(a){let l=a[0]/60,u=a[1]/100,c=a[2]/100,d=Math.floor(l)%6,p=l-Math.floor(l),h=255*c*(1-u),f=255*c*(1-u*p),m=255*c*(1-u*(1-p));switch(c*=255,d){case 0:return[c,m,h];case 1:return[f,c,h];case 2:return[h,c,m];case 3:return[h,f,c];case 4:return[m,h,c];case 5:return[c,h,f]}},o.hsv.hsl=function(a){let l=a[0],u=a[1]/100,c=a[2]/100,d=Math.max(c,.01),p,h;h=(2-u)*c;let f=(2-u)*d;return p=u*d,p/=f<=1?f:2-f,p=p||0,h/=2,[l,p*100,h*100]},o.hwb.rgb=function(a){let l=a[0]/360,u=a[1]/100,c=a[2]/100,d=u+c,p;d>1&&(u/=d,c/=d);let h=Math.floor(6*l),f=1-c;p=6*l-h,(h&1)!==0&&(p=1-p);let m=u+p*(f-u),y,g,b;switch(h){default:case 6:case 0:y=f,g=m,b=u;break;case 1:y=m,g=f,b=u;break;case 2:y=u,g=f,b=m;break;case 3:y=u,g=m,b=f;break;case 4:y=m,g=u,b=f;break;case 5:y=f,g=u,b=m;break}return[y*255,g*255,b*255]},o.cmyk.rgb=function(a){let l=a[0]/100,u=a[1]/100,c=a[2]/100,d=a[3]/100,p=1-Math.min(1,l*(1-d)+d),h=1-Math.min(1,u*(1-d)+d),f=1-Math.min(1,c*(1-d)+d);return[p*255,h*255,f*255]},o.xyz.rgb=function(a){let l=a[0]/100,u=a[1]/100,c=a[2]/100,d,p,h;return d=l*3.2406+u*-1.5372+c*-.4986,p=l*-.9689+u*1.8758+c*.0415,h=l*.0557+u*-.204+c*1.057,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,h=h>.0031308?1.055*h**(1/2.4)-.055:h*12.92,d=Math.min(Math.max(0,d),1),p=Math.min(Math.max(0,p),1),h=Math.min(Math.max(0,h),1),[d*255,p*255,h*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 d=116*u-16,p=500*(l-u),h=200*(u-c);return[d,p,h]},o.lab.xyz=function(a){let l=a[0],u=a[1],c=a[2],d,p,h;p=(l+16)/116,d=u/500+p,h=p-c/200;let f=p**3,m=d**3,y=h**3;return p=f>.008856?f:(p-16/116)/7.787,d=m>.008856?m:(d-16/116)/7.787,h=y>.008856?y:(h-16/116)/7.787,d*=95.047,p*=100,h*=108.883,[d,p,h]},o.lab.lch=function(a){let l=a[0],u=a[1],c=a[2],d;d=Math.atan2(c,u)*360/2/Math.PI,d<0&&(d+=360);let p=Math.sqrt(u*u+c*c);return[l,p,d]},o.lch.lab=function(a){let l=a[0],u=a[1],c=a[2]/360*2*Math.PI,d=u*Math.cos(c),p=u*Math.sin(c);return[l,d,p]},o.rgb.ansi16=function(a,l=null){let[u,c,d]=a,p=l===null?o.rgb.hsv(a)[2]:l;if(p=Math.round(p/50),p===0)return 30;let h=30+(Math.round(d/255)<<2|Math.round(c/255)<<1|Math.round(u/255));return p===2&&(h+=60),h},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,d=(l>>1&1)*u*255,p=(l>>2&1)*u*255;return[c,d,p]},o.ansi256.rgb=function(a){if(a>=232){let p=(a-232)*10+8;return[p,p,p]}a-=16;let l,u=Math.floor(a/36)/5*255,c=Math.floor((l=a%36)/6)/5*255,d=l%6/5*255;return[u,c,d]},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),d=c>>16&255,p=c>>8&255,h=c&255;return[d,p,h]},o.rgb.hcg=function(a){let l=a[0]/255,u=a[1]/255,c=a[2]/255,d=Math.max(Math.max(l,u),c),p=Math.min(Math.min(l,u),c),h=d-p,f,m;return h<1?f=p/(1-h):f=0,h<=0?m=0:d===l?m=(u-c)/h%6:d===u?m=2+(c-l)/h:m=4+(l-u)/h,m/=6,m%=1,[m*360,h*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),d=0;return c<1&&(d=(u-.5*c)/(1-c)),[a[0],c*100,d*100]},o.hsv.hcg=function(a){let l=a[1]/100,u=a[2]/100,c=l*u,d=0;return c<1&&(d=(u-c)/(1-c)),[a[0],c*100,d*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 d=[0,0,0],p=l%1*6,h=p%1,f=1-h,m=0;switch(Math.floor(p)){case 0:d[0]=1,d[1]=h,d[2]=0;break;case 1:d[0]=f,d[1]=1,d[2]=0;break;case 2:d[0]=0,d[1]=1,d[2]=h;break;case 3:d[0]=0,d[1]=f,d[2]=1;break;case 4:d[0]=h,d[1]=0,d[2]=1;break;default:d[0]=1,d[1]=0,d[2]=f}return m=(1-u)*c,[(u*d[0]+m)*255,(u*d[1]+m)*255,(u*d[2]+m)*255]},o.hcg.hsv=function(a){let l=a[1]/100,u=a[2]/100,c=l+u*(1-l),d=0;return c>0&&(d=l/c),[a[0],d*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,d=0;return c<1&&(d=(u-c)/(1-c)),[a[0],c*100,d*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]}}),tJ=A((e,t)=>{var r=j_();function n(){let l={},u=Object.keys(r);for(let c=u.length,d=0;d<c;d++)l[u[d]]={distance:-1,parent:null};return l}s(n,"buildGraph");function o(l){let u=n(),c=[l];for(u[l].distance=0;c.length;){let d=c.pop(),p=Object.keys(r[d]);for(let h=p.length,f=0;f<h;f++){let m=p[f],y=u[m];y.distance===-1&&(y.distance=u[d].distance+1,y.parent=d,c.unshift(m))}}return u}s(o,"deriveBFS");function i(l,u){return function(c){return u(l(c))}}s(i,"link");function a(l,u){let c=[u[l].parent,l],d=r[u[l].parent][l],p=u[l].parent;for(;u[p].parent;)c.unshift(u[p].parent),d=i(r[u[p].parent][p],d),p=u[p].parent;return d.conversion=c,d}s(a,"wrapConversion"),t.exports=function(l){let u=o(l),c={},d=Object.keys(u);for(let p=d.length,h=0;h<p;h++){let f=d[h];u[f].parent!==null&&(c[f]=a(f,u))}return c}}),rJ=A((e,t)=>{var r=j_(),n=tJ(),o={},i=Object.keys(r);function a(u){let c=s(function(...d){let p=d[0];return p==null?p:(p.length>1&&(d=p),u(d))},"wrappedFn");return"conversion"in u&&(c.conversion=u.conversion),c}s(a,"wrapRaw");function l(u){let c=s(function(...d){let p=d[0];if(p==null)return p;p.length>1&&(d=p);let h=u(d);if(typeof h=="object")for(let f=h.length,m=0;m<f;m++)h[m]=Math.round(h[m]);return h},"wrappedFn");return"conversion"in u&&(c.conversion=u.conversion),c}s(l,"wrapRounded"),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(d=>{let p=c[d];o[u][d]=l(p),o[u][d].raw=a(p)})}),t.exports=o}),nJ=A((e,t)=>{var r=s((p,h)=>(...f)=>`\x1B[${p(...f)+h}m`,"wrapAnsi16"),n=s((p,h)=>(...f)=>{let m=p(...f);return`\x1B[${38+h};5;${m}m`},"wrapAnsi256"),o=s((p,h)=>(...f)=>{let m=p(...f);return`\x1B[${38+h};2;${m[0]};${m[1]};${m[2]}m`},"wrapAnsi16m"),i=s(p=>p,"ansi2ansi"),a=s((p,h,f)=>[p,h,f],"rgb2rgb"),l=s((p,h,f)=>{Object.defineProperty(p,h,{get:s(()=>{let m=f();return Object.defineProperty(p,h,{value:m,enumerable:!0,configurable:!0}),m},"get"),enumerable:!0,configurable:!0})},"setLazyProperty"),u,c=s((p,h,f,m)=>{u===void 0&&(u=rJ());let y=m?10:0,g={};for(let[b,v]of Object.entries(u)){let S=b==="ansi16"?"ansi":b;b===h?g[S]=p(f,y):typeof v=="object"&&(g[S]=p(v[h],y))}return g},"makeDynamicStyles");function d(){let p=new Map,h={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]}};h.color.gray=h.color.blackBright,h.bgColor.bgGray=h.bgColor.bgBlackBright,h.color.grey=h.color.blackBright,h.bgColor.bgGrey=h.bgColor.bgBlackBright;for(let[f,m]of Object.entries(h)){for(let[y,g]of Object.entries(m))h[y]={open:`\x1B[${g[0]}m`,close:`\x1B[${g[1]}m`},m[y]=h[y],p.set(g[0],g[1]);Object.defineProperty(h,f,{value:m,enumerable:!1})}return Object.defineProperty(h,"codes",{value:p,enumerable:!1}),h.color.close="\x1B[39m",h.bgColor.close="\x1B[49m",l(h.color,"ansi",()=>c(r,"ansi16",i,!1)),l(h.color,"ansi256",()=>c(n,"ansi256",i,!1)),l(h.color,"ansi16m",()=>c(o,"rgb",a,!1)),l(h.bgColor,"ansi",()=>c(r,"ansi16",i,!0)),l(h.bgColor,"ansi256",()=>c(n,"ansi256",i,!0)),l(h.bgColor,"ansi16m",()=>c(o,"rgb",a,!0)),h}s(d,"assembleStyles"),Object.defineProperty(t,"exports",{enumerable:!0,get:d})}),oJ=A((e,t)=>{t.exports={stdout:!1,stderr:!1}}),iJ=A((e,t)=>{var r=s((o,i,a)=>{let l=o.indexOf(i);if(l===-1)return o;let u=i.length,c=0,d="";do d+=o.substr(c,l-c)+i+a,c=l+u,l=o.indexOf(i,c);while(l!==-1);return d+=o.substr(c),d},"stringReplaceAll"),n=s((o,i,a,l)=>{let u=0,c="";do{let d=o[l-1]==="\r";c+=o.substr(u,(d?l-1:l)-u)+i+(d?`\r
|
|
9
|
-
`:`
|
|
10
|
-
`)+a,u=l+1,l=o.indexOf(`
|
|
11
|
-
`,u)}while(l!==-1);return c+=o.substr(u),c},"stringEncaseCRLFWithFirstIndex");t.exports={stringReplaceAll:r,stringEncaseCRLFWithFirstIndex:n}}),aJ=A((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",`
|
|
12
|
-
`],["r","\r"],["t"," "],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e","\x1B"],["a","\x07"]]);function l(p){let h=p[0]==="u",f=p[1]==="{";return h&&!f&&p.length===5||p[0]==="x"&&p.length===3?String.fromCharCode(parseInt(p.slice(1),16)):h&&f?String.fromCodePoint(parseInt(p.slice(2,-1),16)):a.get(p)||p}s(l,"unescape");function u(p,h){let f=[],m=h.trim().split(/\s*,\s*/g),y;for(let g of m){let b=Number(g);if(!Number.isNaN(b))f.push(b);else if(y=g.match(o))f.push(y[2].replace(i,(v,S,T)=>S?l(S):T));else throw new Error(`Invalid Chalk template style argument: ${g} (in style '${p}')`)}return f}s(u,"parseArguments");function c(p){n.lastIndex=0;let h=[],f;for(;(f=n.exec(p))!==null;){let m=f[1];if(f[2]){let y=u(m,f[2]);h.push([m].concat(y))}else h.push([m])}return h}s(c,"parseStyle");function d(p,h){let f={};for(let y of h)for(let g of y.styles)f[g[0]]=y.inverse?null:g.slice(1);let m=p;for(let[y,g]of Object.entries(f))if(Array.isArray(g)){if(!(y in m))throw new Error(`Unknown Chalk style: ${y}`);m=g.length>0?m[y](...g):m[y]}return m}s(d,"buildStyle"),t.exports=(p,h)=>{let f=[],m=[],y=[];if(h.replace(r,(g,b,v,S,T,P)=>{if(b)y.push(l(b));else if(S){let C=y.join("");y=[],m.push(f.length===0?C:d(p,f)(C)),f.push({inverse:v,styles:c(S)})}else if(T){if(f.length===0)throw new Error("Found extraneous } in Chalk template literal");m.push(d(p,f)(y.join(""))),y=[],f.pop()}else y.push(P)}),m.push(y.join("")),f.length>0){let g=`Chalk template literal is missing ${f.length} closing bracket${f.length===1?"":"s"} (\`}\`)`;throw new Error(g)}return m.join("")}}),$_=A((e,t)=>{var r=nJ(),{stdout:n,stderr:o}=oJ(),{stringReplaceAll:i,stringEncaseCRLFWithFirstIndex:a}=iJ(),l=["ansi","ansi","ansi256","ansi16m"],u=Object.create(null),c=s((C,w={})=>{if(w.level>3||w.level<0)throw new Error("The `level` option should be an integer from 0 to 3");let E=n?n.level:0;C.level=w.level===void 0?E:w.level},"applyOptions"),d=class{constructor(w){return h(w)}};s(d,"ChalkClass");var p=d,h=s(C=>{let w={};return c(w,C),w.template=(...E)=>T(w.template,...E),Object.setPrototypeOf(w,f.prototype),Object.setPrototypeOf(w.template,w),w.template.constructor=()=>{throw new Error("`chalk.constructor()` is deprecated. Use `new chalk.Instance()` instead.")},w.template.Instance=p,w.template},"chalkFactory");function f(C){return h(C)}s(f,"Chalk");for(let[C,w]of Object.entries(r))u[C]={get(){let E=b(this,g(w.open,w.close,this._styler),this._isEmpty);return Object.defineProperty(this,C,{value:E}),E}};u.visible={get(){let C=b(this,this._styler,!0);return Object.defineProperty(this,"visible",{value:C}),C}};var m=["rgb","hex","keyword","hsl","hsv","hwb","ansi","ansi256"];for(let C of m)u[C]={get(){let{level:w}=this;return function(...E){let _=g(r.color[l[w]][C](...E),r.color.close,this._styler);return b(this,_,this._isEmpty)}}};for(let C of m){let w="bg"+C[0].toUpperCase()+C.slice(1);u[w]={get(){let{level:E}=this;return function(..._){let R=g(r.bgColor[l[E]][C](..._),r.bgColor.close,this._styler);return b(this,R,this._isEmpty)}}}}var y=Object.defineProperties(()=>{},{...u,level:{enumerable:!0,get(){return this._generator.level},set(C){this._generator.level=C}}}),g=s((C,w,E)=>{let _,R;return E===void 0?(_=C,R=w):(_=E.openAll+C,R=w+E.closeAll),{open:C,close:w,openAll:_,closeAll:R,parent:E}},"createStyler"),b=s((C,w,E)=>{let _=s((...R)=>v(_,R.length===1?""+R[0]:R.join(" ")),"builder");return _.__proto__=y,_._generator=C,_._styler=w,_._isEmpty=E,_},"createBuilder"),v=s((C,w)=>{if(C.level<=0||!w)return C._isEmpty?"":w;let E=C._styler;if(E===void 0)return w;let{openAll:_,closeAll:R}=E;if(w.indexOf("\x1B")!==-1)for(;E!==void 0;)w=i(w,E.close,E.open),E=E.parent;let N=w.indexOf(`
|
|
13
|
-
`);return N!==-1&&(w=a(w,R,_,N)),_+w+R},"applyStyle"),S,T=s((C,...w)=>{let[E]=w;if(!Array.isArray(E))return w.join(" ");let _=w.slice(1),R=[E.raw[0]];for(let N=1;N<E.length;N++)R.push(String(_[N-1]).replace(/[{}\\]/g,"\\$&"),String(E.raw[N]));return S===void 0&&(S=aJ()),S(C,R.join(""))},"chalkTag");Object.defineProperties(f.prototype,u);var P=f();P.supportsColor=n,P.stderr=f({level:o?o.level:0}),P.stderr.supportsColor=o,P.Level={None:0,Basic:1,Ansi256:2,TrueColor:3,0:"None",1:"Basic",2:"Ansi256",3:"TrueColor"},t.exports=P}),sJ=A((e,t)=>{function r(){this.__data__=[],this.size=0}s(r,"listCacheClear"),t.exports=r}),L_=A((e,t)=>{function r(n,o){return n===o||n!==n&&o!==o}s(r,"eq"),t.exports=r}),yp=A((e,t)=>{var r=L_();function n(o,i){for(var a=o.length;a--;)if(r(o[a][0],i))return a;return-1}s(n,"assocIndexOf"),t.exports=n}),lJ=A((e,t)=>{var r=yp(),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}s(i,"listCacheDelete"),t.exports=i}),uJ=A((e,t)=>{var r=yp();function n(o){var i=this.__data__,a=r(i,o);return a<0?void 0:i[a][1]}s(n,"listCacheGet"),t.exports=n}),cJ=A((e,t)=>{var r=yp();function n(o){return r(this.__data__,o)>-1}s(n,"listCacheHas"),t.exports=n}),dJ=A((e,t)=>{var r=yp();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}s(n,"listCacheSet"),t.exports=n}),gp=A((e,t)=>{var r=sJ(),n=lJ(),o=uJ(),i=cJ(),a=dJ();function l(u){var c=-1,d=u==null?0:u.length;for(this.clear();++c<d;){var p=u[c];this.set(p[0],p[1])}}s(l,"ListCache"),l.prototype.clear=r,l.prototype.delete=n,l.prototype.get=o,l.prototype.has=i,l.prototype.set=a,t.exports=l}),pJ=A((e,t)=>{var r=gp();function n(){this.__data__=new r,this.size=0}s(n,"stackClear"),t.exports=n}),fJ=A((e,t)=>{function r(n){var o=this.__data__,i=o.delete(n);return this.size=o.size,i}s(r,"stackDelete"),t.exports=r}),hJ=A((e,t)=>{function r(n){return this.__data__.get(n)}s(r,"stackGet"),t.exports=r}),mJ=A((e,t)=>{function r(n){return this.__data__.has(n)}s(r,"stackHas"),t.exports=r}),F_=A((e,t)=>{var r=typeof global=="object"&&global&&global.Object===Object&&global;t.exports=r}),so=A((e,t)=>{var r=F_(),n=typeof self=="object"&&self&&self.Object===Object&&self,o=r||n||Function("return this")();t.exports=o}),lb=A((e,t)=>{var r=so(),n=r.Symbol;t.exports=n}),yJ=A((e,t)=>{var r=lb(),n=Object.prototype,o=n.hasOwnProperty,i=n.toString,a=r?r.toStringTag:void 0;function l(u){var c=o.call(u,a),d=u[a];try{u[a]=void 0;var p=!0}catch{}var h=i.call(u);return p&&(c?u[a]=d:delete u[a]),h}s(l,"getRawTag"),t.exports=l}),gJ=A((e,t)=>{var r=Object.prototype,n=r.toString;function o(i){return n.call(i)}s(o,"objectToString"),t.exports=o}),bp=A((e,t)=>{var r=lb(),n=yJ(),o=gJ(),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)}s(u,"baseGetTag"),t.exports=u}),D_=A((e,t)=>{function r(n){var o=typeof n;return n!=null&&(o=="object"||o=="function")}s(r,"isObject"),t.exports=r}),B_=A((e,t)=>{var r=bp(),n=D_(),o="[object AsyncFunction]",i="[object Function]",a="[object GeneratorFunction]",l="[object Proxy]";function u(c){if(!n(c))return!1;var d=r(c);return d==i||d==a||d==o||d==l}s(u,"isFunction"),t.exports=u}),bJ=A((e,t)=>{var r=so(),n=r["__core-js_shared__"];t.exports=n}),vJ=A((e,t)=>{var r=bJ(),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}s(o,"isMasked"),t.exports=o}),U_=A((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""}s(o,"toSource"),t.exports=o}),wJ=A((e,t)=>{var r=B_(),n=vJ(),o=D_(),i=U_(),a=/[\\^$.*+?()[\]{}|]/g,l=/^\[object .+?Constructor\]$/,u=Function.prototype,c=Object.prototype,d=u.toString,p=c.hasOwnProperty,h=RegExp("^"+d.call(p).replace(a,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function f(m){if(!o(m)||n(m))return!1;var y=r(m)?h:l;return y.test(i(m))}s(f,"baseIsNative"),t.exports=f}),EJ=A((e,t)=>{function r(n,o){return n==null?void 0:n[o]}s(r,"getValue"),t.exports=r}),ms=A((e,t)=>{var r=wJ(),n=EJ();function o(i,a){var l=n(i,a);return r(l)?l:void 0}s(o,"getNative"),t.exports=o}),ub=A((e,t)=>{var r=ms(),n=so(),o=r(n,"Map");t.exports=o}),vp=A((e,t)=>{var r=ms(),n=r(Object,"create");t.exports=n}),SJ=A((e,t)=>{var r=vp();function n(){this.__data__=r?r(null):{},this.size=0}s(n,"hashClear"),t.exports=n}),xJ=A((e,t)=>{function r(n){var o=this.has(n)&&delete this.__data__[n];return this.size-=o?1:0,o}s(r,"hashDelete"),t.exports=r}),TJ=A((e,t)=>{var r=vp(),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}s(a,"hashGet"),t.exports=a}),CJ=A((e,t)=>{var r=vp(),n=Object.prototype,o=n.hasOwnProperty;function i(a){var l=this.__data__;return r?l[a]!==void 0:o.call(l,a)}s(i,"hashHas"),t.exports=i}),_J=A((e,t)=>{var r=vp(),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}s(o,"hashSet"),t.exports=o}),PJ=A((e,t)=>{var r=SJ(),n=xJ(),o=TJ(),i=CJ(),a=_J();function l(u){var c=-1,d=u==null?0:u.length;for(this.clear();++c<d;){var p=u[c];this.set(p[0],p[1])}}s(l,"Hash"),l.prototype.clear=r,l.prototype.delete=n,l.prototype.get=o,l.prototype.has=i,l.prototype.set=a,t.exports=l}),OJ=A((e,t)=>{var r=PJ(),n=gp(),o=ub();function i(){this.size=0,this.__data__={hash:new r,map:new(o||n),string:new r}}s(i,"mapCacheClear"),t.exports=i}),AJ=A((e,t)=>{function r(n){var o=typeof n;return o=="string"||o=="number"||o=="symbol"||o=="boolean"?n!=="__proto__":n===null}s(r,"isKeyable"),t.exports=r}),wp=A((e,t)=>{var r=AJ();function n(o,i){var a=o.__data__;return r(i)?a[typeof i=="string"?"string":"hash"]:a.map}s(n,"getMapData"),t.exports=n}),RJ=A((e,t)=>{var r=wp();function n(o){var i=r(this,o).delete(o);return this.size-=i?1:0,i}s(n,"mapCacheDelete"),t.exports=n}),NJ=A((e,t)=>{var r=wp();function n(o){return r(this,o).get(o)}s(n,"mapCacheGet"),t.exports=n}),IJ=A((e,t)=>{var r=wp();function n(o){return r(this,o).has(o)}s(n,"mapCacheHas"),t.exports=n}),kJ=A((e,t)=>{var r=wp();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}s(n,"mapCacheSet"),t.exports=n}),H_=A((e,t)=>{var r=OJ(),n=RJ(),o=NJ(),i=IJ(),a=kJ();function l(u){var c=-1,d=u==null?0:u.length;for(this.clear();++c<d;){var p=u[c];this.set(p[0],p[1])}}s(l,"MapCache"),l.prototype.clear=r,l.prototype.delete=n,l.prototype.get=o,l.prototype.has=i,l.prototype.set=a,t.exports=l}),MJ=A((e,t)=>{var r=gp(),n=ub(),o=H_(),i=200;function a(l,u){var c=this.__data__;if(c instanceof r){var d=c.__data__;if(!n||d.length<i-1)return d.push([l,u]),this.size=++c.size,this;c=this.__data__=new o(d)}return c.set(l,u),this.size=c.size,this}s(a,"stackSet"),t.exports=a}),qJ=A((e,t)=>{var r=gp(),n=pJ(),o=fJ(),i=hJ(),a=mJ(),l=MJ();function u(c){var d=this.__data__=new r(c);this.size=d.size}s(u,"Stack"),u.prototype.clear=n,u.prototype.delete=o,u.prototype.get=i,u.prototype.has=a,u.prototype.set=l,t.exports=u}),jJ=A((e,t)=>{var r="__lodash_hash_undefined__";function n(o){return this.__data__.set(o,r),this}s(n,"setCacheAdd"),t.exports=n}),$J=A((e,t)=>{function r(n){return this.__data__.has(n)}s(r,"setCacheHas"),t.exports=r}),LJ=A((e,t)=>{var r=H_(),n=jJ(),o=$J();function i(a){var l=-1,u=a==null?0:a.length;for(this.__data__=new r;++l<u;)this.add(a[l])}s(i,"SetCache"),i.prototype.add=i.prototype.push=n,i.prototype.has=o,t.exports=i}),FJ=A((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}s(r,"arraySome"),t.exports=r}),DJ=A((e,t)=>{function r(n,o){return n.has(o)}s(r,"cacheHas"),t.exports=r}),V_=A((e,t)=>{var r=LJ(),n=FJ(),o=DJ(),i=1,a=2;function l(u,c,d,p,h,f){var m=d&i,y=u.length,g=c.length;if(y!=g&&!(m&&g>y))return!1;var b=f.get(u),v=f.get(c);if(b&&v)return b==c&&v==u;var S=-1,T=!0,P=d&a?new r:void 0;for(f.set(u,c),f.set(c,u);++S<y;){var C=u[S],w=c[S];if(p)var E=m?p(w,C,S,c,u,f):p(C,w,S,u,c,f);if(E!==void 0){if(E)continue;T=!1;break}if(P){if(!n(c,function(_,R){if(!o(P,R)&&(C===_||h(C,_,d,p,f)))return P.push(R)})){T=!1;break}}else if(!(C===w||h(C,w,d,p,f))){T=!1;break}}return f.delete(u),f.delete(c),T}s(l,"equalArrays"),t.exports=l}),BJ=A((e,t)=>{var r=so(),n=r.Uint8Array;t.exports=n}),UJ=A((e,t)=>{function r(n){var o=-1,i=Array(n.size);return n.forEach(function(a,l){i[++o]=[l,a]}),i}s(r,"mapToArray"),t.exports=r}),HJ=A((e,t)=>{function r(n){var o=-1,i=Array(n.size);return n.forEach(function(a){i[++o]=a}),i}s(r,"setToArray"),t.exports=r}),VJ=A((e,t)=>{var r=lb(),n=BJ(),o=L_(),i=V_(),a=UJ(),l=HJ(),u=1,c=2,d="[object Boolean]",p="[object Date]",h="[object Error]",f="[object Map]",m="[object Number]",y="[object RegExp]",g="[object Set]",b="[object String]",v="[object Symbol]",S="[object ArrayBuffer]",T="[object DataView]",P=r?r.prototype:void 0,C=P?P.valueOf:void 0;function w(E,_,R,N,q,L,O){switch(R){case T:if(E.byteLength!=_.byteLength||E.byteOffset!=_.byteOffset)return!1;E=E.buffer,_=_.buffer;case S:return!(E.byteLength!=_.byteLength||!L(new n(E),new n(_)));case d:case p:case m:return o(+E,+_);case h:return E.name==_.name&&E.message==_.message;case y:case b:return E==_+"";case f:var k=a;case g:var M=N&u;if(k||(k=l),E.size!=_.size&&!M)return!1;var G=O.get(E);if(G)return G==_;N|=c,O.set(E,_);var V=i(k(E),k(_),N,q,L,O);return O.delete(E),V;case v:if(C)return C.call(E)==C.call(_)}return!1}s(w,"equalByTag"),t.exports=w}),JJ=A((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}s(r,"arrayPush"),t.exports=r}),cb=A((e,t)=>{var r=Array.isArray;t.exports=r}),zJ=A((e,t)=>{var r=JJ(),n=cb();function o(i,a,l){var u=a(i);return n(i)?u:r(u,l(i))}s(o,"baseGetAllKeys"),t.exports=o}),WJ=A((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}s(r,"arrayFilter"),t.exports=r}),GJ=A((e,t)=>{function r(){return[]}s(r,"stubArray"),t.exports=r}),KJ=A((e,t)=>{var r=WJ(),n=GJ(),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}),YJ=A((e,t)=>{function r(n,o){for(var i=-1,a=Array(n);++i<n;)a[i]=o(i);return a}s(r,"baseTimes"),t.exports=r}),Ep=A((e,t)=>{function r(n){return n!=null&&typeof n=="object"}s(r,"isObjectLike"),t.exports=r}),XJ=A((e,t)=>{var r=bp(),n=Ep(),o="[object Arguments]";function i(a){return n(a)&&r(a)==o}s(i,"baseIsArguments"),t.exports=i}),QJ=A((e,t)=>{var r=XJ(),n=Ep(),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}),ZJ=A((e,t)=>{function r(){return!1}s(r,"stubFalse"),t.exports=r}),J_=A((e,t)=>{var r=so(),n=ZJ(),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}),e4=A((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}s(o,"isIndex"),t.exports=o}),z_=A((e,t)=>{var r=9007199254740991;function n(o){return typeof o=="number"&&o>-1&&o%1==0&&o<=r}s(n,"isLength"),t.exports=n}),t4=A((e,t)=>{var r=bp(),n=z_(),o=Ep(),i="[object Arguments]",a="[object Array]",l="[object Boolean]",u="[object Date]",c="[object Error]",d="[object Function]",p="[object Map]",h="[object Number]",f="[object Object]",m="[object RegExp]",y="[object Set]",g="[object String]",b="[object WeakMap]",v="[object ArrayBuffer]",S="[object DataView]",T="[object Float32Array]",P="[object Float64Array]",C="[object Int8Array]",w="[object Int16Array]",E="[object Int32Array]",_="[object Uint8Array]",R="[object Uint8ClampedArray]",N="[object Uint16Array]",q="[object Uint32Array]",L={};L[T]=L[P]=L[C]=L[w]=L[E]=L[_]=L[R]=L[N]=L[q]=!0,L[i]=L[a]=L[v]=L[l]=L[S]=L[u]=L[c]=L[d]=L[p]=L[h]=L[f]=L[m]=L[y]=L[g]=L[b]=!1;function O(k){return o(k)&&n(k.length)&&!!L[r(k)]}s(O,"baseIsTypedArray"),t.exports=O}),r4=A((e,t)=>{function r(n){return function(o){return n(o)}}s(r,"baseUnary"),t.exports=r}),n4=A((e,t)=>{var r=F_(),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}),W_=A((e,t)=>{var r=t4(),n=r4(),o=n4(),i=o&&o.isTypedArray,a=i?n(i):r;t.exports=a}),o4=A((e,t)=>{var r=YJ(),n=QJ(),o=cb(),i=J_(),a=e4(),l=W_(),u=Object.prototype,c=u.hasOwnProperty;function d(p,h){var f=o(p),m=!f&&n(p),y=!f&&!m&&i(p),g=!f&&!m&&!y&&l(p),b=f||m||y||g,v=b?r(p.length,String):[],S=v.length;for(var T in p)(h||c.call(p,T))&&!(b&&(T=="length"||y&&(T=="offset"||T=="parent")||g&&(T=="buffer"||T=="byteLength"||T=="byteOffset")||a(T,S)))&&v.push(T);return v}s(d,"arrayLikeKeys"),t.exports=d}),i4=A((e,t)=>{var r=Object.prototype;function n(o){var i=o&&o.constructor,a=typeof i=="function"&&i.prototype||r;return o===a}s(n,"isPrototype"),t.exports=n}),a4=A((e,t)=>{function r(n,o){return function(i){return n(o(i))}}s(r,"overArg"),t.exports=r}),s4=A((e,t)=>{var r=a4(),n=r(Object.keys,Object);t.exports=n}),l4=A((e,t)=>{var r=i4(),n=s4(),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}s(a,"baseKeys"),t.exports=a}),u4=A((e,t)=>{var r=B_(),n=z_();function o(i){return i!=null&&n(i.length)&&!r(i)}s(o,"isArrayLike"),t.exports=o}),c4=A((e,t)=>{var r=o4(),n=l4(),o=u4();function i(a){return o(a)?r(a):n(a)}s(i,"keys"),t.exports=i}),d4=A((e,t)=>{var r=zJ(),n=KJ(),o=c4();function i(a){return r(a,o,n)}s(i,"getAllKeys"),t.exports=i}),p4=A((e,t)=>{var r=d4(),n=1,o=Object.prototype,i=o.hasOwnProperty;function a(l,u,c,d,p,h){var f=c&n,m=r(l),y=m.length,g=r(u),b=g.length;if(y!=b&&!f)return!1;for(var v=y;v--;){var S=m[v];if(!(f?S in u:i.call(u,S)))return!1}var T=h.get(l),P=h.get(u);if(T&&P)return T==u&&P==l;var C=!0;h.set(l,u),h.set(u,l);for(var w=f;++v<y;){S=m[v];var E=l[S],_=u[S];if(d)var R=f?d(_,E,S,u,l,h):d(E,_,S,l,u,h);if(!(R===void 0?E===_||p(E,_,c,d,h):R)){C=!1;break}w||(w=S=="constructor")}if(C&&!w){var N=l.constructor,q=u.constructor;N!=q&&"constructor"in l&&"constructor"in u&&!(typeof N=="function"&&N instanceof N&&typeof q=="function"&&q instanceof q)&&(C=!1)}return h.delete(l),h.delete(u),C}s(a,"equalObjects"),t.exports=a}),f4=A((e,t)=>{var r=ms(),n=so(),o=r(n,"DataView");t.exports=o}),h4=A((e,t)=>{var r=ms(),n=so(),o=r(n,"Promise");t.exports=o}),m4=A((e,t)=>{var r=ms(),n=so(),o=r(n,"Set");t.exports=o}),y4=A((e,t)=>{var r=ms(),n=so(),o=r(n,"WeakMap");t.exports=o}),g4=A((e,t)=>{var r=f4(),n=ub(),o=h4(),i=m4(),a=y4(),l=bp(),u=U_(),c="[object Map]",d="[object Object]",p="[object Promise]",h="[object Set]",f="[object WeakMap]",m="[object DataView]",y=u(r),g=u(n),b=u(o),v=u(i),S=u(a),T=l;(r&&T(new r(new ArrayBuffer(1)))!=m||n&&T(new n)!=c||o&&T(o.resolve())!=p||i&&T(new i)!=h||a&&T(new a)!=f)&&(T=s(function(P){var C=l(P),w=C==d?P.constructor:void 0,E=w?u(w):"";if(E)switch(E){case y:return m;case g:return c;case b:return p;case v:return h;case S:return f}return C},"getTag")),t.exports=T}),b4=A((e,t)=>{var r=qJ(),n=V_(),o=VJ(),i=p4(),a=g4(),l=cb(),u=J_(),c=W_(),d=1,p="[object Arguments]",h="[object Array]",f="[object Object]",m=Object.prototype,y=m.hasOwnProperty;function g(b,v,S,T,P,C){var w=l(b),E=l(v),_=w?h:a(b),R=E?h:a(v);_=_==p?f:_,R=R==p?f:R;var N=_==f,q=R==f,L=_==R;if(L&&u(b)){if(!u(v))return!1;w=!0,N=!1}if(L&&!N)return C||(C=new r),w||c(b)?n(b,v,S,T,P,C):o(b,v,_,S,T,P,C);if(!(S&d)){var O=N&&y.call(b,"__wrapped__"),k=q&&y.call(v,"__wrapped__");if(O||k){var M=O?b.value():b,G=k?v.value():v;return C||(C=new r),P(M,G,S,T,C)}}return L?(C||(C=new r),i(b,v,S,T,P,C)):!1}s(g,"baseIsEqualDeep"),t.exports=g}),v4=A((e,t)=>{var r=b4(),n=Ep();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)}s(o,"baseIsEqual"),t.exports=o}),G_=A((e,t)=>{var r=v4();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}s(n,"isEqualWith"),t.exports=n}),K_=A((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=s(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="",d=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&&d==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},"cssEscape");return r.CSS||(r.CSS={}),r.CSS.escape=n,n})}),Y_=A((e,t)=>{var r=s((i=0)=>a=>`\x1B[${38+i};5;${a}m`,"wrapAnsi256"),n=s((i=0)=>(a,l,u)=>`\x1B[${38+i};2;${a};${l};${u}m`,"wrapAnsi16m");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,d]of Object.entries(u))a[c]={open:`\x1B[${d[0]}m`,close:`\x1B[${d[1]}m`},u[c]=a[c],i.set(d[0],d[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:s((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),"value"),enumerable:!1},hexToRgb:{value:s(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(p=>p+p).join(""));let d=Number.parseInt(c,16);return[d>>16&255,d>>8&255,d&255]},"value"),enumerable:!1},hexToAnsi256:{value:s(l=>a.rgbToAnsi256(...a.hexToRgb(l)),"value"),enumerable:!1}}),a}s(o,"assembleStyles"),Object.defineProperty(t,"exports",{enumerable:!0,get:o})}),Sp=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.printIteratorEntries=r,e.printIteratorValues=n,e.printListItems=o,e.printObjectProperties=i;var t=s((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},"getKeysOfEnumerableProperties");function r(a,l,u,c,d,p,h=": "){let f="",m=a.next();if(!m.done){f+=l.spacingOuter;let y=u+l.indent;for(;!m.done;){let g=p(m.value[0],l,y,c,d),b=p(m.value[1],l,y,c,d);f+=y+g+h+b,m=a.next(),m.done?l.min||(f+=","):f+=","+l.spacingInner}f+=l.spacingOuter+u}return f}s(r,"printIteratorEntries");function n(a,l,u,c,d,p){let h="",f=a.next();if(!f.done){h+=l.spacingOuter;let m=u+l.indent;for(;!f.done;)h+=m+p(f.value,l,m,c,d),f=a.next(),f.done?l.min||(h+=","):h+=","+l.spacingInner;h+=l.spacingOuter+u}return h}s(n,"printIteratorValues");function o(a,l,u,c,d,p){let h="";if(a.length){h+=l.spacingOuter;let f=u+l.indent;for(let m=0;m<a.length;m++)h+=f,m in a&&(h+=p(a[m],l,f,c,d)),m<a.length-1?h+=","+l.spacingInner:l.min||(h+=",");h+=l.spacingOuter+u}return h}s(o,"printListItems");function i(a,l,u,c,d,p){let h="",f=t(a,l.compareKeys);if(f.length){h+=l.spacingOuter;let m=u+l.indent;for(let y=0;y<f.length;y++){let g=f[y],b=p(g,l,m,c,d),v=p(a[g],l,m,c,d);h+=m+b+": "+v,y<f.length-1?h+=","+l.spacingInner:l.min||(h+=",")}h+=l.spacingOuter+u}return h}s(i,"printObjectProperties")}),w4=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=Sp(),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,h,f,m,y)=>{let g=d.toString();return g==="ArrayContaining"||g==="ArrayNotContaining"?++f>p.maxDepth?"["+g+"]":g+i+"["+(0,t.printListItems)(d.sample,p,h,f,m,y)+"]":g==="ObjectContaining"||g==="ObjectNotContaining"?++f>p.maxDepth?"["+g+"]":g+i+"{"+(0,t.printObjectProperties)(d.sample,p,h,f,m,y)+"}":g==="StringMatching"||g==="StringNotMatching"||g==="StringContaining"||g==="StringNotContaining"?g+i+y(d.sample,p,h,f,m):d.toAsymmetricMatcher()},"serialize");e.serialize=a;var l=s(d=>d&&d.$$typeof===o,"test");e.test=l;var u={serialize:a,test:l},c=u;e.default=c}),E4=A((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")}}),S4=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=n(E4()),r=n(Y_());function n(c){return c&&c.__esModule?c:{default:c}}s(n,"_interopRequireDefault");var o=s(c=>c.replace((0,t.default)(),d=>{switch(d){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""}}),"toHumanReadableAnsi"),i=s(c=>typeof c=="string"&&!!c.match((0,t.default)()),"test");e.test=i;var a=s((c,d,p,h,f,m)=>m(o(c),d,p,h,f),"serialize");e.serialize=a;var l={serialize:a,test:i},u=l;e.default=u}),x4=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=Sp(),r=" ",n=["DOMStringMap","NamedNodeMap"],o=/^(HTML\w*Collection|NodeList)$/,i=s(p=>n.indexOf(p)!==-1||o.test(p),"testName"),a=s(p=>p&&p.constructor&&!!p.constructor.name&&i(p.constructor.name),"test");e.test=a;var l=s(p=>p.constructor.name==="NamedNodeMap","isNamedNodeMap"),u=s((p,h,f,m,y,g)=>{let b=p.constructor.name;return++m>h.maxDepth?"["+b+"]":(h.min?"":b+r)+(n.indexOf(b)!==-1?"{"+(0,t.printObjectProperties)(l(p)?Array.from(p).reduce((v,S)=>(v[S.name]=S.value,v),{}):{...p},h,f,m,y,g)+"}":"["+(0,t.printListItems)(Array.from(p),h,f,m,y,g)+"]")},"serialize");e.serialize=u;var c={serialize:u,test:a},d=c;e.default=d}),T4=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=t;function t(r){return r.replace(/</g,"<").replace(/>/g,">")}s(t,"escapeHTML")}),db=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.printText=e.printProps=e.printElementAsLeaf=e.printElement=e.printComment=e.printChildren=void 0;var t=r(T4());function r(c){return c&&c.__esModule?c:{default:c}}s(r,"_interopRequireDefault");var n=s((c,d,p,h,f,m,y)=>{let g=h+p.indent,b=p.colors;return c.map(v=>{let S=d[v],T=y(S,p,g,f,m);return typeof S!="string"&&(T.indexOf(`
|
|
14
|
-
`)!==-1&&(T=p.spacingOuter+g+T+p.spacingOuter+h),T="{"+T+"}"),p.spacingInner+h+b.prop.open+v+b.prop.close+"="+b.value.open+T+b.value.close}).join("")},"printProps");e.printProps=n;var o=s((c,d,p,h,f,m)=>c.map(y=>d.spacingOuter+p+(typeof y=="string"?i(y,d):m(y,d,p,h,f))).join(""),"printChildren");e.printChildren=o;var i=s((c,d)=>{let p=d.colors.content;return p.open+(0,t.default)(c)+p.close},"printText");e.printText=i;var a=s((c,d)=>{let p=d.colors.comment;return p.open+"<!--"+(0,t.default)(c)+"-->"+p.close},"printComment");e.printComment=a;var l=s((c,d,p,h,f)=>{let m=h.colors.tag;return m.open+"<"+c+(d&&m.close+d+h.spacingOuter+f+m.open)+(p?">"+m.close+p+h.spacingOuter+f+m.open+"</"+c:(d&&!h.min?"":" ")+"/")+">"+m.close},"printElement");e.printElement=l;var u=s((c,d)=>{let p=d.colors.tag;return p.open+"<"+c+p.close+" …"+p.open+" />"+p.close},"printElementAsLeaf");e.printElementAsLeaf=u}),C4=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=db(),r=1,n=3,o=8,i=11,a=/^((HTML|SVG)\w*)?Element$/,l=s(g=>{try{return typeof g.hasAttribute=="function"&&g.hasAttribute("is")}catch{return!1}},"testHasAttribute"),u=s(g=>{let b=g.constructor.name,{nodeType:v,tagName:S}=g,T=typeof S=="string"&&S.includes("-")||l(g);return v===r&&(a.test(b)||T)||v===n&&b==="Text"||v===o&&b==="Comment"||v===i&&b==="DocumentFragment"},"testNode"),c=s(g=>{var b;return(g==null||(b=g.constructor)===null||b===void 0?void 0:b.name)&&u(g)},"test");e.test=c;function d(g){return g.nodeType===n}s(d,"nodeIsText");function p(g){return g.nodeType===o}s(p,"nodeIsComment");function h(g){return g.nodeType===i}s(h,"nodeIsFragment");var f=s((g,b,v,S,T,P)=>{if(d(g))return(0,t.printText)(g.data,b);if(p(g))return(0,t.printComment)(g.data,b);let C=h(g)?"DocumentFragment":g.tagName.toLowerCase();return++S>b.maxDepth?(0,t.printElementAsLeaf)(C,b):(0,t.printElement)(C,(0,t.printProps)(h(g)?[]:Array.from(g.attributes).map(w=>w.name).sort(),h(g)?{}:Array.from(g.attributes).reduce((w,E)=>(w[E.name]=E.value,w),{}),b,v+b.indent,S,T,P),(0,t.printChildren)(Array.prototype.slice.call(g.childNodes||g.children),b,v+b.indent,S,T,P),b,v)},"serialize");e.serialize=f;var m={serialize:f,test:c},y=m;e.default=y}),_4=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=Sp(),r="@@__IMMUTABLE_ITERABLE__@@",n="@@__IMMUTABLE_LIST__@@",o="@@__IMMUTABLE_KEYED__@@",i="@@__IMMUTABLE_MAP__@@",a="@@__IMMUTABLE_ORDERED__@@",l="@@__IMMUTABLE_RECORD__@@",u="@@__IMMUTABLE_SEQ__@@",c="@@__IMMUTABLE_SET__@@",d="@@__IMMUTABLE_STACK__@@",p=s(E=>"Immutable."+E,"getImmutableName"),h=s(E=>"["+E+"]","printAsLeaf"),f=" ",m="…",y=s((E,_,R,N,q,L,O)=>++N>_.maxDepth?h(p(O)):p(O)+f+"{"+(0,t.printIteratorEntries)(E.entries(),_,R,N,q,L)+"}","printImmutableEntries");function g(E){let _=0;return{next(){if(_<E._keys.length){let R=E._keys[_++];return{done:!1,value:[R,E.get(R)]}}return{done:!0,value:void 0}}}}s(g,"getRecordEntries");var b=s((E,_,R,N,q,L)=>{let O=p(E._name||"Record");return++N>_.maxDepth?h(O):O+f+"{"+(0,t.printIteratorEntries)(g(E),_,R,N,q,L)+"}"},"printImmutableRecord"),v=s((E,_,R,N,q,L)=>{let O=p("Seq");return++N>_.maxDepth?h(O):E[o]?O+f+"{"+(E._iter||E._object?(0,t.printIteratorEntries)(E.entries(),_,R,N,q,L):m)+"}":O+f+"["+(E._iter||E._array||E._collection||E._iterable?(0,t.printIteratorValues)(E.values(),_,R,N,q,L):m)+"]"},"printImmutableSeq"),S=s((E,_,R,N,q,L,O)=>++N>_.maxDepth?h(p(O)):p(O)+f+"["+(0,t.printIteratorValues)(E.values(),_,R,N,q,L)+"]","printImmutableValues"),T=s((E,_,R,N,q,L)=>E[i]?y(E,_,R,N,q,L,E[a]?"OrderedMap":"Map"):E[n]?S(E,_,R,N,q,L,"List"):E[c]?S(E,_,R,N,q,L,E[a]?"OrderedSet":"Set"):E[d]?S(E,_,R,N,q,L,"Stack"):E[u]?v(E,_,R,N,q,L):b(E,_,R,N,q,L),"serialize");e.serialize=T;var P=s(E=>E&&(E[r]===!0||E[l]===!0),"test");e.test=P;var C={serialize:T,test:P},w=C;e.default=w}),P4=A(e=>{var t=60103,r=60106,n=60107,o=60108,i=60114,a=60109,l=60110,u=60112,c=60113,d=60120,p=60115,h=60116,f=60121,m=60122,y=60117,g=60129,b=60131;typeof Symbol=="function"&&Symbol.for&&(v=Symbol.for,t=v("react.element"),r=v("react.portal"),n=v("react.fragment"),o=v("react.strict_mode"),i=v("react.profiler"),a=v("react.provider"),l=v("react.context"),u=v("react.forward_ref"),c=v("react.suspense"),d=v("react.suspense_list"),p=v("react.memo"),h=v("react.lazy"),f=v("react.block"),m=v("react.server.block"),y=v("react.fundamental"),g=v("react.debug_trace_mode"),b=v("react.legacy_hidden"));var v;function S(O){if(typeof O=="object"&&O!==null){var k=O.$$typeof;switch(k){case t:switch(O=O.type,O){case n:case i:case o:case c:case d:return O;default:switch(O=O&&O.$$typeof,O){case l:case u:case h:case p:case a:return O;default:return k}}case r:return k}}}s(S,"y");var T=a,P=t,C=u,w=n,E=h,_=p,R=r,N=i,q=o,L=c;e.ContextConsumer=l,e.ContextProvider=T,e.Element=P,e.ForwardRef=C,e.Fragment=w,e.Lazy=E,e.Memo=_,e.Portal=R,e.Profiler=N,e.StrictMode=q,e.Suspense=L,e.isAsyncMode=function(){return!1},e.isConcurrentMode=function(){return!1},e.isContextConsumer=function(O){return S(O)===l},e.isContextProvider=function(O){return S(O)===a},e.isElement=function(O){return typeof O=="object"&&O!==null&&O.$$typeof===t},e.isForwardRef=function(O){return S(O)===u},e.isFragment=function(O){return S(O)===n},e.isLazy=function(O){return S(O)===h},e.isMemo=function(O){return S(O)===p},e.isPortal=function(O){return S(O)===r},e.isProfiler=function(O){return S(O)===i},e.isStrictMode=function(O){return S(O)===o},e.isSuspense=function(O){return S(O)===c},e.isValidElementType=function(O){return typeof O=="string"||typeof O=="function"||O===n||O===i||O===g||O===o||O===c||O===d||O===b||typeof O=="object"&&O!==null&&(O.$$typeof===h||O.$$typeof===p||O.$$typeof===a||O.$$typeof===l||O.$$typeof===u||O.$$typeof===y||O.$$typeof===f||O[0]===m)},e.typeOf=S}),O4=A((e,t)=>{t.exports=P4()}),A4=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=o(O4()),r=db();function n(h){if(typeof WeakMap!="function")return null;var f=new WeakMap,m=new WeakMap;return(n=s(function(y){return y?m:f},"_getRequireWildcardCache"))(h)}s(n,"_getRequireWildcardCache");function o(h,f){if(!f&&h&&h.__esModule)return h;if(h===null||typeof h!="object"&&typeof h!="function")return{default:h};var m=n(f);if(m&&m.has(h))return m.get(h);var y={},g=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var b in h)if(b!=="default"&&Object.prototype.hasOwnProperty.call(h,b)){var v=g?Object.getOwnPropertyDescriptor(h,b):null;v&&(v.get||v.set)?Object.defineProperty(y,b,v):y[b]=h[b]}return y.default=h,m&&m.set(h,y),y}s(o,"_interopRequireWildcard");var i=s((h,f=[])=>(Array.isArray(h)?h.forEach(m=>{i(m,f)}):h!=null&&h!==!1&&f.push(h),f),"getChildren"),a=s(h=>{let f=h.type;if(typeof f=="string")return f;if(typeof f=="function")return f.displayName||f.name||"Unknown";if(t.isFragment(h))return"React.Fragment";if(t.isSuspense(h))return"React.Suspense";if(typeof f=="object"&&f!==null){if(t.isContextProvider(h))return"Context.Provider";if(t.isContextConsumer(h))return"Context.Consumer";if(t.isForwardRef(h)){if(f.displayName)return f.displayName;let m=f.render.displayName||f.render.name||"";return m!==""?"ForwardRef("+m+")":"ForwardRef"}if(t.isMemo(h)){let m=f.displayName||f.type.displayName||f.type.name||"";return m!==""?"Memo("+m+")":"Memo"}}return"UNDEFINED"},"getType"),l=s(h=>{let{props:f}=h;return Object.keys(f).filter(m=>m!=="children"&&f[m]!==void 0).sort()},"getPropKeys"),u=s((h,f,m,y,g,b)=>++y>f.maxDepth?(0,r.printElementAsLeaf)(a(h),f):(0,r.printElement)(a(h),(0,r.printProps)(l(h),h.props,f,m+f.indent,y,g,b),(0,r.printChildren)(i(h.props.children),f,m+f.indent,y,g,b),f,m),"serialize");e.serialize=u;var c=s(h=>h!=null&&t.isElement(h),"test");e.test=c;var d={serialize:u,test:c},p=d;e.default=p}),R4=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=db(),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(d=>{let{props:p}=d;return p?Object.keys(p).filter(h=>p[h]!==void 0).sort():[]},"getPropKeys"),a=s((d,p,h,f,m,y)=>++f>p.maxDepth?(0,t.printElementAsLeaf)(d.type,p):(0,t.printElement)(d.type,d.props?(0,t.printProps)(i(d),d.props,p,h+p.indent,f,m,y):"",d.children?(0,t.printChildren)(d.children,p,h+p.indent,f,m,y):"",p,h),"serialize");e.serialize=a;var l=s(d=>d&&d.$$typeof===o,"test");e.test=l;var u={serialize:a,test:l},c=u;e.default=c}),N4=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.DEFAULT_OPTIONS=void 0,e.format=we,e.plugins=void 0;var t=d(Y_()),r=Sp(),n=d(w4()),o=d(S4()),i=d(x4()),a=d(C4()),l=d(_4()),u=d(A4()),c=d(R4());function d(H){return H&&H.__esModule?H:{default:H}}s(d,"_interopRequireDefault");var p=Object.prototype.toString,h=Date.prototype.toISOString,f=Error.prototype.toString,m=RegExp.prototype.toString,y=s(H=>typeof H.constructor=="function"&&H.constructor.name||"Object","getConstructorName"),g=s(H=>typeof window<"u"&&H===window,"isWindow"),b=/^Symbol\((.*)\)(.*)$/,v=/\n/gi,S=class extends Error{constructor(de,$){super(de),this.stack=$,this.name=this.constructor.name}};s(S,"PrettyFormatPluginError");var T=S;function P(H){return H==="[object Array]"||H==="[object ArrayBuffer]"||H==="[object DataView]"||H==="[object Float32Array]"||H==="[object Float64Array]"||H==="[object Int8Array]"||H==="[object Int16Array]"||H==="[object Int32Array]"||H==="[object Uint8Array]"||H==="[object Uint8ClampedArray]"||H==="[object Uint16Array]"||H==="[object Uint32Array]"}s(P,"isToStringedArrayType");function C(H){return Object.is(H,-0)?"-0":String(H)}s(C,"printNumber");function w(H){return`${H}n`}s(w,"printBigInt");function E(H,de){return de?"[Function "+(H.name||"anonymous")+"]":"[Function]"}s(E,"printFunction");function _(H){return String(H).replace(b,"Symbol($1)")}s(_,"printSymbol");function R(H){return"["+f.call(H)+"]"}s(R,"printError");function N(H,de,$,U){if(H===!0||H===!1)return""+H;if(H===void 0)return"undefined";if(H===null)return"null";let J=typeof H;if(J==="number")return C(H);if(J==="bigint")return w(H);if(J==="string")return U?'"'+H.replace(/"|\\/g,"\\$&")+'"':'"'+H+'"';if(J==="function")return E(H,de);if(J==="symbol")return _(H);let ee=p.call(H);return ee==="[object WeakMap]"?"WeakMap {}":ee==="[object WeakSet]"?"WeakSet {}":ee==="[object Function]"||ee==="[object GeneratorFunction]"?E(H,de):ee==="[object Symbol]"?_(H):ee==="[object Date]"?isNaN(+H)?"Date { NaN }":h.call(H):ee==="[object Error]"?R(H):ee==="[object RegExp]"?$?m.call(H).replace(/[\\^$*+?.()|[\]{}]/g,"\\$&"):m.call(H):H instanceof Error?R(H):null}s(N,"printBasicValue");function q(H,de,$,U,J,ee){if(J.indexOf(H)!==-1)return"[Circular]";J=J.slice(),J.push(H);let Z=++U>de.maxDepth,ne=de.min;if(de.callToJSON&&!Z&&H.toJSON&&typeof H.toJSON=="function"&&!ee)return M(H.toJSON(),de,$,U,J,!0);let se=p.call(H);return se==="[object Arguments]"?Z?"[Arguments]":(ne?"":"Arguments ")+"["+(0,r.printListItems)(H,de,$,U,J,M)+"]":P(se)?Z?"["+H.constructor.name+"]":(ne||!de.printBasicPrototype&&H.constructor.name==="Array"?"":H.constructor.name+" ")+"["+(0,r.printListItems)(H,de,$,U,J,M)+"]":se==="[object Map]"?Z?"[Map]":"Map {"+(0,r.printIteratorEntries)(H.entries(),de,$,U,J,M," => ")+"}":se==="[object Set]"?Z?"[Set]":"Set {"+(0,r.printIteratorValues)(H.values(),de,$,U,J,M)+"}":Z||g(H)?"["+y(H)+"]":(ne||!de.printBasicPrototype&&y(H)==="Object"?"":y(H)+" ")+"{"+(0,r.printObjectProperties)(H,de,$,U,J,M)+"}"}s(q,"printComplexValue");function L(H){return H.serialize!=null}s(L,"isNewPlugin");function O(H,de,$,U,J,ee){let Z;try{Z=L(H)?H.serialize(de,$,U,J,ee,M):H.print(de,ne=>M(ne,$,U,J,ee),ne=>{let se=U+$.indent;return se+ne.replace(v,`
|
|
15
|
-
`+se)},{edgeSpacing:$.spacingOuter,min:$.min,spacing:$.spacingInner},$.colors)}catch(ne){throw new T(ne.message,ne.stack)}if(typeof Z!="string")throw new Error(`pretty-format: Plugin must return type "string" but instead returned "${typeof Z}".`);return Z}s(O,"printPlugin");function k(H,de){for(let $=0;$<H.length;$++)try{if(H[$].test(de))return H[$]}catch(U){throw new T(U.message,U.stack)}return null}s(k,"findPlugin");function M(H,de,$,U,J,ee){let Z=k(de.plugins,H);if(Z!==null)return O(Z,H,de,$,U,J);let ne=N(H,de.printFunctionName,de.escapeRegex,de.escapeString);return ne!==null?ne:q(H,de,$,U,J,ee)}s(M,"printer");var G={comment:"gray",content:"reset",prop:"yellow",tag:"cyan",value:"green"},V=Object.keys(G),oe={callToJSON:!0,compareKeys:void 0,escapeRegex:!1,escapeString:!0,highlight:!1,indent:2,maxDepth:1/0,min:!1,plugins:[],printBasicPrototype:!0,printFunctionName:!0,theme:G};e.DEFAULT_OPTIONS=oe;function fe(H){if(Object.keys(H).forEach(de=>{if(!oe.hasOwnProperty(de))throw new Error(`pretty-format: Unknown option "${de}".`)}),H.min&&H.indent!==void 0&&H.indent!==0)throw new Error('pretty-format: Options "min" and "indent" cannot be used together.');if(H.theme!==void 0){if(H.theme===null)throw new Error('pretty-format: Option "theme" must not be null.');if(typeof H.theme!="object")throw new Error(`pretty-format: Option "theme" must be of type "object" but instead received "${typeof H.theme}".`)}}s(fe,"validateOptions");var te=s(H=>V.reduce((de,$)=>{let U=H.theme&&H.theme[$]!==void 0?H.theme[$]:G[$],J=U&&t.default[U];if(J&&typeof J.close=="string"&&typeof J.open=="string")de[$]=J;else throw new Error(`pretty-format: Option "theme" has a key "${$}" whose value "${U}" is undefined in ansi-styles.`);return de},Object.create(null)),"getColorsHighlight"),Y=s(()=>V.reduce((H,de)=>(H[de]={close:"",open:""},H),Object.create(null)),"getColorsEmpty"),Q=s(H=>H&&H.printFunctionName!==void 0?H.printFunctionName:oe.printFunctionName,"getPrintFunctionName"),re=s(H=>H&&H.escapeRegex!==void 0?H.escapeRegex:oe.escapeRegex,"getEscapeRegex"),ce=s(H=>H&&H.escapeString!==void 0?H.escapeString:oe.escapeString,"getEscapeString"),ie=s(H=>{var de;return{callToJSON:H&&H.callToJSON!==void 0?H.callToJSON:oe.callToJSON,colors:H&&H.highlight?te(H):Y(),compareKeys:H&&typeof H.compareKeys=="function"?H.compareKeys:oe.compareKeys,escapeRegex:re(H),escapeString:ce(H),indent:H&&H.min?"":be(H&&H.indent!==void 0?H.indent:oe.indent),maxDepth:H&&H.maxDepth!==void 0?H.maxDepth:oe.maxDepth,min:H&&H.min!==void 0?H.min:oe.min,plugins:H&&H.plugins!==void 0?H.plugins:oe.plugins,printBasicPrototype:(de=H==null?void 0:H.printBasicPrototype)!==null&&de!==void 0?de:!0,printFunctionName:Q(H),spacingInner:H&&H.min?" ":`
|
|
16
|
-
`,spacingOuter:H&&H.min?"":`
|
|
17
|
-
`}},"getConfig");function be(H){return new Array(H+1).join(" ")}s(be,"createIndent");function we(H,de){if(de&&(fe(de),de.plugins)){let U=k(de.plugins,H);if(U!==null)return O(U,H,ie(de),"",0,[])}let $=N(H,Q(de),re(de),ce(de));return $!==null?$:q(H,ie(de),"",0,[])}s(we,"format");var Ye={AsymmetricMatcher:n.default,ConvertAnsi:o.default,DOMCollection:i.default,DOMElement:a.default,Immutable:l.default,ReactElement:u.default,ReactTestComponent:c.default};e.plugins=Ye;var We=we;e.default=We}),I4=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;function t(){var n=this,o=0,i={"@@iterator":s(function(){return i},"iterator"),next:s(function(){if(o<n.length){var a=n[o];return o=o+1,{done:!1,value:a}}else return{done:!0}},"next")};return i}s(t,"iteratorProxy");var r=t;e.default=r}),mu=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=o;var t=r(I4());function r(i){return i&&i.__esModule?i:{default:i}}s(r,"_interopRequireDefault");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)}s(n,"_typeof");function o(i,a){return typeof Symbol=="function"&&n(Symbol.iterator)==="symbol"&&Object.defineProperty(i,Symbol.iterator,{value:t.default.bind(a)}),i}s(o,"iterationDecorator")}),k4=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(mu());function r(f){return f&&f.__esModule?f:{default:f}}s(r,"_interopRequireDefault");function n(f,m){return a(f)||i(f,m)||u(f,m)||o()}s(n,"_slicedToArray");function o(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
18
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}s(o,"_nonIterableRest");function i(f,m){var y=f==null?null:typeof Symbol<"u"&&f[Symbol.iterator]||f["@@iterator"];if(y!=null){var g=[],b=!0,v=!1,S,T;try{for(y=y.call(f);!(b=(S=y.next()).done)&&(g.push(S.value),!(m&&g.length===m));b=!0);}catch(P){v=!0,T=P}finally{try{!b&&y.return!=null&&y.return()}finally{if(v)throw T}}return g}}s(i,"_iterableToArrayLimit");function a(f){if(Array.isArray(f))return f}s(a,"_arrayWithHoles");function l(f,m){var y=typeof Symbol<"u"&&f[Symbol.iterator]||f["@@iterator"];if(!y){if(Array.isArray(f)||(y=u(f))||m&&f&&typeof f.length=="number"){y&&(f=y);var g=0,b=s(function(){},"F");return{s:b,n:s(function(){return g>=f.length?{done:!0}:{done:!1,value:f[g++]}},"n"),e:s(function(P){throw P},"e"),f:b}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
19
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var v=!0,S=!1,T;return{s:s(function(){y=y.call(f)},"s"),n:s(function(){var P=y.next();return v=P.done,P},"n"),e:s(function(P){S=!0,T=P},"e"),f:s(function(){try{!v&&y.return!=null&&y.return()}finally{if(S)throw T}},"f")}}s(l,"_createForOfIteratorHelper");function u(f,m){if(f){if(typeof f=="string")return c(f,m);var y=Object.prototype.toString.call(f).slice(8,-1);if(y==="Object"&&f.constructor&&(y=f.constructor.name),y==="Map"||y==="Set")return Array.from(f);if(y==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(y))return c(f,m)}}s(u,"_unsupportedIterableToArray");function c(f,m){(m==null||m>f.length)&&(m=f.length);for(var y=0,g=new Array(m);y<m;y++)g[y]=f[y];return g}s(c,"_arrayLikeToArray");var d=[["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"}]],p={entries:s(function(){return d},"entries"),forEach:s(function(f){var m=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,y=l(d),g;try{for(y.s();!(g=y.n()).done;){var b=n(g.value,2),v=b[0],S=b[1];f.call(m,S,v,d)}}catch(T){y.e(T)}finally{y.f()}},"forEach"),get:s(function(f){var m=d.find(function(y){return y[0]===f});return m&&m[1]},"get"),has:s(function(f){return!!p.get(f)},"has"),keys:s(function(){return d.map(function(f){var m=n(f,1),y=m[0];return y})},"keys"),values:s(function(){return d.map(function(f){var m=n(f,2),y=m[1];return y})},"values")},h=(0,t.default)(p,p.entries());e.default=h}),M4=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(mu());function r(f){return f&&f.__esModule?f:{default:f}}s(r,"_interopRequireDefault");function n(f,m){return a(f)||i(f,m)||u(f,m)||o()}s(n,"_slicedToArray");function o(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
20
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}s(o,"_nonIterableRest");function i(f,m){var y=f==null?null:typeof Symbol<"u"&&f[Symbol.iterator]||f["@@iterator"];if(y!=null){var g=[],b=!0,v=!1,S,T;try{for(y=y.call(f);!(b=(S=y.next()).done)&&(g.push(S.value),!(m&&g.length===m));b=!0);}catch(P){v=!0,T=P}finally{try{!b&&y.return!=null&&y.return()}finally{if(v)throw T}}return g}}s(i,"_iterableToArrayLimit");function a(f){if(Array.isArray(f))return f}s(a,"_arrayWithHoles");function l(f,m){var y=typeof Symbol<"u"&&f[Symbol.iterator]||f["@@iterator"];if(!y){if(Array.isArray(f)||(y=u(f))||m&&f&&typeof f.length=="number"){y&&(f=y);var g=0,b=s(function(){},"F");return{s:b,n:s(function(){return g>=f.length?{done:!0}:{done:!1,value:f[g++]}},"n"),e:s(function(P){throw P},"e"),f:b}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
21
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var v=!0,S=!1,T;return{s:s(function(){y=y.call(f)},"s"),n:s(function(){var P=y.next();return v=P.done,P},"n"),e:s(function(P){S=!0,T=P},"e"),f:s(function(){try{!v&&y.return!=null&&y.return()}finally{if(S)throw T}},"f")}}s(l,"_createForOfIteratorHelper");function u(f,m){if(f){if(typeof f=="string")return c(f,m);var y=Object.prototype.toString.call(f).slice(8,-1);if(y==="Object"&&f.constructor&&(y=f.constructor.name),y==="Map"||y==="Set")return Array.from(f);if(y==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(y))return c(f,m)}}s(u,"_unsupportedIterableToArray");function c(f,m){(m==null||m>f.length)&&(m=f.length);for(var y=0,g=new Array(m);y<m;y++)g[y]=f[y];return g}s(c,"_arrayLikeToArray");var d=[["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}]],p={entries:s(function(){return d},"entries"),forEach:s(function(f){var m=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,y=l(d),g;try{for(y.s();!(g=y.n()).done;){var b=n(g.value,2),v=b[0],S=b[1];f.call(m,S,v,d)}}catch(T){y.e(T)}finally{y.f()}},"forEach"),get:s(function(f){var m=d.find(function(y){return y[0]===f});return m&&m[1]},"get"),has:s(function(f){return!!p.get(f)},"has"),keys:s(function(){return d.map(function(f){var m=n(f,1),y=m[0];return y})},"keys"),values:s(function(){return d.map(function(f){var m=n(f,2),y=m[1];return y})},"values")},h=(0,t.default)(p,p.entries());e.default=h}),q4=A(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}),j4=A(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}),$4=A(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}),L4=A(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}),F4=A(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}),D4=A(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}),B4=A(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}),U4=A(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}),H4=A(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}),V4=A(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}),J4=A(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}),z4=A(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}),W4=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=f(q4()),r=f(j4()),n=f($4()),o=f(L4()),i=f(F4()),a=f(D4()),l=f(B4()),u=f(U4()),c=f(H4()),d=f(V4()),p=f(J4()),h=f(z4());function f(g){return g&&g.__esModule?g:{default:g}}s(f,"_interopRequireDefault");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",d.default],["widget",p.default],["window",h.default]],y=m;e.default=y}),G4=A(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}),K4=A(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}),Y4=A(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}),X4=A(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}),Q4=A(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}),Z4=A(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}),e6=A(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}),t6=A(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}),r6=A(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}),n6=A(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}),o6=A(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}),i6=A(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}),a6=A(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}),s6=A(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}),l6=A(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}),u6=A(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}),c6=A(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}),d6=A(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}),p6=A(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}),f6=A(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}),h6=A(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}),m6=A(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}),y6=A(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}),g6=A(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}),b6=A(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}),v6=A(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}),w6=A(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}),E6=A(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}),S6=A(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}),x6=A(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}),T6=A(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}),C6=A(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}),_6=A(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}),P6=A(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}),O6=A(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}),A6=A(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}),R6=A(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}),N6=A(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}),I6=A(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}),k6=A(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}),M6=A(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}),q6=A(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}),j6=A(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}),$6=A(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}),L6=A(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}),F6=A(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}),D6=A(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}),B6=A(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}),U6=A(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}),H6=A(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}),V6=A(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}),J6=A(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}),z6=A(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}),W6=A(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}),G6=A(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}),K6=A(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}),Y6=A(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}),X6=A(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}),Q6=A(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}),Z6=A(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}),ez=A(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}),tz=A(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}),rz=A(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}),nz=A(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}),oz=A(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}),iz=A(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}),az=A(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}),sz=A(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}),lz=A(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}),uz=A(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}),cz=A(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}),dz=A(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}),pz=A(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}),fz=A(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}),hz=A(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}),mz=A(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}),yz=A(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}),gz=A(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}),bz=A(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}),vz=A(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}),wz=A(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}),Ez=A(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}),Sz=A(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}),xz=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=W(G4()),r=W(K4()),n=W(Y4()),o=W(X4()),i=W(Q4()),a=W(Z4()),l=W(e6()),u=W(t6()),c=W(r6()),d=W(n6()),p=W(o6()),h=W(i6()),f=W(a6()),m=W(s6()),y=W(l6()),g=W(u6()),b=W(c6()),v=W(d6()),S=W(p6()),T=W(f6()),P=W(h6()),C=W(m6()),w=W(y6()),E=W(g6()),_=W(b6()),R=W(v6()),N=W(w6()),q=W(E6()),L=W(S6()),O=W(x6()),k=W(T6()),M=W(C6()),G=W(_6()),V=W(P6()),oe=W(O6()),fe=W(A6()),te=W(R6()),Y=W(N6()),Q=W(I6()),re=W(k6()),ce=W(M6()),ie=W(q6()),be=W(j6()),we=W($6()),Ye=W(L6()),We=W(F6()),H=W(D6()),de=W(B6()),$=W(U6()),U=W(H6()),J=W(V6()),ee=W(J6()),Z=W(z6()),ne=W(W6()),se=W(G6()),le=W(K6()),ue=W(Y6()),ae=W(X6()),ve=W(Q6()),pe=W(Z6()),ge=W(ez()),Se=W(tz()),Ae=W(rz()),De=W(nz()),qe=W(oz()),Pt=W(iz()),mt=W(az()),Dt=W(sz()),At=W(lz()),Yr=W(uz()),fo=W(cz()),Rt=W(dz()),Qt=W(pz()),ho=W(fz()),Ns=W(hz()),Is=W(mz()),ks=W(yz()),Zo=W(gz()),ra=W(bz()),pn=W(vz()),xt=W(wz()),ei=W(Ez()),Nn=W(Sz());function W(ri){return ri&&ri.__esModule?ri:{default:ri}}s(W,"_interopRequireDefault");var ti=[["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",d.default],["code",p.default],["columnheader",h.default],["combobox",f.default],["complementary",m.default],["contentinfo",y.default],["definition",g.default],["deletion",b.default],["dialog",v.default],["directory",S.default],["document",T.default],["emphasis",P.default],["feed",C.default],["figure",w.default],["form",E.default],["generic",_.default],["grid",R.default],["gridcell",N.default],["group",q.default],["heading",L.default],["img",O.default],["insertion",k.default],["link",M.default],["list",G.default],["listbox",V.default],["listitem",oe.default],["log",fe.default],["main",te.default],["mark",Y.default],["marquee",Q.default],["math",re.default],["menu",ce.default],["menubar",ie.default],["menuitem",be.default],["menuitemcheckbox",we.default],["menuitemradio",Ye.default],["meter",We.default],["navigation",H.default],["none",de.default],["note",$.default],["option",U.default],["paragraph",J.default],["presentation",ee.default],["progressbar",Z.default],["radio",ne.default],["radiogroup",se.default],["region",le.default],["row",ue.default],["rowgroup",ae.default],["rowheader",ve.default],["scrollbar",pe.default],["search",ge.default],["searchbox",Se.default],["separator",Ae.default],["slider",De.default],["spinbutton",qe.default],["status",Pt.default],["strong",mt.default],["subscript",Dt.default],["superscript",At.default],["switch",Yr.default],["tab",fo.default],["table",Rt.default],["tablist",Qt.default],["tabpanel",ho.default],["term",Ns.default],["textbox",Is.default],["time",ks.default],["timer",Zo.default],["toolbar",ra.default],["tooltip",pn.default],["tree",xt.default],["treegrid",ei.default],["treeitem",Nn.default]],mo=ti;e.default=mo}),Tz=A(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}),Cz=A(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}),_z=A(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}),Pz=A(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}),Oz=A(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}),Az=A(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}),Rz=A(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}),Nz=A(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}),Iz=A(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}),kz=A(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}),Mz=A(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}),qz=A(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}),jz=A(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}),$z=A(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}),Lz=A(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}),Fz=A(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}),Dz=A(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}),Bz=A(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}),Uz=A(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}),Hz=A(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}),Vz=A(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}),Jz=A(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}),zz=A(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}),Wz=A(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}),Gz=A(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}),Kz=A(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}),Yz=A(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}),Xz=A(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}),Qz=A(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}),Zz=A(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}),eW=A(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}),tW=A(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}),rW=A(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}),nW=A(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}),oW=A(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}),iW=A(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}),aW=A(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}),sW=A(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}),lW=A(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}),uW=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=re(Tz()),r=re(Cz()),n=re(_z()),o=re(Pz()),i=re(Oz()),a=re(Az()),l=re(Rz()),u=re(Nz()),c=re(Iz()),d=re(kz()),p=re(Mz()),h=re(qz()),f=re(jz()),m=re($z()),y=re(Lz()),g=re(Fz()),b=re(Dz()),v=re(Bz()),S=re(Uz()),T=re(Hz()),P=re(Vz()),C=re(Jz()),w=re(zz()),E=re(Wz()),_=re(Gz()),R=re(Kz()),N=re(Yz()),q=re(Xz()),L=re(Qz()),O=re(Zz()),k=re(eW()),M=re(tW()),G=re(rW()),V=re(nW()),oe=re(oW()),fe=re(iW()),te=re(aW()),Y=re(sW()),Q=re(lW());function re(be){return be&&be.__esModule?be:{default:be}}s(re,"_interopRequireDefault");var ce=[["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",d.default],["doc-conclusion",p.default],["doc-cover",h.default],["doc-credit",f.default],["doc-credits",m.default],["doc-dedication",y.default],["doc-endnote",g.default],["doc-endnotes",b.default],["doc-epigraph",v.default],["doc-epilogue",S.default],["doc-errata",T.default],["doc-example",P.default],["doc-footnote",C.default],["doc-foreword",w.default],["doc-glossary",E.default],["doc-glossref",_.default],["doc-index",R.default],["doc-introduction",N.default],["doc-noteref",q.default],["doc-notice",L.default],["doc-pagebreak",O.default],["doc-pagelist",k.default],["doc-part",M.default],["doc-preface",G.default],["doc-prologue",V.default],["doc-pullquote",oe.default],["doc-qna",fe.default],["doc-subtitle",te.default],["doc-tip",Y.default],["doc-toc",Q.default]],ie=ce;e.default=ie}),cW=A(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}),dW=A(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}),pW=A(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}),fW=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=o(cW()),r=o(dW()),n=o(pW());function o(l){return l&&l.__esModule?l:{default:l}}s(o,"_interopRequireDefault");var i=[["graphics-document",t.default],["graphics-object",r.default],["graphics-symbol",n.default]],a=i;e.default=a}),pb=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=a(W4()),r=a(xz()),n=a(uW()),o=a(fW()),i=a(mu());function a(v){return v&&v.__esModule?v:{default:v}}s(a,"_interopRequireDefault");function l(v,S,T){return S in v?Object.defineProperty(v,S,{value:T,enumerable:!0,configurable:!0,writable:!0}):v[S]=T,v}s(l,"_defineProperty");function u(v,S){var T=typeof Symbol<"u"&&v[Symbol.iterator]||v["@@iterator"];if(!T){if(Array.isArray(v)||(T=p(v))||S&&v&&typeof v.length=="number"){T&&(v=T);var P=0,C=s(function(){},"F");return{s:C,n:s(function(){return P>=v.length?{done:!0}:{done:!1,value:v[P++]}},"n"),e:s(function(R){throw R},"e"),f:C}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
22
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var w=!0,E=!1,_;return{s:s(function(){T=T.call(v)},"s"),n:s(function(){var R=T.next();return w=R.done,R},"n"),e:s(function(R){E=!0,_=R},"e"),f:s(function(){try{!w&&T.return!=null&&T.return()}finally{if(E)throw _}},"f")}}s(u,"_createForOfIteratorHelper");function c(v,S){return m(v)||f(v,S)||p(v,S)||d()}s(c,"_slicedToArray");function d(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
23
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}s(d,"_nonIterableRest");function p(v,S){if(v){if(typeof v=="string")return h(v,S);var T=Object.prototype.toString.call(v).slice(8,-1);if(T==="Object"&&v.constructor&&(T=v.constructor.name),T==="Map"||T==="Set")return Array.from(v);if(T==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(T))return h(v,S)}}s(p,"_unsupportedIterableToArray");function h(v,S){(S==null||S>v.length)&&(S=v.length);for(var T=0,P=new Array(S);T<S;T++)P[T]=v[T];return P}s(h,"_arrayLikeToArray");function f(v,S){var T=v==null?null:typeof Symbol<"u"&&v[Symbol.iterator]||v["@@iterator"];if(T!=null){var P=[],C=!0,w=!1,E,_;try{for(T=T.call(v);!(C=(E=T.next()).done)&&(P.push(E.value),!(S&&P.length===S));C=!0);}catch(R){w=!0,_=R}finally{try{!C&&T.return!=null&&T.return()}finally{if(w)throw _}}return P}}s(f,"_iterableToArrayLimit");function m(v){if(Array.isArray(v))return v}s(m,"_arrayWithHoles");var y=[].concat(t.default,r.default,n.default,o.default);y.forEach(function(v){var S=c(v,2),T=S[1],P=u(T.superClass),C;try{for(P.s();!(C=P.n()).done;){var w=C.value,E=u(w),_;try{var R=s(function(){var N=_.value,q=y.find(function(G){var V=c(G,1),oe=V[0];return oe===N});if(q)for(var L=q[1],O=0,k=Object.keys(L.props);O<k.length;O++){var M=k[O];Object.prototype.hasOwnProperty.call(T.props,M)||Object.assign(T.props,l({},M,L.props[M]))}},"_loop");for(E.s();!(_=E.n()).done;)R()}catch(N){E.e(N)}finally{E.f()}}}catch(N){P.e(N)}finally{P.f()}});var g={entries:s(function(){return y},"entries"),forEach:s(function(v){var S=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,T=u(y),P;try{for(T.s();!(P=T.n()).done;){var C=c(P.value,2),w=C[0],E=C[1];v.call(S,E,w,y)}}catch(_){T.e(_)}finally{T.f()}},"forEach"),get:s(function(v){var S=y.find(function(T){return T[0]===v});return S&&S[1]},"get"),has:s(function(v){return!!g.get(v)},"has"),keys:s(function(){return y.map(function(v){var S=c(v,1),T=S[0];return T})},"keys"),values:s(function(){return y.map(function(v){var S=c(v,2),T=S[1];return T})},"values")},b=(0,i.default)(g,g.entries());e.default=b}),X_={};fr(X_,{dequal:()=>Uc});function Uc(e,t){var r,n;if(e===t)return!0;if(e&&t&&(r=e.constructor)===t.constructor){if(r===Date)return e.getTime()===t.getTime();if(r===RegExp)return e.toString()===t.toString();if(r===Array){if((n=e.length)===t.length)for(;n--&&Uc(e[n],t[n]););return n===-1}if(!r||typeof e=="object"){n=0;for(r in e)if(bm.call(e,r)&&++n&&!bm.call(t,r)||!(r in t)||!Uc(e[r],t[r]))return!1;return Object.keys(t).length===n}}return e!==e&&t!==t}var bm,hW=lV(()=>{bm=Object.prototype.hasOwnProperty,s(Uc,"dequal")}),mW=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=(hW(),uV(X_)),r=o(mu()),n=o(pb());function o(C){return C&&C.__esModule?C:{default:C}}s(o,"_interopRequireDefault");function i(C,w){return u(C)||l(C,w)||d(C,w)||a()}s(i,"_slicedToArray");function a(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
24
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}s(a,"_nonIterableRest");function l(C,w){var E=C==null?null:typeof Symbol<"u"&&C[Symbol.iterator]||C["@@iterator"];if(E!=null){var _=[],R=!0,N=!1,q,L;try{for(E=E.call(C);!(R=(q=E.next()).done)&&(_.push(q.value),!(w&&_.length===w));R=!0);}catch(O){N=!0,L=O}finally{try{!R&&E.return!=null&&E.return()}finally{if(N)throw L}}return _}}s(l,"_iterableToArrayLimit");function u(C){if(Array.isArray(C))return C}s(u,"_arrayWithHoles");function c(C,w){var E=typeof Symbol<"u"&&C[Symbol.iterator]||C["@@iterator"];if(!E){if(Array.isArray(C)||(E=d(C))||w&&C&&typeof C.length=="number"){E&&(C=E);var _=0,R=s(function(){},"F");return{s:R,n:s(function(){return _>=C.length?{done:!0}:{done:!1,value:C[_++]}},"n"),e:s(function(O){throw O},"e"),f:R}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
25
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var N=!0,q=!1,L;return{s:s(function(){E=E.call(C)},"s"),n:s(function(){var O=E.next();return N=O.done,O},"n"),e:s(function(O){q=!0,L=O},"e"),f:s(function(){try{!N&&E.return!=null&&E.return()}finally{if(q)throw L}},"f")}}s(c,"_createForOfIteratorHelper");function d(C,w){if(C){if(typeof C=="string")return p(C,w);var E=Object.prototype.toString.call(C).slice(8,-1);if(E==="Object"&&C.constructor&&(E=C.constructor.name),E==="Map"||E==="Set")return Array.from(C);if(E==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(E))return p(C,w)}}s(d,"_unsupportedIterableToArray");function p(C,w){(w==null||w>C.length)&&(w=C.length);for(var E=0,_=new Array(w);E<w;E++)_[E]=C[E];return _}s(p,"_arrayLikeToArray");var h=[],f=n.default.keys();for(S=0;S<f.length;S++)if(m=f[S],y=n.default.get(m),y)for(g=[].concat(y.baseConcepts,y.relatedConcepts),v=0;v<g.length;v++)b=g[v],b.module==="HTML"&&function(){var C=b.concept;if(C){var w=h.find(function(N){return(0,t.dequal)(N,C)}),E;w?E=w[1]:E=[];for(var _=!0,R=0;R<E.length;R++)if(E[R]===m){_=!1;break}_&&E.push(m),h.push([C,E])}}();var m,y,g,b,v,S,T={entries:s(function(){return h},"entries"),forEach:s(function(C){var w=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,E=c(h),_;try{for(E.s();!(_=E.n()).done;){var R=i(_.value,2),N=R[0],q=R[1];C.call(w,q,N,h)}}catch(L){E.e(L)}finally{E.f()}},"forEach"),get:s(function(C){var w=h.find(function(E){return C.name===E[0].name&&(0,t.dequal)(C.attributes,E[0].attributes)});return w&&w[1]},"get"),has:s(function(C){return!!T.get(C)},"has"),keys:s(function(){return h.map(function(C){var w=i(C,1),E=w[0];return E})},"keys"),values:s(function(){return h.map(function(C){var w=i(C,2),E=w[1];return E})},"values")},P=(0,r.default)(T,T.entries());e.default=P}),yW=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=n(mu()),r=n(pb());function n(w){return w&&w.__esModule?w:{default:w}}s(n,"_interopRequireDefault");function o(w,E){return l(w)||a(w,E)||c(w,E)||i()}s(o,"_slicedToArray");function i(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
26
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}s(i,"_nonIterableRest");function a(w,E){var _=w==null?null:typeof Symbol<"u"&&w[Symbol.iterator]||w["@@iterator"];if(_!=null){var R=[],N=!0,q=!1,L,O;try{for(_=_.call(w);!(N=(L=_.next()).done)&&(R.push(L.value),!(E&&R.length===E));N=!0);}catch(k){q=!0,O=k}finally{try{!N&&_.return!=null&&_.return()}finally{if(q)throw O}}return R}}s(a,"_iterableToArrayLimit");function l(w){if(Array.isArray(w))return w}s(l,"_arrayWithHoles");function u(w,E){var _=typeof Symbol<"u"&&w[Symbol.iterator]||w["@@iterator"];if(!_){if(Array.isArray(w)||(_=c(w))||E&&w&&typeof w.length=="number"){_&&(w=_);var R=0,N=s(function(){},"F");return{s:N,n:s(function(){return R>=w.length?{done:!0}:{done:!1,value:w[R++]}},"n"),e:s(function(k){throw k},"e"),f:N}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
27
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var q=!0,L=!1,O;return{s:s(function(){_=_.call(w)},"s"),n:s(function(){var k=_.next();return q=k.done,k},"n"),e:s(function(k){L=!0,O=k},"e"),f:s(function(){try{!q&&_.return!=null&&_.return()}finally{if(L)throw O}},"f")}}s(u,"_createForOfIteratorHelper");function c(w,E){if(w){if(typeof w=="string")return d(w,E);var _=Object.prototype.toString.call(w).slice(8,-1);if(_==="Object"&&w.constructor&&(_=w.constructor.name),_==="Map"||_==="Set")return Array.from(w);if(_==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(_))return d(w,E)}}s(c,"_unsupportedIterableToArray");function d(w,E){(E==null||E>w.length)&&(E=w.length);for(var _=0,R=new Array(E);_<E;_++)R[_]=w[_];return R}s(d,"_arrayLikeToArray");var p=[],h=r.default.keys();for(T=0;T<h.length;T++)if(f=h[T],m=r.default.get(f),y=[],m){for(g=[].concat(m.baseConcepts,m.relatedConcepts),S=0;S<g.length;S++)b=g[S],b.module==="HTML"&&(v=b.concept,v!=null&&y.push(v));y.length>0&&p.push([f,y])}var f,m,y,g,b,v,S,T,P={entries:s(function(){return p},"entries"),forEach:s(function(w){var E=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,_=u(p),R;try{for(_.s();!(R=_.n()).done;){var N=o(R.value,2),q=N[0],L=N[1];w.call(E,L,q,p)}}catch(O){_.e(O)}finally{_.f()}},"forEach"),get:s(function(w){var E=p.find(function(_){return _[0]===w});return E&&E[1]},"get"),has:s(function(w){return!!P.get(w)},"has"),keys:s(function(){return p.map(function(w){var E=o(w,1),_=E[0];return _})},"keys"),values:s(function(){return p.map(function(w){var E=o(w,2),_=E[1];return _})},"values")},C=(0,t.default)(P,P.entries());e.default=C}),gW=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.roles=e.roleElements=e.elementRoles=e.dom=e.aria=void 0;var t=a(k4()),r=a(M4()),n=a(pb()),o=a(mW()),i=a(yW());function a(h){return h&&h.__esModule?h:{default:h}}s(a,"_interopRequireDefault");var l=t.default;e.aria=l;var u=r.default;e.dom=u;var c=n.default;e.roles=c;var d=o.default;e.elementRoles=d;var p=i.default;e.roleElements=p}),bW=A((e,t)=>{var r=function(){var n=String.fromCharCode,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-$",a={};function l(c,d){if(!a[c]){a[c]={};for(var p=0;p<c.length;p++)a[c][c.charAt(p)]=p}return a[c][d]}s(l,"getBaseValue");var u={compressToBase64:s(function(c){if(c==null)return"";var d=u._compress(c,6,function(p){return o.charAt(p)});switch(d.length%4){default:case 0:return d;case 1:return d+"===";case 2:return d+"==";case 3:return d+"="}},"compressToBase64"),decompressFromBase64:s(function(c){return c==null?"":c==""?null:u._decompress(c.length,32,function(d){return l(o,c.charAt(d))})},"decompressFromBase64"),compressToUTF16:s(function(c){return c==null?"":u._compress(c,15,function(d){return n(d+32)})+" "},"compressToUTF16"),decompressFromUTF16:s(function(c){return c==null?"":c==""?null:u._decompress(c.length,16384,function(d){return c.charCodeAt(d)-32})},"decompressFromUTF16"),compressToUint8Array:s(function(c){for(var d=u.compress(c),p=new Uint8Array(d.length*2),h=0,f=d.length;h<f;h++){var m=d.charCodeAt(h);p[h*2]=m>>>8,p[h*2+1]=m%256}return p},"compressToUint8Array"),decompressFromUint8Array:s(function(c){if(c==null)return u.decompress(c);for(var d=new Array(c.length/2),p=0,h=d.length;p<h;p++)d[p]=c[p*2]*256+c[p*2+1];var f=[];return d.forEach(function(m){f.push(n(m))}),u.decompress(f.join(""))},"decompressFromUint8Array"),compressToEncodedURIComponent:s(function(c){return c==null?"":u._compress(c,6,function(d){return i.charAt(d)})},"compressToEncodedURIComponent"),decompressFromEncodedURIComponent:s(function(c){return c==null?"":c==""?null:(c=c.replace(/ /g,"+"),u._decompress(c.length,32,function(d){return l(i,c.charAt(d))}))},"decompressFromEncodedURIComponent"),compress:s(function(c){return u._compress(c,16,function(d){return n(d)})},"compress"),_compress:s(function(c,d,p){if(c==null)return"";var h,f,m={},y={},g="",b="",v="",S=2,T=3,P=2,C=[],w=0,E=0,_;for(_=0;_<c.length;_+=1)if(g=c.charAt(_),Object.prototype.hasOwnProperty.call(m,g)||(m[g]=T++,y[g]=!0),b=v+g,Object.prototype.hasOwnProperty.call(m,b))v=b;else{if(Object.prototype.hasOwnProperty.call(y,v)){if(v.charCodeAt(0)<256){for(h=0;h<P;h++)w=w<<1,E==d-1?(E=0,C.push(p(w)),w=0):E++;for(f=v.charCodeAt(0),h=0;h<8;h++)w=w<<1|f&1,E==d-1?(E=0,C.push(p(w)),w=0):E++,f=f>>1}else{for(f=1,h=0;h<P;h++)w=w<<1|f,E==d-1?(E=0,C.push(p(w)),w=0):E++,f=0;for(f=v.charCodeAt(0),h=0;h<16;h++)w=w<<1|f&1,E==d-1?(E=0,C.push(p(w)),w=0):E++,f=f>>1}S--,S==0&&(S=Math.pow(2,P),P++),delete y[v]}else for(f=m[v],h=0;h<P;h++)w=w<<1|f&1,E==d-1?(E=0,C.push(p(w)),w=0):E++,f=f>>1;S--,S==0&&(S=Math.pow(2,P),P++),m[b]=T++,v=String(g)}if(v!==""){if(Object.prototype.hasOwnProperty.call(y,v)){if(v.charCodeAt(0)<256){for(h=0;h<P;h++)w=w<<1,E==d-1?(E=0,C.push(p(w)),w=0):E++;for(f=v.charCodeAt(0),h=0;h<8;h++)w=w<<1|f&1,E==d-1?(E=0,C.push(p(w)),w=0):E++,f=f>>1}else{for(f=1,h=0;h<P;h++)w=w<<1|f,E==d-1?(E=0,C.push(p(w)),w=0):E++,f=0;for(f=v.charCodeAt(0),h=0;h<16;h++)w=w<<1|f&1,E==d-1?(E=0,C.push(p(w)),w=0):E++,f=f>>1}S--,S==0&&(S=Math.pow(2,P),P++),delete y[v]}else for(f=m[v],h=0;h<P;h++)w=w<<1|f&1,E==d-1?(E=0,C.push(p(w)),w=0):E++,f=f>>1;S--,S==0&&(S=Math.pow(2,P),P++)}for(f=2,h=0;h<P;h++)w=w<<1|f&1,E==d-1?(E=0,C.push(p(w)),w=0):E++,f=f>>1;for(;;)if(w=w<<1,E==d-1){C.push(p(w));break}else E++;return C.join("")},"_compress"),decompress:s(function(c){return c==null?"":c==""?null:u._decompress(c.length,32768,function(d){return c.charCodeAt(d)})},"decompress"),_decompress:s(function(c,d,p){var h=[],f=4,m=4,y=3,g="",b=[],v,S,T,P,C,w,E,_={val:p(0),position:d,index:1};for(v=0;v<3;v+=1)h[v]=v;for(T=0,C=Math.pow(2,2),w=1;w!=C;)P=_.val&_.position,_.position>>=1,_.position==0&&(_.position=d,_.val=p(_.index++)),T|=(P>0?1:0)*w,w<<=1;switch(T){case 0:for(T=0,C=Math.pow(2,8),w=1;w!=C;)P=_.val&_.position,_.position>>=1,_.position==0&&(_.position=d,_.val=p(_.index++)),T|=(P>0?1:0)*w,w<<=1;E=n(T);break;case 1:for(T=0,C=Math.pow(2,16),w=1;w!=C;)P=_.val&_.position,_.position>>=1,_.position==0&&(_.position=d,_.val=p(_.index++)),T|=(P>0?1:0)*w,w<<=1;E=n(T);break;case 2:return""}for(h[3]=E,S=E,b.push(E);;){if(_.index>c)return"";for(T=0,C=Math.pow(2,y),w=1;w!=C;)P=_.val&_.position,_.position>>=1,_.position==0&&(_.position=d,_.val=p(_.index++)),T|=(P>0?1:0)*w,w<<=1;switch(E=T){case 0:for(T=0,C=Math.pow(2,8),w=1;w!=C;)P=_.val&_.position,_.position>>=1,_.position==0&&(_.position=d,_.val=p(_.index++)),T|=(P>0?1:0)*w,w<<=1;h[m++]=n(T),E=m-1,f--;break;case 1:for(T=0,C=Math.pow(2,16),w=1;w!=C;)P=_.val&_.position,_.position>>=1,_.position==0&&(_.position=d,_.val=p(_.index++)),T|=(P>0?1:0)*w,w<<=1;h[m++]=n(T),E=m-1,f--;break;case 2:return b.join("")}if(f==0&&(f=Math.pow(2,y),y++),h[E])g=h[E];else if(E===m)g=S+S.charAt(0);else return null;b.push(g),h[m++]=S+g.charAt(0),f--,S=g,f==0&&(f=Math.pow(2,y),y++)}},"_decompress")};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})}),vW=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.isEqual=function(){var t=Object.prototype.toString,r=Object.getPrototypeOf,n=Object.getOwnPropertySymbols?function(o){return Object.keys(o).concat(Object.getOwnPropertySymbols(o))}:Object.keys;return function(o,i){return s(function a(l,u,c){var d,p,h,f=t.call(l),m=t.call(u);if(l===u)return!0;if(l==null||u==null)return!1;if(c.indexOf(l)>-1&&c.indexOf(u)>-1)return!0;if(c.push(l,u),f!=m||(d=n(l),p=n(u),d.length!=p.length||d.some(function(y){return!a(l[y],u[y],c)})))return!1;switch(f.slice(8,-1)){case"Symbol":return l.valueOf()==u.valueOf();case"Date":case"Number":return+l==+u||+l!=+l&&+u!=+u;case"RegExp":case"Function":case"String":case"Boolean":return""+l==""+u;case"Set":case"Map":d=l.entries(),p=u.entries();do if(!a((h=d.next()).value,p.next().value,c))return!1;while(!h.done);return!0;case"ArrayBuffer":l=new Uint8Array(l),u=new Uint8Array(u);case"DataView":l=new Uint8Array(l.buffer),u=new Uint8Array(u.buffer);case"Float32Array":case"Float64Array":case"Int8Array":case"Int16Array":case"Int32Array":case"Uint8Array":case"Uint16Array":case"Uint32Array":case"Uint8ClampedArray":case"Arguments":case"Array":if(l.length!=u.length)return!1;for(h=0;h<l.length;h++)if((h in l||h in u)&&(h in l!=h in u||!a(l[h],u[h],c)))return!1;return!0;case"Object":return a(r(l),r(u),c);default:return!1}},"n")(o,i,[])}}()}),Q_=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.encodeString=n;var t=Array.from({length:256},(o,i)=>"%"+((i<16?"0":"")+i.toString(16)).toUpperCase()),r=new Int8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,1,1,1,1,0,0,1,1,0,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,1,0]);function n(o){let i=o.length;if(i===0)return"";let a="",l=0,u=0;e:for(;u<i;u++){let c=o.charCodeAt(u);for(;c<128;){if(r[c]!==1&&(l<u&&(a+=o.slice(l,u)),l=u+1,a+=t[c]),++u===i)break e;c=o.charCodeAt(u)}if(l<u&&(a+=o.slice(l,u)),c<2048){l=u+1,a+=t[192|c>>6]+t[128|c&63];continue}if(c<55296||c>=57344){l=u+1,a+=t[224|c>>12]+t[128|c>>6&63]+t[128|c&63];continue}if(++u,u>=i)throw new Error("URI malformed");let d=o.charCodeAt(u)&1023;l=u+1,c=65536+((c&1023)<<10|d),a+=t[240|c>>18]+t[128|c>>12&63]+t[128|c>>6&63]+t[128|c&63]}return l===0?o:l<i?a+o.slice(l):a}s(n,"encodeString")}),fb=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.defaultOptions=e.defaultShouldSerializeObject=e.defaultValueSerializer=void 0;var t=Q_(),r=s(i=>{switch(typeof i){case"string":return(0,t.encodeString)(i);case"bigint":case"boolean":return""+i;case"number":if(Number.isFinite(i))return i<1e21?""+i:(0,t.encodeString)(""+i);break}return i instanceof Date?(0,t.encodeString)(i.toISOString()):""},"defaultValueSerializer");e.defaultValueSerializer=r;var n=s(i=>i instanceof Date,"defaultShouldSerializeObject");e.defaultShouldSerializeObject=n;var o=s(i=>i,"identityFunc");e.defaultOptions={nesting:!0,nestingSyntax:"dot",arrayRepeat:!1,arrayRepeatSyntax:"repeat",delimiter:38,valueDeserializer:o,valueSerializer:e.defaultValueSerializer,keyDeserializer:o,shouldSerializeObject:e.defaultShouldSerializeObject}}),Z_=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.getDeepObject=o,e.stringifyObject=d;var t=fb(),r=Q_();function n(p){return p==="__proto__"||p==="constructor"||p==="prototype"}s(n,"isPrototypeKey");function o(p,h,f,m,y){if(n(h))return p;let g=p[h];return typeof g=="object"&&g!==null?g:!m&&(y||typeof f=="number"||typeof f=="string"&&f*0===0&&f.indexOf(".")===-1)?p[h]=[]:p[h]={}}s(o,"getDeepObject");var i=20,a="[]",l="[",u="]",c=".";function d(p,h,f=0,m,y){let{nestingSyntax:g=t.defaultOptions.nestingSyntax,arrayRepeat:b=t.defaultOptions.arrayRepeat,arrayRepeatSyntax:v=t.defaultOptions.arrayRepeatSyntax,nesting:S=t.defaultOptions.nesting,delimiter:T=t.defaultOptions.delimiter,valueSerializer:P=t.defaultOptions.valueSerializer,shouldSerializeObject:C=t.defaultOptions.shouldSerializeObject}=h,w=typeof T=="number"?String.fromCharCode(T):T,E=y===!0&&b,_=g==="dot"||g==="js"&&!y;if(f>i)return"";let R="",N=!0,q=!1;for(let L in p){let O=p[L],k;m?(k=m,E?v==="bracket"&&(k+=a):_?(k+=c,k+=L):(k+=l,k+=L,k+=u)):k=L,N||(R+=w),typeof O=="object"&&O!==null&&!C(O)?(q=O.pop!==void 0,(S||b&&q)&&(R+=d(O,h,f+1,k,q))):(R+=(0,r.encodeString)(k),R+="=",R+=P(O,L)),N&&(N=!1)}return R}s(d,"stringifyObject")}),wW=A((e,t)=>{var r=12,n=0,o=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,6,7,7,7,7,7,7,7,7,7,7,7,7,8,7,7,10,9,9,9,11,4,4,4,4,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,0,0,0,0,12,0,0,0,0,24,36,48,60,72,84,96,0,12,12,12,0,0,0,0,0,0,0,0,0,0,0,24,0,0,0,0,0,0,0,0,0,24,24,24,0,0,0,0,0,0,0,0,0,24,24,0,0,0,0,0,0,0,0,0,0,48,48,48,0,0,0,0,0,0,0,0,0,0,48,48,0,0,0,0,0,0,0,0,0,48,0,0,0,0,0,0,0,0,0,0,127,63,63,63,0,31,15,15,15,7,7,7];function i(u){var c=u.indexOf("%");if(c===-1)return u;for(var d=u.length,p="",h=0,f=0,m=c,y=r;c>-1&&c<d;){var g=l(u[c+1],4),b=l(u[c+2],0),v=g|b,S=o[v];if(y=o[256+y+S],f=f<<6|v&o[364+S],y===r)p+=u.slice(h,m),p+=f<=65535?String.fromCharCode(f):String.fromCharCode(55232+(f>>10),56320+(f&1023)),f=0,h=c+3,c=m=u.indexOf("%",h);else{if(y===n)return null;if(c+=3,c<d&&u.charCodeAt(c)===37)continue;return null}}return p+u.slice(h)}s(i,"decodeURIComponent");var a={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,a:10,A:10,b:11,B:11,c:12,C:12,d:13,D:13,e:14,E:14,f:15,F:15};function l(u,c){var d=a[u];return d===void 0?255:d<<c}s(l,"hexCodeToInt"),t.exports=i}),EW=A(e=>{var t=e&&e.__importDefault||function(p){return p&&p.__esModule?p:{default:p}};Object.defineProperty(e,"__esModule",{value:!0}),e.numberValueDeserializer=e.numberKeyDeserializer=void 0,e.parse=d;var r=Z_(),n=fb(),o=t(wW()),i=s(p=>{let h=Number(p);return Number.isNaN(h)?p:h},"numberKeyDeserializer");e.numberKeyDeserializer=i;var a=s(p=>{let h=Number(p);return Number.isNaN(h)?p:h},"numberValueDeserializer");e.numberValueDeserializer=a;var l=/\+/g,u=s(function(){},"Empty");u.prototype=Object.create(null);function c(p,h,f,m,y){let g=p.substring(h,f);return m&&(g=g.replace(l," ")),y&&(g=(0,o.default)(g)||g),g}s(c,"computeKeySlice");function d(p,h){let{valueDeserializer:f=n.defaultOptions.valueDeserializer,keyDeserializer:m=n.defaultOptions.keyDeserializer,arrayRepeatSyntax:y=n.defaultOptions.arrayRepeatSyntax,nesting:g=n.defaultOptions.nesting,arrayRepeat:b=n.defaultOptions.arrayRepeat,nestingSyntax:v=n.defaultOptions.nestingSyntax,delimiter:S=n.defaultOptions.delimiter}=h??{},T=typeof S=="string"?S.charCodeAt(0):S,P=v==="js",C=new u;if(typeof p!="string")return C;let w=p.length,E="",_=-1,R=-1,N=-1,q=C,L,O="",k="",M=!1,G=!1,V=!1,oe=!1,fe=!1,te=!1,Y=!1,Q=0,re=-1,ce=-1,ie=-1;for(let be=0;be<w+1;be++){if(Q=be!==w?p.charCodeAt(be):T,Q===T){if(Y=R>_,Y||(R=be),N!==R-1&&(k=c(p,N+1,re>-1?re:R,V,M),O=m(k),L!==void 0&&(q=(0,r.getDeepObject)(q,L,O,P&&fe,P&&te))),Y||O!==""){Y&&(E=p.slice(R+1,be),oe&&(E=E.replace(l," ")),G&&(E=(0,o.default)(E)||E));let we=f(E,O);if(b){let Ye=q[O];Ye===void 0?re>-1?q[O]=[we]:q[O]=we:Ye.pop?Ye.push(we):q[O]=[Ye,we]}else q[O]=we}E="",_=be,R=be,M=!1,G=!1,V=!1,oe=!1,fe=!1,te=!1,re=-1,N=be,q=C,L=void 0,O=""}else Q===93?(b&&y==="bracket"&&ie===91&&(re=ce),g&&(v==="index"||P)&&R<=_&&(N!==ce&&(k=c(p,N+1,be,V,M),O=m(k),L!==void 0&&(q=(0,r.getDeepObject)(q,L,O,void 0,P)),L=O,V=!1,M=!1),N=be,te=!0,fe=!1)):Q===46?g&&(v==="dot"||P)&&R<=_&&(N!==ce&&(k=c(p,N+1,be,V,M),O=m(k),L!==void 0&&(q=(0,r.getDeepObject)(q,L,O,P)),L=O,V=!1,M=!1),fe=!0,te=!1,N=be):Q===91?g&&(v==="index"||P)&&R<=_&&(N!==ce&&(k=c(p,N+1,be,V,M),O=m(k),P&&L!==void 0&&(q=(0,r.getDeepObject)(q,L,O,P)),L=O,V=!1,M=!1,fe=!1,te=!0),N=be):Q===61?R<=_?R=be:G=!0:Q===43?R>_?oe=!0:V=!0:Q===37&&(R>_?G=!0:M=!0);ce=be,ie=Q}return C}s(d,"parse")}),SW=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.stringify=r;var t=Z_();function r(n,o){if(n===null||typeof n!="object")return"";let i=o??{};return(0,t.stringifyObject)(n,i)}s(r,"stringify")}),hb=A(e=>{var t=e&&e.__createBinding||(Object.create?function(i,a,l,u){u===void 0&&(u=l);var c=Object.getOwnPropertyDescriptor(a,l);(!c||("get"in c?!a.__esModule:c.writable||c.configurable))&&(c={enumerable:!0,get:s(function(){return a[l]},"get")}),Object.defineProperty(i,u,c)}:function(i,a,l,u){u===void 0&&(u=l),i[u]=a[l]}),r=e&&e.__exportStar||function(i,a){for(var l in i)l!=="default"&&!Object.prototype.hasOwnProperty.call(a,l)&&t(a,i,l)};Object.defineProperty(e,"__esModule",{value:!0}),e.stringify=e.parse=void 0;var n=EW();Object.defineProperty(e,"parse",{enumerable:!0,get:s(function(){return n.parse},"get")});var o=SW();Object.defineProperty(e,"stringify",{enumerable:!0,get:s(function(){return o.stringify},"get")}),r(fb(),e)}),eP=A((e,t)=>{t.exports={Aacute:"Á",aacute:"á",Abreve:"Ă",abreve:"ă",ac:"∾",acd:"∿",acE:"∾̳",Acirc:"Â",acirc:"â",acute:"´",Acy:"А",acy:"а",AElig:"Æ",aelig:"æ",af:"",Afr:"𝔄",afr:"𝔞",Agrave:"À",agrave:"à",alefsym:"ℵ",aleph:"ℵ",Alpha:"Α",alpha:"α",Amacr:"Ā",amacr:"ā",amalg:"⨿",amp:"&",AMP:"&",andand:"⩕",And:"⩓",and:"∧",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angmsd:"∡",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",Aogon:"Ą",aogon:"ą",Aopf:"𝔸",aopf:"𝕒",apacir:"⩯",ap:"≈",apE:"⩰",ape:"≊",apid:"≋",apos:"'",ApplyFunction:"",approx:"≈",approxeq:"≊",Aring:"Å",aring:"å",Ascr:"𝒜",ascr:"𝒶",Assign:"≔",ast:"*",asymp:"≈",asympeq:"≍",Atilde:"Ã",atilde:"ã",Auml:"Ä",auml:"ä",awconint:"∳",awint:"⨑",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"⋍",Backslash:"∖",Barv:"⫧",barvee:"⊽",barwed:"⌅",Barwed:"⌆",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",Bcy:"Б",bcy:"б",bdquo:"„",becaus:"∵",because:"∵",Because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",Bernoullis:"ℬ",Beta:"Β",beta:"β",beth:"ℶ",between:"≬",Bfr:"𝔅",bfr:"𝔟",bigcap:"⋂",bigcirc:"◯",bigcup:"⋃",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"⋁",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bNot:"⫭",bnot:"⌐",Bopf:"𝔹",bopf:"𝕓",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxbox:"⧉",boxdl:"┐",boxdL:"╕",boxDl:"╖",boxDL:"╗",boxdr:"┌",boxdR:"╒",boxDr:"╓",boxDR:"╔",boxh:"─",boxH:"═",boxhd:"┬",boxHd:"╤",boxhD:"╥",boxHD:"╦",boxhu:"┴",boxHu:"╧",boxhU:"╨",boxHU:"╩",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxul:"┘",boxuL:"╛",boxUl:"╜",boxUL:"╝",boxur:"└",boxuR:"╘",boxUr:"╙",boxUR:"╚",boxv:"│",boxV:"║",boxvh:"┼",boxvH:"╪",boxVh:"╫",boxVH:"╬",boxvl:"┤",boxvL:"╡",boxVl:"╢",boxVL:"╣",boxvr:"├",boxvR:"╞",boxVr:"╟",boxVR:"╠",bprime:"‵",breve:"˘",Breve:"˘",brvbar:"¦",bscr:"𝒷",Bscr:"ℬ",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsolb:"⧅",bsol:"\\",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpE:"⪮",bumpe:"≏",Bumpeq:"≎",bumpeq:"≏",Cacute:"Ć",cacute:"ć",capand:"⩄",capbrcup:"⩉",capcap:"⩋",cap:"∩",Cap:"⋒",capcup:"⩇",capdot:"⩀",CapitalDifferentialD:"ⅅ",caps:"∩︀",caret:"⁁",caron:"ˇ",Cayleys:"ℭ",ccaps:"⩍",Ccaron:"Č",ccaron:"č",Ccedil:"Ç",ccedil:"ç",Ccirc:"Ĉ",ccirc:"ĉ",Cconint:"∰",ccups:"⩌",ccupssm:"⩐",Cdot:"Ċ",cdot:"ċ",cedil:"¸",Cedilla:"¸",cemptyv:"⦲",cent:"¢",centerdot:"·",CenterDot:"·",cfr:"𝔠",Cfr:"ℭ",CHcy:"Ч",chcy:"ч",check:"✓",checkmark:"✓",Chi:"Χ",chi:"χ",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",CircleDot:"⊙",circledR:"®",circledS:"Ⓢ",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",cir:"○",cirE:"⧃",cire:"≗",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"’",clubs:"♣",clubsuit:"♣",colon:":",Colon:"∷",Colone:"⩴",colone:"≔",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",Congruent:"≡",conint:"∮",Conint:"∯",ContourIntegral:"∮",copf:"𝕔",Copf:"ℂ",coprod:"∐",Coproduct:"∐",copy:"©",COPY:"©",copysr:"℗",CounterClockwiseContourIntegral:"∳",crarr:"↵",cross:"✗",Cross:"⨯",Cscr:"𝒞",cscr:"𝒸",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",cupbrcap:"⩈",cupcap:"⩆",CupCap:"≍",cup:"∪",Cup:"⋓",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",dagger:"†",Dagger:"‡",daleth:"ℸ",darr:"↓",Darr:"↡",dArr:"⇓",dash:"‐",Dashv:"⫤",dashv:"⊣",dbkarow:"⤏",dblac:"˝",Dcaron:"Ď",dcaron:"ď",Dcy:"Д",dcy:"д",ddagger:"‡",ddarr:"⇊",DD:"ⅅ",dd:"ⅆ",DDotrahd:"⤑",ddotseq:"⩷",deg:"°",Del:"∇",Delta:"Δ",delta:"δ",demptyv:"⦱",dfisht:"⥿",Dfr:"𝔇",dfr:"𝔡",dHar:"⥥",dharl:"⇃",dharr:"⇂",DiacriticalAcute:"´",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",diam:"⋄",diamond:"⋄",Diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"¨",DifferentialD:"ⅆ",digamma:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",DJcy:"Ђ",djcy:"ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",Dopf:"𝔻",dopf:"𝕕",Dot:"¨",dot:"˙",DotDot:"⃜",doteq:"≐",doteqdot:"≑",DotEqual:"≐",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",DoubleContourIntegral:"∯",DoubleDot:"¨",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",DownArrowBar:"⤓",downarrow:"↓",DownArrow:"↓",Downarrow:"⇓",DownArrowUpArrow:"⇵",DownBreve:"̑",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVectorBar:"⥖",DownLeftVector:"↽",DownRightTeeVector:"⥟",DownRightVectorBar:"⥗",DownRightVector:"⇁",DownTeeArrow:"↧",DownTee:"⊤",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",Dscr:"𝒟",dscr:"𝒹",DScy:"Ѕ",dscy:"ѕ",dsol:"⧶",Dstrok:"Đ",dstrok:"đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",DZcy:"Џ",dzcy:"џ",dzigrarr:"⟿",Eacute:"É",eacute:"é",easter:"⩮",Ecaron:"Ě",ecaron:"ě",Ecirc:"Ê",ecirc:"ê",ecir:"≖",ecolon:"≕",Ecy:"Э",ecy:"э",eDDot:"⩷",Edot:"Ė",edot:"ė",eDot:"≑",ee:"ⅇ",efDot:"≒",Efr:"𝔈",efr:"𝔢",eg:"⪚",Egrave:"È",egrave:"è",egs:"⪖",egsdot:"⪘",el:"⪙",Element:"∈",elinters:"⏧",ell:"ℓ",els:"⪕",elsdot:"⪗",Emacr:"Ē",emacr:"ē",empty:"∅",emptyset:"∅",EmptySmallSquare:"◻",emptyv:"∅",EmptyVerySmallSquare:"▫",emsp13:" ",emsp14:" ",emsp:" ",ENG:"Ŋ",eng:"ŋ",ensp:" ",Eogon:"Ę",eogon:"ę",Eopf:"𝔼",eopf:"𝕖",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",Epsilon:"Ε",epsilon:"ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",Equal:"⩵",equals:"=",EqualTilde:"≂",equest:"≟",Equilibrium:"⇌",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erarr:"⥱",erDot:"≓",escr:"ℯ",Escr:"ℰ",esdot:"≐",Esim:"⩳",esim:"≂",Eta:"Η",eta:"η",ETH:"Ð",eth:"ð",Euml:"Ë",euml:"ë",euro:"€",excl:"!",exist:"∃",Exists:"∃",expectation:"ℰ",exponentiale:"ⅇ",ExponentialE:"ⅇ",fallingdotseq:"≒",Fcy:"Ф",fcy:"ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",Ffr:"𝔉",ffr:"𝔣",filig:"fi",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",Fopf:"𝔽",fopf:"𝕗",forall:"∀",ForAll:"∀",fork:"⋔",forkv:"⫙",Fouriertrf:"ℱ",fpartint:"⨍",frac12:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",fscr:"𝒻",Fscr:"ℱ",gacute:"ǵ",Gamma:"Γ",gamma:"γ",Gammad:"Ϝ",gammad:"ϝ",gap:"⪆",Gbreve:"Ğ",gbreve:"ğ",Gcedil:"Ģ",Gcirc:"Ĝ",gcirc:"ĝ",Gcy:"Г",gcy:"г",Gdot:"Ġ",gdot:"ġ",ge:"≥",gE:"≧",gEl:"⪌",gel:"⋛",geq:"≥",geqq:"≧",geqslant:"⩾",gescc:"⪩",ges:"⩾",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",Gfr:"𝔊",gfr:"𝔤",gg:"≫",Gg:"⋙",ggg:"⋙",gimel:"ℷ",GJcy:"Ѓ",gjcy:"ѓ",gla:"⪥",gl:"≷",glE:"⪒",glj:"⪤",gnap:"⪊",gnapprox:"⪊",gne:"⪈",gnE:"≩",gneq:"⪈",gneqq:"≩",gnsim:"⋧",Gopf:"𝔾",gopf:"𝕘",grave:"`",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",Gscr:"𝒢",gscr:"ℊ",gsim:"≳",gsime:"⪎",gsiml:"⪐",gtcc:"⪧",gtcir:"⩺",gt:">",GT:">",Gt:"≫",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",Hacek:"ˇ",hairsp:" ",half:"½",hamilt:"ℋ",HARDcy:"Ъ",hardcy:"ъ",harrcir:"⥈",harr:"↔",hArr:"⇔",harrw:"↭",Hat:"^",hbar:"ℏ",Hcirc:"Ĥ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",hfr:"𝔥",Hfr:"ℌ",HilbertSpace:"ℋ",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",hopf:"𝕙",Hopf:"ℍ",horbar:"―",HorizontalLine:"─",hscr:"𝒽",Hscr:"ℋ",hslash:"ℏ",Hstrok:"Ħ",hstrok:"ħ",HumpDownHump:"≎",HumpEqual:"≏",hybull:"⁃",hyphen:"‐",Iacute:"Í",iacute:"í",ic:"",Icirc:"Î",icirc:"î",Icy:"И",icy:"и",Idot:"İ",IEcy:"Е",iecy:"е",iexcl:"¡",iff:"⇔",ifr:"𝔦",Ifr:"ℑ",Igrave:"Ì",igrave:"ì",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",IJlig:"IJ",ijlig:"ij",Imacr:"Ī",imacr:"ī",image:"ℑ",ImaginaryI:"ⅈ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",Im:"ℑ",imof:"⊷",imped:"Ƶ",Implies:"⇒",incare:"℅",in:"∈",infin:"∞",infintie:"⧝",inodot:"ı",intcal:"⊺",int:"∫",Int:"∬",integers:"ℤ",Integral:"∫",intercal:"⊺",Intersection:"⋂",intlarhk:"⨗",intprod:"⨼",InvisibleComma:"",InvisibleTimes:"",IOcy:"Ё",iocy:"ё",Iogon:"Į",iogon:"į",Iopf:"𝕀",iopf:"𝕚",Iota:"Ι",iota:"ι",iprod:"⨼",iquest:"¿",iscr:"𝒾",Iscr:"ℐ",isin:"∈",isindot:"⋵",isinE:"⋹",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"",Itilde:"Ĩ",itilde:"ĩ",Iukcy:"І",iukcy:"і",Iuml:"Ï",iuml:"ï",Jcirc:"Ĵ",jcirc:"ĵ",Jcy:"Й",jcy:"й",Jfr:"𝔍",jfr:"𝔧",jmath:"ȷ",Jopf:"𝕁",jopf:"𝕛",Jscr:"𝒥",jscr:"𝒿",Jsercy:"Ј",jsercy:"ј",Jukcy:"Є",jukcy:"є",Kappa:"Κ",kappa:"κ",kappav:"ϰ",Kcedil:"Ķ",kcedil:"ķ",Kcy:"К",kcy:"к",Kfr:"𝔎",kfr:"𝔨",kgreen:"ĸ",KHcy:"Х",khcy:"х",KJcy:"Ќ",kjcy:"ќ",Kopf:"𝕂",kopf:"𝕜",Kscr:"𝒦",kscr:"𝓀",lAarr:"⇚",Lacute:"Ĺ",lacute:"ĺ",laemptyv:"⦴",lagran:"ℒ",Lambda:"Λ",lambda:"λ",lang:"⟨",Lang:"⟪",langd:"⦑",langle:"⟨",lap:"⪅",Laplacetrf:"ℒ",laquo:"«",larrb:"⇤",larrbfs:"⤟",larr:"←",Larr:"↞",lArr:"⇐",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",latail:"⤙",lAtail:"⤛",lat:"⪫",late:"⪭",lates:"⪭︀",lbarr:"⤌",lBarr:"⤎",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",Lcaron:"Ľ",lcaron:"ľ",Lcedil:"Ļ",lcedil:"ļ",lceil:"⌈",lcub:"{",Lcy:"Л",lcy:"л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",le:"≤",lE:"≦",LeftAngleBracket:"⟨",LeftArrowBar:"⇤",leftarrow:"←",LeftArrow:"←",Leftarrow:"⇐",LeftArrowRightArrow:"⇆",leftarrowtail:"↢",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVectorBar:"⥙",LeftDownVector:"⇃",LeftFloor:"⌊",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",leftrightarrow:"↔",LeftRightArrow:"↔",Leftrightarrow:"⇔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",LeftRightVector:"⥎",LeftTeeArrow:"↤",LeftTee:"⊣",LeftTeeVector:"⥚",leftthreetimes:"⋋",LeftTriangleBar:"⧏",LeftTriangle:"⊲",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVectorBar:"⥘",LeftUpVector:"↿",LeftVectorBar:"⥒",LeftVector:"↼",lEg:"⪋",leg:"⋚",leq:"≤",leqq:"≦",leqslant:"⩽",lescc:"⪨",les:"⩽",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",lessgtr:"≶",LessLess:"⪡",lesssim:"≲",LessSlantEqual:"⩽",LessTilde:"≲",lfisht:"⥼",lfloor:"⌊",Lfr:"𝔏",lfr:"𝔩",lg:"≶",lgE:"⪑",lHar:"⥢",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",LJcy:"Љ",ljcy:"љ",llarr:"⇇",ll:"≪",Ll:"⋘",llcorner:"⌞",Lleftarrow:"⇚",llhard:"⥫",lltri:"◺",Lmidot:"Ŀ",lmidot:"ŀ",lmoustache:"⎰",lmoust:"⎰",lnap:"⪉",lnapprox:"⪉",lne:"⪇",lnE:"≨",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",longleftarrow:"⟵",LongLeftArrow:"⟵",Longleftarrow:"⟸",longleftrightarrow:"⟷",LongLeftRightArrow:"⟷",Longleftrightarrow:"⟺",longmapsto:"⟼",longrightarrow:"⟶",LongRightArrow:"⟶",Longrightarrow:"⟹",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",Lopf:"𝕃",lopf:"𝕝",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",LowerLeftArrow:"↙",LowerRightArrow:"↘",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"",lrtri:"⊿",lsaquo:"‹",lscr:"𝓁",Lscr:"ℒ",lsh:"↰",Lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",Lstrok:"Ł",lstrok:"ł",ltcc:"⪦",ltcir:"⩹",lt:"<",LT:"<",Lt:"≪",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltri:"◃",ltrie:"⊴",ltrif:"◂",ltrPar:"⦖",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",macr:"¯",male:"♂",malt:"✠",maltese:"✠",Map:"⤅",map:"↦",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",Mcy:"М",mcy:"м",mdash:"—",mDDot:"∺",measuredangle:"∡",MediumSpace:" ",Mellintrf:"ℳ",Mfr:"𝔐",mfr:"𝔪",mho:"℧",micro:"µ",midast:"*",midcir:"⫰",mid:"∣",middot:"·",minusb:"⊟",minus:"−",minusd:"∸",minusdu:"⨪",MinusPlus:"∓",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",Mopf:"𝕄",mopf:"𝕞",mp:"∓",mscr:"𝓂",Mscr:"ℳ",mstpos:"∾",Mu:"Μ",mu:"μ",multimap:"⊸",mumap:"⊸",nabla:"∇",Nacute:"Ń",nacute:"ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natural:"♮",naturals:"ℕ",natur:"♮",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",Ncaron:"Ň",ncaron:"ň",Ncedil:"Ņ",ncedil:"ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",Ncy:"Н",ncy:"н",ndash:"–",nearhk:"⤤",nearr:"↗",neArr:"⇗",nearrow:"↗",ne:"≠",nedot:"≐̸",NegativeMediumSpace:"",NegativeThickSpace:"",NegativeThinSpace:"",NegativeVeryThinSpace:"",nequiv:"≢",nesear:"⤨",nesim:"≂̸",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:`
|
|
28
|
-
`,nexist:"∄",nexists:"∄",Nfr:"𝔑",nfr:"𝔫",ngE:"≧̸",nge:"≱",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",nGg:"⋙̸",ngsim:"≵",nGt:"≫⃒",ngt:"≯",ngtr:"≯",nGtv:"≫̸",nharr:"↮",nhArr:"⇎",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",NJcy:"Њ",njcy:"њ",nlarr:"↚",nlArr:"⇍",nldr:"‥",nlE:"≦̸",nle:"≰",nleftarrow:"↚",nLeftarrow:"⇍",nleftrightarrow:"↮",nLeftrightarrow:"⇎",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nLl:"⋘̸",nlsim:"≴",nLt:"≪⃒",nlt:"≮",nltri:"⋪",nltrie:"⋬",nLtv:"≪̸",nmid:"∤",NoBreak:"",NonBreakingSpace:" ",nopf:"𝕟",Nopf:"ℕ",Not:"⫬",not:"¬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",notin:"∉",notindot:"⋵̸",notinE:"⋹̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",NotLeftTriangleBar:"⧏̸",NotLeftTriangle:"⋪",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangleBar:"⧐̸",NotRightTriangle:"⋫",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",nparallel:"∦",npar:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",nprec:"⊀",npreceq:"⪯̸",npre:"⪯̸",nrarrc:"⤳̸",nrarr:"↛",nrArr:"⇏",nrarrw:"↝̸",nrightarrow:"↛",nRightarrow:"⇏",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",Nscr:"𝒩",nscr:"𝓃",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsubE:"⫅̸",nsube:"⊈",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupE:"⫆̸",nsupe:"⊉",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",Ntilde:"Ñ",ntilde:"ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",Nu:"Ν",nu:"ν",num:"#",numero:"№",numsp:" ",nvap:"≍⃒",nvdash:"⊬",nvDash:"⊭",nVdash:"⊮",nVDash:"⊯",nvge:"≥⃒",nvgt:">⃒",nvHarr:"⤄",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwarhk:"⤣",nwarr:"↖",nwArr:"⇖",nwarrow:"↖",nwnear:"⤧",Oacute:"Ó",oacute:"ó",oast:"⊛",Ocirc:"Ô",ocirc:"ô",ocir:"⊚",Ocy:"О",ocy:"о",odash:"⊝",Odblac:"Ő",odblac:"ő",odiv:"⨸",odot:"⊙",odsold:"⦼",OElig:"Œ",oelig:"œ",ofcir:"⦿",Ofr:"𝔒",ofr:"𝔬",ogon:"˛",Ograve:"Ò",ograve:"ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",Omacr:"Ō",omacr:"ō",Omega:"Ω",omega:"ω",Omicron:"Ο",omicron:"ο",omid:"⦶",ominus:"⊖",Oopf:"𝕆",oopf:"𝕠",opar:"⦷",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",operp:"⦹",oplus:"⊕",orarr:"↻",Or:"⩔",or:"∨",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",Oscr:"𝒪",oscr:"ℴ",Oslash:"Ø",oslash:"ø",osol:"⊘",Otilde:"Õ",otilde:"õ",otimesas:"⨶",Otimes:"⨷",otimes:"⊗",Ouml:"Ö",ouml:"ö",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",para:"¶",parallel:"∥",par:"∥",parsim:"⫳",parsl:"⫽",part:"∂",PartialD:"∂",Pcy:"П",pcy:"п",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",Pfr:"𝔓",pfr:"𝔭",Phi:"Φ",phi:"φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",Pi:"Π",pi:"π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plus:"+",plusdo:"∔",plusdu:"⨥",pluse:"⩲",PlusMinus:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",Poincareplane:"ℌ",pointint:"⨕",popf:"𝕡",Popf:"ℙ",pound:"£",prap:"⪷",Pr:"⪻",pr:"≺",prcue:"≼",precapprox:"⪷",prec:"≺",preccurlyeq:"≼",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",pre:"⪯",prE:"⪳",precsim:"≾",prime:"′",Prime:"″",primes:"ℙ",prnap:"⪹",prnE:"⪵",prnsim:"⋨",prod:"∏",Product:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",Proportional:"∝",Proportion:"∷",propto:"∝",prsim:"≾",prurel:"⊰",Pscr:"𝒫",pscr:"𝓅",Psi:"Ψ",psi:"ψ",puncsp:" ",Qfr:"𝔔",qfr:"𝔮",qint:"⨌",qopf:"𝕢",Qopf:"ℚ",qprime:"⁗",Qscr:"𝒬",qscr:"𝓆",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",quot:'"',QUOT:'"',rAarr:"⇛",race:"∽̱",Racute:"Ŕ",racute:"ŕ",radic:"√",raemptyv:"⦳",rang:"⟩",Rang:"⟫",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarr:"→",Rarr:"↠",rArr:"⇒",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",Rarrtl:"⤖",rarrtl:"↣",rarrw:"↝",ratail:"⤚",rAtail:"⤜",ratio:"∶",rationals:"ℚ",rbarr:"⤍",rBarr:"⤏",RBarr:"⤐",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",Rcaron:"Ř",rcaron:"ř",Rcedil:"Ŗ",rcedil:"ŗ",rceil:"⌉",rcub:"}",Rcy:"Р",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",Re:"ℜ",rect:"▭",reg:"®",REG:"®",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"⌋",rfr:"𝔯",Rfr:"ℜ",rHar:"⥤",rhard:"⇁",rharu:"⇀",rharul:"⥬",Rho:"Ρ",rho:"ρ",rhov:"ϱ",RightAngleBracket:"⟩",RightArrowBar:"⇥",rightarrow:"→",RightArrow:"→",Rightarrow:"⇒",RightArrowLeftArrow:"⇄",rightarrowtail:"↣",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVectorBar:"⥕",RightDownVector:"⇂",RightFloor:"⌋",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",RightTeeArrow:"↦",RightTee:"⊢",RightTeeVector:"⥛",rightthreetimes:"⋌",RightTriangleBar:"⧐",RightTriangle:"⊳",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVectorBar:"⥔",RightUpVector:"↾",RightVectorBar:"⥓",RightVector:"⇀",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"",rmoustache:"⎱",rmoust:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",ropf:"𝕣",Ropf:"ℝ",roplus:"⨮",rotimes:"⨵",RoundImplies:"⥰",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",Rrightarrow:"⇛",rsaquo:"›",rscr:"𝓇",Rscr:"ℛ",rsh:"↱",Rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",RuleDelayed:"⧴",ruluhar:"⥨",rx:"℞",Sacute:"Ś",sacute:"ś",sbquo:"‚",scap:"⪸",Scaron:"Š",scaron:"š",Sc:"⪼",sc:"≻",sccue:"≽",sce:"⪰",scE:"⪴",Scedil:"Ş",scedil:"ş",Scirc:"Ŝ",scirc:"ŝ",scnap:"⪺",scnE:"⪶",scnsim:"⋩",scpolint:"⨓",scsim:"≿",Scy:"С",scy:"с",sdotb:"⊡",sdot:"⋅",sdote:"⩦",searhk:"⤥",searr:"↘",seArr:"⇘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",Sfr:"𝔖",sfr:"𝔰",sfrown:"⌢",sharp:"♯",SHCHcy:"Щ",shchcy:"щ",SHcy:"Ш",shcy:"ш",ShortDownArrow:"↓",ShortLeftArrow:"←",shortmid:"∣",shortparallel:"∥",ShortRightArrow:"→",ShortUpArrow:"↑",shy:"",Sigma:"Σ",sigma:"σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",SmallCircle:"∘",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",SOFTcy:"Ь",softcy:"ь",solbar:"⌿",solb:"⧄",sol:"/",Sopf:"𝕊",sopf:"𝕤",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",Sqrt:"√",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",square:"□",Square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",squarf:"▪",squ:"□",squf:"▪",srarr:"→",Sscr:"𝒮",sscr:"𝓈",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",Star:"⋆",star:"☆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",sub:"⊂",Sub:"⋐",subdot:"⪽",subE:"⫅",sube:"⊆",subedot:"⫃",submult:"⫁",subnE:"⫋",subne:"⊊",subplus:"⪿",subrarr:"⥹",subset:"⊂",Subset:"⋐",subseteq:"⊆",subseteqq:"⫅",SubsetEqual:"⊆",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succapprox:"⪸",succ:"≻",succcurlyeq:"≽",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",SuchThat:"∋",sum:"∑",Sum:"∑",sung:"♪",sup1:"¹",sup2:"²",sup3:"³",sup:"⊃",Sup:"⋑",supdot:"⪾",supdsub:"⫘",supE:"⫆",supe:"⊇",supedot:"⫄",Superset:"⊃",SupersetEqual:"⊇",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supne:"⊋",supplus:"⫀",supset:"⊃",Supset:"⋑",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swarhk:"⤦",swarr:"↙",swArr:"⇙",swarrow:"↙",swnwar:"⤪",szlig:"ß",Tab:" ",target:"⌖",Tau:"Τ",tau:"τ",tbrk:"⎴",Tcaron:"Ť",tcaron:"ť",Tcedil:"Ţ",tcedil:"ţ",Tcy:"Т",tcy:"т",tdot:"⃛",telrec:"⌕",Tfr:"𝔗",tfr:"𝔱",there4:"∴",therefore:"∴",Therefore:"∴",Theta:"Θ",theta:"θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",ThickSpace:" ",ThinSpace:" ",thinsp:" ",thkap:"≈",thksim:"∼",THORN:"Þ",thorn:"þ",tilde:"˜",Tilde:"∼",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",timesbar:"⨱",timesb:"⊠",times:"×",timesd:"⨰",tint:"∭",toea:"⤨",topbot:"⌶",topcir:"⫱",top:"⊤",Topf:"𝕋",topf:"𝕥",topfork:"⫚",tosa:"⤩",tprime:"‴",trade:"™",TRADE:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",TripleDot:"⃛",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",Tscr:"𝒯",tscr:"𝓉",TScy:"Ц",tscy:"ц",TSHcy:"Ћ",tshcy:"ћ",Tstrok:"Ŧ",tstrok:"ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",Uacute:"Ú",uacute:"ú",uarr:"↑",Uarr:"↟",uArr:"⇑",Uarrocir:"⥉",Ubrcy:"Ў",ubrcy:"ў",Ubreve:"Ŭ",ubreve:"ŭ",Ucirc:"Û",ucirc:"û",Ucy:"У",ucy:"у",udarr:"⇅",Udblac:"Ű",udblac:"ű",udhar:"⥮",ufisht:"⥾",Ufr:"𝔘",ufr:"𝔲",Ugrave:"Ù",ugrave:"ù",uHar:"⥣",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",Umacr:"Ū",umacr:"ū",uml:"¨",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",Uogon:"Ų",uogon:"ų",Uopf:"𝕌",uopf:"𝕦",UpArrowBar:"⤒",uparrow:"↑",UpArrow:"↑",Uparrow:"⇑",UpArrowDownArrow:"⇅",updownarrow:"↕",UpDownArrow:"↕",Updownarrow:"⇕",UpEquilibrium:"⥮",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",UpperLeftArrow:"↖",UpperRightArrow:"↗",upsi:"υ",Upsi:"ϒ",upsih:"ϒ",Upsilon:"Υ",upsilon:"υ",UpTeeArrow:"↥",UpTee:"⊥",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",Uring:"Ů",uring:"ů",urtri:"◹",Uscr:"𝒰",uscr:"𝓊",utdot:"⋰",Utilde:"Ũ",utilde:"ũ",utri:"▵",utrif:"▴",uuarr:"⇈",Uuml:"Ü",uuml:"ü",uwangle:"⦧",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",varr:"↕",vArr:"⇕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",vBar:"⫨",Vbar:"⫫",vBarv:"⫩",Vcy:"В",vcy:"в",vdash:"⊢",vDash:"⊨",Vdash:"⊩",VDash:"⊫",Vdashl:"⫦",veebar:"⊻",vee:"∨",Vee:"⋁",veeeq:"≚",vellip:"⋮",verbar:"|",Verbar:"‖",vert:"|",Vert:"‖",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",Vfr:"𝔙",vfr:"𝔳",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",Vopf:"𝕍",vopf:"𝕧",vprop:"∝",vrtri:"⊳",Vscr:"𝒱",vscr:"𝓋",vsubnE:"⫋︀",vsubne:"⊊︀",vsupnE:"⫌︀",vsupne:"⊋︀",Vvdash:"⊪",vzigzag:"⦚",Wcirc:"Ŵ",wcirc:"ŵ",wedbar:"⩟",wedge:"∧",Wedge:"⋀",wedgeq:"≙",weierp:"℘",Wfr:"𝔚",wfr:"𝔴",Wopf:"𝕎",wopf:"𝕨",wp:"℘",wr:"≀",wreath:"≀",Wscr:"𝒲",wscr:"𝓌",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",Xfr:"𝔛",xfr:"𝔵",xharr:"⟷",xhArr:"⟺",Xi:"Ξ",xi:"ξ",xlarr:"⟵",xlArr:"⟸",xmap:"⟼",xnis:"⋻",xodot:"⨀",Xopf:"𝕏",xopf:"𝕩",xoplus:"⨁",xotime:"⨂",xrarr:"⟶",xrArr:"⟹",Xscr:"𝒳",xscr:"𝓍",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",Yacute:"Ý",yacute:"ý",YAcy:"Я",yacy:"я",Ycirc:"Ŷ",ycirc:"ŷ",Ycy:"Ы",ycy:"ы",yen:"¥",Yfr:"𝔜",yfr:"𝔶",YIcy:"Ї",yicy:"ї",Yopf:"𝕐",yopf:"𝕪",Yscr:"𝒴",yscr:"𝓎",YUcy:"Ю",yucy:"ю",yuml:"ÿ",Yuml:"Ÿ",Zacute:"Ź",zacute:"ź",Zcaron:"Ž",zcaron:"ž",Zcy:"З",zcy:"з",Zdot:"Ż",zdot:"ż",zeetrf:"ℨ",ZeroWidthSpace:"",Zeta:"Ζ",zeta:"ζ",zfr:"𝔷",Zfr:"ℨ",ZHcy:"Ж",zhcy:"ж",zigrarr:"⇝",zopf:"𝕫",Zopf:"ℤ",Zscr:"𝒵",zscr:"𝓏",zwj:"",zwnj:""}}),xW=A((e,t)=>{t.exports={Aacute:"Á",aacute:"á",Acirc:"Â",acirc:"â",acute:"´",AElig:"Æ",aelig:"æ",Agrave:"À",agrave:"à",amp:"&",AMP:"&",Aring:"Å",aring:"å",Atilde:"Ã",atilde:"ã",Auml:"Ä",auml:"ä",brvbar:"¦",Ccedil:"Ç",ccedil:"ç",cedil:"¸",cent:"¢",copy:"©",COPY:"©",curren:"¤",deg:"°",divide:"÷",Eacute:"É",eacute:"é",Ecirc:"Ê",ecirc:"ê",Egrave:"È",egrave:"è",ETH:"Ð",eth:"ð",Euml:"Ë",euml:"ë",frac12:"½",frac14:"¼",frac34:"¾",gt:">",GT:">",Iacute:"Í",iacute:"í",Icirc:"Î",icirc:"î",iexcl:"¡",Igrave:"Ì",igrave:"ì",iquest:"¿",Iuml:"Ï",iuml:"ï",laquo:"«",lt:"<",LT:"<",macr:"¯",micro:"µ",middot:"·",nbsp:" ",not:"¬",Ntilde:"Ñ",ntilde:"ñ",Oacute:"Ó",oacute:"ó",Ocirc:"Ô",ocirc:"ô",Ograve:"Ò",ograve:"ò",ordf:"ª",ordm:"º",Oslash:"Ø",oslash:"ø",Otilde:"Õ",otilde:"õ",Ouml:"Ö",ouml:"ö",para:"¶",plusmn:"±",pound:"£",quot:'"',QUOT:'"',raquo:"»",reg:"®",REG:"®",sect:"§",shy:"",sup1:"¹",sup2:"²",sup3:"³",szlig:"ß",THORN:"Þ",thorn:"þ",times:"×",Uacute:"Ú",uacute:"ú",Ucirc:"Û",ucirc:"û",Ugrave:"Ù",ugrave:"ù",uml:"¨",Uuml:"Ü",uuml:"ü",Yacute:"Ý",yacute:"ý",yen:"¥",yuml:"ÿ"}}),tP=A((e,t)=>{t.exports={amp:"&",apos:"'",gt:">",lt:"<",quot:'"'}}),TW=A((e,t)=>{t.exports={0:65533,128:8364,130:8218,131:402,132:8222,133:8230,134:8224,135:8225,136:710,137:8240,138:352,139:8249,140:338,142:381,145:8216,146:8217,147:8220,148:8221,149:8226,150:8211,151:8212,152:732,153:8482,154:353,155:8250,156:339,158:382,159:376}}),CW=A(e=>{var t=e&&e.__importDefault||function(i){return i&&i.__esModule?i:{default:i}};Object.defineProperty(e,"__esModule",{value:!0});var r=t(TW()),n=String.fromCodePoint||function(i){var a="";return i>65535&&(i-=65536,a+=String.fromCharCode(i>>>10&1023|55296),i=56320|i&1023),a+=String.fromCharCode(i),a};function o(i){return i>=55296&&i<=57343||i>1114111?"�":(i in r.default&&(i=r.default[i]),n(i))}s(o,"decodeCodePoint"),e.default=o}),sx=A(e=>{var t=e&&e.__importDefault||function(d){return d&&d.__esModule?d:{default:d}};Object.defineProperty(e,"__esModule",{value:!0}),e.decodeHTML=e.decodeHTMLStrict=e.decodeXML=void 0;var r=t(eP()),n=t(xW()),o=t(tP()),i=t(CW()),a=/&(?:[a-zA-Z0-9]+|#[xX][\da-fA-F]+|#\d+);/g;e.decodeXML=l(o.default),e.decodeHTMLStrict=l(r.default);function l(d){var p=c(d);return function(h){return String(h).replace(a,p)}}s(l,"getStrictDecoder");var u=s(function(d,p){return d<p?1:-1},"sorter");e.decodeHTML=function(){for(var d=Object.keys(n.default).sort(u),p=Object.keys(r.default).sort(u),h=0,f=0;h<p.length;h++)d[f]===p[h]?(p[h]+=";?",f++):p[h]+=";";var m=new RegExp("&(?:"+p.join("|")+"|#[xX][\\da-fA-F]+;?|#\\d+;?)","g"),y=c(r.default);function g(b){return b.substr(-1)!==";"&&(b+=";"),y(b)}return s(g,"replacer"),function(b){return String(b).replace(m,g)}}();function c(d){return s(function(p){if(p.charAt(1)==="#"){var h=p.charAt(2);return h==="X"||h==="x"?i.default(parseInt(p.substr(3),16)):i.default(parseInt(p.substr(2),10))}return d[p.slice(1,-1)]||p},"replace")}s(c,"getReplacer")}),lx=A(e=>{var t=e&&e.__importDefault||function(v){return v&&v.__esModule?v:{default:v}};Object.defineProperty(e,"__esModule",{value:!0}),e.escapeUTF8=e.escape=e.encodeNonAsciiHTML=e.encodeHTML=e.encodeXML=void 0;var r=t(tP()),n=u(r.default),o=c(n);e.encodeXML=b(n);var i=t(eP()),a=u(i.default),l=c(a);e.encodeHTML=f(a,l),e.encodeNonAsciiHTML=b(a);function u(v){return Object.keys(v).sort().reduce(function(S,T){return S[v[T]]="&"+T+";",S},{})}s(u,"getInverseObj");function c(v){for(var S=[],T=[],P=0,C=Object.keys(v);P<C.length;P++){var w=C[P];w.length===1?S.push("\\"+w):T.push(w)}S.sort();for(var E=0;E<S.length-1;E++){for(var _=E;_<S.length-1&&S[_].charCodeAt(1)+1===S[_+1].charCodeAt(1);)_+=1;var R=1+_-E;R<3||S.splice(E,R,S[E]+"-"+S[_])}return T.unshift("["+S.join("")+"]"),new RegExp(T.join("|"),"g")}s(c,"getInverseReplacer");var d=/(?:[\x80-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/g,p=String.prototype.codePointAt!=null?function(v){return v.codePointAt(0)}:function(v){return(v.charCodeAt(0)-55296)*1024+v.charCodeAt(1)-56320+65536};function h(v){return"&#x"+(v.length>1?p(v):v.charCodeAt(0)).toString(16).toUpperCase()+";"}s(h,"singleCharReplacer");function f(v,S){return function(T){return T.replace(S,function(P){return v[P]}).replace(d,h)}}s(f,"getInverse");var m=new RegExp(o.source+"|"+d.source,"g");function y(v){return v.replace(m,h)}s(y,"escape"),e.escape=y;function g(v){return v.replace(o,h)}s(g,"escapeUTF8"),e.escapeUTF8=g;function b(v){return function(S){return S.replace(m,function(T){return v[T]||h(T)})}}s(b,"getASCIIEncoder")}),_W=A(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.decodeXMLStrict=e.decodeHTML5Strict=e.decodeHTML4Strict=e.decodeHTML5=e.decodeHTML4=e.decodeHTMLStrict=e.decodeHTML=e.decodeXML=e.encodeHTML5=e.encodeHTML4=e.escapeUTF8=e.escape=e.encodeNonAsciiHTML=e.encodeHTML=e.encodeXML=e.encode=e.decodeStrict=e.decode=void 0;var t=sx(),r=lx();function n(u,c){return(!c||c<=0?t.decodeXML:t.decodeHTML)(u)}s(n,"decode"),e.decode=n;function o(u,c){return(!c||c<=0?t.decodeXML:t.decodeHTMLStrict)(u)}s(o,"decodeStrict"),e.decodeStrict=o;function i(u,c){return(!c||c<=0?r.encodeXML:r.encodeHTML)(u)}s(i,"encode"),e.encode=i;var a=lx();Object.defineProperty(e,"encodeXML",{enumerable:!0,get:s(function(){return a.encodeXML},"get")}),Object.defineProperty(e,"encodeHTML",{enumerable:!0,get:s(function(){return a.encodeHTML},"get")}),Object.defineProperty(e,"encodeNonAsciiHTML",{enumerable:!0,get:s(function(){return a.encodeNonAsciiHTML},"get")}),Object.defineProperty(e,"escape",{enumerable:!0,get:s(function(){return a.escape},"get")}),Object.defineProperty(e,"escapeUTF8",{enumerable:!0,get:s(function(){return a.escapeUTF8},"get")}),Object.defineProperty(e,"encodeHTML4",{enumerable:!0,get:s(function(){return a.encodeHTML},"get")}),Object.defineProperty(e,"encodeHTML5",{enumerable:!0,get:s(function(){return a.encodeHTML},"get")});var l=sx();Object.defineProperty(e,"decodeXML",{enumerable:!0,get:s(function(){return l.decodeXML},"get")}),Object.defineProperty(e,"decodeHTML",{enumerable:!0,get:s(function(){return l.decodeHTML},"get")}),Object.defineProperty(e,"decodeHTMLStrict",{enumerable:!0,get:s(function(){return l.decodeHTMLStrict},"get")}),Object.defineProperty(e,"decodeHTML4",{enumerable:!0,get:s(function(){return l.decodeHTML},"get")}),Object.defineProperty(e,"decodeHTML5",{enumerable:!0,get:s(function(){return l.decodeHTML},"get")}),Object.defineProperty(e,"decodeHTML4Strict",{enumerable:!0,get:s(function(){return l.decodeHTMLStrict},"get")}),Object.defineProperty(e,"decodeHTML5Strict",{enumerable:!0,get:s(function(){return l.decodeHTMLStrict},"get")}),Object.defineProperty(e,"decodeXMLStrict",{enumerable:!0,get:s(function(){return l.decodeXML},"get")})}),PW=A((e,t)=>{function r(O,k){if(!(O instanceof k))throw new TypeError("Cannot call a class as a function")}s(r,"_classCallCheck");function n(O,k){for(var M=0;M<k.length;M++){var G=k[M];G.enumerable=G.enumerable||!1,G.configurable=!0,"value"in G&&(G.writable=!0),Object.defineProperty(O,G.key,G)}}s(n,"_defineProperties");function o(O,k,M){return k&&n(O.prototype,k),M&&n(O,M),O}s(o,"_createClass");function i(O,k){var M=typeof Symbol<"u"&&O[Symbol.iterator]||O["@@iterator"];if(!M){if(Array.isArray(O)||(M=a(O))||k&&O&&typeof O.length=="number"){M&&(O=M);var G=0,V=s(function(){},"F");return{s:V,n:s(function(){return G>=O.length?{done:!0}:{done:!1,value:O[G++]}},"n"),e:s(function(Y){throw Y},"e"),f:V}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
29
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var oe=!0,fe=!1,te;return{s:s(function(){M=M.call(O)},"s"),n:s(function(){var Y=M.next();return oe=Y.done,Y},"n"),e:s(function(Y){fe=!0,te=Y},"e"),f:s(function(){try{!oe&&M.return!=null&&M.return()}finally{if(fe)throw te}},"f")}}s(i,"_createForOfIteratorHelper");function a(O,k){if(O){if(typeof O=="string")return l(O,k);var M=Object.prototype.toString.call(O).slice(8,-1);if(M==="Object"&&O.constructor&&(M=O.constructor.name),M==="Map"||M==="Set")return Array.from(O);if(M==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(M))return l(O,k)}}s(a,"_unsupportedIterableToArray");function l(O,k){(k==null||k>O.length)&&(k=O.length);for(var M=0,G=new Array(k);M<k;M++)G[M]=O[M];return G}s(l,"_arrayLikeToArray");var u=_W(),c={fg:"#FFF",bg:"#000",newline:!1,escapeXML:!1,stream:!1,colors:d()};function d(){var O={0:"#000",1:"#A00",2:"#0A0",3:"#A50",4:"#00A",5:"#A0A",6:"#0AA",7:"#AAA",8:"#555",9:"#F55",10:"#5F5",11:"#FF5",12:"#55F",13:"#F5F",14:"#5FF",15:"#FFF"};return v(0,5).forEach(function(k){v(0,5).forEach(function(M){v(0,5).forEach(function(G){return p(k,M,G,O)})})}),v(0,23).forEach(function(k){var M=k+232,G=h(k*10+8);O[M]="#"+G+G+G}),O}s(d,"getDefaultColors");function p(O,k,M,G){var V=16+O*36+k*6+M,oe=O>0?O*40+55:0,fe=k>0?k*40+55:0,te=M>0?M*40+55:0;G[V]=f([oe,fe,te])}s(p,"setStyleColor");function h(O){for(var k=O.toString(16);k.length<2;)k="0"+k;return k}s(h,"toHexString");function f(O){var k=[],M=i(O),G;try{for(M.s();!(G=M.n()).done;){var V=G.value;k.push(h(V))}}catch(oe){M.e(oe)}finally{M.f()}return"#"+k.join("")}s(f,"toColorHexString");function m(O,k,M,G){var V;return k==="text"?V=P(M,G):k==="display"?V=g(O,M,G):k==="xterm256Foreground"?V=E(O,G.colors[M]):k==="xterm256Background"?V=_(O,G.colors[M]):k==="rgb"&&(V=y(O,M)),V}s(m,"generateOutput");function y(O,k){k=k.substring(2).slice(0,-1);var M=+k.substr(0,2),G=k.substring(5).split(";"),V=G.map(function(oe){return("0"+Number(oe).toString(16)).substr(-2)}).join("");return w(O,(M===38?"color:#":"background-color:#")+V)}s(y,"handleRgb");function g(O,k,M){k=parseInt(k,10);var G={"-1":s(function(){return"<br/>"},"_"),0:s(function(){return O.length&&b(O)},"_"),1:s(function(){return C(O,"b")},"_"),3:s(function(){return C(O,"i")},"_"),4:s(function(){return C(O,"u")},"_"),8:s(function(){return w(O,"display:none")},"_"),9:s(function(){return C(O,"strike")},"_"),22:s(function(){return w(O,"font-weight:normal;text-decoration:none;font-style:normal")},"_"),23:s(function(){return R(O,"i")},"_"),24:s(function(){return R(O,"u")},"_"),39:s(function(){return E(O,M.fg)},"_"),49:s(function(){return _(O,M.bg)},"_"),53:s(function(){return w(O,"text-decoration:overline")},"_")},V;return G[k]?V=G[k]():4<k&&k<7?V=C(O,"blink"):29<k&&k<38?V=E(O,M.colors[k-30]):39<k&&k<48?V=_(O,M.colors[k-40]):89<k&&k<98?V=E(O,M.colors[8+(k-90)]):99<k&&k<108&&(V=_(O,M.colors[8+(k-100)])),V}s(g,"handleDisplay");function b(O){var k=O.slice(0);return O.length=0,k.reverse().map(function(M){return"</"+M+">"}).join("")}s(b,"resetStyles");function v(O,k){for(var M=[],G=O;G<=k;G++)M.push(G);return M}s(v,"range");function S(O){return function(k){return(O===null||k.category!==O)&&O!=="all"}}s(S,"notCategory");function T(O){O=parseInt(O,10);var k=null;return O===0?k="all":O===1?k="bold":2<O&&O<5?k="underline":4<O&&O<7?k="blink":O===8?k="hide":O===9?k="strike":29<O&&O<38||O===39||89<O&&O<98?k="foreground-color":(39<O&&O<48||O===49||99<O&&O<108)&&(k="background-color"),k}s(T,"categoryForCode");function P(O,k){return k.escapeXML?u.encodeXML(O):O}s(P,"pushText");function C(O,k,M){return M||(M=""),O.push(k),"<".concat(k).concat(M?' style="'.concat(M,'"'):"",">")}s(C,"pushTag");function w(O,k){return C(O,"span",k)}s(w,"pushStyle");function E(O,k){return C(O,"span","color:"+k)}s(E,"pushForegroundColor");function _(O,k){return C(O,"span","background-color:"+k)}s(_,"pushBackgroundColor");function R(O,k){var M;if(O.slice(-1)[0]===k&&(M=O.pop()),M)return"</"+k+">"}s(R,"closeTag");function N(O,k,M){var G=!1,V=3;function oe(){return""}s(oe,"remove");function fe(J,ee){return M("xterm256Foreground",ee),""}s(fe,"removeXterm256Foreground");function te(J,ee){return M("xterm256Background",ee),""}s(te,"removeXterm256Background");function Y(J){return k.newline?M("display",-1):M("text",J),""}s(Y,"newline");function Q(J,ee){G=!0,ee.trim().length===0&&(ee="0"),ee=ee.trimRight(";").split(";");var Z=i(ee),ne;try{for(Z.s();!(ne=Z.n()).done;){var se=ne.value;M("display",se)}}catch(le){Z.e(le)}finally{Z.f()}return""}s(Q,"ansiMess");function re(J){return M("text",J),""}s(re,"realText");function ce(J){return M("rgb",J),""}s(ce,"rgb");var ie=[{pattern:/^\x08+/,sub:oe},{pattern:/^\x1b\[[012]?K/,sub:oe},{pattern:/^\x1b\[\(B/,sub:oe},{pattern:/^\x1b\[[34]8;2;\d+;\d+;\d+m/,sub:ce},{pattern:/^\x1b\[38;5;(\d+)m/,sub:fe},{pattern:/^\x1b\[48;5;(\d+)m/,sub:te},{pattern:/^\n/,sub:Y},{pattern:/^\r+\n/,sub:Y},{pattern:/^\r/,sub:Y},{pattern:/^\x1b\[((?:\d{1,3};?)+|)m/,sub:Q},{pattern:/^\x1b\[\d?J/,sub:oe},{pattern:/^\x1b\[\d{0,3};\d{0,3}f/,sub:oe},{pattern:/^\x1b\[?[\d;]{0,3}/,sub:oe},{pattern:/^(([^\x1b\x08\r\n])+)/,sub:re}];function be(J,ee){ee>V&&G||(G=!1,O=O.replace(J.pattern,J.sub))}s(be,"process");var we=[],Ye=O,We=Ye.length;e:for(;We>0;){for(var H=0,de=0,$=ie.length;de<$;H=++de){var U=ie[H];if(be(U,H),O.length!==We){We=O.length;continue e}}if(O.length===We)break;we.push(0),We=O.length}return we}s(N,"tokenize");function q(O,k,M){return k!=="text"&&(O=O.filter(S(T(M))),O.push({token:k,data:M,category:T(M)})),O}s(q,"updateStickyStack");var L=function(){function O(k){r(this,O),k=k||{},k.colors&&(k.colors=Object.assign({},c.colors,k.colors)),this.options=Object.assign({},c,k),this.stack=[],this.stickyStack=[]}return s(O,"Filter"),o(O,[{key:"toHtml",value:s(function(k){var M=this;k=typeof k=="string"?[k]:k;var G=this.stack,V=this.options,oe=[];return this.stickyStack.forEach(function(fe){var te=m(G,fe.token,fe.data,V);te&&oe.push(te)}),N(k.join(""),V,function(fe,te){var Y=m(G,fe,te,V);Y&&oe.push(Y),V.stream&&(M.stickyStack=q(M.stickyStack,fe,te))}),G.length&&oe.push(b(G)),oe.join("")},"toHtml")}]),O}();t.exports=L}),OW=A((e,t)=>{(function(r,n){typeof e=="object"&&typeof t<"u"?t.exports=n():typeof define=="function"&&define.amd?define(n):(r=typeof globalThis<"u"?globalThis:r||self).BrowserDetector=n()})(e,function(){function r(u,c){for(var d=0;d<c.length;d++){var p=c[d];p.enumerable=p.enumerable||!1,p.configurable=!0,"value"in p&&(p.writable=!0),Object.defineProperty(u,(h=p.key,f=void 0,typeof(f=function(m,y){if(typeof m!="object"||m===null)return m;var g=m[Symbol.toPrimitive];if(g!==void 0){var b=g.call(m,y);if(typeof b!="object")return b;throw new TypeError("@@toPrimitive must return a primitive value.")}return(y==="string"?String:Number)(m)}(h,"string"))=="symbol"?f:String(f)),p)}var h,f}s(r,"e");var n={chrome:"Google Chrome",brave:"Brave",crios:"Google Chrome",edge:"Microsoft Edge",edg:"Microsoft Edge",edgios:"Microsoft Edge",fennec:"Mozilla Firefox",jsdom:"JsDOM",mozilla:"Mozilla Firefox",fxios:"Mozilla Firefox",msie:"Microsoft Internet Explorer",opera:"Opera",opios:"Opera",opr:"Opera",opt:"Opera",rv:"Microsoft Internet Explorer",safari:"Safari",samsungbrowser:"Samsung Browser",electron:"Electron"},o={android:"Android",androidTablet:"Android Tablet",cros:"Chrome OS",fennec:"Android Tablet",ipad:"IPad",iphone:"IPhone",jsdom:"JsDOM",linux:"Linux",mac:"Macintosh",tablet:"Android Tablet",win:"Windows","windows phone":"Windows Phone",xbox:"Microsoft Xbox"},i=s(function(u){var c=new RegExp("^-?\\d+(?:.\\d{0,".concat(arguments.length>1&&arguments[1]!==void 0?arguments[1]:-1,"})?")),d=Number(u).toString().match(c);return d?d[0]:null},"n"),a=s(function(){return typeof window<"u"?window.navigator:null},"i"),l=function(){function u(h){var f;(function(m,y){if(!(m instanceof y))throw new TypeError("Cannot call a class as a function")})(this,u),this.userAgent=h||((f=a())===null||f===void 0?void 0:f.userAgent)||null}s(u,"t");var c,d,p;return c=u,d=[{key:"parseUserAgent",value:s(function(h){var f,m,y,g={},b=h||this.userAgent||"",v=b.toLowerCase().replace(/\s\s+/g," "),S=/(edge)\/([\w.]+)/.exec(v)||/(edg)[/]([\w.]+)/.exec(v)||/(opr)[/]([\w.]+)/.exec(v)||/(opt)[/]([\w.]+)/.exec(v)||/(fxios)[/]([\w.]+)/.exec(v)||/(edgios)[/]([\w.]+)/.exec(v)||/(jsdom)[/]([\w.]+)/.exec(v)||/(samsungbrowser)[/]([\w.]+)/.exec(v)||/(electron)[/]([\w.]+)/.exec(v)||/(chrome)[/]([\w.]+)/.exec(v)||/(crios)[/]([\w.]+)/.exec(v)||/(opios)[/]([\w.]+)/.exec(v)||/(version)(applewebkit)[/]([\w.]+).*(safari)[/]([\w.]+)/.exec(v)||/(webkit)[/]([\w.]+).*(version)[/]([\w.]+).*(safari)[/]([\w.]+)/.exec(v)||/(applewebkit)[/]([\w.]+).*(safari)[/]([\w.]+)/.exec(v)||/(webkit)[/]([\w.]+)/.exec(v)||/(opera)(?:.*version|)[/]([\w.]+)/.exec(v)||/(msie) ([\w.]+)/.exec(v)||/(fennec)[/]([\w.]+)/.exec(v)||v.indexOf("trident")>=0&&/(rv)(?::| )([\w.]+)/.exec(v)||v.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(v)||[],T=/(ipad)/.exec(v)||/(ipod)/.exec(v)||/(iphone)/.exec(v)||/(jsdom)/.exec(v)||/(windows phone)/.exec(v)||/(xbox)/.exec(v)||/(win)/.exec(v)||/(tablet)/.exec(v)||/(android)/.test(v)&&/(mobile)/.test(v)===!1&&["androidTablet"]||/(android)/.exec(v)||/(mac)/.exec(v)||/(linux)/.exec(v)||/(cros)/.exec(v)||[],P=S[5]||S[3]||S[1]||null,C=T[0]||null,w=S[4]||S[2]||null,E=a();P==="chrome"&&typeof(E==null||(f=E.brave)===null||f===void 0?void 0:f.isBrave)=="function"&&(P="brave"),P&&(g[P]=!0),C&&(g[C]=!0);var _=!!(g.tablet||g.android||g.androidTablet),R=!!(g.ipad||g.tablet||g.androidTablet),N=!!(g.android||g.androidTablet||g.tablet||g.ipad||g.ipod||g.iphone||g["windows phone"]),q=!!(g.cros||g.mac||g.linux||g.win),L=!!(g.brave||g.chrome||g.crios||g.opr||g.safari||g.edg||g.electron),O=!!(g.msie||g.rv);return{name:(m=n[P])!==null&&m!==void 0?m:null,platform:(y=o[C])!==null&&y!==void 0?y:null,userAgent:b,version:w,shortVersion:w?i(parseFloat(w),2):null,isAndroid:_,isTablet:R,isMobile:N,isDesktop:q,isWebkit:L,isIE:O}},"value")},{key:"getBrowserInfo",value:s(function(){var h=this.parseUserAgent();return{name:h.name,platform:h.platform,userAgent:h.userAgent,version:h.version,shortVersion:h.shortVersion}},"value")}],p=[{key:"VERSION",get:s(function(){return"3.4.0"},"get")}],d&&r(c.prototype,d),p&&r(c,p),Object.defineProperty(c,"prototype",{writable:!1}),u}();return l})}),mb={};fr(mb,{ARGTYPES_INFO_REQUEST:()=>wP,ARGTYPES_INFO_RESPONSE:()=>Sm,CHANNEL_CREATED:()=>RW,CHANNEL_WS_DISCONNECT:()=>rP,CONFIG_ERROR:()=>nP,CREATE_NEW_STORYFILE_REQUEST:()=>NW,CREATE_NEW_STORYFILE_RESPONSE:()=>IW,CURRENT_STORY_WAS_SET:()=>vm,DOCS_PREPARED:()=>oP,DOCS_RENDERED:()=>gb,FILE_COMPONENT_SEARCH_REQUEST:()=>kW,FILE_COMPONENT_SEARCH_RESPONSE:()=>MW,FORCE_REMOUNT:()=>Hc,FORCE_RE_RENDER:()=>bb,GLOBALS_UPDATED:()=>Pl,NAVIGATE_URL:()=>qW,PLAY_FUNCTION_THREW_EXCEPTION:()=>iP,PRELOAD_ENTRIES:()=>sP,PREVIEW_BUILDER_PROGRESS:()=>jW,PREVIEW_KEYDOWN:()=>lP,REGISTER_SUBSCRIPTION:()=>$W,REQUEST_WHATS_NEW_DATA:()=>GW,RESET_STORY_ARGS:()=>vb,RESULT_WHATS_NEW_DATA:()=>KW,SAVE_STORY_REQUEST:()=>QW,SAVE_STORY_RESPONSE:()=>ZW,SELECT_STORY:()=>LW,SET_CONFIG:()=>FW,SET_CURRENT_STORY:()=>wb,SET_FILTER:()=>DW,SET_GLOBALS:()=>uP,SET_INDEX:()=>BW,SET_STORIES:()=>UW,SET_WHATS_NEW_CACHE:()=>YW,SHARED_STATE_CHANGED:()=>HW,SHARED_STATE_SET:()=>VW,STORIES_COLLAPSE_ALL:()=>JW,STORIES_EXPAND_ALL:()=>zW,STORY_ARGS_UPDATED:()=>cP,STORY_CHANGED:()=>dP,STORY_ERRORED:()=>pP,STORY_FINISHED:()=>Em,STORY_HOT_UPDATED:()=>WW,STORY_INDEX_INVALIDATED:()=>fP,STORY_MISSING:()=>wm,STORY_PREPARED:()=>hP,STORY_RENDERED:()=>Vc,STORY_RENDER_PHASE_CHANGED:()=>Oi,STORY_SPECIFIED:()=>mP,STORY_THREW_EXCEPTION:()=>yP,STORY_UNCHANGED:()=>gP,TELEMETRY_ERROR:()=>vP,TOGGLE_WHATS_NEW_NOTIFICATIONS:()=>XW,UNHANDLED_ERRORS_WHILE_PLAYING:()=>aP,UPDATE_GLOBALS:()=>Eb,UPDATE_QUERY_PARAMS:()=>bP,UPDATE_STORY_ARGS:()=>Sb,default:()=>AW});var yb=(e=>(e.CHANNEL_WS_DISCONNECT="channelWSDisconnect",e.CHANNEL_CREATED="channelCreated",e.CONFIG_ERROR="configError",e.STORY_INDEX_INVALIDATED="storyIndexInvalidated",e.STORY_SPECIFIED="storySpecified",e.SET_CONFIG="setConfig",e.SET_STORIES="setStories",e.SET_INDEX="setIndex",e.SET_CURRENT_STORY="setCurrentStory",e.CURRENT_STORY_WAS_SET="currentStoryWasSet",e.FORCE_RE_RENDER="forceReRender",e.FORCE_REMOUNT="forceRemount",e.PRELOAD_ENTRIES="preloadStories",e.STORY_PREPARED="storyPrepared",e.DOCS_PREPARED="docsPrepared",e.STORY_CHANGED="storyChanged",e.STORY_UNCHANGED="storyUnchanged",e.STORY_RENDERED="storyRendered",e.STORY_FINISHED="storyFinished",e.STORY_MISSING="storyMissing",e.STORY_ERRORED="storyErrored",e.STORY_THREW_EXCEPTION="storyThrewException",e.STORY_RENDER_PHASE_CHANGED="storyRenderPhaseChanged",e.STORY_HOT_UPDATED="storyHotUpdated",e.PLAY_FUNCTION_THREW_EXCEPTION="playFunctionThrewException",e.UNHANDLED_ERRORS_WHILE_PLAYING="unhandledErrorsWhilePlaying",e.UPDATE_STORY_ARGS="updateStoryArgs",e.STORY_ARGS_UPDATED="storyArgsUpdated",e.RESET_STORY_ARGS="resetStoryArgs",e.SET_FILTER="setFilter",e.SET_GLOBALS="setGlobals",e.UPDATE_GLOBALS="updateGlobals",e.GLOBALS_UPDATED="globalsUpdated",e.REGISTER_SUBSCRIPTION="registerSubscription",e.PREVIEW_KEYDOWN="previewKeydown",e.PREVIEW_BUILDER_PROGRESS="preview_builder_progress",e.SELECT_STORY="selectStory",e.STORIES_COLLAPSE_ALL="storiesCollapseAll",e.STORIES_EXPAND_ALL="storiesExpandAll",e.DOCS_RENDERED="docsRendered",e.SHARED_STATE_CHANGED="sharedStateChanged",e.SHARED_STATE_SET="sharedStateSet",e.NAVIGATE_URL="navigateUrl",e.UPDATE_QUERY_PARAMS="updateQueryParams",e.REQUEST_WHATS_NEW_DATA="requestWhatsNewData",e.RESULT_WHATS_NEW_DATA="resultWhatsNewData",e.SET_WHATS_NEW_CACHE="setWhatsNewCache",e.TOGGLE_WHATS_NEW_NOTIFICATIONS="toggleWhatsNewNotifications",e.TELEMETRY_ERROR="telemetryError",e.FILE_COMPONENT_SEARCH_REQUEST="fileComponentSearchRequest",e.FILE_COMPONENT_SEARCH_RESPONSE="fileComponentSearchResponse",e.SAVE_STORY_REQUEST="saveStoryRequest",e.SAVE_STORY_RESPONSE="saveStoryResponse",e.ARGTYPES_INFO_REQUEST="argtypesInfoRequest",e.ARGTYPES_INFO_RESPONSE="argtypesInfoResponse",e.CREATE_NEW_STORYFILE_REQUEST="createNewStoryfileRequest",e.CREATE_NEW_STORYFILE_RESPONSE="createNewStoryfileResponse",e))(yb||{}),AW=yb,{CHANNEL_WS_DISCONNECT:rP,CHANNEL_CREATED:RW,CONFIG_ERROR:nP,CREATE_NEW_STORYFILE_REQUEST:NW,CREATE_NEW_STORYFILE_RESPONSE:IW,CURRENT_STORY_WAS_SET:vm,DOCS_PREPARED:oP,DOCS_RENDERED:gb,FILE_COMPONENT_SEARCH_REQUEST:kW,FILE_COMPONENT_SEARCH_RESPONSE:MW,FORCE_RE_RENDER:bb,FORCE_REMOUNT:Hc,GLOBALS_UPDATED:Pl,NAVIGATE_URL:qW,PLAY_FUNCTION_THREW_EXCEPTION:iP,UNHANDLED_ERRORS_WHILE_PLAYING:aP,PRELOAD_ENTRIES:sP,PREVIEW_BUILDER_PROGRESS:jW,PREVIEW_KEYDOWN:lP,REGISTER_SUBSCRIPTION:$W,RESET_STORY_ARGS:vb,SELECT_STORY:LW,SET_CONFIG:FW,SET_CURRENT_STORY:wb,SET_FILTER:DW,SET_GLOBALS:uP,SET_INDEX:BW,SET_STORIES:UW,SHARED_STATE_CHANGED:HW,SHARED_STATE_SET:VW,STORIES_COLLAPSE_ALL:JW,STORIES_EXPAND_ALL:zW,STORY_ARGS_UPDATED:cP,STORY_CHANGED:dP,STORY_ERRORED:pP,STORY_INDEX_INVALIDATED:fP,STORY_MISSING:wm,STORY_PREPARED:hP,STORY_RENDER_PHASE_CHANGED:Oi,STORY_RENDERED:Vc,STORY_FINISHED:Em,STORY_SPECIFIED:mP,STORY_THREW_EXCEPTION:yP,STORY_UNCHANGED:gP,STORY_HOT_UPDATED:WW,UPDATE_GLOBALS:Eb,UPDATE_QUERY_PARAMS:bP,UPDATE_STORY_ARGS:Sb,REQUEST_WHATS_NEW_DATA:GW,RESULT_WHATS_NEW_DATA:KW,SET_WHATS_NEW_CACHE:YW,TOGGLE_WHATS_NEW_NOTIFICATIONS:XW,TELEMETRY_ERROR:vP,SAVE_STORY_REQUEST:QW,SAVE_STORY_RESPONSE:ZW,ARGTYPES_INFO_REQUEST:wP,ARGTYPES_INFO_RESPONSE:Sm}=yb,EP={};fr(EP,{global:()=>me});var me=(()=>{let e;return typeof window<"u"?e=window:typeof globalThis<"u"?e=globalThis:typeof global<"u"?e=global:typeof self<"u"?e=self:e={},e})(),SP={"@storybook/global":"__STORYBOOK_MODULE_GLOBAL__","storybook/test":"__STORYBOOK_MODULE_TEST__","storybook/actions":"__STORYBOOK_MODULE_ACTIONS__","storybook/preview-api":"__STORYBOOK_MODULE_PREVIEW_API__","storybook/internal/channels":"__STORYBOOK_MODULE_CHANNELS__","storybook/internal/client-logger":"__STORYBOOK_MODULE_CLIENT_LOGGER__","storybook/internal/core-events":"__STORYBOOK_MODULE_CORE_EVENTS__","storybook/internal/preview-errors":"__STORYBOOK_MODULE_CORE_EVENTS_PREVIEW_ERRORS__","storybook/internal/types":"__STORYBOOK_MODULE_TYPES__","storybook/internal/preview-api":"__STORYBOOK_MODULE_PREVIEW_API__"},eG=Object.keys(SP),xP={};fr(xP,{Channel:()=>xp,HEARTBEAT_INTERVAL:()=>MO,HEARTBEAT_MAX_LATENCY:()=>qO,PostMessageTransport:()=>kO,WebsocketTransport:()=>$O,createBrowserChannel:()=>LO,default:()=>_K});function Ie(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(d){var p,h;return(h=(p=d.match(/[\t ]/g))===null||p===void 0?void 0:p.length)!==null&&h!==void 0?h:0})):l},[]);if(o.length){var i=new RegExp(`
|
|
30
|
-
[ ]{`+Math.min.apply(Math,o)+"}","g");n=n.map(function(l){return l.replace(i,`
|
|
31
|
-
`)})}n[0]=n[0].replace(/^\r?\n/,"");var a=n[0];return t.forEach(function(l,u){var c=a.match(/(?:^|\n)( *)$/),d=c?c[1]:"",p=l;typeof l=="string"&&l.includes(`
|
|
32
|
-
`)&&(p=String(l).split(`
|
|
33
|
-
`).map(function(h,f){return f===0?h:""+d+h}).join(`
|
|
34
|
-
`)),a+=p+n[u+1]}),a}s(Ie,"dedent");var tG=Ie,ux=new Map,rG="UNIVERSAL_STORE:",$r={PENDING:"PENDING",RESOLVED:"RESOLVED",REJECTED:"REJECTED"},vo=class Ce{constructor(t,r){if(this.debugging=!1,this.listeners=new Map([["*",new Set]]),this.getState=s(()=>(this.debug("getState",{state:this.state}),this.state),"getState"),this.subscribe=s((n,o)=>{let i=typeof n=="function",a=i?"*":n,l=i?n:o;if(this.debug("subscribe",{eventType:a,listener:l}),!l)throw new TypeError(`Missing first subscribe argument, or second if first is the event type, when subscribing to a UniversalStore with id '${this.id}'`);return this.listeners.has(a)||this.listeners.set(a,new Set),this.listeners.get(a).add(l),()=>{var u;this.debug("unsubscribe",{eventType:a,listener:l}),this.listeners.has(a)&&(this.listeners.get(a).delete(l),((u=this.listeners.get(a))==null?void 0:u.size)===0&&this.listeners.delete(a))}},"subscribe"),this.send=s(n=>{if(this.debug("send",{event:n}),this.status!==Ce.Status.READY)throw new TypeError(Ie`Cannot send event before store is ready. You can get the current status with store.status,
|
|
35
|
-
or await store.readyPromise to wait for the store to be ready before sending events.
|
|
36
|
-
${JSON.stringify({event:n,id:this.id,actor:this.actor,environment:this.environment},null,2)}`);this.emitToListeners(n,{actor:this.actor}),this.emitToChannel(n,{actor:this.actor})},"send"),this.debugging=t.debug??!1,!Ce.isInternalConstructing)throw new TypeError("UniversalStore is not constructable - use UniversalStore.create() instead");if(Ce.isInternalConstructing=!1,this.id=t.id,this.actorId=Date.now().toString(36)+Math.random().toString(36).substring(2),this.actorType=t.leader?Ce.ActorType.LEADER:Ce.ActorType.FOLLOWER,this.state=t.initialState,this.channelEventName=`${rG}${this.id}`,this.debug("constructor",{options:t,environmentOverrides:r,channelEventName:this.channelEventName}),this.actor.type===Ce.ActorType.LEADER)this.syncing={state:$r.RESOLVED,promise:Promise.resolve()};else{let n,o,i=new Promise((a,l)=>{n=s(()=>{this.syncing.state===$r.PENDING&&(this.syncing.state=$r.RESOLVED,a())},"syncingResolve"),o=s(u=>{this.syncing.state===$r.PENDING&&(this.syncing.state=$r.REJECTED,l(u))},"syncingReject")});this.syncing={state:$r.PENDING,promise:i,resolve:n,reject:o}}this.getState=this.getState.bind(this),this.setState=this.setState.bind(this),this.subscribe=this.subscribe.bind(this),this.onStateChange=this.onStateChange.bind(this),this.send=this.send.bind(this),this.emitToChannel=this.emitToChannel.bind(this),this.prepareThis=this.prepareThis.bind(this),this.emitToListeners=this.emitToListeners.bind(this),this.handleChannelEvents=this.handleChannelEvents.bind(this),this.debug=this.debug.bind(this),this.channel=(r==null?void 0:r.channel)??Ce.preparation.channel,this.environment=(r==null?void 0:r.environment)??Ce.preparation.environment,this.channel&&this.environment?(Ce.preparation.resolve({channel:this.channel,environment:this.environment}),this.prepareThis({channel:this.channel,environment:this.environment})):Ce.preparation.promise.then(this.prepareThis)}static setupPreparationPromise(){let t,r,n=new Promise((o,i)=>{t=s(a=>{o(a)},"resolveRef"),r=s((...a)=>{i(a)},"rejectRef")});Ce.preparation={resolve:t,reject:r,promise:n}}get actor(){return Object.freeze({id:this.actorId,type:this.actorType,environment:this.environment??Ce.Environment.UNKNOWN})}get status(){var t;if(!this.channel||!this.environment)return Ce.Status.UNPREPARED;switch((t=this.syncing)==null?void 0:t.state){case $r.PENDING:case void 0:return Ce.Status.SYNCING;case $r.REJECTED:return Ce.Status.ERROR;case $r.RESOLVED:default:return Ce.Status.READY}}untilReady(){var t;return Promise.all([Ce.preparation.promise,(t=this.syncing)==null?void 0:t.promise])}static create(t){if(!t||typeof(t==null?void 0:t.id)!="string")throw new TypeError("id is required and must be a string, when creating a UniversalStore");t.debug&&console.debug(Ie`[UniversalStore]
|
|
37
|
-
create`,{options:t});let r=ux.get(t.id);if(r)return console.warn(Ie`UniversalStore with id "${t.id}" already exists in this environment, re-using existing.
|
|
38
|
-
You should reuse the existing instance instead of trying to create a new one.`),r;Ce.isInternalConstructing=!0;let n=new Ce(t);return ux.set(t.id,n),n}static __prepare(t,r){Ce.preparation.channel=t,Ce.preparation.environment=r,Ce.preparation.resolve({channel:t,environment:r})}setState(t){let r=this.state,n=typeof t=="function"?t(r):t;if(this.debug("setState",{newState:n,previousState:r,updater:t}),this.status!==Ce.Status.READY)throw new TypeError(Ie`Cannot set state before store is ready. You can get the current status with store.status,
|
|
39
|
-
or await store.readyPromise to wait for the store to be ready before sending events.
|
|
40
|
-
${JSON.stringify({newState:n,id:this.id,actor:this.actor,environment:this.environment},null,2)}`);this.state=n;let o={type:Ce.InternalEventType.SET_STATE,payload:{state:n,previousState:r}};this.emitToChannel(o,{actor:this.actor}),this.emitToListeners(o,{actor:this.actor})}onStateChange(t){return this.debug("onStateChange",{listener:t}),this.subscribe(Ce.InternalEventType.SET_STATE,({payload:r},n)=>{t(r.state,r.previousState,n)})}emitToChannel(t,r){var n;this.debug("emitToChannel",{event:t,eventInfo:r,channel:!!this.channel}),(n=this.channel)==null||n.emit(this.channelEventName,{event:t,eventInfo:r})}prepareThis({channel:t,environment:r}){this.channel=t,this.environment=r,this.debug("prepared",{channel:!!t,environment:r}),this.channel.on(this.channelEventName,this.handleChannelEvents),this.actor.type===Ce.ActorType.LEADER?this.emitToChannel({type:Ce.InternalEventType.LEADER_CREATED},{actor:this.actor}):(this.emitToChannel({type:Ce.InternalEventType.FOLLOWER_CREATED},{actor:this.actor}),this.emitToChannel({type:Ce.InternalEventType.EXISTING_STATE_REQUEST},{actor:this.actor}),setTimeout(()=>{this.syncing.reject(new TypeError(`No existing state found for follower with id: '${this.id}'. Make sure a leader with the same id exists before creating a follower.`))},1e3))}emitToListeners(t,r){let n=this.listeners.get(t.type),o=this.listeners.get("*");this.debug("emitToListeners",{event:t,eventInfo:r,eventTypeListeners:n,everythingListeners:o}),[...n??[],...o??[]].forEach(i=>i(t,r))}handleChannelEvents(t){var o,i,a,l,u;let{event:r,eventInfo:n}=t;if([n.actor.id,(o=n.forwardingActor)==null?void 0:o.id].includes(this.actor.id)){this.debug("handleChannelEvents: Ignoring event from self",{channelEvent:t});return}else if(((i=this.syncing)==null?void 0:i.state)===$r.PENDING&&r.type!==Ce.InternalEventType.EXISTING_STATE_RESPONSE){this.debug("handleChannelEvents: Ignoring event while syncing",{channelEvent:t});return}if(this.debug("handleChannelEvents",{channelEvent:t}),this.actor.type===Ce.ActorType.LEADER){let c=!0;switch(r.type){case Ce.InternalEventType.EXISTING_STATE_REQUEST:c=!1;let d={type:Ce.InternalEventType.EXISTING_STATE_RESPONSE,payload:this.state};this.debug("handleChannelEvents: responding to existing state request",{responseEvent:d}),this.emitToChannel(d,{actor:this.actor}),this.emitToListeners(d,{actor:this.actor});break;case Ce.InternalEventType.LEADER_CREATED:c=!1,this.syncing.state=$r.REJECTED,this.debug("handleChannelEvents: erroring due to second leader being created",{event:r}),console.error(Ie`Detected multiple UniversalStore leaders created with the same id "${this.id}".
|
|
41
|
-
Only one leader can exists at a time, your stores are now in an invalid state.
|
|
42
|
-
Leaders detected:
|
|
43
|
-
this: ${JSON.stringify(this.actor,null,2)}
|
|
44
|
-
other: ${JSON.stringify(n.actor,null,2)}`);break}c&&(this.debug("handleChannelEvents: forwarding event",{channelEvent:t}),this.emitToChannel(r,{actor:n.actor,forwardingActor:this.actor}))}if(this.actor.type===Ce.ActorType.FOLLOWER)switch(r.type){case Ce.InternalEventType.EXISTING_STATE_RESPONSE:if(this.debug("handleChannelEvents: Setting state from leader's existing state response",{event:r}),((a=this.syncing)==null?void 0:a.state)!==$r.PENDING)break;(u=(l=this.syncing).resolve)==null||u.call(l);let c={type:Ce.InternalEventType.SET_STATE,payload:{state:r.payload,previousState:this.state}};this.state=r.payload,this.emitToListeners(c,n);break}switch(r.type){case Ce.InternalEventType.SET_STATE:this.debug("handleChannelEvents: Setting state",{event:r}),this.state=r.payload.state;break}this.emitToListeners(r,{actor:n.actor})}debug(t,r){this.debugging&&console.debug(Ie`[UniversalStore::${this.id}::${this.environment??Ce.Environment.UNKNOWN}]
|
|
45
|
-
${t}`,JSON.stringify({data:r,actor:this.actor,state:this.state,status:this.status},null,2))}static __reset(){Ce.preparation.reject(new Error("reset")),Ce.setupPreparationPromise(),Ce.isInternalConstructing=!1}};s(vo,"UniversalStore"),vo.ActorType={LEADER:"LEADER",FOLLOWER:"FOLLOWER"},vo.Environment={SERVER:"SERVER",MANAGER:"MANAGER",PREVIEW:"PREVIEW",UNKNOWN:"UNKNOWN",MOCK:"MOCK"},vo.InternalEventType={EXISTING_STATE_REQUEST:"__EXISTING_STATE_REQUEST",EXISTING_STATE_RESPONSE:"__EXISTING_STATE_RESPONSE",SET_STATE:"__SET_STATE",LEADER_CREATED:"__LEADER_CREATED",FOLLOWER_CREATED:"__FOLLOWER_CREATED"},vo.Status={UNPREPARED:"UNPREPARED",SYNCING:"SYNCING",READY:"READY",ERROR:"ERROR"},vo.isInternalConstructing=!1,vo.setupPreparationPromise();var Nh=vo,nG=s(e=>e.transports!==void 0,"isMulti"),oG=s(()=>Math.random().toString(16).slice(2),"generateRandomId"),TP=class{constructor(t={}){this.sender=oG(),this.events={},this.data={},this.transports=[],this.isAsync=t.async||!1,nG(t)?(this.transports=t.transports||[],this.transports.forEach(r=>{r.setHandler(n=>this.handleEvent(n))})):this.transports=t.transport?[t.transport]:[],this.transports.forEach(r=>{r.setHandler(n=>this.handleEvent(n))})}get hasTransport(){return this.transports.length>0}addListener(t,r){this.events[t]=this.events[t]||[],this.events[t].push(r)}emit(t,...r){let n={type:t,args:r,from:this.sender},o={};r.length>=1&&r[0]&&r[0].options&&(o=r[0].options);let i=s(()=>{this.transports.forEach(a=>{a.send(n,o)}),this.handleEvent(n)},"handler");this.isAsync?setImmediate(i):i()}last(t){return this.data[t]}eventNames(){return Object.keys(this.events)}listenerCount(t){let r=this.listeners(t);return r?r.length:0}listeners(t){return this.events[t]||void 0}once(t,r){let n=this.onceListener(t,r);this.addListener(t,n)}removeAllListeners(t){t?this.events[t]&&delete this.events[t]:this.events={}}removeListener(t,r){let n=this.listeners(t);n&&(this.events[t]=n.filter(o=>o!==r))}on(t,r){this.addListener(t,r)}off(t,r){this.removeListener(t,r)}handleEvent(t){let r=this.listeners(t.type);r&&r.length&&r.forEach(n=>{n.apply(t,t.args)}),this.data[t.type]=t.args}onceListener(t,r){let n=s((...o)=>(this.removeListener(t,n),r(...o)),"onceListener");return n}};s(TP,"Channel");var xp=TP,CP={};fr(CP,{deprecate:()=>xb,logger:()=>at,once:()=>St,pretty:()=>Ir});var{LOGLEVEL:iG}=me,To={trace:1,debug:2,info:3,warn:4,error:5,silent:10},aG=iG,na=To[aG]||To.info,at={trace:s((e,...t)=>{na<=To.trace&&console.trace(e,...t)},"trace"),debug:s((e,...t)=>{na<=To.debug&&console.debug(e,...t)},"debug"),info:s((e,...t)=>{na<=To.info&&console.info(e,...t)},"info"),warn:s((e,...t)=>{na<=To.warn&&console.warn(e,...t)},"warn"),error:s((e,...t)=>{na<=To.error&&console.error(e,...t)},"error"),log:s((e,...t)=>{na<To.silent&&console.log(e,...t)},"log")},xm=new Set,St=s(e=>(t,...r)=>{if(!xm.has(t))return xm.add(t),at[e](t,...r)},"once");St.clear=()=>xm.clear();St.trace=St("trace");St.debug=St("debug");St.info=St("info");St.warn=St("warn");St.error=St("error");St.log=St("log");var xb=St("warn"),Ir=s(e=>(...t)=>{let r=[];if(t.length){let n=/<span\s+style=(['"])([^'"]*)\1\s*>/gi,o=/<\/span>/gi,i;for(r.push(t[0].replace(n,"%c").replace(o,"%c"));i=n.exec(t[0]);)r.push(i[2]),r.push("");for(let a=1;a<t.length;a++)r.push(t[a])}at[e].apply(at,r)},"pretty");Ir.trace=Ir("trace");Ir.debug=Ir("debug");Ir.info=Ir("info");Ir.warn=Ir("warn");Ir.error=Ir("error");var sG=Object.create,_P=Object.defineProperty,lG=Object.getOwnPropertyDescriptor,PP=Object.getOwnPropertyNames,uG=Object.getPrototypeOf,cG=Object.prototype.hasOwnProperty,Ne=s((e,t)=>s(function(){return t||(0,e[PP(e)[0]])((t={exports:{}}).exports,t),t.exports},"__require"),"__commonJS"),dG=s((e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of PP(t))!cG.call(e,o)&&o!==r&&_P(e,o,{get:s(()=>t[o],"get"),enumerable:!(n=lG(t,o))||n.enumerable});return e},"__copyProps"),Tb=s((e,t,r)=>(r=e!=null?sG(uG(e)):{},dG(t||!e||!e.__esModule?_P(r,"default",{value:e,enumerable:!0}):r,e)),"__toESM"),pG=["bubbles","cancelBubble","cancelable","composed","currentTarget","defaultPrevented","eventPhase","isTrusted","returnValue","srcElement","target","timeStamp","type"],fG=["detail"];function OP(e){let t=pG.filter(r=>e[r]!==void 0).reduce((r,n)=>(r[n]=e[n],r),{});if(e instanceof CustomEvent)for(let r of fG.filter(n=>e[n]!==void 0))t[r]=e[r];return t}s(OP,"extractEventHiddenProperties");var AP=Ne({"node_modules/.pnpm/es-object-atoms@1.1.1/node_modules/es-object-atoms/index.js"(e,t){t.exports=Object}}),hG=Ne({"node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/index.js"(e,t){t.exports=Error}}),mG=Ne({"node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/eval.js"(e,t){t.exports=EvalError}}),yG=Ne({"node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/range.js"(e,t){t.exports=RangeError}}),gG=Ne({"node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/ref.js"(e,t){t.exports=ReferenceError}}),bG=Ne({"node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/syntax.js"(e,t){t.exports=SyntaxError}}),Cb=Ne({"node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/type.js"(e,t){t.exports=TypeError}}),vG=Ne({"node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/uri.js"(e,t){t.exports=URIError}}),wG=Ne({"node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/abs.js"(e,t){t.exports=Math.abs}}),EG=Ne({"node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/floor.js"(e,t){t.exports=Math.floor}}),SG=Ne({"node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/max.js"(e,t){t.exports=Math.max}}),xG=Ne({"node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/min.js"(e,t){t.exports=Math.min}}),TG=Ne({"node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/pow.js"(e,t){t.exports=Math.pow}}),CG=Ne({"node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/round.js"(e,t){t.exports=Math.round}}),_G=Ne({"node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/isNaN.js"(e,t){t.exports=Number.isNaN||s(function(r){return r!==r},"isNaN2")}}),PG=Ne({"node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/sign.js"(e,t){var r=_G();t.exports=s(function(n){return r(n)||n===0?n:n<0?-1:1},"sign")}}),OG=Ne({"node_modules/.pnpm/gopd@1.2.0/node_modules/gopd/gOPD.js"(e,t){t.exports=Object.getOwnPropertyDescriptor}}),_b=Ne({"node_modules/.pnpm/gopd@1.2.0/node_modules/gopd/index.js"(e,t){var r=OG();if(r)try{r([],"length")}catch{r=null}t.exports=r}}),AG=Ne({"node_modules/.pnpm/es-define-property@1.0.1/node_modules/es-define-property/index.js"(e,t){var r=Object.defineProperty||!1;if(r)try{r({},"a",{value:1})}catch{r=!1}t.exports=r}}),RP=Ne({"node_modules/.pnpm/has-symbols@1.1.0/node_modules/has-symbols/shams.js"(e,t){t.exports=s(function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var r={},n=Symbol("test"),o=Object(n);if(typeof n=="string"||Object.prototype.toString.call(n)!=="[object Symbol]"||Object.prototype.toString.call(o)!=="[object Symbol]")return!1;var i=42;r[n]=i;for(var a in r)return!1;if(typeof Object.keys=="function"&&Object.keys(r).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(r).length!==0)return!1;var l=Object.getOwnPropertySymbols(r);if(l.length!==1||l[0]!==n||!Object.prototype.propertyIsEnumerable.call(r,n))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var u=Object.getOwnPropertyDescriptor(r,n);if(u.value!==i||u.enumerable!==!0)return!1}return!0},"hasSymbols")}}),NP=Ne({"node_modules/.pnpm/has-symbols@1.1.0/node_modules/has-symbols/index.js"(e,t){var r=typeof Symbol<"u"&&Symbol,n=RP();t.exports=s(function(){return typeof r!="function"||typeof Symbol!="function"||typeof r("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:n()},"hasNativeSymbols")}}),IP=Ne({"node_modules/.pnpm/get-proto@1.0.1/node_modules/get-proto/Reflect.getPrototypeOf.js"(e,t){t.exports=typeof Reflect<"u"&&Reflect.getPrototypeOf||null}}),kP=Ne({"node_modules/.pnpm/get-proto@1.0.1/node_modules/get-proto/Object.getPrototypeOf.js"(e,t){var r=AP();t.exports=r.getPrototypeOf||null}}),RG=Ne({"node_modules/.pnpm/function-bind@1.1.2/node_modules/function-bind/implementation.js"(e,t){var r="Function.prototype.bind called on incompatible ",n=Object.prototype.toString,o=Math.max,i="[object Function]",a=s(function(c,d){for(var p=[],h=0;h<c.length;h+=1)p[h]=c[h];for(var f=0;f<d.length;f+=1)p[f+c.length]=d[f];return p},"concatty2"),l=s(function(c,d){for(var p=[],h=d||0,f=0;h<c.length;h+=1,f+=1)p[f]=c[h];return p},"slicy2"),u=s(function(c,d){for(var p="",h=0;h<c.length;h+=1)p+=c[h],h+1<c.length&&(p+=d);return p},"joiny");t.exports=s(function(c){var d=this;if(typeof d!="function"||n.apply(d)!==i)throw new TypeError(r+d);for(var p=l(arguments,1),h,f=s(function(){if(this instanceof h){var v=d.apply(this,a(p,arguments));return Object(v)===v?v:this}return d.apply(c,a(p,arguments))},"binder"),m=o(0,d.length-p.length),y=[],g=0;g<m;g++)y[g]="$"+g;if(h=Function("binder","return function ("+u(y,",")+"){ return binder.apply(this,arguments); }")(f),d.prototype){var b=s(function(){},"Empty2");b.prototype=d.prototype,h.prototype=new b,b.prototype=null}return h},"bind")}}),Tp=Ne({"node_modules/.pnpm/function-bind@1.1.2/node_modules/function-bind/index.js"(e,t){var r=RG();t.exports=Function.prototype.bind||r}}),Pb=Ne({"node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/functionCall.js"(e,t){t.exports=Function.prototype.call}}),MP=Ne({"node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/functionApply.js"(e,t){t.exports=Function.prototype.apply}}),NG=Ne({"node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/reflectApply.js"(e,t){t.exports=typeof Reflect<"u"&&Reflect&&Reflect.apply}}),IG=Ne({"node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/actualApply.js"(e,t){var r=Tp(),n=MP(),o=Pb(),i=NG();t.exports=i||r.call(o,n)}}),qP=Ne({"node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/index.js"(e,t){var r=Tp(),n=Cb(),o=Pb(),i=IG();t.exports=s(function(a){if(a.length<1||typeof a[0]!="function")throw new n("a function is required");return i(r,o,a)},"callBindBasic")}}),kG=Ne({"node_modules/.pnpm/dunder-proto@1.0.1/node_modules/dunder-proto/get.js"(e,t){var r=qP(),n=_b(),o;try{o=[].__proto__===Array.prototype}catch(u){if(!u||typeof u!="object"||!("code"in u)||u.code!=="ERR_PROTO_ACCESS")throw u}var i=!!o&&n&&n(Object.prototype,"__proto__"),a=Object,l=a.getPrototypeOf;t.exports=i&&typeof i.get=="function"?r([i.get]):typeof l=="function"?s(function(u){return l(u==null?u:a(u))},"getDunder"):!1}}),MG=Ne({"node_modules/.pnpm/get-proto@1.0.1/node_modules/get-proto/index.js"(e,t){var r=IP(),n=kP(),o=kG();t.exports=r?s(function(i){return r(i)},"getProto"):n?s(function(i){if(!i||typeof i!="object"&&typeof i!="function")throw new TypeError("getProto: not an object");return n(i)},"getProto"):o?s(function(i){return o(i)},"getProto"):null}}),jP=Ne({"node_modules/.pnpm/hasown@2.0.2/node_modules/hasown/index.js"(e,t){var r=Function.prototype.call,n=Object.prototype.hasOwnProperty,o=Tp();t.exports=o.call(r,n)}}),qG=Ne({"node_modules/.pnpm/get-intrinsic@1.3.0/node_modules/get-intrinsic/index.js"(e,t){var r,n=AP(),o=hG(),i=mG(),a=yG(),l=gG(),u=bG(),c=Cb(),d=vG(),p=wG(),h=EG(),f=SG(),m=xG(),y=TG(),g=CG(),b=PG(),v=Function,S=s(function(H){try{return v('"use strict"; return ('+H+").constructor;")()}catch{}},"getEvalledConstructor"),T=_b(),P=AG(),C=s(function(){throw new c},"throwTypeError"),w=T?function(){try{return arguments.callee,C}catch{try{return T(arguments,"callee").get}catch{return C}}}():C,E=NP()(),_=MG(),R=kP(),N=IP(),q=MP(),L=Pb(),O={},k=typeof Uint8Array>"u"||!_?r:_(Uint8Array),M={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?r:ArrayBuffer,"%ArrayIteratorPrototype%":E&&_?_([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":O,"%AsyncGenerator%":O,"%AsyncGeneratorFunction%":O,"%AsyncIteratorPrototype%":O,"%Atomics%":typeof Atomics>"u"?r:Atomics,"%BigInt%":typeof BigInt>"u"?r:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?r:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?r:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?r:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":o,"%eval%":eval,"%EvalError%":i,"%Float16Array%":typeof Float16Array>"u"?r:Float16Array,"%Float32Array%":typeof Float32Array>"u"?r:Float32Array,"%Float64Array%":typeof Float64Array>"u"?r:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?r:FinalizationRegistry,"%Function%":v,"%GeneratorFunction%":O,"%Int8Array%":typeof Int8Array>"u"?r:Int8Array,"%Int16Array%":typeof Int16Array>"u"?r:Int16Array,"%Int32Array%":typeof Int32Array>"u"?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":E&&_?_(_([][Symbol.iterator]())):r,"%JSON%":typeof JSON=="object"?JSON:r,"%Map%":typeof Map>"u"?r:Map,"%MapIteratorPrototype%":typeof Map>"u"||!E||!_?r:_(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":n,"%Object.getOwnPropertyDescriptor%":T,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?r:Promise,"%Proxy%":typeof Proxy>"u"?r:Proxy,"%RangeError%":a,"%ReferenceError%":l,"%Reflect%":typeof Reflect>"u"?r:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?r:Set,"%SetIteratorPrototype%":typeof Set>"u"||!E||!_?r:_(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":E&&_?_(""[Symbol.iterator]()):r,"%Symbol%":E?Symbol:r,"%SyntaxError%":u,"%ThrowTypeError%":w,"%TypedArray%":k,"%TypeError%":c,"%Uint8Array%":typeof Uint8Array>"u"?r:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?r:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?r:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?r:Uint32Array,"%URIError%":d,"%WeakMap%":typeof WeakMap>"u"?r:WeakMap,"%WeakRef%":typeof WeakRef>"u"?r:WeakRef,"%WeakSet%":typeof WeakSet>"u"?r:WeakSet,"%Function.prototype.call%":L,"%Function.prototype.apply%":q,"%Object.defineProperty%":P,"%Object.getPrototypeOf%":R,"%Math.abs%":p,"%Math.floor%":h,"%Math.max%":f,"%Math.min%":m,"%Math.pow%":y,"%Math.round%":g,"%Math.sign%":b,"%Reflect.getPrototypeOf%":N};if(_)try{null.error}catch(H){G=_(_(H)),M["%Error.prototype%"]=G}var G,V=s(function H(de){var $;if(de==="%AsyncFunction%")$=S("async function () {}");else if(de==="%GeneratorFunction%")$=S("function* () {}");else if(de==="%AsyncGeneratorFunction%")$=S("async function* () {}");else if(de==="%AsyncGenerator%"){var U=H("%AsyncGeneratorFunction%");U&&($=U.prototype)}else if(de==="%AsyncIteratorPrototype%"){var J=H("%AsyncGenerator%");J&&_&&($=_(J.prototype))}return M[de]=$,$},"doEval2"),oe={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},fe=Tp(),te=jP(),Y=fe.call(L,Array.prototype.concat),Q=fe.call(q,Array.prototype.splice),re=fe.call(L,String.prototype.replace),ce=fe.call(L,String.prototype.slice),ie=fe.call(L,RegExp.prototype.exec),be=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,we=/\\(\\)?/g,Ye=s(function(H){var de=ce(H,0,1),$=ce(H,-1);if(de==="%"&&$!=="%")throw new u("invalid intrinsic syntax, expected closing `%`");if($==="%"&&de!=="%")throw new u("invalid intrinsic syntax, expected opening `%`");var U=[];return re(H,be,function(J,ee,Z,ne){U[U.length]=Z?re(ne,we,"$1"):ee||J}),U},"stringToPath3"),We=s(function(H,de){var $=H,U;if(te(oe,$)&&(U=oe[$],$="%"+U[0]+"%"),te(M,$)){var J=M[$];if(J===O&&(J=V($)),typeof J>"u"&&!de)throw new c("intrinsic "+H+" exists, but is not available. Please file an issue!");return{alias:U,name:$,value:J}}throw new u("intrinsic "+H+" does not exist!")},"getBaseIntrinsic2");t.exports=s(function(H,de){if(typeof H!="string"||H.length===0)throw new c("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof de!="boolean")throw new c('"allowMissing" argument must be a boolean');if(ie(/^%?[^%]*%?$/,H)===null)throw new u("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var $=Ye(H),U=$.length>0?$[0]:"",J=We("%"+U+"%",de),ee=J.name,Z=J.value,ne=!1,se=J.alias;se&&(U=se[0],Q($,Y([0,1],se)));for(var le=1,ue=!0;le<$.length;le+=1){var ae=$[le],ve=ce(ae,0,1),pe=ce(ae,-1);if((ve==='"'||ve==="'"||ve==="`"||pe==='"'||pe==="'"||pe==="`")&&ve!==pe)throw new u("property names with quotes must have matching quotes");if((ae==="constructor"||!ue)&&(ne=!0),U+="."+ae,ee="%"+U+"%",te(M,ee))Z=M[ee];else if(Z!=null){if(!(ae in Z)){if(!de)throw new c("base intrinsic for "+H+" exists, but the property is not available.");return}if(T&&le+1>=$.length){var ge=T(Z,ae);ue=!!ge,ue&&"get"in ge&&!("originalValue"in ge.get)?Z=ge.get:Z=Z[ae]}else ue=te(Z,ae),Z=Z[ae];ue&&!ne&&(M[ee]=Z)}}return Z},"GetIntrinsic")}}),Ob=Ne({"node_modules/.pnpm/call-bound@1.0.4/node_modules/call-bound/index.js"(e,t){var r=qG(),n=qP(),o=n([r("%String.prototype.indexOf%")]);t.exports=s(function(i,a){var l=r(i,!!a);return typeof l=="function"&&o(i,".prototype.")>-1?n([l]):l},"callBoundIntrinsic")}}),jG=Ne({"node_modules/.pnpm/has-tostringtag@1.0.2/node_modules/has-tostringtag/shams.js"(e,t){var r=RP();t.exports=s(function(){return r()&&!!Symbol.toStringTag},"hasToStringTagShams")}}),$P=Ne({"node_modules/.pnpm/is-regex@1.2.1/node_modules/is-regex/index.js"(e,t){var r=Ob(),n=jG()(),o=jP(),i=_b(),a;n?(l=r("RegExp.prototype.exec"),u={},c=s(function(){throw u},"throwRegexMarker"),d={toString:c,valueOf:c},typeof Symbol.toPrimitive=="symbol"&&(d[Symbol.toPrimitive]=c),a=s(function(f){if(!f||typeof f!="object")return!1;var m=i(f,"lastIndex"),y=m&&o(m,"value");if(!y)return!1;try{l(f,d)}catch(g){return g===u}},"isRegex")):(p=r("Object.prototype.toString"),h="[object RegExp]",a=s(function(f){return!f||typeof f!="object"&&typeof f!="function"?!1:p(f)===h},"isRegex"));var l,u,c,d,p,h;t.exports=a}}),$G=Ne({"node_modules/.pnpm/is-function@1.0.2/node_modules/is-function/index.js"(e,t){t.exports=n;var r=Object.prototype.toString;function n(o){if(!o)return!1;var i=r.call(o);return i==="[object Function]"||typeof o=="function"&&i!=="[object RegExp]"||typeof window<"u"&&(o===window.setTimeout||o===window.alert||o===window.confirm||o===window.prompt)}s(n,"isFunction3")}}),LG=Ne({"node_modules/.pnpm/safe-regex-test@1.1.0/node_modules/safe-regex-test/index.js"(e,t){var r=Ob(),n=$P(),o=r("RegExp.prototype.exec"),i=Cb();t.exports=s(function(a){if(!n(a))throw new i("`regex` must be a RegExp");return s(function(l){return o(a,l)!==null},"test")},"regexTester")}}),FG=Ne({"node_modules/.pnpm/is-symbol@1.1.1/node_modules/is-symbol/index.js"(e,t){var r=Ob(),n=r("Object.prototype.toString"),o=NP()(),i=LG();o?(a=r("Symbol.prototype.toString"),l=i(/^Symbol\(.*\)$/),u=s(function(c){return typeof c.valueOf()!="symbol"?!1:l(a(c))},"isRealSymbolObject"),t.exports=s(function(c){if(typeof c=="symbol")return!0;if(!c||typeof c!="object"||n(c)!=="[object Symbol]")return!1;try{return u(c)}catch{return!1}},"isSymbol3")):t.exports=s(function(c){return!1},"isSymbol3");var a,l,u}}),DG=Tb($P()),BG=Tb($G()),UG=Tb(FG());function LP(e){return e!=null&&typeof e=="object"&&Array.isArray(e)===!1}s(LP,"isObject");var HG=typeof global=="object"&&global&&global.Object===Object&&global,VG=HG,JG=typeof self=="object"&&self&&self.Object===Object&&self,zG=VG||JG||Function("return this")(),Ab=zG,WG=Ab.Symbol,Ba=WG,FP=Object.prototype,GG=FP.hasOwnProperty,KG=FP.toString,qs=Ba?Ba.toStringTag:void 0;function DP(e){var t=GG.call(e,qs),r=e[qs];try{e[qs]=void 0;var n=!0}catch{}var o=KG.call(e);return n&&(t?e[qs]=r:delete e[qs]),o}s(DP,"getRawTag");var YG=DP,XG=Object.prototype,QG=XG.toString;function BP(e){return QG.call(e)}s(BP,"objectToString");var ZG=BP,e8="[object Null]",t8="[object Undefined]",cx=Ba?Ba.toStringTag:void 0;function UP(e){return e==null?e===void 0?t8:e8:cx&&cx in Object(e)?YG(e):ZG(e)}s(UP,"baseGetTag");var HP=UP;function VP(e){return e!=null&&typeof e=="object"}s(VP,"isObjectLike");var r8=VP,n8="[object Symbol]";function JP(e){return typeof e=="symbol"||r8(e)&&HP(e)==n8}s(JP,"isSymbol");var Rb=JP;function zP(e,t){for(var r=-1,n=e==null?0:e.length,o=Array(n);++r<n;)o[r]=t(e[r],r,e);return o}s(zP,"arrayMap");var o8=zP,i8=Array.isArray,Nb=i8,dx=Ba?Ba.prototype:void 0,px=dx?dx.toString:void 0;function Ib(e){if(typeof e=="string")return e;if(Nb(e))return o8(e,Ib)+"";if(Rb(e))return px?px.call(e):"";var t=e+"";return t=="0"&&1/e==-1/0?"-0":t}s(Ib,"baseToString");var a8=Ib;function WP(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}s(WP,"isObject2");var GP=WP,s8="[object AsyncFunction]",l8="[object Function]",u8="[object GeneratorFunction]",c8="[object Proxy]";function KP(e){if(!GP(e))return!1;var t=HP(e);return t==l8||t==u8||t==s8||t==c8}s(KP,"isFunction");var d8=KP,p8=Ab["__core-js_shared__"],Ih=p8,fx=function(){var e=/[^.]+$/.exec(Ih&&Ih.keys&&Ih.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function YP(e){return!!fx&&fx in e}s(YP,"isMasked");var f8=YP,h8=Function.prototype,m8=h8.toString;function XP(e){if(e!=null){try{return m8.call(e)}catch{}try{return e+""}catch{}}return""}s(XP,"toSource");var y8=XP,g8=/[\\^$.*+?()[\]{}|]/g,b8=/^\[object .+?Constructor\]$/,v8=Function.prototype,w8=Object.prototype,E8=v8.toString,S8=w8.hasOwnProperty,x8=RegExp("^"+E8.call(S8).replace(g8,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function QP(e){if(!GP(e)||f8(e))return!1;var t=d8(e)?x8:b8;return t.test(y8(e))}s(QP,"baseIsNative");var T8=QP;function ZP(e,t){return e==null?void 0:e[t]}s(ZP,"getValue");var C8=ZP;function eO(e,t){var r=C8(e,t);return T8(r)?r:void 0}s(eO,"getNative");var tO=eO;function rO(e,t){return e===t||e!==e&&t!==t}s(rO,"eq");var _8=rO,P8=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,O8=/^\w*$/;function nO(e,t){if(Nb(e))return!1;var r=typeof e;return r=="number"||r=="symbol"||r=="boolean"||e==null||Rb(e)?!0:O8.test(e)||!P8.test(e)||t!=null&&e in Object(t)}s(nO,"isKey");var A8=nO,R8=tO(Object,"create"),Ol=R8;function oO(){this.__data__=Ol?Ol(null):{},this.size=0}s(oO,"hashClear");var N8=oO;function iO(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}s(iO,"hashDelete");var I8=iO,k8="__lodash_hash_undefined__",M8=Object.prototype,q8=M8.hasOwnProperty;function aO(e){var t=this.__data__;if(Ol){var r=t[e];return r===k8?void 0:r}return q8.call(t,e)?t[e]:void 0}s(aO,"hashGet");var j8=aO,$8=Object.prototype,L8=$8.hasOwnProperty;function sO(e){var t=this.__data__;return Ol?t[e]!==void 0:L8.call(t,e)}s(sO,"hashHas");var F8=sO,D8="__lodash_hash_undefined__";function lO(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=Ol&&t===void 0?D8:t,this}s(lO,"hashSet");var B8=lO;function Hi(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}s(Hi,"Hash");Hi.prototype.clear=N8;Hi.prototype.delete=I8;Hi.prototype.get=j8;Hi.prototype.has=F8;Hi.prototype.set=B8;var hx=Hi;function uO(){this.__data__=[],this.size=0}s(uO,"listCacheClear");var U8=uO;function cO(e,t){for(var r=e.length;r--;)if(_8(e[r][0],t))return r;return-1}s(cO,"assocIndexOf");var Cp=cO,H8=Array.prototype,V8=H8.splice;function dO(e){var t=this.__data__,r=Cp(t,e);if(r<0)return!1;var n=t.length-1;return r==n?t.pop():V8.call(t,r,1),--this.size,!0}s(dO,"listCacheDelete");var J8=dO;function pO(e){var t=this.__data__,r=Cp(t,e);return r<0?void 0:t[r][1]}s(pO,"listCacheGet");var z8=pO;function fO(e){return Cp(this.__data__,e)>-1}s(fO,"listCacheHas");var W8=fO;function hO(e,t){var r=this.__data__,n=Cp(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this}s(hO,"listCacheSet");var G8=hO;function Vi(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}s(Vi,"ListCache");Vi.prototype.clear=U8;Vi.prototype.delete=J8;Vi.prototype.get=z8;Vi.prototype.has=W8;Vi.prototype.set=G8;var K8=Vi,Y8=tO(Ab,"Map"),X8=Y8;function mO(){this.size=0,this.__data__={hash:new hx,map:new(X8||K8),string:new hx}}s(mO,"mapCacheClear");var Q8=mO;function yO(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}s(yO,"isKeyable");var Z8=yO;function gO(e,t){var r=e.__data__;return Z8(t)?r[typeof t=="string"?"string":"hash"]:r.map}s(gO,"getMapData");var _p=gO;function bO(e){var t=_p(this,e).delete(e);return this.size-=t?1:0,t}s(bO,"mapCacheDelete");var eK=bO;function vO(e){return _p(this,e).get(e)}s(vO,"mapCacheGet");var tK=vO;function wO(e){return _p(this,e).has(e)}s(wO,"mapCacheHas");var rK=wO;function EO(e,t){var r=_p(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this}s(EO,"mapCacheSet");var nK=EO;function Ji(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}s(Ji,"MapCache");Ji.prototype.clear=Q8;Ji.prototype.delete=eK;Ji.prototype.get=tK;Ji.prototype.has=rK;Ji.prototype.set=nK;var SO=Ji,oK="Expected a function";function Pp(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(oK);var r=s(function(){var n=arguments,o=t?t.apply(this,n):n[0],i=r.cache;if(i.has(o))return i.get(o);var a=e.apply(this,n);return r.cache=i.set(o,a)||i,a},"memoized");return r.cache=new(Pp.Cache||SO),r}s(Pp,"memoize");Pp.Cache=SO;var iK=Pp,aK=500;function xO(e){var t=iK(e,function(n){return r.size===aK&&r.clear(),n}),r=t.cache;return t}s(xO,"memoizeCapped");var sK=xO,lK=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,uK=/\\(\\)?/g,cK=sK(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(lK,function(r,n,o,i){t.push(o?i.replace(uK,"$1"):n||r)}),t}),dK=cK;function TO(e){return e==null?"":a8(e)}s(TO,"toString");var pK=TO;function CO(e,t){return Nb(e)?e:A8(e,t)?[e]:dK(pK(e))}s(CO,"castPath");var fK=CO;function _O(e){if(typeof e=="string"||Rb(e))return e;var t=e+"";return t=="0"&&1/e==-1/0?"-0":t}s(_O,"toKey");var hK=_O;function PO(e,t){t=fK(t,e);for(var r=0,n=t.length;e!=null&&r<n;)e=e[hK(t[r++])];return r&&r==n?e:void 0}s(PO,"baseGet");var mK=PO;function OO(e,t,r){var n=e==null?void 0:mK(e,t);return n===void 0?r:n}s(OO,"get");var yK=OO,kb=LP,gK=/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(\.\d{3})?Z$/,Mb=s(e=>e.match(/^[\[\{\"\}].*[\]\}\"]$/),"isJSON");function qb(e){if(!kb(e))return e;let t=e,r=!1;return typeof Event<"u"&&e instanceof Event&&(t=OP(t),r=!0),t=Object.keys(t).reduce((n,o)=>{try{t[o]&&t[o].toJSON,n[o]=t[o]}catch{r=!0}return n},{}),r?t:e}s(qb,"convertUnconventionalData");var bK=s(function(e){let t,r,n,o;return s(function(i,a){var l;try{if(i==="")return o=[],t=new Map([[a,"[]"]]),r=new Map,n=[],a;let u=r.get(this)||this;for(;n.length&&u!==n[0];)n.shift(),o.pop();if(typeof a=="boolean")return a;if(a===void 0)return e.allowUndefined?"_undefined_":void 0;if(a===null)return null;if(typeof a=="number")return a===Number.NEGATIVE_INFINITY?"_-Infinity_":a===Number.POSITIVE_INFINITY?"_Infinity_":Number.isNaN(a)?"_NaN_":a;if(typeof a=="bigint")return`_bigint_${a.toString()}`;if(typeof a=="string")return gK.test(a)?e.allowDate?`_date_${a}`:void 0:a;if((0,DG.default)(a))return e.allowRegExp?`_regexp_${a.flags}|${a.source}`:void 0;if((0,BG.default)(a))return;if((0,UG.default)(a)){if(!e.allowSymbol)return;let d=Symbol.keyFor(a);return d!==void 0?`_gsymbol_${d}`:`_symbol_${a.toString().slice(7,-1)}`}if(n.length>=e.maxDepth)return Array.isArray(a)?`[Array(${a.length})]`:"[Object]";if(a===this)return`_duplicate_${JSON.stringify(o)}`;if(a instanceof Error&&e.allowError)return{__isConvertedError__:!0,errorProperties:{...a.cause?{cause:a.cause}:{},...a,name:a.name,message:a.message,stack:a.stack,"_constructor-name_":a.constructor.name}};if((l=a==null?void 0:a.constructor)!=null&&l.name&&a.constructor.name!=="Object"&&!Array.isArray(a)){let d=t.get(a);if(!d){let p={__isClassInstance__:!0,__className__:a.constructor.name,...Object.getOwnPropertyNames(a).reduce((h,f)=>{try{h[f]=a[f]}catch{}return h},{})};return o.push(i),n.unshift(p),t.set(a,JSON.stringify(o)),a!==p&&r.set(a,p),p}return`_duplicate_${d}`}let c=t.get(a);if(!c){let d=Array.isArray(a)?a:qb(a);return o.push(i),n.unshift(d),t.set(a,JSON.stringify(o)),a!==d&&r.set(a,d),d}return`_duplicate_${c}`}catch{return}},"replace")},"replacer2"),vK=s(function(e){let t=[],r;return s(function(n,o){if(n===""&&(r=o,t.forEach(({target:i,container:a,replacement:l})=>{let u=Mb(l)?JSON.parse(l):l.split(".");u.length===0?a[i]=r:a[i]=yK(r,u)})),n==="_constructor-name_")return o;if(kb(o)&&o.__isConvertedError__){let{message:i,...a}=o.errorProperties,l=new Error(i);return Object.assign(l,a),l}if(typeof o=="string"&&o.startsWith("_regexp_")&&e.allowRegExp){let[,i,a]=o.match(/_regexp_([^|]*)\|(.*)/)||[];return new RegExp(a,i)}return typeof o=="string"&&o.startsWith("_date_")&&e.allowDate?new Date(o.replace("_date_","")):typeof o=="string"&&o.startsWith("_duplicate_")?(t.push({target:n,container:this,replacement:o.replace(/^_duplicate_/,"")}),null):typeof o=="string"&&o.startsWith("_symbol_")&&e.allowSymbol?Symbol(o.replace("_symbol_","")):typeof o=="string"&&o.startsWith("_gsymbol_")&&e.allowSymbol?Symbol.for(o.replace("_gsymbol_","")):typeof o=="string"&&o==="_-Infinity_"?Number.NEGATIVE_INFINITY:typeof o=="string"&&o==="_Infinity_"?Number.POSITIVE_INFINITY:typeof o=="string"&&o==="_NaN_"?Number.NaN:typeof o=="string"&&o.startsWith("_bigint_")&&typeof BigInt=="function"?BigInt(o.replace("_bigint_","")):o},"revive")},"reviver2"),AO={maxDepth:10,space:void 0,allowRegExp:!0,allowDate:!0,allowError:!0,allowUndefined:!0,allowSymbol:!0},RO=s((e,t={})=>{let r={...AO,...t};return JSON.stringify(qb(e),bK(r),t.space)},"stringify"),wK=s(()=>{let e=new Map;return s(function t(r){kb(r)&&Object.entries(r).forEach(([n,o])=>{o==="_undefined_"?r[n]=void 0:e.get(o)||(e.set(o,!0),t(o))}),Array.isArray(r)&&r.forEach((n,o)=>{n==="_undefined_"?(e.set(n,!0),r[o]=void 0):e.get(n)||(e.set(n,!0),t(n))})},"mutateUndefined")},"mutator"),NO=s((e,t={})=>{let r={...AO,...t},n=JSON.parse(e,vK(r));return wK()(n),n},"parse"),EK="Invariant failed";function xn(e,t){if(!e)throw new Error(EK)}s(xn,"invariant");var SK=s(e=>{let t=Array.from(document.querySelectorAll("iframe[data-is-storybook]")),[r,...n]=t.filter(i=>{var u,c;try{return((u=i.contentWindow)==null?void 0:u.location.origin)===e.source.location.origin&&((c=i.contentWindow)==null?void 0:c.location.pathname)===e.source.location.pathname}catch{}try{return i.contentWindow===e.source}catch{}let a=i.getAttribute("src"),l;try{if(!a)return!1;({origin:l}=new URL(a,document.location.toString()))}catch{return!1}return l===e.origin}),o=r==null?void 0:r.getAttribute("src");if(o&&n.length===0){let{protocol:i,host:a,pathname:l}=new URL(o,document.location.toString());return`${i}//${a}${l}`}return n.length>0&&at.error("found multiple candidates for event source"),null},"getEventSourceUrl"),{document:kh,location:js}=me,mx="storybook-channel",xK={maxDepth:25},IO=class{constructor(t){if(this.config=t,this.connected=!1,this.buffer=[],typeof(me==null?void 0:me.addEventListener)=="function"&&me.addEventListener("message",this.handleEvent.bind(this),!1),t.page!=="manager"&&t.page!=="preview")throw new Error(`postmsg-channel: "config.page" cannot be "${t.page}"`)}setHandler(t){this.handler=(...r)=>{t.apply(this,r),!this.connected&&this.getLocalFrame().length&&(this.flush(),this.connected=!0)}}send(t,r){let{target:n,allowRegExp:o,allowSymbol:i,allowDate:a,allowError:l,allowUndefined:u,maxDepth:c,space:d}=r||{},p=Object.fromEntries(Object.entries({allowRegExp:o,allowSymbol:i,allowDate:a,allowError:l,allowUndefined:u,maxDepth:c,space:d}).filter(([g,b])=>typeof b<"u")),h={...xK,...me.CHANNEL_OPTIONS||{},...p},f=this.getFrames(n),m=new URLSearchParams((js==null?void 0:js.search)||""),y=RO({key:mx,event:t,refId:m.get("refId")},h);return f.length?(this.buffer.length&&this.flush(),f.forEach(g=>{try{g.postMessage(y,"*")}catch{at.error("sending over postmessage fail")}}),Promise.resolve(null)):new Promise((g,b)=>{this.buffer.push({event:t,resolve:g,reject:b})})}flush(){let{buffer:t}=this;this.buffer=[],t.forEach(r=>{this.send(r.event).then(r.resolve).catch(r.reject)})}getFrames(t){if(this.config.page==="manager"){let r=Array.from(kh.querySelectorAll("iframe[data-is-storybook][data-is-loaded]")).flatMap(n=>{try{return n.contentWindow&&n.dataset.isStorybook!==void 0&&n.id===t?[n.contentWindow]:[]}catch{return[]}});return r!=null&&r.length?r:this.getCurrentFrames()}return me&&me.parent&&me.parent!==me.self?[me.parent]:[]}getCurrentFrames(){return this.config.page==="manager"?Array.from(kh.querySelectorAll('[data-is-storybook="true"]')).flatMap(t=>t.contentWindow?[t.contentWindow]:[]):me&&me.parent?[me.parent]:[]}getLocalFrame(){return this.config.page==="manager"?Array.from(kh.querySelectorAll("#storybook-preview-iframe")).flatMap(t=>t.contentWindow?[t.contentWindow]:[]):me&&me.parent?[me.parent]:[]}handleEvent(t){try{let{data:r}=t,{key:n,event:o,refId:i}=typeof r=="string"&&Mb(r)?NO(r,me.CHANNEL_OPTIONS||{}):r;if(n===mx){let a=this.config.page==="manager"?'<span style="color: #37D5D3; background: black"> manager </span>':'<span style="color: #1EA7FD; background: black"> preview </span>',l=Object.values(mb).includes(o.type)?`<span style="color: #FF4785">${o.type}</span>`:`<span style="color: #FFAE00">${o.type}</span>`;if(i&&(o.refId=i),o.source=this.config.page==="preview"?t.origin:SK(t),!o.source){Ir.error(`${a} received ${l} but was unable to determine the source of the event`);return}let u=`${a} received ${l} (${r.length})`;Ir.debug(js.origin!==o.source?u:`${u} <span style="color: gray">(on ${js.origin} from ${o.source})</span>`,...o.args),xn(this.handler,"ChannelHandler should be set"),this.handler(o)}}catch(r){at.error(r)}}};s(IO,"PostMessageTransport");var kO=IO,{WebSocket:TK}=me,MO=15e3,qO=5e3,jO=class{constructor({url:t,onError:r,page:n}){this.buffer=[],this.isReady=!1,this.isClosed=!1,this.pingTimeout=0,this.socket=new TK(t),this.socket.onopen=()=>{this.isReady=!0,this.heartbeat(),this.flush()},this.socket.onmessage=({data:o})=>{let i=typeof o=="string"&&Mb(o)?NO(o):o;xn(this.handler),this.handler(i),i.type==="ping"&&(this.heartbeat(),this.send({type:"pong"}))},this.socket.onerror=o=>{r&&r(o)},this.socket.onclose=o=>{xn(this.handler),this.handler({type:rP,args:[{reason:o.reason,code:o.code}],from:n||"preview"}),this.isClosed=!0,clearTimeout(this.pingTimeout)}}heartbeat(){clearTimeout(this.pingTimeout),this.pingTimeout=setTimeout(()=>{this.socket.close(3008,"timeout")},MO+qO)}setHandler(t){this.handler=t}send(t){this.isClosed||(this.isReady?this.sendNow(t):this.sendLater(t))}sendLater(t){this.buffer.push(t)}sendNow(t){let r=RO(t,{maxDepth:15,...me.CHANNEL_OPTIONS});this.socket.send(r)}flush(){let{buffer:t}=this;this.buffer=[],t.forEach(r=>this.send(r))}};s(jO,"WebsocketTransport");var $O=jO,{CONFIG_TYPE:CK}=me,_K=xp;function LO({page:e,extraTransports:t=[]}){let r=[new kO({page:e}),...t];if(CK==="DEVELOPMENT"){let o=window.location.protocol==="http:"?"ws":"wss",{hostname:i,port:a}=window.location,l=`${o}://${i}:${a}/storybook-server-channel`;r.push(new $O({url:l,onError:s(()=>{},"onError"),page:e}))}let n=new xp({transports:r});return Nh.__prepare(n,e==="manager"?Nh.Environment.MANAGER:Nh.Environment.PREVIEW),n}s(LO,"createBrowserChannel");var FO={};fr(FO,{CalledExtractOnStoreError:()=>GO,CalledPreviewMethodBeforeInitializationError:()=>_r,Category:()=>UO,ElementA11yParameterError:()=>IK,EmptyIndexError:()=>n1,ImplicitActionsDuringRendering:()=>zO,MdxFileWithNoCsfReferencesError:()=>t1,MissingRenderToCanvasError:()=>YO,MissingStoryAfterHmrError:()=>VO,MissingStoryFromCsfFileError:()=>s1,MountMustBeDestructuredError:()=>jb,NextJsSharpError:()=>OK,NextjsRouterMocksNotAvailable:()=>AK,NoRenderFunctionError:()=>p1,NoStoryMatchError:()=>i1,NoStoryMountedError:()=>h1,StatusTypeIdMismatchError:()=>PK,StoryIndexFetchError:()=>ZO,StoryStoreAccessedBeforeInitializationError:()=>u1,UnknownArgTypesError:()=>RK,UnsupportedViewportDimensionError:()=>NK});function Tm({code:e,category:t}){let r=String(e).padStart(4,"0");return`SB_${t}_${r}`}s(Tm,"parseErrorCode");var DO=class BO extends Error{constructor(t){super(BO.getFullMessage(t)),this.data={},this.fromStorybook=!0,this.category=t.category,this.documentation=t.documentation??!1,this.code=t.code}get fullErrorCode(){return Tm({code:this.code,category:this.category})}get name(){let t=this.constructor.name;return`${this.fullErrorCode} (${t})`}static getFullMessage({documentation:t,code:r,category:n,message:o}){let i;return t===!0?i=`https://storybook.js.org/error/${Tm({code:r,category:n})}`:typeof t=="string"?i=t:Array.isArray(t)&&(i=`
|
|
46
|
-
${t.map(a=>` - ${a}`).join(`
|
|
47
|
-
`)}`),`${o}${i!=null?`
|
|
48
|
-
|
|
49
|
-
More info: ${i}
|
|
50
|
-
`:""}`}};s(DO,"StorybookError");var Ot=DO,UO=(e=>(e.BLOCKS="BLOCKS",e.DOCS_TOOLS="DOCS-TOOLS",e.PREVIEW_CLIENT_LOGGER="PREVIEW_CLIENT-LOGGER",e.PREVIEW_CHANNELS="PREVIEW_CHANNELS",e.PREVIEW_CORE_EVENTS="PREVIEW_CORE-EVENTS",e.PREVIEW_INSTRUMENTER="PREVIEW_INSTRUMENTER",e.PREVIEW_API="PREVIEW_API",e.PREVIEW_REACT_DOM_SHIM="PREVIEW_REACT-DOM-SHIM",e.PREVIEW_ROUTER="PREVIEW_ROUTER",e.PREVIEW_THEMING="PREVIEW_THEMING",e.RENDERER_HTML="RENDERER_HTML",e.RENDERER_PREACT="RENDERER_PREACT",e.RENDERER_REACT="RENDERER_REACT",e.RENDERER_SERVER="RENDERER_SERVER",e.RENDERER_SVELTE="RENDERER_SVELTE",e.RENDERER_VUE="RENDERER_VUE",e.RENDERER_VUE3="RENDERER_VUE3",e.RENDERER_WEB_COMPONENTS="RENDERER_WEB-COMPONENTS",e.FRAMEWORK_NEXTJS="FRAMEWORK_NEXTJS",e.ADDON_VITEST="ADDON_VITEST",e.ADDON_A11Y="ADDON_A11Y",e))(UO||{}),HO=class extends Ot{constructor(t){super({category:"PREVIEW_API",code:1,message:Ie`
|
|
51
|
-
Couldn't find story matching id '${t.storyId}' after HMR.
|
|
52
|
-
- Did you just rename a story?
|
|
53
|
-
- Did you remove it from your CSF file?
|
|
54
|
-
- Are you sure a story with the id '${t.storyId}' exists?
|
|
55
|
-
- Please check the values in the stories field of your main.js config and see if they would match your CSF File.
|
|
56
|
-
- Also check the browser console and terminal for potential error messages.`}),this.data=t}};s(HO,"MissingStoryAfterHmrError");var VO=HO,JO=class extends Ot{constructor(t){super({category:"PREVIEW_API",code:2,documentation:"https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#using-implicit-actions-during-rendering-is-deprecated-for-example-in-the-play-function",message:Ie`
|
|
57
|
-
We detected that you use an implicit action arg while ${t.phase} of your story.
|
|
58
|
-
${t.deprecated?`
|
|
59
|
-
This is deprecated and won't work in Storybook 8 anymore.
|
|
60
|
-
`:""}
|
|
61
|
-
Please provide an explicit spy to your args like this:
|
|
62
|
-
import { fn } from 'storybook/test';
|
|
63
|
-
...
|
|
64
|
-
args: {
|
|
65
|
-
${t.name}: fn()
|
|
66
|
-
}`}),this.data=t}};s(JO,"ImplicitActionsDuringRendering");var zO=JO,WO=class extends Ot{constructor(){super({category:"PREVIEW_API",code:3,message:Ie`
|
|
67
|
-
Cannot call \`storyStore.extract()\` without calling \`storyStore.cacheAllCsfFiles()\` first.
|
|
68
|
-
|
|
69
|
-
You probably meant to call \`await preview.extract()\` which does the above for you.`})}};s(WO,"CalledExtractOnStoreError");var GO=WO,KO=class extends Ot{constructor(){super({category:"PREVIEW_API",code:4,message:Ie`
|
|
70
|
-
Expected your framework's preset to export a \`renderToCanvas\` field.
|
|
71
|
-
|
|
72
|
-
Perhaps it needs to be upgraded for Storybook 7.0?`,documentation:"https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#mainjs-framework-field"})}};s(KO,"MissingRenderToCanvasError");var YO=KO,XO=class extends Ot{constructor(t){super({category:"PREVIEW_API",code:5,message:Ie`
|
|
73
|
-
Called \`Preview.${t.methodName}()\` before initialization.
|
|
74
|
-
|
|
75
|
-
The preview needs to load the story index before most methods can be called. If you want
|
|
76
|
-
to call \`${t.methodName}\`, try \`await preview.initializationPromise;\` first.
|
|
77
|
-
|
|
78
|
-
If you didn't call the above code, then likely it was called by an addon that needs to
|
|
79
|
-
do the above.`}),this.data=t}};s(XO,"CalledPreviewMethodBeforeInitializationError");var _r=XO,QO=class extends Ot{constructor(t){super({category:"PREVIEW_API",code:6,message:Ie`
|
|
80
|
-
Error fetching \`/index.json\`:
|
|
81
|
-
|
|
82
|
-
${t.text}
|
|
83
|
-
|
|
84
|
-
If you are in development, this likely indicates a problem with your Storybook process,
|
|
85
|
-
check the terminal for errors.
|
|
86
|
-
|
|
87
|
-
If you are in a deployed Storybook, there may have been an issue deploying the full Storybook
|
|
88
|
-
build.`}),this.data=t}};s(QO,"StoryIndexFetchError");var ZO=QO,e1=class extends Ot{constructor(t){super({category:"PREVIEW_API",code:7,message:Ie`
|
|
89
|
-
Tried to render docs entry ${t.storyId} but it is a MDX file that has no CSF
|
|
90
|
-
references, or autodocs for a CSF file that some doesn't refer to itself.
|
|
91
|
-
|
|
92
|
-
This likely is an internal error in Storybook's indexing, or you've attached the
|
|
93
|
-
\`attached-mdx\` tag to an MDX file that is not attached.`}),this.data=t}};s(e1,"MdxFileWithNoCsfReferencesError");var t1=e1,r1=class extends Ot{constructor(){super({category:"PREVIEW_API",code:8,message:Ie`
|
|
94
|
-
Couldn't find any stories in your Storybook.
|
|
95
|
-
|
|
96
|
-
- Please check your stories field of your main.js config: does it match correctly?
|
|
97
|
-
- Also check the browser console and terminal for error messages.`})}};s(r1,"EmptyIndexError");var n1=r1,o1=class extends Ot{constructor(t){super({category:"PREVIEW_API",code:9,message:Ie`
|
|
98
|
-
Couldn't find story matching '${t.storySpecifier}'.
|
|
99
|
-
|
|
100
|
-
- Are you sure a story with that id exists?
|
|
101
|
-
- Please check your stories field of your main.js config.
|
|
102
|
-
- Also check the browser console and terminal for error messages.`}),this.data=t}};s(o1,"NoStoryMatchError");var i1=o1,a1=class extends Ot{constructor(t){super({category:"PREVIEW_API",code:10,message:Ie`
|
|
103
|
-
Couldn't find story matching id '${t.storyId}' after importing a CSF file.
|
|
104
|
-
|
|
105
|
-
The file was indexed as if the story was there, but then after importing the file in the browser
|
|
106
|
-
we didn't find the story. Possible reasons:
|
|
107
|
-
- You are using a custom story indexer that is misbehaving.
|
|
108
|
-
- You have a custom file loader that is removing or renaming exports.
|
|
109
|
-
|
|
110
|
-
Please check your browser console and terminal for errors that may explain the issue.`}),this.data=t}};s(a1,"MissingStoryFromCsfFileError");var s1=a1,l1=class extends Ot{constructor(){super({category:"PREVIEW_API",code:11,message:Ie`
|
|
111
|
-
Cannot access the Story Store until the index is ready.
|
|
112
|
-
|
|
113
|
-
It is not recommended to use methods directly on the Story Store anyway, in Storybook 9 we will
|
|
114
|
-
remove access to the store entirely`})}};s(l1,"StoryStoreAccessedBeforeInitializationError");var u1=l1,c1=class extends Ot{constructor(t){super({category:"PREVIEW_API",code:12,message:Ie`
|
|
115
|
-
Incorrect use of mount in the play function.
|
|
116
|
-
|
|
117
|
-
To use mount in the play function, you must satisfy the following two requirements:
|
|
118
|
-
|
|
119
|
-
1. You *must* destructure the mount property from the \`context\` (the argument passed to your play function).
|
|
120
|
-
This makes sure that Storybook does not start rendering the story before the play function begins.
|
|
121
|
-
|
|
122
|
-
2. Your Storybook framework or builder must be configured to transpile to ES2017 or newer.
|
|
123
|
-
This is because destructuring statements and async/await usages are otherwise transpiled away,
|
|
124
|
-
which prevents Storybook from recognizing your usage of \`mount\`.
|
|
125
|
-
|
|
126
|
-
Note that Angular is not supported. As async/await is transpiled to support the zone.js polyfill.
|
|
127
|
-
|
|
128
|
-
More info: https://storybook.js.org/docs/writing-tests/interaction-testing#run-code-before-the-component-gets-rendered
|
|
129
|
-
|
|
130
|
-
Received the following play function:
|
|
131
|
-
${t.playFunction}`}),this.data=t}};s(c1,"MountMustBeDestructuredError");var jb=c1,d1=class extends Ot{constructor(t){super({category:"PREVIEW_API",code:14,message:Ie`
|
|
132
|
-
No render function available for storyId '${t.id}'
|
|
133
|
-
`}),this.data=t}};s(d1,"NoRenderFunctionError");var p1=d1,f1=class extends Ot{constructor(){super({category:"PREVIEW_API",code:15,message:Ie`
|
|
134
|
-
No component is mounted in your story.
|
|
135
|
-
|
|
136
|
-
This usually occurs when you destructure mount in the play function, but forget to call it.
|
|
137
|
-
|
|
138
|
-
For example:
|
|
139
|
-
|
|
140
|
-
async play({ mount, canvasElement }) {
|
|
141
|
-
// 👈 mount should be called: await mount();
|
|
142
|
-
const canvas = within(canvasElement);
|
|
143
|
-
const button = await canvas.findByRole('button');
|
|
144
|
-
await userEvent.click(button);
|
|
145
|
-
};
|
|
146
|
-
|
|
147
|
-
Make sure to either remove it or call mount in your play function.
|
|
148
|
-
`})}};s(f1,"NoStoryMountedError");var h1=f1,m1=class extends Ot{constructor(t){super({category:"PREVIEW_API",code:16,message:`Status has typeId "${t.status.typeId}" but was added to store with typeId "${t.typeId}". Full status: ${JSON.stringify(t.status,null,2)}`}),this.data=t}};s(m1,"StatusTypeIdMismatchError");var PK=m1,y1=class extends Ot{constructor(){super({category:"FRAMEWORK_NEXTJS",code:1,documentation:"https://storybook.js.org/docs/get-started/nextjs#faq",message:Ie`
|
|
149
|
-
You are importing avif images, but you don't have sharp installed.
|
|
150
|
-
|
|
151
|
-
You have to install sharp in order to use image optimization features in Next.js.
|
|
152
|
-
`})}};s(y1,"NextJsSharpError");var OK=y1,g1=class extends Ot{constructor(t){super({category:"FRAMEWORK_NEXTJS",code:2,message:Ie`
|
|
153
|
-
Tried to access router mocks from "${t.importType}" but they were not created yet. You might be running code in an unsupported environment.
|
|
154
|
-
`}),this.data=t}};s(g1,"NextjsRouterMocksNotAvailable");var AK=g1,b1=class extends Ot{constructor(t){super({category:"DOCS-TOOLS",code:1,documentation:"https://github.com/storybookjs/storybook/issues/26606",message:Ie`
|
|
155
|
-
There was a failure when generating detailed ArgTypes in ${t.language} for:
|
|
156
|
-
${JSON.stringify(t.type,null,2)}
|
|
157
|
-
|
|
158
|
-
Storybook will fall back to use a generic type description instead.
|
|
159
|
-
|
|
160
|
-
This type is either not supported or it is a bug in the docgen generation in Storybook.
|
|
161
|
-
If you think this is a bug, please detail it as much as possible in the Github issue.
|
|
162
|
-
`}),this.data=t}};s(b1,"UnknownArgTypesError");var RK=b1,v1=class extends Ot{constructor(t){super({category:"ADDON_VITEST",code:1,message:Ie`
|
|
163
|
-
Encountered an unsupported value "${t.value}" when setting the viewport ${t.dimension} dimension.
|
|
164
|
-
|
|
165
|
-
The Storybook plugin only supports values in the following units:
|
|
166
|
-
- px, vh, vw, em, rem and %.
|
|
167
|
-
|
|
168
|
-
You can either change the viewport for this story to use one of the supported units or skip the test by adding '!test' to the story's tags per https://storybook.js.org/docs/writing-stories/tags
|
|
169
|
-
`}),this.data=t}};s(v1,"UnsupportedViewportDimensionError");var NK=v1,w1=class extends Ot{constructor(){super({category:"ADDON_A11Y",code:1,documentation:"https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#a11y-addon-replace-element-parameter-with-context-parameter",message:'The "element" parameter in parameters.a11y has been removed. Use "context" instead.'})}};s(w1,"ElementA11yParameterError");var IK=w1,E1={};fr(E1,{Addon_TypesEnum:()=>S1});var S1=(e=>(e.TAB="tab",e.PANEL="panel",e.TOOL="tool",e.TOOLEXTRA="toolextra",e.PREVIEW="preview",e.experimental_PAGE="page",e.experimental_TEST_PROVIDER="test-provider",e))(S1||{}),x1={};fr(x1,{ADDON_ID:()=>Op,CLEAR_ID:()=>qK,CYCLIC_KEY:()=>jK,EVENT_ID:()=>T1,PANEL_ID:()=>MK,PARAM_KEY:()=>kK,action:()=>Os,actions:()=>fre,config:()=>Xl,configureActions:()=>cre});var kK="actions",Op="storybook/actions",MK=`${Op}/panel`,T1=`${Op}/action-event`,qK=`${Op}/action-clear`,jK="$___storybook.isCyclic",Cm={};fr(Cm,{DocsContext:()=>H0,HooksContext:()=>Lb,Preview:()=>bD,PreviewWeb:()=>ire,PreviewWithSelection:()=>OD,ReporterAPI:()=>D0,StoryStore:()=>fD,UrlStore:()=>qD,WebView:()=>LD,addons:()=>br,applyHooks:()=>A1,combineArgs:()=>$d,combineParameters:()=>$i,composeConfigs:()=>Li,composeStepRunners:()=>$0,composeStories:()=>uD,composeStory:()=>U0,createPlaywrightTest:()=>cD,decorateStory:()=>R0,defaultDecorateStory:()=>I0,definePreview:()=>P1,emitTransformCode:()=>UD,filterArgTypes:()=>nD,getCoreAnnotations:()=>Qf,getCsfFactoryAnnotations:()=>B0,inferControls:()=>j0,makeDecorator:()=>DK,mockChannel:()=>$b,normalizeProjectAnnotations:()=>Yl,normalizeStory:()=>Kl,pauseAnimations:()=>th,prepareMeta:()=>k0,prepareStory:()=>eh,sanitizeStoryContextUpdate:()=>N0,setDefaultProjectAnnotations:()=>aD,setProjectAnnotations:()=>lD,simulateDOMContentLoaded:()=>Ud,simulatePageLoad:()=>BD,sortStoriesV7:()=>zte,useArgs:()=>$1,useCallback:()=>Ua,useChannel:()=>q1,useEffect:()=>Bo,useGlobals:()=>L1,useMemo:()=>Bb,useParameter:()=>j1,useReducer:()=>M1,useRef:()=>N1,useState:()=>k1,useStoryContext:()=>gu,userOrAutoTitle:()=>Hte,userOrAutoTitleFromSpecifier:()=>mD,waitForAnimations:()=>rh});function $b(){let e={setHandler:s(()=>{},"setHandler"),send:s(()=>{},"send")};return new xp({transport:e})}s($b,"mockChannel");var C1=class{constructor(){this.getChannel=s(()=>{if(!this.channel){let t=$b();return this.setChannel(t),t}return this.channel},"getChannel"),this.ready=s(()=>this.promise,"ready"),this.hasChannel=s(()=>!!this.channel,"hasChannel"),this.setChannel=s(t=>{this.channel=t,this.resolve()},"setChannel"),this.promise=new Promise(t=>{this.resolve=()=>t(this.getChannel())})}};s(C1,"AddonStore");var $K=C1,Mh="__STORYBOOK_ADDONS_PREVIEW";function _1(){return me[Mh]||(me[Mh]=new $K),me[Mh]}s(_1,"getAddonsStore");var br=_1();function P1(e){return e}s(P1,"definePreview");var O1=class{constructor(){this.hookListsMap=void 0,this.mountedDecorators=void 0,this.prevMountedDecorators=void 0,this.currentHooks=void 0,this.nextHookIndex=void 0,this.currentPhase=void 0,this.currentEffects=void 0,this.prevEffects=void 0,this.currentDecoratorName=void 0,this.hasUpdates=void 0,this.currentContext=void 0,this.renderListener=s(t=>{var r;t===((r=this.currentContext)==null?void 0:r.id)&&(this.triggerEffects(),this.currentContext=null,this.removeRenderListeners())},"renderListener"),this.init()}init(){this.hookListsMap=new WeakMap,this.mountedDecorators=new Set,this.prevMountedDecorators=new Set,this.currentHooks=[],this.nextHookIndex=0,this.currentPhase="NONE",this.currentEffects=[],this.prevEffects=[],this.currentDecoratorName=null,this.hasUpdates=!1,this.currentContext=null}clean(){this.prevEffects.forEach(t=>{t.destroy&&t.destroy()}),this.init(),this.removeRenderListeners()}getNextHook(){let t=this.currentHooks[this.nextHookIndex];return this.nextHookIndex+=1,t}triggerEffects(){this.prevEffects.forEach(t=>{!this.currentEffects.includes(t)&&t.destroy&&t.destroy()}),this.currentEffects.forEach(t=>{this.prevEffects.includes(t)||(t.destroy=t.create())}),this.prevEffects=this.currentEffects,this.currentEffects=[]}addRenderListeners(){this.removeRenderListeners(),br.getChannel().on(Vc,this.renderListener)}removeRenderListeners(){br.getChannel().removeListener(Vc,this.renderListener)}};s(O1,"HooksContext");var Lb=O1;function _m(e){let t=s((...r)=>{let{hooks:n}=typeof r[0]=="function"?r[1]:r[0],o=n.currentPhase,i=n.currentHooks,a=n.nextHookIndex,l=n.currentDecoratorName;n.currentDecoratorName=e.name,n.prevMountedDecorators.has(e)?(n.currentPhase="UPDATE",n.currentHooks=n.hookListsMap.get(e)||[]):(n.currentPhase="MOUNT",n.currentHooks=[],n.hookListsMap.set(e,n.currentHooks),n.prevMountedDecorators.add(e)),n.nextHookIndex=0;let u=me.STORYBOOK_HOOKS_CONTEXT;me.STORYBOOK_HOOKS_CONTEXT=n;let c=e(...r);if(me.STORYBOOK_HOOKS_CONTEXT=u,n.currentPhase==="UPDATE"&&n.getNextHook()!=null)throw new Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");return n.currentPhase=o,n.currentHooks=i,n.nextHookIndex=a,n.currentDecoratorName=l,c},"hookified");return t.originalFn=e,t}s(_m,"hookify");var qh=0,LK=25,A1=s(e=>(t,r)=>{let n=e(_m(t),r.map(o=>_m(o)));return o=>{let{hooks:i}=o;i.prevMountedDecorators??(i.prevMountedDecorators=new Set),i.mountedDecorators=new Set([t,...r]),i.currentContext=o,i.hasUpdates=!1;let a=n(o);for(qh=1;i.hasUpdates;)if(i.hasUpdates=!1,i.currentEffects=[],a=n(o),qh+=1,qh>LK)throw new Error("Too many re-renders. Storybook limits the number of renders to prevent an infinite loop.");return i.addRenderListeners(),a}},"applyHooks"),FK=s((e,t)=>e.length===t.length&&e.every((r,n)=>r===t[n]),"areDepsEqual"),Fb=s(()=>new Error("Storybook preview hooks can only be called inside decorators and story functions."),"invalidHooksError");function Db(){return me.STORYBOOK_HOOKS_CONTEXT||null}s(Db,"getHooksContextOrNull");function Ap(){let e=Db();if(e==null)throw Fb();return e}s(Ap,"getHooksContextOrThrow");function R1(e,t,r){let n=Ap();if(n.currentPhase==="MOUNT"){r!=null&&!Array.isArray(r)&&at.warn(`${e} received a final argument that is not an array (instead, received ${r}). When specified, the final argument must be an array.`);let o={name:e,deps:r};return n.currentHooks.push(o),t(o),o}if(n.currentPhase==="UPDATE"){let o=n.getNextHook();if(o==null)throw new Error("Rendered more hooks than during the previous render.");return o.name!==e&&at.warn(`Storybook has detected a change in the order of Hooks${n.currentDecoratorName?` called by ${n.currentDecoratorName}`:""}. This will lead to bugs and errors if not fixed.`),r!=null&&o.deps==null&&at.warn(`${e} received a final argument during this render, but not during the previous render. Even though the final argument is optional, its type cannot change between renders.`),r!=null&&o.deps!=null&&r.length!==o.deps.length&&at.warn(`The final argument passed to ${e} changed size between renders. The order and size of this array must remain constant.
|
|
170
|
-
Previous: ${o.deps}
|
|
171
|
-
Incoming: ${r}`),(r==null||o.deps==null||!FK(r,o.deps))&&(t(o),o.deps=r),o}throw Fb()}s(R1,"useHook");function yu(e,t,r){let{memoizedState:n}=R1(e,o=>{o.memoizedState=t()},r);return n}s(yu,"useMemoLike");function Bb(e,t){return yu("useMemo",e,t)}s(Bb,"useMemo");function Ua(e,t){return yu("useCallback",()=>e,t)}s(Ua,"useCallback");function Ub(e,t){return yu(e,()=>({current:t}),[])}s(Ub,"useRefLike");function N1(e){return Ub("useRef",e)}s(N1,"useRef");function I1(){let e=Db();if(e!=null&&e.currentPhase!=="NONE")e.hasUpdates=!0;else try{br.getChannel().emit(bb)}catch{at.warn("State updates of Storybook preview hooks work only in browser")}}s(I1,"triggerUpdate");function Hb(e,t){let r=Ub(e,typeof t=="function"?t():t),n=s(o=>{r.current=typeof o=="function"?o(r.current):o,I1()},"setState");return[r.current,n]}s(Hb,"useStateLike");function k1(e){return Hb("useState",e)}s(k1,"useState");function M1(e,t,r){let n=r!=null?()=>r(t):t,[o,i]=Hb("useReducer",n);return[o,s(a=>i(l=>e(l,a)),"dispatch")]}s(M1,"useReducer");function Bo(e,t){let r=Ap(),n=yu("useEffect",()=>({create:e}),t);r.currentEffects.includes(n)||r.currentEffects.push(n)}s(Bo,"useEffect");function q1(e,t=[]){let r=br.getChannel();return Bo(()=>(Object.entries(e).forEach(([n,o])=>r.on(n,o)),()=>{Object.entries(e).forEach(([n,o])=>r.removeListener(n,o))}),[...Object.keys(e),...t]),Ua(r.emit.bind(r),[r])}s(q1,"useChannel");function gu(){let{currentContext:e}=Ap();if(e==null)throw Fb();return e}s(gu,"useStoryContext");function j1(e,t){let{parameters:r}=gu();if(e)return r[e]??t}s(j1,"useParameter");function $1(){let e=br.getChannel(),{id:t,args:r}=gu(),n=Ua(i=>e.emit(Sb,{storyId:t,updatedArgs:i}),[e,t]),o=Ua(i=>e.emit(vb,{storyId:t,argNames:i}),[e,t]);return[r,n,o]}s($1,"useArgs");function L1(){let e=br.getChannel(),{globals:t}=gu(),r=Ua(n=>e.emit(Eb,{globals:n}),[e]);return[t,r]}s(L1,"useGlobals");var DK=s(({name:e,parameterName:t,wrapper:r,skipIfNoParametersOrOptions:n=!1})=>{let o=s(i=>(a,l)=>{let u=l.parameters&&l.parameters[t];return u&&u.disable||n&&!i&&!u?a(l):r(a,l,{options:i,parameters:u})},"decorator");return(...i)=>typeof i[0]=="function"?o()(...i):(...a)=>{if(a.length>1)return i.length>1?o(i)(...a):o(...i)(...a);throw new Error(`Passing stories directly into ${e}() is not allowed,
|
|
172
|
-
instead use addDecorator(${e}) and pass options with the '${t}' parameter`)}},"makeDecorator");function F1(){}s(F1,"noop");function Pm(e){return Object.getOwnPropertySymbols(e).filter(t=>Object.prototype.propertyIsEnumerable.call(e,t))}s(Pm,"getSymbols");function Om(e){return e==null?e===void 0?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)}s(Om,"getTag");var BK="[object RegExp]",UK="[object String]",HK="[object Number]",VK="[object Boolean]",yx="[object Arguments]",JK="[object Symbol]",zK="[object Date]",WK="[object Map]",GK="[object Set]",KK="[object Array]",YK="[object Function]",XK="[object ArrayBuffer]",jh="[object Object]",QK="[object Error]",ZK="[object DataView]",e9="[object Uint8Array]",t9="[object Uint8ClampedArray]",r9="[object Uint16Array]",n9="[object Uint32Array]",o9="[object BigUint64Array]",i9="[object Int8Array]",a9="[object Int16Array]",s9="[object Int32Array]",l9="[object BigInt64Array]",u9="[object Float32Array]",c9="[object Float64Array]";function an(e){if(!e||typeof e!="object")return!1;let t=Object.getPrototypeOf(e);return t===null||t===Object.prototype||Object.getPrototypeOf(t)===null?Object.prototype.toString.call(e)==="[object Object]":!1}s(an,"isPlainObject");function Ha(e,t){let r={},n=Object.keys(e);for(let o=0;o<n.length;o++){let i=n[o],a=e[i];r[i]=t(a,i,e)}return r}s(Ha,"mapValues");function D1(e,t){let r={},n=Object.keys(e);for(let o=0;o<n.length;o++){let i=n[o],a=e[i];t(a,i)&&(r[i]=a)}return r}s(D1,"pickBy");function B1(e,t){return e===t||Number.isNaN(e)&&Number.isNaN(t)}s(B1,"eq");function U1(e,t,r){return ga(e,t,void 0,void 0,void 0,void 0,r)}s(U1,"isEqualWith");function ga(e,t,r,n,o,i,a){let l=a(e,t,r,n,o,i);if(l!==void 0)return l;if(typeof e==typeof t)switch(typeof e){case"bigint":case"string":case"boolean":case"symbol":case"undefined":return e===t;case"number":return e===t||Object.is(e,t);case"function":return e===t;case"object":return Ca(e,t,i,a)}return Ca(e,t,i,a)}s(ga,"isEqualWithImpl");function Ca(e,t,r,n){if(Object.is(e,t))return!0;let o=Om(e),i=Om(t);if(o===yx&&(o=jh),i===yx&&(i=jh),o!==i)return!1;switch(o){case UK:return e.toString()===t.toString();case HK:{let u=e.valueOf(),c=t.valueOf();return B1(u,c)}case VK:case zK:case JK:return Object.is(e.valueOf(),t.valueOf());case BK:return e.source===t.source&&e.flags===t.flags;case YK:return e===t}r=r??new Map;let a=r.get(e),l=r.get(t);if(a!=null&&l!=null)return a===t;r.set(e,t),r.set(t,e);try{switch(o){case WK:{if(e.size!==t.size)return!1;for(let[u,c]of e.entries())if(!t.has(u)||!ga(c,t.get(u),u,e,t,r,n))return!1;return!0}case GK:{if(e.size!==t.size)return!1;let u=Array.from(e.values()),c=Array.from(t.values());for(let d=0;d<u.length;d++){let p=u[d],h=c.findIndex(f=>ga(p,f,void 0,e,t,r,n));if(h===-1)return!1;c.splice(h,1)}return!0}case KK:case e9:case t9:case r9:case n9:case o9:case i9:case a9:case s9:case l9:case u9:case c9:{if(typeof Buffer<"u"&&Buffer.isBuffer(e)!==Buffer.isBuffer(t)||e.length!==t.length)return!1;for(let u=0;u<e.length;u++)if(!ga(e[u],t[u],u,e,t,r,n))return!1;return!0}case XK:return e.byteLength!==t.byteLength?!1:Ca(new Uint8Array(e),new Uint8Array(t),r,n);case ZK:return e.byteLength!==t.byteLength||e.byteOffset!==t.byteOffset?!1:Ca(new Uint8Array(e),new Uint8Array(t),r,n);case QK:return e.name===t.name&&e.message===t.message;case jh:{if(!(Ca(e.constructor,t.constructor,r,n)||an(e)&&an(t)))return!1;let u=[...Object.keys(e),...Pm(e)],c=[...Object.keys(t),...Pm(t)];if(u.length!==c.length)return!1;for(let d=0;d<u.length;d++){let p=u[d],h=e[p];if(!Object.hasOwn(t,p))return!1;let f=t[p];if(!ga(h,f,p,e,t,r,n))return!1}return!0}default:return!1}}finally{r.delete(e),r.delete(t)}}s(Ca,"areObjectsEqual");function H1(e,t){return U1(e,t,F1)}s(H1,"isEqual");var $h=_t(k_(),1),V1={};fr(V1,{argsEnhancers:()=>f9});var J1=s((e,t)=>typeof t[e]>"u"&&!(e in t),"isInInitialArgs"),d9=s(e=>{let{initialArgs:t,argTypes:r,id:n,parameters:{actions:o}}=e;if(!o||o.disable||!o.argTypesRegex||!r)return{};let i=new RegExp(o.argTypesRegex);return Object.entries(r).filter(([a])=>!!i.test(a)).reduce((a,[l,u])=>(J1(l,t)&&(a[l]=Os(l,{implicit:!0,id:n})),a),{})},"inferActionsFromArgTypesRegex"),p9=s(e=>{let{initialArgs:t,argTypes:r,parameters:{actions:n}}=e;return n!=null&&n.disable||!r?{}:Object.entries(r).filter(([o,i])=>!!i.action).reduce((o,[i,a])=>(J1(i,t)&&(o[i]=Os(typeof a.action=="string"?a.action:i)),o),{})},"addActionsFromArgTypes"),f9=[p9,d9],z1={};fr(z1,{loaders:()=>Nee});var W1={};fr(W1,{buildQueries:()=>dZ,clearAllMocks:()=>CE,configure:()=>pZ,createEvent:()=>fZ,expect:()=>Aee,findAllByAltText:()=>mZ,findAllByDisplayValue:()=>yZ,findAllByLabelText:()=>gZ,findAllByPlaceholderText:()=>bZ,findAllByRole:()=>vZ,findAllByTestId:()=>wZ,findAllByText:()=>EZ,findAllByTitle:()=>SZ,findByAltText:()=>xZ,findByDisplayValue:()=>TZ,findByLabelText:()=>CZ,findByPlaceholderText:()=>_Z,findByRole:()=>PZ,findByTestId:()=>OZ,findByText:()=>AZ,findByTitle:()=>RZ,fireEvent:()=>hZ,fn:()=>xE,getAllByAltText:()=>NZ,getAllByDisplayValue:()=>IZ,getAllByLabelText:()=>kZ,getAllByPlaceholderText:()=>MZ,getAllByRole:()=>qZ,getAllByTestId:()=>jZ,getAllByText:()=>$Z,getAllByTitle:()=>LZ,getByAltText:()=>FZ,getByDisplayValue:()=>DZ,getByLabelText:()=>BZ,getByPlaceholderText:()=>UZ,getByRole:()=>HZ,getByTestId:()=>VZ,getByText:()=>JZ,getByTitle:()=>zZ,getConfig:()=>WZ,getDefaultNormalizer:()=>GZ,getElementError:()=>KZ,getNodeText:()=>YZ,getQueriesForElement:()=>XZ,getRoles:()=>QZ,getSuggestedQuery:()=>ZZ,isInaccessible:()=>eee,isMockFunction:()=>Pa,logDOM:()=>tee,logRoles:()=>ree,mocked:()=>PM,mocks:()=>Iu,onMockCall:()=>SE,prettyDOM:()=>nee,prettyFormat:()=>Pee,queries:()=>oee,queryAllByAltText:()=>iee,queryAllByAttribute:()=>aee,queryAllByDisplayValue:()=>see,queryAllByLabelText:()=>lee,queryAllByPlaceholderText:()=>uee,queryAllByRole:()=>cee,queryAllByTestId:()=>dee,queryAllByText:()=>pee,queryAllByTitle:()=>fee,queryByAltText:()=>hee,queryByAttribute:()=>mee,queryByDisplayValue:()=>yee,queryByLabelText:()=>gee,queryByPlaceholderText:()=>bee,queryByRole:()=>vee,queryByTestId:()=>wee,queryByText:()=>Eee,queryByTitle:()=>See,queryHelpers:()=>xee,resetAllMocks:()=>_E,restoreAllMocks:()=>PE,screen:()=>Tee,spyOn:()=>oQ,uninstrumentedUserEvent:()=>vF,userEvent:()=>Oee,waitFor:()=>Cee,waitForElementToBeRemoved:()=>_ee,within:()=>bF});var h9={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]},m9=Object.entries(h9);function Rp(e){return String(e)}s(Rp,"a");Rp.open="";Rp.close="";function G1(e=!1){let t=typeof process<"u"?process:void 0,r=(t==null?void 0:t.env)||{},n=(t==null?void 0:t.argv)||[];return!("NO_COLOR"in r||n.includes("--no-color"))&&("FORCE_COLOR"in r||n.includes("--color")||(t==null?void 0:t.platform)==="win32"||e&&r.TERM!=="dumb"||"CI"in r)||typeof window<"u"&&!!window.chrome}s(G1,"C");function K1(e=!1){let t=G1(e),r=s((a,l,u,c)=>{let d="",p=0;do d+=a.substring(p,c)+u,p=c+l.length,c=a.indexOf(l,p);while(~c);return d+a.substring(p)},"i"),n=s((a,l,u=a)=>{let c=s(d=>{let p=String(d),h=p.indexOf(l,a.length);return~h?a+r(p,l,u,h)+l:a+p+l},"o");return c.open=a,c.close=l,c},"g"),o={isColorSupported:t},i=s(a=>`\x1B[${a}m`,"d");for(let[a,l]of m9)o[a]=t?n(i(l[0]),i(l[1]),l[2]):Rp;return o}s(K1,"p");var Je=K1();function Vb(e,t){return t.forEach(function(r){r&&typeof r!="string"&&!Array.isArray(r)&&Object.keys(r).forEach(function(n){if(n!=="default"&&!(n in e)){var o=Object.getOwnPropertyDescriptor(r,n);Object.defineProperty(e,n,o.get?o:{enumerable:!0,get:s(function(){return r[n]},"get")})}})}),Object.freeze(e)}s(Vb,"_mergeNamespaces");function Y1(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}s(Y1,"getKeysOfEnumerableProperties");function ys(e,t,r,n,o,i,a=": "){let l="",u=0,c=e.next();if(!c.done){l+=t.spacingOuter;let d=r+t.indent;for(;!c.done;){if(l+=d,u++===t.maxWidth){l+="…";break}let p=i(c.value[0],t,d,n,o),h=i(c.value[1],t,d,n,o);l+=p+a+h,c=e.next(),c.done?t.min||(l+=","):l+=`,${t.spacingInner}`}l+=t.spacingOuter+r}return l}s(ys,"printIteratorEntries");function Np(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}s(Np,"printIteratorValues");function Al(e,t,r,n,o,i){let a="";e=e instanceof ArrayBuffer?new DataView(e):e;let l=s(c=>c instanceof DataView,"isDataView"),u=l(e)?e.byteLength:e.length;if(u>0){a+=t.spacingOuter;let c=r+t.indent;for(let d=0;d<u;d++){if(a+=c,d===t.maxWidth){a+="…";break}(l(e)||d in e)&&(a+=i(l(e)?e.getInt8(d):e[d],t,c,n,o)),d<u-1?a+=`,${t.spacingInner}`:t.min||(a+=",")}a+=t.spacingOuter+r}return a}s(Al,"printListItems");function Ip(e,t,r,n,o,i){let a="",l=Y1(e,t.compareKeys);if(l.length>0){a+=t.spacingOuter;let u=r+t.indent;for(let c=0;c<l.length;c++){let d=l[c],p=i(d,t,u,n,o),h=i(e[d],t,u,n,o);a+=`${u+p}: ${h}`,c<l.length-1?a+=`,${t.spacingInner}`:t.min||(a+=",")}a+=t.spacingOuter+r}return a}s(Ip,"printObjectProperties");var y9=typeof Symbol=="function"&&Symbol.for?Symbol.for("jest.asymmetricMatcher"):1267621,Lh=" ",g9=s((e,t,r,n,o,i)=>{let a=e.toString();if(a==="ArrayContaining"||a==="ArrayNotContaining")return++n>t.maxDepth?`[${a}]`:`${a+Lh}[${Al(e.sample,t,r,n,o,i)}]`;if(a==="ObjectContaining"||a==="ObjectNotContaining")return++n>t.maxDepth?`[${a}]`:`${a+Lh}{${Ip(e.sample,t,r,n,o,i)}}`;if(a==="StringMatching"||a==="StringNotMatching"||a==="StringContaining"||a==="StringNotContaining")return a+Lh+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()},"serialize$5"),b9=s(e=>e&&e.$$typeof===y9,"test$5"),v9={serialize:g9,test:b9},w9=" ",X1=new Set(["DOMStringMap","NamedNodeMap"]),E9=/^(?:HTML\w*Collection|NodeList)$/;function Q1(e){return X1.has(e)||E9.test(e)}s(Q1,"testName");var S9=s(e=>e&&e.constructor&&!!e.constructor.name&&Q1(e.constructor.name),"test$4");function Z1(e){return e.constructor.name==="NamedNodeMap"}s(Z1,"isNamedNodeMap");var x9=s((e,t,r,n,o,i)=>{let a=e.constructor.name;return++n>t.maxDepth?`[${a}]`:(t.min?"":a+w9)+(X1.has(a)?`{${Ip(Z1(e)?[...e].reduce((l,u)=>(l[u.name]=u.value,l),{}):{...e},t,r,n,o,i)}}`:`[${Al([...e],t,r,n,o,i)}]`)},"serialize$4"),T9={serialize:x9,test:S9};function Jb(e){return e.replaceAll("<","<").replaceAll(">",">")}s(Jb,"escapeHTML");function kp(e,t,r,n,o,i,a){let l=n+r.indent,u=r.colors;return e.map(c=>{let d=t[c],p=a(d,r,l,o,i);return typeof d!="string"&&(p.includes(`
|
|
173
|
-
`)&&(p=r.spacingOuter+l+p+r.spacingOuter+n),p=`{${p}}`),`${r.spacingInner+n+u.prop.open+c+u.prop.close}=${u.value.open}${p}${u.value.close}`}).join("")}s(kp,"printProps");function Mp(e,t,r,n,o,i){return e.map(a=>t.spacingOuter+r+(typeof a=="string"?zb(a,t):i(a,t,r,n,o))).join("")}s(Mp,"printChildren");function zb(e,t){let r=t.colors.content;return r.open+Jb(e)+r.close}s(zb,"printText");function eA(e,t){let r=t.colors.comment;return`${r.open}<!--${Jb(e)}-->${r.close}`}s(eA,"printComment");function qp(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}`}s(qp,"printElement");function jp(e,t){let r=t.colors.tag;return`${r.open}<${e}${r.close} …${r.open} />${r.close}`}s(jp,"printElementAsLeaf");var C9=1,tA=3,rA=8,nA=11,_9=/^(?:(?:HTML|SVG)\w*)?Element$/;function oA(e){try{return typeof e.hasAttribute=="function"&&e.hasAttribute("is")}catch{return!1}}s(oA,"testHasAttribute");function iA(e){let t=e.constructor.name,{nodeType:r,tagName:n}=e,o=typeof n=="string"&&n.includes("-")||oA(e);return r===C9&&(_9.test(t)||o)||r===tA&&t==="Text"||r===rA&&t==="Comment"||r===nA&&t==="DocumentFragment"}s(iA,"testNode");var P9=s(e=>{var t;return(e==null||(t=e.constructor)===null||t===void 0?void 0:t.name)&&iA(e)},"test$3");function aA(e){return e.nodeType===tA}s(aA,"nodeIsText");function sA(e){return e.nodeType===rA}s(sA,"nodeIsComment");function mc(e){return e.nodeType===nA}s(mc,"nodeIsFragment");var O9=s((e,t,r,n,o,i)=>{if(aA(e))return zb(e.data,t);if(sA(e))return eA(e.data,t);let a=mc(e)?"DocumentFragment":e.tagName.toLowerCase();return++n>t.maxDepth?jp(a,t):qp(a,kp(mc(e)?[]:Array.from(e.attributes,l=>l.name).sort(),mc(e)?{}:[...e.attributes].reduce((l,u)=>(l[u.name]=u.value,l),{}),t,r+t.indent,n,o,i),Mp(Array.prototype.slice.call(e.childNodes||e.children),t,r+t.indent,n,o,i),t,r)},"serialize$3"),A9={serialize:O9,test:P9},R9="@@__IMMUTABLE_ITERABLE__@@",N9="@@__IMMUTABLE_LIST__@@",I9="@@__IMMUTABLE_KEYED__@@",k9="@@__IMMUTABLE_MAP__@@",gx="@@__IMMUTABLE_ORDERED__@@",M9="@@__IMMUTABLE_RECORD__@@",q9="@@__IMMUTABLE_SEQ__@@",j9="@@__IMMUTABLE_SET__@@",$9="@@__IMMUTABLE_STACK__@@",Va=s(e=>`Immutable.${e}`,"getImmutableName"),$p=s(e=>`[${e}]`,"printAsLeaf"),Rl=" ",bx="…";function lA(e,t,r,n,o,i,a){return++n>t.maxDepth?$p(Va(a)):`${Va(a)+Rl}{${ys(e.entries(),t,r,n,o,i)}}`}s(lA,"printImmutableEntries");function uA(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}}}}s(uA,"getRecordEntries");function cA(e,t,r,n,o,i){let a=Va(e._name||"Record");return++n>t.maxDepth?$p(a):`${a+Rl}{${ys(uA(e),t,r,n,o,i)}}`}s(cA,"printImmutableRecord");function dA(e,t,r,n,o,i){let a=Va("Seq");return++n>t.maxDepth?$p(a):e[I9]?`${a+Rl}{${e._iter||e._object?ys(e.entries(),t,r,n,o,i):bx}}`:`${a+Rl}[${e._iter||e._array||e._collection||e._iterable?Np(e.values(),t,r,n,o,i):bx}]`}s(dA,"printImmutableSeq");function yc(e,t,r,n,o,i,a){return++n>t.maxDepth?$p(Va(a)):`${Va(a)+Rl}[${Np(e.values(),t,r,n,o,i)}]`}s(yc,"printImmutableValues");var L9=s((e,t,r,n,o,i)=>e[k9]?lA(e,t,r,n,o,i,e[gx]?"OrderedMap":"Map"):e[N9]?yc(e,t,r,n,o,i,"List"):e[j9]?yc(e,t,r,n,o,i,e[gx]?"OrderedSet":"Set"):e[$9]?yc(e,t,r,n,o,i,"Stack"):e[q9]?dA(e,t,r,n,o,i):cA(e,t,r,n,o,i),"serialize$2"),F9=s(e=>e&&(e[R9]===!0||e[M9]===!0),"test$2"),D9={serialize:L9,test:F9};function Wb(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}s(Wb,"getDefaultExportFromCjs");var vx={exports:{}},Ze={},wx;function pA(){if(wx)return Ze;wx=1;var e=Symbol.for("react.transitional.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.consumer"),a=Symbol.for("react.context"),l=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),c=Symbol.for("react.suspense_list"),d=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),h=Symbol.for("react.view_transition"),f=Symbol.for("react.client.reference");function m(y){if(typeof y=="object"&&y!==null){var g=y.$$typeof;switch(g){case e:switch(y=y.type,y){case r:case o:case n:case u:case c:case h:return y;default:switch(y=y&&y.$$typeof,y){case a:case l:case p:case d:return y;case i:return y;default:return g}}case t:return g}}}return s(m,"typeOf"),Ze.ContextConsumer=i,Ze.ContextProvider=a,Ze.Element=e,Ze.ForwardRef=l,Ze.Fragment=r,Ze.Lazy=p,Ze.Memo=d,Ze.Portal=t,Ze.Profiler=o,Ze.StrictMode=n,Ze.Suspense=u,Ze.SuspenseList=c,Ze.isContextConsumer=function(y){return m(y)===i},Ze.isContextProvider=function(y){return m(y)===a},Ze.isElement=function(y){return typeof y=="object"&&y!==null&&y.$$typeof===e},Ze.isForwardRef=function(y){return m(y)===l},Ze.isFragment=function(y){return m(y)===r},Ze.isLazy=function(y){return m(y)===p},Ze.isMemo=function(y){return m(y)===d},Ze.isPortal=function(y){return m(y)===t},Ze.isProfiler=function(y){return m(y)===o},Ze.isStrictMode=function(y){return m(y)===n},Ze.isSuspense=function(y){return m(y)===u},Ze.isSuspenseList=function(y){return m(y)===c},Ze.isValidElementType=function(y){return typeof y=="string"||typeof y=="function"||y===r||y===o||y===n||y===u||y===c||typeof y=="object"&&y!==null&&(y.$$typeof===p||y.$$typeof===d||y.$$typeof===a||y.$$typeof===i||y.$$typeof===l||y.$$typeof===f||y.getModuleId!==void 0)},Ze.typeOf=m,Ze}s(pA,"requireReactIs_production");var Ex;function fA(){return Ex||(Ex=1,vx.exports=pA()),vx.exports}s(fA,"requireReactIs$1");var hA=fA(),B9=Wb(hA),U9=Vb({__proto__:null,default:B9},[hA]),Sx={exports:{}},Ge={},xx;function mA(){if(xx)return Ge;xx=1;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"),d=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),f=Symbol.for("react.offscreen"),m;m=Symbol.for("react.module.reference");function y(g){if(typeof g=="object"&&g!==null){var b=g.$$typeof;switch(b){case e:switch(g=g.type,g){case r:case o:case n:case c:case d:return g;default:switch(g=g&&g.$$typeof,g){case l:case a:case u:case h:case p:case i:return g;default:return b}}case t:return b}}}return s(y,"v"),Ge.ContextConsumer=a,Ge.ContextProvider=i,Ge.Element=e,Ge.ForwardRef=u,Ge.Fragment=r,Ge.Lazy=h,Ge.Memo=p,Ge.Portal=t,Ge.Profiler=o,Ge.StrictMode=n,Ge.Suspense=c,Ge.SuspenseList=d,Ge.isAsyncMode=function(){return!1},Ge.isConcurrentMode=function(){return!1},Ge.isContextConsumer=function(g){return y(g)===a},Ge.isContextProvider=function(g){return y(g)===i},Ge.isElement=function(g){return typeof g=="object"&&g!==null&&g.$$typeof===e},Ge.isForwardRef=function(g){return y(g)===u},Ge.isFragment=function(g){return y(g)===r},Ge.isLazy=function(g){return y(g)===h},Ge.isMemo=function(g){return y(g)===p},Ge.isPortal=function(g){return y(g)===t},Ge.isProfiler=function(g){return y(g)===o},Ge.isStrictMode=function(g){return y(g)===n},Ge.isSuspense=function(g){return y(g)===c},Ge.isSuspenseList=function(g){return y(g)===d},Ge.isValidElementType=function(g){return typeof g=="string"||typeof g=="function"||g===r||g===o||g===n||g===c||g===d||g===f||typeof g=="object"&&g!==null&&(g.$$typeof===h||g.$$typeof===p||g.$$typeof===i||g.$$typeof===a||g.$$typeof===u||g.$$typeof===m||g.getModuleId!==void 0)},Ge.typeOf=y,Ge}s(mA,"requireReactIs_production_min");var Tx;function yA(){return Tx||(Tx=1,Sx.exports=mA()),Sx.exports}s(yA,"requireReactIs");var gA=yA(),H9=Wb(gA),V9=Vb({__proto__:null,default:H9},[gA]),J9=["isAsyncMode","isConcurrentMode","isContextConsumer","isContextProvider","isElement","isForwardRef","isFragment","isLazy","isMemo","isPortal","isProfiler","isStrictMode","isSuspense","isSuspenseList","isValidElementType"],ai=Object.fromEntries(J9.map(e=>[e,t=>V9[e](t)||U9[e](t)]));function Gb(e,t=[]){if(Array.isArray(e))for(let r of e)Gb(r,t);else e!=null&&e!==!1&&e!==""&&t.push(e);return t}s(Gb,"getChildren");function Am(e){let t=e.type;if(typeof t=="string")return t;if(typeof t=="function")return t.displayName||t.name||"Unknown";if(ai.isFragment(e))return"React.Fragment";if(ai.isSuspense(e))return"React.Suspense";if(typeof t=="object"&&t!==null){if(ai.isContextProvider(e))return"Context.Provider";if(ai.isContextConsumer(e))return"Context.Consumer";if(ai.isForwardRef(e)){if(t.displayName)return t.displayName;let r=t.render.displayName||t.render.name||"";return r===""?"ForwardRef":`ForwardRef(${r})`}if(ai.isMemo(e)){let r=t.displayName||t.type.displayName||t.type.name||"";return r===""?"Memo":`Memo(${r})`}}return"UNDEFINED"}s(Am,"getType");function bA(e){let{props:t}=e;return Object.keys(t).filter(r=>r!=="children"&&t[r]!==void 0).sort()}s(bA,"getPropKeys$1");var z9=s((e,t,r,n,o,i)=>++n>t.maxDepth?jp(Am(e),t):qp(Am(e),kp(bA(e),e.props,t,r+t.indent,n,o,i),Mp(Gb(e.props.children),t,r+t.indent,n,o,i),t,r),"serialize$1"),W9=s(e=>e!=null&&ai.isElement(e),"test$1"),G9={serialize:z9,test:W9},K9=typeof Symbol=="function"&&Symbol.for?Symbol.for("react.test.json"):245830487;function vA(e){let{props:t}=e;return t?Object.keys(t).filter(r=>t[r]!==void 0).sort():[]}s(vA,"getPropKeys");var Y9=s((e,t,r,n,o,i)=>++n>t.maxDepth?jp(e.type,t):qp(e.type,e.props?kp(vA(e),e.props,t,r+t.indent,n,o,i):"",e.children?Mp(e.children,t,r+t.indent,n,o,i):"",t,r),"serialize"),X9=s(e=>e&&e.$$typeof===K9,"test"),Q9={serialize:Y9,test:X9},wA=Object.prototype.toString,Z9=Date.prototype.toISOString,eY=Error.prototype.toString,Cx=RegExp.prototype.toString;function nl(e){return typeof e.constructor=="function"&&e.constructor.name||"Object"}s(nl,"getConstructorName");function EA(e){return typeof window<"u"&&e===window}s(EA,"isWindow");var tY=/^Symbol\((.*)\)(.*)$/,rY=/\n/g,SA=class extends Error{constructor(t,r){super(t),this.stack=r,this.name=this.constructor.name}};s(SA,"PrettyFormatPluginError");var xA=SA;function TA(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]"}s(TA,"isToStringedArrayType");function CA(e){return Object.is(e,-0)?"-0":String(e)}s(CA,"printNumber");function _A(e){return`${e}n`}s(_A,"printBigInt");function Rm(e,t){return t?`[Function ${e.name||"anonymous"}]`:"[Function]"}s(Rm,"printFunction");function Nm(e){return String(e).replace(tY,"Symbol($1)")}s(Nm,"printSymbol");function Im(e){return`[${eY.call(e)}]`}s(Im,"printError");function Kb(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 CA(e);if(o==="bigint")return _A(e);if(o==="string")return n?`"${e.replaceAll(/"|\\/g,"\\$&")}"`:`"${e}"`;if(o==="function")return Rm(e,t);if(o==="symbol")return Nm(e);let i=wA.call(e);return i==="[object WeakMap]"?"WeakMap {}":i==="[object WeakSet]"?"WeakSet {}":i==="[object Function]"||i==="[object GeneratorFunction]"?Rm(e,t):i==="[object Symbol]"?Nm(e):i==="[object Date]"?Number.isNaN(+e)?"Date { NaN }":Z9.call(e):i==="[object Error]"?Im(e):i==="[object RegExp]"?r?Cx.call(e).replaceAll(/[$()*+.?[\\\]^{|}]/g,"\\$&"):Cx.call(e):e instanceof Error?Im(e):null}s(Kb,"printBasicValue");function Yb(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 Vn(e.toJSON(),t,r,n,o,!0);let u=wA.call(e);return u==="[object Arguments]"?a?"[Arguments]":`${l?"":"Arguments "}[${Al(e,t,r,n,o,Vn)}]`:TA(u)?a?`[${e.constructor.name}]`:`${l||!t.printBasicPrototype&&e.constructor.name==="Array"?"":`${e.constructor.name} `}[${Al(e,t,r,n,o,Vn)}]`:u==="[object Map]"?a?"[Map]":`Map {${ys(e.entries(),t,r,n,o,Vn," => ")}}`:u==="[object Set]"?a?"[Set]":`Set {${Np(e.values(),t,r,n,o,Vn)}}`:a||EA(e)?`[${nl(e)}]`:`${l||!t.printBasicPrototype&&nl(e)==="Object"?"":`${nl(e)} `}{${Ip(e,t,r,n,o,Vn)}}`}s(Yb,"printComplexValue");var nY={test:s(e=>e&&e instanceof Error,"test"),serialize(e,t,r,n,o,i){if(o.includes(e))return"[Circular]";o=[...o,e];let a=++n>t.maxDepth,{message:l,cause:u,...c}=e,d={message:l,...typeof u<"u"?{cause:u}:{},...e instanceof AggregateError?{errors:e.errors}:{},...c},p=e.name!=="Error"?e.name:nl(e);return a?`[${p}]`:`${p} {${ys(Object.entries(d).values(),t,r,n,o,i)}}`}};function PA(e){return e.serialize!=null}s(PA,"isNewPlugin");function Xb(e,t,r,n,o,i){let a;try{a=PA(e)?e.serialize(t,r,n,o,i,Vn):e.print(t,l=>Vn(l,r,n,o,i),l=>{let u=n+r.indent;return u+l.replaceAll(rY,`
|
|
174
|
-
${u}`)},{edgeSpacing:r.spacingOuter,min:r.min,spacing:r.spacingInner},r.colors)}catch(l){throw new xA(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}s(Xb,"printPlugin");function Qb(e,t){for(let r of e)try{if(r.test(t))return r}catch(n){throw new xA(n.message,n.stack)}return null}s(Qb,"findPlugin");function Vn(e,t,r,n,o,i){let a=Qb(t.plugins,e);if(a!==null)return Xb(a,e,t,r,n,o);let l=Kb(e,t.printFunctionName,t.escapeRegex,t.escapeString);return l!==null?l:Yb(e,t,r,n,o,i)}s(Vn,"printer");var Zb={comment:"gray",content:"reset",prop:"yellow",tag:"cyan",value:"green"},OA=Object.keys(Zb),Zr={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:Zb};function AA(e){for(let t of Object.keys(e))if(!Object.prototype.hasOwnProperty.call(Zr,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.')}s(AA,"validateOptions");function RA(){return OA.reduce((e,t)=>{let r=Zb[t],n=r&&Je[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))}s(RA,"getColorsHighlight");function NA(){return OA.reduce((e,t)=>(e[t]={close:"",open:""},e),Object.create(null))}s(NA,"getColorsEmpty");function ev(e){return(e==null?void 0:e.printFunctionName)??Zr.printFunctionName}s(ev,"getPrintFunctionName");function tv(e){return(e==null?void 0:e.escapeRegex)??Zr.escapeRegex}s(tv,"getEscapeRegex");function rv(e){return(e==null?void 0:e.escapeString)??Zr.escapeString}s(rv,"getEscapeString");function km(e){return{callToJSON:(e==null?void 0:e.callToJSON)??Zr.callToJSON,colors:e!=null&&e.highlight?RA():NA(),compareKeys:typeof(e==null?void 0:e.compareKeys)=="function"||(e==null?void 0:e.compareKeys)===null?e.compareKeys:Zr.compareKeys,escapeRegex:tv(e),escapeString:rv(e),indent:e!=null&&e.min?"":IA((e==null?void 0:e.indent)??Zr.indent),maxDepth:(e==null?void 0:e.maxDepth)??Zr.maxDepth,maxWidth:(e==null?void 0:e.maxWidth)??Zr.maxWidth,min:(e==null?void 0:e.min)??Zr.min,plugins:(e==null?void 0:e.plugins)??Zr.plugins,printBasicPrototype:(e==null?void 0:e.printBasicPrototype)??!0,printFunctionName:ev(e),spacingInner:e!=null&&e.min?" ":`
|
|
175
|
-
`,spacingOuter:e!=null&&e.min?"":`
|
|
176
|
-
`}}s(km,"getConfig");function IA(e){return Array.from({length:e+1}).join(" ")}s(IA,"createIndent");function nn(e,t){if(t&&(AA(t),t.plugins)){let n=Qb(t.plugins,e);if(n!==null)return Xb(n,e,km(t),"",0,[])}let r=Kb(e,ev(t),tv(t),rv(t));return r!==null?r:Yb(e,km(t),"",0,[])}s(nn,"format");var nv={AsymmetricMatcher:v9,DOMCollection:T9,DOMElement:A9,Immutable:D9,ReactElement:G9,ReactTestComponent:Q9,Error:nY},_x={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"]},oY={special:"cyan",number:"yellow",bigint:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",symbol:"green",date:"magenta",regexp:"red"},Ja="…";function kA(e,t){let r=_x[oY[t]]||_x[t]||"";return r?`\x1B[${r[0]}m${String(e)}\x1B[${r[1]}m`:String(e)}s(kA,"colorise");function MA({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}={},d){let p={showHidden:!!e,depth:Number(t),colors:!!r,customInspect:!!n,showProxy:!!o,maxArrayLength:Number(i),breakLength:Number(a),truncate:Number(u),seen:l,inspect:d,stylize:c};return p.colors&&(p.stylize=kA),p}s(MA,"normaliseOptions");function qA(e){return e>="\uD800"&&e<="\uDBFF"}s(qA,"isHighSurrogate");function lo(e,t,r=Ja){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&&qA(e[i-1])&&(i=i-1),`${e.slice(0,i)}${r}`}return e}s(lo,"truncate");function zr(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 d=c+1===e.length,p=c+2===e.length;u=`${Ja}(${e.length-c})`;let h=e[c];t.truncate=i-a.length-(d?0:n.length);let f=l||r(h,t)+(d?"":n),m=a.length+f.length,y=m+u.length;if(d&&m>i&&a.length+u.length<=i||!d&&!p&&y>i||(l=d?"":r(e[c+1],t)+(p?"":n),!d&&p&&y>i&&m+l.length>i))break;if(a+=f,!d&&!p&&m+l.length>=i){u=`${Ja}(${e.length-c-1})`;break}u=""}return`${a}${u}`}s(zr,"inspectList");function jA(e){return e.match(/^[a-zA-Z_][a-zA-Z_0-9]*$/)?e:JSON.stringify(e).replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'")}s(jA,"quoteComplexKey");function za([e,t],r){return r.truncate-=2,typeof e=="string"?e=jA(e):typeof e!="number"&&(e=`[${r.inspect(e,r)}]`),r.truncate-=e.length,t=r.inspect(t,r),`${e}: ${t}`}s(za,"inspectProperty");function $A(e,t){let r=Object.keys(e).slice(e.length);if(!e.length&&!r.length)return"[]";t.truncate-=4;let n=zr(e,t);t.truncate-=n.length;let o="";return r.length&&(o=zr(r.map(i=>[i,e[i]]),t,za)),`[ ${n}${o?`, ${o}`:""} ]`}s($A,"inspectArray");var iY=s(e=>typeof Buffer=="function"&&e instanceof Buffer?"Buffer":e[Symbol.toStringTag]?e[Symbol.toStringTag]:e.constructor.name,"getArrayName");function hn(e,t){let r=iY(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(lo(e[a],t.truncate),"number")}${a===e.length-1?"":", "}`;if(t.truncate-=l.length,e[a]!==e.length&&t.truncate<=3){o+=`${Ja}(${e.length-e[a]+1})`;break}o+=l}let i="";return n.length&&(i=zr(n.map(a=>[a,e[a]]),t,za)),`${r}[ ${o}${i?`, ${i}`:""} ]`}s(hn,"inspectTypedArray");function LA(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${lo(n[1],t.truncate-o.length-1)}`,"date")}s(LA,"inspectDate");function Mm(e,t){let r=e[Symbol.toStringTag]||"Function",n=e.name;return n?t.stylize(`[${r} ${lo(n,t.truncate-11)}]`,"special"):t.stylize(`[${r}]`,"special")}s(Mm,"inspectFunction");function FA([e,t],r){return r.truncate-=4,e=r.inspect(e,r),r.truncate-=e.length,t=r.inspect(t,r),`${e} => ${t}`}s(FA,"inspectMapEntry");function DA(e){let t=[];return e.forEach((r,n)=>{t.push([n,r])}),t}s(DA,"mapToEntries");function BA(e,t){return e.size===0?"Map{}":(t.truncate-=7,`Map{ ${zr(DA(e),t,FA)} }`)}s(BA,"inspectMap");var aY=Number.isNaN||(e=>e!==e);function qm(e,t){return aY(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(lo(String(e),t.truncate),"number")}s(qm,"inspectNumber");function jm(e,t){let r=lo(e.toString(),t.truncate-1);return r!==Ja&&(r+="n"),t.stylize(r,"bigint")}s(jm,"inspectBigInt");function UA(e,t){let r=e.toString().split("/")[2],n=t.truncate-(2+r.length),o=e.source;return t.stylize(`/${lo(o,n)}/${r}`,"regexp")}s(UA,"inspectRegExp");function HA(e){let t=[];return e.forEach(r=>{t.push(r)}),t}s(HA,"arrayFromSet");function VA(e,t){return e.size===0?"Set{}":(t.truncate-=7,`Set{ ${zr(HA(e),t)} }`)}s(VA,"inspectSet");var Px=new RegExp("['\\u0000-\\u001f\\u007f-\\u009f\\u00ad\\u0600-\\u0604\\u070f\\u17b4\\u17b5\\u200c-\\u200f\\u2028-\\u202f\\u2060-\\u206f\\ufeff\\ufff0-\\uffff]","g"),sY={"\b":"\\b"," ":"\\t","\n":"\\n","\f":"\\f","\r":"\\r","'":"\\'","\\":"\\\\"},lY=16;function JA(e){return sY[e]||`\\u${`0000${e.charCodeAt(0).toString(lY)}`.slice(-4)}`}s(JA,"escape");function $m(e,t){return Px.test(e)&&(e=e.replace(Px,JA)),t.stylize(`'${lo(e,t.truncate-2)}'`,"string")}s($m,"inspectString");function Lm(e){return"description"in Symbol.prototype?e.description?`Symbol(${e.description})`:"Symbol()":e.toString()}s(Lm,"inspectSymbol");var zA=s(()=>"Promise{…}","getPromiseValue");try{let{getPromiseDetails:e,kPending:t,kRejected:r}=process.binding("util");Array.isArray(e(Promise.resolve()))&&(zA=s((n,o)=>{let[i,a]=e(n);return i===t?"Promise{<pending>}":`Promise${i===r?"!":""}{${o.inspect(a,o)}}`},"getPromiseValue"))}catch{}var uY=zA;function ol(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.includes(e))return"[Circular]";t.seen.push(e);let o=zr(r.map(l=>[l,e[l]]),t,za),i=zr(n.map(l=>[l,e[l]]),t,za);t.seen.pop();let a="";return o&&i&&(a=", "),`{ ${o}${a}${i} }`}s(ol,"inspectObject");var Fh=typeof Symbol<"u"&&Symbol.toStringTag?Symbol.toStringTag:!1;function WA(e,t){let r="";return Fh&&Fh in e&&(r=e[Fh]),r=r||e.constructor.name,(!r||r==="_class")&&(r="<Anonymous Class>"),t.truncate-=r.length,`${r}${ol(e,t)}`}s(WA,"inspectClass");function GA(e,t){return e.length===0?"Arguments[]":(t.truncate-=13,`Arguments[ ${zr(e,t)} ]`)}s(GA,"inspectArguments");var cY=["stack","line","column","name","message","fileName","lineNumber","columnNumber","number","description","cause"];function KA(e,t){let r=Object.getOwnPropertyNames(e).filter(a=>cY.indexOf(a)===-1),n=e.name;t.truncate-=n.length;let o="";if(typeof e.message=="string"?o=lo(e.message,t.truncate):r.unshift("message"),o=o?`: ${o}`:"",t.truncate-=o.length+5,t.seen=t.seen||[],t.seen.includes(e))return"[Circular]";t.seen.push(e);let i=zr(r.map(a=>[a,e[a]]),t,za);return`${n}${o}${i?` { ${i} }`:""}`}s(KA,"inspectObject");function YA([e,t],r){return r.truncate-=3,t?`${r.stylize(String(e),"yellow")}=${r.stylize(`"${t}"`,"string")}`:`${r.stylize(String(e),"yellow")}`}s(YA,"inspectAttribute");function Jc(e,t){return zr(e,t,ov,`
|
|
177
|
-
`)}s(Jc,"inspectHTMLCollection");function ov(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+=zr(r.map(d=>[d,e.getAttribute(d)]),t,YA," ")),t.truncate-=l.length;let u=t.truncate,c=Jc(e.children,t);return c&&c.length>u&&(c=`${Ja}(${e.children.length})`),`${o}${l}${i}${c}${a}`}s(ov,"inspectHTML");var dY=typeof Symbol=="function"&&typeof Symbol.for=="function",Dh=dY?Symbol.for("chai/inspect"):"@@chai/inspect",ba=!1;try{let e=cV();ba=e.inspect?e.inspect.custom:!1}catch{ba=!1}var Ox=new WeakMap,Ax={},Rx={undefined:s((e,t)=>t.stylize("undefined","undefined"),"undefined"),null:s((e,t)=>t.stylize("null","null"),"null"),boolean:s((e,t)=>t.stylize(String(e),"boolean"),"boolean"),Boolean:s((e,t)=>t.stylize(String(e),"boolean"),"Boolean"),number:qm,Number:qm,bigint:jm,BigInt:jm,string:$m,String:$m,function:Mm,Function:Mm,symbol:Lm,Symbol:Lm,Array:$A,Date:LA,Map:BA,Set:VA,RegExp:UA,Promise:uY,WeakSet:s((e,t)=>t.stylize("WeakSet{…}","special"),"WeakSet"),WeakMap:s((e,t)=>t.stylize("WeakMap{…}","special"),"WeakMap"),Arguments:GA,Int8Array:hn,Uint8Array:hn,Uint8ClampedArray:hn,Int16Array:hn,Uint16Array:hn,Int32Array:hn,Uint32Array:hn,Float32Array:hn,Float64Array:hn,Generator:s(()=>"","Generator"),DataView:s(()=>"","DataView"),ArrayBuffer:s(()=>"","ArrayBuffer"),Error:KA,HTMLCollection:Jc,NodeList:Jc},pY=s((e,t,r)=>Dh in e&&typeof e[Dh]=="function"?e[Dh](t):ba&&ba in e&&typeof e[ba]=="function"?e[ba](t.depth,t):"inspect"in e&&typeof e.inspect=="function"?e.inspect(t.depth,t):"constructor"in e&&Ox.has(e.constructor)?Ox.get(e.constructor)(e,t):Ax[r]?Ax[r](e,t):"","inspectCustom"),fY=Object.prototype.toString;function Nl(e,t={}){let r=MA(t,Nl),{customInspect:n}=r,o=e===null?"null":typeof e;if(o==="object"&&(o=fY.call(e).slice(8,-1)),o in Rx)return Rx[o](e,r);if(n&&e){let a=pY(e,r,o);if(a)return typeof a=="string"?a:Nl(a,r)}let i=e?Object.getPrototypeOf(e):!1;return i===Object.prototype||i===null?ol(e,r):e&&typeof HTMLElement=="function"&&e instanceof HTMLElement?ov(e,r):"constructor"in e?e.constructor!==Object?WA(e,r):ol(e,r):e===Object(e)?ol(e,r):r.stylize(String(e),o)}s(Nl,"inspect");var{AsymmetricMatcher:hY,DOMCollection:mY,DOMElement:yY,Immutable:gY,ReactElement:bY,ReactTestComponent:vY}=nv,Nx=[vY,bY,yY,mY,gY,hY];function Wa(e,t=10,{maxLength:r,...n}={}){let o=r??1e4,i;try{i=nn(e,{maxDepth:t,escapeString:!1,plugins:Nx,...n})}catch{i=nn(e,{callToJSON:!1,maxDepth:t,escapeString:!1,plugins:Nx,...n})}return i.length>=o&&t>1?Wa(e,Math.floor(Math.min(t,Number.MAX_SAFE_INTEGER)/2),{maxLength:r,...n}):i}s(Wa,"stringify");var wY=/%[sdjifoOc%]/g;function XA(...e){if(typeof e[0]!="string"){let i=[];for(let a=0;a<e.length;a++)i.push(ua(e[a],{depth:0,colors:!1}));return i.join(" ")}let t=e.length,r=1,n=e[0],o=String(n).replace(wY,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?typeof a.toString=="function"&&a.toString!==Object.prototype.toString?a.toString():ua(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 ua(e[r++],{showHidden:!0,showProxy:!0});case"%O":return ua(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+=` ${ua(i)}`;return o}s(XA,"format");function ua(e,t={}){return t.truncate===0&&(t.truncate=Number.POSITIVE_INFINITY),Nl(e,t)}s(ua,"inspect");function QA(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}s(QA,"getDefaultExportFromCjs");function ZA(e){return e===Object.prototype||e===Function.prototype||e===RegExp.prototype}s(ZA,"isFinalObj");function zc(e){return Object.prototype.toString.apply(e).slice(8,-1)}s(zc,"getType");function eR(e,t){let r=typeof t=="function"?t:n=>t.add(n);Object.getOwnPropertyNames(e).forEach(r),Object.getOwnPropertySymbols(e).forEach(r)}s(eR,"collectOwnProperties");function iv(e){let t=new Set;return ZA(e)?[]:(eR(e,t),Array.from(t))}s(iv,"getOwnProperties");var tR={forceWritable:!1};function Fm(e,t=tR){return Wc(e,new WeakMap,t)}s(Fm,"deepClone");function Wc(e,t,r=tR){let n,o;if(t.has(e))return t.get(e);if(Array.isArray(e)){for(o=Array.from({length:n=e.length}),t.set(e,o);n--;)o[n]=Wc(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=iv(e);for(let a of i){let l=Object.getOwnPropertyDescriptor(e,a);if(!l)continue;let u=Wc(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}s(Wc,"clone");var ar=-1,zt=1,bt=0,rR=class{constructor(t,r){gt(this,0);gt(this,1);this[0]=t,this[1]=r}};s(rR,"Diff");var ft=rR;function nR(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}s(nR,"diff_commonPrefix");function av(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}s(av,"diff_commonSuffix");function Dm(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++)}}s(Dm,"diff_commonOverlap_");function oR(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]===bt?(r[n++]=i,a=u,l=c,u=0,c=0,o=e[i][1]):(e[i][0]===zt?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 ft(ar,o)),e[r[n-1]+1][0]=zt,n--,n--,i=n>0?r[n-1]:-1,a=0,l=0,u=0,c=0,o=null,t=!0)),i++;for(t&&sv(e),iR(e),i=1;i<e.length;){if(e[i-1][0]===ar&&e[i][0]===zt){let d=e[i-1][1],p=e[i][1],h=Dm(d,p),f=Dm(p,d);h>=f?(h>=d.length/2||h>=p.length/2)&&(e.splice(i,0,new ft(bt,p.substring(0,h))),e[i-1][1]=d.substring(0,d.length-h),e[i+1][1]=p.substring(h),i++):(f>=d.length/2||f>=p.length/2)&&(e.splice(i,0,new ft(bt,d.substring(0,f))),e[i-1][0]=zt,e[i-1][1]=p.substring(0,p.length-f),e[i+1][0]=ar,e[i+1][1]=d.substring(f),i++),i++}i++}}s(oR,"diff_cleanupSemantic");var Ix=/[^a-z0-9]/i,kx=/\s/,Mx=/[\r\n]/,EY=/\n\r?\n$/,SY=/^\r?\n\r?\n/;function iR(e){let t=1;for(;t<e.length-1;){if(e[t-1][0]===bt&&e[t+1][0]===bt){let r=e[t-1][1],n=e[t][1],o=e[t+1][1],i=av(r,n);if(i){let d=n.substring(n.length-i);r=r.substring(0,r.length-i),n=d+n.substring(0,n.length-i),o=d+o}let a=r,l=n,u=o,c=Hs(r,n)+Hs(n,o);for(;n.charAt(0)===o.charAt(0);){r+=n.charAt(0),n=n.substring(1)+o.charAt(0),o=o.substring(1);let d=Hs(r,n)+Hs(n,o);d>=c&&(c=d,a=r,l=n,u=o)}e[t-1][1]!==a&&(a?e[t-1][1]=a:(e.splice(t-1,1),t--),e[t][1]=l,u?e[t+1][1]=u:(e.splice(t+1,1),t--))}t++}}s(iR,"diff_cleanupSemanticLossless");function sv(e){e.push(new ft(bt,""));let t=0,r=0,n=0,o="",i="",a;for(;t<e.length;)switch(e[t][0]){case zt:n++,i+=e[t][1],t++;break;case ar:r++,o+=e[t][1],t++;break;case bt:r+n>1?(r!==0&&n!==0&&(a=nR(i,o),a!==0&&(t-r-n>0&&e[t-r-n-1][0]===bt?e[t-r-n-1][1]+=i.substring(0,a):(e.splice(0,0,new ft(bt,i.substring(0,a))),t++),i=i.substring(a),o=o.substring(a)),a=av(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 ft(ar,o)),t++),i.length&&(e.splice(t,0,new ft(zt,i)),t++),t++):t!==0&&e[t-1][0]===bt?(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]===bt&&e[t+1][0]===bt&&(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&&sv(e)}s(sv,"diff_cleanupMerge");function Hs(e,t){if(!e||!t)return 6;let r=e.charAt(e.length-1),n=t.charAt(0),o=r.match(Ix),i=n.match(Ix),a=o&&r.match(kx),l=i&&n.match(kx),u=a&&r.match(Mx),c=l&&n.match(Mx),d=u&&e.match(EY),p=c&&t.match(SY);return d||p?5:u||c?4:o&&!a&&l?3:a||l?2:o||i?1:0}s(Hs,"diff_cleanupSemanticScore_");var aR="Compared values have no visual difference.",xY="Compared values serialize to the same structure.\nPrinting internal object structure without calling `toJSON` instead.",Yu={},qx;function sR(){if(qx)return Yu;qx=1,Object.defineProperty(Yu,"__esModule",{value:!0}),Yu.default=h;let e="diff-sequences",t=0,r=s((f,m,y,g,b)=>{let v=0;for(;f<m&&y<g&&b(f,y);)f+=1,y+=1,v+=1;return v},"countCommonItemsF"),n=s((f,m,y,g,b)=>{let v=0;for(;f<=m&&y<=g&&b(m,g);)m-=1,g-=1,v+=1;return v},"countCommonItemsR"),o=s((f,m,y,g,b,v,S)=>{let T=0,P=-f,C=v[T],w=C;v[T]+=r(C+1,m,g+C-P+1,y,b);let E=f<S?f:S;for(T+=1,P+=2;T<=E;T+=1,P+=2){if(T!==f&&w<v[T])C=v[T];else if(C=w+1,m<=C)return T-1;w=v[T],v[T]=C+r(C+1,m,g+C-P+1,y,b)}return S},"extendPathsF"),i=s((f,m,y,g,b,v,S)=>{let T=0,P=f,C=v[T],w=C;v[T]-=n(m,C-1,y,g+C-P-1,b);let E=f<S?f:S;for(T+=1,P-=2;T<=E;T+=1,P-=2){if(T!==f&&v[T]<w)C=v[T];else if(C=w-1,C<m)return T-1;w=v[T],v[T]=C-n(m,C-1,y,g+C-P-1,b)}return S},"extendPathsR"),a=s((f,m,y,g,b,v,S,T,P,C,w)=>{let E=g-m,_=y-m,R=b-g-_,N=-R-(f-1),q=-R+(f-1),L=t,O=f<T?f:T;for(let k=0,M=-f;k<=O;k+=1,M+=2){let G=k===0||k!==f&&L<S[k],V=G?S[k]:L,oe=G?V:V+1,fe=E+oe-M,te=r(oe+1,y,fe+1,b,v),Y=oe+te;if(L=S[k],S[k]=Y,N<=M&&M<=q){let Q=(f-1-(M+R))/2;if(Q<=C&&P[Q]-1<=Y){let re=E+V-(G?M+1:M-1),ce=n(m,V,g,re,v),ie=V-ce,be=re-ce,we=ie+1,Ye=be+1;w.nChangePreceding=f-1,f-1===we+Ye-m-g?(w.aEndPreceding=m,w.bEndPreceding=g):(w.aEndPreceding=we,w.bEndPreceding=Ye),w.nCommonPreceding=ce,ce!==0&&(w.aCommonPreceding=we,w.bCommonPreceding=Ye),w.nCommonFollowing=te,te!==0&&(w.aCommonFollowing=oe+1,w.bCommonFollowing=fe+1);let We=Y+1,H=fe+te+1;return w.nChangeFollowing=f-1,f-1===y+b-We-H?(w.aStartFollowing=y,w.bStartFollowing=b):(w.aStartFollowing=We,w.bStartFollowing=H),!0}}}return!1},"extendOverlappablePathsF"),l=s((f,m,y,g,b,v,S,T,P,C,w)=>{let E=b-y,_=y-m,R=b-g-_,N=R-f,q=R+f,L=t,O=f<C?f:C;for(let k=0,M=f;k<=O;k+=1,M-=2){let G=k===0||k!==f&&P[k]<L,V=G?P[k]:L,oe=G?V:V-1,fe=E+oe-M,te=n(m,oe-1,g,fe-1,v),Y=oe-te;if(L=P[k],P[k]=Y,N<=M&&M<=q){let Q=(f+(M-R))/2;if(Q<=T&&Y-1<=S[Q]){let re=fe-te;if(w.nChangePreceding=f,f===Y+re-m-g?(w.aEndPreceding=m,w.bEndPreceding=g):(w.aEndPreceding=Y,w.bEndPreceding=re),w.nCommonPreceding=te,te!==0&&(w.aCommonPreceding=Y,w.bCommonPreceding=re),w.nChangeFollowing=f-1,f===1)w.nCommonFollowing=0,w.aStartFollowing=y,w.bStartFollowing=b;else{let ce=E+V-(G?M-1:M+1),ie=r(V,y,ce,b,v);w.nCommonFollowing=ie,ie!==0&&(w.aCommonFollowing=V,w.bCommonFollowing=ce);let be=V+ie,we=ce+ie;f-1===y+b-be-we?(w.aStartFollowing=y,w.bStartFollowing=b):(w.aStartFollowing=be,w.bStartFollowing=we)}return!0}}}return!1},"extendOverlappablePathsR"),u=s((f,m,y,g,b,v,S,T,P)=>{let C=g-m,w=b-y,E=y-m,_=b-g,R=_-E,N=E,q=E;if(S[0]=m-1,T[0]=y,R%2===0){let L=(f||R)/2,O=(E+_)/2;for(let k=1;k<=O;k+=1)if(N=o(k,y,b,C,v,S,N),k<L)q=i(k,m,g,w,v,T,q);else if(l(k,m,y,g,b,v,S,N,T,q,P))return}else{let L=((f||R)+1)/2,O=(E+_+1)/2,k=1;for(N=o(k,y,b,C,v,S,N),k+=1;k<=O;k+=1)if(q=i(k-1,m,g,w,v,T,q),k<L)N=o(k,y,b,C,v,S,N);else if(a(k,m,y,g,b,v,S,N,T,q,P))return}throw new Error(`${e}: no overlap aStart=${m} aEnd=${y} bStart=${g} bEnd=${b}`)},"divide"),c=s((f,m,y,g,b,v,S,T,P,C)=>{if(b-g<y-m){if(v=!v,v&&S.length===1){let{foundSubsequence:Q,isCommon:re}=S[0];S[1]={foundSubsequence:s((ce,ie,be)=>{Q(ce,be,ie)},"foundSubsequence"),isCommon:s((ce,ie)=>re(ie,ce),"isCommon")}}let te=m,Y=y;m=g,y=b,g=te,b=Y}let{foundSubsequence:w,isCommon:E}=S[v?1:0];u(f,m,y,g,b,E,T,P,C);let{nChangePreceding:_,aEndPreceding:R,bEndPreceding:N,nCommonPreceding:q,aCommonPreceding:L,bCommonPreceding:O,nCommonFollowing:k,aCommonFollowing:M,bCommonFollowing:G,nChangeFollowing:V,aStartFollowing:oe,bStartFollowing:fe}=C;m<R&&g<N&&c(_,m,R,g,N,v,S,T,P,C),q!==0&&w(q,L,O),k!==0&&w(k,M,G),oe<y&&fe<b&&c(V,oe,y,fe,b,v,S,T,P,C)},"findSubsequences"),d=s((f,m)=>{if(typeof m!="number")throw new TypeError(`${e}: ${f} typeof ${typeof m} is not a number`);if(!Number.isSafeInteger(m))throw new RangeError(`${e}: ${f} value ${m} is not a safe integer`);if(m<0)throw new RangeError(`${e}: ${f} value ${m} is a negative integer`)},"validateLength"),p=s((f,m)=>{let y=typeof m;if(y!=="function")throw new TypeError(`${e}: ${f} typeof ${y} is not a function`)},"validateCallback");function h(f,m,y,g){d("aLength",f),d("bLength",m),p("isCommon",y),p("foundSubsequence",g);let b=r(0,f,0,m,y);if(b!==0&&g(b,0,0),f!==b||m!==b){let v=b,S=b,T=n(v,f-1,S,m-1,y),P=f-T,C=m-T,w=b+T;f!==w&&m!==w&&c(0,v,P,S,C,!1,[{foundSubsequence:g,isCommon:y}],[t],[t],{aCommonFollowing:t,aCommonPreceding:t,aEndPreceding:t,aStartFollowing:t,bCommonFollowing:t,bCommonPreceding:t,bEndPreceding:t,bStartFollowing:t,nChangeFollowing:t,nChangePreceding:t,nCommonFollowing:t,nCommonPreceding:t}),T!==0&&g(T,P,C)}}return s(h,"diffSequence"),Yu}s(sR,"requireBuild");var TY=sR(),lR=QA(TY);function uR(e,t){return e.replace(/\s+$/,r=>t(r))}s(uR,"formatTrailingSpaces");function Lp(e,t,r,n,o,i){return e.length!==0?r(`${n} ${uR(e,o)}`):n!==" "?r(n):t&&i.length!==0?r(`${n} ${i}`):""}s(Lp,"printDiffLine");function lv(e,t,{aColor:r,aIndicator:n,changeLineTrailingSpaceColor:o,emptyFirstOrLastLinePlaceholder:i}){return Lp(e,t,r,n,o,i)}s(lv,"printDeleteLine");function uv(e,t,{bColor:r,bIndicator:n,changeLineTrailingSpaceColor:o,emptyFirstOrLastLinePlaceholder:i}){return Lp(e,t,r,n,o,i)}s(uv,"printInsertLine");function cv(e,t,{commonColor:r,commonIndicator:n,commonLineTrailingSpaceColor:o,emptyFirstOrLastLinePlaceholder:i}){return Lp(e,t,r,n,o,i)}s(cv,"printCommonLine");function Bm(e,t,r,n,{patchColor:o}){return o(`@@ -${e+1},${t-e} +${r+1},${n-r} @@`)}s(Bm,"createPatchMark");function cR(e,t){let r=e.length,n=t.contextLines,o=n+n,i=r,a=!1,l=0,u=0;for(;u!==r;){let T=u;for(;u!==r&&e[u][0]===bt;)u+=1;if(T!==u)if(T===0)u>n&&(i-=u-n,a=!0);else if(u===r){let P=u-T;P>n&&(i-=P-n,a=!0)}else{let P=u-T;P>o&&(i-=P-o,l+=1)}for(;u!==r&&e[u][0]!==bt;)u+=1}let c=l!==0||a;l!==0?i+=l+1:a&&(i+=1);let d=i-1,p=[],h=0;c&&p.push("");let f=0,m=0,y=0,g=0,b=s(T=>{let P=p.length;p.push(cv(T,P===0||P===d,t)),y+=1,g+=1},"pushCommonLine"),v=s(T=>{let P=p.length;p.push(lv(T,P===0||P===d,t)),y+=1},"pushDeleteLine"),S=s(T=>{let P=p.length;p.push(uv(T,P===0||P===d,t)),g+=1},"pushInsertLine");for(u=0;u!==r;){let T=u;for(;u!==r&&e[u][0]===bt;)u+=1;if(T!==u)if(T===0){u>n&&(T=u-n,f=T,m=T,y=f,g=m);for(let P=T;P!==u;P+=1)b(e[P][1])}else if(u===r){let P=u-T>n?T+n:u;for(let C=T;C!==P;C+=1)b(e[C][1])}else{let P=u-T;if(P>o){let C=T+n;for(let E=T;E!==C;E+=1)b(e[E][1]);p[h]=Bm(f,y,m,g,t),h=p.length,p.push("");let w=P-o;f=y+w,m=g+w,y=f,g=m;for(let E=u-n;E!==u;E+=1)b(e[E][1])}else for(let C=T;C!==u;C+=1)b(e[C][1])}for(;u!==r&&e[u][0]===ar;)v(e[u][1]),u+=1;for(;u!==r&&e[u][0]===zt;)S(e[u][1]),u+=1}return c&&(p[h]=Bm(f,y,m,g,t)),p.join(`
|
|
178
|
-
`)}s(cR,"joinAlignedDiffsNoExpand");function dR(e,t){return e.map((r,n,o)=>{let i=r[1],a=n===0||n===o.length-1;switch(r[0]){case ar:return lv(i,a,t);case zt:return uv(i,a,t);default:return cv(i,a,t)}}).join(`
|
|
179
|
-
`)}s(dR,"joinAlignedDiffsExpand");var Bh=s(e=>e,"noColor"),pR=5,CY=0;function fR(){return{aAnnotation:"Expected",aColor:Je.green,aIndicator:"-",bAnnotation:"Received",bColor:Je.red,bIndicator:"+",changeColor:Je.inverse,changeLineTrailingSpaceColor:Bh,commonColor:Je.dim,commonIndicator:" ",commonLineTrailingSpaceColor:Bh,compareKeys:void 0,contextLines:pR,emptyFirstOrLastLinePlaceholder:"",expand:!1,includeChangeCounts:!1,omitAnnotationLines:!1,patchColor:Je.yellow,printBasicPrototype:!1,truncateThreshold:CY,truncateAnnotation:"... Diff result is truncated",truncateAnnotationColor:Bh}}s(fR,"getDefaultOptions");function hR(e){return e&&typeof e=="function"?e:void 0}s(hR,"getCompareKeys");function mR(e){return typeof e=="number"&&Number.isSafeInteger(e)&&e>=0?e:pR}s(mR,"getContextLines");function Go(e={}){return{...fR(),...e,compareKeys:hR(e.compareKeys),contextLines:mR(e.contextLines)}}s(Go,"normalizeDiffOptions");function ui(e){return e.length===1&&e[0].length===0}s(ui,"isEmptyString");function yR(e){let t=0,r=0;return e.forEach(n=>{switch(n[0]){case ar:t+=1;break;case zt:r+=1;break}}),{a:t,b:r}}s(yR,"countChanges");function gR({aAnnotation:e,aColor:t,aIndicator:r,bAnnotation:n,bColor:o,bIndicator:i,includeChangeCounts:a,omitAnnotationLines:l},u){if(l)return"";let c="",d="";if(a){let f=String(u.a),m=String(u.b),y=n.length-e.length,g=" ".repeat(Math.max(0,y)),b=" ".repeat(Math.max(0,-y)),v=m.length-f.length,S=" ".repeat(Math.max(0,v)),T=" ".repeat(Math.max(0,-v));c=`${g} ${r} ${S}${f}`,d=`${b} ${i} ${T}${m}`}let p=`${r} ${e}${c}`,h=`${i} ${n}${d}`;return`${t(p)}
|
|
180
|
-
${o(h)}
|
|
181
|
-
|
|
182
|
-
`}s(gR,"printAnnotation");function Fp(e,t,r){return gR(r,yR(e))+(r.expand?dR(e,r):cR(e,r))+(t?r.truncateAnnotationColor(`
|
|
183
|
-
${r.truncateAnnotation}`):"")}s(Fp,"printDiffLines");function bu(e,t,r){let n=Go(r),[o,i]=dv(ui(e)?[]:e,ui(t)?[]:t,n);return Fp(o,i,n)}s(bu,"diffLinesUnified");function bR(e,t,r,n,o){if(ui(e)&&ui(r)&&(e=[],r=[]),ui(t)&&ui(n)&&(t=[],n=[]),e.length!==r.length||t.length!==n.length)return bu(e,t,o);let[i,a]=dv(r,n,o),l=0,u=0;return i.forEach(c=>{switch(c[0]){case ar:c[1]=e[l],l+=1;break;case zt:c[1]=t[u],u+=1;break;default:c[1]=t[u],l+=1,u+=1}}),Fp(i,a,Go(o))}s(bR,"diffLinesUnified2");function dv(e,t,r){let n=(r==null?void 0:r.truncateThreshold)??!1,o=Math.max(Math.floor((r==null?void 0: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=s((h,f)=>e[h]===t[f],"isCommon"),c=[],d=0,p=0;for(lR(i,a,u,s((h,f,m)=>{for(;d!==f;d+=1)c.push(new ft(ar,e[d]));for(;p!==m;p+=1)c.push(new ft(zt,t[p]));for(;h!==0;h-=1,d+=1,p+=1)c.push(new ft(bt,t[p]))},"foundSubsequence"));d!==i;d+=1)c.push(new ft(ar,e[d]));for(;p!==a;p+=1)c.push(new ft(zt,t[p]));return[c,l]}s(dv,"diffLinesRaw");function Um(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}`)}s(Um,"getType");function Hm(e){return e.includes(`\r
|
|
184
|
-
`)?`\r
|
|
185
|
-
`:`
|
|
186
|
-
`}s(Hm,"getNewLineSymbol");function vR(e,t,r){let n=(r==null?void 0:r.truncateThreshold)??!1,o=Math.max(Math.floor((r==null?void 0:r.truncateThreshold)??0),0),i=e.length,a=t.length;if(n){let h=e.includes(`
|
|
187
|
-
`),f=t.includes(`
|
|
188
|
-
`),m=Hm(e),y=Hm(t),g=h?`${e.split(m,o).join(m)}
|
|
189
|
-
`:e,b=f?`${t.split(y,o).join(y)}
|
|
190
|
-
`:t;i=g.length,a=b.length}let l=i!==e.length||a!==t.length,u=s((h,f)=>e[h]===t[f],"isCommon"),c=0,d=0,p=[];return lR(i,a,u,s((h,f,m)=>{c!==f&&p.push(new ft(ar,e.slice(c,f))),d!==m&&p.push(new ft(zt,t.slice(d,m))),c=f+h,d=m+h,p.push(new ft(bt,t.slice(m,d)))},"foundSubsequence")),c!==i&&p.push(new ft(ar,e.slice(c))),d!==a&&p.push(new ft(zt,t.slice(d))),[p,l]}s(vR,"diffStrings");function wR(e,t,r){return t.reduce((n,o)=>n+(o[0]===bt?o[1]:o[0]===e&&o[1].length!==0?r(o[1]):""),"")}s(wR,"concatenateRelevantDiffs");var ER=class{constructor(t,r){gt(this,"op");gt(this,"line");gt(this,"lines");gt(this,"changeColor");this.op=t,this.line=[],this.lines=[],this.changeColor=r}pushSubstring(t){this.pushDiff(new ft(this.op,t))}pushLine(){this.lines.push(this.line.length!==1?new ft(this.op,wR(this.op,this.line,this.changeColor)):this.line[0][0]===this.op?this.line[0]:new ft(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(`
|
|
191
|
-
`)){let n=r.split(`
|
|
192
|
-
`),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}};s(ER,"ChangeBuffer");var jx=ER,SR=class{constructor(t,r){gt(this,"deleteBuffer");gt(this,"insertBuffer");gt(this,"lines");this.deleteBuffer=t,this.insertBuffer=r,this.lines=[]}pushDiffCommonLine(t){this.lines.push(t)}pushDiffChangeLines(t){let r=t[1].length===0;(!r||this.deleteBuffer.isLineEmpty())&&this.deleteBuffer.pushDiff(t),(!r||this.insertBuffer.isLineEmpty())&&this.insertBuffer.pushDiff(t)}flushChangeLines(){this.deleteBuffer.moveLinesTo(this.lines),this.insertBuffer.moveLinesTo(this.lines)}align(t){let r=t[0],n=t[1];if(n.includes(`
|
|
193
|
-
`)){let o=n.split(`
|
|
194
|
-
`),i=o.length-1;o.forEach((a,l)=>{if(l===0){let u=new ft(r,a);this.deleteBuffer.isLineEmpty()&&this.insertBuffer.isLineEmpty()?(this.flushChangeLines(),this.pushDiffCommonLine(u)):(this.pushDiffChangeLines(u),this.flushChangeLines())}else l<i?this.pushDiffCommonLine(new ft(r,a)):a.length!==0&&this.pushDiffChangeLines(new ft(r,a))})}else this.pushDiffChangeLines(t)}getLines(){return this.flushChangeLines(),this.lines}};s(SR,"CommonBuffer");var _Y=SR;function xR(e,t){let r=new jx(ar,t),n=new jx(zt,t),o=new _Y(r,n);return e.forEach(i=>{switch(i[0]){case ar:r.align(i);break;case zt:n.align(i);break;default:o.align(i)}}),o.getLines()}s(xR,"getAlignedDiffs");function TR(e,t){if(t){let r=e.length-1;return e.some((n,o)=>n[0]===bt&&(o!==r||n[1]!==`
|
|
195
|
-
`))}return e.some(r=>r[0]===bt)}s(TR,"hasCommonDiff");function CR(e,t,r){if(e!==t&&e.length!==0&&t.length!==0){let n=e.includes(`
|
|
196
|
-
`)||t.includes(`
|
|
197
|
-
`),[o,i]=pv(n?`${e}
|
|
198
|
-
`:e,n?`${t}
|
|
199
|
-
`:t,!0,r);if(TR(o,n)){let a=Go(r),l=xR(o,a.changeColor);return Fp(l,i,a)}}return bu(e.split(`
|
|
200
|
-
`),t.split(`
|
|
201
|
-
`),r)}s(CR,"diffStringsUnified");function pv(e,t,r,n){let[o,i]=vR(e,t,n);return r&&oR(o),[o,i]}s(pv,"diffStringsRaw");function Gc(e,t){let{commonColor:r}=Go(t);return r(e)}s(Gc,"getCommonMessage");var{AsymmetricMatcher:PY,DOMCollection:OY,DOMElement:AY,Immutable:RY,ReactElement:NY,ReactTestComponent:IY}=nv,_R=[IY,NY,AY,OY,RY,PY,nv.Error],Vm={maxDepth:20,plugins:_R},PR={callToJSON:!1,maxDepth:8,plugins:_R};function OR(e,t,r){if(Object.is(e,t))return"";let n=Um(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!==Um(t)){let a=function(S){return S.length<=g?S:`${S.slice(0,g)}...`};s(a,"truncate");let{aAnnotation:l,aColor:u,aIndicator:c,bAnnotation:d,bColor:p,bIndicator:h}=Go(r),f=Kc(PR,r),m=nn(e,f),y=nn(t,f),g=1e5;m=a(m),y=a(y);let b=`${u(`${c} ${l}:`)}
|
|
202
|
-
${m}`,v=`${p(`${h} ${d}:`)}
|
|
203
|
-
${y}`;return`${b}
|
|
204
|
-
|
|
205
|
-
${v}`}if(!i)switch(n){case"string":return bu(e.split(`
|
|
206
|
-
`),t.split(`
|
|
207
|
-
`),r);case"boolean":case"number":return AR(e,t,r);case"map":return gc(Jm(e),Jm(t),r);case"set":return gc(zm(e),zm(t),r);default:return gc(e,t,r)}}s(OR,"diff");function AR(e,t,r){let n=nn(e,Vm),o=nn(t,Vm);return n===o?"":bu(n.split(`
|
|
208
|
-
`),o.split(`
|
|
209
|
-
`),r)}s(AR,"comparePrimitive");function Jm(e){return new Map(Array.from(e.entries()).sort())}s(Jm,"sortMap");function zm(e){return new Set(Array.from(e.values()).sort())}s(zm,"sortSet");function gc(e,t,r){let n,o=!1;try{let a=Kc(Vm,r);n=Wm(e,t,a,r)}catch{o=!0}let i=Gc(aR,r);if(n===void 0||n===i){let a=Kc(PR,r);n=Wm(e,t,a,r),n!==i&&!o&&(n=`${Gc(xY,r)}
|
|
210
|
-
|
|
211
|
-
${n}`)}return n}s(gc,"compareObjects");function Kc(e,t){let{compareKeys:r,printBasicPrototype:n,maxDepth:o}=Go(t);return{...e,compareKeys:r,printBasicPrototype:n,maxDepth:o??e.maxDepth}}s(Kc,"getFormatOptions");function Wm(e,t,r,n){let o={...r,indent:0},i=nn(e,o),a=nn(t,o);if(i===a)return Gc(aR,n);{let l=nn(e,r),u=nn(t,r);return bR(l.split(`
|
|
212
|
-
`),u.split(`
|
|
213
|
-
`),i.split(`
|
|
214
|
-
`),a.split(`
|
|
215
|
-
`),n)}}s(Wm,"getObjectsDifference");var $x=2e4;function Gm(e){return zc(e)==="Object"&&typeof e.asymmetricMatch=="function"}s(Gm,"isAsymmetricMatcher");function Km(e,t){let r=zc(e),n=zc(t);return r===n&&(r==="Object"||r==="Array")}s(Km,"isReplaceable");function RR(e,t,r){let{aAnnotation:n,bAnnotation:o}=Go(r);if(typeof t=="string"&&typeof e=="string"&&t.length>0&&e.length>0&&t.length<=$x&&e.length<=$x&&t!==e){if(t.includes(`
|
|
216
|
-
`)||e.includes(`
|
|
217
|
-
`))return CR(t,e,r);let[c]=pv(t,e,!0),d=c.some(m=>m[0]===bt),p=NR(n,o),h=p(n)+kR(Ym(c,ar,d)),f=p(o)+IR(Ym(c,zt,d));return`${h}
|
|
218
|
-
${f}`}let i=Fm(t,{forceWritable:!0}),a=Fm(e,{forceWritable:!0}),{replacedExpected:l,replacedActual:u}=fv(a,i);return OR(l,u,r)}s(RR,"printDiffOrStringify");function fv(e,t,r=new WeakSet,n=new WeakSet){return e instanceof Error&&t instanceof Error&&typeof e.cause<"u"&&typeof t.cause>"u"?(delete e.cause,{replacedActual:e,replacedExpected:t}):Km(e,t)?r.has(e)||n.has(t)?{replacedActual:e,replacedExpected:t}:(r.add(e),n.add(t),iv(t).forEach(o=>{let i=t[o],a=e[o];if(Gm(i))i.asymmetricMatch(a)&&(e[o]=i);else if(Gm(a))a.asymmetricMatch(i)&&(t[o]=a);else if(Km(a,i)){let l=fv(a,i,r,n);e[o]=l.replacedActual,t[o]=l.replacedExpected}}),{replacedActual:e,replacedExpected:t}):{replacedActual:e,replacedExpected:t}}s(fv,"replaceAsymmetricMatcher");function NR(...e){let t=e.reduce((r,n)=>n.length>r?n.length:r,0);return r=>`${r}: ${" ".repeat(t-r.length)}`}s(NR,"getLabelPrinter");var kY="·";function hv(e){return e.replace(/\s+$/gm,t=>kY.repeat(t.length))}s(hv,"replaceTrailingSpaces");function IR(e){return Je.red(hv(Wa(e)))}s(IR,"printReceived");function kR(e){return Je.green(hv(Wa(e)))}s(kR,"printExpected");function Ym(e,t,r){return e.reduce((n,o)=>n+(o[0]===bt?o[1]:o[0]===t?r?Je.inverse(o[1]):o[1]:""),"")}s(Ym,"getCommonAndChangedSubstrings");var MY="@@__IMMUTABLE_RECORD__@@",qY="@@__IMMUTABLE_ITERABLE__@@";function MR(e){return e&&(e[qY]||e[MY])}s(MR,"isImmutable");var jY=Object.getPrototypeOf({});function Xm(e){return e instanceof Error?`<unserializable>: ${e.message}`:typeof e=="string"?`<unserializable>: ${e}`:"<unserializable>"}s(Xm,"getUnserializableMessage");function ci(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(MR(e))return ci(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()} ${XA(e.sample)}`;if(typeof e.toJSON=="function")return ci(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]=ci(n,t)}catch(i){r[o]=Xm(i)}}),r}else{let r=Object.create(null);t.set(e,r);let n=e;for(;n&&n!==jY;)Object.getOwnPropertyNames(n).forEach(o=>{if(!(o in r))try{r[o]=ci(e[o],t)}catch(i){delete r[o],r[o]=Xm(i)}}),n=Object.getPrototypeOf(n);return r}}s(ci,"serializeValue");function qR(e){return e.replace(/__(vite_ssr_import|vi_import)_\d+__\./g,"")}s(qR,"normalizeErrorMessage");function mv(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=RR(n.actual,n.expected,{...t,...n.diffOptions})),typeof n.expected!="string"&&(n.expected=Wa(n.expected,10)),typeof n.actual!="string"&&(n.actual=Wa(n.actual,10));try{typeof n.message=="string"&&(n.message=qR(n.message))}catch{}try{!r.has(n)&&typeof n.cause=="object"&&(r.add(n),n.cause=mv(n.cause,t,r))}catch{}try{return ci(n)}catch(o){return ci(new Error(`Failed to fully serialize error: ${o==null?void 0:o.message}
|
|
219
|
-
Inner error message: ${n==null?void 0:n.message}`))}}s(mv,"processError");var Mn={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"},Uh=globalThis.__STORYBOOK_ADDONS_PREVIEW,$Y=new Error("This function ran after the play function completed. Did you forget to `await` it?"),Lx=s(e=>Object.prototype.toString.call(e)==="[object Object]","isObject"),LY=s(e=>Object.prototype.toString.call(e)==="[object Module]","isModule"),FY=s(e=>{if(!Lx(e)&&!LY(e))return!1;if(e.constructor===void 0)return!0;let t=e.constructor.prototype;return!!Lx(t)},"isInstrumentable"),DY=s(e=>{try{return new e.constructor}catch{return{}}},"construct"),Hh=s(()=>({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}),"getInitialState"),Fx=s((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}},"getRetainedState"),jR=class{constructor(){this.detached=!1,this.initialized=!1,this.state={},this.loadParentWindowState=s(()=>{var u,c;try{this.state=((c=(u=me.window)==null?void 0:u.parent)==null?void 0:c.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER_STATE__)||{}}catch{this.detached=!0}},"loadParentWindowState"),this.updateParentWindowState=s(()=>{try{me.window.parent.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER_STATE__=this.state}catch{this.detached=!0}},"updateParentWindowState"),this.loadParentWindowState();let t=s(({storyId:u,isPlaying:c=!0,isDebugging:d=!1})=>{let p=this.getState(u);this.setState(u,{...Hh(),...Fx(p,d),shadowCalls:d?p.shadowCalls:[],chainedCallIds:d?p.chainedCallIds:new Set,playUntil:d?p.playUntil:void 0,isPlaying:c,isDebugging:d}),this.sync(u)},"resetState"),r=s(u=>({storyId:c,playUntil:d})=>{this.getState(c).isDebugging||this.setState(c,({calls:h})=>({calls:[],shadowCalls:h.map(f=>({...f,status:"waiting"})),isDebugging:!0}));let p=this.getLog(c);this.setState(c,({shadowCalls:h})=>{var m;if(d||!p.length)return{playUntil:d};let f=h.findIndex(y=>y.id===p[0].callId);return{playUntil:(m=h.slice(0,f).filter(y=>{var g;return y.interceptable&&!((g=y.ancestors)!=null&&g.length)}).slice(-1)[0])==null?void 0:m.id}}),u.emit(Hc,{storyId:c,isDebugging:!0})},"start"),n=s(u=>({storyId:c})=>{var h;let d=this.getLog(c).filter(f=>{var m;return!((m=f.ancestors)!=null&&m.length)}),p=d.reduceRight((f,m,y)=>f>=0||m.status==="waiting"?f:y,-1);r(u)({storyId:c,playUntil:(h=d[p-1])==null?void 0:h.callId})},"back"),o=s(u=>({storyId:c,callId:d})=>{var g;let{calls:p,shadowCalls:h,resolvers:f}=this.getState(c),m=p.find(({id:b})=>b===d),y=h.find(({id:b})=>b===d);if(!m&&y&&Object.values(f).length>0){let b=(g=this.getLog(c).find(v=>v.status==="waiting"))==null?void 0:g.callId;y.id!==b&&this.setState(c,{playUntil:y.id}),Object.values(f).forEach(v=>v())}else r(u)({storyId:c,playUntil:d})},"goto"),i=s(u=>({storyId:c})=>{var p;let{resolvers:d}=this.getState(c);if(Object.values(d).length>0)Object.values(d).forEach(h=>h());else{let h=(p=this.getLog(c).find(f=>f.status==="waiting"))==null?void 0:p.callId;h?r(u)({storyId:c,playUntil:h}):a({storyId:c})}},"next"),a=s(({storyId:u})=>{this.setState(u,{playUntil:void 0,isDebugging:!1}),Object.values(this.getState(u).resolvers).forEach(c=>c())},"end"),l=s(({storyId:u,newPhase:c})=>{let{isDebugging:d}=this.getState(u);this.setState(u,{renderPhase:c}),c==="preparing"&&d&&t({storyId:u}),c==="playing"&&t({storyId:u,isDebugging:d}),c==="played"&&this.setState(u,{isLocked:!1,isPlaying:!1,isDebugging:!1}),c==="errored"&&this.setState(u,{isLocked:!1,isPlaying:!1})},"renderPhaseChanged");Uh&&Uh.ready().then(()=>{this.channel=Uh.getChannel(),this.channel.on(Hc,t),this.channel.on(Oi,l),this.channel.on(wb,()=>{this.initialized?this.cleanup():this.initialized=!0}),this.channel.on(Mn.START,r(this.channel)),this.channel.on(Mn.BACK,n(this.channel)),this.channel.on(Mn.GOTO,o(this.channel)),this.channel.on(Mn.NEXT,i(this.channel)),this.channel.on(Mn.END,a)})}getState(t){return this.state[t]||Hh()}setState(t,r){let n=this.getState(t),o=typeof r=="function"?r(n):r;this.state={...this.state,[t]:{...n,...o}},this.updateParentWindowState()}cleanup(){var r;this.state=Object.entries(this.state).reduce((n,[o,i])=>{let a=Fx(i);return a&&(n[o]=Object.assign(Hh(),a)),n},{});let t={controlStates:{detached:this.detached,start:!1,back:!1,goto:!1,next:!1,end:!1},logItems:[]};(r=this.channel)==null||r.emit(Mn.SYNC,t),this.updateParentWindowState()}getLog(t){let{calls:r,shadowCalls:n}=this.getState(t),o=[...n];r.forEach((a,l)=>{o[l]=a});let i=new Set;return o.reduceRight((a,l)=>(l.args.forEach(u=>{u!=null&&u.__callId__&&i.add(u.__callId__)}),l.path.forEach(u=>{u.__callId__&&i.add(u.__callId__)}),(l.interceptable||l.exception)&&!i.has(l.id)&&(a.unshift({callId:l.id,status:l.status,ancestors:l.ancestors}),i.add(l.id)),a),[])}instrument(t,r,n=0){if(!FY(t))return t;let{mutate:o=!1,path:i=[]}=r,a=r.getKeys?r.getKeys(t,n):Object.keys(t);return n+=1,a.reduce((l,u)=>{let c=$R(t,u);if(typeof(c==null?void 0:c.get)=="function"){if(c.configurable){let p=s(()=>{var h,f;return(f=(h=c==null?void 0:c.get)==null?void 0:h.bind(t))==null?void 0:f()},"getter");Object.defineProperty(l,u,{get:s(()=>this.instrument(p(),{...r,path:i.concat(u)},n),"get")})}return l}let d=t[u];return typeof d!="function"?(l[u]=this.instrument(d,{...r,path:i.concat(u)},n),l):"__originalFn__"in d&&typeof d.__originalFn__=="function"?(l[u]=d,l):(l[u]=(...p)=>this.track(u,d,t,p,r),l[u].__originalFn__=d,Object.defineProperty(l[u],"name",{value:u,writable:!1}),Object.keys(d).length>0&&Object.assign(l[u],this.instrument({...d},{...r,path:i.concat(u)},n)),l)},o?t:DY(t))}track(t,r,n,o,i){var g,b,v,S;let a=((g=o==null?void 0:o[0])==null?void 0:g.__storyId__)||((S=(v=(b=me.__STORYBOOK_PREVIEW__)==null?void 0:b.selectionStore)==null?void 0:v.selection)==null?void 0:S.storyId),{cursor:l,ancestors:u}=this.getState(a);this.setState(a,{cursor:l+1});let c=`${u.slice(-1)[0]||a} [${l}] ${t}`,{path:d=[],intercept:p=!1,retain:h=!1}=i,f=typeof p=="function"?p(t,d):p,m={id:c,cursor:l,storyId:a,ancestors:u,path:d,method:t,args:o,interceptable:f,retain:h},y=(f&&!u.length?this.intercept:this.invoke).call(this,r,n,m,i);return this.instrument(y,{...i,mutate:!0,path:[{__callId__:m.id}]})}intercept(t,r,n,o){let{chainedCallIds:i,isDebugging:a,playUntil:l}=this.getState(n.storyId),u=i.has(n.id);return!a||u||l?(l===n.id&&this.setState(n.storyId,{playUntil:void 0}),this.invoke(t,r,n,o)):new Promise(c=>{this.setState(n.storyId,({resolvers:d})=>({isLocked:!1,resolvers:{...d,[n.id]:c}}))}).then(()=>(this.setState(n.storyId,c=>{let{[n.id]:d,...p}=c.resolvers;return{isLocked:!0,resolvers:p}}),this.invoke(t,r,n,o)))}invoke(t,r,n,o){let{callRefsByResult:i,renderPhase:a}=this.getState(n.storyId),l=25,u=s((p,h,f)=>{var m,y,g;if(f.includes(p))return"[Circular]";if(f=[...f,p],h>l)return"...";if(i.has(p))return i.get(p);if(p instanceof Array)return p.map(b=>u(b,++h,f));if(p instanceof Date)return{__date__:{value:p.toISOString()}};if(p instanceof Error){let{name:b,message:v,stack:S}=p;return{__error__:{name:b,message:v,stack:S}}}if(p instanceof RegExp){let{flags:b,source:v}=p;return{__regexp__:{flags:b,source:v}}}if(p instanceof((m=me.window)==null?void 0:m.HTMLElement)){let{prefix:b,localName:v,id:S,classList:T,innerText:P}=p,C=Array.from(T);return{__element__:{prefix:b,localName:v,id:S,classNames:C,innerText:P}}}return typeof p=="function"?{__function__:{name:"getMockName"in p?p.getMockName():p.name}}:typeof p=="symbol"?{__symbol__:{description:p.description}}:typeof p=="object"&&((y=p==null?void 0:p.constructor)!=null&&y.name)&&((g=p==null?void 0:p.constructor)==null?void 0:g.name)!=="Object"?{__class__:{name:p.constructor.name}}:Object.prototype.toString.call(p)==="[object Object]"?Object.fromEntries(Object.entries(p).map(([b,v])=>[b,u(v,++h,f)])):p},"serializeValues"),c={...n,args:n.args.map(p=>u(p,0,[]))};n.path.forEach(p=>{p!=null&&p.__callId__&&this.setState(n.storyId,({chainedCallIds:h})=>({chainedCallIds:new Set(Array.from(h).concat(p.__callId__))}))});let d=s(p=>{var h;if(p instanceof Error){let{name:f,message:m,stack:y,callId:g=n.id}=p,{showDiff:b=void 0,diff:v=void 0,actual:S=void 0,expected:T=void 0}=p.name==="AssertionError"?mv(p):p,P={name:f,message:m,stack:y,callId:g,showDiff:b,diff:v,actual:S,expected:T};if(this.update({...c,status:"error",exception:P}),this.setState(n.storyId,C=>({callRefsByResult:new Map([...Array.from(C.callRefsByResult.entries()),[p,{__callId__:n.id,retain:n.retain}]])})),(h=n.ancestors)==null?void 0:h.length)throw Object.prototype.hasOwnProperty.call(p,"callId")||Object.defineProperty(p,"callId",{value:n.id}),p}throw p},"handleException");try{if(a==="played"&&!n.retain)throw $Y;let p=(o.getArgs?o.getArgs(n,this.getState(n.storyId)):n.args).map(f=>typeof f!="function"||LR(f)||Object.keys(f).length?f:(...m)=>{let{cursor:y,ancestors:g}=this.getState(n.storyId);this.setState(n.storyId,{cursor:0,ancestors:[...g,n.id]});let b=s(()=>this.setState(n.storyId,{cursor:y,ancestors:g}),"restore"),v=!1;try{let S=f(...m);return S instanceof Promise?(v=!0,S.finally(b)):S}finally{v||b()}}),h=t.apply(r,p);return h&&["object","function","symbol"].includes(typeof h)&&this.setState(n.storyId,f=>({callRefsByResult:new Map([...Array.from(f.callRefsByResult.entries()),[h,{__callId__:n.id,retain:n.retain}]])})),this.update({...c,status:h instanceof Promise?"active":"done"}),h instanceof Promise?h.then(f=>(this.update({...c,status:"done"}),f),d):h}catch(p){return d(p)}}update(t){var r;(r=this.channel)==null||r.emit(Mn.CALL,t),this.setState(t.storyId,({calls:n})=>{let o=n.concat(t).reduce((i,a)=>Object.assign(i,{[a.id]:a}),{});return{calls:Object.values(o).sort((i,a)=>i.id.localeCompare(a.id,void 0,{numeric:!0}))}}),this.sync(t.storyId)}sync(t){let r=s(()=>{var d,p,h;let{isLocked:n,isPlaying:o}=this.getState(t),i=this.getLog(t),a=(d=i.filter(({ancestors:f})=>!f.length).find(f=>f.status==="waiting"))==null?void 0:d.callId,l=i.some(f=>f.status==="active");if(this.detached||n||l||i.length===0){let f={controlStates:{detached:this.detached,start:!1,back:!1,goto:!1,next:!1,end:!1},logItems:i};(p=this.channel)==null||p.emit(Mn.SYNC,f);return}let u=i.some(f=>f.status==="done"||f.status==="error"),c={controlStates:{detached:this.detached,start:u,back:u,goto:!0,next:o,end:o},logItems:i,pausedAt:a};(h=this.channel)==null||h.emit(Mn.SYNC,c)},"synchronize");this.setState(t,({syncTimeout:n})=>(clearTimeout(n),{syncTimeout:setTimeout(r,0)}))}};s(jR,"Instrumenter");var BY=jR;function gs(e,t={}){var r,n,o,i,a,l,u,c;try{let d=!1,p=!1;return(o=(n=(r=me.window)==null?void 0:r.location)==null?void 0:n.search)!=null&&o.includes("instrument=true")?d=!0:(l=(a=(i=me.window)==null?void 0:i.location)==null?void 0:a.search)!=null&&l.includes("instrument=false")&&(p=!0),((u=me.window)==null?void 0:u.parent)===me.window&&!d||p?e:(me.window&&!me.window.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER__&&(me.window.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER__=new BY),((c=me.window)==null?void 0:c.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER__).instrument(e,t))}catch(d){return St.warn(d),e}}s(gs,"instrument");function $R(e,t){let r=e;for(;r!=null;){let n=Object.getOwnPropertyDescriptor(r,t);if(n)return n;r=Object.getPrototypeOf(r)}}s($R,"getPropertyDescriptor");function LR(e){if(typeof e!="function")return!1;let t=Object.getOwnPropertyDescriptor(e,"prototype");return t?!t.writable:!1}s(LR,"isClass");var FR=Object.defineProperty,UY=Object.getOwnPropertyNames,K=s((e,t)=>FR(e,"name",{value:t,configurable:!0}),"__name"),HY=s((e,t)=>s(function(){return t||(0,e[UY(e)[0]])((t={exports:{}}).exports,t),t.exports},"__require"),"__commonJS"),yv=s((e,t)=>{for(var r in t)FR(e,r,{get:t[r],enumerable:!0})},"__export"),VY=HY({"(disabled):util"(){}}),wn={};yv(wn,{addChainableMethod:s(()=>Xp,"addChainableMethod"),addLengthGuard:s(()=>ws,"addLengthGuard"),addMethod:s(()=>Gp,"addMethod"),addProperty:s(()=>Wp,"addProperty"),checkError:s(()=>Cr,"checkError"),compareByInspect:s(()=>ql,"compareByInspect"),eql:s(()=>UR,"eql"),expectTypes:s(()=>xv,"expectTypes"),flag:s(()=>Pe,"flag"),getActual:s(()=>wu,"getActual"),getMessage:s(()=>Up,"getMessage"),getName:s(()=>Su,"getName"),getOperator:s(()=>tf,"getOperator"),getOwnEnumerableProperties:s(()=>ef,"getOwnEnumerableProperties"),getOwnEnumerablePropertySymbols:s(()=>Zp,"getOwnEnumerablePropertySymbols"),getPathInfo:s(()=>zp,"getPathInfo"),hasProperty:s(()=>Eu,"hasProperty"),inspect:s(()=>Fe,"inspect"),isNaN:s(()=>cd,"isNaN"),isNumeric:s(()=>jt,"isNumeric"),isProxyEnabled:s(()=>vs,"isProxyEnabled"),isRegExp:s(()=>jl,"isRegExp"),objDisplay:s(()=>ko,"objDisplay"),overwriteChainableMethod:s(()=>Qp,"overwriteChainableMethod"),overwriteMethod:s(()=>Yp,"overwriteMethod"),overwriteProperty:s(()=>Kp,"overwriteProperty"),proxify:s(()=>zi,"proxify"),test:s(()=>Dp,"test"),transferFlags:s(()=>Wr,"transferFlags"),type:s(()=>Xe,"type")});var Cr={};yv(Cr,{compatibleConstructor:s(()=>vv,"compatibleConstructor"),compatibleInstance:s(()=>bv,"compatibleInstance"),compatibleMessage:s(()=>wv,"compatibleMessage"),getConstructorName:s(()=>Ev,"getConstructorName"),getMessage:s(()=>Sv,"getMessage")});function vu(e){return e instanceof Error||Object.prototype.toString.call(e)==="[object Error]"}s(vu,"isErrorInstance");K(vu,"isErrorInstance");function gv(e){return Object.prototype.toString.call(e)==="[object RegExp]"}s(gv,"isRegExp");K(gv,"isRegExp");function bv(e,t){return vu(t)&&e===t}s(bv,"compatibleInstance");K(bv,"compatibleInstance");function vv(e,t){return vu(t)?e.constructor===t.constructor||e instanceof t.constructor:(typeof t=="object"||typeof t=="function")&&t.prototype?e.constructor===t||e instanceof t:!1}s(vv,"compatibleConstructor");K(vv,"compatibleConstructor");function wv(e,t){let r=typeof e=="string"?e:e.message;return gv(t)?t.test(r):typeof t=="string"?r.indexOf(t)!==-1:!1}s(wv,"compatibleMessage");K(wv,"compatibleMessage");function Ev(e){let t=e;return vu(e)?t=e.constructor.name:typeof e=="function"&&(t=e.name,t===""&&(t=new e().name||t)),t}s(Ev,"getConstructorName");K(Ev,"getConstructorName");function Sv(e){let t="";return e&&e.message?t=e.message:typeof e=="string"&&(t=e),t}s(Sv,"getMessage");K(Sv,"getMessage");function Pe(e,t,r){var n=e.__flags||(e.__flags=Object.create(null));if(arguments.length===3)n[t]=r;else return n[t]}s(Pe,"flag");K(Pe,"flag");function Dp(e,t){var r=Pe(e,"negate"),n=t[0];return r?!n:n}s(Dp,"test");K(Dp,"test");function Xe(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)}s(Xe,"type");K(Xe,"type");var JY="captureStackTrace"in Error,$s,Ue=($s=class extends Error{constructor(t="Unspecified AssertionError",r,n){super(t);gt(this,"message");this.message=t,JY&&Error.captureStackTrace(this,n||$s);for(let o in r)o in this||(this[o]=r[o])}get name(){return"AssertionError"}get ok(){return!1}toJSON(t){return{...this,name:this.name,message:this.message,ok:!1,stack:t!==!1?this.stack:void 0}}},s($s,"_AssertionError"),K($s,"AssertionError"),$s);function xv(e,t){var r=Pe(e,"message"),n=Pe(e,"ssfi");r=r?r+": ":"",e=Pe(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=Xe(e).toLowerCase();if(!t.some(function(a){return i===a}))throw new Ue(r+"object tested must be "+o+", but "+i+" given",void 0,n)}s(xv,"expectTypes");K(xv,"expectTypes");function wu(e,t){return t.length>4?t[4]:e._obj}s(wu,"getActual");K(wu,"getActual");var Dx={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"]},zY={special:"cyan",number:"yellow",bigint:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",symbol:"green",date:"magenta",regexp:"red"},Ga="…";function Tv(e,t){let r=Dx[zY[t]]||Dx[t]||"";return r?`\x1B[${r[0]}m${String(e)}\x1B[${r[1]}m`:String(e)}s(Tv,"colorise");K(Tv,"colorise");function Cv({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}={},d){let p={showHidden:!!e,depth:Number(t),colors:!!r,customInspect:!!n,showProxy:!!o,maxArrayLength:Number(i),breakLength:Number(a),truncate:Number(u),seen:l,inspect:d,stylize:c};return p.colors&&(p.stylize=Tv),p}s(Cv,"normaliseOptions");K(Cv,"normaliseOptions");function _v(e){return e>="\uD800"&&e<="\uDBFF"}s(_v,"isHighSurrogate");K(_v,"isHighSurrogate");function On(e,t,r=Ga){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&&_v(e[i-1])&&(i=i-1),`${e.slice(0,i)}${r}`}return e}s(On,"truncate");K(On,"truncate");function kr(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 d=c+1===e.length,p=c+2===e.length;u=`${Ga}(${e.length-c})`;let h=e[c];t.truncate=i-a.length-(d?0:n.length);let f=l||r(h,t)+(d?"":n),m=a.length+f.length,y=m+u.length;if(d&&m>i&&a.length+u.length<=i||!d&&!p&&y>i||(l=d?"":r(e[c+1],t)+(p?"":n),!d&&p&&y>i&&m+l.length>i))break;if(a+=f,!d&&!p&&m+l.length>=i){u=`${Ga}(${e.length-c-1})`;break}u=""}return`${a}${u}`}s(kr,"inspectList");K(kr,"inspectList");function Pv(e){return e.match(/^[a-zA-Z_][a-zA-Z_0-9]*$/)?e:JSON.stringify(e).replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'")}s(Pv,"quoteComplexKey");K(Pv,"quoteComplexKey");function Ai([e,t],r){return r.truncate-=2,typeof e=="string"?e=Pv(e):typeof e!="number"&&(e=`[${r.inspect(e,r)}]`),r.truncate-=e.length,t=r.inspect(t,r),`${e}: ${t}`}s(Ai,"inspectProperty");K(Ai,"inspectProperty");function Ov(e,t){let r=Object.keys(e).slice(e.length);if(!e.length&&!r.length)return"[]";t.truncate-=4;let n=kr(e,t);t.truncate-=n.length;let o="";return r.length&&(o=kr(r.map(i=>[i,e[i]]),t,Ai)),`[ ${n}${o?`, ${o}`:""} ]`}s(Ov,"inspectArray");K(Ov,"inspectArray");var WY=K(e=>typeof Buffer=="function"&&e instanceof Buffer?"Buffer":e[Symbol.toStringTag]?e[Symbol.toStringTag]:e.constructor.name,"getArrayName");function Qr(e,t){let r=WY(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(On(e[a],t.truncate),"number")}${a===e.length-1?"":", "}`;if(t.truncate-=l.length,e[a]!==e.length&&t.truncate<=3){o+=`${Ga}(${e.length-e[a]+1})`;break}o+=l}let i="";return n.length&&(i=kr(n.map(a=>[a,e[a]]),t,Ai)),`${r}[ ${o}${i?`, ${i}`:""} ]`}s(Qr,"inspectTypedArray");K(Qr,"inspectTypedArray");function Av(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${On(n[1],t.truncate-o.length-1)}`,"date")}s(Av,"inspectDate");K(Av,"inspectDate");function Yc(e,t){let r=e[Symbol.toStringTag]||"Function",n=e.name;return n?t.stylize(`[${r} ${On(n,t.truncate-11)}]`,"special"):t.stylize(`[${r}]`,"special")}s(Yc,"inspectFunction");K(Yc,"inspectFunction");function Rv([e,t],r){return r.truncate-=4,e=r.inspect(e,r),r.truncate-=e.length,t=r.inspect(t,r),`${e} => ${t}`}s(Rv,"inspectMapEntry");K(Rv,"inspectMapEntry");function Nv(e){let t=[];return e.forEach((r,n)=>{t.push([n,r])}),t}s(Nv,"mapToEntries");K(Nv,"mapToEntries");function Iv(e,t){return e.size-1<=0?"Map{}":(t.truncate-=7,`Map{ ${kr(Nv(e),t,Rv)} }`)}s(Iv,"inspectMap");K(Iv,"inspectMap");var GY=Number.isNaN||(e=>e!==e);function Xc(e,t){return GY(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(On(String(e),t.truncate),"number")}s(Xc,"inspectNumber");K(Xc,"inspectNumber");function Qc(e,t){let r=On(e.toString(),t.truncate-1);return r!==Ga&&(r+="n"),t.stylize(r,"bigint")}s(Qc,"inspectBigInt");K(Qc,"inspectBigInt");function kv(e,t){let r=e.toString().split("/")[2],n=t.truncate-(2+r.length),o=e.source;return t.stylize(`/${On(o,n)}/${r}`,"regexp")}s(kv,"inspectRegExp");K(kv,"inspectRegExp");function Mv(e){let t=[];return e.forEach(r=>{t.push(r)}),t}s(Mv,"arrayFromSet");K(Mv,"arrayFromSet");function qv(e,t){return e.size===0?"Set{}":(t.truncate-=7,`Set{ ${kr(Mv(e),t)} }`)}s(qv,"inspectSet");K(qv,"inspectSet");var Bx=new RegExp("['\\u0000-\\u001f\\u007f-\\u009f\\u00ad\\u0600-\\u0604\\u070f\\u17b4\\u17b5\\u200c-\\u200f\\u2028-\\u202f\\u2060-\\u206f\\ufeff\\ufff0-\\uffff]","g"),KY={"\b":"\\b"," ":"\\t","\n":"\\n","\f":"\\f","\r":"\\r","'":"\\'","\\":"\\\\"},YY=16;function jv(e){return KY[e]||`\\u${`0000${e.charCodeAt(0).toString(YY)}`.slice(-4)}`}s(jv,"escape");K(jv,"escape");function Zc(e,t){return Bx.test(e)&&(e=e.replace(Bx,jv)),t.stylize(`'${On(e,t.truncate-2)}'`,"string")}s(Zc,"inspectString");K(Zc,"inspectString");function ed(e){return"description"in Symbol.prototype?e.description?`Symbol(${e.description})`:"Symbol()":e.toString()}s(ed,"inspectSymbol");K(ed,"inspectSymbol");var DR=K(()=>"Promise{…}","getPromiseValue");try{let{getPromiseDetails:e,kPending:t,kRejected:r}=process.binding("util");Array.isArray(e(Promise.resolve()))&&(DR=K((n,o)=>{let[i,a]=e(n);return i===t?"Promise{<pending>}":`Promise${i===r?"!":""}{${o.inspect(a,o)}}`},"getPromiseValue"))}catch{}var XY=DR;function _a(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.includes(e))return"[Circular]";t.seen.push(e);let o=kr(r.map(l=>[l,e[l]]),t,Ai),i=kr(n.map(l=>[l,e[l]]),t,Ai);t.seen.pop();let a="";return o&&i&&(a=", "),`{ ${o}${a}${i} }`}s(_a,"inspectObject");K(_a,"inspectObject");var Vh=typeof Symbol<"u"&&Symbol.toStringTag?Symbol.toStringTag:!1;function $v(e,t){let r="";return Vh&&Vh in e&&(r=e[Vh]),r=r||e.constructor.name,(!r||r==="_class")&&(r="<Anonymous Class>"),t.truncate-=r.length,`${r}${_a(e,t)}`}s($v,"inspectClass");K($v,"inspectClass");function Lv(e,t){return e.length===0?"Arguments[]":(t.truncate-=13,`Arguments[ ${kr(e,t)} ]`)}s(Lv,"inspectArguments");K(Lv,"inspectArguments");var QY=["stack","line","column","name","message","fileName","lineNumber","columnNumber","number","description","cause"];function Fv(e,t){let r=Object.getOwnPropertyNames(e).filter(a=>QY.indexOf(a)===-1),n=e.name;t.truncate-=n.length;let o="";if(typeof e.message=="string"?o=On(e.message,t.truncate):r.unshift("message"),o=o?`: ${o}`:"",t.truncate-=o.length+5,t.seen=t.seen||[],t.seen.includes(e))return"[Circular]";t.seen.push(e);let i=kr(r.map(a=>[a,e[a]]),t,Ai);return`${n}${o}${i?` { ${i} }`:""}`}s(Fv,"inspectObject2");K(Fv,"inspectObject");function Dv([e,t],r){return r.truncate-=3,t?`${r.stylize(String(e),"yellow")}=${r.stylize(`"${t}"`,"string")}`:`${r.stylize(String(e),"yellow")}`}s(Dv,"inspectAttribute");K(Dv,"inspectAttribute");function Il(e,t){return kr(e,t,Bp,`
|
|
220
|
-
`)}s(Il,"inspectHTMLCollection");K(Il,"inspectHTMLCollection");function Bp(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+=kr(r.map(d=>[d,e.getAttribute(d)]),t,Dv," ")),t.truncate-=l.length;let u=t.truncate,c=Il(e.children,t);return c&&c.length>u&&(c=`${Ga}(${e.children.length})`),`${o}${l}${i}${c}${a}`}s(Bp,"inspectHTML");K(Bp,"inspectHTML");var ZY=typeof Symbol=="function"&&typeof Symbol.for=="function",Jh=ZY?Symbol.for("chai/inspect"):"@@chai/inspect",va=!1;try{let e=VY();va=e.inspect?e.inspect.custom:!1}catch{va=!1}var Ux=new WeakMap,Hx={},Vx={undefined:s((e,t)=>t.stylize("undefined","undefined"),"undefined"),null:s((e,t)=>t.stylize("null","null"),"null"),boolean:s((e,t)=>t.stylize(String(e),"boolean"),"boolean"),Boolean:s((e,t)=>t.stylize(String(e),"boolean"),"Boolean"),number:Xc,Number:Xc,bigint:Qc,BigInt:Qc,string:Zc,String:Zc,function:Yc,Function:Yc,symbol:ed,Symbol:ed,Array:Ov,Date:Av,Map:Iv,Set:qv,RegExp:kv,Promise:XY,WeakSet:s((e,t)=>t.stylize("WeakSet{…}","special"),"WeakSet"),WeakMap:s((e,t)=>t.stylize("WeakMap{…}","special"),"WeakMap"),Arguments:Lv,Int8Array:Qr,Uint8Array:Qr,Uint8ClampedArray:Qr,Int16Array:Qr,Uint16Array:Qr,Int32Array:Qr,Uint32Array:Qr,Float32Array:Qr,Float64Array:Qr,Generator:s(()=>"","Generator"),DataView:s(()=>"","DataView"),ArrayBuffer:s(()=>"","ArrayBuffer"),Error:Fv,HTMLCollection:Il,NodeList:Il},e7=K((e,t,r)=>Jh in e&&typeof e[Jh]=="function"?e[Jh](t):va&&va in e&&typeof e[va]=="function"?e[va](t.depth,t):"inspect"in e&&typeof e.inspect=="function"?e.inspect(t.depth,t):"constructor"in e&&Ux.has(e.constructor)?Ux.get(e.constructor)(e,t):Hx[r]?Hx[r](e,t):"","inspectCustom"),t7=Object.prototype.toString;function kl(e,t={}){let r=Cv(t,kl),{customInspect:n}=r,o=e===null?"null":typeof e;if(o==="object"&&(o=t7.call(e).slice(8,-1)),o in Vx)return Vx[o](e,r);if(n&&e){let a=e7(e,r,o);if(a)return typeof a=="string"?a:kl(a,r)}let i=e?Object.getPrototypeOf(e):!1;return i===Object.prototype||i===null?_a(e,r):e&&typeof HTMLElement=="function"&&e instanceof HTMLElement?Bp(e,r):"constructor"in e?e.constructor!==Object?$v(e,r):_a(e,r):e===Object(e)?_a(e,r):r.stylize(String(e),o)}s(kl,"inspect");K(kl,"inspect");var pr={includeStack:!1,showDiff:!0,truncateThreshold:40,useProxy:!0,proxyExcludedKeys:["then","catch","inspect","toJSON"],deepEqual:null};function Fe(e,t,r,n){var o={colors:n,depth:typeof r>"u"?2:r,showHidden:t,truncate:pr.truncateThreshold?pr.truncateThreshold:1/0};return kl(e,o)}s(Fe,"inspect2");K(Fe,"inspect");function ko(e){var t=Fe(e),r=Object.prototype.toString.call(e);if(pr.truncateThreshold&&t.length>=pr.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}s(ko,"objDisplay");K(ko,"objDisplay");function Up(e,t){var r=Pe(e,"negate"),n=Pe(e,"object"),o=t[3],i=wu(e,t),a=r?t[2]:t[1],l=Pe(e,"message");return typeof a=="function"&&(a=a()),a=a||"",a=a.replace(/#\{this\}/g,function(){return ko(n)}).replace(/#\{act\}/g,function(){return ko(i)}).replace(/#\{exp\}/g,function(){return ko(o)}),l?l+": "+a:a}s(Up,"getMessage2");K(Up,"getMessage");function Wr(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])}s(Wr,"transferFlags");K(Wr,"transferFlags");function td(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)}s(td,"type2");K(td,"type");function Hp(){this._key="chai/deep-eql__"+Math.random()+Date.now()}s(Hp,"FakeMap");K(Hp,"FakeMap");Hp.prototype={get:K(s(function(e){return e[this._key]},"get"),"get"),set:K(s(function(e,t){Object.isExtensible(e)&&Object.defineProperty(e,this._key,{value:t,configurable:!0})},"set"),"set")};var BR=typeof WeakMap=="function"?WeakMap:Hp;function rd(e,t,r){if(!r||Uo(e)||Uo(t))return null;var n=r.get(e);if(n){var o=n.get(t);if(typeof o=="boolean")return o}return null}s(rd,"memoizeCompare");K(rd,"memoizeCompare");function wa(e,t,r,n){if(!(!r||Uo(e)||Uo(t))){var o=r.get(e);o?o.set(t,n):(o=new BR,o.set(t,n),r.set(e,o))}}s(wa,"memoizeSet");K(wa,"memoizeSet");var UR=bs;function bs(e,t,r){if(r&&r.comparator)return nd(e,t,r);var n=Vp(e,t);return n!==null?n:nd(e,t,r)}s(bs,"deepEqual");K(bs,"deepEqual");function Vp(e,t){return e===t?e!==0||1/e===1/t:e!==e&&t!==t?!0:Uo(e)||Uo(t)?!1:null}s(Vp,"simpleEqual");K(Vp,"simpleEqual");function nd(e,t,r){r=r||{},r.memoize=r.memoize===!1?!1:r.memoize||new BR;var n=r&&r.comparator,o=rd(e,t,r.memoize);if(o!==null)return o;var i=rd(t,e,r.memoize);if(i!==null)return i;if(n){var a=n(e,t);if(a===!1||a===!0)return wa(e,t,r.memoize,a),a;var l=Vp(e,t);if(l!==null)return l}var u=td(e);if(u!==td(t))return wa(e,t,r.memoize,!1),!1;wa(e,t,r.memoize,!0);var c=Bv(e,t,u,r);return wa(e,t,r.memoize,c),c}s(nd,"extensiveDeepEqual");K(nd,"extensiveDeepEqual");function Bv(e,t,r,n){switch(r){case"String":case"Number":case"Boolean":case"Date":return bs(e.valueOf(),t.valueOf());case"Promise":case"Symbol":case"function":case"WeakMap":case"WeakSet":return e===t;case"Error":return Jp(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 Qn(e,t,n);case"RegExp":return Uv(e,t);case"Generator":return Hv(e,t,n);case"DataView":return Qn(new Uint8Array(e.buffer),new Uint8Array(t.buffer),n);case"ArrayBuffer":return Qn(new Uint8Array(e),new Uint8Array(t),n);case"Set":return od(e,t,n);case"Map":return od(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 Jv(e,t,n)}}s(Bv,"extensiveDeepEqualByType");K(Bv,"extensiveDeepEqualByType");function Uv(e,t){return e.toString()===t.toString()}s(Uv,"regexpEqual");K(Uv,"regexpEqual");function od(e,t,r){try{if(e.size!==t.size)return!1;if(e.size===0)return!0}catch{return!1}var n=[],o=[];return e.forEach(K(s(function(i,a){n.push([i,a])},"gatherEntries"),"gatherEntries")),t.forEach(K(s(function(i,a){o.push([i,a])},"gatherEntries"),"gatherEntries")),Qn(n.sort(),o.sort(),r)}s(od,"entriesEqual");K(od,"entriesEqual");function Qn(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(bs(e[o],t[o],r)===!1)return!1;return!0}s(Qn,"iterableEqual");K(Qn,"iterableEqual");function Hv(e,t,r){return Qn(Ml(e),Ml(t),r)}s(Hv,"generatorEqual");K(Hv,"generatorEqual");function Vv(e){return typeof Symbol<"u"&&typeof e=="object"&&typeof Symbol.iterator<"u"&&typeof e[Symbol.iterator]=="function"}s(Vv,"hasIteratorFunction");K(Vv,"hasIteratorFunction");function id(e){if(Vv(e))try{return Ml(e[Symbol.iterator]())}catch{return[]}return[]}s(id,"getIteratorEntries");K(id,"getIteratorEntries");function Ml(e){for(var t=e.next(),r=[t.value];t.done===!1;)t=e.next(),r.push(t.value);return r}s(Ml,"getGeneratorEntries");K(Ml,"getGeneratorEntries");function ad(e){var t=[];for(var r in e)t.push(r);return t}s(ad,"getEnumerableKeys");K(ad,"getEnumerableKeys");function sd(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}s(sd,"getEnumerableSymbols");K(sd,"getEnumerableSymbols");function Jp(e,t,r,n){var o=r.length;if(o===0)return!0;for(var i=0;i<o;i+=1)if(bs(e[r[i]],t[r[i]],n)===!1)return!1;return!0}s(Jp,"keysEqual");K(Jp,"keysEqual");function Jv(e,t,r){var n=ad(e),o=ad(t),i=sd(e),a=sd(t);if(n=n.concat(i),o=o.concat(a),n.length&&n.length===o.length)return Qn(ld(n).sort(),ld(o).sort())===!1?!1:Jp(e,t,n,r);var l=id(e),u=id(t);return l.length&&l.length===u.length?(l.sort(),u.sort(),Qn(l,u,r)):n.length===0&&l.length===0&&o.length===0&&u.length===0}s(Jv,"objectEqual");K(Jv,"objectEqual");function Uo(e){return e===null||typeof e!="object"}s(Uo,"isPrimitive");K(Uo,"isPrimitive");function ld(e){return e.map(K(s(function(t){return typeof t=="symbol"?t.toString():t},"mapSymbol"),"mapSymbol"))}s(ld,"mapSymbols");K(ld,"mapSymbols");function Eu(e,t){return typeof e>"u"||e===null?!1:t in Object(e)}s(Eu,"hasProperty");K(Eu,"hasProperty");function zv(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})}s(zv,"parsePath");K(zv,"parsePath");function ud(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}s(ud,"internalGetPathValue");K(ud,"internalGetPathValue");function zp(e,t){let r=zv(t),n=r[r.length-1],o={parent:r.length>1?ud(e,r,r.length-1):e,name:n.p||n.i,value:ud(e,r)};return o.exists=Eu(o.parent,o.name),o}s(zp,"getPathInfo");K(zp,"getPathInfo");function D(e,t,r,n){return Pe(this,"ssfi",r||D),Pe(this,"lockSsfi",n),Pe(this,"object",e),Pe(this,"message",t),Pe(this,"eql",pr.deepEqual||UR),zi(this)}s(D,"Assertion");K(D,"Assertion");Object.defineProperty(D,"includeStack",{get:s(function(){return console.warn("Assertion.includeStack is deprecated, use chai.config.includeStack instead."),pr.includeStack},"get"),set:s(function(e){console.warn("Assertion.includeStack is deprecated, use chai.config.includeStack instead."),pr.includeStack=e},"set")});Object.defineProperty(D,"showDiff",{get:s(function(){return console.warn("Assertion.showDiff is deprecated, use chai.config.showDiff instead."),pr.showDiff},"get"),set:s(function(e){console.warn("Assertion.showDiff is deprecated, use chai.config.showDiff instead."),pr.showDiff=e},"set")});D.addProperty=function(e,t){Wp(this.prototype,e,t)};D.addMethod=function(e,t){Gp(this.prototype,e,t)};D.addChainableMethod=function(e,t,r){Xp(this.prototype,e,t,r)};D.overwriteProperty=function(e,t){Kp(this.prototype,e,t)};D.overwriteMethod=function(e,t){Yp(this.prototype,e,t)};D.overwriteChainableMethod=function(e,t,r){Qp(this.prototype,e,t,r)};D.prototype.assert=function(e,t,r,n,o,i){var a=Dp(this,arguments);if(i!==!1&&(i=!0),n===void 0&&o===void 0&&(i=!1),pr.showDiff!==!0&&(i=!1),!a){t=Up(this,arguments);var l=wu(this,arguments),u={actual:l,expected:n,showDiff:i},c=tf(this,arguments);throw c&&(u.operator=c),new Ue(t,u,pr.includeStack?this.assert:Pe(this,"ssfi"))}};Object.defineProperty(D.prototype,"_obj",{get:s(function(){return Pe(this,"object")},"get"),set:s(function(e){Pe(this,"object",e)},"set")});function vs(){return pr.useProxy&&typeof Proxy<"u"&&typeof Reflect<"u"}s(vs,"isProxyEnabled");K(vs,"isProxyEnabled");function Wp(e,t,r){r=r===void 0?function(){}:r,Object.defineProperty(e,t,{get:K(s(function n(){!vs()&&!Pe(this,"lockSsfi")&&Pe(this,"ssfi",n);var o=r.call(this);if(o!==void 0)return o;var i=new D;return Wr(this,i),i},"propertyGetter"),"propertyGetter"),configurable:!0})}s(Wp,"addProperty");K(Wp,"addProperty");var r7=Object.getOwnPropertyDescriptor(function(){},"length");function ws(e,t,r){return r7.configurable&&Object.defineProperty(e,"length",{get:s(function(){throw Error(r?"Invalid Chai property: "+t+'.length. Due to a compatibility issue, "length" cannot directly follow "'+t+'". Use "'+t+'.lengthOf" instead.':"Invalid Chai property: "+t+'.length. See docs for proper usage of "'+t+'".')},"get")}),e}s(ws,"addLengthGuard");K(ws,"addLengthGuard");function Wv(e){var t=Object.getOwnPropertyNames(e);function r(o){t.indexOf(o)===-1&&t.push(o)}s(r,"addProperty2"),K(r,"addProperty");for(var n=Object.getPrototypeOf(e);n!==null;)Object.getOwnPropertyNames(n).forEach(r),n=Object.getPrototypeOf(n);return t}s(Wv,"getProperties");K(Wv,"getProperties");var Jx=["__flags","__methods","_obj","assert"];function zi(e,t){return vs()?new Proxy(e,{get:K(s(function r(n,o){if(typeof o=="string"&&pr.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 Wv(n).forEach(function(l){if(!Object.prototype.hasOwnProperty(l)&&Jx.indexOf(l)===-1){var u=Gv(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 Jx.indexOf(o)===-1&&!Pe(n,"lockSsfi")&&Pe(n,"ssfi",r),Reflect.get(n,o)},"proxyGetter"),"proxyGetter")}):e}s(zi,"proxify");K(zi,"proxify");function Gv(e,t,r){if(Math.abs(e.length-t.length)>=r)return r;var n=[];for(let i=0;i<=e.length;i++)n[i]=Array(t.length+1).fill(0),n[i][0]=i;for(let i=0;i<t.length;i++)n[0][i]=i;for(let i=1;i<=e.length;i++){var o=e.charCodeAt(i-1);for(let a=1;a<=t.length;a++){if(Math.abs(i-a)>=r){n[i][a]=r;continue}n[i][a]=Math.min(n[i-1][a]+1,n[i][a-1]+1,n[i-1][a-1]+(o===t.charCodeAt(a-1)?0:1))}}return n[e.length][t.length]}s(Gv,"stringDistanceCapped");K(Gv,"stringDistanceCapped");function Gp(e,t,r){var n=K(function(){Pe(this,"lockSsfi")||Pe(this,"ssfi",n);var o=r.apply(this,arguments);if(o!==void 0)return o;var i=new D;return Wr(this,i),i},"methodWrapper");ws(n,t,!1),e[t]=zi(n,t)}s(Gp,"addMethod");K(Gp,"addMethod");function Kp(e,t,r){var n=Object.getOwnPropertyDescriptor(e,t),o=K(function(){},"_super");n&&typeof n.get=="function"&&(o=n.get),Object.defineProperty(e,t,{get:K(s(function i(){!vs()&&!Pe(this,"lockSsfi")&&Pe(this,"ssfi",i);var a=Pe(this,"lockSsfi");Pe(this,"lockSsfi",!0);var l=r(o).call(this);if(Pe(this,"lockSsfi",a),l!==void 0)return l;var u=new D;return Wr(this,u),u},"overwritingPropertyGetter"),"overwritingPropertyGetter"),configurable:!0})}s(Kp,"overwriteProperty");K(Kp,"overwriteProperty");function Yp(e,t,r){var n=e[t],o=K(function(){throw new Error(t+" is not a function")},"_super");n&&typeof n=="function"&&(o=n);var i=K(function(){Pe(this,"lockSsfi")||Pe(this,"ssfi",i);var a=Pe(this,"lockSsfi");Pe(this,"lockSsfi",!0);var l=r(o).apply(this,arguments);if(Pe(this,"lockSsfi",a),l!==void 0)return l;var u=new D;return Wr(this,u),u},"overwritingMethodWrapper");ws(i,t,!1),e[t]=zi(i,t)}s(Yp,"overwriteMethod");K(Yp,"overwriteMethod");var n7=typeof Object.setPrototypeOf=="function",zx=K(function(){},"testFn"),o7=Object.getOwnPropertyNames(zx).filter(function(e){var t=Object.getOwnPropertyDescriptor(zx,e);return typeof t!="object"?!0:!t.configurable}),i7=Function.prototype.call,a7=Function.prototype.apply;function Xp(e,t,r,n){typeof n!="function"&&(n=K(function(){},"chainingBehavior"));var o={method:r,chainingBehavior:n};e.__methods||(e.__methods={}),e.__methods[t]=o,Object.defineProperty(e,t,{get:K(s(function(){o.chainingBehavior.call(this);var i=K(function(){Pe(this,"lockSsfi")||Pe(this,"ssfi",i);var u=o.method.apply(this,arguments);if(u!==void 0)return u;var c=new D;return Wr(this,c),c},"chainableMethodWrapper");if(ws(i,t,!0),n7){var a=Object.create(this);a.call=i7,a.apply=a7,Object.setPrototypeOf(i,a)}else{var l=Object.getOwnPropertyNames(e);l.forEach(function(u){if(o7.indexOf(u)===-1){var c=Object.getOwnPropertyDescriptor(e,u);Object.defineProperty(i,u,c)}})}return Wr(this,i),zi(i)},"chainableMethodGetter"),"chainableMethodGetter"),configurable:!0})}s(Xp,"addChainableMethod");K(Xp,"addChainableMethod");function Qp(e,t,r,n){var o=e.__methods[t],i=o.chainingBehavior;o.chainingBehavior=K(s(function(){var l=n(i).call(this);if(l!==void 0)return l;var u=new D;return Wr(this,u),u},"overwritingChainableMethodGetter"),"overwritingChainableMethodGetter");var a=o.method;o.method=K(s(function(){var l=r(a).apply(this,arguments);if(l!==void 0)return l;var u=new D;return Wr(this,u),u},"overwritingChainableMethodWrapper"),"overwritingChainableMethodWrapper")}s(Qp,"overwriteChainableMethod");K(Qp,"overwriteChainableMethod");function ql(e,t){return Fe(e)<Fe(t)?-1:1}s(ql,"compareByInspect");K(ql,"compareByInspect");function Zp(e){return typeof Object.getOwnPropertySymbols!="function"?[]:Object.getOwnPropertySymbols(e).filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})}s(Zp,"getOwnEnumerablePropertySymbols");K(Zp,"getOwnEnumerablePropertySymbols");function ef(e){return Object.keys(e).concat(Zp(e))}s(ef,"getOwnEnumerableProperties");K(ef,"getOwnEnumerableProperties");var cd=Number.isNaN;function Kv(e){var t=Xe(e),r=["Array","Object","Function"];return r.indexOf(t)!==-1}s(Kv,"isObjectType");K(Kv,"isObjectType");function tf(e,t){var r=Pe(e,"operator"),n=Pe(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=Kv(o);return/\snot\s/.test(i)?a?"notDeepStrictEqual":"notStrictEqual":a?"deepStrictEqual":"strictEqual"}}s(tf,"getOperator");K(tf,"getOperator");function Su(e){return e.name}s(Su,"getName");K(Su,"getName");function jl(e){return Object.prototype.toString.call(e)==="[object RegExp]"}s(jl,"isRegExp2");K(jl,"isRegExp");function jt(e){return["Number","BigInt"].includes(Xe(e))}s(jt,"isNumeric");K(jt,"isNumeric");var{flag:z}=wn;["to","be","been","is","and","has","have","with","that","which","at","of","same","but","does","still","also"].forEach(function(e){D.addProperty(e)});D.addProperty("not",function(){z(this,"negate",!0)});D.addProperty("deep",function(){z(this,"deep",!0)});D.addProperty("nested",function(){z(this,"nested",!0)});D.addProperty("own",function(){z(this,"own",!0)});D.addProperty("ordered",function(){z(this,"ordered",!0)});D.addProperty("any",function(){z(this,"any",!0),z(this,"all",!1)});D.addProperty("all",function(){z(this,"all",!0),z(this,"any",!1)});var Wx={function:["function","asyncfunction","generatorfunction","asyncgeneratorfunction"],asyncfunction:["asyncfunction","asyncgeneratorfunction"],generatorfunction:["generatorfunction","asyncgeneratorfunction"],asyncgeneratorfunction:["asyncgeneratorfunction"]};function rf(e,t){t&&z(this,"message",t),e=e.toLowerCase();var r=z(this,"object"),n=~["a","e","i","o","u"].indexOf(e.charAt(0))?"an ":"a ";let o=Xe(r).toLowerCase();Wx.function.includes(e)?this.assert(Wx[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)}s(rf,"an");K(rf,"an");D.addChainableMethod("an",rf);D.addChainableMethod("a",rf);function Yv(e,t){return cd(e)&&cd(t)||e===t}s(Yv,"SameValueZero");K(Yv,"SameValueZero");function Es(){z(this,"contains",!0)}s(Es,"includeChainingBehavior");K(Es,"includeChainingBehavior");function Ss(e,t){t&&z(this,"message",t);var r=z(this,"object"),n=Xe(r).toLowerCase(),o=z(this,"message"),i=z(this,"negate"),a=z(this,"ssfi"),l=z(this,"deep"),u=l?"deep ":"",c=l?z(this,"eql"):Yv;o=o?o+": ":"";var d=!1;switch(n){case"string":d=r.indexOf(e)!==-1;break;case"weakset":if(l)throw new Ue(o+"unable to use .deep.include with WeakSet",void 0,a);d=r.has(e);break;case"map":r.forEach(function(m){d=d||c(m,e)});break;case"set":l?r.forEach(function(m){d=d||c(m,e)}):d=r.has(e);break;case"array":l?d=r.some(function(m){return c(m,e)}):d=r.indexOf(e)!==-1;break;default:if(e!==Object(e))throw new Ue(o+"the given combination of arguments ("+n+" and "+Xe(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 "+Xe(e).toLowerCase(),void 0,a);var p=Object.keys(e),h=null,f=0;if(p.forEach(function(m){var y=new D(r);if(Wr(this,y,!0),z(y,"lockSsfi",!0),!i||p.length===1){y.property(m,e[m]);return}try{y.property(m,e[m])}catch(g){if(!Cr.compatibleConstructor(g,Ue))throw g;h===null&&(h=g),f++}},this),i&&p.length>1&&f===p.length)throw h;return}this.assert(d,"expected #{this} to "+u+"include "+Fe(e),"expected #{this} to not "+u+"include "+Fe(e))}s(Ss,"include");K(Ss,"include");D.addChainableMethod("include",Ss,Es);D.addChainableMethod("contain",Ss,Es);D.addChainableMethod("contains",Ss,Es);D.addChainableMethod("includes",Ss,Es);D.addProperty("ok",function(){this.assert(z(this,"object"),"expected #{this} to be truthy","expected #{this} to be falsy")});D.addProperty("true",function(){this.assert(z(this,"object")===!0,"expected #{this} to be true","expected #{this} to be false",!z(this,"negate"))});D.addProperty("numeric",function(){let e=z(this,"object");this.assert(["Number","BigInt"].includes(Xe(e)),"expected #{this} to be numeric","expected #{this} to not be numeric",!z(this,"negate"))});D.addProperty("callable",function(){let e=z(this,"object"),t=z(this,"ssfi"),r=z(this,"message"),n=r?`${r}: `:"",o=z(this,"negate"),i=o?`${n}expected ${Fe(e)} not to be a callable function`:`${n}expected ${Fe(e)} to be a callable function`,a=["Function","AsyncFunction","GeneratorFunction","AsyncGeneratorFunction"].includes(Xe(e));if(a&&o||!a&&!o)throw new Ue(i,void 0,t)});D.addProperty("false",function(){this.assert(z(this,"object")===!1,"expected #{this} to be false","expected #{this} to be true",!!z(this,"negate"))});D.addProperty("null",function(){this.assert(z(this,"object")===null,"expected #{this} to be null","expected #{this} not to be null")});D.addProperty("undefined",function(){this.assert(z(this,"object")===void 0,"expected #{this} to be undefined","expected #{this} not to be undefined")});D.addProperty("NaN",function(){this.assert(cd(z(this,"object")),"expected #{this} to be NaN","expected #{this} not to be NaN")});function nf(){var e=z(this,"object");this.assert(e!=null,"expected #{this} to exist","expected #{this} to not exist")}s(nf,"assertExist");K(nf,"assertExist");D.addProperty("exist",nf);D.addProperty("exists",nf);D.addProperty("empty",function(){var e=z(this,"object"),t=z(this,"ssfi"),r=z(this,"message"),n;switch(r=r?r+": ":"",Xe(e).toLowerCase()){case"array":case"string":n=e.length;break;case"map":case"set":n=e.size;break;case"weakmap":case"weakset":throw new Ue(r+".empty was passed a weak collection",void 0,t);case"function":var o=r+".empty was passed a function "+Su(e);throw new Ue(o.trim(),void 0,t);default:if(e!==Object(e))throw new Ue(r+".empty was passed non-string primitive "+Fe(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 of(){var e=z(this,"object"),t=Xe(e);this.assert(t==="Arguments","expected #{this} to be arguments but got "+t,"expected #{this} to not be arguments")}s(of,"checkArguments");K(of,"checkArguments");D.addProperty("arguments",of);D.addProperty("Arguments",of);function xu(e,t){t&&z(this,"message",t);var r=z(this,"object");if(z(this,"deep")){var n=z(this,"lockSsfi");z(this,"lockSsfi",!0),this.eql(e),z(this,"lockSsfi",n)}else this.assert(e===r,"expected #{this} to equal #{exp}","expected #{this} to not equal #{exp}",e,this._obj,!0)}s(xu,"assertEqual");K(xu,"assertEqual");D.addMethod("equal",xu);D.addMethod("equals",xu);D.addMethod("eq",xu);function af(e,t){t&&z(this,"message",t);var r=z(this,"eql");this.assert(r(e,z(this,"object")),"expected #{this} to deeply equal #{exp}","expected #{this} to not deeply equal #{exp}",e,this._obj,!0)}s(af,"assertEql");K(af,"assertEql");D.addMethod("eql",af);D.addMethod("eqls",af);function Tu(e,t){t&&z(this,"message",t);var r=z(this,"object"),n=z(this,"doLength"),o=z(this,"message"),i=o?o+": ":"",a=z(this,"ssfi"),l=Xe(r).toLowerCase(),u=Xe(e).toLowerCase();if(n&&l!=="map"&&l!=="set"&&new D(r,o,a,!0).to.have.property("length"),!n&&l==="date"&&u!=="date")throw new Ue(i+"the argument to above must be a date",void 0,a);if(!jt(e)&&(n||jt(r)))throw new Ue(i+"the argument to above must be a number",void 0,a);if(!n&&l!=="date"&&!jt(r)){var c=l==="string"?"'"+r+"'":r;throw new Ue(i+"expected "+c+" to be a number or a date",void 0,a)}if(n){var d="length",p;l==="map"||l==="set"?(d="size",p=r.size):p=r.length,this.assert(p>e,"expected #{this} to have a "+d+" above #{exp} but got #{act}","expected #{this} to not have a "+d+" above #{exp}",e,p)}else this.assert(r>e,"expected #{this} to be above #{exp}","expected #{this} to be at most #{exp}",e)}s(Tu,"assertAbove");K(Tu,"assertAbove");D.addMethod("above",Tu);D.addMethod("gt",Tu);D.addMethod("greaterThan",Tu);function Cu(e,t){t&&z(this,"message",t);var r=z(this,"object"),n=z(this,"doLength"),o=z(this,"message"),i=o?o+": ":"",a=z(this,"ssfi"),l=Xe(r).toLowerCase(),u=Xe(e).toLowerCase(),c,d=!0;if(n&&l!=="map"&&l!=="set"&&new D(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(!jt(e)&&(n||jt(r)))c=i+"the argument to least must be a number";else if(!n&&l!=="date"&&!jt(r)){var p=l==="string"?"'"+r+"'":r;c=i+"expected "+p+" to be a number or a date"}else d=!1;if(d)throw new Ue(c,void 0,a);if(n){var h="length",f;l==="map"||l==="set"?(h="size",f=r.size):f=r.length,this.assert(f>=e,"expected #{this} to have a "+h+" at least #{exp} but got #{act}","expected #{this} to have a "+h+" below #{exp}",e,f)}else this.assert(r>=e,"expected #{this} to be at least #{exp}","expected #{this} to be below #{exp}",e)}s(Cu,"assertLeast");K(Cu,"assertLeast");D.addMethod("least",Cu);D.addMethod("gte",Cu);D.addMethod("greaterThanOrEqual",Cu);function _u(e,t){t&&z(this,"message",t);var r=z(this,"object"),n=z(this,"doLength"),o=z(this,"message"),i=o?o+": ":"",a=z(this,"ssfi"),l=Xe(r).toLowerCase(),u=Xe(e).toLowerCase(),c,d=!0;if(n&&l!=="map"&&l!=="set"&&new D(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(!jt(e)&&(n||jt(r)))c=i+"the argument to below must be a number";else if(!n&&l!=="date"&&!jt(r)){var p=l==="string"?"'"+r+"'":r;c=i+"expected "+p+" to be a number or a date"}else d=!1;if(d)throw new Ue(c,void 0,a);if(n){var h="length",f;l==="map"||l==="set"?(h="size",f=r.size):f=r.length,this.assert(f<e,"expected #{this} to have a "+h+" below #{exp} but got #{act}","expected #{this} to not have a "+h+" below #{exp}",e,f)}else this.assert(r<e,"expected #{this} to be below #{exp}","expected #{this} to be at least #{exp}",e)}s(_u,"assertBelow");K(_u,"assertBelow");D.addMethod("below",_u);D.addMethod("lt",_u);D.addMethod("lessThan",_u);function Pu(e,t){t&&z(this,"message",t);var r=z(this,"object"),n=z(this,"doLength"),o=z(this,"message"),i=o?o+": ":"",a=z(this,"ssfi"),l=Xe(r).toLowerCase(),u=Xe(e).toLowerCase(),c,d=!0;if(n&&l!=="map"&&l!=="set"&&new D(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(!jt(e)&&(n||jt(r)))c=i+"the argument to most must be a number";else if(!n&&l!=="date"&&!jt(r)){var p=l==="string"?"'"+r+"'":r;c=i+"expected "+p+" to be a number or a date"}else d=!1;if(d)throw new Ue(c,void 0,a);if(n){var h="length",f;l==="map"||l==="set"?(h="size",f=r.size):f=r.length,this.assert(f<=e,"expected #{this} to have a "+h+" at most #{exp} but got #{act}","expected #{this} to have a "+h+" above #{exp}",e,f)}else this.assert(r<=e,"expected #{this} to be at most #{exp}","expected #{this} to be above #{exp}",e)}s(Pu,"assertMost");K(Pu,"assertMost");D.addMethod("most",Pu);D.addMethod("lte",Pu);D.addMethod("lessThanOrEqual",Pu);D.addMethod("within",function(e,t,r){r&&z(this,"message",r);var n=z(this,"object"),o=z(this,"doLength"),i=z(this,"message"),a=i?i+": ":"",l=z(this,"ssfi"),u=Xe(n).toLowerCase(),c=Xe(e).toLowerCase(),d=Xe(t).toLowerCase(),p,h=!0,f=c==="date"&&d==="date"?e.toISOString()+".."+t.toISOString():e+".."+t;if(o&&u!=="map"&&u!=="set"&&new D(n,i,l,!0).to.have.property("length"),!o&&u==="date"&&(c!=="date"||d!=="date"))p=a+"the arguments to within must be dates";else if((!jt(e)||!jt(t))&&(o||jt(n)))p=a+"the arguments to within must be numbers";else if(!o&&u!=="date"&&!jt(n)){var m=u==="string"?"'"+n+"'":n;p=a+"expected "+m+" to be a number or a date"}else h=!1;if(h)throw new Ue(p,void 0,l);if(o){var y="length",g;u==="map"||u==="set"?(y="size",g=n.size):g=n.length,this.assert(g>=e&&g<=t,"expected #{this} to have a "+y+" within "+f,"expected #{this} to not have a "+y+" within "+f)}else this.assert(n>=e&&n<=t,"expected #{this} to be within "+f,"expected #{this} to not be within "+f)});function sf(e,t){t&&z(this,"message",t);var r=z(this,"object"),n=z(this,"ssfi"),o=z(this,"message");try{var i=r instanceof e}catch(l){throw l instanceof TypeError?(o=o?o+": ":"",new Ue(o+"The instanceof assertion needs a constructor but "+Xe(e)+" was given.",void 0,n)):l}var a=Su(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)}s(sf,"assertInstanceOf");K(sf,"assertInstanceOf");D.addMethod("instanceof",sf);D.addMethod("instanceOf",sf);function lf(e,t,r){r&&z(this,"message",r);var n=z(this,"nested"),o=z(this,"own"),i=z(this,"message"),a=z(this,"object"),l=z(this,"ssfi"),u=typeof e;if(i=i?i+": ":"",n){if(u!=="string")throw new Ue(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 Ue(i+"the argument to property must be a string, number, or symbol",void 0,l);if(n&&o)throw new Ue(i+'The "nested" and "own" flags cannot be combined.',void 0,l);if(a==null)throw new Ue(i+"Target cannot be null or undefined.",void 0,l);var c=z(this,"deep"),d=z(this,"negate"),p=n?zp(a,e):null,h=n?p.value:a[e],f=c?z(this,"eql"):(g,b)=>g===b,m="";c&&(m+="deep "),o&&(m+="own "),n&&(m+="nested "),m+="property ";var y;o?y=Object.prototype.hasOwnProperty.call(a,e):n?y=p.exists:y=Eu(a,e),(!d||arguments.length===1)&&this.assert(y,"expected #{this} to have "+m+Fe(e),"expected #{this} to not have "+m+Fe(e)),arguments.length>1&&this.assert(y&&f(t,h),"expected #{this} to have "+m+Fe(e)+" of #{exp}, but got #{act}","expected #{this} to not have "+m+Fe(e)+" of #{act}",t,h),z(this,"object",h)}s(lf,"assertProperty");K(lf,"assertProperty");D.addMethod("property",lf);function uf(e,t,r){z(this,"own",!0),lf.apply(this,arguments)}s(uf,"assertOwnProperty");K(uf,"assertOwnProperty");D.addMethod("ownProperty",uf);D.addMethod("haveOwnProperty",uf);function cf(e,t,r){typeof t=="string"&&(r=t,t=null),r&&z(this,"message",r);var n=z(this,"object"),o=Object.getOwnPropertyDescriptor(Object(n),e),i=z(this,"eql");o&&t?this.assert(i(t,o),"expected the own property descriptor for "+Fe(e)+" on #{this} to match "+Fe(t)+", got "+Fe(o),"expected the own property descriptor for "+Fe(e)+" on #{this} to not match "+Fe(t),t,o,!0):this.assert(o,"expected #{this} to have an own property descriptor for "+Fe(e),"expected #{this} to not have an own property descriptor for "+Fe(e)),z(this,"object",o)}s(cf,"assertOwnPropertyDescriptor");K(cf,"assertOwnPropertyDescriptor");D.addMethod("ownPropertyDescriptor",cf);D.addMethod("haveOwnPropertyDescriptor",cf);function df(){z(this,"doLength",!0)}s(df,"assertLengthChain");K(df,"assertLengthChain");function pf(e,t){t&&z(this,"message",t);var r=z(this,"object"),n=Xe(r).toLowerCase(),o=z(this,"message"),i=z(this,"ssfi"),a="length",l;switch(n){case"map":case"set":a="size",l=r.size;break;default:new D(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)}s(pf,"assertLength");K(pf,"assertLength");D.addChainableMethod("length",pf,df);D.addChainableMethod("lengthOf",pf,df);function ff(e,t){t&&z(this,"message",t);var r=z(this,"object");this.assert(e.exec(r),"expected #{this} to match "+e,"expected #{this} not to match "+e)}s(ff,"assertMatch");K(ff,"assertMatch");D.addMethod("match",ff);D.addMethod("matches",ff);D.addMethod("string",function(e,t){t&&z(this,"message",t);var r=z(this,"object"),n=z(this,"message"),o=z(this,"ssfi");new D(r,n,o,!0).is.a("string"),this.assert(~r.indexOf(e),"expected #{this} to contain "+Fe(e),"expected #{this} to not contain "+Fe(e))});function hf(e){var t=z(this,"object"),r=Xe(t),n=Xe(e),o=z(this,"ssfi"),i=z(this,"deep"),a,l="",u,c=!0,d=z(this,"message");d=d?d+": ":"";var p=d+"when testing keys against an object or an array you must give a single Array|Object|String argument or multiple String arguments";if(r==="Map"||r==="Set")l=i?"deeply ":"",u=[],t.forEach(function(v,S){u.push(S)}),n!=="Array"&&(e=Array.prototype.slice.call(arguments));else{switch(u=ef(t),n){case"Array":if(arguments.length>1)throw new Ue(p,void 0,o);break;case"Object":if(arguments.length>1)throw new Ue(p,void 0,o);e=Object.keys(e);break;default:e=Array.prototype.slice.call(arguments)}e=e.map(function(v){return typeof v=="symbol"?v:String(v)})}if(!e.length)throw new Ue(d+"keys required",void 0,o);var h=e.length,f=z(this,"any"),m=z(this,"all"),y=e,g=i?z(this,"eql"):(v,S)=>v===S;if(!f&&!m&&(m=!0),f&&(c=y.some(function(v){return u.some(function(S){return g(v,S)})})),m&&(c=y.every(function(v){return u.some(function(S){return g(v,S)})}),z(this,"contains")||(c=c&&e.length==u.length)),h>1){e=e.map(function(v){return Fe(v)});var b=e.pop();m&&(a=e.join(", ")+", and "+b),f&&(a=e.join(", ")+", or "+b)}else a=Fe(e[0]);a=(h>1?"keys ":"key ")+a,a=(z(this,"contains")?"contain ":"have ")+a,this.assert(c,"expected #{this} to "+l+a,"expected #{this} to not "+l+a,y.slice(0).sort(ql),u.sort(ql),!0)}s(hf,"assertKeys");K(hf,"assertKeys");D.addMethod("keys",hf);D.addMethod("key",hf);function Ou(e,t,r){r&&z(this,"message",r);var n=z(this,"object"),o=z(this,"ssfi"),i=z(this,"message"),a=z(this,"negate")||!1;new D(n,i,o,!0).is.a("function"),(jl(e)||typeof e=="string")&&(t=e,e=null);let l,u=!1;try{n()}catch(v){u=!0,l=v}var c=e===void 0&&t===void 0,d=!!(e&&t),p=!1,h=!1;if(c||!c&&!a){var f="an error";e instanceof Error?f="#{exp}":e&&(f=Cr.getConstructorName(e));let v=l;if(l instanceof Error)v=l.toString();else if(typeof l=="string")v=l;else if(l&&(typeof l=="object"||typeof l=="function"))try{v=Cr.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(),v)}if(e&&l){if(e instanceof Error){var m=Cr.compatibleInstance(l,e);m===a&&(d&&a?p=!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 y=Cr.compatibleConstructor(l,e);y===a&&(d&&a?p=!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&&Cr.getConstructorName(e),l instanceof Error?l.toString():l&&Cr.getConstructorName(l)))}if(l&&t!==void 0&&t!==null){var g="including";jl(t)&&(g="matching");var b=Cr.compatibleMessage(l,t);b===a&&(d&&a?h=!0:this.assert(a,"expected #{this} to throw error "+g+" #{exp} but got #{act}","expected #{this} to throw error not "+g+" #{exp}",t,Cr.getMessage(l)))}p&&h&&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&&Cr.getConstructorName(e),l instanceof Error?l.toString():l&&Cr.getConstructorName(l)),z(this,"object",l)}s(Ou,"assertThrows");K(Ou,"assertThrows");D.addMethod("throw",Ou);D.addMethod("throws",Ou);D.addMethod("Throw",Ou);function mf(e,t){t&&z(this,"message",t);var r=z(this,"object"),n=z(this,"itself"),o=typeof r=="function"&&!n?r.prototype[e]:r[e];this.assert(typeof o=="function","expected #{this} to respond to "+Fe(e),"expected #{this} to not respond to "+Fe(e))}s(mf,"respondTo");K(mf,"respondTo");D.addMethod("respondTo",mf);D.addMethod("respondsTo",mf);D.addProperty("itself",function(){z(this,"itself",!0)});function yf(e,t){t&&z(this,"message",t);var r=z(this,"object"),n=e(r);this.assert(n,"expected #{this} to satisfy "+ko(e),"expected #{this} to not satisfy"+ko(e),!z(this,"negate"),n)}s(yf,"satisfy");K(yf,"satisfy");D.addMethod("satisfy",yf);D.addMethod("satisfies",yf);function gf(e,t,r){r&&z(this,"message",r);var n=z(this,"object"),o=z(this,"message"),i=z(this,"ssfi");new D(n,o,i,!0).is.numeric;let a="A `delta` value is required for `closeTo`";if(t==null)throw new Ue(o?`${o}: ${a}`:a,void 0,i);if(new D(t,o,i,!0).is.numeric,a="A `expected` value is required for `closeTo`",e==null)throw new Ue(o?`${o}: ${a}`:a,void 0,i);new D(e,o,i,!0).is.numeric;let l=K(c=>c<0n?-c:c,"abs"),u=K(c=>parseFloat(parseFloat(c).toPrecision(12)),"strip");this.assert(u(l(n-e))<=t,"expected #{this} to be close to "+e+" +/- "+t,"expected #{this} not to be close to "+e+" +/- "+t)}s(gf,"closeTo");K(gf,"closeTo");D.addMethod("closeTo",gf);D.addMethod("approximately",gf);function Xv(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(d,p){return r(l,d)?(n||i.splice(p,1),!0):!1})})}s(Xv,"isSubsetOf");K(Xv,"isSubsetOf");D.addMethod("members",function(e,t){t&&z(this,"message",t);var r=z(this,"object"),n=z(this,"message"),o=z(this,"ssfi");new D(r,n,o,!0).to.be.iterable,new D(e,n,o,!0).to.be.iterable;var i=z(this,"contains"),a=z(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 d=z(this,"deep")?z(this,"eql"):void 0;this.assert(Xv(e,r,d,i,a),u,c,e,r,!0)});D.addProperty("iterable",function(e){e&&z(this,"message",e);var t=z(this,"object");this.assert(t!=null&&t[Symbol.iterator],"expected #{this} to be an iterable","expected #{this} to not be an iterable",t)});function Qv(e,t){t&&z(this,"message",t);var r=z(this,"object"),n=z(this,"message"),o=z(this,"ssfi"),i=z(this,"contains"),a=z(this,"deep"),l=z(this,"eql");new D(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)}s(Qv,"oneOf");K(Qv,"oneOf");D.addMethod("oneOf",Qv);function bf(e,t,r){r&&z(this,"message",r);var n=z(this,"object"),o=z(this,"message"),i=z(this,"ssfi");new D(n,o,i,!0).is.a("function");var a;t?(new D(e,o,i,!0).to.have.property(t),a=e[t]):(new D(e,o,i,!0).is.a("function"),a=e()),n();var l=t==null?e():e[t],u=t==null?a:"."+t;z(this,"deltaMsgObj",u),z(this,"initialDeltaValue",a),z(this,"finalDeltaValue",l),z(this,"deltaBehavior","change"),z(this,"realDelta",l!==a),this.assert(a!==l,"expected "+u+" to change","expected "+u+" to not change")}s(bf,"assertChanges");K(bf,"assertChanges");D.addMethod("change",bf);D.addMethod("changes",bf);function vf(e,t,r){r&&z(this,"message",r);var n=z(this,"object"),o=z(this,"message"),i=z(this,"ssfi");new D(n,o,i,!0).is.a("function");var a;t?(new D(e,o,i,!0).to.have.property(t),a=e[t]):(new D(e,o,i,!0).is.a("function"),a=e()),new D(a,o,i,!0).is.a("number"),n();var l=t==null?e():e[t],u=t==null?a:"."+t;z(this,"deltaMsgObj",u),z(this,"initialDeltaValue",a),z(this,"finalDeltaValue",l),z(this,"deltaBehavior","increase"),z(this,"realDelta",l-a),this.assert(l-a>0,"expected "+u+" to increase","expected "+u+" to not increase")}s(vf,"assertIncreases");K(vf,"assertIncreases");D.addMethod("increase",vf);D.addMethod("increases",vf);function wf(e,t,r){r&&z(this,"message",r);var n=z(this,"object"),o=z(this,"message"),i=z(this,"ssfi");new D(n,o,i,!0).is.a("function");var a;t?(new D(e,o,i,!0).to.have.property(t),a=e[t]):(new D(e,o,i,!0).is.a("function"),a=e()),new D(a,o,i,!0).is.a("number"),n();var l=t==null?e():e[t],u=t==null?a:"."+t;z(this,"deltaMsgObj",u),z(this,"initialDeltaValue",a),z(this,"finalDeltaValue",l),z(this,"deltaBehavior","decrease"),z(this,"realDelta",a-l),this.assert(l-a<0,"expected "+u+" to decrease","expected "+u+" to not decrease")}s(wf,"assertDecreases");K(wf,"assertDecreases");D.addMethod("decrease",wf);D.addMethod("decreases",wf);function Zv(e,t){t&&z(this,"message",t);var r=z(this,"deltaMsgObj"),n=z(this,"initialDeltaValue"),o=z(this,"finalDeltaValue"),i=z(this,"deltaBehavior"),a=z(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)}s(Zv,"assertDelta");K(Zv,"assertDelta");D.addMethod("by",Zv);D.addProperty("extensible",function(){var e=z(this,"object"),t=e===Object(e)&&Object.isExtensible(e);this.assert(t,"expected #{this} to be extensible","expected #{this} to not be extensible")});D.addProperty("sealed",function(){var e=z(this,"object"),t=e===Object(e)?Object.isSealed(e):!0;this.assert(t,"expected #{this} to be sealed","expected #{this} to not be sealed")});D.addProperty("frozen",function(){var e=z(this,"object"),t=e===Object(e)?Object.isFrozen(e):!0;this.assert(t,"expected #{this} to be frozen","expected #{this} to not be frozen")});D.addProperty("finite",function(e){var t=z(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 $l(e,t){return e===t?!0:typeof t!=typeof e?!1:typeof e!="object"||e===null?e===t:t?Array.isArray(e)?Array.isArray(t)?e.every(function(r){return t.some(function(n){return $l(r,n)})}):!1:e instanceof Date?t instanceof Date?e.getTime()===t.getTime():!1:Object.keys(e).every(function(r){var n=e[r],o=t[r];return typeof n=="object"&&n!==null&&o!==null?$l(n,o):typeof n=="function"?n(o):o===n}):!1}s($l,"compareSubset");K($l,"compareSubset");D.addMethod("containSubset",function(e){let t=Pe(this,"object"),r=pr.showDiff;this.assert($l(e,t),"expected #{act} to contain subset #{exp}","expected #{act} to not contain subset #{exp}",e,t,r)});function Mo(e,t){return new D(e,t)}s(Mo,"expect");K(Mo,"expect");Mo.fail=function(e,t,r,n){throw arguments.length<2&&(r=e,e=void 0),r=r||"expect.fail()",new Ue(r,{actual:e,expected:t,operator:n},Mo.fail)};var HR={};yv(HR,{Should:s(()=>l7,"Should"),should:s(()=>s7,"should")});function Ef(){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 D(this.valueOf(),null,e):new D(this,null,e)}s(e,"shouldGetter"),K(e,"shouldGetter");function t(n){Object.defineProperty(this,"should",{value:n,enumerable:!0,configurable:!0,writable:!0})}s(t,"shouldSetter"),K(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 Ue(i,{actual:n,expected:o,operator:a},r.fail)},r.equal=function(n,o,i){new D(n,i).to.equal(o)},r.Throw=function(n,o,i,a){new D(n,a).to.Throw(o,i)},r.exist=function(n,o){new D(n,o).to.exist},r.not={},r.not.equal=function(n,o,i){new D(n,i).to.not.equal(o)},r.not.Throw=function(n,o,i,a){new D(n,a).to.not.Throw(o,i)},r.not.exist=function(n,o){new D(n,o).to.not.exist},r.throw=r.Throw,r.not.throw=r.not.Throw,r}s(Ef,"loadShould");K(Ef,"loadShould");var s7=Ef,l7=Ef;function F(e,t){var r=new D(null,null,F,!0);r.assert(e,t,"[ negation message unavailable ]")}s(F,"assert");K(F,"assert");F.fail=function(e,t,r,n){throw arguments.length<2&&(r=e,e=void 0),r=r||"assert.fail()",new Ue(r,{actual:e,expected:t,operator:n},F.fail)};F.isOk=function(e,t){new D(e,t,F.isOk,!0).is.ok};F.isNotOk=function(e,t){new D(e,t,F.isNotOk,!0).is.not.ok};F.equal=function(e,t,r){var n=new D(e,r,F.equal,!0);n.assert(t==Pe(n,"object"),"expected #{this} to equal #{exp}","expected #{this} to not equal #{act}",t,e,!0)};F.notEqual=function(e,t,r){var n=new D(e,r,F.notEqual,!0);n.assert(t!=Pe(n,"object"),"expected #{this} to not equal #{exp}","expected #{this} to equal #{act}",t,e,!0)};F.strictEqual=function(e,t,r){new D(e,r,F.strictEqual,!0).to.equal(t)};F.notStrictEqual=function(e,t,r){new D(e,r,F.notStrictEqual,!0).to.not.equal(t)};F.deepEqual=F.deepStrictEqual=function(e,t,r){new D(e,r,F.deepEqual,!0).to.eql(t)};F.notDeepEqual=function(e,t,r){new D(e,r,F.notDeepEqual,!0).to.not.eql(t)};F.isAbove=function(e,t,r){new D(e,r,F.isAbove,!0).to.be.above(t)};F.isAtLeast=function(e,t,r){new D(e,r,F.isAtLeast,!0).to.be.least(t)};F.isBelow=function(e,t,r){new D(e,r,F.isBelow,!0).to.be.below(t)};F.isAtMost=function(e,t,r){new D(e,r,F.isAtMost,!0).to.be.most(t)};F.isTrue=function(e,t){new D(e,t,F.isTrue,!0).is.true};F.isNotTrue=function(e,t){new D(e,t,F.isNotTrue,!0).to.not.equal(!0)};F.isFalse=function(e,t){new D(e,t,F.isFalse,!0).is.false};F.isNotFalse=function(e,t){new D(e,t,F.isNotFalse,!0).to.not.equal(!1)};F.isNull=function(e,t){new D(e,t,F.isNull,!0).to.equal(null)};F.isNotNull=function(e,t){new D(e,t,F.isNotNull,!0).to.not.equal(null)};F.isNaN=function(e,t){new D(e,t,F.isNaN,!0).to.be.NaN};F.isNotNaN=function(e,t){new D(e,t,F.isNotNaN,!0).not.to.be.NaN};F.exists=function(e,t){new D(e,t,F.exists,!0).to.exist};F.notExists=function(e,t){new D(e,t,F.notExists,!0).to.not.exist};F.isUndefined=function(e,t){new D(e,t,F.isUndefined,!0).to.equal(void 0)};F.isDefined=function(e,t){new D(e,t,F.isDefined,!0).to.not.equal(void 0)};F.isCallable=function(e,t){new D(e,t,F.isCallable,!0).is.callable};F.isNotCallable=function(e,t){new D(e,t,F.isNotCallable,!0).is.not.callable};F.isObject=function(e,t){new D(e,t,F.isObject,!0).to.be.a("object")};F.isNotObject=function(e,t){new D(e,t,F.isNotObject,!0).to.not.be.a("object")};F.isArray=function(e,t){new D(e,t,F.isArray,!0).to.be.an("array")};F.isNotArray=function(e,t){new D(e,t,F.isNotArray,!0).to.not.be.an("array")};F.isString=function(e,t){new D(e,t,F.isString,!0).to.be.a("string")};F.isNotString=function(e,t){new D(e,t,F.isNotString,!0).to.not.be.a("string")};F.isNumber=function(e,t){new D(e,t,F.isNumber,!0).to.be.a("number")};F.isNotNumber=function(e,t){new D(e,t,F.isNotNumber,!0).to.not.be.a("number")};F.isNumeric=function(e,t){new D(e,t,F.isNumeric,!0).is.numeric};F.isNotNumeric=function(e,t){new D(e,t,F.isNotNumeric,!0).is.not.numeric};F.isFinite=function(e,t){new D(e,t,F.isFinite,!0).to.be.finite};F.isBoolean=function(e,t){new D(e,t,F.isBoolean,!0).to.be.a("boolean")};F.isNotBoolean=function(e,t){new D(e,t,F.isNotBoolean,!0).to.not.be.a("boolean")};F.typeOf=function(e,t,r){new D(e,r,F.typeOf,!0).to.be.a(t)};F.notTypeOf=function(e,t,r){new D(e,r,F.notTypeOf,!0).to.not.be.a(t)};F.instanceOf=function(e,t,r){new D(e,r,F.instanceOf,!0).to.be.instanceOf(t)};F.notInstanceOf=function(e,t,r){new D(e,r,F.notInstanceOf,!0).to.not.be.instanceOf(t)};F.include=function(e,t,r){new D(e,r,F.include,!0).include(t)};F.notInclude=function(e,t,r){new D(e,r,F.notInclude,!0).not.include(t)};F.deepInclude=function(e,t,r){new D(e,r,F.deepInclude,!0).deep.include(t)};F.notDeepInclude=function(e,t,r){new D(e,r,F.notDeepInclude,!0).not.deep.include(t)};F.nestedInclude=function(e,t,r){new D(e,r,F.nestedInclude,!0).nested.include(t)};F.notNestedInclude=function(e,t,r){new D(e,r,F.notNestedInclude,!0).not.nested.include(t)};F.deepNestedInclude=function(e,t,r){new D(e,r,F.deepNestedInclude,!0).deep.nested.include(t)};F.notDeepNestedInclude=function(e,t,r){new D(e,r,F.notDeepNestedInclude,!0).not.deep.nested.include(t)};F.ownInclude=function(e,t,r){new D(e,r,F.ownInclude,!0).own.include(t)};F.notOwnInclude=function(e,t,r){new D(e,r,F.notOwnInclude,!0).not.own.include(t)};F.deepOwnInclude=function(e,t,r){new D(e,r,F.deepOwnInclude,!0).deep.own.include(t)};F.notDeepOwnInclude=function(e,t,r){new D(e,r,F.notDeepOwnInclude,!0).not.deep.own.include(t)};F.match=function(e,t,r){new D(e,r,F.match,!0).to.match(t)};F.notMatch=function(e,t,r){new D(e,r,F.notMatch,!0).to.not.match(t)};F.property=function(e,t,r){new D(e,r,F.property,!0).to.have.property(t)};F.notProperty=function(e,t,r){new D(e,r,F.notProperty,!0).to.not.have.property(t)};F.propertyVal=function(e,t,r,n){new D(e,n,F.propertyVal,!0).to.have.property(t,r)};F.notPropertyVal=function(e,t,r,n){new D(e,n,F.notPropertyVal,!0).to.not.have.property(t,r)};F.deepPropertyVal=function(e,t,r,n){new D(e,n,F.deepPropertyVal,!0).to.have.deep.property(t,r)};F.notDeepPropertyVal=function(e,t,r,n){new D(e,n,F.notDeepPropertyVal,!0).to.not.have.deep.property(t,r)};F.ownProperty=function(e,t,r){new D(e,r,F.ownProperty,!0).to.have.own.property(t)};F.notOwnProperty=function(e,t,r){new D(e,r,F.notOwnProperty,!0).to.not.have.own.property(t)};F.ownPropertyVal=function(e,t,r,n){new D(e,n,F.ownPropertyVal,!0).to.have.own.property(t,r)};F.notOwnPropertyVal=function(e,t,r,n){new D(e,n,F.notOwnPropertyVal,!0).to.not.have.own.property(t,r)};F.deepOwnPropertyVal=function(e,t,r,n){new D(e,n,F.deepOwnPropertyVal,!0).to.have.deep.own.property(t,r)};F.notDeepOwnPropertyVal=function(e,t,r,n){new D(e,n,F.notDeepOwnPropertyVal,!0).to.not.have.deep.own.property(t,r)};F.nestedProperty=function(e,t,r){new D(e,r,F.nestedProperty,!0).to.have.nested.property(t)};F.notNestedProperty=function(e,t,r){new D(e,r,F.notNestedProperty,!0).to.not.have.nested.property(t)};F.nestedPropertyVal=function(e,t,r,n){new D(e,n,F.nestedPropertyVal,!0).to.have.nested.property(t,r)};F.notNestedPropertyVal=function(e,t,r,n){new D(e,n,F.notNestedPropertyVal,!0).to.not.have.nested.property(t,r)};F.deepNestedPropertyVal=function(e,t,r,n){new D(e,n,F.deepNestedPropertyVal,!0).to.have.deep.nested.property(t,r)};F.notDeepNestedPropertyVal=function(e,t,r,n){new D(e,n,F.notDeepNestedPropertyVal,!0).to.not.have.deep.nested.property(t,r)};F.lengthOf=function(e,t,r){new D(e,r,F.lengthOf,!0).to.have.lengthOf(t)};F.hasAnyKeys=function(e,t,r){new D(e,r,F.hasAnyKeys,!0).to.have.any.keys(t)};F.hasAllKeys=function(e,t,r){new D(e,r,F.hasAllKeys,!0).to.have.all.keys(t)};F.containsAllKeys=function(e,t,r){new D(e,r,F.containsAllKeys,!0).to.contain.all.keys(t)};F.doesNotHaveAnyKeys=function(e,t,r){new D(e,r,F.doesNotHaveAnyKeys,!0).to.not.have.any.keys(t)};F.doesNotHaveAllKeys=function(e,t,r){new D(e,r,F.doesNotHaveAllKeys,!0).to.not.have.all.keys(t)};F.hasAnyDeepKeys=function(e,t,r){new D(e,r,F.hasAnyDeepKeys,!0).to.have.any.deep.keys(t)};F.hasAllDeepKeys=function(e,t,r){new D(e,r,F.hasAllDeepKeys,!0).to.have.all.deep.keys(t)};F.containsAllDeepKeys=function(e,t,r){new D(e,r,F.containsAllDeepKeys,!0).to.contain.all.deep.keys(t)};F.doesNotHaveAnyDeepKeys=function(e,t,r){new D(e,r,F.doesNotHaveAnyDeepKeys,!0).to.not.have.any.deep.keys(t)};F.doesNotHaveAllDeepKeys=function(e,t,r){new D(e,r,F.doesNotHaveAllDeepKeys,!0).to.not.have.all.deep.keys(t)};F.throws=function(e,t,r,n){(typeof t=="string"||t instanceof RegExp)&&(r=t,t=null);var o=new D(e,n,F.throws,!0).to.throw(t,r);return Pe(o,"object")};F.doesNotThrow=function(e,t,r,n){(typeof t=="string"||t instanceof RegExp)&&(r=t,t=null),new D(e,n,F.doesNotThrow,!0).to.not.throw(t,r)};F.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 Ue(n+'Invalid operator "'+t+'"',void 0,F.operator)}var i=new D(o,n,F.operator,!0);i.assert(Pe(i,"object")===!0,"expected "+Fe(e)+" to be "+t+" "+Fe(r),"expected "+Fe(e)+" to not be "+t+" "+Fe(r))};F.closeTo=function(e,t,r,n){new D(e,n,F.closeTo,!0).to.be.closeTo(t,r)};F.approximately=function(e,t,r,n){new D(e,n,F.approximately,!0).to.be.approximately(t,r)};F.sameMembers=function(e,t,r){new D(e,r,F.sameMembers,!0).to.have.same.members(t)};F.notSameMembers=function(e,t,r){new D(e,r,F.notSameMembers,!0).to.not.have.same.members(t)};F.sameDeepMembers=function(e,t,r){new D(e,r,F.sameDeepMembers,!0).to.have.same.deep.members(t)};F.notSameDeepMembers=function(e,t,r){new D(e,r,F.notSameDeepMembers,!0).to.not.have.same.deep.members(t)};F.sameOrderedMembers=function(e,t,r){new D(e,r,F.sameOrderedMembers,!0).to.have.same.ordered.members(t)};F.notSameOrderedMembers=function(e,t,r){new D(e,r,F.notSameOrderedMembers,!0).to.not.have.same.ordered.members(t)};F.sameDeepOrderedMembers=function(e,t,r){new D(e,r,F.sameDeepOrderedMembers,!0).to.have.same.deep.ordered.members(t)};F.notSameDeepOrderedMembers=function(e,t,r){new D(e,r,F.notSameDeepOrderedMembers,!0).to.not.have.same.deep.ordered.members(t)};F.includeMembers=function(e,t,r){new D(e,r,F.includeMembers,!0).to.include.members(t)};F.notIncludeMembers=function(e,t,r){new D(e,r,F.notIncludeMembers,!0).to.not.include.members(t)};F.includeDeepMembers=function(e,t,r){new D(e,r,F.includeDeepMembers,!0).to.include.deep.members(t)};F.notIncludeDeepMembers=function(e,t,r){new D(e,r,F.notIncludeDeepMembers,!0).to.not.include.deep.members(t)};F.includeOrderedMembers=function(e,t,r){new D(e,r,F.includeOrderedMembers,!0).to.include.ordered.members(t)};F.notIncludeOrderedMembers=function(e,t,r){new D(e,r,F.notIncludeOrderedMembers,!0).to.not.include.ordered.members(t)};F.includeDeepOrderedMembers=function(e,t,r){new D(e,r,F.includeDeepOrderedMembers,!0).to.include.deep.ordered.members(t)};F.notIncludeDeepOrderedMembers=function(e,t,r){new D(e,r,F.notIncludeDeepOrderedMembers,!0).to.not.include.deep.ordered.members(t)};F.oneOf=function(e,t,r){new D(e,r,F.oneOf,!0).to.be.oneOf(t)};F.isIterable=function(e,t){if(e==null||!e[Symbol.iterator])throw t=t?`${t} expected ${Fe(e)} to be an iterable`:`expected ${Fe(e)} to be an iterable`,new Ue(t,void 0,F.isIterable)};F.changes=function(e,t,r,n){arguments.length===3&&typeof t=="function"&&(n=r,r=null),new D(e,n,F.changes,!0).to.change(t,r)};F.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 D(e,o,F.changesBy,!0).to.change(t,r).by(n)};F.doesNotChange=function(e,t,r,n){return arguments.length===3&&typeof t=="function"&&(n=r,r=null),new D(e,n,F.doesNotChange,!0).to.not.change(t,r)};F.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 D(e,o,F.changesButNotBy,!0).to.change(t,r).but.not.by(n)};F.increases=function(e,t,r,n){return arguments.length===3&&typeof t=="function"&&(n=r,r=null),new D(e,n,F.increases,!0).to.increase(t,r)};F.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 D(e,o,F.increasesBy,!0).to.increase(t,r).by(n)};F.doesNotIncrease=function(e,t,r,n){return arguments.length===3&&typeof t=="function"&&(n=r,r=null),new D(e,n,F.doesNotIncrease,!0).to.not.increase(t,r)};F.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 D(e,o,F.increasesButNotBy,!0).to.increase(t,r).but.not.by(n)};F.decreases=function(e,t,r,n){return arguments.length===3&&typeof t=="function"&&(n=r,r=null),new D(e,n,F.decreases,!0).to.decrease(t,r)};F.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 D(e,o,F.decreasesBy,!0).to.decrease(t,r).by(n)};F.doesNotDecrease=function(e,t,r,n){return arguments.length===3&&typeof t=="function"&&(n=r,r=null),new D(e,n,F.doesNotDecrease,!0).to.not.decrease(t,r)};F.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 D(e,o,F.doesNotDecreaseBy,!0).to.not.decrease(t,r).by(n)};F.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 D(e,o,F.decreasesButNotBy,!0).to.decrease(t,r).but.not.by(n)};F.ifError=function(e){if(e)throw e};F.isExtensible=function(e,t){new D(e,t,F.isExtensible,!0).to.be.extensible};F.isNotExtensible=function(e,t){new D(e,t,F.isNotExtensible,!0).to.not.be.extensible};F.isSealed=function(e,t){new D(e,t,F.isSealed,!0).to.be.sealed};F.isNotSealed=function(e,t){new D(e,t,F.isNotSealed,!0).to.not.be.sealed};F.isFrozen=function(e,t){new D(e,t,F.isFrozen,!0).to.be.frozen};F.isNotFrozen=function(e,t){new D(e,t,F.isNotFrozen,!0).to.not.be.frozen};F.isEmpty=function(e,t){new D(e,t,F.isEmpty,!0).to.be.empty};F.isNotEmpty=function(e,t){new D(e,t,F.isNotEmpty,!0).to.not.be.empty};F.containsSubset=function(e,t,r){new D(e,r).to.containSubset(t)};F.doesNotContainSubset=function(e,t,r){new D(e,r).to.not.containSubset(t)};var u7=[["isOk","ok"],["isNotOk","notOk"],["throws","throw"],["throws","Throw"],["isExtensible","extensible"],["isNotExtensible","notExtensible"],["isSealed","sealed"],["isNotSealed","notSealed"],["isFrozen","frozen"],["isNotFrozen","notFrozen"],["isEmpty","empty"],["isNotEmpty","notEmpty"],["isCallable","isFunction"],["isNotCallable","isNotFunction"],["containsSubset","containSubset"]];for(let[e,t]of u7)F[t]=F[e];var Gx=[];function bi(e){let t={use:bi,AssertionError:Ue,util:wn,config:pr,expect:Mo,assert:F,Assertion:D,...HR};return~Gx.indexOf(e)||(e(t,wn),Gx.push(e)),t}s(bi,"use");K(bi,"use");var VR={};fr(VR,{toBeChecked:()=>jw,toBeDisabled:()=>Ow,toBeEmpty:()=>fw,toBeEmptyDOMElement:()=>hw,toBeEnabled:()=>Aw,toBeInTheDOM:()=>pd,toBeInTheDocument:()=>pw,toBeInvalid:()=>Iw,toBePartiallyChecked:()=>Lw,toBeRequired:()=>Rw,toBeValid:()=>kw,toBeVisible:()=>xw,toContainElement:()=>fd,toContainHTML:()=>mw,toHaveAccessibleDescription:()=>hd,toHaveAccessibleErrorMessage:()=>gw,toHaveAccessibleName:()=>yd,toHaveAttribute:()=>bw,toHaveClass:()=>vw,toHaveDescription:()=>Fw,toHaveDisplayValue:()=>qw,toHaveErrorMessage:()=>Dw,toHaveFocus:()=>ww,toHaveFormValues:()=>Ew,toHaveRole:()=>md,toHaveSelection:()=>Bw,toHaveStyle:()=>gd,toHaveTextContent:()=>yw,toHaveValue:()=>Mw});var Kx=_t(M_(),1);function ew(e){Object.defineProperty(e,"__esModule",{value:!0,configurable:!0})}s(ew,"$parcel$defineInteropFlag");function Sf(e,t,r,n){Object.defineProperty(e,t,{get:r,set:n,enumerable:!0,configurable:!0})}s(Sf,"$parcel$export");var JR={};ew(JR);Sf(JR,"default",()=>WR);var zR=class extends Error{constructor(t,r,n,o,i){super(t+":"+n+":"+o+": "+r),this.reason=r,this.filename=t,this.line=n,this.column=o,this.source=i}};s(zR,"$009ddb00d3ec72b8$export$2e2bcd8739ae039");var WR=zR,GR={};ew(GR);Sf(GR,"default",()=>YR);var KR=class{constructor(t,r,n){this.start=t,this.end=r,this.source=n}};s(KR,"$0865a9fb4cc365fe$export$2e2bcd8739ae039");var YR=KR,c7={};Sf(c7,"CssTypes",()=>Bt);var Bt=function(e){return 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",e}({}),zh=/\/\*[^]*?(?:\*\/|$)/g,d7=s((e,t)=>{t=t||{};let r=1,n=1;function o(Y){let Q=Y.match(/\n/g);Q&&(r+=Q.length);let re=Y.lastIndexOf(`
|
|
221
|
-
`);n=~re?Y.length-re:n+Y.length}s(o,"updatePosition");function i(){let Y={line:r,column:n};return function(Q){return Q.position=new YR(Y,{line:r,column:n},(t==null?void 0:t.source)||""),f(),Q}}s(i,"position");let a=[];function l(Y){let Q=new WR((t==null?void 0:t.source)||"",Y,r,n,e);if(t!=null&&t.silent)a.push(Q);else throw Q}s(l,"error");function u(){let Y=p();return{type:Bt.stylesheet,stylesheet:{source:t==null?void 0:t.source,rules:Y,parsingErrors:a}}}s(u,"stylesheet");function c(){return h(/^{\s*/)}s(c,"open");function d(){return h(/^}/)}s(d,"close");function p(){let Y,Q=[];for(f(),m(Q);e.length&&e.charAt(0)!=="}"&&(Y=fe()||te());)Y&&(Q.push(Y),m(Q));return Q}s(p,"rules");function h(Y){let Q=Y.exec(e);if(!Q)return;let re=Q[0];return o(re),e=e.slice(re.length),Q}s(h,"match");function f(){h(/^\s*/)}s(f,"whitespace");function m(Y){let Q;for(Y=Y||[];Q=y();)Q&&Y.push(Q);return Y}s(m,"comments");function y(){let Y=i();if(e.charAt(0)!=="/"||e.charAt(1)!=="*")return;let Q=h(/^\/\*[^]*?\*\//);return Q?Y({type:Bt.comment,comment:Q[0].slice(2,-2)}):l("End of comment missing")}s(y,"comment");function g(Y,Q,re){let ce=Q+1,ie=!1,be=Y.indexOf(")",ce);for(;!ie&&be!==-1;){let we=Y.indexOf("(",ce);we!==-1&&we<be?(ce=g(Y,we+1)+1,be=Y.indexOf(")",ce)):ie=!0}return ie&&be!==-1?be:-1}s(g,"findClosingParenthese");function b(){let Y=h(/^([^{]+)/);if(!Y)return;let Q=xr(Y[0]).replace(zh,"");if(Q.indexOf(",")===-1)return[Q];let re=0,ce=Q.indexOf("(",re);for(;ce!==-1;){let ie=g(Q,ce);if(ie===-1)break;re=ie+1,Q=Q.substring(0,ce)+Q.substring(ce,ie).replace(/,/g,"")+Q.substring(ie),ce=Q.indexOf("(",re)}return Q=Q.replace(/("|')(?:\\\1|.)*?\1/g,ie=>ie.replace(/,/g,"")),Q.split(",").map(ie=>xr(ie.replace(/\u200C/g,",")))}s(b,"selector");function v(){let Y=i(),Q=h(/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/);if(!Q)return;let re=xr(Q[0]);if(!h(/^:\s*/))return l("property missing ':'");let ce=h(/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|[^)])*?\)|[^};])+)/),ie=Y({type:Bt.declaration,property:re.replace(zh,""),value:ce?xr(ce[0]).replace(zh,""):""});return h(/^[;\s]*/),ie}s(v,"declaration");function S(){let Y=[];if(!c())return l("missing '{'");m(Y);let Q;for(;Q=v();)Q&&(Y.push(Q),m(Y));return d()?Y:l("missing '}'")}s(S,"declarations");function T(){let Y,Q=[],re=i();for(;Y=h(/^((\d+\.\d+|\.\d+|\d+)%?|[a-z]+)\s*/);)Q.push(Y[1]),h(/^,\s*/);if(Q.length)return re({type:Bt.keyframe,values:Q,declarations:S()||[]})}s(T,"keyframe");function P(){let Y=i(),Q=h(/^@([-\w]+)?keyframes\s*/);if(!Q)return;let re=Q[1],ce=h(/^([-\w]+)\s*/);if(!ce)return l("@keyframes missing name");let ie=ce[1];if(!c())return l("@keyframes missing '{'");let be,we=m();for(;be=T();)we.push(be),we=we.concat(m());return d()?Y({type:Bt.keyframes,name:ie,vendor:re,keyframes:we}):l("@keyframes missing '}'")}s(P,"atkeyframes");function C(){let Y=i(),Q=h(/^@supports *([^{]+)/);if(!Q)return;let re=xr(Q[1]);if(!c())return l("@supports missing '{'");let ce=m().concat(p());return d()?Y({type:Bt.supports,supports:re,rules:ce}):l("@supports missing '}'")}s(C,"atsupports");function w(){let Y=i();if(!h(/^@host\s*/))return;if(!c())return l("@host missing '{'");let Q=m().concat(p());return d()?Y({type:Bt.host,rules:Q}):l("@host missing '}'")}s(w,"athost");function E(){let Y=i(),Q=h(/^@container *([^{]+)/);if(!Q)return;let re=xr(Q[1]);if(!c())return l("@container missing '{'");let ce=m().concat(p());return d()?Y({type:Bt.container,container:re,rules:ce}):l("@container missing '}'")}s(E,"atcontainer");function _(){let Y=i(),Q=h(/^@layer *([^{;@]+)/);if(!Q)return;let re=xr(Q[1]);if(!c())return h(/^[;\s]*/),Y({type:Bt.layer,layer:re});let ce=m().concat(p());return d()?Y({type:Bt.layer,layer:re,rules:ce}):l("@layer missing '}'")}s(_,"atlayer");function R(){let Y=i(),Q=h(/^@media *([^{]+)/);if(!Q)return;let re=xr(Q[1]);if(!c())return l("@media missing '{'");let ce=m().concat(p());return d()?Y({type:Bt.media,media:re,rules:ce}):l("@media missing '}'")}s(R,"atmedia");function N(){let Y=i(),Q=h(/^@custom-media\s+(--\S+)\s*([^{;\s][^{;]*);/);if(Q)return Y({type:Bt.customMedia,name:xr(Q[1]),media:xr(Q[2])})}s(N,"atcustommedia");function q(){let Y=i();if(!h(/^@page */))return;let Q=b()||[];if(!c())return l("@page missing '{'");let re=m(),ce;for(;ce=v();)re.push(ce),re=re.concat(m());return d()?Y({type:Bt.page,selectors:Q,declarations:re}):l("@page missing '}'")}s(q,"atpage");function L(){let Y=i(),Q=h(/^@([-\w]+)?document *([^{]+)/);if(!Q)return;let re=xr(Q[1]),ce=xr(Q[2]);if(!c())return l("@document missing '{'");let ie=m().concat(p());return d()?Y({type:Bt.document,document:ce,vendor:re,rules:ie}):l("@document missing '}'")}s(L,"atdocument");function O(){let Y=i();if(!h(/^@font-face\s*/))return;if(!c())return l("@font-face missing '{'");let Q=m(),re;for(;re=v();)Q.push(re),Q=Q.concat(m());return d()?Y({type:Bt.fontFace,declarations:Q}):l("@font-face missing '}'")}s(O,"atfontface");function k(){let Y=i();if(!h(/^@starting-style\s*/))return;if(!c())return l("@starting-style missing '{'");let Q=m().concat(p());return d()?Y({type:Bt.startingStyle,rules:Q}):l("@starting-style missing '}'")}s(k,"atstartingstyle");let M=oe("import"),G=oe("charset"),V=oe("namespace");function oe(Y){let Q=new RegExp("^@"+Y+`\\s*((?::?[^;'"]|"(?:\\\\"|[^"])*?"|'(?:\\\\'|[^'])*?')+)(?:;|$)`);return function(){let re=i(),ce=h(Q);if(!ce)return;let ie={type:Y};return ie[Y]=ce[1].trim(),re(ie)}}s(oe,"_compileAtrule");function fe(){if(e[0]==="@")return P()||R()||N()||C()||M()||G()||V()||L()||q()||w()||O()||E()||k()||_()}s(fe,"atrule");function te(){let Y=i(),Q=b();return Q?(m(),Y({type:Bt.rule,selectors:Q,declarations:S()||[]})):l("selector missing")}return s(te,"rule"),dd(u())},"$d708735ed1303b43$export$98e6a39c04603d36");function xr(e){return e?e.trim():""}s(xr,"$d708735ed1303b43$var$trim");function dd(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=>{dd(a,n)}):i&&typeof i=="object"&&dd(i,n)}return r&&Object.defineProperty(e,"parent",{configurable:!0,writable:!0,enumerable:!1,value:t||null}),e}s(dd,"$d708735ed1303b43$var$addParent");var p7=d7,f7=p7,h7=Object.prototype.toString;function Qm(e){return typeof e=="function"||h7.call(e)==="[object Function]"}s(Qm,"isCallable");function XR(e){var t=Number(e);return isNaN(t)?0:t===0||!isFinite(t)?t:(t>0?1:-1)*Math.floor(Math.abs(t))}s(XR,"toInteger");var m7=Math.pow(2,53)-1;function QR(e){var t=XR(e);return Math.min(Math.max(t,0),m7)}s(QR,"toLength");function Dr(e,t){var r=Array,n=Object(e);if(e==null)throw new TypeError("Array.from requires an array-like object - not null or undefined");if(typeof t<"u"&&!Qm(t))throw new TypeError("Array.from: when provided, the second argument must be a function");for(var o=QR(n.length),i=Qm(r)?Object(new r(o)):new Array(o),a=0,l;a<o;)l=n[a],t?i[a]=t(l,a):i[a]=l,a+=1;return i.length=o,i}s(Dr,"arrayFrom");function Ka(e){"@babel/helpers - typeof";return Ka=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},Ka(e)}s(Ka,"_typeof");function ZR(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}s(ZR,"_classCallCheck");function Zm(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,tw(n.key),n)}}s(Zm,"_defineProperties");function eN(e,t,r){return t&&Zm(e.prototype,t),r&&Zm(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}s(eN,"_createClass");function tN(e,t,r){return t=tw(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}s(tN,"_defineProperty");function tw(e){var t=rN(e,"string");return Ka(t)==="symbol"?t:String(t)}s(tw,"_toPropertyKey");function rN(e,t){if(Ka(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(Ka(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}s(rN,"_toPrimitive");var y7=function(){function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];ZR(this,e),tN(this,"items",void 0),this.items=t}return s(e,"SetLike"),eN(e,[{key:"add",value:s(function(t){return this.has(t)===!1&&this.items.push(t),this},"add")},{key:"clear",value:s(function(){this.items=[]},"clear")},{key:"delete",value:s(function(t){var r=this.items.length;return this.items=this.items.filter(function(n){return n!==t}),r!==this.items.length},"_delete")},{key:"forEach",value:s(function(t){var r=this;this.items.forEach(function(n){t(n,n,r)})},"forEach")},{key:"has",value:s(function(t){return this.items.indexOf(t)!==-1},"has")},{key:"size",get:s(function(){return this.items.length},"get")}]),e}(),g7=typeof Set>"u"?Set:y7;function Kt(e){var t;return(t=e.localName)!==null&&t!==void 0?t:e.tagName.toLowerCase()}s(Kt,"getLocalName");var b7={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"},v7={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 nN(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=v7[t])!==null&&n!==void 0&&n.has(r))})}s(nN,"hasGlobalAriaAttributes");function rw(e,t){return nN(e,t)}s(rw,"ignorePresentationalRole");function oN(e){var t=aN(e);if(t===null||ey.indexOf(t)!==-1){var r=iN(e);if(ey.indexOf(t||"")===-1||rw(e,r||""))return r}return t}s(oN,"getRole");function iN(e){var t=b7[Kt(e)];if(t!==void 0)return t;switch(Kt(e)){case"a":case"area":case"link":if(e.hasAttribute("href"))return"link";break;case"img":return e.getAttribute("alt")===""&&!rw(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}s(iN,"getImplicitRole");function aN(e){var t=e.getAttribute("role");if(t!==null){var r=t.trim().split(" ")[0];if(r.length>0)return r}return null}s(aN,"getExplicitRole");var ey=["presentation","none"];function ot(e){return e!==null&&e.nodeType===e.ELEMENT_NODE}s(ot,"isElement");function nw(e){return ot(e)&&Kt(e)==="caption"}s(nw,"isHTMLTableCaptionElement");function il(e){return ot(e)&&Kt(e)==="input"}s(il,"isHTMLInputElement");function sN(e){return ot(e)&&Kt(e)==="optgroup"}s(sN,"isHTMLOptGroupElement");function lN(e){return ot(e)&&Kt(e)==="select"}s(lN,"isHTMLSelectElement");function uN(e){return ot(e)&&Kt(e)==="table"}s(uN,"isHTMLTableElement");function cN(e){return ot(e)&&Kt(e)==="textarea"}s(cN,"isHTMLTextAreaElement");function dN(e){var t=e.ownerDocument===null?e:e.ownerDocument,r=t.defaultView;if(r===null)throw new TypeError("no window available");return r}s(dN,"safeWindow");function pN(e){return ot(e)&&Kt(e)==="fieldset"}s(pN,"isHTMLFieldSetElement");function fN(e){return ot(e)&&Kt(e)==="legend"}s(fN,"isHTMLLegendElement");function hN(e){return ot(e)&&Kt(e)==="slot"}s(hN,"isHTMLSlotElement");function mN(e){return ot(e)&&e.ownerSVGElement!==void 0}s(mN,"isSVGElement");function yN(e){return ot(e)&&Kt(e)==="svg"}s(yN,"isSVGSVGElement");function gN(e){return mN(e)&&Kt(e)==="title"}s(gN,"isSVGTitleElement");function Ll(e,t){if(ot(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[]}s(Ll,"queryIdRefs");function En(e,t){return ot(e)?t.indexOf(oN(e))!==-1:!1}s(En,"hasAnyConcreteRoles");function bN(e){return e.trim().replace(/\s\s+/g," ")}s(bN,"asFlatString");function vN(e,t){if(!ot(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"}s(vN,"isHidden");function wN(e){return En(e,["button","combobox","listbox","textbox"])||ow(e,"range")}s(wN,"isControl");function ow(e,t){if(!ot(e))return!1;switch(t){case"range":return En(e,["meter","progressbar","scrollbar","slider","spinbutton"]);default:throw new TypeError("No knowledge about abstract role '".concat(t,"'. This is likely a bug :("))}}s(ow,"hasAbstractRole");function ty(e,t){var r=Dr(e.querySelectorAll(t));return Ll(e,"aria-owns").forEach(function(n){r.push.apply(r,Dr(n.querySelectorAll(t)))}),r}s(ty,"querySelectorAllSubtree");function EN(e){return lN(e)?e.selectedOptions||ty(e,"[selected]"):ty(e,'[aria-selected="true"]')}s(EN,"querySelectedOptions");function SN(e){return En(e,ey)}s(SN,"isMarkedPresentational");function xN(e){return nw(e)}s(xN,"isNativeHostLanguageTextAlternativeElement");function TN(e){return En(e,["button","cell","checkbox","columnheader","gridcell","heading","label","legend","link","menuitem","menuitemcheckbox","menuitemradio","option","radio","row","rowheader","switch","tab","tooltip","treeitem"])}s(TN,"allowsNameFromContent");function CN(e){return!1}s(CN,"isDescendantOfNativeHostLanguageTextAlternativeElement");function _N(e){return il(e)||cN(e)?e.value:e.textContent||""}s(_N,"getValueOfTextbox");function ry(e){var t=e.getPropertyValue("content");return/^["'].*["']$/.test(t)?t.slice(1,-1):""}s(ry,"getTextualContent");function iw(e){var t=Kt(e);return t==="button"||t==="input"&&e.getAttribute("type")!=="hidden"||t==="meter"||t==="output"||t==="progress"||t==="select"||t==="textarea"}s(iw,"isLabelableElement");function aw(e){if(iw(e))return e;var t=null;return e.childNodes.forEach(function(r){if(t===null&&ot(r)){var n=aw(r);n!==null&&(t=n)}}),t}s(aw,"findLabelableElement");function PN(e){if(e.control!==void 0)return e.control;var t=e.getAttribute("for");return t!==null?e.ownerDocument.getElementById(t):aw(e)}s(PN,"getControlOfLabel");function ON(e){var t=e.labels;if(t===null)return t;if(t!==void 0)return Dr(t);if(!iw(e))return null;var r=e.ownerDocument;return Dr(r.querySelectorAll("label")).filter(function(n){return PN(n)===e})}s(ON,"getLabels");function AN(e){var t=e.assignedNodes();return t.length===0?Dr(e.childNodes):t}s(AN,"getSlotContents");function sw(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=new g7,n=dN(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,d=t.hidden,p=d===void 0?!1:d;function h(b,v){var S="";if(ot(b)&&l){var T=c(b,"::before"),P=ry(T);S="".concat(P," ").concat(S)}var C=hN(b)?AN(b):Dr(b.childNodes).concat(Ll(b,"aria-owns"));if(C.forEach(function(_){var R=g(_,{isEmbeddedInLabel:v.isEmbeddedInLabel,isReferenced:!1,recursion:!0}),N=ot(_)?c(_).getPropertyValue("display"):"inline",q=N!=="inline"?" ":"";S+="".concat(q).concat(R).concat(q)}),ot(b)&&l){var w=c(b,"::after"),E=ry(w);S="".concat(S," ").concat(E)}return S.trim()}s(h,"computeMiscTextAlternative");function f(b,v){var S=b.getAttributeNode(v);return S!==null&&!r.has(S)&&S.value.trim()!==""?(r.add(S),S.value):null}s(f,"useAttribute");function m(b){return ot(b)?f(b,"title"):null}s(m,"computeTooltipAttributeValue");function y(b){if(!ot(b))return null;if(pN(b)){r.add(b);for(var v=Dr(b.childNodes),S=0;S<v.length;S+=1){var T=v[S];if(fN(T))return g(T,{isEmbeddedInLabel:!1,isReferenced:!1,recursion:!1})}}else if(uN(b)){r.add(b);for(var P=Dr(b.childNodes),C=0;C<P.length;C+=1){var w=P[C];if(nw(w))return g(w,{isEmbeddedInLabel:!1,isReferenced:!1,recursion:!1})}}else if(yN(b)){r.add(b);for(var E=Dr(b.childNodes),_=0;_<E.length;_+=1){var R=E[_];if(gN(R))return R.textContent}return null}else if(Kt(b)==="img"||Kt(b)==="area"){var N=f(b,"alt");if(N!==null)return N}else if(sN(b)){var q=f(b,"label");if(q!==null)return q}if(il(b)&&(b.type==="button"||b.type==="submit"||b.type==="reset")){var L=f(b,"value");if(L!==null)return L;if(b.type==="submit")return"Submit";if(b.type==="reset")return"Reset"}var O=ON(b);if(O!==null&&O.length!==0)return r.add(b),Dr(O).map(function(V){return g(V,{isEmbeddedInLabel:!0,isReferenced:!1,recursion:!0})}).filter(function(V){return V.length>0}).join(" ");if(il(b)&&b.type==="image"){var k=f(b,"alt");if(k!==null)return k;var M=f(b,"title");return M!==null?M:"Submit Query"}if(En(b,["button"])){var G=h(b,{isEmbeddedInLabel:!1});if(G!=="")return G}return null}s(y,"computeElementTextAlternative");function g(b,v){if(r.has(b))return"";if(!p&&vN(b,c)&&!v.isReferenced)return r.add(b),"";var S=ot(b)?b.getAttributeNode("aria-labelledby"):null,T=S!==null&&!r.has(S)?Ll(b,"aria-labelledby"):[];if(i==="name"&&!v.isReferenced&&T.length>0)return r.add(S),T.map(function(N){return g(N,{isEmbeddedInLabel:v.isEmbeddedInLabel,isReferenced:!0,recursion:!1})}).join(" ");var P=v.recursion&&wN(b)&&i==="name";if(!P){var C=(ot(b)&&b.getAttribute("aria-label")||"").trim();if(C!==""&&i==="name")return r.add(b),C;if(!SN(b)){var w=y(b);if(w!==null)return r.add(b),w}}if(En(b,["menu"]))return r.add(b),"";if(P||v.isEmbeddedInLabel||v.isReferenced){if(En(b,["combobox","listbox"])){r.add(b);var E=EN(b);return E.length===0?il(b)?b.value:"":Dr(E).map(function(N){return g(N,{isEmbeddedInLabel:v.isEmbeddedInLabel,isReferenced:!1,recursion:!0})}).join(" ")}if(ow(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(En(b,["textbox"]))return r.add(b),_N(b)}if(TN(b)||ot(b)&&v.isReferenced||xN(b)||CN()){var _=h(b,{isEmbeddedInLabel:v.isEmbeddedInLabel});if(_!=="")return r.add(b),_}if(b.nodeType===b.TEXT_NODE)return r.add(b),b.textContent||"";if(v.recursion)return r.add(b),h(b,{isEmbeddedInLabel:v.isEmbeddedInLabel});var R=m(b);return R!==null?(r.add(b),R):(r.add(b),"")}return s(g,"computeTextAlternative"),bN(g(e,{isEmbeddedInLabel:!1,isReferenced:i==="description",recursion:!1}))}s(sw,"computeTextAlternative");function Ya(e){"@babel/helpers - typeof";return Ya=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},Ya(e)}s(Ya,"_typeof");function ny(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}s(ny,"ownKeys");function oy(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?ny(Object(r),!0).forEach(function(n){RN(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ny(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}s(oy,"_objectSpread");function RN(e,t,r){return t=NN(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}s(RN,"_defineProperty");function NN(e){var t=IN(e,"string");return Ya(t)==="symbol"?t:String(t)}s(NN,"_toPropertyKey");function IN(e,t){if(Ya(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(Ya(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}s(IN,"_toPrimitive");function kN(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=Ll(e,"aria-describedby").map(function(i){return sw(i,oy(oy({},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}s(kN,"computeAccessibleDescription");function MN(e){return En(e,["caption","code","deletion","emphasis","generic","insertion","none","paragraph","presentation","strong","subscript","superscript"])}s(MN,"prohibitsNaming");function qN(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return MN(e)?"":sw(e,t)}s(qN,"computeAccessibleName");var lw=_t(q_(),1),w7=_t($_(),1),uw=_t(G_(),1),E7=_t(K_(),1),jN=class extends Error{constructor(t,r,n,o){super(),Error.captureStackTrace&&Error.captureStackTrace(this,n);let i="";try{i=o.utils.printWithType("Received",r,o.utils.printReceived)}catch{}this.message=[o.utils.matcherHint(`${o.isNot?".not":""}.${n.name}`,"received",""),"",`${o.utils.RECEIVED_COLOR("received")} value must ${t}.`,i].join(`
|
|
222
|
-
`)}};s(jN,"GenericTypeError");var $N=jN,LN=class extends $N{constructor(...t){super("be an HTMLElement or an SVGElement",...t)}};s(LN,"HtmlElementTypeError");var Yx=LN,FN=class extends $N{constructor(...t){super("be a Node",...t)}};s(FN,"NodeTypeError");var Xx=FN;function cw(e,t,...r){if(!e||!e.ownerDocument||!e.ownerDocument.defaultView)throw new t(e,...r)}s(cw,"checkHasWindow");function DN(e,...t){cw(e,Xx,...t);let r=e.ownerDocument.defaultView;if(!(e instanceof r.Node))throw new Xx(e,...t)}s(DN,"checkNode");function ze(e,...t){cw(e,Yx,...t);let r=e.ownerDocument.defaultView;if(!(e instanceof r.HTMLElement)&&!(e instanceof r.SVGElement))throw new Yx(e,...t)}s(ze,"checkHtmlElement");var BN=class extends Error{constructor(t,r,n){super(),Error.captureStackTrace&&Error.captureStackTrace(this,r),this.message=[t.message,"",n.utils.RECEIVED_COLOR("Failing css:"),n.utils.RECEIVED_COLOR(`${t.css}`)].join(`
|
|
223
|
-
`)}};s(BN,"InvalidCSSError");var S7=BN;function UN(e,...t){let r=f7(`selector { ${e} }`,{silent:!0}).stylesheet;if(r.parsingErrors&&r.parsingErrors.length>0){let{reason:n,line:o}=r.parsingErrors[0];throw new S7({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}),{})}s(UN,"parseCSS");function iy(e,t){return typeof t=="string"?t:e.utils.stringify(t)}s(iy,"display");function Ht(e,t,r,n,o,i){return[`${t}
|
|
224
|
-
`,`${r}:
|
|
225
|
-
${e.utils.EXPECTED_COLOR((0,Kx.default)(iy(e,n),2))}`,`${o}:
|
|
226
|
-
${e.utils.RECEIVED_COLOR((0,Kx.default)(iy(e,i),2))}`].join(`
|
|
227
|
-
`)}s(Ht,"getMessage");function HN(e,t){return t instanceof RegExp?t.test(e):e.includes(String(t))}s(HN,"matches");function Au(e,t){console.warn(`Warning: ${e} has been deprecated and will be removed in future updates.`,t)}s(Au,"deprecate");function Ru(e){return e.replace(/\s+/g," ").trim()}s(Ru,"normalize");function Zn(e){return e.tagName&&e.tagName.toLowerCase()}s(Zn,"getTag");function VN({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}s(VN,"getSelectValue");function JN(e){switch(e.type){case"number":return e.value===""?null:Number(e.value);case"checkbox":return e.checked;default:return e.value}}s(JN,"getInputValue");var x7=["meter","progressbar","slider","spinbutton"];function zN(e){if(x7.includes(e.getAttribute("role")))return Number(e.getAttribute("aria-valuenow"))}s(zN,"getAccessibleValue");function dw(e){if(e)switch(e.tagName.toLowerCase()){case"input":return JN(e);case"select":return VN(e);default:return e.value??zN(e)}}s(dw,"getSingleElementValue");function WN(e,{wordConnector:t=", ",lastWordConnector:r=" and "}={}){return[e.slice(0,-1).join(t),e[e.length-1]].join(e.length>1?r:"")}s(WN,"toSentence");function xf(e,t){if(Array.isArray(e)&&Array.isArray(t))return[...new Set(e)].every(r=>new Set(t).has(r))}s(xf,"compareArraysAsSet");function pd(e,t){return Au("toBeInTheDOM","Please use toBeInTheDocument for searching the entire document and toContainElement for searching a specific container."),e&&ze(e,pd,this),t&&ze(t,pd,this),{pass:t?t.contains(e):!!e,message:s(()=>[this.utils.matcherHint(`${this.isNot?".not":""}.toBeInTheDOM`,"element",""),"","Received:",` ${this.utils.printReceived(e&&e.cloneNode(!1))}`].join(`
|
|
228
|
-
`),"message")}}s(pd,"toBeInTheDOM");function pw(e){(e!==null||!this.isNot)&&ze(e,pw,this);let t=e===null?!1:e.ownerDocument===e.getRootNode({composed:!0}),r=s(()=>`expected document not to contain element, found ${this.utils.stringify(e.cloneNode(!0))} instead`,"errorFound"),n=s(()=>"element could not be found in the document","errorNotFound");return{pass:t,message:s(()=>[this.utils.matcherHint(`${this.isNot?".not":""}.toBeInTheDocument`,"element",""),"",this.utils.RECEIVED_COLOR(this.isNot?r():n())].join(`
|
|
229
|
-
`),"message")}}s(pw,"toBeInTheDocument");function fw(e){return Au("toBeEmpty","Please use instead toBeEmptyDOMElement for finding empty nodes in the DOM."),ze(e,fw,this),{pass:e.innerHTML==="",message:s(()=>[this.utils.matcherHint(`${this.isNot?".not":""}.toBeEmpty`,"element",""),"","Received:",` ${this.utils.printReceived(e.innerHTML)}`].join(`
|
|
230
|
-
`),"message")}}s(fw,"toBeEmpty");function hw(e){return ze(e,hw,this),{pass:GN(e),message:s(()=>[this.utils.matcherHint(`${this.isNot?".not":""}.toBeEmptyDOMElement`,"element",""),"","Received:",` ${this.utils.printReceived(e.innerHTML)}`].join(`
|
|
231
|
-
`),"message")}}s(hw,"toBeEmptyDOMElement");function GN(e){return[...e.childNodes].filter(t=>t.nodeType!==8).length===0}s(GN,"isEmptyElement");function fd(e,t){return ze(e,fd,this),t!==null&&ze(t,fd,this),{pass:e.contains(t),message:s(()=>[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))}
|
|
232
|
-
`)].join(`
|
|
233
|
-
`),"message")}}s(fd,"toContainElement");function KN(e,t){let r=e.ownerDocument.createElement("div");return r.innerHTML=t,r.innerHTML}s(KN,"getNormalizedHtml");function mw(e,t){if(ze(e,mw,this),typeof t!="string")throw new Error(`.toContainHTML() expects a string value, got ${t}`);return{pass:e.outerHTML.includes(KN(e,t)),message:s(()=>[this.utils.matcherHint(`${this.isNot?".not":""}.toContainHTML`,"element",""),"Expected:",` ${this.utils.EXPECTED_COLOR(t)}`,"Received:",` ${this.utils.printReceived(e.cloneNode(!0))}`].join(`
|
|
234
|
-
`),"message")}}s(mw,"toContainHTML");function yw(e,t,r={normalizeWhitespace:!0}){DN(e,yw,this);let n=r.normalizeWhitespace?Ru(e.textContent):e.textContent.replace(/\u00a0/g," "),o=n!==""&&t==="";return{pass:!o&&HN(n,t),message:s(()=>{let i=this.isNot?"not to":"to";return Ht(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)},"message")}}s(yw,"toHaveTextContent");function hd(e,t){ze(e,hd,this);let r=kN(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:s(()=>{let i=this.isNot?"not to":"to";return Ht(this,this.utils.matcherHint(`${this.isNot?".not":""}.${hd.name}`,"element",""),`Expected element ${i} have accessible description`,t,"Received",r)},"message")}}s(hd,"toHaveAccessibleDescription");var Ls="aria-invalid",T7=["false"];function gw(e,t){var l;ze(e,gw,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:s(()=>Ht(this,this.utils.matcherHint(n,"element"),"Expected element's `aria-errormessage` attribute to be empty or a single, valid ID","","Received",`aria-errormessage="${o}"`),"message")};let i=e.getAttribute(Ls);if(!e.hasAttribute(Ls)||T7.includes(i))return{pass:!1,message:s(()=>Ht(this,this.utils.matcherHint(n,"element"),"Expected element to be marked as invalid with attribute",`${Ls}="${String(!0)}"`,"Received",e.hasAttribute("aria-invalid")?`${Ls}="${e.getAttribute(Ls)}`:null),"message")};let a=Ru(((l=e.ownerDocument.getElementById(o))==null?void 0:l.textContent)??"");return{pass:t===void 0?!!a:t instanceof RegExp?t.test(a):this.equals(a,t),message:s(()=>Ht(this,this.utils.matcherHint(n,"element"),`Expected element ${r} have accessible error message`,t??"","Received",a),"message")}}s(gw,"toHaveAccessibleErrorMessage");var C7=QN(lw.elementRoles);function md(e,t){ze(e,md,this);let r=YN(e);return{pass:r.some(n=>n===t),message:s(()=>{let n=this.isNot?"not to":"to";return Ht(this,this.utils.matcherHint(`${this.isNot?".not":""}.${md.name}`,"element",""),`Expected element ${n} have role`,t,"Received",r.join(", "))},"message")}}s(md,"toHaveRole");function YN(e){return e.hasAttribute("role")?e.getAttribute("role").split(" ").filter(Boolean):XN(e)}s(YN,"getExplicitOrImplicitRoles");function XN(e){for(let{match:t,roles:r}of C7)if(t(e))return[...r];return[]}s(XN,"getImplicitAriaRoles");function QN(e){function t({name:a,attributes:l}){return`${a}${l.map(({name:u,value:c,constraints:d=[]})=>d.indexOf("undefined")!==-1?`:not([${u}])`:c?`[${u}="${c}"]`:`[${u}]`).join("")}`}s(t,"makeElementSelector");function r({attributes:a=[]}){return a.length}s(r,"getSelectorSpecificity");function n({specificity:a},{specificity:l}){return l-a}s(n,"bySelectorSpecificity");function o(a){let{attributes:l=[]}=a,u=l.findIndex(d=>d.value&&d.name==="type"&&d.value==="text");u>=0&&(l=[...l.slice(0,u),...l.slice(u+1)]);let c=t({...a,attributes:l});return d=>u>=0&&d.type!=="text"?!1:d.matches(c)}s(o,"match");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)}s(QN,"buildElementRoleList");function yd(e,t){ze(e,yd,this);let r=qN(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:s(()=>{let i=this.isNot?"not to":"to";return Ht(this,this.utils.matcherHint(`${this.isNot?".not":""}.${yd.name}`,"element",""),`Expected element ${i} have accessible name`,t,"Received",r)},"message")}}s(yd,"toHaveAccessibleName");function ay(e,t,r){return r===void 0?t:`${t}=${e(r)}`}s(ay,"printAttribute");function ZN(e,t,r){return r===void 0?`element.hasAttribute(${e(t)})`:`element.getAttribute(${e(t)}) === ${e(r)}`}s(ZN,"getAttributeComment");function bw(e,t,r){ze(e,bw,this);let n=r!==void 0,o=e.hasAttribute(t),i=e.getAttribute(t);return{pass:n?o&&this.equals(i,r):o,message:s(()=>{let a=this.isNot?"not to":"to",l=o?ay(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:ZN(this.utils.stringify,t,r)});return Ht(this,u,`Expected the element ${a} have attribute`,ay(this.utils.stringify,t,r),"Received",l)},"message")}}s(bw,"toHaveAttribute");function eI(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}}s(eI,"getExpectedClassNamesAndOptions");function sy(e){return e?e.split(/\s+/).filter(t=>t.length>0):[]}s(sy,"splitClassNames");function ly(e,t){return e.every(r=>typeof r=="string"?t.includes(r):t.some(n=>r.test(n)))}s(ly,"isSubset$1");function vw(e,...t){ze(e,vw,this);let{expectedClassNames:r,options:n}=eI(t),o=sy(e.getAttribute("class")),i=r.reduce((l,u)=>l.concat(typeof u=="string"||!u?sy(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:ly(i,o)&&i.length===o.length,message:s(()=>{let l=this.isNot?"not to":"to";return Ht(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(" "))},"message")}:i.length>0?{pass:ly(i,o),message:s(()=>{let l=this.isNot?"not to":"to";return Ht(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(" "))},"message")}:{pass:this.isNot?o.length>0:!1,message:s(()=>this.isNot?Ht(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(`
|
|
235
|
-
`),"message")}}s(vw,"toHaveClass");function tI(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}s(tI,"getStyleDeclaration");function rI(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)})}s(rI,"isSubset");function uy(e){return Object.keys(e).sort().map(t=>`${t}: ${e[t]};`).join(`
|
|
236
|
-
`)}s(uy,"printoutStyles");function nI(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(uy(t),uy(n)).replace(`${w7.default.red("+ Received")}
|
|
237
|
-
`,"")}s(nI,"expectedDiff");function gd(e,t){ze(e,gd,this);let r=typeof t=="object"?t:UN(t,gd,this),{getComputedStyle:n}=e.ownerDocument.defaultView,o=tI(e.ownerDocument,r),i=n(e);return{pass:rI(o,i),message:s(()=>{let a=`${this.isNot?".not":""}.toHaveStyle`;return[this.utils.matcherHint(a,"element",""),nI(this.utils.diff,o,i)].join(`
|
|
238
|
-
|
|
239
|
-
`)},"message")}}s(gd,"toHaveStyle");function ww(e){return ze(e,ww,this),{pass:e.ownerDocument.activeElement===e,message:s(()=>[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(`
|
|
240
|
-
`),"message")}}s(ww,"toHaveFocus");function oI(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)}}s(oI,"getMultiElementValue");function iI(e,t){let r=[...e.querySelectorAll(`[name="${(0,E7.default)(t)}"]`)];if(r.length!==0)switch(r.length){case 1:return dw(r[0]);default:return oI(r)}}s(iI,"getFormValue");function aI(e){return/\[\]$/.test(e)?e.slice(0,-2):e}s(aI,"getPureName");function sI(e){return Array.from(e.elements).map(t=>t.name).reduce((t,r)=>({...t,[aI(r)]:iI(e,r)}),{})}s(sI,"getAllFormValues");function Ew(e,t){if(ze(e,Ew,this),!e.elements)throw new Error("toHaveFormValues must be called on a form or a fieldset");let r=sI(e);return{pass:Object.entries(t).every(([n,o])=>(0,uw.default)(r[n],o,xf)),message:s(()=>{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(`
|
|
241
|
-
|
|
242
|
-
`)},"message")}}s(Ew,"toHaveFormValues");function lI(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}s(lI,"isStyleVisible");function uI(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}s(uI,"isAttributeVisible");function Sw(e,t){return lI(e)&&uI(e,t)&&(!e.parentElement||Sw(e.parentElement,e))}s(Sw,"isElementVisible");function xw(e){ze(e,xw,this);let t=e.ownerDocument===e.getRootNode({composed:!0}),r=t&&Sw(e);return{pass:r,message:s(()=>{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(`
|
|
243
|
-
`)},"message")}}s(xw,"toBeVisible");var _7=["fieldset","input","select","optgroup","option","button","textarea"];function cI(e,t){return Zn(e)==="legend"&&Zn(t)==="fieldset"&&e.isSameNode(Array.from(t.children).find(r=>Zn(r)==="legend"))}s(cI,"isFirstLegendChildOfFieldset");function dI(e,t){return Cw(t)&&!cI(e,t)}s(dI,"isElementDisabledByParent");function pI(e){return e.includes("-")}s(pI,"isCustomElement");function Tw(e){let t=Zn(e);return _7.includes(t)||pI(t)}s(Tw,"canElementBeDisabled");function Cw(e){return Tw(e)&&e.hasAttribute("disabled")}s(Cw,"isElementDisabled");function _w(e){let t=e.parentElement;return!!t&&(dI(e,t)||_w(t))}s(_w,"isAncestorDisabled");function Pw(e){return Tw(e)&&(Cw(e)||_w(e))}s(Pw,"isElementOrAncestorDisabled");function Ow(e){ze(e,Ow,this);let t=Pw(e);return{pass:t,message:s(()=>{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(`
|
|
244
|
-
`)},"message")}}s(Ow,"toBeDisabled");function Aw(e){ze(e,Aw,this);let t=!Pw(e);return{pass:t,message:s(()=>{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(`
|
|
245
|
-
`)},"message")}}s(Aw,"toBeEnabled");var P7=["select","textarea"],O7=["input","select","textarea"],A7=["color","hidden","range","submit","image","reset"],R7=["checkbox","combobox","gridcell","listbox","radiogroup","spinbutton","textbox","tree"];function fI(e){return P7.includes(Zn(e))&&e.hasAttribute("required")}s(fI,"isRequiredOnFormTagsExceptInput");function hI(e){return Zn(e)==="input"&&e.hasAttribute("required")&&(e.hasAttribute("type")&&!A7.includes(e.getAttribute("type"))||!e.hasAttribute("type"))}s(hI,"isRequiredOnSupportedInput");function mI(e){return e.hasAttribute("aria-required")&&e.getAttribute("aria-required")==="true"&&(O7.includes(Zn(e))||e.hasAttribute("role")&&R7.includes(e.getAttribute("role")))}s(mI,"isElementRequiredByARIA");function Rw(e){ze(e,Rw,this);let t=fI(e)||hI(e)||mI(e);return{pass:t,message:s(()=>{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(`
|
|
246
|
-
`)},"message")}}s(Rw,"toBeRequired");var N7=["form","input","select","textarea"];function yI(e){return e.hasAttribute("aria-invalid")&&e.getAttribute("aria-invalid")!=="false"}s(yI,"isElementHavingAriaInvalid");function gI(e){return N7.includes(Zn(e))}s(gI,"isSupportsValidityMethod");function Nw(e){let t=yI(e);return gI(e)?t||!e.checkValidity():t}s(Nw,"isElementInvalid");function Iw(e){ze(e,Iw,this);let t=Nw(e);return{pass:t,message:s(()=>{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(`
|
|
247
|
-
`)},"message")}}s(Iw,"toBeInvalid");function kw(e){ze(e,kw,this);let t=!Nw(e);return{pass:t,message:s(()=>{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(`
|
|
248
|
-
`)},"message")}}s(kw,"toBeValid");function Mw(e,t){if(ze(e,Mw,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=dw(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,uw.default)(r,t,xf):!!r,message:s(()=>{let a=this.isNot?"not to":"to",l=this.utils.matcherHint(`${this.isNot?".not":""}.toHaveValue`,"element",t);return Ht(this,l,`Expected the element ${a} have value`,n?o:"(any)","Received",i)},"message")}}s(Mw,"toHaveValue");function qw(e,t){ze(e,qw,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=bI(r,e),o=vI(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:s(()=>Ht(this,this.utils.matcherHint(`${this.isNot?".not":""}.toHaveDisplayValue`,"element",""),`Expected element ${this.isNot?"not ":""}to have display value`,t,"Received",n),"message")}}s(qw,"toHaveDisplayValue");function bI(e,t){return e==="select"?Array.from(t).filter(r=>r.selected).map(r=>r.textContent):[t.value]}s(bI,"getValues");function vI(e){return e instanceof Array?e:[e]}s(vI,"getExpectedValues");function jw(e){ze(e,jw,this);let t=s(()=>e.tagName.toLowerCase()==="input"&&["checkbox","radio"].includes(e.type),"isValidInput"),r=s(()=>$w(e.getAttribute("role"))&&["true","false"].includes(e.getAttribute("aria-checked")),"isValidAriaElement");if(!t()&&!r())return{pass:!1,message:s(()=>`only inputs with type="checkbox" or type="radio" or elements with ${wI()} and a valid aria-checked attribute can be used with .toBeChecked(). Use .toHaveValue() instead`,"message")};let n=s(()=>t()?e.checked:e.getAttribute("aria-checked")==="true","isChecked");return{pass:n(),message:s(()=>{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(`
|
|
249
|
-
`)},"message")}}s(jw,"toBeChecked");function wI(){return WN(EI().map(e=>`role="${e}"`),{lastWordConnector:" or "})}s(wI,"supportedRolesSentence");function EI(){return lw.roles.keys().filter($w)}s(EI,"supportedRoles");function $w(e){var t;return((t=lw.roles.get(e))==null?void 0:t.props["aria-checked"])!==void 0}s($w,"roleSupportsChecked");function Lw(e){ze(e,Lw,this);let t=s(()=>e.tagName.toLowerCase()==="input"&&e.type==="checkbox","isValidInput"),r=s(()=>e.getAttribute("role")==="checkbox","isValidAriaElement");if(!t()&&!r())return{pass:!1,message:s(()=>'only inputs with type="checkbox" or elements with role="checkbox" and a valid aria-checked attribute can be used with .toBePartiallyChecked(). Use .toHaveValue() instead',"message")};let n=s(()=>{let o=e.getAttribute("aria-checked")==="mixed";return t()&&e.indeterminate||o},"isPartiallyChecked");return{pass:n(),message:s(()=>{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(`
|
|
250
|
-
`)},"message")}}s(Lw,"toBePartiallyChecked");function Fw(e,t){Au("toHaveDescription","Please use toHaveAccessibleDescription."),ze(e,Fw,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=Ru(a.map(l=>l.textContent).join(" "))}return{pass:r?t instanceof RegExp?t.test(o):this.equals(o,t):!!o,message:s(()=>{let i=this.isNot?"not to":"to";return Ht(this,this.utils.matcherHint(`${this.isNot?".not":""}.toHaveDescription`,"element",""),`Expected the element ${i} have description`,this.utils.printExpected(t),"Received",this.utils.printReceived(o))},"message")}}s(Fw,"toHaveDescription");function Dw(e,t){if(Au("toHaveErrorMessage","Please use toHaveAccessibleErrorMessage."),ze(e,Dw,this),!e.hasAttribute("aria-invalid")||e.getAttribute("aria-invalid")==="false"){let i=this.isNot?".not":"";return{pass:!1,message:s(()=>Ht(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("")),"message")}}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=Ru(a.map(l=>l.textContent).join(" "))}return{pass:r?t instanceof RegExp?t.test(o):this.equals(o,t):!!o,message:s(()=>{let i=this.isNot?"not to":"to";return Ht(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))},"message")}}s(Dw,"toHaveErrorMessage");function SI(e){let t=e.ownerDocument.getSelection();if(["input","textarea"].includes(e.tagName.toLowerCase()))return["radio","checkbox"].includes(e.type)?"":e.value.toString().substring(e.selectionStart,e.selectionEnd);if(t.anchorNode===null||t.focusNode===null)return"";let r=t.getRangeAt(0),n=e.ownerDocument.createRange();if(t.containsNode(e,!1))n.selectNodeContents(e),t.removeAllRanges(),t.addRange(n);else if(!(e.contains(t.anchorNode)&&e.contains(t.focusNode))){let i=e===r.startContainer||e.contains(r.startContainer),a=e===r.endContainer||e.contains(r.endContainer);t.removeAllRanges(),(i||a)&&(n.selectNodeContents(e),i&&n.setStart(r.startContainer,r.startOffset),a&&n.setEnd(r.endContainer,r.endOffset),t.addRange(n))}let o=t.toString();return t.removeAllRanges(),t.addRange(r),o}s(SI,"getSelection");function Bw(e,t){ze(e,Bw,this);let r=t!==void 0;if(r&&typeof t!="string")throw new Error("expected selection must be a string or undefined");let n=SI(e);return{pass:r?(0,uw.default)(n,t,xf):!!n,message:s(()=>{let o=this.isNot?"not to":"to",i=this.utils.matcherHint(`${this.isNot?".not":""}.toHaveSelection`,"element",t);return Ht(this,i,`Expected the element ${o} have selection`,r?t:"(any)","Received",n)},"message")}}s(Bw,"toHaveSelection");_t(M_(),1);_t(q_(),1);_t($_(),1);_t(G_(),1);_t(K_(),1);function Uw(e,t){return t.forEach(function(r){r&&typeof r!="string"&&!Array.isArray(r)&&Object.keys(r).forEach(function(n){if(n!=="default"&&!(n in e)){var o=Object.getOwnPropertyDescriptor(r,n);Object.defineProperty(e,n,o.get?o:{enumerable:!0,get:s(function(){return r[n]},"get")})}})}),Object.freeze(e)}s(Uw,"_mergeNamespaces");function xI(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}s(xI,"getKeysOfEnumerableProperties");function xs(e,t,r,n,o,i,a=": "){let l="",u=0,c=e.next();if(!c.done){l+=t.spacingOuter;let d=r+t.indent;for(;!c.done;){if(l+=d,u++===t.maxWidth){l+="…";break}let p=i(c.value[0],t,d,n,o),h=i(c.value[1],t,d,n,o);l+=p+a+h,c=e.next(),c.done?t.min||(l+=","):l+=`,${t.spacingInner}`}l+=t.spacingOuter+r}return l}s(xs,"printIteratorEntries");function Tf(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}s(Tf,"printIteratorValues");function Fl(e,t,r,n,o,i){let a="";e=e instanceof ArrayBuffer?new DataView(e):e;let l=s(c=>c instanceof DataView,"isDataView"),u=l(e)?e.byteLength:e.length;if(u>0){a+=t.spacingOuter;let c=r+t.indent;for(let d=0;d<u;d++){if(a+=c,d===t.maxWidth){a+="…";break}(l(e)||d in e)&&(a+=i(l(e)?e.getInt8(d):e[d],t,c,n,o)),d<u-1?a+=`,${t.spacingInner}`:t.min||(a+=",")}a+=t.spacingOuter+r}return a}s(Fl,"printListItems");function Cf(e,t,r,n,o,i){let a="",l=xI(e,t.compareKeys);if(l.length>0){a+=t.spacingOuter;let u=r+t.indent;for(let c=0;c<l.length;c++){let d=l[c],p=i(d,t,u,n,o),h=i(e[d],t,u,n,o);a+=`${u+p}: ${h}`,c<l.length-1?a+=`,${t.spacingInner}`:t.min||(a+=",")}a+=t.spacingOuter+r}return a}s(Cf,"printObjectProperties");var I7=typeof Symbol=="function"&&Symbol.for?Symbol.for("jest.asymmetricMatcher"):1267621,Wh=" ",k7=s((e,t,r,n,o,i)=>{let a=e.toString();if(a==="ArrayContaining"||a==="ArrayNotContaining")return++n>t.maxDepth?`[${a}]`:`${a+Wh}[${Fl(e.sample,t,r,n,o,i)}]`;if(a==="ObjectContaining"||a==="ObjectNotContaining")return++n>t.maxDepth?`[${a}]`:`${a+Wh}{${Cf(e.sample,t,r,n,o,i)}}`;if(a==="StringMatching"||a==="StringNotMatching"||a==="StringContaining"||a==="StringNotContaining")return a+Wh+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()},"serialize$5"),M7=s(e=>e&&e.$$typeof===I7,"test$5"),q7={serialize:k7,test:M7},j7=" ",TI=new Set(["DOMStringMap","NamedNodeMap"]),$7=/^(?:HTML\w*Collection|NodeList)$/;function CI(e){return TI.has(e)||$7.test(e)}s(CI,"testName");var L7=s(e=>e&&e.constructor&&!!e.constructor.name&&CI(e.constructor.name),"test$4");function _I(e){return e.constructor.name==="NamedNodeMap"}s(_I,"isNamedNodeMap");var F7=s((e,t,r,n,o,i)=>{let a=e.constructor.name;return++n>t.maxDepth?`[${a}]`:(t.min?"":a+j7)+(TI.has(a)?`{${Cf(_I(e)?[...e].reduce((l,u)=>(l[u.name]=u.value,l),{}):{...e},t,r,n,o,i)}}`:`[${Fl([...e],t,r,n,o,i)}]`)},"serialize$4"),D7={serialize:F7,test:L7};function Hw(e){return e.replaceAll("<","<").replaceAll(">",">")}s(Hw,"escapeHTML");function _f(e,t,r,n,o,i,a){let l=n+r.indent,u=r.colors;return e.map(c=>{let d=t[c],p=a(d,r,l,o,i);return typeof d!="string"&&(p.includes(`
|
|
251
|
-
`)&&(p=r.spacingOuter+l+p+r.spacingOuter+n),p=`{${p}}`),`${r.spacingInner+n+u.prop.open+c+u.prop.close}=${u.value.open}${p}${u.value.close}`}).join("")}s(_f,"printProps");function Pf(e,t,r,n,o,i){return e.map(a=>t.spacingOuter+r+(typeof a=="string"?Vw(a,t):i(a,t,r,n,o))).join("")}s(Pf,"printChildren");function Vw(e,t){let r=t.colors.content;return r.open+Hw(e)+r.close}s(Vw,"printText");function PI(e,t){let r=t.colors.comment;return`${r.open}<!--${Hw(e)}-->${r.close}`}s(PI,"printComment");function Of(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}`}s(Of,"printElement");function Af(e,t){let r=t.colors.tag;return`${r.open}<${e}${r.close} …${r.open} />${r.close}`}s(Af,"printElementAsLeaf");var B7=1,OI=3,AI=8,RI=11,U7=/^(?:(?:HTML|SVG)\w*)?Element$/;function NI(e){try{return typeof e.hasAttribute=="function"&&e.hasAttribute("is")}catch{return!1}}s(NI,"testHasAttribute");function II(e){let t=e.constructor.name,{nodeType:r,tagName:n}=e,o=typeof n=="string"&&n.includes("-")||NI(e);return r===B7&&(U7.test(t)||o)||r===OI&&t==="Text"||r===AI&&t==="Comment"||r===RI&&t==="DocumentFragment"}s(II,"testNode");var H7=s(e=>{var t;return((t=e==null?void 0:e.constructor)==null?void 0:t.name)&&II(e)},"test$3");function kI(e){return e.nodeType===OI}s(kI,"nodeIsText");function MI(e){return e.nodeType===AI}s(MI,"nodeIsComment");function bc(e){return e.nodeType===RI}s(bc,"nodeIsFragment");var V7=s((e,t,r,n,o,i)=>{if(kI(e))return Vw(e.data,t);if(MI(e))return PI(e.data,t);let a=bc(e)?"DocumentFragment":e.tagName.toLowerCase();return++n>t.maxDepth?Af(a,t):Of(a,_f(bc(e)?[]:Array.from(e.attributes,l=>l.name).sort(),bc(e)?{}:[...e.attributes].reduce((l,u)=>(l[u.name]=u.value,l),{}),t,r+t.indent,n,o,i),Pf(Array.prototype.slice.call(e.childNodes||e.children),t,r+t.indent,n,o,i),t,r)},"serialize$3"),J7={serialize:V7,test:H7},z7="@@__IMMUTABLE_ITERABLE__@@",W7="@@__IMMUTABLE_LIST__@@",G7="@@__IMMUTABLE_KEYED__@@",K7="@@__IMMUTABLE_MAP__@@",Qx="@@__IMMUTABLE_ORDERED__@@",Y7="@@__IMMUTABLE_RECORD__@@",X7="@@__IMMUTABLE_SEQ__@@",Q7="@@__IMMUTABLE_SET__@@",Z7="@@__IMMUTABLE_STACK__@@",Xa=s(e=>`Immutable.${e}`,"getImmutableName"),Rf=s(e=>`[${e}]`,"printAsLeaf"),Dl=" ",Zx="…";function qI(e,t,r,n,o,i,a){return++n>t.maxDepth?Rf(Xa(a)):`${Xa(a)+Dl}{${xs(e.entries(),t,r,n,o,i)}}`}s(qI,"printImmutableEntries");function jI(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}}}}s(jI,"getRecordEntries");function $I(e,t,r,n,o,i){let a=Xa(e._name||"Record");return++n>t.maxDepth?Rf(a):`${a+Dl}{${xs(jI(e),t,r,n,o,i)}}`}s($I,"printImmutableRecord");function LI(e,t,r,n,o,i){let a=Xa("Seq");return++n>t.maxDepth?Rf(a):e[G7]?`${a+Dl}{${e._iter||e._object?xs(e.entries(),t,r,n,o,i):Zx}}`:`${a+Dl}[${e._iter||e._array||e._collection||e._iterable?Tf(e.values(),t,r,n,o,i):Zx}]`}s(LI,"printImmutableSeq");function vc(e,t,r,n,o,i,a){return++n>t.maxDepth?Rf(Xa(a)):`${Xa(a)+Dl}[${Tf(e.values(),t,r,n,o,i)}]`}s(vc,"printImmutableValues");var eX=s((e,t,r,n,o,i)=>e[K7]?qI(e,t,r,n,o,i,e[Qx]?"OrderedMap":"Map"):e[W7]?vc(e,t,r,n,o,i,"List"):e[Q7]?vc(e,t,r,n,o,i,e[Qx]?"OrderedSet":"Set"):e[Z7]?vc(e,t,r,n,o,i,"Stack"):e[X7]?LI(e,t,r,n,o,i):$I(e,t,r,n,o,i),"serialize$2"),tX=s(e=>e&&(e[z7]===!0||e[Y7]===!0),"test$2"),rX={serialize:eX,test:tX};function Jw(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}s(Jw,"getDefaultExportFromCjs");var eT={exports:{}},et={},tT;function FI(){if(tT)return et;tT=1;var e=Symbol.for("react.transitional.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.consumer"),a=Symbol.for("react.context"),l=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),c=Symbol.for("react.suspense_list"),d=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),h=Symbol.for("react.offscreen"),f=Symbol.for("react.client.reference");function m(y){if(typeof y=="object"&&y!==null){var g=y.$$typeof;switch(g){case e:switch(y=y.type,y){case r:case o:case n:case u:case c:return y;default:switch(y=y&&y.$$typeof,y){case a:case l:case p:case d:return y;case i:return y;default:return g}}case t:return g}}}return s(m,"typeOf"),et.ContextConsumer=i,et.ContextProvider=a,et.Element=e,et.ForwardRef=l,et.Fragment=r,et.Lazy=p,et.Memo=d,et.Portal=t,et.Profiler=o,et.StrictMode=n,et.Suspense=u,et.SuspenseList=c,et.isContextConsumer=function(y){return m(y)===i},et.isContextProvider=function(y){return m(y)===a},et.isElement=function(y){return typeof y=="object"&&y!==null&&y.$$typeof===e},et.isForwardRef=function(y){return m(y)===l},et.isFragment=function(y){return m(y)===r},et.isLazy=function(y){return m(y)===p},et.isMemo=function(y){return m(y)===d},et.isPortal=function(y){return m(y)===t},et.isProfiler=function(y){return m(y)===o},et.isStrictMode=function(y){return m(y)===n},et.isSuspense=function(y){return m(y)===u},et.isSuspenseList=function(y){return m(y)===c},et.isValidElementType=function(y){return typeof y=="string"||typeof y=="function"||y===r||y===o||y===n||y===u||y===c||y===h||typeof y=="object"&&y!==null&&(y.$$typeof===p||y.$$typeof===d||y.$$typeof===a||y.$$typeof===i||y.$$typeof===l||y.$$typeof===f||y.getModuleId!==void 0)},et.typeOf=m,et}s(FI,"requireReactIs_production");var rT;function DI(){return rT||(rT=1,eT.exports=FI()),eT.exports}s(DI,"requireReactIs$1");var BI=DI(),nX=Jw(BI),oX=Uw({__proto__:null,default:nX},[BI]),nT={exports:{}},Ke={},oT;function UI(){if(oT)return Ke;oT=1;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"),d=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),f=Symbol.for("react.offscreen"),m;m=Symbol.for("react.module.reference");function y(g){if(typeof g=="object"&&g!==null){var b=g.$$typeof;switch(b){case e:switch(g=g.type,g){case r:case o:case n:case c:case d:return g;default:switch(g=g&&g.$$typeof,g){case l:case a:case u:case h:case p:case i:return g;default:return b}}case t:return b}}}return s(y,"v"),Ke.ContextConsumer=a,Ke.ContextProvider=i,Ke.Element=e,Ke.ForwardRef=u,Ke.Fragment=r,Ke.Lazy=h,Ke.Memo=p,Ke.Portal=t,Ke.Profiler=o,Ke.StrictMode=n,Ke.Suspense=c,Ke.SuspenseList=d,Ke.isAsyncMode=function(){return!1},Ke.isConcurrentMode=function(){return!1},Ke.isContextConsumer=function(g){return y(g)===a},Ke.isContextProvider=function(g){return y(g)===i},Ke.isElement=function(g){return typeof g=="object"&&g!==null&&g.$$typeof===e},Ke.isForwardRef=function(g){return y(g)===u},Ke.isFragment=function(g){return y(g)===r},Ke.isLazy=function(g){return y(g)===h},Ke.isMemo=function(g){return y(g)===p},Ke.isPortal=function(g){return y(g)===t},Ke.isProfiler=function(g){return y(g)===o},Ke.isStrictMode=function(g){return y(g)===n},Ke.isSuspense=function(g){return y(g)===c},Ke.isSuspenseList=function(g){return y(g)===d},Ke.isValidElementType=function(g){return typeof g=="string"||typeof g=="function"||g===r||g===o||g===n||g===c||g===d||g===f||typeof g=="object"&&g!==null&&(g.$$typeof===h||g.$$typeof===p||g.$$typeof===i||g.$$typeof===a||g.$$typeof===u||g.$$typeof===m||g.getModuleId!==void 0)},Ke.typeOf=y,Ke}s(UI,"requireReactIs_production_min");var iT;function HI(){return iT||(iT=1,nT.exports=UI()),nT.exports}s(HI,"requireReactIs");var VI=HI(),iX=Jw(VI),aX=Uw({__proto__:null,default:iX},[VI]),sX=["isAsyncMode","isConcurrentMode","isContextConsumer","isContextProvider","isElement","isForwardRef","isFragment","isLazy","isMemo","isPortal","isProfiler","isStrictMode","isSuspense","isSuspenseList","isValidElementType"],si=Object.fromEntries(sX.map(e=>[e,t=>aX[e](t)||oX[e](t)]));function zw(e,t=[]){if(Array.isArray(e))for(let r of e)zw(r,t);else e!=null&&e!==!1&&e!==""&&t.push(e);return t}s(zw,"getChildren");function cy(e){let t=e.type;if(typeof t=="string")return t;if(typeof t=="function")return t.displayName||t.name||"Unknown";if(si.isFragment(e))return"React.Fragment";if(si.isSuspense(e))return"React.Suspense";if(typeof t=="object"&&t!==null){if(si.isContextProvider(e))return"Context.Provider";if(si.isContextConsumer(e))return"Context.Consumer";if(si.isForwardRef(e)){if(t.displayName)return t.displayName;let r=t.render.displayName||t.render.name||"";return r===""?"ForwardRef":`ForwardRef(${r})`}if(si.isMemo(e)){let r=t.displayName||t.type.displayName||t.type.name||"";return r===""?"Memo":`Memo(${r})`}}return"UNDEFINED"}s(cy,"getType");function JI(e){let{props:t}=e;return Object.keys(t).filter(r=>r!=="children"&&t[r]!==void 0).sort()}s(JI,"getPropKeys$1");var lX=s((e,t,r,n,o,i)=>++n>t.maxDepth?Af(cy(e),t):Of(cy(e),_f(JI(e),e.props,t,r+t.indent,n,o,i),Pf(zw(e.props.children),t,r+t.indent,n,o,i),t,r),"serialize$1"),uX=s(e=>e!=null&&si.isElement(e),"test$1"),cX={serialize:lX,test:uX},dX=typeof Symbol=="function"&&Symbol.for?Symbol.for("react.test.json"):245830487;function zI(e){let{props:t}=e;return t?Object.keys(t).filter(r=>t[r]!==void 0).sort():[]}s(zI,"getPropKeys");var pX=s((e,t,r,n,o,i)=>++n>t.maxDepth?Af(e.type,t):Of(e.type,e.props?_f(zI(e),e.props,t,r+t.indent,n,o,i):"",e.children?Pf(e.children,t,r+t.indent,n,o,i):"",t,r),"serialize"),fX=s(e=>e&&e.$$typeof===dX,"test"),hX={serialize:pX,test:fX},WI=Object.prototype.toString,mX=Date.prototype.toISOString,yX=Error.prototype.toString,aT=RegExp.prototype.toString;function al(e){return typeof e.constructor=="function"&&e.constructor.name||"Object"}s(al,"getConstructorName");function GI(e){return typeof window<"u"&&e===window}s(GI,"isWindow");var gX=/^Symbol\((.*)\)(.*)$/,bX=/\n/g,KI=class extends Error{constructor(t,r){super(t),this.stack=r,this.name=this.constructor.name}};s(KI,"PrettyFormatPluginError");var YI=KI;function XI(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]"}s(XI,"isToStringedArrayType");function QI(e){return Object.is(e,-0)?"-0":String(e)}s(QI,"printNumber");function ZI(e){return`${e}n`}s(ZI,"printBigInt");function dy(e,t){return t?`[Function ${e.name||"anonymous"}]`:"[Function]"}s(dy,"printFunction");function py(e){return String(e).replace(gX,"Symbol($1)")}s(py,"printSymbol");function fy(e){return`[${yX.call(e)}]`}s(fy,"printError");function Ww(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 QI(e);if(o==="bigint")return ZI(e);if(o==="string")return n?`"${e.replaceAll(/"|\\/g,"\\$&")}"`:`"${e}"`;if(o==="function")return dy(e,t);if(o==="symbol")return py(e);let i=WI.call(e);return i==="[object WeakMap]"?"WeakMap {}":i==="[object WeakSet]"?"WeakSet {}":i==="[object Function]"||i==="[object GeneratorFunction]"?dy(e,t):i==="[object Symbol]"?py(e):i==="[object Date]"?Number.isNaN(+e)?"Date { NaN }":mX.call(e):i==="[object Error]"?fy(e):i==="[object RegExp]"?r?aT.call(e).replaceAll(/[$()*+.?[\\\]^{|}]/g,"\\$&"):aT.call(e):e instanceof Error?fy(e):null}s(Ww,"printBasicValue");function Gw(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 Jn(e.toJSON(),t,r,n,o,!0);let u=WI.call(e);return u==="[object Arguments]"?a?"[Arguments]":`${l?"":"Arguments "}[${Fl(e,t,r,n,o,Jn)}]`:XI(u)?a?`[${e.constructor.name}]`:`${l||!t.printBasicPrototype&&e.constructor.name==="Array"?"":`${e.constructor.name} `}[${Fl(e,t,r,n,o,Jn)}]`:u==="[object Map]"?a?"[Map]":`Map {${xs(e.entries(),t,r,n,o,Jn," => ")}}`:u==="[object Set]"?a?"[Set]":`Set {${Tf(e.values(),t,r,n,o,Jn)}}`:a||GI(e)?`[${al(e)}]`:`${l||!t.printBasicPrototype&&al(e)==="Object"?"":`${al(e)} `}{${Cf(e,t,r,n,o,Jn)}}`}s(Gw,"printComplexValue");var vX={test:s(e=>e&&e instanceof Error,"test"),serialize(e,t,r,n,o,i){if(o.includes(e))return"[Circular]";o=[...o,e];let a=++n>t.maxDepth,{message:l,cause:u,...c}=e,d={message:l,...typeof u<"u"?{cause:u}:{},...e instanceof AggregateError?{errors:e.errors}:{},...c},p=e.name!=="Error"?e.name:al(e);return a?`[${p}]`:`${p} {${xs(Object.entries(d).values(),t,r,n,o,i)}}`}};function ek(e){return e.serialize!=null}s(ek,"isNewPlugin");function Kw(e,t,r,n,o,i){let a;try{a=ek(e)?e.serialize(t,r,n,o,i,Jn):e.print(t,l=>Jn(l,r,n,o,i),l=>{let u=n+r.indent;return u+l.replaceAll(bX,`
|
|
252
|
-
${u}`)},{edgeSpacing:r.spacingOuter,min:r.min,spacing:r.spacingInner},r.colors)}catch(l){throw new YI(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}s(Kw,"printPlugin");function Yw(e,t){for(let r of e)try{if(r.test(t))return r}catch(n){throw new YI(n.message,n.stack)}return null}s(Yw,"findPlugin");function Jn(e,t,r,n,o,i){let a=Yw(t.plugins,e);if(a!==null)return Kw(a,e,t,r,n,o);let l=Ww(e,t.printFunctionName,t.escapeRegex,t.escapeString);return l!==null?l:Gw(e,t,r,n,o,i)}s(Jn,"printer");var Xw={comment:"gray",content:"reset",prop:"yellow",tag:"cyan",value:"green"},tk=Object.keys(Xw),en={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:Xw};function rk(e){for(let t of Object.keys(e))if(!Object.prototype.hasOwnProperty.call(en,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.')}s(rk,"validateOptions");function nk(){return tk.reduce((e,t)=>{let r=Xw[t],n=r&&Je[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))}s(nk,"getColorsHighlight");function ok(){return tk.reduce((e,t)=>(e[t]={close:"",open:""},e),Object.create(null))}s(ok,"getColorsEmpty");function Qw(e){return(e==null?void 0:e.printFunctionName)??en.printFunctionName}s(Qw,"getPrintFunctionName");function Zw(e){return(e==null?void 0:e.escapeRegex)??en.escapeRegex}s(Zw,"getEscapeRegex");function eE(e){return(e==null?void 0:e.escapeString)??en.escapeString}s(eE,"getEscapeString");function hy(e){return{callToJSON:(e==null?void 0:e.callToJSON)??en.callToJSON,colors:e!=null&&e.highlight?nk():ok(),compareKeys:typeof(e==null?void 0:e.compareKeys)=="function"||(e==null?void 0:e.compareKeys)===null?e.compareKeys:en.compareKeys,escapeRegex:Zw(e),escapeString:eE(e),indent:e!=null&&e.min?"":ik((e==null?void 0:e.indent)??en.indent),maxDepth:(e==null?void 0:e.maxDepth)??en.maxDepth,maxWidth:(e==null?void 0:e.maxWidth)??en.maxWidth,min:(e==null?void 0:e.min)??en.min,plugins:(e==null?void 0:e.plugins)??en.plugins,printBasicPrototype:(e==null?void 0:e.printBasicPrototype)??!0,printFunctionName:Qw(e),spacingInner:e!=null&&e.min?" ":`
|
|
253
|
-
`,spacingOuter:e!=null&&e.min?"":`
|
|
254
|
-
`}}s(hy,"getConfig");function ik(e){return Array.from({length:e+1}).join(" ")}s(ik,"createIndent");function on(e,t){if(t&&(rk(t),t.plugins)){let n=Yw(t.plugins,e);if(n!==null)return Kw(n,e,hy(t),"",0,[])}let r=Ww(e,Qw(t),Zw(t),eE(t));return r!==null?r:Gw(e,hy(t),"",0,[])}s(on,"format");var tE={AsymmetricMatcher:q7,DOMCollection:D7,DOMElement:J7,Immutable:rX,ReactElement:cX,ReactTestComponent:hX,Error:vX},{AsymmetricMatcher:wX,DOMCollection:EX,DOMElement:SX,Immutable:xX,ReactElement:TX,ReactTestComponent:CX}=tE,sT=[CX,TX,SX,EX,xX,wX];function wr(e,t=10,{maxLength:r,...n}={}){let o=r??1e4,i;try{i=on(e,{maxDepth:t,escapeString:!1,plugins:sT,...n})}catch{i=on(e,{callToJSON:!1,maxDepth:t,escapeString:!1,plugins:sT,...n})}return i.length>=o&&t>1?wr(e,Math.floor(Math.min(t,Number.MAX_SAFE_INTEGER)/2),{maxLength:r,...n}):i}s(wr,"stringify");var _X=/%[sdjifoOc%]/g;function ak(...e){if(typeof e[0]!="string"){let i=[];for(let a=0;a<e.length;a++)i.push(ca(e[a],{depth:0,colors:!1}));return i.join(" ")}let t=e.length,r=1,n=e[0],o=String(n).replace(_X,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?typeof a.toString=="function"&&a.toString!==Object.prototype.toString?a.toString():ca(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 ca(e[r++],{showHidden:!0,showProxy:!0});case"%O":return ca(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+=` ${ca(i)}`;return o}s(ak,"format");function ca(e,t={}){return t.truncate===0&&(t.truncate=Number.POSITIVE_INFINITY),Nl(e,t)}s(ca,"inspect");function sk(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}s(sk,"getDefaultExportFromCjs");function mn(e,t,r){let n=typeof e;if(!r.includes(n))throw new TypeError(`${t} value must be ${r.join(" or ")}, received "${n}"`)}s(mn,"assertTypes");function sl(e){return e!=null&&typeof e=="object"&&!Array.isArray(e)}s(sl,"isObject");function lk(e){return e===Object.prototype||e===Function.prototype||e===RegExp.prototype}s(lk,"isFinalObj");function bd(e){return Object.prototype.toString.apply(e).slice(8,-1)}s(bd,"getType");function uk(e,t){let r=typeof t=="function"?t:n=>t.add(n);Object.getOwnPropertyNames(e).forEach(r),Object.getOwnPropertySymbols(e).forEach(r)}s(uk,"collectOwnProperties");function rE(e){let t=new Set;return lk(e)?[]:(uk(e,t),Array.from(t))}s(rE,"getOwnProperties");var ck={forceWritable:!1};function my(e,t=ck){return vd(e,new WeakMap,t)}s(my,"deepClone");function vd(e,t,r=ck){let n,o;if(t.has(e))return t.get(e);if(Array.isArray(e)){for(o=Array.from({length:n=e.length}),t.set(e,o);n--;)o[n]=vd(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=rE(e);for(let a of i){let l=Object.getOwnPropertyDescriptor(e,a);if(!l)continue;let u=vd(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}s(vd,"clone");var Gh,lT;function dk(){if(lT)return Gh;lT=1;var e,t,r,n,o,i,a,l,u,c,d,p,h,f,m,y,g,b,v;return h=/\/(?![*\/])(?:\[(?:(?![\]\\]).|\\.)*\]|(?![\/\\]).|\\.)*(\/[$_\u200C\u200D\p{ID_Continue}]*|\\)?/yu,p=/--|\+\+|=>|\.{3}|\??\.(?!\d)|(?:&&|\|\||\?\?|[+\-%&|^]|\*{1,2}|<{1,2}|>{1,3}|!=?|={1,2}|\/(?![\/*]))=?|[?~,:;[\](){}]/y,e=/(\x23?)(?=[$_\p{ID_Start}\\])(?:[$_\u200C\u200D\p{ID_Continue}]|\\u[\da-fA-F]{4}|\\u\{[\da-fA-F]+\})+/yu,m=/(['"])(?:(?!\1)[^\\\n\r]|\\(?:\r\n|[^]))*(\1)?/y,d=/(?:0[xX][\da-fA-F](?:_?[\da-fA-F])*|0[oO][0-7](?:_?[0-7])*|0[bB][01](?:_?[01])*)n?|0n|[1-9](?:_?\d)*n|(?:(?:0(?!\d)|0\d*[89]\d*|[1-9](?:_?\d)*)(?:\.(?:\d(?:_?\d)*)?)?|\.\d(?:_?\d)*)(?:[eE][+-]?\d(?:_?\d)*)?|0[0-7]+/y,y=/[`}](?:[^`\\$]|\\[^]|\$(?!\{))*(`|\$\{)?/y,v=/[\t\v\f\ufeff\p{Zs}]+/yu,l=/\r?\n|[\r\u2028\u2029]/y,u=/\/\*(?:[^*]|\*(?!\/))*(\*\/)?/y,f=/\/\/.*/y,r=/[<>.:={}]|\/(?![\/*])/y,t=/[$_\p{ID_Start}][$_\u200C\u200D\p{ID_Continue}-]*/yu,n=/(['"])(?:(?!\1)[^])*(\1)?/y,o=/[^<>{}]+/y,b=/^(?:[\/+-]|\.{3}|\?(?:InterpolationIn(?:JSX|Template)|NoLineTerminatorHere|NonExpressionParenEnd|UnaryIncDec))?$|[{}([,;<>=*%&|^!~?:]$/,g=/^(?:=>|[;\]){}]|else|\?(?:NoLineTerminatorHere|NonExpressionParenEnd))?$/,i=/^(?:await|case|default|delete|do|else|instanceof|new|return|throw|typeof|void|yield)$/,a=/^(?:return|throw|yield)$/,c=RegExp(l.source),Gh=s(function*(S,{jsx:T=!1}={}){var P,C,w,E,_,R,N,q,L,O,k,M,G,V;for({length:R}=S,E=0,_="",V=[{tag:"JS"}],P=[],k=0,M=!1;E<R;){switch(q=V[V.length-1],q.tag){case"JS":case"JSNonExpressionParen":case"InterpolationInTemplate":case"InterpolationInJSX":if(S[E]==="/"&&(b.test(_)||i.test(_))&&(h.lastIndex=E,N=h.exec(S))){E=h.lastIndex,_=N[0],M=!0,yield{type:"RegularExpressionLiteral",value:N[0],closed:N[1]!==void 0&&N[1]!=="\\"};continue}if(p.lastIndex=E,N=p.exec(S)){switch(G=N[0],L=p.lastIndex,O=G,G){case"(":_==="?NonExpressionParenKeyword"&&V.push({tag:"JSNonExpressionParen",nesting:k}),k++,M=!1;break;case")":k--,M=!0,q.tag==="JSNonExpressionParen"&&k===q.nesting&&(V.pop(),O="?NonExpressionParenEnd",M=!1);break;case"{":p.lastIndex=0,w=!g.test(_)&&(b.test(_)||i.test(_)),P.push(w),M=!1;break;case"}":switch(q.tag){case"InterpolationInTemplate":if(P.length===q.nesting){y.lastIndex=E,N=y.exec(S),E=y.lastIndex,_=N[0],N[1]==="${"?(_="?InterpolationInTemplate",M=!1,yield{type:"TemplateMiddle",value:N[0]}):(V.pop(),M=!0,yield{type:"TemplateTail",value:N[0],closed:N[1]==="`"});continue}break;case"InterpolationInJSX":if(P.length===q.nesting){V.pop(),E+=1,_="}",yield{type:"JSXPunctuator",value:"}"};continue}}M=P.pop(),O=M?"?ExpressionBraceEnd":"}";break;case"]":M=!0;break;case"++":case"--":O=M?"?PostfixIncDec":"?UnaryIncDec";break;case"<":if(T&&(b.test(_)||i.test(_))){V.push({tag:"JSXTag"}),E+=1,_="<",yield{type:"JSXPunctuator",value:G};continue}M=!1;break;default:M=!1}E=L,_=O,yield{type:"Punctuator",value:G};continue}if(e.lastIndex=E,N=e.exec(S)){switch(E=e.lastIndex,O=N[0],N[0]){case"for":case"if":case"while":case"with":_!=="."&&_!=="?."&&(O="?NonExpressionParenKeyword")}_=O,M=!i.test(N[0]),yield{type:N[1]==="#"?"PrivateIdentifier":"IdentifierName",value:N[0]};continue}if(m.lastIndex=E,N=m.exec(S)){E=m.lastIndex,_=N[0],M=!0,yield{type:"StringLiteral",value:N[0],closed:N[2]!==void 0};continue}if(d.lastIndex=E,N=d.exec(S)){E=d.lastIndex,_=N[0],M=!0,yield{type:"NumericLiteral",value:N[0]};continue}if(y.lastIndex=E,N=y.exec(S)){E=y.lastIndex,_=N[0],N[1]==="${"?(_="?InterpolationInTemplate",V.push({tag:"InterpolationInTemplate",nesting:P.length}),M=!1,yield{type:"TemplateHead",value:N[0]}):(M=!0,yield{type:"NoSubstitutionTemplate",value:N[0],closed:N[1]==="`"});continue}break;case"JSXTag":case"JSXTagEnd":if(r.lastIndex=E,N=r.exec(S)){switch(E=r.lastIndex,O=N[0],N[0]){case"<":V.push({tag:"JSXTag"});break;case">":V.pop(),_==="/"||q.tag==="JSXTagEnd"?(O="?JSX",M=!0):V.push({tag:"JSXChildren"});break;case"{":V.push({tag:"InterpolationInJSX",nesting:P.length}),O="?InterpolationInJSX",M=!1;break;case"/":_==="<"&&(V.pop(),V[V.length-1].tag==="JSXChildren"&&V.pop(),V.push({tag:"JSXTagEnd"}))}_=O,yield{type:"JSXPunctuator",value:N[0]};continue}if(t.lastIndex=E,N=t.exec(S)){E=t.lastIndex,_=N[0],yield{type:"JSXIdentifier",value:N[0]};continue}if(n.lastIndex=E,N=n.exec(S)){E=n.lastIndex,_=N[0],yield{type:"JSXString",value:N[0],closed:N[2]!==void 0};continue}break;case"JSXChildren":if(o.lastIndex=E,N=o.exec(S)){E=o.lastIndex,_=N[0],yield{type:"JSXText",value:N[0]};continue}switch(S[E]){case"<":V.push({tag:"JSXTag"}),E++,_="<",yield{type:"JSXPunctuator",value:"<"};continue;case"{":V.push({tag:"InterpolationInJSX",nesting:P.length}),E++,_="?InterpolationInJSX",M=!1,yield{type:"JSXPunctuator",value:"{"};continue}}if(v.lastIndex=E,N=v.exec(S)){E=v.lastIndex,yield{type:"WhiteSpace",value:N[0]};continue}if(l.lastIndex=E,N=l.exec(S)){E=l.lastIndex,M=!1,a.test(_)&&(_="?NoLineTerminatorHere"),yield{type:"LineTerminatorSequence",value:N[0]};continue}if(u.lastIndex=E,N=u.exec(S)){E=u.lastIndex,c.test(N[0])&&(M=!1,a.test(_)&&(_="?NoLineTerminatorHere")),yield{type:"MultiLineComment",value:N[0],closed:N[1]!==void 0};continue}if(f.lastIndex=E,N=f.exec(S)){E=f.lastIndex,M=!1,yield{type:"SingleLineComment",value:N[0]};continue}C=String.fromCodePoint(S.codePointAt(E)),E+=C.length,_=C,M=!1,yield{type:q.tag.startsWith("JSX")?"JSXInvalid":"Invalid",value:C}}},"jsTokens_1"),Gh}s(dk,"requireJsTokens");dk();var pk={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(pk.keyword);new Set(pk.strict);var sr=-1,Wt=1,vt=0,fk=class{constructor(t,r){gt(this,0);gt(this,1);this[0]=t,this[1]=r}};s(fk,"Diff");var ht=fk;function hk(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}s(hk,"diff_commonPrefix");function nE(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}s(nE,"diff_commonSuffix");function yy(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++)}}s(yy,"diff_commonOverlap_");function mk(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]===vt?(r[n++]=i,a=u,l=c,u=0,c=0,o=e[i][1]):(e[i][0]===Wt?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 ht(sr,o)),e[r[n-1]+1][0]=Wt,n--,n--,i=n>0?r[n-1]:-1,a=0,l=0,u=0,c=0,o=null,t=!0)),i++;for(t&&oE(e),yk(e),i=1;i<e.length;){if(e[i-1][0]===sr&&e[i][0]===Wt){let d=e[i-1][1],p=e[i][1],h=yy(d,p),f=yy(p,d);h>=f?(h>=d.length/2||h>=p.length/2)&&(e.splice(i,0,new ht(vt,p.substring(0,h))),e[i-1][1]=d.substring(0,d.length-h),e[i+1][1]=p.substring(h),i++):(f>=d.length/2||f>=p.length/2)&&(e.splice(i,0,new ht(vt,d.substring(0,f))),e[i-1][0]=Wt,e[i-1][1]=p.substring(0,p.length-f),e[i+1][0]=sr,e[i+1][1]=d.substring(f),i++),i++}i++}}s(mk,"diff_cleanupSemantic");var uT=/[^a-z0-9]/i,cT=/\s/,dT=/[\r\n]/,PX=/\n\r?\n$/,OX=/^\r?\n\r?\n/;function yk(e){let t=1;for(;t<e.length-1;){if(e[t-1][0]===vt&&e[t+1][0]===vt){let r=e[t-1][1],n=e[t][1],o=e[t+1][1],i=nE(r,n);if(i){let d=n.substring(n.length-i);r=r.substring(0,r.length-i),n=d+n.substring(0,n.length-i),o=d+o}let a=r,l=n,u=o,c=Vs(r,n)+Vs(n,o);for(;n.charAt(0)===o.charAt(0);){r+=n.charAt(0),n=n.substring(1)+o.charAt(0),o=o.substring(1);let d=Vs(r,n)+Vs(n,o);d>=c&&(c=d,a=r,l=n,u=o)}e[t-1][1]!==a&&(a?e[t-1][1]=a:(e.splice(t-1,1),t--),e[t][1]=l,u?e[t+1][1]=u:(e.splice(t+1,1),t--))}t++}}s(yk,"diff_cleanupSemanticLossless");function oE(e){e.push(new ht(vt,""));let t=0,r=0,n=0,o="",i="",a;for(;t<e.length;)switch(e[t][0]){case Wt:n++,i+=e[t][1],t++;break;case sr:r++,o+=e[t][1],t++;break;case vt:r+n>1?(r!==0&&n!==0&&(a=hk(i,o),a!==0&&(t-r-n>0&&e[t-r-n-1][0]===vt?e[t-r-n-1][1]+=i.substring(0,a):(e.splice(0,0,new ht(vt,i.substring(0,a))),t++),i=i.substring(a),o=o.substring(a)),a=nE(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 ht(sr,o)),t++),i.length&&(e.splice(t,0,new ht(Wt,i)),t++),t++):t!==0&&e[t-1][0]===vt?(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]===vt&&e[t+1][0]===vt&&(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&&oE(e)}s(oE,"diff_cleanupMerge");function Vs(e,t){if(!e||!t)return 6;let r=e.charAt(e.length-1),n=t.charAt(0),o=r.match(uT),i=n.match(uT),a=o&&r.match(cT),l=i&&n.match(cT),u=a&&r.match(dT),c=l&&n.match(dT),d=u&&e.match(PX),p=c&&t.match(OX);return d||p?5:u||c?4:o&&!a&&l?3:a||l?2:o||i?1:0}s(Vs,"diff_cleanupSemanticScore_");var gk="Compared values have no visual difference.",AX="Compared values serialize to the same structure.\nPrinting internal object structure without calling `toJSON` instead.",Xu={},pT;function bk(){if(pT)return Xu;pT=1,Object.defineProperty(Xu,"__esModule",{value:!0}),Xu.default=h;let e="diff-sequences",t=0,r=s((f,m,y,g,b)=>{let v=0;for(;f<m&&y<g&&b(f,y);)f+=1,y+=1,v+=1;return v},"countCommonItemsF"),n=s((f,m,y,g,b)=>{let v=0;for(;f<=m&&y<=g&&b(m,g);)m-=1,g-=1,v+=1;return v},"countCommonItemsR"),o=s((f,m,y,g,b,v,S)=>{let T=0,P=-f,C=v[T],w=C;v[T]+=r(C+1,m,g+C-P+1,y,b);let E=f<S?f:S;for(T+=1,P+=2;T<=E;T+=1,P+=2){if(T!==f&&w<v[T])C=v[T];else if(C=w+1,m<=C)return T-1;w=v[T],v[T]=C+r(C+1,m,g+C-P+1,y,b)}return S},"extendPathsF"),i=s((f,m,y,g,b,v,S)=>{let T=0,P=f,C=v[T],w=C;v[T]-=n(m,C-1,y,g+C-P-1,b);let E=f<S?f:S;for(T+=1,P-=2;T<=E;T+=1,P-=2){if(T!==f&&v[T]<w)C=v[T];else if(C=w-1,C<m)return T-1;w=v[T],v[T]=C-n(m,C-1,y,g+C-P-1,b)}return S},"extendPathsR"),a=s((f,m,y,g,b,v,S,T,P,C,w)=>{let E=g-m,_=y-m,R=b-g-_,N=-R-(f-1),q=-R+(f-1),L=t,O=f<T?f:T;for(let k=0,M=-f;k<=O;k+=1,M+=2){let G=k===0||k!==f&&L<S[k],V=G?S[k]:L,oe=G?V:V+1,fe=E+oe-M,te=r(oe+1,y,fe+1,b,v),Y=oe+te;if(L=S[k],S[k]=Y,N<=M&&M<=q){let Q=(f-1-(M+R))/2;if(Q<=C&&P[Q]-1<=Y){let re=E+V-(G?M+1:M-1),ce=n(m,V,g,re,v),ie=V-ce,be=re-ce,we=ie+1,Ye=be+1;w.nChangePreceding=f-1,f-1===we+Ye-m-g?(w.aEndPreceding=m,w.bEndPreceding=g):(w.aEndPreceding=we,w.bEndPreceding=Ye),w.nCommonPreceding=ce,ce!==0&&(w.aCommonPreceding=we,w.bCommonPreceding=Ye),w.nCommonFollowing=te,te!==0&&(w.aCommonFollowing=oe+1,w.bCommonFollowing=fe+1);let We=Y+1,H=fe+te+1;return w.nChangeFollowing=f-1,f-1===y+b-We-H?(w.aStartFollowing=y,w.bStartFollowing=b):(w.aStartFollowing=We,w.bStartFollowing=H),!0}}}return!1},"extendOverlappablePathsF"),l=s((f,m,y,g,b,v,S,T,P,C,w)=>{let E=b-y,_=y-m,R=b-g-_,N=R-f,q=R+f,L=t,O=f<C?f:C;for(let k=0,M=f;k<=O;k+=1,M-=2){let G=k===0||k!==f&&P[k]<L,V=G?P[k]:L,oe=G?V:V-1,fe=E+oe-M,te=n(m,oe-1,g,fe-1,v),Y=oe-te;if(L=P[k],P[k]=Y,N<=M&&M<=q){let Q=(f+(M-R))/2;if(Q<=T&&Y-1<=S[Q]){let re=fe-te;if(w.nChangePreceding=f,f===Y+re-m-g?(w.aEndPreceding=m,w.bEndPreceding=g):(w.aEndPreceding=Y,w.bEndPreceding=re),w.nCommonPreceding=te,te!==0&&(w.aCommonPreceding=Y,w.bCommonPreceding=re),w.nChangeFollowing=f-1,f===1)w.nCommonFollowing=0,w.aStartFollowing=y,w.bStartFollowing=b;else{let ce=E+V-(G?M-1:M+1),ie=r(V,y,ce,b,v);w.nCommonFollowing=ie,ie!==0&&(w.aCommonFollowing=V,w.bCommonFollowing=ce);let be=V+ie,we=ce+ie;f-1===y+b-be-we?(w.aStartFollowing=y,w.bStartFollowing=b):(w.aStartFollowing=be,w.bStartFollowing=we)}return!0}}}return!1},"extendOverlappablePathsR"),u=s((f,m,y,g,b,v,S,T,P)=>{let C=g-m,w=b-y,E=y-m,_=b-g,R=_-E,N=E,q=E;if(S[0]=m-1,T[0]=y,R%2===0){let L=(f||R)/2,O=(E+_)/2;for(let k=1;k<=O;k+=1)if(N=o(k,y,b,C,v,S,N),k<L)q=i(k,m,g,w,v,T,q);else if(l(k,m,y,g,b,v,S,N,T,q,P))return}else{let L=((f||R)+1)/2,O=(E+_+1)/2,k=1;for(N=o(k,y,b,C,v,S,N),k+=1;k<=O;k+=1)if(q=i(k-1,m,g,w,v,T,q),k<L)N=o(k,y,b,C,v,S,N);else if(a(k,m,y,g,b,v,S,N,T,q,P))return}throw new Error(`${e}: no overlap aStart=${m} aEnd=${y} bStart=${g} bEnd=${b}`)},"divide"),c=s((f,m,y,g,b,v,S,T,P,C)=>{if(b-g<y-m){if(v=!v,v&&S.length===1){let{foundSubsequence:Q,isCommon:re}=S[0];S[1]={foundSubsequence:s((ce,ie,be)=>{Q(ce,be,ie)},"foundSubsequence"),isCommon:s((ce,ie)=>re(ie,ce),"isCommon")}}let te=m,Y=y;m=g,y=b,g=te,b=Y}let{foundSubsequence:w,isCommon:E}=S[v?1:0];u(f,m,y,g,b,E,T,P,C);let{nChangePreceding:_,aEndPreceding:R,bEndPreceding:N,nCommonPreceding:q,aCommonPreceding:L,bCommonPreceding:O,nCommonFollowing:k,aCommonFollowing:M,bCommonFollowing:G,nChangeFollowing:V,aStartFollowing:oe,bStartFollowing:fe}=C;m<R&&g<N&&c(_,m,R,g,N,v,S,T,P,C),q!==0&&w(q,L,O),k!==0&&w(k,M,G),oe<y&&fe<b&&c(V,oe,y,fe,b,v,S,T,P,C)},"findSubsequences"),d=s((f,m)=>{if(typeof m!="number")throw new TypeError(`${e}: ${f} typeof ${typeof m} is not a number`);if(!Number.isSafeInteger(m))throw new RangeError(`${e}: ${f} value ${m} is not a safe integer`);if(m<0)throw new RangeError(`${e}: ${f} value ${m} is a negative integer`)},"validateLength"),p=s((f,m)=>{let y=typeof m;if(y!=="function")throw new TypeError(`${e}: ${f} typeof ${y} is not a function`)},"validateCallback");function h(f,m,y,g){d("aLength",f),d("bLength",m),p("isCommon",y),p("foundSubsequence",g);let b=r(0,f,0,m,y);if(b!==0&&g(b,0,0),f!==b||m!==b){let v=b,S=b,T=n(v,f-1,S,m-1,y),P=f-T,C=m-T,w=b+T;f!==w&&m!==w&&c(0,v,P,S,C,!1,[{foundSubsequence:g,isCommon:y}],[t],[t],{aCommonFollowing:t,aCommonPreceding:t,aEndPreceding:t,aStartFollowing:t,bCommonFollowing:t,bCommonPreceding:t,bEndPreceding:t,bStartFollowing:t,nChangeFollowing:t,nChangePreceding:t,nCommonFollowing:t,nCommonPreceding:t}),T!==0&&g(T,P,C)}}return s(h,"diffSequence"),Xu}s(bk,"requireBuild");var RX=bk(),vk=sk(RX);function wk(e,t){return e.replace(/\s+$/,r=>t(r))}s(wk,"formatTrailingSpaces");function Nf(e,t,r,n,o,i){return e.length!==0?r(`${n} ${wk(e,o)}`):n!==" "?r(n):t&&i.length!==0?r(`${n} ${i}`):""}s(Nf,"printDiffLine");function iE(e,t,{aColor:r,aIndicator:n,changeLineTrailingSpaceColor:o,emptyFirstOrLastLinePlaceholder:i}){return Nf(e,t,r,n,o,i)}s(iE,"printDeleteLine");function aE(e,t,{bColor:r,bIndicator:n,changeLineTrailingSpaceColor:o,emptyFirstOrLastLinePlaceholder:i}){return Nf(e,t,r,n,o,i)}s(aE,"printInsertLine");function sE(e,t,{commonColor:r,commonIndicator:n,commonLineTrailingSpaceColor:o,emptyFirstOrLastLinePlaceholder:i}){return Nf(e,t,r,n,o,i)}s(sE,"printCommonLine");function gy(e,t,r,n,{patchColor:o}){return o(`@@ -${e+1},${t-e} +${r+1},${n-r} @@`)}s(gy,"createPatchMark");function Ek(e,t){let r=e.length,n=t.contextLines,o=n+n,i=r,a=!1,l=0,u=0;for(;u!==r;){let T=u;for(;u!==r&&e[u][0]===vt;)u+=1;if(T!==u)if(T===0)u>n&&(i-=u-n,a=!0);else if(u===r){let P=u-T;P>n&&(i-=P-n,a=!0)}else{let P=u-T;P>o&&(i-=P-o,l+=1)}for(;u!==r&&e[u][0]!==vt;)u+=1}let c=l!==0||a;l!==0?i+=l+1:a&&(i+=1);let d=i-1,p=[],h=0;c&&p.push("");let f=0,m=0,y=0,g=0,b=s(T=>{let P=p.length;p.push(sE(T,P===0||P===d,t)),y+=1,g+=1},"pushCommonLine"),v=s(T=>{let P=p.length;p.push(iE(T,P===0||P===d,t)),y+=1},"pushDeleteLine"),S=s(T=>{let P=p.length;p.push(aE(T,P===0||P===d,t)),g+=1},"pushInsertLine");for(u=0;u!==r;){let T=u;for(;u!==r&&e[u][0]===vt;)u+=1;if(T!==u)if(T===0){u>n&&(T=u-n,f=T,m=T,y=f,g=m);for(let P=T;P!==u;P+=1)b(e[P][1])}else if(u===r){let P=u-T>n?T+n:u;for(let C=T;C!==P;C+=1)b(e[C][1])}else{let P=u-T;if(P>o){let C=T+n;for(let E=T;E!==C;E+=1)b(e[E][1]);p[h]=gy(f,y,m,g,t),h=p.length,p.push("");let w=P-o;f=y+w,m=g+w,y=f,g=m;for(let E=u-n;E!==u;E+=1)b(e[E][1])}else for(let C=T;C!==u;C+=1)b(e[C][1])}for(;u!==r&&e[u][0]===sr;)v(e[u][1]),u+=1;for(;u!==r&&e[u][0]===Wt;)S(e[u][1]),u+=1}return c&&(p[h]=gy(f,y,m,g,t)),p.join(`
|
|
255
|
-
`)}s(Ek,"joinAlignedDiffsNoExpand");function Sk(e,t){return e.map((r,n,o)=>{let i=r[1],a=n===0||n===o.length-1;switch(r[0]){case sr:return iE(i,a,t);case Wt:return aE(i,a,t);default:return sE(i,a,t)}}).join(`
|
|
256
|
-
`)}s(Sk,"joinAlignedDiffsExpand");var Kh=s(e=>e,"noColor"),xk=5,NX=0;function Tk(){return{aAnnotation:"Expected",aColor:Je.green,aIndicator:"-",bAnnotation:"Received",bColor:Je.red,bIndicator:"+",changeColor:Je.inverse,changeLineTrailingSpaceColor:Kh,commonColor:Je.dim,commonIndicator:" ",commonLineTrailingSpaceColor:Kh,compareKeys:void 0,contextLines:xk,emptyFirstOrLastLinePlaceholder:"",expand:!0,includeChangeCounts:!1,omitAnnotationLines:!1,patchColor:Je.yellow,printBasicPrototype:!1,truncateThreshold:NX,truncateAnnotation:"... Diff result is truncated",truncateAnnotationColor:Kh}}s(Tk,"getDefaultOptions");function Ck(e){return e&&typeof e=="function"?e:void 0}s(Ck,"getCompareKeys");function _k(e){return typeof e=="number"&&Number.isSafeInteger(e)&&e>=0?e:xk}s(_k,"getContextLines");function Ko(e={}){return{...Tk(),...e,compareKeys:Ck(e.compareKeys),contextLines:_k(e.contextLines)}}s(Ko,"normalizeDiffOptions");function di(e){return e.length===1&&e[0].length===0}s(di,"isEmptyString");function Pk(e){let t=0,r=0;return e.forEach(n=>{switch(n[0]){case sr:t+=1;break;case Wt:r+=1;break}}),{a:t,b:r}}s(Pk,"countChanges");function Ok({aAnnotation:e,aColor:t,aIndicator:r,bAnnotation:n,bColor:o,bIndicator:i,includeChangeCounts:a,omitAnnotationLines:l},u){if(l)return"";let c="",d="";if(a){let f=String(u.a),m=String(u.b),y=n.length-e.length,g=" ".repeat(Math.max(0,y)),b=" ".repeat(Math.max(0,-y)),v=m.length-f.length,S=" ".repeat(Math.max(0,v)),T=" ".repeat(Math.max(0,-v));c=`${g} ${r} ${S}${f}`,d=`${b} ${i} ${T}${m}`}let p=`${r} ${e}${c}`,h=`${i} ${n}${d}`;return`${t(p)}
|
|
257
|
-
${o(h)}
|
|
258
|
-
|
|
259
|
-
`}s(Ok,"printAnnotation");function If(e,t,r){return Ok(r,Pk(e))+(r.expand?Sk(e,r):Ek(e,r))+(t?r.truncateAnnotationColor(`
|
|
260
|
-
${r.truncateAnnotation}`):"")}s(If,"printDiffLines");function Nu(e,t,r){let n=Ko(r),[o,i]=lE(di(e)?[]:e,di(t)?[]:t,n);return If(o,i,n)}s(Nu,"diffLinesUnified");function Ak(e,t,r,n,o){if(di(e)&&di(r)&&(e=[],r=[]),di(t)&&di(n)&&(t=[],n=[]),e.length!==r.length||t.length!==n.length)return Nu(e,t,o);let[i,a]=lE(r,n,o),l=0,u=0;return i.forEach(c=>{switch(c[0]){case sr:c[1]=e[l],l+=1;break;case Wt:c[1]=t[u],u+=1;break;default:c[1]=t[u],l+=1,u+=1}}),If(i,a,Ko(o))}s(Ak,"diffLinesUnified2");function lE(e,t,r){let n=(r==null?void 0:r.truncateThreshold)??!1,o=Math.max(Math.floor((r==null?void 0: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=s((h,f)=>e[h]===t[f],"isCommon"),c=[],d=0,p=0;for(vk(i,a,u,s((h,f,m)=>{for(;d!==f;d+=1)c.push(new ht(sr,e[d]));for(;p!==m;p+=1)c.push(new ht(Wt,t[p]));for(;h!==0;h-=1,d+=1,p+=1)c.push(new ht(vt,t[p]))},"foundSubsequence"));d!==i;d+=1)c.push(new ht(sr,e[d]));for(;p!==a;p+=1)c.push(new ht(Wt,t[p]));return[c,l]}s(lE,"diffLinesRaw");function by(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}`)}s(by,"getType");function vy(e){return e.includes(`\r
|
|
261
|
-
`)?`\r
|
|
262
|
-
`:`
|
|
263
|
-
`}s(vy,"getNewLineSymbol");function Rk(e,t,r){let n=(r==null?void 0:r.truncateThreshold)??!1,o=Math.max(Math.floor((r==null?void 0:r.truncateThreshold)??0),0),i=e.length,a=t.length;if(n){let h=e.includes(`
|
|
264
|
-
`),f=t.includes(`
|
|
265
|
-
`),m=vy(e),y=vy(t),g=h?`${e.split(m,o).join(m)}
|
|
266
|
-
`:e,b=f?`${t.split(y,o).join(y)}
|
|
267
|
-
`:t;i=g.length,a=b.length}let l=i!==e.length||a!==t.length,u=s((h,f)=>e[h]===t[f],"isCommon"),c=0,d=0,p=[];return vk(i,a,u,s((h,f,m)=>{c!==f&&p.push(new ht(sr,e.slice(c,f))),d!==m&&p.push(new ht(Wt,t.slice(d,m))),c=f+h,d=m+h,p.push(new ht(vt,t.slice(m,d)))},"foundSubsequence")),c!==i&&p.push(new ht(sr,e.slice(c))),d!==a&&p.push(new ht(Wt,t.slice(d))),[p,l]}s(Rk,"diffStrings");function Nk(e,t,r){return t.reduce((n,o)=>n+(o[0]===vt?o[1]:o[0]===e&&o[1].length!==0?r(o[1]):""),"")}s(Nk,"concatenateRelevantDiffs");var Ik=class{constructor(t,r){gt(this,"op");gt(this,"line");gt(this,"lines");gt(this,"changeColor");this.op=t,this.line=[],this.lines=[],this.changeColor=r}pushSubstring(t){this.pushDiff(new ht(this.op,t))}pushLine(){this.lines.push(this.line.length!==1?new ht(this.op,Nk(this.op,this.line,this.changeColor)):this.line[0][0]===this.op?this.line[0]:new ht(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(`
|
|
268
|
-
`)){let n=r.split(`
|
|
269
|
-
`),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}};s(Ik,"ChangeBuffer");var fT=Ik,kk=class{constructor(t,r){gt(this,"deleteBuffer");gt(this,"insertBuffer");gt(this,"lines");this.deleteBuffer=t,this.insertBuffer=r,this.lines=[]}pushDiffCommonLine(t){this.lines.push(t)}pushDiffChangeLines(t){let r=t[1].length===0;(!r||this.deleteBuffer.isLineEmpty())&&this.deleteBuffer.pushDiff(t),(!r||this.insertBuffer.isLineEmpty())&&this.insertBuffer.pushDiff(t)}flushChangeLines(){this.deleteBuffer.moveLinesTo(this.lines),this.insertBuffer.moveLinesTo(this.lines)}align(t){let r=t[0],n=t[1];if(n.includes(`
|
|
270
|
-
`)){let o=n.split(`
|
|
271
|
-
`),i=o.length-1;o.forEach((a,l)=>{if(l===0){let u=new ht(r,a);this.deleteBuffer.isLineEmpty()&&this.insertBuffer.isLineEmpty()?(this.flushChangeLines(),this.pushDiffCommonLine(u)):(this.pushDiffChangeLines(u),this.flushChangeLines())}else l<i?this.pushDiffCommonLine(new ht(r,a)):a.length!==0&&this.pushDiffChangeLines(new ht(r,a))})}else this.pushDiffChangeLines(t)}getLines(){return this.flushChangeLines(),this.lines}};s(kk,"CommonBuffer");var IX=kk;function Mk(e,t){let r=new fT(sr,t),n=new fT(Wt,t),o=new IX(r,n);return e.forEach(i=>{switch(i[0]){case sr:r.align(i);break;case Wt:n.align(i);break;default:o.align(i)}}),o.getLines()}s(Mk,"getAlignedDiffs");function qk(e,t){if(t){let r=e.length-1;return e.some((n,o)=>n[0]===vt&&(o!==r||n[1]!==`
|
|
272
|
-
`))}return e.some(r=>r[0]===vt)}s(qk,"hasCommonDiff");function jk(e,t,r){if(e!==t&&e.length!==0&&t.length!==0){let n=e.includes(`
|
|
273
|
-
`)||t.includes(`
|
|
274
|
-
`),[o,i]=uE(n?`${e}
|
|
275
|
-
`:e,n?`${t}
|
|
276
|
-
`:t,!0,r);if(qk(o,n)){let a=Ko(r),l=Mk(o,a.changeColor);return If(l,i,a)}}return Nu(e.split(`
|
|
277
|
-
`),t.split(`
|
|
278
|
-
`),r)}s(jk,"diffStringsUnified");function uE(e,t,r,n){let[o,i]=Rk(e,t,n);return r&&mk(o),[o,i]}s(uE,"diffStringsRaw");function wd(e,t){let{commonColor:r}=Ko(t);return r(e)}s(wd,"getCommonMessage");var{AsymmetricMatcher:kX,DOMCollection:MX,DOMElement:qX,Immutable:jX,ReactElement:$X,ReactTestComponent:LX}=tE,$k=[LX,$X,qX,MX,jX,kX,tE.Error],wy={plugins:$k},Lk={callToJSON:!1,maxDepth:8,plugins:$k};function Wi(e,t,r){if(Object.is(e,t))return"";let n=by(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!==by(t)){let a=s(function(S){return S.length<=g?S:`${S.slice(0,g)}...`},"truncate2"),{aAnnotation:l,aColor:u,aIndicator:c,bAnnotation:d,bColor:p,bIndicator:h}=Ko(r),f=Ed(Lk,r),m=on(e,f),y=on(t,f),g=1e5;m=a(m),y=a(y);let b=`${u(`${c} ${l}:`)}
|
|
279
|
-
${m}`,v=`${p(`${h} ${d}:`)}
|
|
280
|
-
${y}`;return`${b}
|
|
281
|
-
|
|
282
|
-
${v}`}if(!i)switch(n){case"string":return Nu(e.split(`
|
|
283
|
-
`),t.split(`
|
|
284
|
-
`),r);case"boolean":case"number":return Fk(e,t,r);case"map":return wc(Ey(e),Ey(t),r);case"set":return wc(Sy(e),Sy(t),r);default:return wc(e,t,r)}}s(Wi,"diff");function Fk(e,t,r){let n=on(e,wy),o=on(t,wy);return n===o?"":Nu(n.split(`
|
|
285
|
-
`),o.split(`
|
|
286
|
-
`),r)}s(Fk,"comparePrimitive");function Ey(e){return new Map(Array.from(e.entries()).sort())}s(Ey,"sortMap");function Sy(e){return new Set(Array.from(e.values()).sort())}s(Sy,"sortSet");function wc(e,t,r){let n,o=!1;try{let a=Ed(wy,r);n=xy(e,t,a,r)}catch{o=!0}let i=wd(gk,r);if(n===void 0||n===i){let a=Ed(Lk,r);n=xy(e,t,a,r),n!==i&&!o&&(n=`${wd(AX,r)}
|
|
287
|
-
|
|
288
|
-
${n}`)}return n}s(wc,"compareObjects");function Ed(e,t){let{compareKeys:r,printBasicPrototype:n}=Ko(t);return{...e,compareKeys:r,printBasicPrototype:n}}s(Ed,"getFormatOptions");function xy(e,t,r,n){let o={...r,indent:0},i=on(e,o),a=on(t,o);if(i===a)return wd(gk,n);{let l=on(e,r),u=on(t,r);return Ak(l.split(`
|
|
289
|
-
`),u.split(`
|
|
290
|
-
`),i.split(`
|
|
291
|
-
`),a.split(`
|
|
292
|
-
`),n)}}s(xy,"getObjectsDifference");var hT=2e4;function Ty(e){return bd(e)==="Object"&&typeof e.asymmetricMatch=="function"}s(Ty,"isAsymmetricMatcher");function Cy(e,t){let r=bd(e),n=bd(t);return r===n&&(r==="Object"||r==="Array")}s(Cy,"isReplaceable");function cE(e,t,r){let{aAnnotation:n,bAnnotation:o}=Ko(r);if(typeof t=="string"&&typeof e=="string"&&t.length>0&&e.length>0&&t.length<=hT&&e.length<=hT&&t!==e){if(t.includes(`
|
|
293
|
-
`)||e.includes(`
|
|
294
|
-
`))return jk(t,e,r);let[c]=uE(t,e,!0),d=c.some(m=>m[0]===vt),p=Dk(n,o),h=p(n)+Uk(_y(c,sr,d)),f=p(o)+Bk(_y(c,Wt,d));return`${h}
|
|
295
|
-
${f}`}let i=my(t,{forceWritable:!0}),a=my(e,{forceWritable:!0}),{replacedExpected:l,replacedActual:u}=dE(a,i);return Wi(l,u,r)}s(cE,"printDiffOrStringify");function dE(e,t,r=new WeakSet,n=new WeakSet){return e instanceof Error&&t instanceof Error&&typeof e.cause<"u"&&typeof t.cause>"u"?(delete e.cause,{replacedActual:e,replacedExpected:t}):Cy(e,t)?r.has(e)||n.has(t)?{replacedActual:e,replacedExpected:t}:(r.add(e),n.add(t),rE(t).forEach(o=>{let i=t[o],a=e[o];if(Ty(i))i.asymmetricMatch(a)&&(e[o]=i);else if(Ty(a))a.asymmetricMatch(i)&&(t[o]=a);else if(Cy(a,i)){let l=dE(a,i,r,n);e[o]=l.replacedActual,t[o]=l.replacedExpected}}),{replacedActual:e,replacedExpected:t}):{replacedActual:e,replacedExpected:t}}s(dE,"replaceAsymmetricMatcher");function Dk(...e){let t=e.reduce((r,n)=>n.length>r?n.length:r,0);return r=>`${r}: ${" ".repeat(t-r.length)}`}s(Dk,"getLabelPrinter");var FX="·";function pE(e){return e.replace(/\s+$/gm,t=>FX.repeat(t.length))}s(pE,"replaceTrailingSpaces");function Bk(e){return Je.red(pE(wr(e)))}s(Bk,"printReceived");function Uk(e){return Je.green(pE(wr(e)))}s(Uk,"printExpected");function _y(e,t,r){return e.reduce((n,o)=>n+(o[0]===vt?o[1]:o[0]===t?r?Je.inverse(o[1]):o[1]:""),"")}s(_y,"getCommonAndChangedSubstrings");function ll(e,t){if(!e)throw new Error(t)}s(ll,"d");function pi(e,t){return typeof t===e}s(pi,"y");function Hk(e){return e instanceof Promise}s(Hk,"w");function Sd(e,t,r){Object.defineProperty(e,t,r)}s(Sd,"f");function vi(e,t,r){Object.defineProperty(e,t,{value:r})}s(vi,"l");var ul=Symbol.for("tinyspy:spy"),DX=new Set,BX=s(e=>{e.called=!1,e.callCount=0,e.calls=[],e.results=[],e.resolves=[],e.next=[]},"P"),UX=s(e=>(Sd(e,ul,{value:{reset:s(()=>BX(e[ul]),"reset")}}),e[ul]),"K"),xd=s(e=>e[ul]||UX(e),"T");function Vk(e){ll(pi("function",e)||pi("undefined",e),"cannot spy on a non-function value");let t=s(function(...n){let o=xd(t);o.called=!0,o.callCount++,o.calls.push(n);let i=o.next.shift();if(i){o.results.push(i);let[d,p]=i;if(d==="ok")return p;throw p}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(d){throw a=d,l="error",o.results.push([l,d]),d}let c=[l,a];return Hk(a)&&a.then(d=>o.resolves[u]=["ok",d],d=>o.resolves[u]=["error",d]),o.results.push(c),a},"t");vi(t,"_isMockFunction",!0),vi(t,"length",e?e.length:0),vi(t,"name",e&&e.name||"spy");let r=xd(t);return r.reset(),r.impl=e,t}s(Vk,"m");var mT=s((e,t)=>Object.getOwnPropertyDescriptor(e,t),"k"),yT=s((e,t)=>{t!=null&&typeof t=="function"&&t.prototype!=null&&Object.setPrototypeOf(e.prototype,t.prototype)},"O");function fE(e,t,r){ll(!pi("undefined",e),"spyOn could not find an object to spy upon"),ll(pi("object",e)||pi("function",e),"cannot spyOn on a primitive value");let[n,o]=(()=>{if(!pi("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=mT(e,n),a=Object.getPrototypeOf(e),l=a&&mT(a,n),u=i||l;ll(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 d;u?d=u[o]:o!=="value"?d=s(()=>e[n],"o"):d=e[n];let p=s(y=>{let{value:g,...b}=u||{configurable:!0,writable:!0};o!=="value"&&delete b.writable,b[o]=y,Sd(e,n,b)},"g"),h=s(()=>u?Sd(e,n,u):p(d),"b");r||(r=d);let f=Vk(r);o==="value"&&yT(f,d);let m=f[ul];return vi(m,"restore",h),vi(m,"getOriginal",()=>c?d():d),vi(m,"willCall",y=>(m.impl=y,f)),p(c?()=>(yT(f,r),f):f),DX.add(f),f}s(fE,"C");var Iu=new Set;function Pa(e){return typeof e=="function"&&"_isMockFunction"in e&&e._isMockFunction}s(Pa,"isMockFunction");function Jk(e,t,r){let n=r?{[{get:"getter",set:"setter"}[r]]:t}:t,o=fE(e,n);return hE(o)}s(Jk,"spyOn");var HX=0;function hE(e){let t=e,r,n=[],o=[],i=[],a=xd(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 d(...f){return n.push(this),o.push(this),i.push(++HX),(c?r:u.shift()||r||a.getOriginal()||(()=>{})).apply(this,f)}s(d,"mockCall");let p=t.name;t.getMockName=()=>p||"vi.fn()",t.mockName=f=>(p=f,t),t.mockClear=()=>(a.reset(),n=[],o=[],i=[],t),t.mockReset=()=>(t.mockClear(),r=void 0,u=[],t),t.mockRestore=()=>(t.mockReset(),a.restore(),t),t.getMockImplementation=()=>c?r:u.at(0)||r,t.mockImplementation=f=>(r=f,a.willCall(d),t),t.mockImplementationOnce=f=>(u.push(f),t);function h(f,m){let y=r;r=f,a.willCall(d),c=!0;let g=s(()=>{r=y,c=!1},"reset"),b=m();return b instanceof Promise?b.then(()=>(g(),t)):(g(),t)}return s(h,"withImplementation"),t.withImplementation=h,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:s(()=>l,"get")}),a.willCall(d),Iu.add(t),t}s(hE,"enhanceSpy");function Py(e){let t=hE(fE({spy:e||function(){}},"spy"));return e&&t.mockImplementation(e),t}s(Py,"fn");var VX="@@__IMMUTABLE_RECORD__@@",JX="@@__IMMUTABLE_ITERABLE__@@";function zk(e){return e&&(e[JX]||e[VX])}s(zk,"isImmutable");var zX=Object.getPrototypeOf({});function Oy(e){return e instanceof Error?`<unserializable>: ${e.message}`:typeof e=="string"?`<unserializable>: ${e}`:"<unserializable>"}s(Oy,"getUnserializableMessage");function fi(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(zk(e))return fi(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()} ${ak(e.sample)}`;if(typeof e.toJSON=="function")return fi(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]=fi(n,t)}catch(i){r[o]=Oy(i)}}),r}else{let r=Object.create(null);t.set(e,r);let n=e;for(;n&&n!==zX;)Object.getOwnPropertyNames(n).forEach(o=>{if(!(o in r))try{r[o]=fi(e[o],t)}catch(i){delete r[o],r[o]=Oy(i)}}),n=Object.getPrototypeOf(n);return r}}s(fi,"serializeValue");function Wk(e){return e.replace(/__(vite_ssr_import|vi_import)_\d+__\./g,"")}s(Wk,"normalizeErrorMessage");function mE(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=cE(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=Wk(n.message))}catch{}try{!r.has(n)&&typeof n.cause=="object"&&(r.add(n),n.cause=mE(n.cause,t,r))}catch{}try{return fi(n)}catch(o){return fi(new Error(`Failed to fully serialize error: ${o==null?void 0:o.message}
|
|
296
|
-
Inner error message: ${n==null?void 0:n.message}`))}}s(mE,"processError");var Bl=Symbol.for("matchers-object"),Ul=Symbol.for("$$jest-matchers-object-storybook"),yE=Symbol.for("expect-global"),Ay=Symbol.for("asymmetric-matchers-object"),WX={toSatisfy(e,t,r){let{printReceived:n,printExpected:o,matcherHint:i}=this.utils,a=t(e);return{pass:a,message:s(()=>a?`${i(".not.toSatisfy","received","")}
|
|
297
|
-
|
|
298
|
-
Expected value to not satisfy:
|
|
299
|
-
${r||o(t)}
|
|
300
|
-
Received:
|
|
301
|
-
${n(e)}`:`${i(".toSatisfy","received","")}
|
|
302
|
-
|
|
303
|
-
Expected value to satisfy:
|
|
304
|
-
${r||o(t)}
|
|
305
|
-
|
|
306
|
-
Received:
|
|
307
|
-
${n(e)}`,"message")}},toBeOneOf(e,t){let{equals:r,customTesters:n}=this,{printReceived:o,printExpected:i,matcherHint:a}=this.utils;if(!Array.isArray(t))throw new TypeError(`You must provide an array to ${a(".toBeOneOf")}, not '${typeof t}'.`);let l=t.length===0||t.some(u=>r(u,e,n));return{pass:l,message:s(()=>l?`${a(".not.toBeOneOf","received","")}
|
|
308
|
-
|
|
309
|
-
Expected value to not be one of:
|
|
310
|
-
${i(t)}
|
|
311
|
-
Received:
|
|
312
|
-
${o(e)}`:`${a(".toBeOneOf","received","")}
|
|
313
|
-
|
|
314
|
-
Expected value to be one of:
|
|
315
|
-
${i(t)}
|
|
316
|
-
|
|
317
|
-
Received:
|
|
318
|
-
${o(e)}`,"message")}}},Td=Je.green,gE=Je.red,GX=Je.inverse,KX=Je.bold,wo=Je.dim;function Gk(e,t="received",r="expected",n={}){let{comment:o="",isDirectExpectCall:i=!1,isNot:a=!1,promise:l="",secondArgument:u="",expectedColor:c=Td,receivedColor:d=gE,secondArgumentColor:p=Td}=n,h="",f="expect";return!i&&t!==""&&(h+=wo(`${f}(`)+d(t),f=")"),l!==""&&(h+=wo(`${f}.`)+l,f=""),a&&(h+=`${wo(`${f}.`)}not`,f=""),e.includes(".")?f+=e:(h+=wo(`${f}.`)+e,f=""),r===""?f+="()":(h+=wo(`${f}(`)+c(r),u&&(h+=wo(", ")+p(u)),f=")"),o!==""&&(f+=` // ${o}`),f!==""&&(h+=wo(f)),h}s(Gk,"matcherHint");var YX="·";function bE(e){return e.replace(/\s+$/gm,t=>YX.repeat(t.length))}s(bE,"replaceTrailingSpaces");function Kk(e){return gE(bE(wr(e)))}s(Kk,"printReceived");function Yk(e){return Td(bE(wr(e)))}s(Yk,"printExpected");function vE(){return{EXPECTED_COLOR:Td,RECEIVED_COLOR:gE,INVERTED_COLOR:GX,BOLD_WEIGHT:KX,DIM_COLOR:wo,diff:Wi,matcherHint:Gk,printReceived:Kk,printExpected:Yk,printDiffOrStringify:cE}}s(vE,"getMatcherUtils");function kf(){return globalThis[Ul].customEqualityTesters}s(kf,"getCustomEqualityTesters");function Be(e,t,r,n){return r=r||[],Oa(e,t,[],[],r,n?wE:Zk)}s(Be,"equals");function Ry(e){return!!e&&typeof e=="object"&&"asymmetricMatch"in e&&Vr("Function",e.asymmetricMatch)}s(Ry,"isAsymmetric");function Xk(e,t){let r=Ry(e),n=Ry(t);if(!(r&&n)){if(r)return e.asymmetricMatch(t);if(n)return t.asymmetricMatch(e)}}s(Xk,"asymmetricMatch");function Oa(e,t,r,n,o,i){let a=!0,l=Xk(e,t);if(l!==void 0)return l;let u={equals:Be};for(let m=0;m<o.length;m++){let y=o[m].call(u,e,t,o);if(y!==void 0)return y}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,y=+t;return m===y||Number.isNaN(m)&&Number.isNaN(y)}case"[object RegExp]":return e.source===t.source&&e.flags===t.flags}if(typeof e!="object"||typeof t!="object")return!1;if(Iy(e)&&Iy(t))return e.isEqualNode(t);let d=r.length;for(;d--;){if(r[d]===e)return n[d]===t;if(n[d]===t)return!1}if(r.push(e),n.push(t),c==="[object Array]"&&e.length!==t.length)return!1;if(e instanceof Error&&t instanceof Error)try{return Qk(e,t,r,n,o,i)}finally{r.pop(),n.pop()}let p=Ny(e,i),h,f=p.length;if(Ny(t,i).length!==f)return!1;for(;f--;)if(h=p[f],a=i(t,h)&&Oa(e[h],t[h],r,n,o,i),!a)return!1;return r.pop(),n.pop(),a}s(Oa,"eq");function Qk(e,t,r,n,o,i){let a=Object.getPrototypeOf(e)===Object.getPrototypeOf(t)&&e.name===t.name&&e.message===t.message;return typeof t.cause<"u"&&a&&(a=Oa(e.cause,t.cause,r,n,o,i)),e instanceof AggregateError&&t instanceof AggregateError&&a&&(a=Oa(e.errors,t.errors,r,n,o,i)),a&&(a=Oa({...e},{...t},r,n,o,i)),a}s(Qk,"isErrorEqual");function Ny(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))}s(Ny,"keys");function Zk(e,t){return wE(e,t)&&e[t]!==void 0}s(Zk,"hasDefinedKey");function wE(e,t){return Object.prototype.hasOwnProperty.call(e,t)}s(wE,"hasKey");function Vr(e,t){return Object.prototype.toString.apply(t)===`[object ${e}]`}s(Vr,"isA");function Iy(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"}s(Iy,"isDomNode");var eM="@@__IMMUTABLE_KEYED__@@",tM="@@__IMMUTABLE_SET__@@",XX="@@__IMMUTABLE_LIST__@@",Mf="@@__IMMUTABLE_ORDERED__@@",QX="@@__IMMUTABLE_RECORD__@@";function rM(e){return!!(e&&e[eM]&&!e[Mf])}s(rM,"isImmutableUnorderedKeyed");function nM(e){return!!(e&&e[tM]&&!e[Mf])}s(nM,"isImmutableUnorderedSet");function ku(e){return e!=null&&typeof e=="object"&&!Array.isArray(e)}s(ku,"isObjectLiteral");function oM(e){return!!(e&&ku(e)&&e[XX])}s(oM,"isImmutableList");function iM(e){return!!(e&&ku(e)&&e[eM]&&e[Mf])}s(iM,"isImmutableOrderedKeyed");function aM(e){return!!(e&&ku(e)&&e[tM]&&e[Mf])}s(aM,"isImmutableOrderedSet");function sM(e){return!!(e&&ku(e)&&e[QX])}s(sM,"isImmutableRecord");var lM=Symbol.iterator;function ky(e){return!!(e!=null&&e[lM])}s(ky,"hasIterator");function Ar(e,t,r=[],n=[],o=[]){if(typeof e!="object"||typeof t!="object"||Array.isArray(e)||Array.isArray(t)||!ky(e)||!ky(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!==Ar),l];function l(c,d){return Ar(c,d,[...r],[...n],[...o])}if(s(l,"iterableEqualityWithStack"),e.size!==void 0){if(e.size!==t.size)return!1;if(Vr("Set",e)||nM(e)){let c=!0;for(let d of e)if(!t.has(d)){let p=!1;for(let h of t)Be(d,h,a)===!0&&(p=!0);if(p===!1){c=!1;break}}return n.pop(),o.pop(),c}else if(Vr("Map",e)||rM(e)){let c=!0;for(let d of e)if(!t.has(d[0])||!Be(d[1],t.get(d[0]),a)){let p=!1;for(let h of t){let f=Be(d[0],h[0],a),m=!1;f===!0&&(m=Be(d[1],h[1],a)),m===!0&&(p=!0)}if(p===!1){c=!1;break}}return n.pop(),o.pop(),c}}let u=t[lM]();for(let c of e){let d=u.next();if(d.done||!Be(c,d.value,a))return!1}if(!u.next().done)return!1;if(!oM(e)&&!iM(e)&&!aM(e)&&!sM(e)){let c=Object.entries(e),d=Object.entries(t);if(!Be(c,d))return!1}return n.pop(),o.pop(),!0}s(Ar,"iterableEquality");function qf(e,t){return!e||typeof e!="object"||e===Object.prototype?!1:Object.prototype.hasOwnProperty.call(e,t)||qf(Object.getPrototypeOf(e),t)}s(qf,"hasPropertyInObject");function uM(e){return sl(e)&&!(e instanceof Error)&&!Array.isArray(e)&&!(e instanceof Date)}s(uM,"isObjectWithKeys");function Ts(e,t,r=[]){let n=r.filter(i=>i!==Ts),o=s((i=new WeakMap)=>(a,l)=>{if(uM(l))return Object.keys(l).every(u=>{if(l[u]!=null&&typeof l[u]=="object"){if(i.has(l[u]))return Be(a[u],l[u],n);i.set(l[u],!0)}let c=a!=null&&qf(a,u)&&Be(a[u],l[u],[...n,o(i)]);return i.delete(l[u]),c})},"subsetEqualityWithContext");return o()(e,t)}s(Ts,"subsetEquality");function My(e,t){if(!(e==null||t==null||e.constructor===t.constructor))return!1}s(My,"typeEquality");function qy(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}s(qy,"arrayBufferEquality");function Cd(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!==Cd);return Be(e,t,i,!0)&&Be(n,o)}s(Cd,"sparseArrayEquality");function cM(e,t="#{this}",r="#{exp}"){let n=`expected ${t} to be ${r} // Object.is equality`;return["toStrictEqual","toEqual"].includes(e)?`${n}
|
|
319
|
-
|
|
320
|
-
If it should pass with deep equality, replace "toBe" with "${e}"
|
|
321
|
-
|
|
322
|
-
Expected: ${t}
|
|
323
|
-
Received: serializes to the same string
|
|
324
|
-
`:n}s(cM,"generateToBeMessage");function dM(e,t){return`${t} ${e}${t===1?"":"s"}`}s(dM,"pluralize");function Ec(e){return[...Object.keys(e),...Object.getOwnPropertySymbols(e).filter(t=>{var r;return(r=Object.getOwnPropertyDescriptor(e,t))==null?void 0:r.enumerable})]}s(Ec,"getObjectKeys");function pM(e,t,r){let n=0,o=s((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(sl(a)&&sl(l)){if(Be(a,l,[...r,Ar,Ts]))return l;let u={};i.set(a,u),typeof a.constructor=="function"&&typeof a.constructor.name=="string"&&Object.defineProperty(u,"constructor",{enumerable:!1,value:a.constructor});for(let c of Ec(a))qf(l,c)?u[c]=i.has(a[c])?i.get(a[c]):o(i)(a[c],l[c]):i.has(a[c])||(n+=1,sl(a[c])&&(n+=Ec(a[c]).length),o(i)(a[c],l[c]));if(Ec(u).length>0)return u}}return a},"getObjectSubsetWithContext");return{subset:o()(e,t),stripped:n}}s(pM,"getObjectSubset");if(!Object.prototype.hasOwnProperty.call(globalThis,Bl)){let e=new WeakMap;Object.defineProperty(globalThis,Bl,{get:s(()=>e,"get")})}if(!Object.prototype.hasOwnProperty.call(globalThis,Ul)){let e=Object.create(null),t=[];Object.defineProperty(globalThis,Ul,{configurable:!0,get:s(()=>({state:globalThis[Bl].get(globalThis[yE]),matchers:e,customEqualityTesters:t}),"get")})}if(!Object.prototype.hasOwnProperty.call(globalThis,Ay)){let e=Object.create(null);Object.defineProperty(globalThis,Ay,{get:s(()=>e,"get")})}function Hl(e){return globalThis[Bl].get(e)}s(Hl,"getState");function Sc(e,t){let r=globalThis[Bl],n=r.get(t)||{},o=Object.defineProperties(n,{...Object.getOwnPropertyDescriptors(n),...Object.getOwnPropertyDescriptors(e)});r.set(t,o)}s(Sc,"setState");var fM=class{constructor(t,r=!1){gt(this,"$$typeof",Symbol.for("jest.asymmetricMatcher"));this.sample=t,this.inverse=r}getMatcherContext(t){return{...Hl(t||globalThis[yE]),equals:Be,isNot:this.inverse,customTesters:kf(),utils:{...vE(),diff:Wi,stringify:wr,iterableEquality:Ar,subsetEquality:Ts}}}};s(fM,"AsymmetricMatcher");var uo=fM;uo.prototype[Symbol.for("chai/inspect")]=function(e){let t=wr(this,e.depth,{min:!0});return t.length<=e.truncate?t:`${this.toString()}{…}`};var hM=class extends uo{constructor(t,r=!1){if(!Vr("String",t))throw new Error("Expected is not a string");super(t,r)}asymmetricMatch(t){let r=Vr("String",t)&&t.includes(this.sample);return this.inverse?!r:r}toString(){return`String${this.inverse?"Not":""}Containing`}getExpectedType(){return"string"}};s(hM,"StringContaining");var gT=hM,mM=class extends uo{asymmetricMatch(t){return t!=null}toString(){return"Anything"}toAsymmetricMatcher(){return"Anything"}};s(mM,"Anything");var ZX=mM,yM=class extends uo{constructor(t,r=!1){super(t,r)}getPrototype(t){return Object.getPrototypeOf?Object.getPrototypeOf(t):t.constructor.prototype===t?null:t.constructor.prototype}hasProperty(t,r){return t?Object.prototype.hasOwnProperty.call(t,r)?!0:this.hasProperty(this.getPrototype(t),r):!1}asymmetricMatch(t){if(typeof this.sample!="object")throw new TypeError(`You must provide an object to ${this.toString()}, not '${typeof this.sample}'.`);let r=!0,n=this.getMatcherContext();for(let o in this.sample)if(!this.hasProperty(t,o)||!Be(this.sample[o],t[o],n.customTesters)){r=!1;break}return this.inverse?!r:r}toString(){return`Object${this.inverse?"Not":""}Containing`}getExpectedType(){return"object"}};s(yM,"ObjectContaining");var bT=yM,gM=class extends uo{constructor(t,r=!1){super(t,r)}asymmetricMatch(t){if(!Array.isArray(this.sample))throw new TypeError(`You must provide an array to ${this.toString()}, not '${typeof this.sample}'.`);let r=this.getMatcherContext(),n=this.sample.length===0||Array.isArray(t)&&this.sample.every(o=>t.some(i=>Be(o,i,r.customTesters)));return this.inverse?!n:n}toString(){return`Array${this.inverse?"Not":""}Containing`}getExpectedType(){return"array"}};s(gM,"ArrayContaining");var vT=gM,bM=class extends uo{constructor(t){if(typeof t>"u")throw new TypeError("any() expects to be passed a constructor function. Please pass one or use anything() to match any object.");super(t)}fnNameFor(t){if(t.name)return t.name;let r=Function.prototype.toString.call(t).match(/^(?:async)?\s*function\s*(?:\*\s*)?([\w$]+)\s*\(/);return r?r[1]:"<anonymous>"}asymmetricMatch(t){return this.sample===String?typeof t=="string"||t instanceof String:this.sample===Number?typeof t=="number"||t instanceof Number:this.sample===Function?typeof t=="function"||typeof t=="function":this.sample===Boolean?typeof t=="boolean"||t instanceof Boolean:this.sample===BigInt?typeof t=="bigint"||t instanceof BigInt:this.sample===Symbol?typeof t=="symbol"||t instanceof Symbol:this.sample===Object?typeof t=="object":t 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)}>`}};s(bM,"Any");var eQ=bM,vM=class extends uo{constructor(t,r=!1){if(!Vr("String",t)&&!Vr("RegExp",t))throw new Error("Expected is not a String or a RegExp");super(new RegExp(t),r)}asymmetricMatch(t){let r=Vr("String",t)&&this.sample.test(t);return this.inverse?!r:r}toString(){return`String${this.inverse?"Not":""}Matching`}getExpectedType(){return"string"}};s(vM,"StringMatching");var wT=vM,wM=class extends uo{constructor(r,n=2,o=!1){if(!Vr("Number",r))throw new Error("Expected is not a Number");if(!Vr("Number",n))throw new Error("Precision is not a Number");super(r);gt(this,"precision");this.inverse=o,this.precision=n}asymmetricMatch(r){if(!Vr("Number",r))return!1;let n=!1;return r===Number.POSITIVE_INFINITY&&this.sample===Number.POSITIVE_INFINITY||r===Number.NEGATIVE_INFINITY&&this.sample===Number.NEGATIVE_INFINITY?n=!0:n=Math.abs(this.sample-r)<10**-this.precision/2,this.inverse?!n:n}toString(){return`Number${this.inverse?"Not":""}CloseTo`}getExpectedType(){return"number"}toAsymmetricMatcher(){return[this.toString(),this.sample,`(${dM("digit",this.precision)})`].join(" ")}};s(wM,"CloseTo");var ET=wM,tQ=s((e,t)=>{t.addMethod(e.expect,"anything",()=>new ZX),t.addMethod(e.expect,"any",r=>new eQ(r)),t.addMethod(e.expect,"stringContaining",r=>new gT(r)),t.addMethod(e.expect,"objectContaining",r=>new bT(r)),t.addMethod(e.expect,"arrayContaining",r=>new vT(r)),t.addMethod(e.expect,"stringMatching",r=>new wT(r)),t.addMethod(e.expect,"closeTo",(r,n)=>new ET(r,n)),e.expect.not={stringContaining:s(r=>new gT(r,!0),"stringContaining"),objectContaining:s(r=>new bT(r,!0),"objectContaining"),arrayContaining:s(r=>new vT(r,!0),"arrayContaining"),stringMatching:s(r=>new wT(r,!0),"stringMatching"),closeTo:s((r,n)=>new ET(r,n,!0),"closeTo")}},"JestAsymmetricMatchers");function jy(e,t,r){let n=e.flag(t,"negate")?"not.":"",o=`${e.flag(t,"_name")}(${r?"expected":""})`,i=e.flag(t,"promise");return`expect(actual)${i?`.${i}`:""}.${n}${o}`}s(jy,"createAssertionMessage");function $y(e,t,r,n){let o=e;if(o&&t instanceof Promise){t=t.finally(()=>{if(!o.promises)return;let a=o.promises.indexOf(t);a!==-1&&o.promises.splice(a,1)}),o.promises||(o.promises=[]),o.promises.push(t);let i=!1;return o.onFinished??(o.onFinished=[]),o.onFinished.push(()=>{var a;if(!i){let l=(((a=globalThis.__vitest_worker__)==null?void 0:a.onFilterStackTrace)||(u=>u||""))(n.stack);console.warn([`Promise returned by \`${r}\` was not awaited. `,"Vitest currently auto-awaits hanging assertions at the end of the test, but this will cause the test to fail in Vitest 3. ",`Please remember to await the assertion.
|
|
325
|
-
`,l].join(""))}}),{then(a,l){return i=!0,t.then(a,l)},catch(a){return t.catch(a)},finally(a){return t.finally(a)},[Symbol.toStringTag]:"Promise"}}return t}s($y,"recordAsyncExpect");function EE(e,t,r){return function(...n){var o;if(t!=="withTest"&&e.flag(this,"_name",t),!e.flag(this,"soft"))return r.apply(this,n);let i=e.flag(this,"vitest-test");if(!i)throw new Error("expect.soft() can only be used inside a test");try{return r.apply(this,n)}catch(a){i.result||(i.result={state:"fail"}),i.result.state="fail",(o=i.result).errors||(o.errors=[]),i.result.errors.push(mE(a))}}}s(EE,"wrapAssertion");var rQ=s((e,t)=>{let{AssertionError:r}=e,n=kf();function o(c,d){let p=s(h=>{let f=EE(t,h,d);t.addMethod(e.Assertion.prototype,h,f),t.addMethod(globalThis[Ul].matchers,h,f)},"addMethod");Array.isArray(c)?c.forEach(h=>p(h)):p(c)}s(o,"def"),["throw","throws","Throw"].forEach(c=>{t.overwriteMethod(e.Assertion.prototype,c,d=>function(...p){let h=t.flag(this,"promise"),f=t.flag(this,"object"),m=t.flag(this,"negate");if(h==="rejects")t.flag(this,"object",()=>{throw f});else if(h==="resolves"&&typeof f!="function"){if(m)return;{let y=t.flag(this,"message")||"expected promise to throw an error, but it didn't",g={showDiff:!1};throw new r(y,g,t.flag(this,"ssfi"))}}d.apply(this,p)})}),o("withTest",function(c){return t.flag(this,"vitest-test",c),this}),o("toEqual",function(c){let d=t.flag(this,"object"),p=Be(d,c,[...n,Ar]);return this.assert(p,"expected #{this} to deeply equal #{exp}","expected #{this} to not deeply equal #{exp}",c,d)}),o("toStrictEqual",function(c){let d=t.flag(this,"object"),p=Be(d,c,[...n,Ar,My,Cd,qy],!0);return this.assert(p,"expected #{this} to strictly equal #{exp}","expected #{this} to not strictly equal #{exp}",c,d)}),o("toBe",function(c){let d=this._obj,p=Object.is(d,c),h="";return p||(Be(d,c,[...n,Ar,My,Cd,qy],!0)?h="toStrictEqual":Be(d,c,[...n,Ar])&&(h="toEqual")),this.assert(p,cM(h),"expected #{this} not to be #{exp} // Object.is equality",c,d)}),o("toMatchObject",function(c){let d=this._obj,p=Be(d,c,[...n,Ar,Ts]),h=t.flag(this,"negate"),{subset:f,stripped:m}=pM(d,c,n);if(p&&h||!p&&!h){let y=t.getMessage(this,[p,"expected #{this} to match object #{exp}","expected #{this} to not match object #{exp}",c,f,!1]),g=m===0?y:`${y}
|
|
326
|
-
(${m} matching ${m===1?"property":"properties"} omitted from actual)`;throw new r(g,{showDiff:!0,expected:c,actual:f})}}),o("toMatch",function(c){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 c=="string"?d.includes(c):d.match(c),"expected #{this} to match #{exp}","expected #{this} not to match #{exp}",c,d)}),o("toContain",function(c){let d=this._obj;if(typeof Node<"u"&&d instanceof Node){if(!(c instanceof Node))throw new TypeError(`toContain() expected a DOM node as the argument, but got ${typeof c}`);return this.assert(d.contains(c),"expected #{this} to contain element #{exp}","expected #{this} not to contain element #{exp}",c,d)}if(typeof DOMTokenList<"u"&&d instanceof DOMTokenList){mn(c,"class name",["string"]);let p=t.flag(this,"negate")?d.value.replace(c,"").trim():`${d.value} ${c}`;return this.assert(d.contains(c),`expected "${d.value}" to contain "${c}"`,`expected "${d.value}" not to contain "${c}"`,p,d.value)}return typeof d=="string"&&typeof c=="string"?this.assert(d.includes(c),"expected #{this} to contain #{exp}","expected #{this} not to contain #{exp}",c,d):(d!=null&&typeof d!="string"&&t.flag(this,"object",Array.from(d)),this.contain(c))}),o("toContainEqual",function(c){let d=t.flag(this,"object"),p=Array.from(d).findIndex(h=>Be(h,c,n));this.assert(p!==-1,"expected #{this} to deep equally contain #{exp}","expected #{this} to not deep equally contain #{exp}",c)}),o("toBeTruthy",function(){let c=t.flag(this,"object");this.assert(!!c,"expected #{this} to be truthy","expected #{this} to not be truthy",!0,c)}),o("toBeFalsy",function(){let c=t.flag(this,"object");this.assert(!c,"expected #{this} to be falsy","expected #{this} to not be falsy",!1,c)}),o("toBeGreaterThan",function(c){let d=this._obj;return mn(d,"actual",["number","bigint"]),mn(c,"expected",["number","bigint"]),this.assert(d>c,`expected ${d} to be greater than ${c}`,`expected ${d} to be not greater than ${c}`,c,d,!1)}),o("toBeGreaterThanOrEqual",function(c){let d=this._obj;return mn(d,"actual",["number","bigint"]),mn(c,"expected",["number","bigint"]),this.assert(d>=c,`expected ${d} to be greater than or equal to ${c}`,`expected ${d} to be not greater than or equal to ${c}`,c,d,!1)}),o("toBeLessThan",function(c){let d=this._obj;return mn(d,"actual",["number","bigint"]),mn(c,"expected",["number","bigint"]),this.assert(d<c,`expected ${d} to be less than ${c}`,`expected ${d} to be not less than ${c}`,c,d,!1)}),o("toBeLessThanOrEqual",function(c){let d=this._obj;return mn(d,"actual",["number","bigint"]),mn(c,"expected",["number","bigint"]),this.assert(d<=c,`expected ${d} to be less than or equal to ${c}`,`expected ${d} to be not less than or equal to ${c}`,c,d,!1)}),o("toBeNaN",function(){let c=t.flag(this,"object");this.assert(Number.isNaN(c),"expected #{this} to be NaN","expected #{this} not to be NaN",Number.NaN,c)}),o("toBeUndefined",function(){let c=t.flag(this,"object");this.assert(c===void 0,"expected #{this} to be undefined","expected #{this} not to be undefined",void 0,c)}),o("toBeNull",function(){let c=t.flag(this,"object");this.assert(c===null,"expected #{this} to be null","expected #{this} not to be null",null,c)}),o("toBeDefined",function(){let c=t.flag(this,"object");this.assert(typeof c<"u","expected #{this} to be defined","expected #{this} to be undefined",c)}),o("toBeTypeOf",function(c){let d=typeof this._obj,p=c===d;return this.assert(p,"expected #{this} to be type of #{exp}","expected #{this} not to be type of #{exp}",c,d)}),o("toBeInstanceOf",function(c){return this.instanceOf(c)}),o("toHaveLength",function(c){return this.have.length(c)}),o("toHaveProperty",function(...c){Array.isArray(c[0])&&(c[0]=c[0].map(v=>String(v).replace(/([.[\]])/g,"\\$1")).join("."));let d=this._obj,[p,h]=c,f=s(()=>Object.prototype.hasOwnProperty.call(d,p)?{value:d[p],exists:!0}:t.getPathInfo(d,p),"getValue"),{value:m,exists:y}=f(),g=y&&(c.length===1||Be(h,m,n)),b=c.length===1?"":` with value ${t.objDisplay(h)}`;return this.assert(g,`expected #{this} to have property "${p}"${b}`,`expected #{this} to not have property "${p}"${b}`,h,y?m:void 0)}),o("toBeCloseTo",function(c,d=2){let p=this._obj,h=!1,f=0,m=0;return c===Number.POSITIVE_INFINITY&&p===Number.POSITIVE_INFINITY||c===Number.NEGATIVE_INFINITY&&p===Number.NEGATIVE_INFINITY?h=!0:(f=10**-d/2,m=Math.abs(p-c),h=m<f),this.assert(h,`expected #{this} to be close to #{exp}, received difference is ${m}, but expected ${f}`,`expected #{this} to not be close to #{exp}, received difference is ${m}, but expected ${f}`,c,p,!1)});function i(c){if(!Pa(c._obj))throw new TypeError(`${t.inspect(c._obj)} is not a spy or a call to a spy!`)}s(i,"assertIsMock");function a(c){return i(c),c._obj}s(a,"getSpy"),o(["toHaveBeenCalledTimes","toBeCalledTimes"],function(c){let d=a(this),p=d.getMockName(),h=d.mock.calls.length;return this.assert(h===c,`expected "${p}" to be called #{exp} times, but got ${h} times`,`expected "${p}" to not be called #{exp} times`,c,h,!1)}),o("toHaveBeenCalledOnce",function(){let c=a(this),d=c.getMockName(),p=c.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 c=a(this),d=c.getMockName(),p=c.mock.calls.length,h=p>0,f=t.flag(this,"negate"),m=t.getMessage(this,[h,`expected "${d}" to be called at least once`,`expected "${d}" to not be called at all, but actually been called ${p} times`,!0,h]);if(h&&f&&(m=xc(c,m)),h&&f||!h&&!f)throw new r(m)});function l(c,d){return c.length===d.length&&c.every((p,h)=>Be(p,d[h],[...n,Ar]))}s(l,"equalsArgumentArray"),o(["toHaveBeenCalledWith","toBeCalledWith"],function(...c){let d=a(this),p=d.getMockName(),h=d.mock.calls.some(y=>l(y,c)),f=t.flag(this,"negate"),m=t.getMessage(this,[h,`expected "${p}" to be called with arguments: #{exp}`,`expected "${p}" to not be called with arguments: #{exp}`,c]);if(h&&f||!h&&!f)throw new r(xc(d,m,c))}),o("toHaveBeenCalledExactlyOnceWith",function(...c){let d=a(this),p=d.getMockName(),h=d.mock.calls.length,f=d.mock.calls.some(g=>l(g,c))&&h===1,m=t.flag(this,"negate"),y=t.getMessage(this,[f,`expected "${p}" to be called once with arguments: #{exp}`,`expected "${p}" to not be called once with arguments: #{exp}`,c]);if(f&&m||!f&&!m)throw new r(xc(d,y,c))}),o(["toHaveBeenNthCalledWith","nthCalledWith"],function(c,...d){let p=a(this),h=p.getMockName(),f=p.mock.calls[c-1],m=p.mock.calls.length,y=c<=m;this.assert(f&&l(f,d),`expected ${Aa(c)} "${h}" call to have been called with #{exp}${y?"":`, but called only ${m} times`}`,`expected ${Aa(c)} "${h}" call to not have been called with #{exp}`,d,f,y)}),o(["toHaveBeenLastCalledWith","lastCalledWith"],function(...c){let d=a(this),p=d.getMockName(),h=d.mock.calls[d.mock.calls.length-1];this.assert(h&&l(h,c),`expected last "${p}" call to have been called with #{exp}`,`expected last "${p}" call to not have been called with #{exp}`,c,h)});function u(c,d,p){let h=c.mock.invocationCallOrder,f=d.mock.invocationCallOrder;return h.length===0?!p:f.length===0?!1:h[0]<f[0]}s(u,"isSpyCalledBeforeAnotherSpy"),o(["toHaveBeenCalledBefore"],function(c,d=!0){let p=a(this);if(!Pa(c))throw new TypeError(`${t.inspect(c)} is not a spy or a call to a spy`);this.assert(u(p,c,d),`expected "${p.getMockName()}" to have been called before "${c.getMockName()}"`,`expected "${p.getMockName()}" to not have been called before "${c.getMockName()}"`,c,p)}),o(["toHaveBeenCalledAfter"],function(c,d=!0){let p=a(this);if(!Pa(c))throw new TypeError(`${t.inspect(c)} is not a spy or a call to a spy`);this.assert(u(c,p,d),`expected "${p.getMockName()}" to have been called after "${c.getMockName()}"`,`expected "${p.getMockName()}" to not have been called after "${c.getMockName()}"`,c,p)}),o(["toThrow","toThrowError"],function(c){if(typeof c=="string"||typeof c>"u"||c instanceof RegExp)return this.throws(c===""?/^$/:c);let d=this._obj,p=t.flag(this,"promise"),h=t.flag(this,"negate"),f=null;if(p==="rejects")f=d;else if(p==="resolves"&&typeof d!="function"){if(h)return;{let m=t.flag(this,"message")||"expected promise to throw an error, but it didn't",y={showDiff:!1};throw new r(m,y,t.flag(this,"ssfi"))}}else{let m=!1;try{d()}catch(y){m=!0,f=y}if(!m&&!h){let y=t.flag(this,"message")||"expected function to throw an error, but it didn't",g={showDiff:!1};throw new r(y,g,t.flag(this,"ssfi"))}}if(typeof c=="function"){let m=c.name||c.prototype.constructor.name;return this.assert(f&&f instanceof c,`expected error to be instance of ${m}`,`expected error not to be instance of ${m}`,c,f)}if(c instanceof Error){let m=Be(f,c,[...n,Ar]);return this.assert(m,"expected a thrown error to be #{exp}","expected a thrown error not to be #{exp}",c,f)}if(typeof c=="object"&&"asymmetricMatch"in c&&typeof c.asymmetricMatch=="function"){let m=c;return this.assert(f&&m.asymmetricMatch(f),"expected error to match asymmetric matcher","expected error not to match asymmetric matcher",m,f)}throw new Error(`"toThrow" expects string, RegExp, function, Error instance or asymmetric matcher, got "${typeof c}"`)}),[{name:"toHaveResolved",condition:s(c=>c.mock.settledResults.length>0&&c.mock.settledResults.some(({type:d})=>d==="fulfilled"),"condition"),action:"resolved"},{name:["toHaveReturned","toReturn"],condition:s(c=>c.mock.calls.length>0&&c.mock.results.some(({type:d})=>d!=="throw"),"condition"),action:"called"}].forEach(({name:c,condition:d,action:p})=>{o(c,function(){let h=a(this),f=h.getMockName(),m=d(h);this.assert(m,`expected "${f}" to be successfully ${p} at least once`,`expected "${f}" to not be successfully ${p}`,m,!m,!1)})}),[{name:"toHaveResolvedTimes",condition:s((c,d)=>c.mock.settledResults.reduce((p,{type:h})=>h==="fulfilled"?++p:p,0)===d,"condition"),action:"resolved"},{name:["toHaveReturnedTimes","toReturnTimes"],condition:s((c,d)=>c.mock.results.reduce((p,{type:h})=>h==="throw"?p:++p,0)===d,"condition"),action:"called"}].forEach(({name:c,condition:d,action:p})=>{o(c,function(h){let f=a(this),m=f.getMockName(),y=d(f,h);this.assert(y,`expected "${m}" to be successfully ${p} ${h} times`,`expected "${m}" to not be successfully ${p} ${h} times`,`expected resolved times: ${h}`,`received resolved times: ${y}`,!1)})}),[{name:"toHaveResolvedWith",condition:s((c,d)=>c.mock.settledResults.some(({type:p,value:h})=>p==="fulfilled"&&Be(d,h)),"condition"),action:"resolve"},{name:["toHaveReturnedWith","toReturnWith"],condition:s((c,d)=>c.mock.results.some(({type:p,value:h})=>p==="return"&&Be(d,h)),"condition"),action:"return"}].forEach(({name:c,condition:d,action:p})=>{o(c,function(h){let f=a(this),m=d(f,h),y=t.flag(this,"negate");if(m&&y||!m&&!y){let g=f.getMockName(),b=t.getMessage(this,[m,`expected "${g}" to ${p} with: #{exp} at least once`,`expected "${g}" to not ${p} with: #{exp}`,h]),v=p==="return"?f.mock.results:f.mock.settledResults;throw new r(EM(f,v,b,h))}})}),[{name:"toHaveLastResolvedWith",condition:s((c,d)=>{let p=c.mock.settledResults[c.mock.settledResults.length-1];return p&&p.type==="fulfilled"&&Be(p.value,d)},"condition"),action:"resolve"},{name:["toHaveLastReturnedWith","lastReturnedWith"],condition:s((c,d)=>{let p=c.mock.results[c.mock.results.length-1];return p&&p.type==="return"&&Be(p.value,d)},"condition"),action:"return"}].forEach(({name:c,condition:d,action:p})=>{o(c,function(h){let f=a(this),m=p==="return"?f.mock.results:f.mock.settledResults,y=m[m.length-1],g=f.getMockName();this.assert(d(f,h),`expected last "${g}" call to ${p} #{exp}`,`expected last "${g}" call to not ${p} #{exp}`,h,y==null?void 0:y.value)})}),[{name:"toHaveNthResolvedWith",condition:s((c,d,p)=>{let h=c.mock.settledResults[d-1];return h&&h.type==="fulfilled"&&Be(h.value,p)},"condition"),action:"resolve"},{name:["toHaveNthReturnedWith","nthReturnedWith"],condition:s((c,d,p)=>{let h=c.mock.results[d-1];return h&&h.type==="return"&&Be(h.value,p)},"condition"),action:"return"}].forEach(({name:c,condition:d,action:p})=>{o(c,function(h,f){let m=a(this),y=m.getMockName(),g=(p==="return"?m.mock.results:m.mock.settledResults)[h-1],b=`${Aa(h)} call`;this.assert(d(m,h,f),`expected ${b} "${y}" call to ${p} #{exp}`,`expected ${b} "${y}" call to not ${p} #{exp}`,f,g==null?void 0:g.value)})}),o("withContext",function(c){for(let d in c)t.flag(this,d,c[d]);return this}),t.addProperty(e.Assertion.prototype,"resolves",s(function(){let c=new Error("resolves");t.flag(this,"promise","resolves"),t.flag(this,"error",c);let d=t.flag(this,"vitest-test"),p=t.flag(this,"object");if(t.flag(this,"poll"))throw new SyntaxError("expect.poll() is not supported in combination with .resolves");if(typeof(p==null?void 0:p.then)!="function")throw new TypeError(`You must provide a Promise to expect() when using .resolves, not '${typeof p}'.`);let h=new Proxy(this,{get:s((f,m,y)=>{let g=Reflect.get(f,m,y);return typeof g!="function"?g instanceof e.Assertion?h:g:(...b)=>{t.flag(this,"_name",m);let v=p.then(S=>(t.flag(this,"object",S),g.call(this,...b)),S=>{let T=new r(`promise rejected "${t.inspect(S)}" instead of resolving`,{showDiff:!1});throw T.cause=S,T.stack=c.stack.replace(c.message,T.message),T});return $y(d,v,jy(t,this,!!b.length),c)}},"get")});return h},"__VITEST_RESOLVES__")),t.addProperty(e.Assertion.prototype,"rejects",s(function(){let c=new Error("rejects");t.flag(this,"promise","rejects"),t.flag(this,"error",c);let d=t.flag(this,"vitest-test"),p=t.flag(this,"object"),h=typeof p=="function"?p():p;if(t.flag(this,"poll"))throw new SyntaxError("expect.poll() is not supported in combination with .rejects");if(typeof(h==null?void 0:h.then)!="function")throw new TypeError(`You must provide a Promise to expect() when using .rejects, not '${typeof h}'.`);let f=new Proxy(this,{get:s((m,y,g)=>{let b=Reflect.get(m,y,g);return typeof b!="function"?b instanceof e.Assertion?f:b:(...v)=>{t.flag(this,"_name",y);let S=h.then(T=>{let P=new r(`promise resolved "${t.inspect(T)}" instead of rejecting`,{showDiff:!0,expected:new Error("rejected promise"),actual:T});throw P.stack=c.stack.replace(c.message,P.message),P},T=>(t.flag(this,"object",T),b.call(this,...v)));return $y(d,S,jy(t,this,!!v.length),c)}},"get")});return f},"__VITEST_REJECTS__"))},"JestChaiExpect");function Aa(e){let t=e%10,r=e%100;return t===1&&r!==11?`${e}st`:t===2&&r!==12?`${e}nd`:t===3&&r!==13?`${e}rd`:`${e}th`}s(Aa,"ordinalOf");function xc(e,t,r){return e.mock.calls&&(t+=Je.gray(`
|
|
327
|
-
|
|
328
|
-
Received:
|
|
329
|
-
|
|
330
|
-
${e.mock.calls.map((n,o)=>{let i=Je.bold(` ${Aa(o+1)} ${e.getMockName()} call:
|
|
331
|
-
|
|
332
|
-
`);return r?i+=Wi(r,n,{omitAnnotationLines:!0}):i+=wr(n).split(`
|
|
333
|
-
`).map(a=>` ${a}`).join(`
|
|
334
|
-
`),i+=`
|
|
335
|
-
`,i}).join(`
|
|
336
|
-
`)}`)),t+=Je.gray(`
|
|
337
|
-
|
|
338
|
-
Number of calls: ${Je.bold(e.mock.calls.length)}
|
|
339
|
-
`),t}s(xc,"formatCalls");function EM(e,t,r,n){return r+=Je.gray(`
|
|
340
|
-
|
|
341
|
-
Received:
|
|
342
|
-
|
|
343
|
-
${t.map((o,i)=>{let a=Je.bold(` ${Aa(i+1)} ${e.getMockName()} call return:
|
|
344
|
-
|
|
345
|
-
`);return n?a+=Wi(n,o.value,{omitAnnotationLines:!0}):a+=wr(o).split(`
|
|
346
|
-
`).map(l=>` ${l}`).join(`
|
|
347
|
-
`),a+=`
|
|
348
|
-
`,a}).join(`
|
|
349
|
-
`)}`),r+=Je.gray(`
|
|
350
|
-
|
|
351
|
-
Number of calls: ${Je.bold(e.mock.calls.length)}
|
|
352
|
-
`),r}s(EM,"formatReturns");function SM(e,t){let r=e._obj,n=wn.flag(e,"negate"),o=wn.flag(e,"promise")||"",i={...vE(),diff:Wi,stringify:wr,iterableEquality:Ar,subsetEquality:Ts};return{state:{...Hl(t),customTesters:kf(),isNot:n,utils:i,promise:o,equals:Be,suppressedErrors:[],soft:wn.flag(e,"soft"),poll:wn.flag(e,"poll")},isNot:n,obj:r}}s(SM,"getMatcherState");var xM=class extends Error{constructor(t,r,n){super(t),this.actual=r,this.expected=n}};s(xM,"JestExtendError");var ST=xM;function TM(e,t,r){return(n,o)=>{Object.entries(r).forEach(([i,a])=>{function l(...h){let{state:f,isNot:m,obj:y}=SM(this,t),g=a.call(f,y,...h);if(g&&typeof g=="object"&&g instanceof Promise)return g.then(({pass:P,message:C,actual:w,expected:E})=>{if(P&&m||!P&&!m)throw new ST(C(),w,E)});let{pass:b,message:v,actual:S,expected:T}=g;if(b&&m||!b&&!m)throw new ST(v(),S,T)}s(l,"expectWrapper");let u=EE(o,i,l);o.addMethod(globalThis[Ul].matchers,i,u),o.addMethod(e.Assertion.prototype,i,u);let c=class extends uo{constructor(f=!1,...m){super(m,f)}asymmetricMatch(f){let{pass:m}=a.call(this.getMatcherContext(t),f,...this.sample);return this.inverse?!m:m}toString(){return`${this.inverse?"not.":""}${i}`}getExpectedType(){return"any"}toAsymmetricMatcher(){return`${this.toString()}<${this.sample.map(f=>wr(f)).join(", ")}>`}};s(c,"CustomMatcher");let d=c,p=s((...h)=>new d(!1,...h),"customMatcher");Object.defineProperty(t,i,{configurable:!0,enumerable:!0,value:p,writable:!0}),Object.defineProperty(t.not,i,{configurable:!0,enumerable:!0,value:s((...h)=>new d(!0,...h),"value"),writable:!0}),Object.defineProperty(globalThis[Ay],i,{configurable:!0,enumerable:!0,value:p,writable:!0})})}}s(TM,"JestExtendPlugin");var nQ=s((e,t)=>{t.addMethod(e.expect,"extend",(r,n)=>{bi(TM(e,r,n))})},"JestExtend");function CM(){bi(nQ),bi(rQ),bi(tQ);let e=s((n,o)=>{let{assertionCalls:i}=Hl(e);return Sc({assertionCalls:i+1,soft:!1},e),Mo(n,o)},"expect");Object.assign(e,Mo),e.getState=()=>Hl(e),e.setState=n=>Sc(n,e),e.extend=n=>Mo.extend(e,n),e.soft=(...n)=>{let o=e(...n);return e.setState({soft:!0}),o},e.extend(WX),e.unreachable=n=>{F.fail(`expected${n?` "${n}" `:" "}not to be reached`)};function t(n){let o=s(()=>new Error(`expected number of assertions to be ${n}, but got ${e.getState().assertionCalls}`),"errorGen");"captureStackTrace"in Error&&typeof Error.captureStackTrace=="function"&&Error.captureStackTrace(o(),t),e.setState({expectedAssertionsNumber:n,expectedAssertionsNumberErrorGen:o})}s(t,"assertions");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 s(r,"hasAssertions"),Sc({assertionCalls:0,isExpectingAssertions:!1,isExpectingAssertionsError:null,expectedAssertionsNumber:null,expectedAssertionsNumberErrorGen:null},e),wn.addMethod(e,"assertions",t),wn.addMethod(e,"hasAssertions",r),e.extend(VR),e}s(CM,"createExpect");var _M=CM();Object.defineProperty(globalThis,yE,{value:_M,writable:!0,configurable:!0});var Ly=new Set;function SE(e){return Ly.add(e),()=>void Ly.delete(e)}s(SE,"onMockCall");var oQ=s((...e)=>{let t=Jk(...e);return TE(t)},"spyOn");function xE(e){let t=e?Py(e):Py();return TE(t)}s(xE,"fn");function TE(e){let t=Fy(e),r=t.mockImplementation.bind(null);return t.mockImplementation=n=>Fy(r(n)),t}s(TE,"reactiveMock");function Fy(e){let t=xd(e),r=t.impl;return t.willCall(function(...n){return Ly.forEach(o=>o(e,n)),r==null?void 0:r.apply(this,n)}),e}s(Fy,"listenWhenCalled");function CE(){Iu.forEach(e=>e.mockClear())}s(CE,"clearAllMocks");function _E(){Iu.forEach(e=>e.mockReset())}s(_E,"resetAllMocks");function PE(){Iu.forEach(e=>e.mockRestore())}s(PE,"restoreAllMocks");function PM(e,t={}){return e}s(PM,"mocked");var OM={};fr(OM,{buildQueries:()=>Rn,configure:()=>_q,createEvent:()=>dl,findAllByAltText:()=>wj,findAllByDisplayValue:()=>hj,findAllByLabelText:()=>Wq,findAllByPlaceholderText:()=>rj,findAllByRole:()=>Mj,findAllByTestId:()=>Dj,findAllByText:()=>lj,findAllByTitle:()=>_j,findByAltText:()=>Ej,findByDisplayValue:()=>mj,findByLabelText:()=>Gq,findByPlaceholderText:()=>nj,findByRole:()=>qj,findByTestId:()=>Bj,findByText:()=>uj,findByTitle:()=>Pj,fireEvent:()=>ts,getAllByAltText:()=>bj,getAllByDisplayValue:()=>pj,getAllByLabelText:()=>Kq,getAllByPlaceholderText:()=>ej,getAllByRole:()=>Ij,getAllByTestId:()=>Lj,getAllByText:()=>aj,getAllByTitle:()=>Tj,getByAltText:()=>vj,getByDisplayValue:()=>fj,getByLabelText:()=>Yq,getByPlaceholderText:()=>tj,getByRole:()=>kj,getByTestId:()=>Fj,getByText:()=>sj,getByTitle:()=>Cj,getConfig:()=>je,getDefaultNormalizer:()=>Lf,getElementError:()=>qu,getMultipleElementsFoundError:()=>ju,getNodeText:()=>Cs,getQueriesForElement:()=>Od,getRoles:()=>WE,getSuggestedQuery:()=>Jl,isInaccessible:()=>Mu,logDOM:()=>zy,logRoles:()=>PQ,makeFindQuery:()=>Ni,makeGetAllQuery:()=>Bf,makeSingleQuery:()=>Ri,prettyDOM:()=>es,prettyFormat:()=>OE,queries:()=>Pd,queryAllByAltText:()=>yj,queryAllByAttribute:()=>Xo,queryAllByDisplayValue:()=>cj,queryAllByLabelText:()=>Xq,queryAllByPlaceholderText:()=>Qq,queryAllByRole:()=>Rj,queryAllByTestId:()=>jj,queryAllByText:()=>oj,queryAllByTitle:()=>Sj,queryByAltText:()=>gj,queryByAttribute:()=>KE,queryByDisplayValue:()=>dj,queryByLabelText:()=>Jq,queryByPlaceholderText:()=>Zq,queryByRole:()=>Nj,queryByTestId:()=>$j,queryByText:()=>ij,queryByTitle:()=>xj,queryHelpers:()=>OQ,screen:()=>GQ,waitFor:()=>Df,waitForElementToBeRemoved:()=>Hj,within:()=>Od,wrapAllByQueryWithSuggestion:()=>Er,wrapSingleQueryWithSuggestion:()=>qo});var OE=_t(N4()),iQ=Object.prototype.toString;function Dy(e){return typeof e=="function"||iQ.call(e)==="[object Function]"}s(Dy,"isCallable");function AM(e){var t=Number(e);return isNaN(t)?0:t===0||!isFinite(t)?t:(t>0?1:-1)*Math.floor(Math.abs(t))}s(AM,"toInteger");var aQ=Math.pow(2,53)-1;function RM(e){var t=AM(e);return Math.min(Math.max(t,0),aQ)}s(RM,"toLength");function Br(e,t){var r=Array,n=Object(e);if(e==null)throw new TypeError("Array.from requires an array-like object - not null or undefined");if(typeof t<"u"&&!Dy(t))throw new TypeError("Array.from: when provided, the second argument must be a function");for(var o=RM(n.length),i=Dy(r)?Object(new r(o)):new Array(o),a=0,l;a<o;)l=n[a],t?i[a]=t(l,a):i[a]=l,a+=1;return i.length=o,i}s(Br,"arrayFrom");function Qa(e){"@babel/helpers - typeof";return Qa=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},Qa(e)}s(Qa,"_typeof");function NM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}s(NM,"_classCallCheck");function By(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,AE(n.key),n)}}s(By,"_defineProperties");function IM(e,t,r){return t&&By(e.prototype,t),r&&By(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}s(IM,"_createClass");function kM(e,t,r){return t=AE(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}s(kM,"_defineProperty");function AE(e){var t=MM(e,"string");return Qa(t)==="symbol"?t:String(t)}s(AE,"_toPropertyKey");function MM(e,t){if(Qa(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(Qa(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}s(MM,"_toPrimitive");var sQ=function(){function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];NM(this,e),kM(this,"items",void 0),this.items=t}return s(e,"SetLike"),IM(e,[{key:"add",value:s(function(t){return this.has(t)===!1&&this.items.push(t),this},"add")},{key:"clear",value:s(function(){this.items=[]},"clear")},{key:"delete",value:s(function(t){var r=this.items.length;return this.items=this.items.filter(function(n){return n!==t}),r!==this.items.length},"_delete")},{key:"forEach",value:s(function(t){var r=this;this.items.forEach(function(n){t(n,n,r)})},"forEach")},{key:"has",value:s(function(t){return this.items.indexOf(t)!==-1},"has")},{key:"size",get:s(function(){return this.items.length},"get")}]),e}(),lQ=typeof Set>"u"?Set:sQ;function Yt(e){var t;return(t=e.localName)!==null&&t!==void 0?t:e.tagName.toLowerCase()}s(Yt,"getLocalName");var uQ={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"},cQ={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 qM(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=cQ[t])!==null&&n!==void 0&&n.has(r))})}s(qM,"hasGlobalAriaAttributes");function RE(e,t){return qM(e,t)}s(RE,"ignorePresentationalRole");function jM(e){var t=LM(e);if(t===null||t==="presentation"){var r=$M(e);if(t!=="presentation"||RE(e,r||""))return r}return t}s(jM,"getRole");function $M(e){var t=uQ[Yt(e)];if(t!==void 0)return t;switch(Yt(e)){case"a":case"area":case"link":if(e.hasAttribute("href"))return"link";break;case"img":return e.getAttribute("alt")===""&&!RE(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}s($M,"getImplicitRole");function LM(e){var t=e.getAttribute("role");if(t!==null){var r=t.trim().split(" ")[0];if(r.length>0)return r}return null}s(LM,"getExplicitRole");function it(e){return e!==null&&e.nodeType===e.ELEMENT_NODE}s(it,"isElement");function NE(e){return it(e)&&Yt(e)==="caption"}s(NE,"isHTMLTableCaptionElement");function cl(e){return it(e)&&Yt(e)==="input"}s(cl,"isHTMLInputElement");function FM(e){return it(e)&&Yt(e)==="optgroup"}s(FM,"isHTMLOptGroupElement");function DM(e){return it(e)&&Yt(e)==="select"}s(DM,"isHTMLSelectElement");function BM(e){return it(e)&&Yt(e)==="table"}s(BM,"isHTMLTableElement");function UM(e){return it(e)&&Yt(e)==="textarea"}s(UM,"isHTMLTextAreaElement");function HM(e){var t=e.ownerDocument===null?e:e.ownerDocument,r=t.defaultView;if(r===null)throw new TypeError("no window available");return r}s(HM,"safeWindow");function VM(e){return it(e)&&Yt(e)==="fieldset"}s(VM,"isHTMLFieldSetElement");function JM(e){return it(e)&&Yt(e)==="legend"}s(JM,"isHTMLLegendElement");function zM(e){return it(e)&&Yt(e)==="slot"}s(zM,"isHTMLSlotElement");function WM(e){return it(e)&&e.ownerSVGElement!==void 0}s(WM,"isSVGElement");function GM(e){return it(e)&&Yt(e)==="svg"}s(GM,"isSVGSVGElement");function KM(e){return WM(e)&&Yt(e)==="title"}s(KM,"isSVGTitleElement");function Vl(e,t){if(it(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[]}s(Vl,"queryIdRefs");function Sn(e,t){return it(e)?t.indexOf(jM(e))!==-1:!1}s(Sn,"hasAnyConcreteRoles");function YM(e){return e.trim().replace(/\s\s+/g," ")}s(YM,"asFlatString");function XM(e,t){if(!it(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"}s(XM,"isHidden");function QM(e){return Sn(e,["button","combobox","listbox","textbox"])||IE(e,"range")}s(QM,"isControl");function IE(e,t){if(!it(e))return!1;switch(t){case"range":return Sn(e,["meter","progressbar","scrollbar","slider","spinbutton"]);default:throw new TypeError("No knowledge about abstract role '".concat(t,"'. This is likely a bug :("))}}s(IE,"hasAbstractRole");function Uy(e,t){var r=Br(e.querySelectorAll(t));return Vl(e,"aria-owns").forEach(function(n){r.push.apply(r,Br(n.querySelectorAll(t)))}),r}s(Uy,"querySelectorAllSubtree");function ZM(e){return DM(e)?e.selectedOptions||Uy(e,"[selected]"):Uy(e,'[aria-selected="true"]')}s(ZM,"querySelectedOptions");function eq(e){return Sn(e,["none","presentation"])}s(eq,"isMarkedPresentational");function tq(e){return NE(e)}s(tq,"isNativeHostLanguageTextAlternativeElement");function rq(e){return Sn(e,["button","cell","checkbox","columnheader","gridcell","heading","label","legend","link","menuitem","menuitemcheckbox","menuitemradio","option","radio","row","rowheader","switch","tab","tooltip","treeitem"])}s(rq,"allowsNameFromContent");function nq(e){return!1}s(nq,"isDescendantOfNativeHostLanguageTextAlternativeElement");function oq(e){return cl(e)||UM(e)?e.value:e.textContent||""}s(oq,"getValueOfTextbox");function Hy(e){var t=e.getPropertyValue("content");return/^["'].*["']$/.test(t)?t.slice(1,-1):""}s(Hy,"getTextualContent");function kE(e){var t=Yt(e);return t==="button"||t==="input"&&e.getAttribute("type")!=="hidden"||t==="meter"||t==="output"||t==="progress"||t==="select"||t==="textarea"}s(kE,"isLabelableElement");function ME(e){if(kE(e))return e;var t=null;return e.childNodes.forEach(function(r){if(t===null&&it(r)){var n=ME(r);n!==null&&(t=n)}}),t}s(ME,"findLabelableElement");function iq(e){if(e.control!==void 0)return e.control;var t=e.getAttribute("for");return t!==null?e.ownerDocument.getElementById(t):ME(e)}s(iq,"getControlOfLabel");function aq(e){var t=e.labels;if(t===null)return t;if(t!==void 0)return Br(t);if(!kE(e))return null;var r=e.ownerDocument;return Br(r.querySelectorAll("label")).filter(function(n){return iq(n)===e})}s(aq,"getLabels");function sq(e){var t=e.assignedNodes();return t.length===0?Br(e.childNodes):t}s(sq,"getSlotContents");function qE(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=new lQ,n=HM(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,d=t.hidden,p=d===void 0?!1:d;function h(b,v){var S="";if(it(b)&&l){var T=c(b,"::before"),P=Hy(T);S="".concat(P," ").concat(S)}var C=zM(b)?sq(b):Br(b.childNodes).concat(Vl(b,"aria-owns"));if(C.forEach(function(_){var R=g(_,{isEmbeddedInLabel:v.isEmbeddedInLabel,isReferenced:!1,recursion:!0}),N=it(_)?c(_).getPropertyValue("display"):"inline",q=N!=="inline"?" ":"";S+="".concat(q).concat(R).concat(q)}),it(b)&&l){var w=c(b,"::after"),E=Hy(w);S="".concat(S," ").concat(E)}return S.trim()}s(h,"computeMiscTextAlternative");function f(b,v){var S=b.getAttributeNode(v);return S!==null&&!r.has(S)&&S.value.trim()!==""?(r.add(S),S.value):null}s(f,"useAttribute");function m(b){return it(b)?f(b,"title"):null}s(m,"computeTooltipAttributeValue");function y(b){if(!it(b))return null;if(VM(b)){r.add(b);for(var v=Br(b.childNodes),S=0;S<v.length;S+=1){var T=v[S];if(JM(T))return g(T,{isEmbeddedInLabel:!1,isReferenced:!1,recursion:!1})}}else if(BM(b)){r.add(b);for(var P=Br(b.childNodes),C=0;C<P.length;C+=1){var w=P[C];if(NE(w))return g(w,{isEmbeddedInLabel:!1,isReferenced:!1,recursion:!1})}}else if(GM(b)){r.add(b);for(var E=Br(b.childNodes),_=0;_<E.length;_+=1){var R=E[_];if(KM(R))return R.textContent}return null}else if(Yt(b)==="img"||Yt(b)==="area"){var N=f(b,"alt");if(N!==null)return N}else if(FM(b)){var q=f(b,"label");if(q!==null)return q}if(cl(b)&&(b.type==="button"||b.type==="submit"||b.type==="reset")){var L=f(b,"value");if(L!==null)return L;if(b.type==="submit")return"Submit";if(b.type==="reset")return"Reset"}var O=aq(b);if(O!==null&&O.length!==0)return r.add(b),Br(O).map(function(V){return g(V,{isEmbeddedInLabel:!0,isReferenced:!1,recursion:!0})}).filter(function(V){return V.length>0}).join(" ");if(cl(b)&&b.type==="image"){var k=f(b,"alt");if(k!==null)return k;var M=f(b,"title");return M!==null?M:"Submit Query"}if(Sn(b,["button"])){var G=h(b,{isEmbeddedInLabel:!1});if(G!=="")return G}return null}s(y,"computeElementTextAlternative");function g(b,v){if(r.has(b))return"";if(!p&&XM(b,c)&&!v.isReferenced)return r.add(b),"";var S=it(b)?b.getAttributeNode("aria-labelledby"):null,T=S!==null&&!r.has(S)?Vl(b,"aria-labelledby"):[];if(i==="name"&&!v.isReferenced&&T.length>0)return r.add(S),T.map(function(N){return g(N,{isEmbeddedInLabel:v.isEmbeddedInLabel,isReferenced:!0,recursion:!1})}).join(" ");var P=v.recursion&&QM(b)&&i==="name";if(!P){var C=(it(b)&&b.getAttribute("aria-label")||"").trim();if(C!==""&&i==="name")return r.add(b),C;if(!eq(b)){var w=y(b);if(w!==null)return r.add(b),w}}if(Sn(b,["menu"]))return r.add(b),"";if(P||v.isEmbeddedInLabel||v.isReferenced){if(Sn(b,["combobox","listbox"])){r.add(b);var E=ZM(b);return E.length===0?cl(b)?b.value:"":Br(E).map(function(N){return g(N,{isEmbeddedInLabel:v.isEmbeddedInLabel,isReferenced:!1,recursion:!0})}).join(" ")}if(IE(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(Sn(b,["textbox"]))return r.add(b),oq(b)}if(rq(b)||it(b)&&v.isReferenced||tq(b)||nq()){var _=h(b,{isEmbeddedInLabel:v.isEmbeddedInLabel});if(_!=="")return r.add(b),_}if(b.nodeType===b.TEXT_NODE)return r.add(b),b.textContent||"";if(v.recursion)return r.add(b),h(b,{isEmbeddedInLabel:v.isEmbeddedInLabel});var R=m(b);return R!==null?(r.add(b),R):(r.add(b),"")}return s(g,"computeTextAlternative"),YM(g(e,{isEmbeddedInLabel:!1,isReferenced:i==="description",recursion:!1}))}s(qE,"computeTextAlternative");function Za(e){"@babel/helpers - typeof";return Za=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},Za(e)}s(Za,"_typeof");function Vy(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}s(Vy,"ownKeys");function Jy(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Vy(Object(r),!0).forEach(function(n){lq(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Vy(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}s(Jy,"_objectSpread");function lq(e,t,r){return t=uq(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}s(lq,"_defineProperty");function uq(e){var t=cq(e,"string");return Za(t)==="symbol"?t:String(t)}s(uq,"_toPropertyKey");function cq(e,t){if(Za(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(Za(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}s(cq,"_toPrimitive");function jE(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=Vl(e,"aria-describedby").map(function(o){return qE(o,Jy(Jy({},t),{},{compute:"description"}))}).join(" ");if(r===""){var n=e.getAttribute("title");r=n===null?"":n}return r}s(jE,"computeAccessibleDescription");function dq(e){return Sn(e,["caption","code","deletion","emphasis","generic","insertion","paragraph","presentation","strong","subscript","superscript"])}s(dq,"prohibitsNaming");function jf(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return dq(e)?"":qE(e,t)}s(jf,"computeAccessibleName");var Fr=_t(gW()),dQ=_t(bW());function $E(e){return e.replace(/</g,"<").replace(/>/g,">")}s($E,"escapeHTML");var pQ=s((e,t,r,n,o,i,a)=>{let l=n+r.indent,u=r.colors;return e.map(c=>{let d=t[c],p=a(d,r,l,o,i);return typeof d!="string"&&(p.indexOf(`
|
|
353
|
-
`)!==-1&&(p=r.spacingOuter+l+p+r.spacingOuter+n),p="{"+p+"}"),r.spacingInner+n+u.prop.open+c+u.prop.close+"="+u.value.open+p+u.value.close}).join("")},"printProps"),fQ=3,hQ=s((e,t,r,n,o,i)=>e.map(a=>{let l=typeof a=="string"?pq(a,t):i(a,t,r,n,o);return l===""&&typeof a=="object"&&a!==null&&a.nodeType!==fQ?"":t.spacingOuter+r+l}).join(""),"printChildren"),pq=s((e,t)=>{let r=t.colors.content;return r.open+$E(e)+r.close},"printText"),mQ=s((e,t)=>{let r=t.colors.comment;return r.open+"<!--"+$E(e)+"-->"+r.close},"printComment"),yQ=s((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},"printElement"),gQ=s((e,t)=>{let r=t.colors.tag;return r.open+"<"+e+r.close+" …"+r.open+" />"+r.close},"printElementAsLeaf"),bQ=1,fq=3,hq=8,mq=11,vQ=/^((HTML|SVG)\w*)?Element$/,yq=s(e=>{let{tagName:t}=e;return!!(typeof t=="string"&&t.includes("-")||typeof e.hasAttribute=="function"&&e.hasAttribute("is"))},"isCustomElement"),wQ=s(e=>{let t=e.constructor.name,{nodeType:r}=e;return r===bQ&&(vQ.test(t)||yq(e))||r===fq&&t==="Text"||r===hq&&t==="Comment"||r===mq&&t==="DocumentFragment"},"testNode");function gq(e){return e.nodeType===fq}s(gq,"nodeIsText");function bq(e){return e.nodeType===hq}s(bq,"nodeIsComment");function Tc(e){return e.nodeType===mq}s(Tc,"nodeIsFragment");function vq(e){return{test:s(t=>{var r;return((t==null||(r=t.constructor)==null?void 0:r.name)||yq(t))&&wQ(t)},"test"),serialize:s((t,r,n,o,i,a)=>{if(gq(t))return pq(t.data,r);if(bq(t))return mQ(t.data,r);let l=Tc(t)?"DocumentFragment":t.tagName.toLowerCase();return++o>r.maxDepth?gQ(l,r):yQ(l,pQ(Tc(t)?[]:Array.from(t.attributes).map(u=>u.name).sort(),Tc(t)?{}:Array.from(t.attributes).reduce((u,c)=>(u[c.name]=c.value,u),{}),r,n+r.indent,o,i,a),hQ(Array.prototype.slice.call(t.childNodes||t.children).filter(e),r,n+r.indent,o,i,a),r,n)},"serialize")}}s(vq,"createDOMElementFilter");var wq=null,LE=null,FE=null;try{let e=module&&module.require;LE=e.call(module,"fs").readFileSync,FE=e.call(module,"@babel/code-frame").codeFrameColumns,wq=e.call(module,"chalk")}catch{}function Eq(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=LE(i,"utf-8")}catch{return""}let c=FE(u,{start:{line:a,column:l}},{highlightCode:!0,linesBelow:0});return wq.dim(n)+`
|
|
354
|
-
`+c+`
|
|
355
|
-
`}s(Eq,"getCodeFrame");function Sq(){if(!LE||!FE)return"";let e=new Error().stack.split(`
|
|
356
|
-
`).slice(1).find(t=>!t.includes("node_modules/"));return Eq(e)}s(Sq,"getUserCodeFrame");var xq=3;function Cc(){return typeof jest<"u"&&jest!==null?setTimeout._isMockFunction===!0||Object.prototype.hasOwnProperty.call(setTimeout,"clock"):!1}s(Cc,"jestFakeTimersAreEnabled");function $f(){if(typeof window>"u")throw new Error("Could not find default container");return window.document}s($f,"getDocument");function DE(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+".")}s(DE,"getWindowFromNode");function An(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}s(t,"getTypeName")}s(An,"checkContainerType");var EQ=s(()=>{if(typeof process>"u")return!1;let e;try{var t;let r=(t=gm)==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},"shouldHighlight"),{DOMCollection:SQ}=OE.plugins,xQ=1,TQ=8;function Tq(e){return e.nodeType!==TQ&&(e.nodeType!==xQ||!e.matches(je().defaultIgnore))}s(Tq,"filterCommentsAndDefaultIgnoreTagsTags");function es(e,t,r){if(r===void 0&&(r={}),e||(e=$f().body),typeof t!="number"&&(t=typeof process<"u"&&typeof gm<"u"&&gm.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=Tq,...i}=r,a=OE.format(e,{plugins:[vq(o),SQ],printFunctionName:!1,highlight:EQ(),...i});return t!==void 0&&e.outerHTML.length>t?a.slice(0,t)+"...":a}s(es,"prettyDOM");var zy=s(function(){let e=Sq();console.log(e?es(...arguments)+`
|
|
357
|
-
|
|
358
|
-
`+e:es(...arguments))},"logDOM"),wi={testIdAttribute:"data-testid",asyncUtilTimeout:1e3,asyncWrapper:s(e=>e(),"asyncWrapper"),unstable_advanceTimersWrapper:s(e=>e(),"unstable_advanceTimersWrapper"),eventWrapper:s(e=>e(),"eventWrapper"),defaultHidden:!1,defaultIgnore:"script, style",showOriginalStackTrace:!1,throwSuggestions:!1,getElementError(e,t){let r=es(t),n=new Error([e,"Ignored nodes: comments, "+wi.defaultIgnore+`
|
|
359
|
-
`+r].filter(Boolean).join(`
|
|
360
|
-
|
|
361
|
-
`));return n.name="TestingLibraryElementError",n},_disableExpensiveErrorDiagnostics:!1,computedStyleSupportsPseudoElements:!1};function Cq(e){try{return wi._disableExpensiveErrorDiagnostics=!0,e()}finally{wi._disableExpensiveErrorDiagnostics=!1}}s(Cq,"runWithExpensiveErrorDiagnosticsDisabled");function _q(e){typeof e=="function"&&(e=e(wi)),wi={...wi,...e}}s(_q,"configure");function je(){return wi}s(je,"getConfig");var CQ=["button","meter","output","progress","select","textarea","input"];function BE(e){return CQ.includes(e.nodeName.toLowerCase())?"":e.nodeType===xq?e.textContent:Array.from(e.childNodes).map(t=>BE(t)).join("")}s(BE,"getTextContent");function _d(e){let t;return e.tagName.toLowerCase()==="label"?t=BE(e):t=e.value||e.textContent,t}s(_d,"getLabelContent");function UE(e){if(e.labels!==void 0){var t;return(t=e.labels)!=null?t:[]}if(!Pq(e))return[];let r=e.ownerDocument.querySelectorAll("label");return Array.from(r).filter(n=>n.control===e)}s(UE,"getRealLabels");function Pq(e){return/BUTTON|METER|OUTPUT|PROGRESS|SELECT|TEXTAREA/.test(e.tagName)||e.tagName==="INPUT"&&e.getAttribute("type")!=="hidden"}s(Pq,"isLabelable");function HE(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:_d(l),formControl:null}:{content:"",formControl:null}}):Array.from(UE(t)).map(a=>{let l=_d(a),u=Array.from(a.querySelectorAll("button, input, meter, output, progress, select, textarea")).filter(c=>c.matches(n))[0];return{content:l,formControl:u}})}s(HE,"getLabels");function VE(e){if(e==null)throw new Error("It looks like "+e+" was passed instead of a matcher. Did you do something like getByText("+e+")?")}s(VE,"assertNotNullOrUndefined");function Gi(e,t,r,n){if(typeof e!="string")return!1;VE(r);let o=n(e);return typeof r=="string"||typeof r=="number"?o.toLowerCase().includes(r.toString().toLowerCase()):typeof r=="function"?r(o,t):JE(r,o)}s(Gi,"fuzzyMatches");function Tn(e,t,r,n){if(typeof e!="string")return!1;VE(r);let o=n(e);return r instanceof Function?r(o,t):r instanceof RegExp?JE(r,o):o===String(r)}s(Tn,"matches");function Lf(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}}s(Lf,"getDefaultNormalizer");function Yo(e){let{trim:t,collapseWhitespace:r,normalizer:n}=e;if(!n)return Lf({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}s(Yo,"makeNormalizer");function JE(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}s(JE,"matchRegExp");function Cs(e){return e.matches("input[type=submit], input[type=button], input[type=reset]")?e.value:Array.from(e.childNodes).filter(t=>t.nodeType===xq&&!!t.textContent).map(t=>t.textContent).join("")}s(Cs,"getNodeText");var _Q=Oq(Fr.elementRoles);function zE(e){return e.hidden===!0||e.getAttribute("aria-hidden")==="true"||e.ownerDocument.defaultView.getComputedStyle(e).display==="none"}s(zE,"isSubtreeInaccessible");function Mu(e,t){t===void 0&&(t={});let{isSubtreeInaccessible:r=zE}=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}s(Mu,"isInaccessible");function Ff(e){for(let{match:t,roles:r}of _Q)if(t(e))return[...r];return[]}s(Ff,"getImplicitAriaRoles");function Oq(e){function t(a){let{name:l,attributes:u}=a;return""+l+u.map(c=>{let{name:d,value:p,constraints:h=[]}=c,f=h.indexOf("undefined")!==-1,m=h.indexOf("set")!==-1;return typeof p<"u"?"["+d+'="'+p+'"]':f?":not(["+d+"])":m?"["+d+"]:not(["+d+'=""])':"["+d+"]"}).join("")}s(t,"makeElementSelector");function r(a){let{attributes:l=[]}=a;return l.length}s(r,"getSelectorSpecificity");function n(a,l){let{specificity:u}=a,{specificity:c}=l;return c-u}s(n,"bySelectorSpecificity");function o(a){let{attributes:l=[]}=a,u=l.findIndex(d=>d.value&&d.name==="type"&&d.value==="text");u>=0&&(l=[...l.slice(0,u),...l.slice(u+1)]);let c=t({...a,attributes:l});return d=>u>=0&&d.type!=="text"?!1:d.matches(c)}s(o,"match");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)}s(Oq,"buildElementRoleList");function WE(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 s(n,"flattenDOM"),n(e).filter(o=>r===!1?Mu(o)===!1:!0).reduce((o,i)=>{let a=[];return i.hasAttribute("role")?a=i.getAttribute("role").split(" ").slice(0,1):a=Ff(i),a.reduce((l,u)=>Array.isArray(l[u])?{...l,[u]:[...l[u],i]}:{...l,[u]:[i]},o)},{})}s(WE,"getRoles");function GE(e,t){let{hidden:r,includeDescription:n}=t,o=WE(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(d=>{let p='Name "'+jf(d,{computedStyleSupportsPseudoElements:je().computedStyleSupportsPseudoElements})+`":
|
|
362
|
-
`,h=es(d.cloneNode(!1));if(n){let f='Description "'+jE(d,{computedStyleSupportsPseudoElements:je().computedStyleSupportsPseudoElements})+`":
|
|
363
|
-
`;return""+p+f+h}return""+p+h}).join(`
|
|
364
|
-
|
|
365
|
-
`);return a+`:
|
|
366
|
-
|
|
367
|
-
`+c+`
|
|
368
|
-
|
|
369
|
-
`+u}).join(`
|
|
370
|
-
`)}s(GE,"prettyRoles");var PQ=s(function(e,t){let{hidden:r=!1}=t===void 0?{}:t;return console.log(GE(e,{hidden:r}))},"logRoles");function Aq(e){return e.tagName==="OPTION"?e.selected:_s(e,"aria-selected")}s(Aq,"computeAriaSelected");function Rq(e){return e.getAttribute("aria-busy")==="true"}s(Rq,"computeAriaBusy");function Nq(e){if(!("indeterminate"in e&&e.indeterminate))return"checked"in e?e.checked:_s(e,"aria-checked")}s(Nq,"computeAriaChecked");function Iq(e){return _s(e,"aria-pressed")}s(Iq,"computeAriaPressed");function kq(e){var t,r;return(t=(r=_s(e,"aria-current"))!=null?r:e.getAttribute("aria-current"))!=null?t:!1}s(kq,"computeAriaCurrent");function Mq(e){return _s(e,"aria-expanded")}s(Mq,"computeAriaExpanded");function _s(e,t){let r=e.getAttribute(t);if(r==="true")return!0;if(r==="false")return!1}s(_s,"checkBooleanAttribute");function qq(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]}s(qq,"computeHeadingLevel");function jq(e){let t=e.getAttribute("aria-valuenow");return t===null?void 0:+t}s(jq,"computeAriaValueNow");function $q(e){let t=e.getAttribute("aria-valuemax");return t===null?void 0:+t}s($q,"computeAriaValueMax");function Lq(e){let t=e.getAttribute("aria-valuemin");return t===null?void 0:+t}s(Lq,"computeAriaValueMin");function Fq(e){let t=e.getAttribute("aria-valuetext");return t===null?void 0:t}s(Fq,"computeAriaValueText");var xT=Lf();function Dq(e){return e.replace(/[.*+\-?^${}()|[\]\\]/g,"\\$&")}s(Dq,"escapeRegExp");function Wy(e){return new RegExp(Dq(e.toLowerCase()),"i")}s(Wy,"getRegExpMatcher");function Ln(e,t,r,n){let{variant:o,name:i}=n,a="",l={},u=[["Role","TestId"].includes(e)?r:Wy(r)];i&&(l.name=Wy(i)),e==="Role"&&Mu(t)&&(l.hidden=!0,a=`Element is inaccessible. This means that the element and all its children are invisible to screen readers.
|
|
371
|
-
If you are using the aria-hidden prop, make sure this is the right choice for your case.
|
|
372
|
-
`),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[d,p]=u;return d=typeof d=="string"?"'"+d+"'":d,p=p?", { "+Object.entries(p).map(h=>{let[f,m]=h;return f+": "+m}).join(", ")+" }":"",c+"("+d+p+")"}}}s(Ln,"makeSuggestion");function Fn(e,t,r){return r&&(!t||t.toLowerCase()===e.toLowerCase())}s(Fn,"canSuggest");function Jl(e,t,r){var n,o;if(t===void 0&&(t="get"),e.matches(je().defaultIgnore))return;let i=(n=e.getAttribute("role"))!=null?n:(o=Ff(e))==null?void 0:o[0];if(i!=="generic"&&Fn("Role",r,i))return Ln("Role",e,i,{variant:t,name:jf(e,{computedStyleSupportsPseudoElements:je().computedStyleSupportsPseudoElements})});let a=HE(document,e).map(h=>h.content).join(" ");if(Fn("LabelText",r,a))return Ln("LabelText",e,a,{variant:t});let l=e.getAttribute("placeholder");if(Fn("PlaceholderText",r,l))return Ln("PlaceholderText",e,l,{variant:t});let u=xT(Cs(e));if(Fn("Text",r,u))return Ln("Text",e,u,{variant:t});if(Fn("DisplayValue",r,e.value))return Ln("DisplayValue",e,xT(e.value),{variant:t});let c=e.getAttribute("alt");if(Fn("AltText",r,c))return Ln("AltText",e,c,{variant:t});let d=e.getAttribute("title");if(Fn("Title",r,d))return Ln("Title",e,d,{variant:t});let p=e.getAttribute(je().testIdAttribute);if(Fn("TestId",r,p))return Ln("TestId",e,p,{variant:t})}s(Jl,"getSuggestedQuery");function Js(e,t){e.stack=t.stack.replace(t.message,e.message)}s(Js,"copyStackTrace");function Bq(e,t){let{container:r=$f(),timeout:n=je().asyncUtilTimeout,showOriginalStackTrace:o=je().showOriginalStackTrace,stackTraceError:i,interval:a=50,onTimeout:l=s(c=>(Object.defineProperty(c,"message",{value:je().getElementError(c.message,r).message}),c),"onTimeout"),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,d)=>{let p,h,f,m=!1,y="idle",g=setTimeout(P,n),b=Cc();if(b){let{unstable_advanceTimersWrapper:C}=je();for(T();!m;){if(!Cc()){let w=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||Js(w,i),d(w);return}if(await C(async()=>{jest.advanceTimersByTime(a)}),m)break;T()}}else{try{An(r)}catch(w){d(w);return}h=setInterval(S,a);let{MutationObserver:C}=DE(r);f=new C(S),f.observe(r,u),T()}function v(C,w){m=!0,clearTimeout(g),b||(clearInterval(h),f.disconnect()),C?d(C):c(w)}s(v,"onDone");function S(){if(Cc()){let C=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||Js(C,i),d(C)}else return T()}s(S,"checkRealTimersCallback");function T(){if(y!=="pending")try{let C=Cq(e);typeof(C==null?void 0:C.then)=="function"?(y="pending",C.then(w=>{y="resolved",v(null,w)},w=>{y="rejected",p=w})):v(null,C)}catch(C){p=C}}s(T,"checkCallback");function P(){let C;p?(C=p,!o&&C.name==="TestingLibraryElementError"&&Js(C,i)):(C=new Error("Timed out in waitFor."),o||Js(C,i)),v(l(C),null)}s(P,"handleTimeout")})}s(Bq,"waitFor");function Df(e,t){let r=new Error("STACK_TRACE_MESSAGE");return je().asyncWrapper(()=>Bq(e,{stackTraceError:r,...t}))}s(Df,"waitForWrapper");function qu(e,t){return je().getElementError(e,t)}s(qu,"getElementError");function ju(e,t){return qu(e+"\n\n(If this is intentional, then use the `*AllBy*` variant of the query (like `queryAllByText`, `getAllByText`, or `findAllByText`)).",t)}s(ju,"getMultipleElementsFoundError");function Xo(e,t,r,n){let{exact:o=!0,collapseWhitespace:i,trim:a,normalizer:l}=n===void 0?{}:n,u=o?Tn:Gi,c=Yo({collapseWhitespace:i,trim:a,normalizer:l});return Array.from(t.querySelectorAll("["+e+"]")).filter(d=>u(d.getAttribute(e),d,r,c))}s(Xo,"queryAllByAttribute");function KE(e,t,r,n){let o=Xo(e,t,r,n);if(o.length>1)throw ju("Found multiple elements by ["+e+"="+r+"]",t);return o[0]||null}s(KE,"queryByAttribute");function Ri(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=>qu(null,u).message).join(`
|
|
373
|
-
|
|
374
|
-
`);throw ju(t(r,...o)+`
|
|
375
|
-
|
|
376
|
-
Here are the matching elements:
|
|
377
|
-
|
|
378
|
-
`+l,r)}return a[0]||null}}s(Ri,"makeSingleQuery");function YE(e,t){return je().getElementError(`A better query is available, try this:
|
|
379
|
-
`+e.toString()+`
|
|
380
|
-
`,t)}s(YE,"getSuggestionError");function Bf(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 je().getElementError(t(r,...o),r);return a}}s(Bf,"makeGetAllQuery");function Ni(e){return(t,r,n,o)=>Df(()=>e(t,r,n),{container:t,...o})}s(Ni,"makeFindQuery");var qo=s((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=je().throwSuggestions}={}]=i.slice(-1);if(l&&u){let c=Jl(l,r);if(c&&!t.endsWith(c.queryName))throw YE(c.toString(),n)}return l},"wrapSingleQueryWithSuggestion"),Er=s((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=je().throwSuggestions}={}]=i.slice(-1);if(l.length&&u){let c=[...new Set(l.map(d=>{var p;return(p=Jl(d,r))==null?void 0:p.toString()}))];if(c.length===1&&!t.endsWith(Jl(l[0],r).queryName))throw YE(c[0],n)}return l},"wrapAllByQueryWithSuggestion");function Rn(e,t,r){let n=qo(Ri(e,t),e.name,"query"),o=Bf(e,r),i=Ri(o,t),a=qo(i,e.name,"get"),l=Er(o,e.name.replace("query","get"),"getAll"),u=Ni(Er(o,e.name,"findAll")),c=Ni(qo(i,e.name,"find"));return[n,l,a,u,c]}s(Rn,"buildQueries");var OQ=Object.freeze({__proto__:null,getElementError:qu,wrapAllByQueryWithSuggestion:Er,wrapSingleQueryWithSuggestion:qo,getMultipleElementsFoundError:ju,queryAllByAttribute:Xo,queryByAttribute:KE,makeSingleQuery:Ri,makeGetAllQuery:Bf,makeFindQuery:Ni,buildQueries:Rn});function Uq(e){return Array.from(e.querySelectorAll("label,input")).map(t=>({node:t,textToMatch:_d(t)})).filter(t=>{let{textToMatch:r}=t;return r!==null})}s(Uq,"queryAllLabels");var AQ=s(function(e,t,r){let{exact:n=!0,trim:o,collapseWhitespace:i,normalizer:a}=r===void 0?{}:r,l=n?Tn:Gi,u=Yo({collapseWhitespace:i,trim:o,normalizer:a});return Uq(e).filter(c=>{let{node:d,textToMatch:p}=c;return l(p,d,t,u)}).map(c=>{let{node:d}=c;return d})},"queryAllLabelsByText"),zl=s(function(e,t,r){let{selector:n="*",exact:o=!0,collapseWhitespace:i,trim:a,normalizer:l}=r===void 0?{}:r;An(e);let u=o?Tn:Gi,c=Yo({collapseWhitespace:i,trim:a,normalizer:l}),d=Array.from(e.querySelectorAll("*")).filter(p=>UE(p).length||p.hasAttribute("aria-labelledby")).reduce((p,h)=>{let f=HE(e,h,{selector:n});f.filter(y=>!!y.formControl).forEach(y=>{u(y.content,y.formControl,t,c)&&y.formControl&&p.push(y.formControl)});let m=f.filter(y=>!!y.content).map(y=>y.content);return u(m.join(" "),h,t,c)&&p.push(h),m.length>1&&m.forEach((y,g)=>{u(y,h,t,c)&&p.push(h);let b=[...m];b.splice(g,1),b.length>1&&u(b.join(" "),h,t,c)&&p.push(h)}),p},[]).concat(Xo("aria-label",e,t,{exact:o,normalizer:c}));return Array.from(new Set(d)).filter(p=>p.matches(n))},"queryAllByLabelText"),Ii=s(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=zl(e,t,...n);if(!i.length){let a=AQ(e,t,...n);if(a.length){let l=a.map(u=>Hq(e,u)).filter(u=>!!u);throw l.length?je().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(`
|
|
381
|
-
|
|
382
|
-
`),e):je().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 je().getElementError("Unable to find a label with the text of: "+t,e)}return i},"getAllByLabelText");function Hq(e,t){let r=t.getAttribute("for");if(!r)return null;let n=e.querySelector('[id="'+r+'"]');return n?n.tagName.toLowerCase():null}s(Hq,"getTagNameOfElementAssociatedWithLabelViaFor");var Vq=s((e,t)=>"Found multiple elements with the text of: "+t,"getMultipleError$7"),Jq=qo(Ri(zl,Vq),zl.name,"query"),zq=Ri(Ii,Vq),Wq=Ni(Er(Ii,Ii.name,"findAll")),Gq=Ni(qo(zq,Ii.name,"find")),Kq=Er(Ii,Ii.name,"getAll"),Yq=qo(zq,Ii.name,"get"),Xq=Er(zl,zl.name,"queryAll"),Gy=s(function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return An(t[0]),Xo("placeholder",...t)},"queryAllByPlaceholderText"),RQ=s((e,t)=>"Found multiple elements with the placeholder text of: "+t,"getMultipleError$6"),NQ=s((e,t)=>"Unable to find an element with the placeholder text of: "+t,"getMissingError$6"),Qq=Er(Gy,Gy.name,"queryAll"),[Zq,ej,tj,rj,nj]=Rn(Gy,RQ,NQ),Ky=s(function(e,t,r){let{selector:n="*",exact:o=!0,collapseWhitespace:i,trim:a,ignore:l=je().defaultIgnore,normalizer:u}=r===void 0?{}:r;An(e);let c=o?Tn:Gi,d=Yo({collapseWhitespace:i,trim:a,normalizer:u}),p=[];return typeof e.matches=="function"&&e.matches(n)&&(p=[e]),[...p,...Array.from(e.querySelectorAll(n))].filter(h=>!l||!h.matches(l)).filter(h=>c(Cs(h),h,t,d))},"queryAllByText"),IQ=s((e,t)=>"Found multiple elements with the text: "+t,"getMultipleError$5"),kQ=s(function(e,t,r){r===void 0&&(r={});let{collapseWhitespace:n,trim:o,normalizer:i,selector:a}=r,l=Yo({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."},"getMissingError$5"),oj=Er(Ky,Ky.name,"queryAll"),[ij,aj,sj,lj,uj]=Rn(Ky,IQ,kQ),Yy=s(function(e,t,r){let{exact:n=!0,collapseWhitespace:o,trim:i,normalizer:a}=r===void 0?{}:r;An(e);let l=n?Tn:Gi,u=Yo({collapseWhitespace:o,trim:i,normalizer:a});return Array.from(e.querySelectorAll("input,textarea,select")).filter(c=>c.tagName==="SELECT"?Array.from(c.options).filter(d=>d.selected).some(d=>l(Cs(d),d,t,u)):l(c.value,c,t,u))},"queryAllByDisplayValue"),MQ=s((e,t)=>"Found multiple elements with the display value: "+t+".","getMultipleError$4"),qQ=s((e,t)=>"Unable to find an element with the display value: "+t+".","getMissingError$4"),cj=Er(Yy,Yy.name,"queryAll"),[dj,pj,fj,hj,mj]=Rn(Yy,MQ,qQ),jQ=/^(img|input|area|.+-.+)$/i,Xy=s(function(e,t,r){return r===void 0&&(r={}),An(e),Xo("alt",e,t,r).filter(n=>jQ.test(n.tagName))},"queryAllByAltText"),$Q=s((e,t)=>"Found multiple elements with the alt text: "+t,"getMultipleError$3"),LQ=s((e,t)=>"Unable to find an element with the alt text: "+t,"getMissingError$3"),yj=Er(Xy,Xy.name,"queryAll"),[gj,bj,vj,wj,Ej]=Rn(Xy,$Q,LQ),FQ=s(e=>{var t;return e.tagName.toLowerCase()==="title"&&((t=e.parentElement)==null?void 0:t.tagName.toLowerCase())==="svg"},"isSvgTitle"),Qy=s(function(e,t,r){let{exact:n=!0,collapseWhitespace:o,trim:i,normalizer:a}=r===void 0?{}:r;An(e);let l=n?Tn:Gi,u=Yo({collapseWhitespace:o,trim:i,normalizer:a});return Array.from(e.querySelectorAll("[title], svg > title")).filter(c=>l(c.getAttribute("title"),c,t,u)||FQ(c)&&l(Cs(c),c,t,u))},"queryAllByTitle"),DQ=s((e,t)=>"Found multiple elements with the title: "+t+".","getMultipleError$2"),BQ=s((e,t)=>"Unable to find an element with the title: "+t+".","getMissingError$2"),Sj=Er(Qy,Qy.name,"queryAll"),[xj,Tj,Cj,_j,Pj]=Rn(Qy,DQ,BQ),Zy=s(function(e,t,r){let{hidden:n=je().defaultHidden,name:o,description:i,queryFallbacks:a=!1,selected:l,busy:u,checked:c,pressed:d,current:p,level:h,expanded:f,value:{now:m,min:y,max:g,text:b}={}}=r===void 0?{}:r;if(An(e),l!==void 0){var v;if(((v=Fr.roles.get(t))==null?void 0:v.props["aria-selected"])===void 0)throw new Error('"aria-selected" is not supported on role "'+t+'".')}if(u!==void 0){var S;if(((S=Fr.roles.get(t))==null?void 0:S.props["aria-busy"])===void 0)throw new Error('"aria-busy" is not supported on role "'+t+'".')}if(c!==void 0){var T;if(((T=Fr.roles.get(t))==null?void 0:T.props["aria-checked"])===void 0)throw new Error('"aria-checked" is not supported on role "'+t+'".')}if(d!==void 0){var P;if(((P=Fr.roles.get(t))==null?void 0:P.props["aria-pressed"])===void 0)throw new Error('"aria-pressed" is not supported on role "'+t+'".')}if(p!==void 0){var C;if(((C=Fr.roles.get(t))==null?void 0:C.props["aria-current"])===void 0)throw new Error('"aria-current" is not supported on role "'+t+'".')}if(h!==void 0&&t!=="heading")throw new Error('Role "'+t+'" cannot have "level" property.');if(m!==void 0){var w;if(((w=Fr.roles.get(t))==null?void 0:w.props["aria-valuenow"])===void 0)throw new Error('"aria-valuenow" is not supported on role "'+t+'".')}if(g!==void 0){var E;if(((E=Fr.roles.get(t))==null?void 0:E.props["aria-valuemax"])===void 0)throw new Error('"aria-valuemax" is not supported on role "'+t+'".')}if(y!==void 0){var _;if(((_=Fr.roles.get(t))==null?void 0:_.props["aria-valuemin"])===void 0)throw new Error('"aria-valuemin" is not supported on role "'+t+'".')}if(b!==void 0){var R;if(((R=Fr.roles.get(t))==null?void 0:R.props["aria-valuetext"])===void 0)throw new Error('"aria-valuetext" is not supported on role "'+t+'".')}if(f!==void 0){var N;if(((N=Fr.roles.get(t))==null?void 0:N.props["aria-expanded"])===void 0)throw new Error('"aria-expanded" is not supported on role "'+t+'".')}let q=new WeakMap;function L(O){return q.has(O)||q.set(O,zE(O)),q.get(O)}return s(L,"cachedIsSubtreeInaccessible"),Array.from(e.querySelectorAll(Oj(t))).filter(O=>{if(O.hasAttribute("role")){let k=O.getAttribute("role");if(a)return k.split(" ").filter(Boolean).some(G=>G===t);let[M]=k.split(" ");return M===t}return Ff(O).some(k=>k===t)}).filter(O=>{if(l!==void 0)return l===Aq(O);if(u!==void 0)return u===Rq(O);if(c!==void 0)return c===Nq(O);if(d!==void 0)return d===Iq(O);if(p!==void 0)return p===kq(O);if(f!==void 0)return f===Mq(O);if(h!==void 0)return h===qq(O);if(m!==void 0||g!==void 0||y!==void 0||b!==void 0){let M=!0;if(m!==void 0&&M&&(M=m===jq(O)),g!==void 0&&M&&(M=g===$q(O)),y!==void 0&&M&&(M=y===Lq(O)),b!==void 0){var k;M&&(M=Tn((k=Fq(O))!=null?k:null,O,b,G=>G))}return M}return!0}).filter(O=>o===void 0?!0:Tn(jf(O,{computedStyleSupportsPseudoElements:je().computedStyleSupportsPseudoElements}),O,o,k=>k)).filter(O=>i===void 0?!0:Tn(jE(O,{computedStyleSupportsPseudoElements:je().computedStyleSupportsPseudoElements}),O,i,k=>k)).filter(O=>n===!1?Mu(O,{isSubtreeInaccessible:L})===!1:!0)},"queryAllByRole");function Oj(e){var t;let r='*[role~="'+e+'"]',n=(t=Fr.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(",")}s(Oj,"makeRoleSelector");var Aj=s(e=>{let t="";return e===void 0?t="":typeof e=="string"?t=' and name "'+e+'"':t=" and name `"+e+"`",t},"getNameHint"),UQ=s(function(e,t,r){let{name:n}=r===void 0?{}:r;return'Found multiple elements with the role "'+t+'"'+Aj(n)},"getMultipleError$1"),HQ=s(function(e,t,r){let{hidden:n=je().defaultHidden,name:o,description:i}=r===void 0?{}:r;if(je()._disableExpensiveErrorDiagnostics)return'Unable to find role="'+t+'"'+Aj(o);let a="";Array.from(e.children).forEach(d=>{a+=GE(d,{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=(`
|
|
383
|
-
Here are the `+(n===!1?"accessible":"available")+` roles:
|
|
384
|
-
|
|
385
|
-
`+a.replace(/\n/g,`
|
|
386
|
-
`).replace(/\n\s\s\n/g,`
|
|
387
|
-
|
|
388
|
-
`)+`
|
|
389
|
-
`).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+"`",(`
|
|
390
|
-
Unable to find an `+(n===!1?"accessible ":"")+'element with the role "'+t+'"'+u+c+`
|
|
391
|
-
|
|
392
|
-
`+l).trim()},"getMissingError$1"),Rj=Er(Zy,Zy.name,"queryAll"),[Nj,Ij,kj,Mj,qj]=Rn(Zy,UQ,HQ),XE=s(()=>je().testIdAttribute,"getTestIdAttribute"),eg=s(function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return An(t[0]),Xo(XE(),...t)},"queryAllByTestId"),VQ=s((e,t)=>"Found multiple elements by: ["+XE()+'="'+t+'"]',"getMultipleError"),JQ=s((e,t)=>"Unable to find an element by: ["+XE()+'="'+t+'"]',"getMissingError"),jj=Er(eg,eg.name,"queryAll"),[$j,Lj,Fj,Dj,Bj]=Rn(eg,VQ,JQ),Pd=Object.freeze({__proto__:null,queryAllByLabelText:Xq,queryByLabelText:Jq,getAllByLabelText:Kq,getByLabelText:Yq,findAllByLabelText:Wq,findByLabelText:Gq,queryByPlaceholderText:Zq,queryAllByPlaceholderText:Qq,getByPlaceholderText:tj,getAllByPlaceholderText:ej,findAllByPlaceholderText:rj,findByPlaceholderText:nj,queryByText:ij,queryAllByText:oj,getByText:sj,getAllByText:aj,findAllByText:lj,findByText:uj,queryByDisplayValue:dj,queryAllByDisplayValue:cj,getByDisplayValue:fj,getAllByDisplayValue:pj,findAllByDisplayValue:hj,findByDisplayValue:mj,queryByAltText:gj,queryAllByAltText:yj,getByAltText:vj,getAllByAltText:bj,findAllByAltText:wj,findByAltText:Ej,queryByTitle:xj,queryAllByTitle:Sj,getByTitle:Cj,getAllByTitle:Tj,findAllByTitle:_j,findByTitle:Pj,queryByRole:Nj,queryAllByRole:Rj,getAllByRole:Ij,getByRole:kj,findAllByRole:Mj,findByRole:qj,queryByTestId:$j,queryAllByTestId:jj,getByTestId:Fj,getAllByTestId:Lj,findAllByTestId:Dj,findByTestId:Bj});function Od(e,t,r){return t===void 0&&(t=Pd),r===void 0&&(r={}),Object.keys(t).reduce((n,o)=>{let i=t[o];return n[o]=i.bind(null,e),n},r)}s(Od,"getQueriesForElement");var Uj=s(e=>!e||Array.isArray(e)&&!e.length,"isRemoved");function tg(e){if(Uj(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.")}s(tg,"initialCheck");async function Hj(e,t){let r=new Error("Timed out in waitForElementToBeRemoved.");if(typeof e!="function"){tg(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=s(()=>n.map(o=>o()).filter(Boolean),"callback")}return tg(e()),Df(()=>{let n;try{n=e()}catch(o){if(o.name==="TestingLibraryElementError")return;throw o}if(!Uj(n))throw r},t)}s(Hj,"waitForElementToBeRemoved");var TT={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}}},CT={doubleClick:"dblClick"};function ts(e,t){return je().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)})}s(ts,"fireEvent");function dl(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&&Vj(t,l),u!==void 0&&Object.defineProperty(t,"files",{configurable:!0,enumerable:!0,writable:!0,value:u}),Object.assign(t,c);let d=DE(t),p=d[o]||d.Event,h;if(typeof p=="function")h=new p(e,a);else{h=d.document.createEvent(o);let{bubbles:f,cancelable:m,detail:y,...g}=a;h.initEvent(e,f,m,y),Object.keys(g).forEach(b=>{h[b]=g[b]})}return["dataTransfer","clipboardData"].forEach(f=>{let m=a[f];typeof m=="object"&&(typeof d.DataTransfer=="function"?Object.defineProperty(h,f,{value:Object.getOwnPropertyNames(m).reduce((y,g)=>(Object.defineProperty(y,g,{value:m[g]}),y),new d.DataTransfer)}):Object.defineProperty(h,f,{value:m}))}),h}s(dl,"createEvent");Object.keys(TT).forEach(e=>{let{EventType:t,defaultInit:r}=TT[e],n=e.toLowerCase();dl[e]=(o,i)=>dl(n,o,i,{EventType:t,defaultInit:r}),ts[e]=(o,i)=>ts(o,dl[e](o,i))});function Vj(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")}s(Vj,"setNativeValue");Object.keys(CT).forEach(e=>{let t=CT[e];ts[e]=function(){return ts[t](...arguments)}});function Jj(e){return e.replace(/[ \t]*[\n][ \t]*/g,`
|
|
393
|
-
`)}s(Jj,"unindent");function zj(e){return dQ.default.compressToEncodedURIComponent(Jj(e))}s(zj,"encode");function Wj(e){return"https://testing-playground.com/#markup="+zj(e)}s(Wj,"getPlaygroundUrl");var zQ=s((e,t,r)=>Array.isArray(e)?e.forEach(n=>zy(n,t,r)):zy(e,t,r),"debug"),WQ=s(function(e){if(e===void 0&&(e=$f().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=Wj(e.innerHTML);return console.log(`Open this URL in your browser
|
|
394
|
-
|
|
395
|
-
`+t),t},"logTestingPlaygroundURL"),_T={debug:zQ,logTestingPlaygroundURL:WQ},GQ=typeof document<"u"&&document.body?Od(document.body,Pd,_T):Object.keys(Pd).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),_T);function Re(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}s(Re,"isElementType");function Mr(e){var t;if(Gj(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 ${Kj(e)}`)}s(Mr,"getWindow");function Gj(e){return e.nodeType===9}s(Gj,"isDocument");function Kj(e){return typeof e=="function"?`function ${e.name}`:e===null?"null":String(e)}s(Kj,"describe");function QE(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)})}s(QE,"readBlobText");function Uf(e,t){let r={...t,length:t.length,item:s(n=>r[n],"item"),[Symbol.iterator]:s(function*(){for(let n=0;n<r.length;n++)yield r[n]},"nextFile")};return r.constructor=e.FileList,e.FileList&&Object.setPrototypeOf(r,e.FileList.prototype),Object.freeze(r),r}s(Uf,"createFileList");function Kn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}s(Kn,"_define_property");var Yj=class{getAsFile(){return this.file}getAsString(t){typeof this.data=="string"&&t(this.data)}webkitGetAsEntry(){throw new Error("not implemented")}constructor(t,r){Kn(this,"kind",void 0),Kn(this,"type",void 0),Kn(this,"file",null),Kn(this,"data",void 0),typeof t=="string"?(this.kind="string",this.type=String(r),this.data=t):(this.kind="file",this.type=t.type,this.file=t)}};s(Yj,"DataTransferItemStub");var Xj=Yj,Qj=class extends Array{add(...t){let r=new Xj(t[0],t[1]);return this.push(r),r}clear(){this.splice(0,this.length)}remove(t){this.splice(t,1)}};s(Qj,"DataTransferItemListStub");var KQ=Qj;function zs(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}s(zs,"getTypeMatcher");function Zj(e){var t;return new(t=class{getData(r){var n;let o=(n=this.items.find(zs(r,!0)))!==null&&n!==void 0?n:this.items.find(zs(r,!1)),i="";return o==null||o.getAsString(a=>{i=a}),i}setData(r,n){let o=this.items.findIndex(zs(r,!0)),i=new Xj(n,r);o>=0?this.items.splice(o,1,i):this.items.push(i)}clearData(r){if(r){let n=this.items.findIndex(zs(r,!0));n>=0&&this.items.remove(n)}else this.items.clear()}get types(){let r=[];return this.files.length&&r.push("Files"),this.items.forEach(n=>r.push(n.type)),Object.freeze(r),r}setDragImage(){}constructor(){Kn(this,"dropEffect","none"),Kn(this,"effectAllowed","uninitialized"),Kn(this,"items",new KQ),Kn(this,"files",Uf(e,[]))}},s(t,"DataTransferStub"),t)}s(Zj,"createDataTransferStub");function Hf(e,t=[]){let r=typeof e.DataTransfer>"u"?Zj(e):new e.DataTransfer;return Object.defineProperty(r,"files",{get:s(()=>Uf(e,t),"get")}),r}s(Hf,"createDataTransfer");async function e$(e,t){return t.kind==="file"?t.getAsFile():new e.Blob([await new Promise(r=>t.getAsString(r))],{type:t.type})}s(e$,"getBlobFromDataTransferItem");function ZE(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}s(ZE,"_define_property");function e0(e,...t){var r;let n=Object.fromEntries(t.map(o=>[typeof o=="string"?"text/plain":o.type,Promise.resolve(o)]));return typeof e.ClipboardItem<"u"?new e.ClipboardItem(n):new(r=class{get types(){return Array.from(Object.keys(this.data))}async getType(o){let i=await this.data[o];if(!i)throw new Error(`${o} is not one of the available MIME types on this item.`);return i instanceof e.Blob?i:new e.Blob([i],{type:o})}constructor(o){ZE(this,"data",void 0),this.data=o}},s(r,"ClipboardItem"),r)(n)}s(e0,"createClipboardItem");var rs=Symbol("Manage ClipboardSub");function rg(e,t){var r;return Object.assign(new(r=class extends e.EventTarget{async read(){return Array.from(this.items)}async readText(){let n="";for(let o of this.items){let i=o.types.includes("text/plain")?"text/plain":o.types.find(a=>a.startsWith("text/"));i&&(n+=await o.getType(i).then(a=>QE(a,e.FileReader)))}return n}async write(n){this.items=n}async writeText(n){this.items=[e0(e,n)]}constructor(...n){super(...n),ZE(this,"items",[])}},s(r,"Clipboard"),r),{[rs]:t})}s(rg,"createClipboardStub");function Vf(e){return!!(e!=null&&e[rs])}s(Vf,"isClipboardStub");function t$(e){if(Vf(e.navigator.clipboard))return e.navigator.clipboard[rs];let t=Object.getOwnPropertyDescriptor(e.navigator,"clipboard"),r,n={resetClipboardStub:s(()=>{r=rg(e,n)},"resetClipboardStub"),detachClipboardStub:s(()=>{t?Object.defineProperty(e.navigator,"clipboard",t):Object.defineProperty(e.navigator,"clipboard",{value:void 0,configurable:!0})},"detachClipboardStub")};return r=rg(e,n),Object.defineProperty(e.navigator,"clipboard",{get:s(()=>r,"get"),configurable:!0}),r[rs]}s(t$,"attachClipboardStubToView");function r$(e){Vf(e.navigator.clipboard)&&e.navigator.clipboard[rs].resetClipboardStub()}s(r$,"resetClipboardStubOnView");function n$(e){Vf(e.navigator.clipboard)&&e.navigator.clipboard[rs].detachClipboardStub()}s(n$,"detachClipboardStubFromView");async function o$(e){let t=e.defaultView,r=t==null?void 0:t.navigator.clipboard,n=r&&await r.read();if(!n)throw new Error("The Clipboard API is unavailable.");let o=Hf(t);for(let i of n)for(let a of i.types)o.setData(a,await i.getType(a).then(l=>QE(l,t.FileReader)));return o}s(o$,"readDataTransferFromClipboard");async function t0(e,t){let r=Mr(e),n=r.navigator.clipboard,o=[];for(let i=0;i<t.items.length;i++){let a=t.items[i],l=await e$(r,a);o.push(e0(r,l))}if(!(n&&await n.write(o).then(()=>!0,()=>!1)))throw new Error("The Clipboard API is unavailable.")}s(t0,"writeDataTransferToClipboard");var Ad=globalThis;typeof Ad.afterEach=="function"&&Ad.afterEach(()=>{typeof globalThis.window<"u"&&r$(globalThis.window)});typeof Ad.afterAll=="function"&&Ad.afterAll(()=>{typeof globalThis.window<"u"&&n$(globalThis.window)});var i$=["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 Jf(e){return e.matches(i$)}s(Jf,"isFocusable");function a$(e){return new e.constructor(e.type,e)}s(a$,"cloneEvent");function _n(e){for(let r=e;r;r=r.parentElement)if(Re(r,["button","input","select","textarea","optgroup","option"])){if(r.hasAttribute("disabled"))return!0}else if(Re(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}s(_n,"isDisabled");function Ps(e){let t=e.activeElement;return t!=null&&t.shadowRoot?Ps(t.shadowRoot):_n(t)?e.ownerDocument?e.ownerDocument.body:e.body:t}s(Ps,"getActiveElement");function _c(e){var t;return(t=Ps(e))!==null&&t!==void 0?t:e.body}s(_c,"getActiveElementOrBody");function s$(e,t){let r=e;do{if(t(r))return r;r=r.parentElement}while(r&&r!==e.ownerDocument.body)}s(s$,"findClosest");function Ho(e){return e.hasAttribute("contenteditable")&&(e.getAttribute("contenteditable")=="true"||e.getAttribute("contenteditable")=="")}s(Ho,"isContentEditable");function ns(e){let t=l$(e);return t&&(t.closest('[contenteditable=""]')||t.closest('[contenteditable="true"]'))}s(ns,"getContentEditable");function l$(e){return e.nodeType===1?e:e.parentElement}s(l$,"getElement");var u$=function(e){return e.button="button",e.color="color",e.file="file",e.image="image",e.reset="reset",e.submit="submit",e.checkbox="checkbox",e.radio="radio",e}(u$||{});function r0(e){return Re(e,"button")||Re(e,"input")&&e.type in u$}s(r0,"isClickableInput");function ki(e){return n0(e)&&!e.readOnly||Ho(e)}s(ki,"isEditable");var c$=function(e){return e.text="text",e.date="date",e["datetime-local"]="datetime-local",e.email="email",e.month="month",e.number="number",e.password="password",e.search="search",e.tel="tel",e.time="time",e.url="url",e.week="week",e}(c$||{});function n0(e){return Re(e,"textarea")||Re(e,"input")&&e.type in c$}s(n0,"isEditableInputOrTextArea");function cn(e){return o0(e)&&n0(e)}s(cn,"hasOwnSelection");function d$(e){return o0(e)&&r0(e)}s(d$,"hasNoSelection");function o0(e){return e.nodeType===1}s(o0,"isElement");function p$(e){let t=e.ownerDocument.getSelection();if(t!=null&&t.focusNode&&cn(e)){let n=ns(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)}}s(p$,"updateSelectionOnFocus");function Mi(e,t){return je().eventWrapper(e)}s(Mi,"wrapEvent");function ro(e){let t=s$(e,Jf),r=Ps(e.ownerDocument);(t??e.ownerDocument.body)!==r&&(Mi(t?()=>t.focus():()=>r==null?void 0:r.blur()),p$(t??e.ownerDocument.body))}s(ro,"focusElement");function f$(e){!Jf(e)||Ps(e.ownerDocument)!==e||Mi(()=>e.blur())}s(f$,"blurElement");var Vo={};Vo.click=(e,t,r)=>{let n=t.closest("button,input,label,select,textarea"),o=n&&Re(n,"label")&&n.control;if(o&&o!==t)return()=>{Jf(o)&&(ro(o),r.dispatchEvent(o,a$(e)))};if(Re(t,"input",{type:"file"}))return()=>{f$(t),t.dispatchEvent(new(Mr(t)).Event("fileDialog")),ro(t)}};var os=Symbol("Displayed value in UI"),Yn=Symbol("Displayed selection in UI"),Rd=Symbol("Initial value to compare on blur");function h$(e){return typeof e=="object"&&os in e}s(h$,"isUIValue");function m$(e){return!!e&&typeof e=="object"&&Yn in e}s(m$,"isUISelectionStart");function y$(e,t){e[Rd]===void 0&&(e[Rd]=e.value),e[os]=t,e.value=Object.assign(new String(t),{[os]:!0})}s(y$,"setUIValue");function dn(e){return e[os]===void 0?e.value:String(e[os])}s(dn,"getUIValue");function zf(e){e[os]=void 0}s(zf,"setUIValueClean");function i0(e){e[Rd]=void 0}s(i0,"clearInitialValue");function g$(e){return e[Rd]}s(g$,"getInitialValue");function b$(e,t){e[Yn]=t}s(b$,"setUISelectionRaw");function Ki(e,{focusOffset:t,anchorOffset:r=t},n="replace"){let o=dn(e).length,i=s(p=>Math.max(0,Math.min(o,p)),"sanitizeOffset"),a=n==="replace"||e[Yn]===void 0?i(r):e[Yn].anchorOffset,l=i(t),u=Math.min(a,l),c=Math.max(a,l);if(e[Yn]={anchorOffset:a,focusOffset:l},e.selectionStart===u&&e.selectionEnd===c)return;let d=Object.assign(new Number(u),{[Yn]:!0});try{e.setSelectionRange(d,c)}catch{}}s(Ki,"setUISelection");function is(e){var t,r,n;let o=(n=e[Yn])!==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)}}s(is,"getUISelection");function v$(e){return!!e[Yn]}s(v$,"hasUISelection");function pl(e){e[Yn]=void 0}s(pl,"setUISelectionClean");var Nd=globalThis.parseInt;function w$(e){let t=e.replace(/\D/g,"");if(t.length<2)return e;let r=Nd(t[0],10),n=Nd(t[1],10);if(r>=3||r===2&&n>=4){let o;return r>=3?o=1:o=2,ng(t,o)}return e.length===2?e:ng(t,2)}s(w$,"buildTimeValue");function ng(e,t){let r=e.slice(0,t),n=Math.min(Nd(r,10),23),o=e.slice(t),i=Nd(o,10),a=Math.min(i,59);return`${n.toString().padStart(2,"0")}:${a.toString().padStart(2,"0")}`}s(ng,"build");function a0(e,t){let r=e.cloneNode();return r.value=t,r.value===t}s(a0,"isValidDateOrTimeValue");var E$=function(e){return e.email="email",e.password="password",e.search="search",e.telephone="telephone",e.text="text",e.url="url",e}(E$||{});function S$(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}s(S$,"getMaxLength");function x$(e){return Re(e,"textarea")||Re(e,"input")&&e.type in E$}s(x$,"supportsMaxLength");function s0(e,t,r,n){if(fl(e)&&t+r>=0&&t+r<=e.nodeValue.length)return{node:e,offset:t+r};let o=og(e,t,r);if(o){if(fl(o))return{node:o,offset:r>0?Math.min(1,o.nodeValue.length):Math.max(o.nodeValue.length-1,0)};if(Re(o,"br")){let i=og(o,void 0,r);return i?fl(i)?{node:i,offset:r>0?0:i.nodeValue.length}:r<0&&Re(i,"br")?{node:o.parentNode,offset:Ws(o)}:{node:i.parentNode,offset:Ws(i)+(r>0?0:1)}:r<0&&n==="deleteContentBackward"?{node:o.parentNode,offset:Ws(o)}:void 0}else return{node:o.parentNode,offset:Ws(o)+(r>0?1:0)}}}s(s0,"getNextCursorPosition");function og(e,t,r){let n=Number(t)+(r<0?-1:0);return t!==void 0&&Wf(e)&&n>=0&&n<e.children.length&&(e=e.children[n]),C$(e,r===1?"next":"previous",T$)}s(og,"getNextCharacterContentNode");function T$(e){if(fl(e))return!0;if(Wf(e)){if(Re(e,["input","textarea"]))return e.type!=="hidden";if(Re(e,"br"))return!0}return!1}s(T$,"isTreatedAsCharacterContent");function Ws(e){let t=0;for(;e.previousSibling;)t++,e=e.previousSibling;return t}s(Ws,"getOffset");function Wf(e){return e.nodeType===1}s(Wf,"isElement");function fl(e){return e.nodeType===3}s(fl,"isTextNode");function C$(e,t,r){for(;;){var n;let o=e[`${t}Sibling`];if(o){if(e=_$(o,t==="next"?"first":"last"),r(e))return e}else if(e.parentNode&&(!Wf(e.parentNode)||!Ho(e.parentNode)&&e.parentNode!==((n=e.ownerDocument)===null||n===void 0?void 0:n.body)))e=e.parentNode;else break}}s(C$,"walkNodes");function _$(e,t){for(;e.hasChildNodes();)e=e[`${t}Child`];return e}s(_$,"getDescendant");var Wl=Symbol("Track programmatic changes for React workaround");function P$(e){return Object.getOwnPropertyNames(e).some(t=>t.startsWith("__react"))&&Mr(e).REACT_VERSION===17}s(P$,"isReact17Element");function O$(e){P$(e)&&(e[Wl]={previousValue:String(e.value),tracked:[]})}s(O$,"startTrackValue");function A$(e,t){var r,n;(n=e[Wl])===null||n===void 0||(r=n.tracked)===null||r===void 0||r.push(t),e[Wl]||(zf(e),Ki(e,{focusOffset:t.length}))}s(A$,"trackOrSetValue");function R$(e,t){var r;let n=e[Wl];if(e[Wl]=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||zf(e),v$(e)&&Ki(e,{focusOffset:o?t:e.value.length})}s(R$,"commitValueAfterInput");function l0(e){let t=N$(e);if(t&&cn(t))return{type:"input",selection:is(t)};let r=t==null?void 0:t.ownerDocument.getSelection();return{type:ns(e)&&(r!=null&&r.anchorNode)&&ns(r.anchorNode)?"contenteditable":"default",selection:r}}s(l0,"getTargetTypeAndSelection");function N$(e){return e.nodeType===1?e:e.parentElement}s(N$,"getElement");function I$(e){let t=l0(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)}}s(I$,"getInputRange");function Jo({focusNode:e,focusOffset:t,anchorNode:r=e,anchorOffset:n=t}){var o,i;if(l0(e).type==="input")return Ki(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)}s(Jo,"setSelection");function u0(e){return Re(e,"input")&&["date","time"].includes(e.type)}s(u0,"isDateOrTime");function qi(e,t,r,n="insertText"){let o=I$(t);o&&(!u0(t)&&!e.dispatchUIEvent(t,"beforeinput",{inputType:n,data:r})||("startContainer"in o?k$(e,t,o,r,n):M$(e,t,o,r,n)))}s(qi,"input");function k$(e,t,r,n,o){let i=!1;if(!r.collapsed)i=!0,r.deleteContents();else if(["deleteContentBackward","deleteContentForward"].includes(o)){let a=s0(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})}s(k$,"editContenteditable");function M$(e,t,r,n,o){let i=n;if(x$(t)){let c=S$(t);if(c!==void 0&&n.length>0){let d=c-t.value.length;if(d>0)i=n.substring(0,d);else return}}let{newValue:a,newOffset:l,oldValue:u}=q$(i,t,r,o);a===u&&l===r.startOffset&&l===r.endOffset||Re(t,"input",{type:"number"})&&!j$(a)||(y$(t,a),Jo({focusNode:t,anchorOffset:l,focusOffset:l}),u0(t)?a0(t,a)&&(ig(e,t,l,{}),e.dispatchUIEvent(t,"change"),i0(t)):ig(e,t,l,{data:n,inputType:o}))}s(M$,"editInputElement");function q$(e,t,{startOffset:r,endOffset:n},o){let i=dn(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),d=`${l}${e}${c}`,p=a+e.length;if(Re(t,"input",{type:"time"})){let h=w$(d);h!==""&&a0(t,h)&&(d=h,p=h.length)}return{oldValue:i,newValue:d,newOffset:p}}s(q$,"calculateNewValue");function ig(e,t,r,n){e.dispatchUIEvent(t,"input",n),R$(t,r)}s(ig,"commitInput");function j$(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]))}s(j$,"isValidNumberInput");Vo.cut=(e,t,r)=>()=>{ki(t)&&qi(r,t,"","deleteByCut")};function $$(e){return e?Ho(e)?e.textContent:dn(e):null}s($$,"getValueOrTextContent");function L$(e){let t=Mr(e);for(let r=e;r!=null&&r.ownerDocument;r=r.parentElement){let{display:n,visibility:o}=t.getComputedStyle(r);if(n==="none"||o==="hidden")return!1}return!0}s(L$,"isVisible");function F$(e,t){let r=e.ownerDocument,n=r.querySelectorAll(i$),o=Array.from(n).filter(u=>u===e||!(Number(u.getAttribute("tabindex"))<0||_n(u)));Number(e.getAttribute("tabindex"))>=0&&o.sort((u,c)=>{let d=Number(u.getAttribute("tabindex")),p=Number(c.getAttribute("tabindex"));return d===p?0:d===0?1:p===0?-1:d-p});let i={},a=[r.body],l=Re(e,"input",{type:"radio"})?e.name:void 0;o.forEach(u=>{let c=u;if(Re(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(d=>!Re(d,"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||L$(a[u]))return a[u]}s(F$,"getTabDestination");function ag(e,t){if(cn(e)){let r=is(e);Jo({focusNode:e,focusOffset:r.startOffset===r.endOffset?r.focusOffset+t:t<0?r.startOffset:r.endOffset})}else{let r=e.ownerDocument.getSelection();if(!(r!=null&&r.focusNode))return;if(r.isCollapsed){let n=s0(r.focusNode,r.focusOffset,t);n&&Jo({focusNode:n.node,focusOffset:n.offset})}else r[t<0?"collapseToStart":"collapseToEnd"]()}}s(ag,"moveSelection");function c0(e){if(cn(e))return Jo({focusNode:e,anchorOffset:0,focusOffset:dn(e).length});var t;let r=(t=ns(e))!==null&&t!==void 0?t:e.ownerDocument.body;Jo({focusNode:r,anchorOffset:0,focusOffset:r.childNodes.length})}s(c0,"selectAll");function D$(e){if(cn(e))return is(e).startOffset===0&&is(e).endOffset===dn(e).length;var t;let r=(t=ns(e))!==null&&t!==void 0?t:e.ownerDocument.body,n=e.ownerDocument.getSelection();return(n==null?void 0:n.anchorNode)===r&&n.focusNode===r&&n.anchorOffset===0&&n.focusOffset===r.childNodes.length}s(D$,"isAllSelected");function Ea(e,t,r){var n;if(cn(e))return Jo({focusNode:e,anchorOffset:t,focusOffset:r});if(Ho(e)&&((n=e.firstChild)===null||n===void 0?void 0:n.nodeType)===3)return Jo({focusNode:e.firstChild,anchorOffset:t,focusOffset:r});throw new Error("Not implemented. The result of this interaction is unreliable.")}s(Ea,"setSelectionRange");function Gs(e,t,r){let n=Mr(t),o=Array.from(t.ownerDocument.querySelectorAll(t.name?`input[type="radio"][name="${n.CSS.escape(t.name)}"]`:'input[type="radio"][name=""], input[type="radio"]:not([name])'));for(let i=o.findIndex(a=>a===t)+r;;i+=r){if(o[i]||(i=r>0?0:o.length-1),o[i]===t)return;if(!_n(o[i])){ro(o[i]),e.dispatchUIEvent(o[i],"click");return}}}s(Gs,"walkRadio");Vo.keydown=(e,t,r)=>{var n,o;return(o=(n=PT[e.key])===null||n===void 0?void 0:n.call(PT,e,t,r))!==null&&o!==void 0?o:YQ(e,t,r)};var PT={ArrowDown:s((e,t,r)=>{if(Re(t,"input",{type:"radio"}))return()=>Gs(r,t,1)},"ArrowDown"),ArrowLeft:s((e,t,r)=>Re(t,"input",{type:"radio"})?()=>Gs(r,t,-1):()=>ag(t,-1),"ArrowLeft"),ArrowRight:s((e,t,r)=>Re(t,"input",{type:"radio"})?()=>Gs(r,t,1):()=>ag(t,1),"ArrowRight"),ArrowUp:s((e,t,r)=>{if(Re(t,"input",{type:"radio"}))return()=>Gs(r,t,-1)},"ArrowUp"),Backspace:s((e,t,r)=>{if(ki(t))return()=>{qi(r,t,"","deleteContentBackward")}},"Backspace"),Delete:s((e,t,r)=>{if(ki(t))return()=>{qi(r,t,"","deleteContentForward")}},"Delete"),End:s((e,t)=>{if(Re(t,["input","textarea"])||Ho(t))return()=>{var r,n;let o=(n=(r=$$(t))===null||r===void 0?void 0:r.length)!==null&&n!==void 0?n:0;Ea(t,o,o)}},"End"),Home:s((e,t)=>{if(Re(t,["input","textarea"])||Ho(t))return()=>{Ea(t,0,0)}},"Home"),PageDown:s((e,t)=>{if(Re(t,["input"]))return()=>{let r=dn(t).length;Ea(t,r,r)}},"PageDown"),PageUp:s((e,t)=>{if(Re(t,["input"]))return()=>{Ea(t,0,0)}},"PageUp"),Tab:s((e,t,r)=>()=>{let n=F$(t,r.system.keyboard.modifiers.Shift);ro(n),cn(n)&&Ki(n,{anchorOffset:0,focusOffset:n.value.length})},"Tab")},YQ=s((e,t,r)=>{if(e.code==="KeyA"&&r.system.keyboard.modifiers.Control)return()=>c0(t)},"combinationBehavior");Vo.keypress=(e,t,r)=>{if(e.key==="Enter"){if(Re(t,"button")||Re(t,"input")&&XQ.includes(t.type)||Re(t,"a")&&t.href)return()=>{r.dispatchUIEvent(t,"click")};if(Re(t,"input")){let n=t.form,o=n==null?void 0:n.querySelector('input[type="submit"], button:not([type]), button[type="submit"]');return o?()=>r.dispatchUIEvent(o,"click"):n&&QQ.includes(t.type)&&n.querySelectorAll("input").length===1?()=>r.dispatchUIEvent(n,"submit"):void 0}}if(ki(t)){let n=e.key==="Enter"?Ho(t)&&!r.system.keyboard.modifiers.Shift?"insertParagraph":"insertLineBreak":"insertText",o=e.key==="Enter"?`
|
|
396
|
-
`:e.key;return()=>qi(r,t,o,n)}};var XQ=["button","color","file","image","reset","submit"],QQ=["email","month","password","search","tel","text","url","week"];Vo.keyup=(e,t,r)=>{var n;return(n=OT[e.key])===null||n===void 0?void 0:n.call(OT,e,t,r)};var OT={" ":s((e,t,r)=>{if(r0(t))return()=>r.dispatchUIEvent(t,"click")}," ")};Vo.paste=(e,t,r)=>{if(ki(t))return()=>{var n;let o=(n=e.clipboardData)===null||n===void 0?void 0:n.getData("text");o&&qi(r,t,o,"insertFromPaste")}};var B$={auxclick:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},beforeinput:{EventType:"InputEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},blur:{EventType:"FocusEvent",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},click:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},contextmenu:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},copy:{EventType:"ClipboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},change:{EventType:"Event",defaultInit:{bubbles:!0,cancelable:!1}},cut:{EventType:"ClipboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},dblclick:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},focus:{EventType:"FocusEvent",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},focusin:{EventType:"FocusEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},focusout:{EventType:"FocusEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},keydown:{EventType:"KeyboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},keypress:{EventType:"KeyboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},keyup:{EventType:"KeyboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},paste:{EventType:"ClipboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},input:{EventType:"InputEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},mousedown:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseenter:{EventType:"MouseEvent",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},mouseleave:{EventType:"MouseEvent",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},mousemove:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseout:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseover:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseup:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerover:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerenter:{EventType:"PointerEvent",defaultInit:{bubbles:!1,cancelable:!1}},pointerdown:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointermove:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerup:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointercancel:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},pointerout:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerleave:{EventType:"PointerEvent",defaultInit:{bubbles:!1,cancelable:!1}},submit:{EventType:"Event",defaultInit:{bubbles:!0,cancelable:!0}}};function d0(e){return B$[e].EventType}s(d0,"getEventClass");var ZQ=["MouseEvent","PointerEvent"];function U$(e){return ZQ.includes(d0(e))}s(U$,"isMouseEvent");function H$(e){return d0(e)==="KeyboardEvent"}s(H$,"isKeyboardEvent");var eZ={ClipboardEvent:[J$],Event:[],FocusEvent:[da,z$],InputEvent:[da,W$],MouseEvent:[da,Pc,sg],PointerEvent:[da,Pc,sg,K$],KeyboardEvent:[da,Pc,G$]};function p0(e,t,r){let n=Mr(t),{EventType:o,defaultInit:i}=B$[e],a=new(V$(n))[o](e,i);return eZ[o].forEach(l=>l(a,r??{})),a}s(p0,"createEvent");function V$(e){var t,r,n,o,i,a,l,u,c,d,p,h,f,m,y,g;let b=(g=e.Event)!==null&&g!==void 0?g:(t=class{},s(t,"Event"),t);var v;let S=(v=e.AnimationEvent)!==null&&v!==void 0?v:(r=class extends b{},s(r,"AnimationEvent"),r);var T;let P=(T=e.ClipboardEvent)!==null&&T!==void 0?T:(n=class extends b{},s(n,"ClipboardEvent"),n);var C;let w=(C=e.PopStateEvent)!==null&&C!==void 0?C:(o=class extends b{},s(o,"PopStateEvent"),o);var E;let _=(E=e.ProgressEvent)!==null&&E!==void 0?E:(i=class extends b{},s(i,"ProgressEvent"),i);var R;let N=(R=e.TransitionEvent)!==null&&R!==void 0?R:(a=class extends b{},s(a,"TransitionEvent"),a);var q;let L=(q=e.UIEvent)!==null&&q!==void 0?q:(l=class extends b{},s(l,"UIEvent"),l);var O;let k=(O=e.CompositionEvent)!==null&&O!==void 0?O:(u=class extends L{},s(u,"CompositionEvent"),u);var M;let G=(M=e.FocusEvent)!==null&&M!==void 0?M:(c=class extends L{},s(c,"FocusEvent"),c);var V;let oe=(V=e.InputEvent)!==null&&V!==void 0?V:(d=class extends L{},s(d,"InputEvent"),d);var fe;let te=(fe=e.KeyboardEvent)!==null&&fe!==void 0?fe:(p=class extends L{},s(p,"KeyboardEvent"),p);var Y;let Q=(Y=e.MouseEvent)!==null&&Y!==void 0?Y:(h=class extends L{},s(h,"MouseEvent"),h);var re;let ce=(re=e.DragEvent)!==null&&re!==void 0?re:(f=class extends Q{},s(f,"DragEvent"),f);var ie;let be=(ie=e.PointerEvent)!==null&&ie!==void 0?ie:(m=class extends Q{},s(m,"PointerEvent"),m);var we;let Ye=(we=e.TouchEvent)!==null&&we!==void 0?we:(y=class extends L{},s(y,"TouchEvent"),y);return{Event:b,AnimationEvent:S,ClipboardEvent:P,PopStateEvent:w,ProgressEvent:_,TransitionEvent:N,UIEvent:L,CompositionEvent:k,FocusEvent:G,InputEvent:oe,KeyboardEvent:te,MouseEvent:Q,DragEvent:ce,PointerEvent:be,TouchEvent:Ye}}s(V$,"getEventConstructors");function co(e,t){for(let[r,n]of Object.entries(t))Object.defineProperty(e,r,{get:s(()=>n??null,"get")})}s(co,"assignProps");function pt(e){return Number(e??0)}s(pt,"sanitizeNumber");function J$(e,{clipboardData:t}){co(e,{clipboardData:t})}s(J$,"initClipboardEvent");function z$(e,{relatedTarget:t}){co(e,{relatedTarget:t})}s(z$,"initFocusEvent");function W$(e,{data:t,inputType:r,isComposing:n}){co(e,{data:t,isComposing:!!n,inputType:String(r)})}s(W$,"initInputEvent");function da(e,{view:t,detail:r}){co(e,{view:t,detail:pt(r??0)})}s(da,"initUIEvent");function Pc(e,{altKey:t,ctrlKey:r,metaKey:n,shiftKey:o,modifierAltGraph:i,modifierCapsLock:a,modifierFn:l,modifierFnLock:u,modifierNumLock:c,modifierScrollLock:d,modifierSymbol:p,modifierSymbolLock:h}){co(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:d,Shift:o,Symbol:p,SymbolLock:h}[f]}})}s(Pc,"initUIEventModifiers");function G$(e,{key:t,code:r,location:n,repeat:o,isComposing:i,charCode:a}){co(e,{key:String(t),code:String(r),location:pt(n),repeat:!!o,isComposing:!!i,charCode:a})}s(G$,"initKeyboardEvent");function sg(e,{x:t,y:r,screenX:n,screenY:o,clientX:i=t,clientY:a=r,button:l,buttons:u,relatedTarget:c,offsetX:d,offsetY:p,pageX:h,pageY:f}){co(e,{screenX:pt(n),screenY:pt(o),clientX:pt(i),x:pt(i),clientY:pt(a),y:pt(a),button:pt(l),buttons:pt(u),relatedTarget:c,offsetX:pt(d),offsetY:pt(p),pageX:pt(h),pageY:pt(f)})}s(sg,"initMouseEvent");function K$(e,{pointerId:t,width:r,height:n,pressure:o,tangentialPressure:i,tiltX:a,tiltY:l,twist:u,pointerType:c,isPrimary:d}){co(e,{pointerId:pt(t),width:pt(r??1),height:pt(n??1),pressure:pt(o),tangentialPressure:pt(i),tiltX:pt(a),tiltY:pt(l),twist:pt(u),pointerType:String(c),isPrimary:!!d})}s(K$,"initPointerEvent");function Y$(e,t,r,n=!1){(U$(t)||H$(t))&&(r={...r,...this.system.getUIEventModifiers()});let o=p0(t,e,r);return f0.call(this,e,o,n)}s(Y$,"dispatchUIEvent");function f0(e,t,r=!1){var n;let o=t.type,i=r?()=>{}:(n=Vo[o])===null||n===void 0?void 0:n.call(Vo,t,e,this);if(i){t.preventDefault();let a=!1;return Object.defineProperty(t,"defaultPrevented",{get:s(()=>a,"get")}),Object.defineProperty(t,"preventDefault",{value:s(()=>{a=t.cancelable},"value")}),Mi(()=>e.dispatchEvent(t)),a||i(),!a}return Mi(()=>e.dispatchEvent(t))}s(f0,"dispatchEvent");function Co(e,t,r){let n=p0(t,e,r);Mi(()=>e.dispatchEvent(n))}s(Co,"dispatchDOMEvent");var AT=Symbol("patched focus/blur methods");function h0(e){if(e.prototype[AT])return;let{focus:t,blur:r}=e.prototype;Object.defineProperties(e.prototype,{focus:{configurable:!0,get:s(()=>o,"get")},blur:{configurable:!0,get:s(()=>i,"get")},[AT]:{configurable:!0,get:s(()=>({focus:t,blur:r}),"get")}});let n;function o(a){if(this.ownerDocument.visibilityState!=="hidden")return t.call(this,a);let l=lg(this.ownerDocument);if(l===this)return;let u=Symbol("focus call");n=u,l&&(r.call(l),Co(l,"blur",{relatedTarget:this}),Co(l,"focusout",{relatedTarget:n===u?this:null})),n===u&&(t.call(this,a),Co(this,"focus",{relatedTarget:l})),n===u&&Co(this,"focusin",{relatedTarget:l})}s(o,"patchedFocus");function i(){if(this.ownerDocument.visibilityState!=="hidden")return r.call(this);let a=lg(this.ownerDocument);a===this&&(n=Symbol("blur call"),r.call(this),Co(a,"blur",{relatedTarget:null}),Co(a,"focusout",{relatedTarget:null}))}s(i,"patchedBlur")}s(h0,"patchFocus");function lg(e){let t=Ps(e);return(t==null?void 0:t.tagName)==="BODY"?null:t}s(lg,"getActiveTarget");var Yh=Symbol("Interceptor for programmatical calls");function hi(e,t,r){let n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),o=Object.getOwnPropertyDescriptor(e,t),i=n!=null&&n.set?"set":"value";if(typeof(n==null?void 0:n[i])!="function"||n[i][Yh])throw new Error(`Element ${e.tagName} does not implement "${String(t)}".`);function a(...l){let{applyNative:u=!1,realArgs:c,then:d}=r.call(this,...l),p=(!u&&o||n)[i];i==="set"?p.call(this,c):p.call(this,...c),d==null||d()}s(a,"intercept"),a[Yh]=Yh,Object.defineProperty(e,t,{...o??n,[i]:a})}s(hi,"prepareInterceptor");function X$(e){hi(e,"value",s(function(t){let r=h$(t);return r&&O$(this),{applyNative:!!r,realArgs:Q$(this,t),then:r?void 0:()=>A$(this,String(t))}},"interceptorImpl"))}s(X$,"prepareValueInterceptor");function Q$(e,t){return Re(e,"input",{type:"number"})&&String(t)!==""&&!Number.isNaN(Number(t))?String(Number(t)):String(t)}s(Q$,"sanitizeValue");function Z$(e){hi(e,"setSelectionRange",s(function(t,...r){let n=m$(t);return{applyNative:!!n,realArgs:[Number(t),...r],then:s(()=>n?void 0:pl(e),"then")}},"interceptorImpl")),hi(e,"selectionStart",s(function(t){return{realArgs:t,then:s(()=>pl(e),"then")}},"interceptorImpl")),hi(e,"selectionEnd",s(function(t){return{realArgs:t,then:s(()=>pl(e),"then")}},"interceptorImpl")),hi(e,"select",s(function(){return{realArgs:[],then:s(()=>b$(e,{anchorOffset:0,focusOffset:dn(e).length}),"then")}},"interceptorImpl"))}s(Z$,"prepareSelectionInterceptor");function eL(e){hi(e,"setRangeText",s(function(...t){return{realArgs:t,then:s(()=>{zf(e),pl(e)},"then")}},"interceptorImpl"))}s(eL,"prepareRangeTextInterceptor");var Ra=Symbol("Node prepared with document state workarounds");function m0(e){e[Ra]||(e.addEventListener("focus",t=>{let r=t.target;ug(r)},{capture:!0,passive:!0}),e.activeElement&&ug(e.activeElement),e.addEventListener("blur",t=>{let r=t.target,n=g$(r);n!==void 0&&(r.value!==n&&Co(r,"change"),i0(r))},{capture:!0,passive:!0}),e[Ra]=Ra)}s(m0,"prepareDocument");function ug(e){e[Ra]||(Re(e,["input","textarea"])&&(X$(e),Z$(e),eL(e)),e[Ra]=Ra)}s(ug,"prepareElement");function tL(e){return rL(e)?e:e.ownerDocument}s(tL,"getDocumentFromNode");function rL(e){return e.nodeType===9}s(rL,"isDocument");var Pr=function(e){return e[e.Trigger=2]="Trigger",e[e.Call=1]="Call",e}({});function Sa(e,t){e.levelRefs[t]={}}s(Sa,"setLevelRef");function Ks(e,t){return e.levelRefs[t]}s(Ks,"getLevelRef");function ji(e){let t=e.delay;if(typeof t=="number")return Promise.all([new Promise(r=>globalThis.setTimeout(()=>r(),t)),e.advanceTimers(t)])}s(ji,"wait");var Oc=function(e){return e[e.EachTrigger=4]="EachTrigger",e[e.EachApiCall=2]="EachApiCall",e[e.EachTarget=1]="EachTarget",e[e.Never=0]="Never",e}({});function Eo(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}s(Eo,"_define_property");var fn=function(e){return e[e.STANDARD=0]="STANDARD",e[e.LEFT=1]="LEFT",e[e.RIGHT=2]="RIGHT",e[e.NUMPAD=3]="NUMPAD",e}({}),tZ=["Alt","AltGraph","Control","Fn","Meta","Shift","Symbol"];function cg(e){return tZ.includes(e)}s(cg,"isModifierKey");var rZ=["CapsLock","FnLock","NumLock","ScrollLock","SymbolLock"];function dg(e){return rZ.includes(e)}s(dg,"isModifierLock");var nL=class{isKeyPressed(t){return this.pressed.has(String(t.code))}getPressedKeys(){return this.pressed.values().map(t=>t.keyDef)}async keydown(t,r){let n=String(r.key),o=String(r.code),i=_c(t.config.document);this.setKeydownTarget(i),this.pressed.add(o,r),cg(n)&&(this.modifiers[n]=!0);let a=t.dispatchUIEvent(i,"keydown",{key:n,code:o});dg(n)&&!this.modifiers[n]&&(this.modifiers[n]=!0,this.modifierLockStart[n]=!0),a&&this.pressed.setUnprevented(o),a&&this.hasKeyPress(n)&&t.dispatchUIEvent(_c(t.config.document),"keypress",{key:n,code:o,charCode:r.key==="Enter"?13:String(r.key).charCodeAt(0)})}async keyup(t,r){let n=String(r.key),o=String(r.code),i=this.pressed.isUnprevented(o);this.pressed.delete(o),cg(n)&&!this.pressed.values().find(a=>a.keyDef.key===n)&&(this.modifiers[n]=!1),t.dispatchUIEvent(_c(t.config.document),"keyup",{key:n,code:o},!i),dg(n)&&this.modifiers[n]&&(this.modifierLockStart[n]?this.modifierLockStart[n]=!1:this.modifiers[n]=!1)}setKeydownTarget(t){t!==this.lastKeydownTarget&&(this.carryChar=""),this.lastKeydownTarget=t}hasKeyPress(t){return(t.length===1||t==="Enter")&&!this.modifiers.Control&&!this.modifiers.Alt}constructor(t){Eo(this,"system",void 0),Eo(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}),Eo(this,"pressed",new class{add(r,n){var o,i,a;(a=(o=this.registry)[i=r])!==null&&a!==void 0||(o[i]={keyDef:n,unpreventedDefault:!1})}has(r){return!!this.registry[r]}setUnprevented(r){let n=this.registry[r];n&&(n.unpreventedDefault=!0)}isUnprevented(r){var n;return!!(!((n=this.registry[r])===null||n===void 0)&&n.unpreventedDefault)}delete(r){delete this.registry[r]}values(){return Object.values(this.registry)}constructor(){Eo(this,"registry",{})}}),Eo(this,"carryChar",""),Eo(this,"lastKeydownTarget",void 0),Eo(this,"modifierLockStart",{}),this.system=t}};s(nL,"KeyboardHost");var nZ=nL,oZ=[..."0123456789".split("").map(e=>({code:`Digit${e}`,key:e})),...")!@#$%^&*(".split("").map((e,t)=>({code:`Digit${t}`,key:e,shiftKey:!0})),..."abcdefghijklmnopqrstuvwxyz".split("").map(e=>({code:`Key${e.toUpperCase()}`,key:e})),..."ABCDEFGHIJKLMNOPQRSTUVWXYZ".split("").map(e=>({code:`Key${e}`,key:e,shiftKey:!0})),{code:"BracketLeft",key:"["},{code:"BracketLeft",key:"{",shiftKey:!0},{code:"BracketRight",key:"]"},{code:"BracketRight",key:"}",shiftKey:!0},{code:"Space",key:" "},{code:"AltLeft",key:"Alt",location:fn.LEFT},{code:"AltRight",key:"Alt",location:fn.RIGHT},{code:"ShiftLeft",key:"Shift",location:fn.LEFT},{code:"ShiftRight",key:"Shift",location:fn.RIGHT},{code:"ControlLeft",key:"Control",location:fn.LEFT},{code:"ControlRight",key:"Control",location:fn.RIGHT},{code:"MetaLeft",key:"Meta",location:fn.LEFT},{code:"MetaRight",key:"Meta",location:fn.RIGHT},{code:"OSLeft",key:"OS",location:fn.LEFT},{code:"OSRight",key:"OS",location:fn.RIGHT},{code:"ContextMenu",key:"ContextMenu"},{code:"Tab",key:"Tab"},{code:"CapsLock",key:"CapsLock"},{code:"Backspace",key:"Backspace"},{code:"Enter",key:"Enter"},{code:"Escape",key:"Escape"},{code:"ArrowUp",key:"ArrowUp"},{code:"ArrowDown",key:"ArrowDown"},{code:"ArrowLeft",key:"ArrowLeft"},{code:"ArrowRight",key:"ArrowRight"},{code:"Home",key:"Home"},{code:"End",key:"End"},{code:"Delete",key:"Delete"},{code:"PageUp",key:"PageUp"},{code:"PageDown",key:"PageDown"},{code:"Fn",key:"Fn"},{code:"Symbol",key:"Symbol"},{code:"AltRight",key:"AltGraph"}],iZ=[{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 oL(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}s(oL,"_define_property");var iL=class{getButtons(){let t=0;for(let r of Object.keys(this.pressed))t|=2**Number(r);return t}down(t){let r=Id(t.button);if(r in this.pressed){this.pressed[r].push(t);return}return this.pressed[r]=[t],r}up(t){let r=Id(t.button);if(r in this.pressed&&(this.pressed[r]=this.pressed[r].filter(n=>n.name!==t.name),this.pressed[r].length===0))return delete this.pressed[r],r}constructor(){oL(this,"pressed",{})}};s(iL,"Buttons");var aL=iL,RT={primary:0,secondary:1,auxiliary:2,back:3,X1:3,forward:4,X2:4};function Id(e=0){return e in RT?RT[e]:Number(e)}s(Id,"getMouseButtonId");var NT={1:2,2:1};function kd(e){return e=Id(e),e in NT?NT[e]:e}s(kd,"getMouseEventButton");function sL(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}s(sL,"_define_property");var lL=class{get countPressed(){return this.pressedKeys.size}isPressed(t){return this.pressedKeys.has(t.name)}addPressed(t){return this.pressedKeys.add(t.name)}removePressed(t){return this.pressedKeys.delete(t.name)}constructor(){sL(this,"pressedKeys",new Set)}};s(lL,"Device");var aZ=lL;function Na(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)]}s(Na,"getTreeDiff");function Md({target:e,node:t,offset:r}){return cn(e)?{node:e,offset:r??dn(e).length}:t?{node:t,offset:r??(t.nodeType===3?t.nodeValue.length:t.childNodes.length)}:y0(e,r)}s(Md,"resolveCaretPosition");function y0(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 y0(i,t,!1);if(i.nodeType===3)return{node:i,offset:t??i.nodeValue.length}}n+=o}return{node:e,offset:e.childNodes.length}}s(y0,"findNodeAtTextOffset");function uL({document:e,target:t,clickCount:r,node:n,offset:o}){if(d$(t))return;let i=cn(t),a=String(i?dn(t):t.textContent),[l,u]=n?[o,o]:cL(a,o,r);if(i)return Ki(t,{anchorOffset:l??a.length,focusOffset:u??a.length}),{node:t,start:l??0,end:u??a.length};{let{node:c,offset:d}=Md({target:t,node:n,offset:l}),{node:p,offset:h}=Md({target:t,node:n,offset:u}),f=t.ownerDocument.createRange();try{f.setStart(c,d),f.setEnd(p,h)}catch{throw new Error("The given offset is out of bounds.")}let m=e.getSelection();return m==null||m.removeAllRanges(),m==null||m.addRange(f.cloneRange()),f}}s(uL,"setSelectionPerMouseDown");function cL(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]}s(cL,"getTextRange");function dL(e,{document:t,target:r,node:n,offset:o}){let i=Md({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;Ki(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==null||u.removeAllRanges(),u==null||u.addRange(a.cloneRange())}}s(dL,"modifySelectionPerMouseMove");function g0(e,t){var r,n,o,i,a,l,u,c,d,p,h,f,m,y,g,b,v,S,T,P,C,w,E,_;return e.target!==t.target||((r=e.coords)===null||r===void 0?void 0:r.x)!==((n=t.coords)===null||n===void 0?void 0:n.x)||((o=e.coords)===null||o===void 0?void 0:o.y)!==((i=t.coords)===null||i===void 0?void 0:i.y)||((a=e.coords)===null||a===void 0?void 0:a.clientX)!==((l=t.coords)===null||l===void 0?void 0:l.clientX)||((u=e.coords)===null||u===void 0?void 0:u.clientY)!==((c=t.coords)===null||c===void 0?void 0:c.clientY)||((d=e.coords)===null||d===void 0?void 0:d.offsetX)!==((p=t.coords)===null||p===void 0?void 0:p.offsetX)||((h=e.coords)===null||h===void 0?void 0:h.offsetY)!==((f=t.coords)===null||f===void 0?void 0:f.offsetY)||((m=e.coords)===null||m===void 0?void 0:m.pageX)!==((y=t.coords)===null||y===void 0?void 0:y.pageX)||((g=e.coords)===null||g===void 0?void 0:g.pageY)!==((b=t.coords)===null||b===void 0?void 0:b.pageY)||((v=e.coords)===null||v===void 0?void 0:v.screenX)!==((S=t.coords)===null||S===void 0?void 0:S.screenX)||((T=e.coords)===null||T===void 0?void 0:T.screenY)!==((P=t.coords)===null||P===void 0?void 0:P.screenY)||((C=e.caret)===null||C===void 0?void 0:C.node)!==((w=t.caret)===null||w===void 0?void 0:w.node)||((E=e.caret)===null||E===void 0?void 0:E.offset)!==((_=t.caret)===null||_===void 0?void 0:_.offset)}s(g0,"isDifferentPointerPosition");function So(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}s(So,"_define_property");var pL=class{move(t,r,n){let o=this.position,i=this.getTarget(t);if(this.position=r,!g0(o,r))return;let a=this.getTarget(t),l=this.getEventInit("mousemove"),[u,c]=Na(i,a);return{leave:s(()=>{i!==a&&(t.dispatchUIEvent(i,"mouseout",l),u.forEach(d=>t.dispatchUIEvent(d,"mouseleave",l)))},"leave"),enter:s(()=>{i!==a&&(t.dispatchUIEvent(a,"mouseover",l),c.forEach(d=>t.dispatchUIEvent(d,"mouseenter",l)))},"enter"),move:s(()=>{n||(t.dispatchUIEvent(a,"mousemove",l),this.modifySelecting(t))},"move")}}down(t,r,n){let o=this.buttons.down(r);if(o===void 0)return;let i=this.getTarget(t);this.buttonDownTarget[o]=i;let a=this.getEventInit("mousedown",r.button),l=_n(i);!n&&(l||t.dispatchUIEvent(i,"mousedown",a))&&(this.startSelecting(t,a.detail),ro(i)),!l&&kd(r.button)===2&&t.dispatchUIEvent(i,"contextmenu",this.getEventInit("contextmenu",r.button))}up(t,r,n){let o=this.buttons.up(r);if(o===void 0)return;let i=this.getTarget(t);if(!_n(i)){if(!n){let l=this.getEventInit("mouseup",r.button);t.dispatchUIEvent(i,"mouseup",l),this.endSelecting()}let a=Na(this.buttonDownTarget[o],i)[2][0];if(a){let l=this.getEventInit("click",r.button);l.detail&&(t.dispatchUIEvent(a,l.button===0?"click":"auxclick",l),l.button===0&&l.detail===2&&t.dispatchUIEvent(a,"dblclick",{...this.getEventInit("dblclick",r.button),detail:l.detail}))}}}resetClickCount(){this.clickCount.reset()}getEventInit(t,r){let n={...this.position.coords};return n.button=kd(r),n.buttons=this.buttons.getButtons(),t==="mousedown"?n.detail=this.clickCount.getOnDown(n.button):t==="mouseup"?n.detail=this.clickCount.getOnUp(n.button):(t==="click"||t==="auxclick")&&(n.detail=this.clickCount.incOnClick(n.button)),n}getTarget(t){var r;return(r=this.position.target)!==null&&r!==void 0?r:t.config.document.body}startSelecting(t,r){var n,o;this.selecting=uL({document:t.config.document,target:this.getTarget(t),node:(n=this.position.caret)===null||n===void 0?void 0:n.node,offset:(o=this.position.caret)===null||o===void 0?void 0:o.offset,clickCount:r})}modifySelecting(t){var r,n;this.selecting&&dL(this.selecting,{document:t.config.document,target:this.getTarget(t),node:(r=this.position.caret)===null||r===void 0?void 0:r.node,offset:(n=this.position.caret)===null||n===void 0?void 0:n.offset})}endSelecting(){this.selecting=void 0}constructor(){So(this,"position",{}),So(this,"buttons",new aL),So(this,"selecting",void 0),So(this,"buttonDownTarget",{}),So(this,"clickCount",new class{incOnClick(t){let r=this.down[t]===void 0?void 0:Number(this.down[t])+1;return this.count=this.count[t]===void 0?{}:{[t]:Number(this.count[t])+1},r}getOnDown(t){var r;this.down={[t]:(r=this.count[t])!==null&&r!==void 0?r:0};var n;return this.count={[t]:(n=this.count[t])!==null&&n!==void 0?n:0},Number(this.count[t])+1}getOnUp(t){return this.down[t]===void 0?void 0:Number(this.down[t])+1}reset(){this.count={}}constructor(){So(this,"down",{}),So(this,"count",{})}})}};s(pL,"Mouse");var sZ=pL;function Gl(e,t){var r;return((r=b0(e,t))===null||r===void 0?void 0:r.pointerEvents)!=="none"}s(Gl,"hasPointerEvents");function fL(e){let t=Mr(e);for(let r=e,n=[];r!=null&&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}}}s(fL,"closestPointerEventsDeclaration");var IT=Symbol("Last check for pointer-events");function b0(e,t){let r=t[IT];if(!(e.config.pointerEventsCheck!==Oc.Never&&(!r||pg(e.config.pointerEventsCheck,Oc.EachApiCall)&&r[Pr.Call]!==Ks(e,Pr.Call)||pg(e.config.pointerEventsCheck,Oc.EachTrigger)&&r[Pr.Trigger]!==Ks(e,Pr.Trigger))))return r==null?void 0:r.result;let n=fL(t);return t[IT]={[Pr.Call]:Ks(e,Pr.Call),[Pr.Trigger]:Ks(e,Pr.Trigger),result:n},n}s(b0,"checkPointerEvents");function xa(e,t){let r=b0(e,t);if((r==null?void 0:r.pointerEvents)==="none")throw new Error([`Unable to perform pointer interaction as the element ${r.tree.length>1?"inherits":"has"} \`pointer-events: none\`:`,"",hL(r.tree)].join(`
|
|
397
|
-
`))}s(xa,"assertPointerEvents");function hL(e){return e.reverse().map((t,r)=>["".padEnd(r),t.tagName,t.id&&`#${t.id}`,t.hasAttribute("data-testid")&&`(testId=${t.getAttribute("data-testid")})`,mL(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(`
|
|
398
|
-
`)}s(hL,"printTree");function mL(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(Re(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(Re(e,"button")){var i;r=(i=e.textContent)===null||i===void 0?void 0:i.trim()}return r=r==null?void 0:r.replace(/\n/g," "),Number(r==null?void 0:r.length)>30&&(r=`${r==null?void 0:r.substring(0,29)}…`),r?`(label=${r})`:""}s(mL,"getLabelDescr");function pg(e,t){return(e&t)>0}s(pg,"hasBitFlag");function yn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}s(yn,"_define_property");var yL=class{init(t){let r=this.getTarget(t),[,n]=Na(null,r),o=this.getEventInit();return xa(t,r),t.dispatchUIEvent(r,"pointerover",o),n.forEach(i=>t.dispatchUIEvent(i,"pointerenter",o)),this}move(t,r){let n=this.position,o=this.getTarget(t);if(this.position=r,!g0(n,r))return;let i=this.getTarget(t),a=this.getEventInit(-1),[l,u]=Na(o,i);return{leave:s(()=>{Gl(t,o)&&o!==i&&(t.dispatchUIEvent(o,"pointerout",a),l.forEach(c=>t.dispatchUIEvent(c,"pointerleave",a)))},"leave"),enter:s(()=>{xa(t,i),o!==i&&(t.dispatchUIEvent(i,"pointerover",a),u.forEach(c=>t.dispatchUIEvent(c,"pointerenter",a)))},"enter"),move:s(()=>{t.dispatchUIEvent(i,"pointermove",a)},"move")}}down(t,r=0){if(this.isDown)return;let n=this.getTarget(t);xa(t,n),this.isDown=!0,this.isPrevented=!t.dispatchUIEvent(n,"pointerdown",this.getEventInit(r))}up(t,r=0){if(!this.isDown)return;let n=this.getTarget(t);xa(t,n),this.isPrevented=!1,this.isDown=!1,t.dispatchUIEvent(n,"pointerup",this.getEventInit(r))}release(t){let r=this.getTarget(t),[n]=Na(r,null),o=this.getEventInit();Gl(t,r)&&(t.dispatchUIEvent(r,"pointerout",o),n.forEach(i=>t.dispatchUIEvent(i,"pointerleave",o))),this.isCancelled=!0}getTarget(t){var r;return(r=this.position.target)!==null&&r!==void 0?r:t.config.document.body}getEventInit(t){return{...this.position.coords,pointerId:this.pointerId,pointerType:this.pointerType,isPrimary:this.isPrimary,button:kd(t),buttons:this.buttons.getButtons()}}constructor({pointerId:t,pointerType:r,isPrimary:n},o){yn(this,"pointerId",void 0),yn(this,"pointerType",void 0),yn(this,"isPrimary",void 0),yn(this,"buttons",void 0),yn(this,"isMultitouch",!1),yn(this,"isCancelled",!1),yn(this,"isDown",!1),yn(this,"isPrevented",!1),yn(this,"position",{}),this.pointerId=t,this.pointerType=r,this.isPrimary=n,this.isMultitouch=!n,this.buttons=o}};s(yL,"Pointer");var lZ=yL;function Dn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}s(Dn,"_define_property");var gL=class{isKeyPressed(t){return this.devices.get(t.pointerType).isPressed(t)}async press(t,r,n){this.devices.get(r.pointerType).addPressed(r),this.buttons.down(r);let o=this.getPointerName(r),i=r.pointerType==="touch"?this.pointers.new(o,r.pointerType,this.buttons):this.pointers.get(o);i.position=n,i.pointerType!=="touch"&&(this.mouse.position=n),i.pointerType==="touch"&&i.init(t),i.down(t,r.button),i.pointerType!=="touch"&&this.mouse.down(t,r,i.isPrevented)}async move(t,r,n){let o=this.pointers.get(r),i=o.move(t,n),a=o.pointerType==="touch"?void 0:this.mouse.move(t,n,o.isPrevented);i==null||i.leave(),a==null||a.leave(),i==null||i.enter(),a==null||a.enter(),i==null||i.move(),a==null||a.move()}async release(t,r,n){let o=this.devices.get(r.pointerType);o.removePressed(r),this.buttons.up(r);let i=this.pointers.get(this.getPointerName(r)),a=i.isPrevented;if(i.position=n,i.pointerType!=="touch"&&(this.mouse.position=n),o.countPressed===0&&i.up(t,r.button),i.pointerType==="touch"&&i.release(t),i.pointerType==="touch"&&!i.isMultitouch){let l=this.mouse.move(t,n,a);l==null||l.leave(),l==null||l.enter(),l==null||l.move(),this.mouse.down(t,r,a)}if(!i.isMultitouch){let l=this.mouse.move(t,n,a);l==null||l.leave(),l==null||l.enter(),l==null||l.move(),this.mouse.up(t,r,a)}}getPointerName(t){return t.pointerType==="touch"?t.name:t.pointerType}getPreviousPosition(t){return this.pointers.has(t)?this.pointers.get(t).position:void 0}resetClickCount(){this.mouse.resetClickCount()}getMouseTarget(t){var r;return(r=this.mouse.position.target)!==null&&r!==void 0?r:t.config.document.body}setMousePosition(t){this.mouse.position=t,this.pointers.get("mouse").position=t}constructor(t){Dn(this,"system",void 0),Dn(this,"mouse",void 0),Dn(this,"buttons",void 0),Dn(this,"devices",new class{get(r){var n,o,i;return(i=(n=this.registry)[o=r])!==null&&i!==void 0?i:n[o]=new aZ}constructor(){Dn(this,"registry",{})}}),Dn(this,"pointers",new class{new(r,n,o){let i=n!=="touch"||!Object.values(this.registry).some(a=>a.pointerType==="touch"&&!a.isCancelled);return i||Object.values(this.registry).forEach(a=>{a.pointerType===n&&!a.isCancelled&&(a.isMultitouch=!0)}),this.registry[r]=new lZ({pointerId:this.nextId++,pointerType:n,isPrimary:i},o),this.registry[r]}get(r){if(!this.has(r))throw new Error(`Trying to access pointer "${r}" which does not exist.`);return this.registry[r]}has(r){return r in this.registry}constructor(){Dn(this,"registry",{}),Dn(this,"nextId",1)}}),this.system=t,this.buttons=new aL,this.mouse=new sZ,this.pointers.new("mouse","mouse",this.buttons)}};s(gL,"PointerHost");var uZ=gL;function fg(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}s(fg,"_define_property");var bL=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(){fg(this,"keyboard",new nZ(this)),fg(this,"pointer",new uZ(this))}};s(bL,"System");var vL=bL;async function wL(e){let t=[];return this.config.skipHover||t.push({target:e}),t.push({keys:"[MouseLeft]",target:e}),this.pointer(t)}s(wL,"click");async function EL(e){return this.pointer([{target:e},"[MouseLeft][MouseLeft]"])}s(EL,"dblClick");async function SL(e){return this.pointer([{target:e},"[MouseLeft][MouseLeft][MouseLeft]"])}s(SL,"tripleClick");async function xL(e){return this.pointer({target:e})}s(xL,"hover");async function TL(e){return xa(this,this.system.pointer.getMouseTarget(this)),this.pointer({target:e.ownerDocument.body})}s(TL,"unhover");async function CL({shift:e}={}){return this.keyboard(e===!0?"{Shift>}{Tab}{/Shift}":e===!1?"[/ShiftLeft][/ShiftRight]{Tab}":"{Tab}")}s(CL,"tab");var v0=function(e){return e["{"]="}",e["["]="]",e}(v0||{});function w0(e,t){let r=0,n=e[r]in v0?e[r]:"";r+=n.length;let o=new RegExp(`^\\${n}{2}`).test(e)?"":n;return{type:o,...o===""?_L(e,r,t):PL(e,r,o,t)}}s(w0,"readNextDescriptor");function _L(e,t,r){let n=e[t];return E0(n,e,t,r),t+=n.length,{consumedLength:t,descriptor:n,releasePrevious:!1,releaseSelf:!0,repeat:1}}s(_L,"readPrintableChar");function PL(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];E0(u,e,t,n),t+=u.length;var c;let d=(c=(i=e.slice(t).match(/^>\d+/))===null||i===void 0?void 0:i[0])!==null&&c!==void 0?c:"";t+=d.length;let p=e[t]==="/"||!d&&e[t]===">"?e[t]:"";t+=p.length;let h=v0[r],f=e[t]===h?h:"";if(!f)throw new Error(S0([!d&&"repeat modifier",!p&&"release modifier",`"${h}"`].filter(Boolean).join(" or "),e[t],e,n));return t+=f.length,{consumedLength:t,descriptor:u,releasePrevious:!!a,repeat:d?Math.max(Number(d.substr(1)),1):1,releaseSelf:OL(p,d)}}s(PL,"readTag");function E0(e,t,r,n){if(!e)throw new Error(S0("key descriptor",t[r],t,n))}s(E0,"assertDescriptor");function OL(e,t){if(e)return e==="/";if(t)return!1}s(OL,"hasReleaseSelf");function S0(e,t,r,n){return`Expected ${e} but found "${t??""}" in "${r}"
|
|
399
|
-
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"}
|
|
400
|
-
for more information about how userEvent parses your input.`}s(S0,"getErrorMessage");function AL(e,t){let r=[];do{let{type:o,descriptor:i,consumedLength:a,releasePrevious:l,releaseSelf:u=!0,repeat:c}=w0(t,"keyboard");var n;let d=(n=e.find(p=>{if(o==="["){var h;return((h=p.code)===null||h===void 0?void 0:h.toLowerCase())===i.toLowerCase()}else if(o==="{"){var f;return((f=p.key)===null||f===void 0?void 0:f.toLowerCase())===i.toLowerCase()}return p.key===i}))!==null&&n!==void 0?n:{key:"Unknown",code:"Unknown",[o==="["?"code":"key"]:i};r.push({keyDef:d,releasePrevious:l,releaseSelf:u,repeat:c}),t=t.slice(a)}while(t);return r}s(AL,"parseKeyDef");async function RL(e){let t=AL(this.config.keyboardMap,e);for(let r=0;r<t.length;r++)await ji(this.config),await NL(this,t[r])}s(RL,"keyboard");async function NL(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 ji(e.config);n&&await i.keyboard.keyup(e,t)}}s(NL,"keyboardAction");async function IL(e){for(let t of e.system.keyboard.getPressedKeys())await e.system.keyboard.keyup(e,t)}s(IL,"releaseAllKeys");function x0(e){let t=cn(e)?{"text/plain":kL(e)}:{"text/plain":String(e.ownerDocument.getSelection())},r=Hf(Mr(e));for(let n in t)t[n]&&r.setData(n,t[n]);return r}s(x0,"copySelection");function kL(e){let t=is(e);return dn(e).substring(t.startOffset,t.endOffset)}s(kL,"readSelectedValueFromInput");async function ML(){let e=this.config.document;var t;let r=(t=e.activeElement)!==null&&t!==void 0?t:e.body,n=x0(r);if(n.items.length!==0)return this.dispatchUIEvent(r,"copy",{clipboardData:n})&&this.config.writeToClipboard&&await t0(e,n),n}s(ML,"copy");async function qL(){let e=this.config.document;var t;let r=(t=e.activeElement)!==null&&t!==void 0?t:e.body,n=x0(r);if(n.items.length!==0)return this.dispatchUIEvent(r,"cut",{clipboardData:n})&&this.config.writeToClipboard&&await t0(r.ownerDocument,n),n}s(qL,"cut");async function jL(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"?$L(t,e):e)!==null&&o!==void 0?o:await o$(t).catch(()=>{throw new Error("`userEvent.paste()` without `clipboardData` requires the `ClipboardAPI` to be available.")});this.dispatchUIEvent(n,"paste",{clipboardData:i})}s(jL,"paste");function $L(e,t){let r=Hf(Mr(e));return r.setData("text",t),r}s($L,"getClipboardDataFromString");function hg(e,t){let r=[];do{let{descriptor:n,consumedLength:o,releasePrevious:i,releaseSelf:a=!0}=w0(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}s(hg,"parseKeyDef");async function LL(e){let{pointerMap:t}=this.config,r=[];(Array.isArray(e)?e:[e]).forEach(n=>{typeof n=="string"?r.push(...hg(t,n)):"keys"in n?r.push(...hg(t,n.keys).map(o=>({...n,...o}))):r.push(n)});for(let n=0;n<r.length;n++)await ji(this.config),await FL(this,r[n]);this.system.pointer.resetClickCount()}s(LL,"pointer");async function FL(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 d={target:(a=t.target)!==null&&a!==void 0?a:DL(e,i),coords:(l=t.coords)!==null&&l!==void 0?l:i==null?void 0:i.coords,caret:{node:(u=t.node)!==null&&u!==void 0?u:mg(t)||i==null||(r=i.caret)===null||r===void 0?void 0:r.node,offset:(c=t.offset)!==null&&c!==void 0?c:mg(t)||i==null||(n=i.caret)===null||n===void 0?void 0:n.offset}};"keyDef"in t?(e.system.pointer.isKeyPressed(t.keyDef)&&(Sa(e,Pr.Trigger),await e.system.pointer.release(e,t.keyDef,d)),t.releasePrevious||(Sa(e,Pr.Trigger),await e.system.pointer.press(e,t.keyDef,d),t.releaseSelf&&(Sa(e,Pr.Trigger),await e.system.pointer.release(e,t.keyDef,d)))):(Sa(e,Pr.Trigger),await e.system.pointer.move(e,o,d))}s(FL,"pointerAction");function mg(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)}s(mg,"hasCaretPosition");function DL(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}s(DL,"getPrevTarget");async function BL(e){if(!ki(e)||_n(e))throw new Error("clear()` is only supported on editable elements.");if(ro(e),e.ownerDocument.activeElement!==e)throw new Error("The element to be cleared could not be focused.");if(c0(e),!D$(e))throw new Error("The element content to be cleared could not be selected.");qi(this,e,"","deleteContentBackward")}s(BL,"clear");async function UL(e,t){return T0.call(this,!0,e,t)}s(UL,"selectOptions");async function HL(e,t){return T0.call(this,!1,e,t)}s(HL,"deselectOptions");async function T0(e,t,r){if(!e&&!t.multiple)throw je().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 je().getElementError(`Value "${String(l)}" not found in options`,t)}}).filter(l=>!_n(l));if(_n(t)||!i.length)return;let a=s(l=>{l.selected=e,this.dispatchUIEvent(t,"input",{bubbles:!0,cancelable:!1,composed:!0}),this.dispatchUIEvent(t,"change")},"selectOption");if(Re(t,"select"))if(t.multiple)for(let l of i){let u=this.config.pointerEventsCheck===0?!0:Gl(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")),ro(t),u&&(this.dispatchUIEvent(l,"pointerup"),this.dispatchUIEvent(l,"mouseup")),a(l),u&&this.dispatchUIEvent(l,"click"),await ji(this.config)}else if(i.length===1){let l=this.config.pointerEventsCheck===0?!0:Gl(this,t);l?await this.click(t):ro(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 ji(this.config)}else throw je().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 je().getElementError("Cannot select options on elements that are neither select nor listbox elements",t)}s(T0,"selectOptionsBase");async function VL(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&&Ea(e,o,i??o),await this.keyboard(t),n||await IL(this))}s(VL,"type");var kT=Symbol("files and value properties are mocked");function Ac(e,t,r){r?Object.defineProperty(e,t,r):delete e[t]}s(Ac,"restoreProperty");function JL(e,t){var r;(r=e[kT])===null||r===void 0||r.restore();let n=Object.getOwnPropertyDescriptor(e,"type"),o=Object.getOwnPropertyDescriptor(e,"value"),i=Object.getOwnPropertyDescriptor(e,"files");function a(){Ac(e,"type",n),Ac(e,"value",o),Ac(e,"files",i)}s(a,"restore"),e[kT]={restore:a},Object.defineProperties(e,{files:{configurable:!0,get:s(()=>t,"get")},value:{configurable:!0,get:s(()=>t.length?`C:\\fakepath\\${t[0].name}`:"","get"),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:s(()=>"file","get"),set(l){l!=="file"&&(a(),e.type=l)}}})}s(JL,"setFiles");async function zL(e,t){let r=Re(e,"label")?e.control:e;if(!r||!Re(r,"input",{type:"file"}))throw new TypeError(`The ${r===e?"given":"associated"} ${r==null?void 0:r.tagName} element does not accept file uploads`);if(_n(e))return;let n=(Array.isArray(t)?t:[t]).filter(i=>!this.config.applyAccept||WL(i,r.accept)).slice(0,r.multiple?void 0:1),o=s(()=>{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))})||(JL(r,Uf(Mr(e),n)),this.dispatchUIEvent(r,"input"),this.dispatchUIEvent(r,"change"))},"fileDialog");r.addEventListener("fileDialog",o),await this.click(e),r.removeEventListener("fileDialog",o)}s(zL,"upload");function Ys(e){return e.toLowerCase().replace(/(\.|\/)jpg\b/g,"$1jpeg")}s(Ys,"normalize");function WL(e,t){if(!t)return!0;let r=["audio/*","image/*","video/*"];return Ys(t).trim().split(/\s*,\s*/).some(n=>n.startsWith(".")?Ys(e.name).endsWith(n):r.includes(n)?Ys(e.type).startsWith(n.replace("*","")):Ys(e.type)===n)}s(WL,"isAcceptableFile");var MT={click:wL,dblClick:EL,tripleClick:SL,hover:xL,unhover:TL,tab:CL,keyboard:RL,copy:ML,cut:qL,paste:jL,pointer:LL,clear:BL,deselectOptions:HL,selectOptions:UL,type:VL,upload:zL};function GL(e){return je().asyncWrapper(e)}s(GL,"wrapAsync");var KL={applyAccept:!0,autoModify:!0,delay:0,document:globalThis.document,keyboardMap:oZ,pointerMap:iZ,pointerEventsCheck:Oc.EachApiCall,skipAutoClose:!1,skipClick:!1,skipHover:!1,writeToClipboard:!1,advanceTimers:s(()=>Promise.resolve(),"advanceTimers")},cZ={...KL,writeToClipboard:!0};function C0(e={},t=cZ,r){let n=ZL(e,r,t);return{...t,...e,document:n}}s(C0,"createConfig");function YL(e={}){let t=C0(e);m0(t.document),h0(Mr(t.document).HTMLElement);var r;let n=(r=t.document.defaultView)!==null&&r!==void 0?r:globalThis.window;return t$(n),Gf(t).api}s(YL,"setupMain");function Xt({keyboardState:e,pointerState:t,...r}={},n){let o=C0(r,KL,n);m0(o.document),h0(Mr(o.document).HTMLElement);var i;let a=(i=t??e)!==null&&i!==void 0?i:new vL;return{api:Gf(o,a).api,system:a}}s(Xt,"setupDirect");function XL(e){return Gf({...this.config,...e},this.system).api}s(XL,"setupSub");function QL(e,t){function r(...n){return Sa(e,Pr.Call),GL(()=>t.apply(e,n).then(async o=>(await ji(e.config),o)))}return s(r,"method"),Object.defineProperty(r,"name",{get:s(()=>t.name,"get")}),r}s(QL,"wrapAndBindImpl");function Gf(e,t=new vL){let r={};return Object.assign(r,{config:e,dispatchEvent:f0.bind(r),dispatchUIEvent:Y$.bind(r),system:t,levelRefs:{},...MT}),{instance:r,api:{...Object.fromEntries(Object.entries(MT).map(([n,o])=>[n,QL(r,o)])),setup:XL.bind(r)}}}s(Gf,"createInstance");function ZL(e,t,r){var n,o;return(o=(n=e.document)!==null&&n!==void 0?n:t&&tL(t))!==null&&o!==void 0?o:r.document}s(ZL,"getDocument");var eF={};fr(eF,{clear:()=>tF,click:()=>rF,copy:()=>nF,cut:()=>oF,dblClick:()=>iF,deselectOptions:()=>aF,hover:()=>sF,keyboard:()=>lF,paste:()=>cF,pointer:()=>uF,selectOptions:()=>dF,tab:()=>yF,tripleClick:()=>pF,type:()=>fF,unhover:()=>hF,upload:()=>mF});function tF(e){return Xt().api.clear(e)}s(tF,"clear");function rF(e,t={}){return Xt(t,e).api.click(e)}s(rF,"click");function nF(e={}){return Xt(e).api.copy()}s(nF,"copy");function oF(e={}){return Xt(e).api.cut()}s(oF,"cut");function iF(e,t={}){return Xt(t).api.dblClick(e)}s(iF,"dblClick");function aF(e,t,r={}){return Xt(r).api.deselectOptions(e,t)}s(aF,"deselectOptions");function sF(e,t={}){return Xt(t).api.hover(e)}s(sF,"hover");async function lF(e,t={}){let{api:r,system:n}=Xt(t);return r.keyboard(e).then(()=>n)}s(lF,"keyboard");async function uF(e,t={}){let{api:r,system:n}=Xt(t);return r.pointer(e).then(()=>n)}s(uF,"pointer");function cF(e,t){return Xt(t).api.paste(e)}s(cF,"paste");function dF(e,t,r={}){return Xt(r).api.selectOptions(e,t)}s(dF,"selectOptions");function pF(e,t={}){return Xt(t).api.tripleClick(e)}s(pF,"tripleClick");function fF(e,t,r={}){return Xt(r,e).api.type(e,t,r)}s(fF,"type");function hF(e,t={}){let{api:r,system:n}=Xt(t);return n.pointer.setMousePosition({target:e}),r.unhover(e)}s(hF,"unhover");function mF(e,t,r={}){return Xt(r).api.upload(e,t)}s(mF,"upload");function yF(e={}){return Xt().api.tab(e)}s(yF,"tab");var gF={...eF,setup:YL},yg=gs({...OM},{intercept:s((e,t)=>t[0]==="fireEvent"||e.startsWith("find")||e.startsWith("waitFor"),"intercept")});yg.screen=new Proxy(yg.screen,{get(e,t,r){return St.warn(tG`
|
|
401
|
-
You are using Testing Library's \`screen\` object. Use \`within(canvasElement)\` instead.
|
|
402
|
-
More info: https://storybook.js.org/docs/essentials/interactions
|
|
403
|
-
`),Reflect.get(e,t,r)}});var{buildQueries:dZ,configure:pZ,createEvent:fZ,fireEvent:hZ,findAllByAltText:mZ,findAllByDisplayValue:yZ,findAllByLabelText:gZ,findAllByPlaceholderText:bZ,findAllByRole:vZ,findAllByTestId:wZ,findAllByText:EZ,findAllByTitle:SZ,findByAltText:xZ,findByDisplayValue:TZ,findByLabelText:CZ,findByPlaceholderText:_Z,findByRole:PZ,findByTestId:OZ,findByText:AZ,findByTitle:RZ,getAllByAltText:NZ,getAllByDisplayValue:IZ,getAllByLabelText:kZ,getAllByPlaceholderText:MZ,getAllByRole:qZ,getAllByTestId:jZ,getAllByText:$Z,getAllByTitle:LZ,getByAltText:FZ,getByDisplayValue:DZ,getByLabelText:BZ,getByPlaceholderText:UZ,getByRole:HZ,getByTestId:VZ,getByText:JZ,getByTitle:zZ,getConfig:WZ,getDefaultNormalizer:GZ,getElementError:KZ,getNodeText:YZ,getQueriesForElement:XZ,getRoles:QZ,getSuggestedQuery:ZZ,isInaccessible:eee,logDOM:tee,logRoles:ree,prettyDOM:nee,queries:oee,queryAllByAltText:iee,queryAllByAttribute:aee,queryAllByDisplayValue:see,queryAllByLabelText:lee,queryAllByPlaceholderText:uee,queryAllByRole:cee,queryAllByTestId:dee,queryAllByText:pee,queryAllByTitle:fee,queryByAltText:hee,queryByAttribute:mee,queryByDisplayValue:yee,queryByLabelText:gee,queryByPlaceholderText:bee,queryByRole:vee,queryByTestId:wee,queryByText:Eee,queryByTitle:See,queryHelpers:xee,screen:Tee,waitFor:Cee,waitForElementToBeRemoved:_ee,within:bF,prettyFormat:Pee}=yg,vF=gF,{userEvent:Oee}=gs({userEvent:gF},{intercept:!0}),{expect:Aee}=gs({expect:_M},{getKeys:s((e,t)=>{if("constructor"in e&&e.constructor===D){let r=["assert","__methods","__flags","_obj"],n=Object.keys(Object.getPrototypeOf(e)).filter(o=>!r.includes(o));return t>2?n:[...n,"not"]}return"any"in e?Object.keys(e).filter(r=>r!=="any"):Object.keys(e)},"getKeys"),mutate:!0,intercept:s(e=>e!=="expect","intercept")}),qT=!1,Ree=s(e=>{var r;let{parameters:t}=e;(r=t==null?void 0:t.actions)!=null&&r.disable||qT||(SE((n,o)=>{let i=n.getMockName();i!=="spy"&&(!/^next\/.*::/.test(i)||["next/router::useRouter()","next/navigation::useRouter()","next/navigation::redirect","next/cache::","next/headers::cookies().set","next/headers::cookies().delete","next/headers::headers().set","next/headers::headers().delete"].some(a=>i.startsWith(a)))&&Os(i)(o)}),qT=!0)},"logActionsWhenMockCalled"),Nee=[Ree],jT=s(()=>({...V1,...z1}),"default"),qd="backgrounds",Iee={light:{name:"light",value:"#F8F8F8"},dark:{name:"dark",value:"#333"}},{document:tn}=globalThis,kee=s(()=>{var e;return globalThis!=null&&globalThis.matchMedia?!!((e=globalThis.matchMedia("(prefers-reduced-motion: reduce)"))!=null&&e.matches):!1},"isReduceMotionEnabled"),$T=s(e=>{(Array.isArray(e)?e:[e]).forEach(Mee)},"clearStyles"),Mee=s(e=>{if(!tn)return;let t=tn.getElementById(e);t&&t.parentElement&&t.parentElement.removeChild(t)},"clearStyle"),qee=s((e,t)=>{if(!tn)return;let r=tn.getElementById(e);if(r)r.innerHTML!==t&&(r.innerHTML=t);else{let n=tn.createElement("style");n.setAttribute("id",e),n.innerHTML=t,tn.head.appendChild(n)}},"addGridStyle"),jee=s((e,t,r)=>{var o;if(!tn)return;let n=tn.getElementById(e);if(n)n.innerHTML!==t&&(n.innerHTML=t);else{let i=tn.createElement("style");i.setAttribute("id",e),i.innerHTML=t;let a=`addon-backgrounds-grid${r?`-docs-${r}`:""}`,l=tn.getElementById(a);l?(o=l.parentElement)==null||o.insertBefore(i,l):tn.head.appendChild(i)}},"addBackgroundStyle"),$ee={cellSize:100,cellAmount:10,opacity:.8},LT="addon-backgrounds",FT="addon-backgrounds-grid",Lee=kee()?"":"transition: background-color 0.3s;",Fee=s((e,t)=>{let{globals:r={},parameters:n={},viewMode:o,id:i}=t,{options:a=Iee,disable:l,grid:u=$ee}=n[qd]||{},c=r[qd]||{},d=typeof c=="string"?c:c==null?void 0:c.value,p=d?a[d]:void 0,h=typeof p=="string"?p:(p==null?void 0:p.value)||"transparent",f=typeof c=="string"?!1:c.grid||!1,m=!!p&&!l,y=o==="docs"?`#anchor--${i} .docs-story`:".sb-show-main",g=o==="docs"?`#anchor--${i} .docs-story`:".sb-show-main",b=n.layout===void 0||n.layout==="padded",v=o==="docs"?20:b?16:0,{cellAmount:S,cellSize:T,opacity:P,offsetX:C=v,offsetY:w=v}=u,E=o==="docs"?`${LT}-docs-${i}`:`${LT}-color`,_=o==="docs"?i:null;Bo(()=>{let N=`
|
|
404
|
-
${y} {
|
|
405
|
-
background: ${h} !important;
|
|
406
|
-
${Lee}
|
|
407
|
-
}`;if(!m){$T(E);return}jee(E,N,_)},[y,E,_,m,h]);let R=o==="docs"?`${FT}-docs-${i}`:`${FT}`;return Bo(()=>{if(!f){$T(R);return}let N=[`${T*S}px ${T*S}px`,`${T*S}px ${T*S}px`,`${T}px ${T}px`,`${T}px ${T}px`].join(", "),q=`
|
|
408
|
-
${g} {
|
|
409
|
-
background-size: ${N} !important;
|
|
410
|
-
background-position: ${C}px ${w}px, ${C}px ${w}px, ${C}px ${w}px, ${C}px ${w}px !important;
|
|
411
|
-
background-blend-mode: difference !important;
|
|
412
|
-
background-image: linear-gradient(rgba(130, 130, 130, ${P}) 1px, transparent 1px),
|
|
413
|
-
linear-gradient(90deg, rgba(130, 130, 130, ${P}) 1px, transparent 1px),
|
|
414
|
-
linear-gradient(rgba(130, 130, 130, ${P/2}) 1px, transparent 1px),
|
|
415
|
-
linear-gradient(90deg, rgba(130, 130, 130, ${P/2}) 1px, transparent 1px) !important;
|
|
416
|
-
}
|
|
417
|
-
`;qee(R,q)},[S,T,g,R,f,C,w,P]),e()},"withBackgroundAndGrid"),O_,Dee=(O_=globalThis.FEATURES)!=null&&O_.backgrounds?[Fee]:[],Bee={[qd]:{grid:{cellSize:20,opacity:.5,cellAmount:5},disable:!1}},Uee={[qd]:{value:void 0,grid:!1}},DT=s(()=>({decorators:Dee,parameters:Bee,initialGlobals:Uee}),"default"),{step:Hee}=gs({step:s(async(e,t,r)=>t(r),"step")},{intercept:!0}),BT=s(()=>({parameters:{throwPlayFunctionExceptions:!1},runStep:Hee}),"default"),Kf="storybook/highlight",Vee=`${Kf}/add`,Jee=`${Kf}/remove`,zee=`${Kf}/reset`,Wee=`${Kf}/scroll-into-view`,UT=2147483647,_o=28,HT={chevronLeft:["M9.10355 10.1464C9.29882 10.3417 9.29882 10.6583 9.10355 10.8536C8.90829 11.0488 8.59171 11.0488 8.39645 10.8536L4.89645 7.35355C4.70118 7.15829 4.70118 6.84171 4.89645 6.64645L8.39645 3.14645C8.59171 2.95118 8.90829 2.95118 9.10355 3.14645C9.29882 3.34171 9.29882 3.65829 9.10355 3.85355L5.95711 7L9.10355 10.1464Z"],chevronRight:["M4.89645 10.1464C4.70118 10.3417 4.70118 10.6583 4.89645 10.8536C5.09171 11.0488 5.40829 11.0488 5.60355 10.8536L9.10355 7.35355C9.29882 7.15829 9.29882 6.84171 9.10355 6.64645L5.60355 3.14645C5.40829 2.95118 5.09171 2.95118 4.89645 3.14645C4.70118 3.34171 4.70118 3.65829 4.89645 3.85355L8.04289 7L4.89645 10.1464Z"],info:["M7 5.5a.5.5 0 01.5.5v4a.5.5 0 01-1 0V6a.5.5 0 01.5-.5zM7 4.5A.75.75 0 107 3a.75.75 0 000 1.5z","M7 14A7 7 0 107 0a7 7 0 000 14zm0-1A6 6 0 107 1a6 6 0 000 12z"],shareAlt:["M2 1.004a1 1 0 00-1 1v10a1 1 0 001 1h10a1 1 0 001-1v-4.5a.5.5 0 00-1 0v4.5H2v-10h4.5a.5.5 0 000-1H2z","M7.354 7.357L12 2.711v1.793a.5.5 0 001 0v-3a.5.5 0 00-.5-.5h-3a.5.5 0 100 1h1.793L6.646 6.65a.5.5 0 10.708.707z"]},Gee="svg,path,rect,circle,line,polyline,polygon,ellipse,text".split(","),Nt=s((e,t={},r)=>{let n=Gee.includes(e)?document.createElementNS("http://www.w3.org/2000/svg",e):document.createElement(e);return Object.entries(t).forEach(([o,i])=>{/[A-Z]/.test(o)?(o==="onClick"&&(n.addEventListener("click",i),n.addEventListener("keydown",a=>{(a.key==="Enter"||a.key===" ")&&(a.preventDefault(),i())})),o==="onMouseEnter"&&n.addEventListener("mouseenter",i),o==="onMouseLeave"&&n.addEventListener("mouseleave",i)):n.setAttribute(o,i)}),r==null||r.forEach(o=>{if(!(o==null||o===!1))try{n.appendChild(o)}catch{n.appendChild(document.createTextNode(String(o)))}}),n},"createElement"),Qu=s(e=>HT[e]&&Nt("svg",{width:"14",height:"14",viewBox:"0 0 14 14",xmlns:"http://www.w3.org/2000/svg"},HT[e].map(t=>Nt("path",{fill:"currentColor","fill-rule":"evenodd","clip-rule":"evenodd",d:t}))),"createIcon"),Kee=s(e=>{if("elements"in e){let{elements:n,color:o,style:i}=e;return{id:void 0,priority:0,selectors:n,styles:{outline:`2px ${i} ${o}`,outlineOffset:"2px",boxShadow:"0 0 0 6px rgba(255,255,255,0.6)"},menu:void 0}}let{menu:t,...r}=e;return{id:void 0,priority:0,styles:{outline:"2px dashed #029cfd"},...r,menu:Array.isArray(t)?t.every(Array.isArray)?t:[t]:void 0}},"normalizeOptions"),Yee=s(e=>e instanceof Function,"isFunction"),Fs=new Map,ni=new Map,Zu=new Map,qn=s(e=>{let t=Symbol();return ni.set(t,[]),Fs.set(t,e),{get:s(()=>Fs.get(t),"get"),set:s(r=>{var i;let n=Fs.get(t),o=Yee(r)?r(n):r;o!==n&&(Fs.set(t,o),(i=ni.get(t))==null||i.forEach(a=>{var l;(l=Zu.get(a))==null||l(),Zu.set(a,a(o))}))},"set"),subscribe:s(r=>{var n;return(n=ni.get(t))==null||n.push(r),()=>{let o=ni.get(t);o&&ni.set(t,o.filter(i=>i!==r))}},"subscribe"),teardown:s(()=>{var r;(r=ni.get(t))==null||r.forEach(n=>{var o;(o=Zu.get(n))==null||o(),Zu.delete(n)}),ni.delete(t),Fs.delete(t)},"teardown")}},"useStore"),VT=s(e=>{let t=document.getElementById("storybook-root"),r=new Map;for(let n of e){let{priority:o=0}=n;for(let i of n.selectors){let a=[...document.querySelectorAll(`:is(${i}):not([id^="storybook-"], [id^="storybook-"] *, [class^="sb-"], [class^="sb-"] *)`),...(t==null?void 0:t.querySelectorAll(i))||[]];for(let l of a){let u=r.get(l);(!u||u.priority<=o)&&r.set(l,{...n,priority:o,selectors:Array.from(new Set(((u==null?void 0:u.selectors)||[]).concat(i)))})}}}return r},"mapElements"),Xee=s(e=>Array.from(e.entries()).map(([t,{selectors:r,styles:n,hoverStyles:o,focusStyles:i,menu:a}])=>{let{top:l,left:u,width:c,height:d}=t.getBoundingClientRect(),{position:p}=getComputedStyle(t);return{element:t,selectors:r,styles:n,hoverStyles:o,focusStyles:i,menu:a,top:p==="fixed"?l:l+window.scrollY,left:p==="fixed"?u:u+window.scrollX,width:c,height:d}}).sort((t,r)=>r.width*r.height-t.width*t.height),"mapBoxes"),JT=s((e,t)=>{let r=e.getBoundingClientRect(),{x:n,y:o}=t;return(r==null?void 0:r.top)&&(r==null?void 0:r.left)&&n>=r.left&&n<=r.left+r.width&&o>=r.top&&o<=r.top+r.height},"isOverMenu"),zT=s((e,t,r)=>{if(!t||!r)return!1;let{left:n,top:o,width:i,height:a}=e;a<_o&&(o=o-Math.round((_o-a)/2),a=_o),i<_o&&(n=n-Math.round((_o-i)/2),i=_o),t.style.position==="fixed"&&(n+=window.scrollX,o+=window.scrollY);let{x:l,y:u}=r;return l>=n&&l<=n+i&&u>=o&&u<=o+a},"isTargeted"),Qee=s((e,t,r={})=>{let{x:n,y:o}=t,{margin:i=5,topOffset:a=0,centered:l=!1}=r,{scrollX:u,scrollY:c,innerHeight:d,innerWidth:p}=window,h=Math.min(e.style.position==="fixed"?o-c:o,d-e.clientHeight-i-a+c),f=l?e.clientWidth/2:0,m=e.style.position==="fixed"?Math.max(Math.min(n-u,p-f-i),f+i):Math.max(Math.min(n,p-f-i+u),f+i+u);Object.assign(e.style,{...m!==n&&{left:`${m}px`},...h!==o&&{top:`${h}px`}})},"keepInViewport"),WT=s(e=>{window.HTMLElement.prototype.hasOwnProperty("showPopover")&&e.showPopover()},"showPopover"),Zee=s(e=>{window.HTMLElement.prototype.hasOwnProperty("showPopover")&&e.hidePopover()},"hidePopover"),ete=s(e=>({top:e.top,left:e.left,width:e.width,height:e.height,selectors:e.selectors,element:{attributes:Object.fromEntries(Array.from(e.element.attributes).map(t=>[t.name,t.value])),localName:e.element.localName,tagName:e.element.tagName,outerHTML:e.element.outerHTML}}),"getEventDetails"),rt="storybook-highlights-menu",GT="storybook-highlights-root",tte="storybook-root",rte=s(e=>{if(globalThis.__STORYBOOK_HIGHLIGHT_INITIALIZED)return;globalThis.__STORYBOOK_HIGHLIGHT_INITIALIZED=!0;let{document:t}=globalThis,r=qn([]),n=qn(new Map),o=qn([]),i=qn(),a=qn(),l=qn([]),u=qn([]),c=qn(),d=qn(),p=t.getElementById(GT);r.subscribe(()=>{p||(p=Nt("div",{id:GT}),t.body.appendChild(p))}),r.subscribe(w=>{let E=t.getElementById(tte);if(!E)return;n.set(VT(w));let _=new MutationObserver(()=>n.set(VT(w)));return _.observe(E,{subtree:!0,childList:!0}),()=>{_.disconnect()}}),n.subscribe(w=>{let E=s(()=>requestAnimationFrame(()=>o.set(Xee(w))),"updateBoxes"),_=new ResizeObserver(E);_.observe(t.body),Array.from(w.keys()).forEach(N=>_.observe(N));let R=Array.from(t.body.querySelectorAll("*")).filter(N=>{let{overflow:q,overflowX:L,overflowY:O}=window.getComputedStyle(N);return["auto","scroll"].some(k=>[q,L,O].includes(k))});return R.forEach(N=>N.addEventListener("scroll",E)),()=>{_.disconnect(),R.forEach(N=>N.removeEventListener("scroll",E))}}),n.subscribe(w=>{let E=Array.from(w.keys()).filter(({style:R})=>R.position==="sticky"),_=s(()=>requestAnimationFrame(()=>{o.set(R=>R.map(N=>{if(E.includes(N.element)){let{top:q,left:L}=N.element.getBoundingClientRect();return{...N,top:q+window.scrollY,left:L+window.scrollX}}return N}))}),"updateBoxes");return t.addEventListener("scroll",_),()=>t.removeEventListener("scroll",_)}),n.subscribe(w=>{l.set(E=>E.filter(({element:_})=>w.has(_)))}),l.subscribe(w=>{w.length?(d.set(E=>w.some(_=>_.element===(E==null?void 0:E.element))?E:void 0),c.set(E=>w.some(_=>_.element===(E==null?void 0:E.element))?E:void 0)):(d.set(void 0),c.set(void 0),i.set(void 0))});let h=new Map(new Map);r.subscribe(w=>{w.forEach(({keyframes:E})=>{if(E){let _=h.get(E);_||(_=t.createElement("style"),_.setAttribute("data-highlight","keyframes"),h.set(E,_),t.head.appendChild(_)),_.innerHTML=E}}),h.forEach((E,_)=>{w.some(R=>R.keyframes===_)||(E.remove(),h.delete(_))})});let f=new Map(new Map);o.subscribe(w=>{w.forEach(E=>{let _=f.get(E.element);if(p&&!_){let R={popover:"manual","data-highlight-dimensions":`w${E.width.toFixed(0)}h${E.height.toFixed(0)}`,"data-highlight-coordinates":`x${E.left.toFixed(0)}y${E.top.toFixed(0)}`};_=p.appendChild(Nt("div",R,[Nt("div")])),f.set(E.element,_)}}),f.forEach((E,_)=>{w.some(({element:R})=>R===_)||(E.remove(),f.delete(_))})}),o.subscribe(w=>{let E=w.filter(R=>R.menu);if(!E.length)return;let _=s(R=>{requestAnimationFrame(()=>{let N=t.getElementById(rt),q={x:R.pageX,y:R.pageY};if(N&&!JT(N,q)){let L=E.filter(O=>{let k=f.get(O.element);return zT(O,k,q)});i.set(L.length?q:void 0),l.set(L)}})},"onClick");return t.addEventListener("click",_),()=>t.removeEventListener("click",_)});let m=s(()=>{let w=t.getElementById(rt),E=a.get();!E||w&&JT(w,E)||u.set(_=>{let R=o.get().filter(O=>{let k=f.get(O.element);return zT(O,k,E)}),N=_.filter(O=>R.includes(O)),q=R.filter(O=>!_.includes(O)),L=_.length-N.length;return q.length||L?[...N,...q]:_})},"updateHovered");a.subscribe(m),o.subscribe(m);let y=s(()=>{let w=d.get(),E=w?[w]:l.get(),_=E.length===1?E[0]:c.get(),R=i.get()!==void 0;o.get().forEach(N=>{var L;let q=f.get(N.element);if(q){let O=_===N,k=R?_?O:E.includes(N):(L=u.get())==null?void 0:L.includes(N);Object.assign(q.style,{animation:"none",background:"transparent",border:"none",boxSizing:"border-box",outline:"none",outlineOffset:"0px",...N.styles,...k?N.hoverStyles:{},...O?N.focusStyles:{},position:getComputedStyle(N.element).position==="fixed"?"fixed":"absolute",zIndex:UT-10,top:`${N.top}px`,left:`${N.left}px`,width:`${N.width}px`,height:`${N.height}px`,margin:0,padding:0,cursor:N.menu&&k?"pointer":"default",pointerEvents:N.menu?"auto":"none",display:"flex",alignItems:"center",justifyContent:"center",overflow:"visible"}),Object.assign(q.children[0].style,{width:"100%",height:"100%",minHeight:`${_o}px`,minWidth:`${_o}px`,boxSizing:"content-box",padding:q.style.outlineWidth||"0px"}),WT(q)}})},"updateBoxStyles");o.subscribe(y),l.subscribe(y),u.subscribe(y),c.subscribe(y),d.subscribe(y);let g=s(()=>{var N;if(!p)return;let w=t.getElementById(rt);if(w)w.innerHTML="";else{let q={id:rt,popover:"manual"};w=p.appendChild(Nt("div",q)),p.appendChild(Nt("style",{},[`
|
|
418
|
-
#${rt} {
|
|
419
|
-
position: absolute;
|
|
420
|
-
z-index: ${UT};
|
|
421
|
-
width: 300px;
|
|
422
|
-
padding: 0px;
|
|
423
|
-
margin: 15px 0 0 0;
|
|
424
|
-
transform: translateX(-50%);
|
|
425
|
-
font-family: "Nunito Sans", -apple-system, ".SFNSText-Regular", "San Francisco", BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
|
|
426
|
-
font-size: 12px;
|
|
427
|
-
background: white;
|
|
428
|
-
border: none;
|
|
429
|
-
border-radius: 6px;
|
|
430
|
-
box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.05), 0 5px 15px 0 rgba(0, 0, 0, 0.1);
|
|
431
|
-
color: #2E3438;
|
|
432
|
-
}
|
|
433
|
-
#${rt} ul {
|
|
434
|
-
list-style: none;
|
|
435
|
-
margin: 0;
|
|
436
|
-
padding: 0;
|
|
437
|
-
}
|
|
438
|
-
#${rt} > ul {
|
|
439
|
-
max-height: 300px;
|
|
440
|
-
overflow-y: auto;
|
|
441
|
-
padding: 4px 0;
|
|
442
|
-
}
|
|
443
|
-
#${rt} li {
|
|
444
|
-
padding: 0 4px;
|
|
445
|
-
margin: 0;
|
|
446
|
-
}
|
|
447
|
-
#${rt} li > :not(ul) {
|
|
448
|
-
display: flex;
|
|
449
|
-
padding: 8px;
|
|
450
|
-
margin: 0;
|
|
451
|
-
align-items: center;
|
|
452
|
-
gap: 8px;
|
|
453
|
-
border-radius: 4px;
|
|
454
|
-
}
|
|
455
|
-
#${rt} button {
|
|
456
|
-
width: 100%;
|
|
457
|
-
border: 0;
|
|
458
|
-
background: transparent;
|
|
459
|
-
color: inherit;
|
|
460
|
-
text-align: left;
|
|
461
|
-
font-family: inherit;
|
|
462
|
-
font-size: inherit;
|
|
463
|
-
}
|
|
464
|
-
#${rt} button:focus-visible {
|
|
465
|
-
outline-color: #029CFD;
|
|
466
|
-
}
|
|
467
|
-
#${rt} button:hover {
|
|
468
|
-
background: rgba(2, 156, 253, 0.07);
|
|
469
|
-
color: #029CFD;
|
|
470
|
-
cursor: pointer;
|
|
471
|
-
}
|
|
472
|
-
#${rt} li code {
|
|
473
|
-
white-space: nowrap;
|
|
474
|
-
overflow: hidden;
|
|
475
|
-
text-overflow: ellipsis;
|
|
476
|
-
line-height: 16px;
|
|
477
|
-
font-size: 11px;
|
|
478
|
-
}
|
|
479
|
-
#${rt} li svg {
|
|
480
|
-
flex-shrink: 0;
|
|
481
|
-
margin: 1px;
|
|
482
|
-
color: #73828C;
|
|
483
|
-
}
|
|
484
|
-
#${rt} li > button:hover svg, #${rt} li > button:focus-visible svg {
|
|
485
|
-
color: #029CFD;
|
|
486
|
-
}
|
|
487
|
-
#${rt} .element-list li svg {
|
|
488
|
-
display: none;
|
|
489
|
-
}
|
|
490
|
-
#${rt} li.selectable svg, #${rt} li.selected svg {
|
|
491
|
-
display: block;
|
|
492
|
-
}
|
|
493
|
-
#${rt} .menu-list {
|
|
494
|
-
border-top: 1px solid rgba(38, 85, 115, 0.15);
|
|
495
|
-
}
|
|
496
|
-
#${rt} .menu-list > li:not(:last-child) {
|
|
497
|
-
padding-bottom: 4px;
|
|
498
|
-
margin-bottom: 4px;
|
|
499
|
-
border-bottom: 1px solid rgba(38, 85, 115, 0.15);
|
|
500
|
-
}
|
|
501
|
-
#${rt} .menu-items, #${rt} .menu-items li {
|
|
502
|
-
padding: 0;
|
|
503
|
-
}
|
|
504
|
-
#${rt} .menu-item {
|
|
505
|
-
display: flex;
|
|
506
|
-
}
|
|
507
|
-
#${rt} .menu-item-content {
|
|
508
|
-
display: flex;
|
|
509
|
-
flex-direction: column;
|
|
510
|
-
flex-grow: 1;
|
|
511
|
-
}
|
|
512
|
-
`]))}let E=d.get(),_=E?[E]:l.get();if(_.length&&(w.style.position=getComputedStyle(_[0].element).position==="fixed"?"fixed":"absolute",w.appendChild(Nt("ul",{class:"element-list"},_.map(q=>{var M;let L=_.length>1&&!!((M=q.menu)!=null&&M.some(G=>G.some(V=>!V.selectors||V.selectors.some(oe=>q.selectors.includes(oe))))),O=L?{class:"selectable",onClick:s(()=>d.set(q),"onClick"),onMouseEnter:s(()=>c.set(q),"onMouseEnter"),onMouseLeave:s(()=>c.set(void 0),"onMouseLeave")}:E?{class:"selected",onClick:s(()=>d.set(void 0),"onClick")}:{},k=L||E;return Nt("li",O,[Nt(k?"button":"div",k?{type:"button"}:{},[E?Qu("chevronLeft"):null,Nt("code",{},[q.element.outerHTML]),L?Qu("chevronRight"):null])])})))),d.get()||l.get().length===1){let q=d.get()||l.get()[0],L=(N=q.menu)==null?void 0:N.filter(O=>O.some(k=>!k.selectors||k.selectors.some(M=>q.selectors.includes(M))));L!=null&&L.length&&w.appendChild(Nt("ul",{class:"menu-list"},L.map(O=>Nt("li",{},[Nt("ul",{class:"menu-items"},O.map(({id:k,title:M,description:G,iconLeft:V,iconRight:oe,clickEvent:fe})=>{let te=fe&&(()=>e.emit(fe,k,ete(q)));return Nt("li",{},[Nt(te?"button":"div",te?{class:"menu-item",type:"button",onClick:te}:{class:"menu-item"},[V?Qu(V):null,Nt("div",{class:"menu-item-content"},[Nt(G?"strong":"span",{},[M]),G&&Nt("span",{},[G])]),oe?Qu(oe):null])])}))]))))}let R=i.get();R?(Object.assign(w.style,{display:"block",left:`${w.style.position==="fixed"?R.x-window.scrollX:R.x}px`,top:`${w.style.position==="fixed"?R.y-window.scrollY:R.y}px`}),WT(w),requestAnimationFrame(()=>Qee(w,R,{topOffset:15,centered:!0}))):(Zee(w),Object.assign(w.style,{display:"none"}))},"renderMenu");l.subscribe(g),d.subscribe(g);let b=s(w=>{let E=Kee(w);r.set(_=>{var N;let R=E.id?_.filter(q=>q.id!==E.id):_;return(N=E.selectors)!=null&&N.length?[...R,E]:R})},"addHighlight"),v=s(w=>{w&&r.set(E=>E.filter(_=>_.id!==w))},"removeHighlight"),S=s(()=>{r.set([]),n.set(new Map),o.set([]),i.set(void 0),a.set(void 0),l.set([]),u.set([]),c.set(void 0),d.set(void 0)},"resetState"),T,P=s((w,E)=>{let _="scrollIntoView-highlight";clearTimeout(T),v(_);let R=t.querySelector(w);if(!R){console.warn(`Cannot scroll into view: ${w} not found`);return}R.scrollIntoView({behavior:"smooth",block:"center",...E});let N=`kf-${Math.random().toString(36).substring(2,15)}`;r.set(q=>[...q,{id:_,priority:1e3,selectors:[w],styles:{outline:"2px solid #1EA7FD",outlineOffset:"-1px",animation:`${N} 3s linear forwards`},keyframes:`@keyframes ${N} {
|
|
513
|
-
0% { outline: 2px solid #1EA7FD; }
|
|
514
|
-
20% { outline: 2px solid #1EA7FD00; }
|
|
515
|
-
40% { outline: 2px solid #1EA7FD; }
|
|
516
|
-
60% { outline: 2px solid #1EA7FD00; }
|
|
517
|
-
80% { outline: 2px solid #1EA7FD; }
|
|
518
|
-
100% { outline: 2px solid #1EA7FD00; }
|
|
519
|
-
}`}]),T=setTimeout(()=>v(_),3500)},"scrollIntoView"),C=s(w=>{requestAnimationFrame(()=>a.set({x:w.pageX,y:w.pageY}))},"onMouseMove");t.body.addEventListener("mousemove",C),e.on(Vee,b),e.on(Jee,v),e.on(zee,S),e.on(Wee,P),e.on(Oi,({newPhase:w})=>{w==="loading"&&S()})},"useHighlights"),A_;(A_=globalThis==null?void 0:globalThis.FEATURES)!=null&&A_.highlight&&(br!=null&&br.ready)&&br.ready().then(rte);var KT=s(()=>({}),"default"),nte="measureEnabled";function _0(){let e=me.document.documentElement,t=Math.max(e.scrollHeight,e.offsetHeight);return{width:Math.max(e.scrollWidth,e.offsetWidth),height:t}}s(_0,"getDocumentWidthAndHeight");function wF(){let e=me.document.createElement("canvas");e.id="storybook-addon-measure";let t=e.getContext("2d");xn(t!=null);let{width:r,height:n}=_0();return jd(e,t,{width:r,height:n}),e.style.position="absolute",e.style.left="0",e.style.top="0",e.style.zIndex="2147483647",e.style.pointerEvents="none",me.document.body.appendChild(e),{canvas:e,context:t,width:r,height:n}}s(wF,"createCanvas");function jd(e,t,{width:r,height:n}){e.style.width=`${r}px`,e.style.height=`${n}px`;let o=me.window.devicePixelRatio;e.width=Math.floor(r*o),e.height=Math.floor(n*o),t.scale(o,o)}s(jd,"setCanvasWidthAndHeight");var kt={};function EF(){kt.canvas||(kt=wF())}s(EF,"init");function P0(){kt.context&&kt.context.clearRect(0,0,kt.width??0,kt.height??0)}s(P0,"clear");function SF(e){P0(),e(kt.context)}s(SF,"draw");function xF(){xn(kt.canvas),xn(kt.context),jd(kt.canvas,kt.context,{width:0,height:0});let{width:e,height:t}=_0();jd(kt.canvas,kt.context,{width:e,height:t}),kt.width=e,kt.height=t}s(xF,"rescale");function TF(){var e;kt.canvas&&(P0(),(e=kt.canvas.parentNode)==null||e.removeChild(kt.canvas),kt={})}s(TF,"destroy");var oa={margin:"#f6b26b",border:"#ffe599",padding:"#93c47d",content:"#6fa8dc",text:"#232020"},Xn=6;function gg(e,{x:t,y:r,w:n,h:o,r:i}){t=t-n/2,r=r-o/2,n<2*i&&(i=n/2),o<2*i&&(i=o/2),e.beginPath(),e.moveTo(t+i,r),e.arcTo(t+n,r,t+n,r+o,i),e.arcTo(t+n,r+o,t,r+o,i),e.arcTo(t,r+o,t,r,i),e.arcTo(t,r,t+n,r,i),e.closePath()}s(gg,"roundedRect");function CF(e,{padding:t,border:r,width:n,height:o,top:i,left:a}){let l=n-r.left-r.right-t.left-t.right,u=o-t.top-t.bottom-r.top-r.bottom,c=a+r.left+t.left,d=i+r.top+t.top;return e==="top"?c+=l/2:e==="right"?(c+=l,d+=u/2):e==="bottom"?(c+=l/2,d+=u):e==="left"?d+=u/2:e==="center"&&(c+=l/2,d+=u/2),{x:c,y:d}}s(CF,"positionCoordinate");function _F(e,t,{margin:r,border:n,padding:o},i,a){let l=s(h=>0,"shift"),u=0,c=0,d=a?1:.5,p=a?i*2:0;return e==="padding"?l=s(h=>o[h]*d+p,"shift"):e==="border"?l=s(h=>o[h]+n[h]*d+p,"shift"):e==="margin"&&(l=s(h=>o[h]+n[h]+r[h]*d+p,"shift")),t==="top"?c=-l("top"):t==="right"?u=l("right"):t==="bottom"?c=l("bottom"):t==="left"&&(u=-l("left")),{offsetX:u,offsetY:c}}s(_F,"offset");function PF(e,t){return Math.abs(e.x-t.x)<Math.abs(e.w+t.w)/2&&Math.abs(e.y-t.y)<Math.abs(e.h+t.h)/2}s(PF,"collide");function OF(e,t,r){return e==="top"?t.y=r.y-r.h-Xn:e==="right"?t.x=r.x+r.w/2+Xn+t.w/2:e==="bottom"?t.y=r.y+r.h+Xn:e==="left"&&(t.x=r.x-r.w/2-Xn-t.w/2),{x:t.x,y:t.y}}s(OF,"overlapAdjustment");function O0(e,t,{x:r,y:n,w:o,h:i},a){return gg(e,{x:r,y:n,w:o,h:i,r:3}),e.fillStyle=`${oa[t]}dd`,e.fill(),e.strokeStyle=oa[t],e.stroke(),e.fillStyle=oa.text,e.fillText(a,r,n),gg(e,{x:r,y:n,w:o,h:i,r:3}),e.fillStyle=`${oa[t]}dd`,e.fill(),e.strokeStyle=oa[t],e.stroke(),e.fillStyle=oa.text,e.fillText(a,r,n),{x:r,y:n,w:o,h:i}}s(O0,"textWithRect");function A0(e,t){e.font="600 12px monospace",e.textBaseline="middle",e.textAlign="center";let r=e.measureText(t),n=r.actualBoundingBoxAscent+r.actualBoundingBoxDescent,o=r.width+Xn*2,i=n+Xn*2;return{w:o,h:i}}s(A0,"configureText");function AF(e,t,{type:r,position:n="center",text:o},i,a=!1){let{x:l,y:u}=CF(n,t),{offsetX:c,offsetY:d}=_F(r,n,t,Xn+1,a);l+=c,u+=d;let{w:p,h}=A0(e,o);if(i&&PF({x:l,y:u,w:p,h},i)){let f=OF(n,{x:l,y:u,w:p},i);l=f.x,u=f.y}return O0(e,r,{x:l,y:u,w:p,h},o)}s(AF,"drawLabel");function RF(e,{w:t,h:r}){let n=t*.5+Xn,o=r*.5+Xn;return{offsetX:(e.x==="left"?-1:1)*n,offsetY:(e.y==="top"?-1:1)*o}}s(RF,"floatingOffset");function NF(e,t,{type:r,text:n}){let{floatingAlignment:o,extremities:i}=t,a=i[o.x],l=i[o.y],{w:u,h:c}=A0(e,n),{offsetX:d,offsetY:p}=RF(o,{w:u,h:c});return a+=d,l+=p,O0(e,r,{x:a,y:l,w:u,h:c},n)}s(NF,"drawFloatingLabel");function pa(e,t,r,n){let o=[];r.forEach((i,a)=>{let l=n&&i.position==="center"?NF(e,t,i):AF(e,t,i,o[a-1],n);o[a]=l})}s(pa,"drawStack");function IF(e,t,r,n){let o=r.reduce((i,a)=>{var l;return Object.prototype.hasOwnProperty.call(i,a.position)||(i[a.position]=[]),(l=i[a.position])==null||l.push(a),i},{});o.top&&pa(e,t,o.top,n),o.right&&pa(e,t,o.right,n),o.bottom&&pa(e,t,o.bottom,n),o.left&&pa(e,t,o.left,n),o.center&&pa(e,t,o.center,n)}s(IF,"labelStacks");var Yf={margin:"#f6b26ba8",border:"#ffe599a8",padding:"#93c47d8c",content:"#6fa8dca8"},YT=30;function Tr(e){return parseInt(e.replace("px",""),10)}s(Tr,"pxToNumber");function mi(e){return Number.isInteger(e)?e:e.toFixed(2)}s(mi,"round");function Xf(e){return e.filter(t=>t.text!==0&&t.text!=="0")}s(Xf,"filterZeroValues");function kF(e){let t={top:me.window.scrollY,bottom:me.window.scrollY+me.window.innerHeight,left:me.window.scrollX,right:me.window.scrollX+me.window.innerWidth},r={top:Math.abs(t.top-e.top),bottom:Math.abs(t.bottom-e.bottom),left:Math.abs(t.left-e.left),right:Math.abs(t.right-e.right)};return{x:r.left>r.right?"left":"right",y:r.top>r.bottom?"top":"bottom"}}s(kF,"floatingAlignment");function MF(e){let t=me.getComputedStyle(e),{top:r,left:n,right:o,bottom:i,width:a,height:l}=e.getBoundingClientRect(),{marginTop:u,marginBottom:c,marginLeft:d,marginRight:p,paddingTop:h,paddingBottom:f,paddingLeft:m,paddingRight:y,borderBottomWidth:g,borderTopWidth:b,borderLeftWidth:v,borderRightWidth:S}=t;r=r+me.window.scrollY,n=n+me.window.scrollX,i=i+me.window.scrollY,o=o+me.window.scrollX;let T={top:Tr(u),bottom:Tr(c),left:Tr(d),right:Tr(p)},P={top:Tr(h),bottom:Tr(f),left:Tr(m),right:Tr(y)},C={top:Tr(b),bottom:Tr(g),left:Tr(v),right:Tr(S)},w={top:r-T.top,bottom:i+T.bottom,left:n-T.left,right:o+T.right};return{margin:T,padding:P,border:C,top:r,left:n,bottom:i,right:o,width:a,height:l,extremities:w,floatingAlignment:kF(w)}}s(MF,"measureElement");function qF(e,{margin:t,width:r,height:n,top:o,left:i,bottom:a,right:l}){let u=n+t.bottom+t.top;e.fillStyle=Yf.margin,e.fillRect(i,o-t.top,r,t.top),e.fillRect(l,o-t.top,t.right,u),e.fillRect(i,a,r,t.bottom),e.fillRect(i-t.left,o-t.top,t.left,u);let c=[{type:"margin",text:mi(t.top),position:"top"},{type:"margin",text:mi(t.right),position:"right"},{type:"margin",text:mi(t.bottom),position:"bottom"},{type:"margin",text:mi(t.left),position:"left"}];return Xf(c)}s(qF,"drawMargin");function jF(e,{padding:t,border:r,width:n,height:o,top:i,left:a,bottom:l,right:u}){let c=n-r.left-r.right,d=o-t.top-t.bottom-r.top-r.bottom;e.fillStyle=Yf.padding,e.fillRect(a+r.left,i+r.top,c,t.top),e.fillRect(u-t.right-r.right,i+t.top+r.top,t.right,d),e.fillRect(a+r.left,l-t.bottom-r.bottom,c,t.bottom),e.fillRect(a+r.left,i+t.top+r.top,t.left,d);let p=[{type:"padding",text:t.top,position:"top"},{type:"padding",text:t.right,position:"right"},{type:"padding",text:t.bottom,position:"bottom"},{type:"padding",text:t.left,position:"left"}];return Xf(p)}s(jF,"drawPadding");function $F(e,{border:t,width:r,height:n,top:o,left:i,bottom:a,right:l}){let u=n-t.top-t.bottom;e.fillStyle=Yf.border,e.fillRect(i,o,r,t.top),e.fillRect(i,a-t.bottom,r,t.bottom),e.fillRect(i,o+t.top,t.left,u),e.fillRect(l-t.right,o+t.top,t.right,u);let c=[{type:"border",text:t.top,position:"top"},{type:"border",text:t.right,position:"right"},{type:"border",text:t.bottom,position:"bottom"},{type:"border",text:t.left,position:"left"}];return Xf(c)}s($F,"drawBorder");function LF(e,{padding:t,border:r,width:n,height:o,top:i,left:a}){let l=n-r.left-r.right-t.left-t.right,u=o-t.top-t.bottom-r.top-r.bottom;return e.fillStyle=Yf.content,e.fillRect(a+r.left+t.left,i+r.top+t.top,l,u),[{type:"content",position:"center",text:`${mi(l)} x ${mi(u)}`}]}s(LF,"drawContent");function FF(e){return t=>{if(e&&t){let r=MF(e),n=qF(t,r),o=jF(t,r),i=$F(t,r),a=LF(t,r),l=r.width<=YT*3||r.height<=YT;IF(t,r,[...a,...o,...i,...n],l)}}}s(FF,"drawBoxModel");function DF(e){SF(FF(e))}s(DF,"drawSelectedElement");var ote=s((e,t)=>{let r=me.document.elementFromPoint(e,t),n=s(o=>{if(o&&o.shadowRoot){let i=o.shadowRoot.elementFromPoint(e,t);return o.isEqualNode(i)?o:i.shadowRoot?n(i):i}return o},"crawlShadows");return n(r)||r},"deepElementFromPoint"),XT,ec={x:0,y:0};function bg(e,t){XT=ote(e,t),DF(XT)}s(bg,"findAndDrawElement");var ite=s((e,t)=>{let{measureEnabled:r}=t.globals||{};return Bo(()=>{if(typeof globalThis.document>"u")return;let n=s(o=>{window.requestAnimationFrame(()=>{o.stopPropagation(),ec.x=o.clientX,ec.y=o.clientY})},"onPointerMove");return globalThis.document.addEventListener("pointermove",n),()=>{globalThis.document.removeEventListener("pointermove",n)}},[]),Bo(()=>{let n=s(i=>{window.requestAnimationFrame(()=>{i.stopPropagation(),bg(i.clientX,i.clientY)})},"onPointerOver"),o=s(()=>{window.requestAnimationFrame(()=>{xF()})},"onResize");return t.viewMode==="story"&&r&&(globalThis.document.addEventListener("pointerover",n),EF(),globalThis.window.addEventListener("resize",o),bg(ec.x,ec.y)),()=>{globalThis.window.removeEventListener("resize",o),TF()}},[r,t.viewMode]),e()},"withMeasure"),R_,ate=(R_=globalThis.FEATURES)!=null&&R_.measure?[ite]:[],ste={[nte]:!1},QT=s(()=>({decorators:ate,initialGlobals:ste}),"default"),BF="outline",ZT=s(e=>{(Array.isArray(e)?e:[e]).forEach(lte)},"clearStyles"),lte=s(e=>{let t=typeof e=="string"?e:e.join(""),r=me.document.getElementById(t);r&&r.parentElement&&r.parentElement.removeChild(r)},"clearStyle"),ute=s((e,t)=>{let r=me.document.getElementById(e);if(r)r.innerHTML!==t&&(r.innerHTML=t);else{let n=me.document.createElement("style");n.setAttribute("id",e),n.innerHTML=t,me.document.head.appendChild(n)}},"addOutlineStyles");function UF(e){return Ie`
|
|
520
|
-
${e} body {
|
|
521
|
-
outline: 1px solid #2980b9 !important;
|
|
522
|
-
}
|
|
523
|
-
|
|
524
|
-
${e} article {
|
|
525
|
-
outline: 1px solid #3498db !important;
|
|
526
|
-
}
|
|
527
|
-
|
|
528
|
-
${e} nav {
|
|
529
|
-
outline: 1px solid #0088c3 !important;
|
|
530
|
-
}
|
|
531
|
-
|
|
532
|
-
${e} aside {
|
|
533
|
-
outline: 1px solid #33a0ce !important;
|
|
534
|
-
}
|
|
535
|
-
|
|
536
|
-
${e} section {
|
|
537
|
-
outline: 1px solid #66b8da !important;
|
|
538
|
-
}
|
|
539
|
-
|
|
540
|
-
${e} header {
|
|
541
|
-
outline: 1px solid #99cfe7 !important;
|
|
542
|
-
}
|
|
543
|
-
|
|
544
|
-
${e} footer {
|
|
545
|
-
outline: 1px solid #cce7f3 !important;
|
|
546
|
-
}
|
|
547
|
-
|
|
548
|
-
${e} h1 {
|
|
549
|
-
outline: 1px solid #162544 !important;
|
|
550
|
-
}
|
|
551
|
-
|
|
552
|
-
${e} h2 {
|
|
553
|
-
outline: 1px solid #314e6e !important;
|
|
554
|
-
}
|
|
555
|
-
|
|
556
|
-
${e} h3 {
|
|
557
|
-
outline: 1px solid #3e5e85 !important;
|
|
558
|
-
}
|
|
559
|
-
|
|
560
|
-
${e} h4 {
|
|
561
|
-
outline: 1px solid #449baf !important;
|
|
562
|
-
}
|
|
563
|
-
|
|
564
|
-
${e} h5 {
|
|
565
|
-
outline: 1px solid #c7d1cb !important;
|
|
566
|
-
}
|
|
567
|
-
|
|
568
|
-
${e} h6 {
|
|
569
|
-
outline: 1px solid #4371d0 !important;
|
|
570
|
-
}
|
|
571
|
-
|
|
572
|
-
${e} main {
|
|
573
|
-
outline: 1px solid #2f4f90 !important;
|
|
574
|
-
}
|
|
575
|
-
|
|
576
|
-
${e} address {
|
|
577
|
-
outline: 1px solid #1a2c51 !important;
|
|
578
|
-
}
|
|
579
|
-
|
|
580
|
-
${e} div {
|
|
581
|
-
outline: 1px solid #036cdb !important;
|
|
582
|
-
}
|
|
583
|
-
|
|
584
|
-
${e} p {
|
|
585
|
-
outline: 1px solid #ac050b !important;
|
|
586
|
-
}
|
|
587
|
-
|
|
588
|
-
${e} hr {
|
|
589
|
-
outline: 1px solid #ff063f !important;
|
|
590
|
-
}
|
|
591
|
-
|
|
592
|
-
${e} pre {
|
|
593
|
-
outline: 1px solid #850440 !important;
|
|
594
|
-
}
|
|
595
|
-
|
|
596
|
-
${e} blockquote {
|
|
597
|
-
outline: 1px solid #f1b8e7 !important;
|
|
598
|
-
}
|
|
599
|
-
|
|
600
|
-
${e} ol {
|
|
601
|
-
outline: 1px solid #ff050c !important;
|
|
602
|
-
}
|
|
603
|
-
|
|
604
|
-
${e} ul {
|
|
605
|
-
outline: 1px solid #d90416 !important;
|
|
606
|
-
}
|
|
607
|
-
|
|
608
|
-
${e} li {
|
|
609
|
-
outline: 1px solid #d90416 !important;
|
|
610
|
-
}
|
|
611
|
-
|
|
612
|
-
${e} dl {
|
|
613
|
-
outline: 1px solid #fd3427 !important;
|
|
614
|
-
}
|
|
615
|
-
|
|
616
|
-
${e} dt {
|
|
617
|
-
outline: 1px solid #ff0043 !important;
|
|
618
|
-
}
|
|
619
|
-
|
|
620
|
-
${e} dd {
|
|
621
|
-
outline: 1px solid #e80174 !important;
|
|
622
|
-
}
|
|
623
|
-
|
|
624
|
-
${e} figure {
|
|
625
|
-
outline: 1px solid #ff00bb !important;
|
|
626
|
-
}
|
|
627
|
-
|
|
628
|
-
${e} figcaption {
|
|
629
|
-
outline: 1px solid #bf0032 !important;
|
|
630
|
-
}
|
|
631
|
-
|
|
632
|
-
${e} table {
|
|
633
|
-
outline: 1px solid #00cc99 !important;
|
|
634
|
-
}
|
|
635
|
-
|
|
636
|
-
${e} caption {
|
|
637
|
-
outline: 1px solid #37ffc4 !important;
|
|
638
|
-
}
|
|
639
|
-
|
|
640
|
-
${e} thead {
|
|
641
|
-
outline: 1px solid #98daca !important;
|
|
642
|
-
}
|
|
643
|
-
|
|
644
|
-
${e} tbody {
|
|
645
|
-
outline: 1px solid #64a7a0 !important;
|
|
646
|
-
}
|
|
647
|
-
|
|
648
|
-
${e} tfoot {
|
|
649
|
-
outline: 1px solid #22746b !important;
|
|
650
|
-
}
|
|
651
|
-
|
|
652
|
-
${e} tr {
|
|
653
|
-
outline: 1px solid #86c0b2 !important;
|
|
654
|
-
}
|
|
655
|
-
|
|
656
|
-
${e} th {
|
|
657
|
-
outline: 1px solid #a1e7d6 !important;
|
|
658
|
-
}
|
|
659
|
-
|
|
660
|
-
${e} td {
|
|
661
|
-
outline: 1px solid #3f5a54 !important;
|
|
662
|
-
}
|
|
663
|
-
|
|
664
|
-
${e} col {
|
|
665
|
-
outline: 1px solid #6c9a8f !important;
|
|
666
|
-
}
|
|
667
|
-
|
|
668
|
-
${e} colgroup {
|
|
669
|
-
outline: 1px solid #6c9a9d !important;
|
|
670
|
-
}
|
|
671
|
-
|
|
672
|
-
${e} button {
|
|
673
|
-
outline: 1px solid #da8301 !important;
|
|
674
|
-
}
|
|
675
|
-
|
|
676
|
-
${e} datalist {
|
|
677
|
-
outline: 1px solid #c06000 !important;
|
|
678
|
-
}
|
|
679
|
-
|
|
680
|
-
${e} fieldset {
|
|
681
|
-
outline: 1px solid #d95100 !important;
|
|
682
|
-
}
|
|
683
|
-
|
|
684
|
-
${e} form {
|
|
685
|
-
outline: 1px solid #d23600 !important;
|
|
686
|
-
}
|
|
687
|
-
|
|
688
|
-
${e} input {
|
|
689
|
-
outline: 1px solid #fca600 !important;
|
|
690
|
-
}
|
|
691
|
-
|
|
692
|
-
${e} keygen {
|
|
693
|
-
outline: 1px solid #b31e00 !important;
|
|
694
|
-
}
|
|
695
|
-
|
|
696
|
-
${e} label {
|
|
697
|
-
outline: 1px solid #ee8900 !important;
|
|
698
|
-
}
|
|
699
|
-
|
|
700
|
-
${e} legend {
|
|
701
|
-
outline: 1px solid #de6d00 !important;
|
|
702
|
-
}
|
|
703
|
-
|
|
704
|
-
${e} meter {
|
|
705
|
-
outline: 1px solid #e8630c !important;
|
|
706
|
-
}
|
|
707
|
-
|
|
708
|
-
${e} optgroup {
|
|
709
|
-
outline: 1px solid #b33600 !important;
|
|
710
|
-
}
|
|
711
|
-
|
|
712
|
-
${e} option {
|
|
713
|
-
outline: 1px solid #ff8a00 !important;
|
|
714
|
-
}
|
|
715
|
-
|
|
716
|
-
${e} output {
|
|
717
|
-
outline: 1px solid #ff9619 !important;
|
|
718
|
-
}
|
|
719
|
-
|
|
720
|
-
${e} progress {
|
|
721
|
-
outline: 1px solid #e57c00 !important;
|
|
722
|
-
}
|
|
723
|
-
|
|
724
|
-
${e} select {
|
|
725
|
-
outline: 1px solid #e26e0f !important;
|
|
726
|
-
}
|
|
727
|
-
|
|
728
|
-
${e} textarea {
|
|
729
|
-
outline: 1px solid #cc5400 !important;
|
|
730
|
-
}
|
|
731
|
-
|
|
732
|
-
${e} details {
|
|
733
|
-
outline: 1px solid #33848f !important;
|
|
734
|
-
}
|
|
735
|
-
|
|
736
|
-
${e} summary {
|
|
737
|
-
outline: 1px solid #60a1a6 !important;
|
|
738
|
-
}
|
|
739
|
-
|
|
740
|
-
${e} command {
|
|
741
|
-
outline: 1px solid #438da1 !important;
|
|
742
|
-
}
|
|
743
|
-
|
|
744
|
-
${e} menu {
|
|
745
|
-
outline: 1px solid #449da6 !important;
|
|
746
|
-
}
|
|
747
|
-
|
|
748
|
-
${e} del {
|
|
749
|
-
outline: 1px solid #bf0000 !important;
|
|
750
|
-
}
|
|
751
|
-
|
|
752
|
-
${e} ins {
|
|
753
|
-
outline: 1px solid #400000 !important;
|
|
754
|
-
}
|
|
755
|
-
|
|
756
|
-
${e} img {
|
|
757
|
-
outline: 1px solid #22746b !important;
|
|
758
|
-
}
|
|
759
|
-
|
|
760
|
-
${e} iframe {
|
|
761
|
-
outline: 1px solid #64a7a0 !important;
|
|
762
|
-
}
|
|
763
|
-
|
|
764
|
-
${e} embed {
|
|
765
|
-
outline: 1px solid #98daca !important;
|
|
766
|
-
}
|
|
767
|
-
|
|
768
|
-
${e} object {
|
|
769
|
-
outline: 1px solid #00cc99 !important;
|
|
770
|
-
}
|
|
771
|
-
|
|
772
|
-
${e} param {
|
|
773
|
-
outline: 1px solid #37ffc4 !important;
|
|
774
|
-
}
|
|
775
|
-
|
|
776
|
-
${e} video {
|
|
777
|
-
outline: 1px solid #6ee866 !important;
|
|
778
|
-
}
|
|
779
|
-
|
|
780
|
-
${e} audio {
|
|
781
|
-
outline: 1px solid #027353 !important;
|
|
782
|
-
}
|
|
783
|
-
|
|
784
|
-
${e} source {
|
|
785
|
-
outline: 1px solid #012426 !important;
|
|
786
|
-
}
|
|
787
|
-
|
|
788
|
-
${e} canvas {
|
|
789
|
-
outline: 1px solid #a2f570 !important;
|
|
790
|
-
}
|
|
791
|
-
|
|
792
|
-
${e} track {
|
|
793
|
-
outline: 1px solid #59a600 !important;
|
|
794
|
-
}
|
|
795
|
-
|
|
796
|
-
${e} map {
|
|
797
|
-
outline: 1px solid #7be500 !important;
|
|
798
|
-
}
|
|
799
|
-
|
|
800
|
-
${e} area {
|
|
801
|
-
outline: 1px solid #305900 !important;
|
|
802
|
-
}
|
|
803
|
-
|
|
804
|
-
${e} a {
|
|
805
|
-
outline: 1px solid #ff62ab !important;
|
|
806
|
-
}
|
|
807
|
-
|
|
808
|
-
${e} em {
|
|
809
|
-
outline: 1px solid #800b41 !important;
|
|
810
|
-
}
|
|
811
|
-
|
|
812
|
-
${e} strong {
|
|
813
|
-
outline: 1px solid #ff1583 !important;
|
|
814
|
-
}
|
|
815
|
-
|
|
816
|
-
${e} i {
|
|
817
|
-
outline: 1px solid #803156 !important;
|
|
818
|
-
}
|
|
819
|
-
|
|
820
|
-
${e} b {
|
|
821
|
-
outline: 1px solid #cc1169 !important;
|
|
822
|
-
}
|
|
823
|
-
|
|
824
|
-
${e} u {
|
|
825
|
-
outline: 1px solid #ff0430 !important;
|
|
826
|
-
}
|
|
827
|
-
|
|
828
|
-
${e} s {
|
|
829
|
-
outline: 1px solid #f805e3 !important;
|
|
830
|
-
}
|
|
831
|
-
|
|
832
|
-
${e} small {
|
|
833
|
-
outline: 1px solid #d107b2 !important;
|
|
834
|
-
}
|
|
835
|
-
|
|
836
|
-
${e} abbr {
|
|
837
|
-
outline: 1px solid #4a0263 !important;
|
|
838
|
-
}
|
|
839
|
-
|
|
840
|
-
${e} q {
|
|
841
|
-
outline: 1px solid #240018 !important;
|
|
842
|
-
}
|
|
843
|
-
|
|
844
|
-
${e} cite {
|
|
845
|
-
outline: 1px solid #64003c !important;
|
|
846
|
-
}
|
|
847
|
-
|
|
848
|
-
${e} dfn {
|
|
849
|
-
outline: 1px solid #b4005a !important;
|
|
850
|
-
}
|
|
851
|
-
|
|
852
|
-
${e} sub {
|
|
853
|
-
outline: 1px solid #dba0c8 !important;
|
|
854
|
-
}
|
|
855
|
-
|
|
856
|
-
${e} sup {
|
|
857
|
-
outline: 1px solid #cc0256 !important;
|
|
858
|
-
}
|
|
859
|
-
|
|
860
|
-
${e} time {
|
|
861
|
-
outline: 1px solid #d6606d !important;
|
|
862
|
-
}
|
|
863
|
-
|
|
864
|
-
${e} code {
|
|
865
|
-
outline: 1px solid #e04251 !important;
|
|
866
|
-
}
|
|
867
|
-
|
|
868
|
-
${e} kbd {
|
|
869
|
-
outline: 1px solid #5e001f !important;
|
|
870
|
-
}
|
|
871
|
-
|
|
872
|
-
${e} samp {
|
|
873
|
-
outline: 1px solid #9c0033 !important;
|
|
874
|
-
}
|
|
875
|
-
|
|
876
|
-
${e} var {
|
|
877
|
-
outline: 1px solid #d90047 !important;
|
|
878
|
-
}
|
|
879
|
-
|
|
880
|
-
${e} mark {
|
|
881
|
-
outline: 1px solid #ff0053 !important;
|
|
882
|
-
}
|
|
883
|
-
|
|
884
|
-
${e} bdi {
|
|
885
|
-
outline: 1px solid #bf3668 !important;
|
|
886
|
-
}
|
|
887
|
-
|
|
888
|
-
${e} bdo {
|
|
889
|
-
outline: 1px solid #6f1400 !important;
|
|
890
|
-
}
|
|
891
|
-
|
|
892
|
-
${e} ruby {
|
|
893
|
-
outline: 1px solid #ff7b93 !important;
|
|
894
|
-
}
|
|
895
|
-
|
|
896
|
-
${e} rt {
|
|
897
|
-
outline: 1px solid #ff2f54 !important;
|
|
898
|
-
}
|
|
899
|
-
|
|
900
|
-
${e} rp {
|
|
901
|
-
outline: 1px solid #803e49 !important;
|
|
902
|
-
}
|
|
903
|
-
|
|
904
|
-
${e} span {
|
|
905
|
-
outline: 1px solid #cc2643 !important;
|
|
906
|
-
}
|
|
907
|
-
|
|
908
|
-
${e} br {
|
|
909
|
-
outline: 1px solid #db687d !important;
|
|
910
|
-
}
|
|
911
|
-
|
|
912
|
-
${e} wbr {
|
|
913
|
-
outline: 1px solid #db175b !important;
|
|
914
|
-
}`}s(UF,"outlineCSS");var cte=s((e,t)=>{let r=t.globals||{},n=[!0,"true"].includes(r[BF]),o=t.viewMode==="docs",i=Bb(()=>UF(o?'[data-story-block="true"]':".sb-show-main"),[t]);return Bo(()=>{let a=o?`addon-outline-docs-${t.id}`:"addon-outline";return n?ute(a,i):ZT(a),()=>{ZT(a)}},[n,i,t]),e()},"withOutline"),N_,dte=(N_=globalThis.FEATURES)!=null&&N_.outline?[cte]:[],pte={[BF]:!1},eC=s(()=>({decorators:dte,initialGlobals:pte}),"default"),fte=s(({parameters:e})=>{var t,r,n;((t=e==null?void 0:e.test)==null?void 0:t.mockReset)===!0?_E():((r=e==null?void 0:e.test)==null?void 0:r.clearMocks)===!0?CE():((n=e==null?void 0:e.test)==null?void 0:n.restoreMocks)!==!1&&PE()},"resetAllMocksLoader"),vg=s((e,t=0,r)=>{var n,o;if(t>5||e==null)return e;if(Pa(e))return r&&e.mockName(r),e;if(typeof e=="function"&&"isAction"in e&&e.isAction&&!("implicit"in e&&e.implicit)){let i=xE(e);return r&&i.mockName(r),i}if(Array.isArray(e)){t++;for(let i=0;i<e.length;i++)(n=Object.getOwnPropertyDescriptor(e,i))!=null&&n.writable&&(e[i]=vg(e[i],t));return e}if(typeof e=="object"&&e.constructor===Object){t++;for(let[i,a]of Object.entries(e))(o=Object.getOwnPropertyDescriptor(e,i))!=null&&o.writable&&(e[i]=vg(a,t,i));return e}return e},"traverseArgs"),hte=s(({initialArgs:e})=>{vg(e)},"nameSpiesAndWrapActionsInSpies"),tC=!1,mte=s(async e=>{var r,n;globalThis.HTMLElement&&e.canvasElement instanceof globalThis.HTMLElement&&(e.canvas=bF(e.canvasElement));let t=(n=(r=globalThis.window)==null?void 0:r.navigator)==null?void 0:n.clipboard;if(t){e.userEvent=gs({userEvent:vF.setup()},{intercept:!0}).userEvent,Object.defineProperty(globalThis.window.navigator,"clipboard",{get:s(()=>t,"get"),configurable:!0});let o=HTMLElement.prototype.focus;tC||Object.defineProperties(HTMLElement.prototype,{focus:{configurable:!0,set:s(i=>{o=i,tC=!0},"set"),get:s(()=>o,"get")}})}},"enhanceContext"),rC=s(()=>({loaders:[fte,hte,mte]}),"default"),yte="viewport",gte={[yte]:{value:void 0,isRotated:!1}},nC=s(()=>({initialGlobals:gte}),"default");function Qf(){return[(QT.default??QT)(),(DT.default??DT)(),(KT.default??KT)(),(eC.default??eC)(),(nC.default??nC)(),(jT.default??jT)(),(BT.default??BT)(),(rC.default??rC)()]}s(Qf,"getCoreAnnotations");var fa=Symbol("incompatible"),wg=s((e,t)=>{let r=t.type;if(e==null||!r||t.mapping)return e;switch(r.name){case"string":return String(e);case"enum":return e;case"number":return Number(e);case"boolean":return String(e)==="true";case"array":return!r.value||!Array.isArray(e)?fa:e.reduce((n,o,i)=>{let a=wg(o,{type:r.value});return a!==fa&&(n[i]=a),n},new Array(e.length));case"object":return typeof e=="string"||typeof e=="number"?e:!r.value||typeof e!="object"?fa:Object.entries(e).reduce((n,[o,i])=>{let a=wg(i,{type:r.value[o]});return a===fa?n:Object.assign(n,{[o]:a})},{});default:return fa}},"map"),bte=s((e,t)=>Object.entries(e).reduce((r,[n,o])=>{if(!t[n])return r;let i=wg(o,t[n]);return i===fa?r:Object.assign(r,{[n]:i})},{}),"mapArgsToTypes"),$d=s((e,t)=>Array.isArray(e)&&Array.isArray(t)?t.reduce((r,n,o)=>(r[o]=$d(e[o],t[o]),r),[...e]).filter(r=>r!==void 0):!an(e)||!an(t)?t:Object.keys({...e,...t}).reduce((r,n)=>{if(n in t){let o=$d(e[n],t[n]);o!==void 0&&(r[n]=o)}else r[n]=e[n];return r},{}),"combineArgs"),vte=s((e,t)=>Object.entries(t).reduce((r,[n,{options:o}])=>{function i(){return n in e&&(r[n]=e[n]),r}if(s(i,"allowArg"),!o)return i();if(!Array.isArray(o))return St.error(Ie`
|
|
915
|
-
Invalid argType: '${n}.options' should be an array.
|
|
916
|
-
|
|
917
|
-
More info: https://storybook.js.org/docs/api/arg-types
|
|
918
|
-
`),i();if(o.some(p=>p&&["object","function"].includes(typeof p)))return St.error(Ie`
|
|
919
|
-
Invalid argType: '${n}.options' should only contain primitives. Use a 'mapping' for complex values.
|
|
920
|
-
|
|
921
|
-
More info: https://storybook.js.org/docs/writing-stories/args#mapping-to-complex-arg-values
|
|
922
|
-
`),i();let a=Array.isArray(e[n]),l=a&&e[n].findIndex(p=>!o.includes(p)),u=a&&l===-1;if(e[n]===void 0||o.includes(e[n])||u)return i();let c=a?`${n}[${l}]`:n,d=o.map(p=>typeof p=="string"?`'${p}'`:String(p)).join(", ");return St.warn(`Received illegal value for '${c}'. Supported options: ${d}`),r},{}),"validateOptions"),hl=Symbol("Deeply equal"),Ld=s((e,t)=>{if(typeof e!=typeof t)return t;if(H1(e,t))return hl;if(Array.isArray(e)&&Array.isArray(t)){let r=t.reduce((n,o,i)=>{let a=Ld(e[i],o);return a!==hl&&(n[i]=a),n},new Array(t.length));return t.length>=e.length?r:r.concat(new Array(e.length-t.length).fill(void 0))}return an(e)&&an(t)?Object.keys({...e,...t}).reduce((r,n)=>{let o=Ld(e==null?void 0:e[n],t==null?void 0:t[n]);return o===hl?r:Object.assign(r,{[n]:o})},{}):t},"deepDiff"),HF="UNTARGETED";function VF({args:e,argTypes:t}){let r={};return Object.entries(e).forEach(([n,o])=>{let{target:i=HF}=t[n]||{};r[i]=r[i]||{},r[i][n]=o}),r}s(VF,"groupArgsByTarget");function JF(e){return Object.keys(e).forEach(t=>e[t]===void 0&&delete e[t]),e}s(JF,"deleteUndefined");var zF=class{constructor(){this.initialArgsByStoryId={},this.argsByStoryId={}}get(t){if(!(t in this.argsByStoryId))throw new Error(`No args known for ${t} -- has it been rendered yet?`);return this.argsByStoryId[t]}setInitial(t){if(!this.initialArgsByStoryId[t.id])this.initialArgsByStoryId[t.id]=t.initialArgs,this.argsByStoryId[t.id]=t.initialArgs;else if(this.initialArgsByStoryId[t.id]!==t.initialArgs){let r=Ld(this.initialArgsByStoryId[t.id],this.argsByStoryId[t.id]);this.initialArgsByStoryId[t.id]=t.initialArgs,this.argsByStoryId[t.id]=t.initialArgs,r!==hl&&this.updateFromDelta(t,r)}}updateFromDelta(t,r){let n=vte(r,t.argTypes);this.argsByStoryId[t.id]=$d(this.argsByStoryId[t.id],n)}updateFromPersisted(t,r){let n=bte(r,t.argTypes);return this.updateFromDelta(t,n)}update(t,r){if(!(t in this.argsByStoryId))throw new Error(`No args known for ${t} -- has it been rendered yet?`);this.argsByStoryId[t]=JF({...this.argsByStoryId[t],...r})}};s(zF,"ArgsStore");var wte=zF,WF=s((e={})=>Object.entries(e).reduce((t,[r,{defaultValue:n}])=>(typeof n<"u"&&(t[r]=n),t),{}),"getValuesFromArgTypes"),GF=class{constructor({globals:t={},globalTypes:r={}}){this.set({globals:t,globalTypes:r})}set({globals:t={},globalTypes:r={}}){let n=this.initialGlobals&&Ld(this.initialGlobals,this.globals);this.allowedGlobalNames=new Set([...Object.keys(t),...Object.keys(r)]);let o=WF(r);this.initialGlobals={...o,...t},this.globals=this.initialGlobals,n&&n!==hl&&this.updateFromPersisted(n)}filterAllowedGlobals(t){return Object.entries(t).reduce((r,[n,o])=>(this.allowedGlobalNames.has(n)?r[n]=o:at.warn(`Attempted to set a global (${n}) that is not defined in initial globals or globalTypes`),r),{})}updateFromPersisted(t){let r=this.filterAllowedGlobals(t);this.globals={...this.globals,...r}}get(){return this.globals}update(t){this.globals={...this.globals,...this.filterAllowedGlobals(t)};for(let r in t)t[r]===void 0&&(this.globals[r]=this.initialGlobals[r])}};s(GF,"GlobalsStore");var Ete=GF,Ste=_t(k_(),1),xte=(0,Ste.default)(1)(e=>Object.values(e).reduce((t,r)=>(t[r.importPath]=t[r.importPath]||r,t),{})),KF=class{constructor({entries:t}={v:5,entries:{}}){this.entries=t}entryFromSpecifier(t){let r=Object.values(this.entries);if(t==="*")return r[0];if(typeof t=="string")return this.entries[t]?this.entries[t]:r.find(i=>i.id.startsWith(t));let{name:n,title:o}=t;return r.find(i=>i.name===n&&i.title===o)}storyIdToEntry(t){let r=this.entries[t];if(!r)throw new VO({storyId:t});return r}importPathToEntry(t){return xte(this.entries)[t]}};s(KF,"StoryIndexStore");var Tte=KF,Cte=s(e=>typeof e=="string"?{name:e}:e,"normalizeType"),_te=s(e=>typeof e=="string"?{type:e}:e,"normalizeControl"),Pte=s((e,t)=>{let{type:r,control:n,...o}=e,i={name:t,...o};return r&&(i.type=Cte(r)),n?i.control=_te(n):n===!1&&(i.control={disable:!0}),i},"normalizeInputType"),Fd=s(e=>Ha(e,Pte),"normalizeInputTypes");function YF(e){return e.replace(/_/g," ").replace(/-/g," ").replace(/\./g," ").replace(/([^\n])([A-Z])([a-z])/g,(t,r,n,o)=>`${r} ${n}${o}`).replace(/([a-z])([A-Z])/g,(t,r,n)=>`${r} ${n}`).replace(/([a-z])([0-9])/gi,(t,r,n)=>`${r} ${n}`).replace(/([0-9])([a-z])/gi,(t,r,n)=>`${r} ${n}`).replace(/(\s|^)(\w)/g,(t,r,n)=>`${r}${n.toUpperCase()}`).replace(/ +/g," ").trim()}s(YF,"toStartCaseStr");var oC=_t(vW(),1),XF=s(e=>e.map(t=>typeof t<"u").filter(Boolean).length,"count"),Ote=s((e,t)=>{let{exists:r,eq:n,neq:o,truthy:i}=e;if(XF([r,n,o,i])>1)throw new Error(`Invalid conditional test ${JSON.stringify({exists:r,eq:n,neq:o})}`);if(typeof n<"u")return(0,oC.isEqual)(t,n);if(typeof o<"u")return!(0,oC.isEqual)(t,o);if(typeof r<"u"){let a=typeof t<"u";return r?a:!a}return typeof i>"u"||i?!!t:!t},"testValue"),Ate=s((e,t,r)=>{if(!e.if)return!0;let{arg:n,global:o}=e.if;if(XF([n,o])!==1)throw new Error(`Invalid conditional value ${JSON.stringify({arg:n,global:o})}`);let i=n?t[n]:r[o];return Ote(e.if,i)},"includeConditionalArg");function Zf(e){return e!=null&&typeof e=="object"&&"_tag"in e&&(e==null?void 0:e._tag)==="Story"}s(Zf,"isStory");var QF=s(e=>e.toLowerCase().replace(/[ ’–—―′¿'`~!@#$%^&*()_|+\-=?;:'",.<>\{\}\[\]\\\/]/gi,"-").replace(/-+/g,"-").replace(/^-+/,"").replace(/-+$/,""),"sanitize"),iC=s((e,t)=>{let r=QF(e);if(r==="")throw new Error(`Invalid ${t} '${e}', must include alphanumeric characters`);return r},"sanitizeSafe"),Rte=s((e,t)=>`${iC(e,"kind")}${t?`--${iC(t,"name")}`:""}`,"toId"),Nte=s(e=>YF(e),"storyNameFromExport");function Eg(e,t){return Array.isArray(t)?t.includes(e):e.match(t)}s(Eg,"matches");function Dd(e,{includeStories:t,excludeStories:r}){return e!=="__esModule"&&(!t||Eg(e,t))&&(!r||!Eg(e,r))}s(Dd,"isExportStory");var Ite=s((...e)=>{let t=e.reduce((r,n)=>(n.startsWith("!")?r.delete(n.slice(1)):r.add(n),r),new Set);return Array.from(t)},"combineTags"),nt=s(e=>Array.isArray(e)?e:e?[e]:[],"normalizeArrays"),kte=Ie`
|
|
923
|
-
CSF .story annotations deprecated; annotate story functions directly:
|
|
924
|
-
- StoryFn.story.name => StoryFn.storyName
|
|
925
|
-
- StoryFn.story.(parameters|decorators) => StoryFn.(parameters|decorators)
|
|
926
|
-
See https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#hoisted-csf-annotations for details and codemod.
|
|
927
|
-
`;function Kl(e,t,r){let n=t,o=typeof t=="function"?t:null,{story:i}=n;i&&(at.debug("deprecated story",i),xb(kte));let a=Nte(e),l=typeof n!="function"&&n.name||n.storyName||(i==null?void 0:i.name)||a,u=[...nt(n.decorators),...nt(i==null?void 0:i.decorators)],c={...i==null?void 0:i.parameters,...n.parameters},d={...i==null?void 0:i.args,...n.args},p={...i==null?void 0:i.argTypes,...n.argTypes},h=[...nt(n.loaders),...nt(i==null?void 0:i.loaders)],f=[...nt(n.beforeEach),...nt(i==null?void 0:i.beforeEach)],m=[...nt(n.afterEach),...nt(i==null?void 0:i.afterEach)],{render:y,play:g,tags:b=[],globals:v={}}=n,S=c.__id||Rte(r.id,a);return{moduleExport:t,id:S,name:l,tags:b,decorators:u,parameters:c,args:d,argTypes:Fd(p),loaders:h,beforeEach:f,afterEach:m,globals:v,...y&&{render:y},...o&&{userStoryFn:o},...g&&{play:g}}}s(Kl,"normalizeStory");function Bd(e,t=e.title,r){let{id:n,argTypes:o}=e;return{id:QF(n||t),...e,title:t,...o&&{argTypes:Fd(o)},parameters:{fileName:r,...e.parameters}}}s(Bd,"normalizeComponentAnnotations");var Mte=s(e=>{let{globals:t,globalTypes:r}=e;(t||r)&&at.error("Global args/argTypes can only be set globally",JSON.stringify({globals:t,globalTypes:r}))},"checkGlobals"),qte=s(e=>{let{options:t}=e;t!=null&&t.storySort&&at.error("The storySort option parameter can only be set globally")},"checkStorySort"),tc=s(e=>{e&&(Mte(e),qte(e))},"checkDisallowedParameters");function ZF(e,t,r){let{default:n,__namedExportsOrder:o,...i}=e,a=Object.values(i)[0];if(Zf(a)){let c=Bd(a.meta.input,r,t);tc(c.parameters);let d={meta:c,stories:{},moduleExports:e};return Object.keys(i).forEach(p=>{if(Dd(p,c)){let h=Kl(p,i[p].input,c);tc(h.parameters),d.stories[h.id]=h}}),d.projectAnnotations=a.meta.preview.composed,d}let l=Bd(n,r,t);tc(l.parameters);let u={meta:l,stories:{},moduleExports:e};return Object.keys(i).forEach(c=>{if(Dd(c,l)){let d=Kl(c,i[c],l);tc(d.parameters),u.stories[d.id]=d}}),u}s(ZF,"processCSFFile");function eD(e){return e!=null&&tD(e).includes("mount")}s(eD,"mountDestructured");function tD(e){let t=e.toString().match(/[^(]*\(([^)]*)/);if(!t)return[];let r=Sg(t[1]);if(!r.length)return[];let n=r[0];return n.startsWith("{")&&n.endsWith("}")?Sg(n.slice(1,-1).replace(/\s/g,"")).map(o=>o.replace(/:.*|=.*/g,"")):[]}s(tD,"getUsedProps");function Sg(e){let t=[],r=[],n=0;for(let i=0;i<e.length;i++)if(e[i]==="{"||e[i]==="[")r.push(e[i]==="{"?"}":"]");else if(e[i]===r[r.length-1])r.pop();else if(!r.length&&e[i]===","){let a=e.substring(n,i).trim();a&&t.push(a),n=i+1}let o=e.substring(n).trim();return o&&t.push(o),t}s(Sg,"splitByComma");function R0(e,t,r){let n=r(e);return o=>t(n,o)}s(R0,"decorateStory");function N0({componentId:e,title:t,kind:r,id:n,name:o,story:i,parameters:a,initialArgs:l,argTypes:u,...c}={}){return c}s(N0,"sanitizeStoryContextUpdate");function I0(e,t){let r={},n=s(i=>a=>{if(!r.value)throw new Error("Decorated function called without init");return r.value={...r.value,...N0(a)},i(r.value)},"bindWithContext"),o=t.reduce((i,a)=>R0(i,a,n),e);return i=>(r.value=i,o(i))}s(I0,"defaultDecorateStory");var $i=s((...e)=>{let t={},r=e.filter(Boolean),n=r.reduce((o,i)=>(Object.entries(i).forEach(([a,l])=>{let u=o[a];Array.isArray(l)||typeof u>"u"?o[a]=l:an(l)&&an(u)?t[a]=!0:typeof l<"u"&&(o[a]=l)}),o),{});return Object.keys(t).forEach(o=>{let i=r.filter(Boolean).map(a=>a[o]).filter(a=>typeof a<"u");i.every(a=>an(a))?n[o]=$i(...i):n[o]=i[i.length-1]}),n},"combineParameters");function eh(e,t,r){let{moduleExport:n,id:o,name:i}=e||{},a=M0(e,t,r),l=s(async C=>{let w={};for(let E of[nt(r.loaders),nt(t.loaders),nt(e.loaders)]){if(C.abortSignal.aborted)return w;let _=await Promise.all(E.map(R=>R(C)));Object.assign(w,..._)}return w},"applyLoaders"),u=s(async C=>{let w=new Array;for(let E of[...nt(r.beforeEach),...nt(t.beforeEach),...nt(e.beforeEach)]){if(C.abortSignal.aborted)return w;let _=await E(C);_&&w.push(_)}return w},"applyBeforeEach"),c=s(async C=>{let w=[...nt(r.afterEach),...nt(t.afterEach),...nt(e.afterEach)].reverse();for(let E of w){if(C.abortSignal.aborted)return;await E(C)}},"applyAfterEach"),d=s(C=>C.originalStoryFn(C.args,C),"undecoratedStoryFn"),{applyDecorators:p=I0,runStep:h}=r,f=[...nt(e==null?void 0:e.decorators),...nt(t==null?void 0:t.decorators),...nt(r==null?void 0:r.decorators)],m=(e==null?void 0:e.userStoryFn)||(e==null?void 0:e.render)||t.render||r.render,y=A1(p)(d,f),g=s(C=>y(C),"unboundStoryFn"),b=(e==null?void 0:e.play)??(t==null?void 0:t.play),v=eD(b);if(!m&&!v)throw new p1({id:o});let S=s(C=>async()=>(await C.renderToCanvas(),C.canvas),"defaultMount"),T=e.mount??t.mount??r.mount??S,P=r.testingLibraryRender;return{storyGlobals:{},...a,moduleExport:n,id:o,name:i,story:i,originalStoryFn:m,undecoratedStoryFn:d,unboundStoryFn:g,applyLoaders:l,applyBeforeEach:u,applyAfterEach:c,playFunction:b,runStep:h,mount:T,testingLibraryRender:P,renderToCanvas:r.renderToCanvas,usesMount:v}}s(eh,"prepareStory");function k0(e,t,r){return{...M0(void 0,e,t),moduleExport:r}}s(k0,"prepareMeta");function M0(e,t,r){var b;let n=["dev","test"],o=((b=me.DOCS_OPTIONS)==null?void 0:b.autodocs)===!0?["autodocs"]:[],i=Ite(...n,...o,...r.tags??[],...t.tags??[],...(e==null?void 0:e.tags)??[]),a=$i(r.parameters,t.parameters,e==null?void 0:e.parameters),{argTypesEnhancers:l=[],argsEnhancers:u=[]}=r,c=$i(r.argTypes,t.argTypes,e==null?void 0:e.argTypes);if(e){let v=(e==null?void 0:e.userStoryFn)||(e==null?void 0:e.render)||t.render||r.render;a.__isArgsStory=v&&v.length>0}let d={...r.args,...t.args,...e==null?void 0:e.args},p={...t.globals,...e==null?void 0:e.globals},h={componentId:t.id,title:t.title,kind:t.title,id:(e==null?void 0:e.id)||t.id,name:(e==null?void 0:e.name)||"__meta",story:(e==null?void 0:e.name)||"__meta",component:t.component,subcomponents:t.subcomponents,tags:i,parameters:a,initialArgs:d,argTypes:c,storyGlobals:p};h.argTypes=l.reduce((v,S)=>S({...h,argTypes:v}),h.argTypes);let f={...d};h.initialArgs=[...u].reduce((v,S)=>({...v,...S({...h,initialArgs:v})}),f);let{name:m,story:y,...g}=h;return g}s(M0,"preparePartialAnnotations");function q0(e){var i;let{args:t}=e,r={...e,allArgs:void 0,argsByTarget:void 0};if((i=me.FEATURES)!=null&&i.argTypeTargetsV7){let a=VF(e);r={...e,allArgs:e.args,argsByTarget:a,args:a[HF]||{}}}let n=Object.entries(r.args).reduce((a,[l,u])=>{var d;if(!((d=r.argTypes[l])!=null&&d.mapping))return a[l]=u,a;let c=s(p=>{let h=r.argTypes[l].mapping;return h&&p in h?h[p]:p},"mappingFn");return a[l]=Array.isArray(u)?u.map(c):c(u),a},{}),o=Object.entries(n).reduce((a,[l,u])=>{let c=r.argTypes[l]||{};return Ate(c,n,r.globals)&&(a[l]=u),a},{});return{...r,unmappedArgs:t,args:o}}s(q0,"prepareContext");var xg=s((e,t,r)=>{let n=typeof e;switch(n){case"boolean":case"string":case"number":case"function":case"symbol":return{name:n}}return e?r.has(e)?(at.warn(Ie`
|
|
928
|
-
We've detected a cycle in arg '${t}'. Args should be JSON-serializable.
|
|
929
|
-
|
|
930
|
-
Consider using the mapping feature or fully custom args:
|
|
931
|
-
- Mapping: https://storybook.js.org/docs/writing-stories/args#mapping-to-complex-arg-values
|
|
932
|
-
- Custom args: https://storybook.js.org/docs/essentials/controls#fully-custom-args
|
|
933
|
-
`),{name:"other",value:"cyclic object"}):(r.add(e),Array.isArray(e)?{name:"array",value:e.length>0?xg(e[0],t,new Set(r)):{name:"other",value:"unknown"}}:{name:"object",value:Ha(e,o=>xg(o,t,new Set(r)))}):{name:"object",value:{}}},"inferType"),rD=s(e=>{let{id:t,argTypes:r={},initialArgs:n={}}=e,o=Ha(n,(a,l)=>({name:l,type:xg(a,`${t}.${l}`,new Set)})),i=Ha(r,(a,l)=>({name:l}));return $i(o,i,r)},"inferArgTypes");rD.secondPass=!0;var aC=s((e,t)=>Array.isArray(t)?t.includes(e):e.match(t),"matches"),nD=s((e,t,r)=>!t&&!r?e:e&&D1(e,(n,o)=>{let i=n.name||o.toString();return!!(!t||aC(i,t))&&(!r||!aC(i,r))}),"filterArgTypes"),jte=s((e,t,r)=>{let{type:n,options:o}=e;if(n){if(r.color&&r.color.test(t)){let i=n.name;if(i==="string")return{control:{type:"color"}};i!=="enum"&&at.warn(`Addon controls: Control of type color only supports string, received "${i}" instead`)}if(r.date&&r.date.test(t))return{control:{type:"date"}};switch(n.name){case"array":return{control:{type:"object"}};case"boolean":return{control:{type:"boolean"}};case"string":return{control:{type:"text"}};case"number":return{control:{type:"number"}};case"enum":{let{value:i}=n;return{control:{type:(i==null?void 0:i.length)<=5?"radio":"select"},options:i}}case"function":case"symbol":return null;default:return{control:{type:o?"select":"object"}}}}},"inferControl"),j0=s(e=>{let{argTypes:t,parameters:{__isArgsStory:r,controls:{include:n=null,exclude:o=null,matchers:i={}}={}}}=e;if(!r)return t;let a=nD(t,n,o),l=Ha(a,(u,c)=>(u==null?void 0:u.type)&&jte(u,c.toString(),i));return $i(l,a)},"inferControls");j0.secondPass=!0;function Yl({argTypes:e,globalTypes:t,argTypesEnhancers:r,decorators:n,loaders:o,beforeEach:i,afterEach:a,initialGlobals:l,...u}){return{...e&&{argTypes:Fd(e)},...t&&{globalTypes:Fd(t)},decorators:nt(n),loaders:nt(o),beforeEach:nt(i),afterEach:nt(a),argTypesEnhancers:[...r||[],rD,j0],initialGlobals:l,...u}}s(Yl,"normalizeProjectAnnotations");var $te=s(e=>async()=>{let t=[];for(let r of e){let n=await r();n&&t.unshift(n)}return async()=>{for(let r of t)await r()}},"composeBeforeAllHooks");function $0(e){return async(t,r,n)=>{await e.reduceRight((o,i)=>async()=>i(t,o,n),async()=>r(n))()}}s($0,"composeStepRunners");function as(e,t){return e.map(r=>{var n;return((n=r.default)==null?void 0:n[t])??r[t]}).filter(Boolean)}s(as,"getField");function Bn(e,t,r={}){return as(e,t).reduce((n,o)=>{let i=nt(o);return r.reverseFileOrder?[...i,...n]:[...n,...i]},[])}s(Bn,"getArrayField");function Xs(e,t){return Object.assign({},...as(e,t))}s(Xs,"getObjectField");function ha(e,t){return as(e,t).pop()}s(ha,"getSingletonField");function Li(e){var o;let t=Bn(e,"argTypesEnhancers"),r=as(e,"runStep"),n=Bn(e,"beforeAll");return{parameters:$i(...as(e,"parameters")),decorators:Bn(e,"decorators",{reverseFileOrder:!(((o=me.FEATURES)==null?void 0:o.legacyDecoratorFileOrder)??!1)}),args:Xs(e,"args"),argsEnhancers:Bn(e,"argsEnhancers"),argTypes:Xs(e,"argTypes"),argTypesEnhancers:[...t.filter(i=>!i.secondPass),...t.filter(i=>i.secondPass)],initialGlobals:Xs(e,"initialGlobals"),globalTypes:Xs(e,"globalTypes"),loaders:Bn(e,"loaders"),beforeAll:$te(n),beforeEach:Bn(e,"beforeEach"),afterEach:Bn(e,"afterEach"),render:ha(e,"render"),renderToCanvas:ha(e,"renderToCanvas"),applyDecorators:ha(e,"applyDecorators"),runStep:$0(r),tags:Bn(e,"tags"),mount:ha(e,"mount"),testingLibraryRender:ha(e,"testingLibraryRender")}}s(Li,"composeConfigs");function L0(){try{return!!globalThis.__vitest_browser__||!!globalThis.__playwright__binding__}catch{return!1}}s(L0,"isTestEnvironment");function th(e=!0){if(!("document"in globalThis&&"createElement"in globalThis.document))return()=>{};let t=document.createElement("style");t.textContent=`*, *:before, *:after {
|
|
934
|
-
animation: none !important;
|
|
935
|
-
}`,document.head.appendChild(t);let r=document.createElement("style");return r.textContent=`*, *:before, *:after {
|
|
936
|
-
animation-delay: 0s !important;
|
|
937
|
-
animation-direction: ${e?"reverse":"normal"} !important;
|
|
938
|
-
animation-play-state: paused !important;
|
|
939
|
-
transition: none !important;
|
|
940
|
-
}`,document.head.appendChild(r),document.body.clientHeight,document.head.removeChild(t),()=>{var n;(n=r.parentNode)==null||n.removeChild(r)}}s(th,"pauseAnimations");async function rh(e){if(!("document"in globalThis&&"getAnimations"in globalThis.document&&"querySelectorAll"in globalThis.document))return;let t=!1;await Promise.race([new Promise(r=>{setTimeout(()=>{let n=[globalThis.document,...F0(globalThis.document)],o=s(async()=>{if(t||e!=null&&e.aborted)return;let i=n.flatMap(a=>{var l;return((l=a==null?void 0:a.getAnimations)==null?void 0:l.call(a))||[]}).filter(a=>a.playState==="running"&&!oD(a));i.length>0&&(await Promise.all(i.map(a=>a.finished)),await o())},"checkAnimationsFinished");o().then(r)},100)}),new Promise(r=>setTimeout(()=>{t=!0,r(void 0)},5e3))])}s(rh,"waitForAnimations");function F0(e){return[e,...e.querySelectorAll("*")].reduce((t,r)=>("shadowRoot"in r&&r.shadowRoot&&t.push(r.shadowRoot,...F0(r.shadowRoot)),t),[])}s(F0,"getShadowRoots");function oD(e){var t;if(e instanceof CSSAnimation&&e.effect instanceof KeyframeEffect&&e.effect.target){let r=getComputedStyle(e.effect.target,e.effect.pseudoElement),n=(t=r.animationName)==null?void 0:t.split(", ").indexOf(e.animationName);return r.animationIterationCount.split(", ")[n]==="infinite"}return!1}s(oD,"isInfiniteAnimation");var iD=class{constructor(){this.reports=[]}async addReport(t){this.reports.push(t)}};s(iD,"ReporterAPI");var D0=iD;function B0(e,t,r){return Zf(e)?{story:e.input,meta:e.meta.input,preview:e.meta.preview.composed}:{story:e,meta:t,preview:r}}s(B0,"getCsfFactoryAnnotations");function aD(e){globalThis.defaultProjectAnnotations=e}s(aD,"setDefaultProjectAnnotations");var Lte="ComposedStory",Fte="Unnamed Story";function sD(e){return e?Li([e]):{}}s(sD,"extractAnnotation");function lD(e){let t=Array.isArray(e)?e:[e];return globalThis.globalProjectAnnotations=Li([...Qf(),globalThis.defaultProjectAnnotations??{},Li(t.map(sD))]),globalThis.globalProjectAnnotations??{}}s(lD,"setProjectAnnotations");var Io=[];function U0(e,t,r,n,o){var b;if(e===void 0)throw new Error("Expected a story but received undefined.");t.title=t.title??Lte;let i=Bd(t),a=o||e.storyName||((b=e.story)==null?void 0:b.name)||e.name||Fte,l=Kl(a,e,i),u=Yl(Li([n??globalThis.globalProjectAnnotations??{},r??{}])),c=eh(l,i,u),d={...WF(u.globalTypes),...u.initialGlobals,...c.storyGlobals},p=new D0,h=s(()=>{let v=q0({hooks:new Lb,globals:d,args:{...c.initialArgs},viewMode:"story",reporting:p,loaded:{},abortSignal:new AbortController().signal,step:s((S,T)=>c.runStep(S,T,v),"step"),canvasElement:null,canvas:{},userEvent:{},globalTypes:u.globalTypes,...c,context:null,mount:null});return v.parameters.__isPortableStory=!0,v.context=v,c.renderToCanvas&&(v.renderToCanvas=async()=>{var T;let S=await((T=c.renderToCanvas)==null?void 0:T.call(c,{componentId:c.componentId,title:c.title,id:c.id,name:c.name,tags:c.tags,showMain:s(()=>{},"showMain"),showError:s(P=>{throw new Error(`${P.title}
|
|
941
|
-
${P.description}`)},"showError"),showException:s(P=>{throw P},"showException"),forceRemount:!0,storyContext:v,storyFn:s(()=>c.unboundStoryFn(v),"storyFn"),unboundStoryFn:c.unboundStoryFn},v.canvasElement));S&&Io.push(S)}),v.mount=c.mount(v),v},"initializeContext"),f,m=s(async v=>{var T;let S=h();return S.canvasElement??(S.canvasElement=(T=globalThis==null?void 0:globalThis.document)==null?void 0:T.body),f&&(S.loaded=f.loaded),Object.assign(S,v),c.playFunction(S)},"play"),y=s(v=>{let S=h();return Object.assign(S,v),dD(c,S)},"run"),g=c.playFunction?m:void 0;return Object.assign(s(function(v){let S=h();return f&&(S.loaded=f.loaded),S.args={...S.initialArgs,...v},c.unboundStoryFn(S)},"storyFn"),{id:c.id,storyName:a,load:s(async()=>{for(let S of[...Io].reverse())await S();Io.length=0;let v=h();v.loaded=await c.applyLoaders(v),Io.push(...(await c.applyBeforeEach(v)).filter(Boolean)),f=v},"load"),globals:d,args:c.initialArgs,parameters:c.parameters,argTypes:c.argTypes,play:g,run:y,reporting:p,tags:c.tags})}s(U0,"composeStory");var Dte=s((e,t,r,n)=>U0(e,t,r,{},n),"defaultComposeStory");function uD(e,t,r=Dte){let{default:n,__esModule:o,__namedExportsOrder:i,...a}=e,l=n;return Object.entries(a).reduce((u,[c,d])=>{let{story:p,meta:h}=B0(d);return!l&&h&&(l=h),Dd(c,l)?Object.assign(u,{[c]:r(p,l,t,c)}):u},{})}s(uD,"composeStories");function cD(e){return e.extend({mount:s(async({mount:t,page:r},n)=>{await n(async(o,...i)=>{if(!("__pw_type"in o)||"__pw_type"in o&&o.__pw_type!=="jsx")throw new Error(Ie`
|
|
942
|
-
Portable stories in Playwright CT only work when referencing JSX elements.
|
|
943
|
-
Please use JSX format for your components such as:
|
|
944
|
-
|
|
945
|
-
instead of:
|
|
946
|
-
await mount(MyComponent, { props: { foo: 'bar' } })
|
|
947
|
-
|
|
948
|
-
do:
|
|
949
|
-
await mount(<MyComponent foo="bar"/>)
|
|
950
|
-
|
|
951
|
-
More info: https://storybook.js.org/docs/api/portable-stories-playwright
|
|
952
|
-
`);await r.evaluate(async l=>{var c,d,p;let u=await((c=globalThis.__pwUnwrapObject)==null?void 0:c.call(globalThis,l));return(p=(d="__pw_type"in u?u.type:u)==null?void 0:d.load)==null?void 0:p.call(d)},o);let a=await t(o,...i);return await r.evaluate(async l=>{var p,h;let u=await((p=globalThis.__pwUnwrapObject)==null?void 0:p.call(globalThis,l)),c="__pw_type"in u?u.type:u,d=document.querySelector("#root");return(h=c==null?void 0:c.play)==null?void 0:h.call(c,{canvasElement:d})},o),a})},"mount")})}s(cD,"createPlaywrightTest");async function dD(e,t){var i,a;for(let l of[...Io].reverse())await l();if(Io.length=0,!t.canvasElement){let l=document.createElement("div");(a=(i=globalThis==null?void 0:globalThis.document)==null?void 0:i.body)==null||a.appendChild(l),t.canvasElement=l,Io.push(()=>{var u,c,d,p;(c=(u=globalThis==null?void 0:globalThis.document)==null?void 0:u.body)!=null&&c.contains(l)&&((p=(d=globalThis==null?void 0:globalThis.document)==null?void 0:d.body)==null||p.removeChild(l))})}if(t.loaded=await e.applyLoaders(t),t.abortSignal.aborted)return;Io.push(...(await e.applyBeforeEach(t)).filter(Boolean));let r=e.playFunction,n=e.usesMount;if(n||await t.mount(),t.abortSignal.aborted)return;r&&(n||(t.mount=async()=>{throw new jb({playFunction:r.toString()})}),await r(t));let o;L0()?o=th():await rh(t.abortSignal),await e.applyAfterEach(t),await(o==null?void 0:o())}s(dD,"runStory");var sC=1e3,Bte=1e4,pD=class{constructor(t,r,n){this.importFn=r,this.storyIndex=new Tte(t),this.projectAnnotations=Yl(Li([...Qf(),n]));let{initialGlobals:o,globalTypes:i}=this.projectAnnotations;this.args=new wte,this.userGlobals=new Ete({globals:o,globalTypes:i}),this.hooks={},this.cleanupCallbacks={},this.processCSFFileWithCache=(0,$h.default)(sC)(ZF),this.prepareMetaWithCache=(0,$h.default)(sC)(k0),this.prepareStoryWithCache=(0,$h.default)(Bte)(eh)}setProjectAnnotations(t){this.projectAnnotations=Yl(t);let{initialGlobals:r,globalTypes:n}=t;this.userGlobals.set({globals:r,globalTypes:n})}async onStoriesChanged({importFn:t,storyIndex:r}){t&&(this.importFn=t),r&&(this.storyIndex.entries=r.entries),this.cachedCSFFiles&&await this.cacheAllCSFFiles()}async storyIdToEntry(t){return this.storyIndex.storyIdToEntry(t)}async loadCSFFileByStoryId(t){let{importPath:r,title:n}=this.storyIndex.storyIdToEntry(t),o=await this.importFn(r);return this.processCSFFileWithCache(o,r,n)}async loadAllCSFFiles(){let t={};return Object.entries(this.storyIndex.entries).forEach(([r,{importPath:n}])=>{t[n]=r}),(await Promise.all(Object.entries(t).map(async([r,n])=>({importPath:r,csfFile:await this.loadCSFFileByStoryId(n)})))).reduce((r,{importPath:n,csfFile:o})=>(r[n]=o,r),{})}async cacheAllCSFFiles(){this.cachedCSFFiles=await this.loadAllCSFFiles()}preparedMetaFromCSFFile({csfFile:t}){let r=t.meta;return this.prepareMetaWithCache(r,this.projectAnnotations,t.moduleExports.default)}async loadStory({storyId:t}){let r=await this.loadCSFFileByStoryId(t);return this.storyFromCSFFile({storyId:t,csfFile:r})}storyFromCSFFile({storyId:t,csfFile:r}){let n=r.stories[t];if(!n)throw new s1({storyId:t});let o=r.meta,i=this.prepareStoryWithCache(n,o,r.projectAnnotations??this.projectAnnotations);return this.args.setInitial(i),this.hooks[i.id]=this.hooks[i.id]||new Lb,i}componentStoriesFromCSFFile({csfFile:t}){return Object.keys(this.storyIndex.entries).filter(r=>!!t.stories[r]).map(r=>this.storyFromCSFFile({storyId:r,csfFile:t}))}async loadEntry(t){let r=await this.storyIdToEntry(t),n=r.type==="docs"?r.storiesImports:[],[o,...i]=await Promise.all([this.importFn(r.importPath),...n.map(a=>{let l=this.storyIndex.importPathToEntry(a);return this.loadCSFFileByStoryId(l.id)})]);return{entryExports:o,csfFiles:i}}getStoryContext(t,{forceInitialArgs:r=!1}={}){let n=this.userGlobals.get(),{initialGlobals:o}=this.userGlobals,i=new D0;return q0({...t,args:r?t.initialArgs:this.args.get(t.id),initialGlobals:o,globalTypes:this.projectAnnotations.globalTypes,userGlobals:n,reporting:i,globals:{...n,...t.storyGlobals},hooks:this.hooks[t.id]})}addCleanupCallbacks(t,...r){this.cleanupCallbacks[t.id]=(this.cleanupCallbacks[t.id]||[]).concat(r)}async cleanupStory(t){this.hooks[t.id].clean();let r=this.cleanupCallbacks[t.id];if(r)for(let n of[...r].reverse())await n();delete this.cleanupCallbacks[t.id]}extract(t={includeDocsOnly:!1}){let{cachedCSFFiles:r}=this;if(!r)throw new GO;return Object.entries(this.storyIndex.entries).reduce((n,[o,{type:i,importPath:a}])=>{if(i==="docs")return n;let l=r[a],u=this.storyFromCSFFile({storyId:o,csfFile:l});return!t.includeDocsOnly&&u.parameters.docsOnly||(n[o]=Object.entries(u).reduce((c,[d,p])=>d==="moduleExport"||typeof p=="function"?c:Array.isArray(p)?Object.assign(c,{[d]:p.slice().sort()}):Object.assign(c,{[d]:p}),{args:u.initialArgs,globals:{...this.userGlobals.initialGlobals,...this.userGlobals.globals,...u.storyGlobals}})),n},{})}};s(pD,"StoryStore");var fD=pD;function hD(e){return e.startsWith("\\\\?\\")?e:e.replace(/\\/g,"/")}s(hD,"slash");var Ute=s(e=>{if(e.length===0)return e;let t=e[e.length-1],r=t==null?void 0:t.replace(/(?:[.](?:story|stories))?([.][^.]+)$/i,"");if(e.length===1)return[r];let n=e[e.length-2];return r&&n&&r.toLowerCase()===n.toLowerCase()?[...e.slice(0,-2),r]:r&&(/^(story|stories)([.][^.]+)$/i.test(t)||/^index$/i.test(r))?e.slice(0,-1):[...e.slice(0,-1),r]},"sanitize");function Tg(e){return e.flatMap(t=>t.split("/")).filter(Boolean).join("/")}s(Tg,"pathJoin");var mD=s((e,t,r)=>{let{directory:n,importPathMatcher:o,titlePrefix:i=""}=t||{};typeof e=="number"&&St.warn(Ie`
|
|
953
|
-
CSF Auto-title received a numeric fileName. This typically happens when
|
|
954
|
-
webpack is mis-configured in production mode. To force webpack to produce
|
|
955
|
-
filenames, set optimization.moduleIds = "named" in your webpack config.
|
|
956
|
-
`);let a=hD(String(e));if(o.exec(a)){if(!r){let l=a.replace(n,""),u=Tg([i,l]).split("/");return u=Ute(u),u.join("/")}return i?Tg([i,r]):r}},"userOrAutoTitleFromSpecifier"),Hte=s((e,t,r)=>{for(let n=0;n<t.length;n+=1){let o=mD(e,t[n],r);if(o)return o}return r||void 0},"userOrAutoTitle"),lC=/\s*\/\s*/,Vte=s((e={})=>(t,r)=>{if(t.title===r.title&&!e.includeNames)return 0;let n=e.method||"configure",o=e.order||[],i=t.title.trim().split(lC),a=r.title.trim().split(lC);e.includeNames&&(i.push(t.name),a.push(r.name));let l=0;for(;i[l]||a[l];){if(!i[l])return-1;if(!a[l])return 1;let u=i[l],c=a[l];if(u!==c){let p=o.indexOf(u),h=o.indexOf(c),f=o.indexOf("*");return p!==-1||h!==-1?(p===-1&&(f!==-1?p=f:p=o.length),h===-1&&(f!==-1?h=f:h=o.length),p-h):n==="configure"?0:u.localeCompare(c,e.locales?e.locales:void 0,{numeric:!0,sensitivity:"accent"})}let d=o.indexOf(u);d===-1&&(d=o.indexOf("*")),o=d!==-1&&Array.isArray(o[d+1])?o[d+1]:[],l+=1}return 0},"storySort"),Jte=s((e,t,r)=>{if(t){let n;typeof t=="function"?n=t:n=Vte(t),e.sort(n)}else e.sort((n,o)=>r.indexOf(n.importPath)-r.indexOf(o.importPath));return e},"sortStoriesCommon"),zte=s((e,t,r)=>{try{return Jte(e,t,r)}catch(n){throw new Error(Ie`
|
|
957
|
-
Error sorting stories with sort parameter ${t}:
|
|
958
|
-
|
|
959
|
-
> ${n.message}
|
|
960
|
-
|
|
961
|
-
Are you using a V6-style sort function in V7 mode?
|
|
962
|
-
|
|
963
|
-
More info: https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#v7-style-story-sort
|
|
964
|
-
`)}},"sortStoriesV7"),nh=new Error("prepareAborted"),{AbortController:uC}=globalThis;function Cg(e){try{let{name:t="Error",message:r=String(e),stack:n}=e;return{name:t,message:r,stack:n}}catch{return{name:"Error",message:String(e)}}}s(Cg,"serializeError");var yD=class{constructor(t,r,n,o,i,a,l={autoplay:!0,forceInitialArgs:!1},u){this.channel=t,this.store=r,this.renderToScreen=n,this.callbacks=o,this.id=i,this.viewMode=a,this.renderOptions=l,this.type="story",this.notYetRendered=!0,this.rerenderEnqueued=!1,this.disableKeyListeners=!1,this.teardownRender=s(()=>{},"teardownRender"),this.torndown=!1,this.abortController=new uC,u&&(this.story=u,this.phase="preparing")}async runPhase(t,r,n){this.phase=r,this.channel.emit(Oi,{newPhase:this.phase,storyId:this.id}),n&&(await n(),this.checkIfAborted(t))}checkIfAborted(t){return t.aborted?(this.phase="aborted",this.channel.emit(Oi,{newPhase:this.phase,storyId:this.id}),!0):!1}async prepare(){if(await this.runPhase(this.abortController.signal,"preparing",async()=>{this.story=await this.store.loadStory({storyId:this.id})}),this.abortController.signal.aborted)throw await this.store.cleanupStory(this.story),nh}isEqual(t){return!!(this.id===t.id&&this.story&&this.story===t.story)}isPreparing(){return["preparing"].includes(this.phase)}isPending(){return["loading","beforeEach","rendering","playing","afterEach"].includes(this.phase)}async renderToElement(t){return this.canvasElement=t,this.render({initial:!0,forceRemount:!0})}storyContext(){if(!this.story)throw new Error("Cannot call storyContext before preparing");let{forceInitialArgs:t}=this.renderOptions;return this.store.getStoryContext(this.story,{forceInitialArgs:t})}async render({initial:t=!1,forceRemount:r=!1}={}){var S,T,P,C,w,E,_,R;let{canvasElement:n}=this;if(!this.story)throw new Error("cannot render when not prepared");let o=this.story;if(!n)throw new Error("cannot render when canvasElement is unset");let{id:i,componentId:a,title:l,name:u,tags:c,applyLoaders:d,applyBeforeEach:p,applyAfterEach:h,unboundStoryFn:f,playFunction:m,runStep:y}=o;r&&!t&&(this.cancelRender(),this.abortController=new uC);let g=this.abortController.signal,b=!1,v=o.usesMount;try{let N={...this.storyContext(),viewMode:this.viewMode,abortSignal:g,canvasElement:n,loaded:{},step:s((te,Y)=>y(te,Y,N),"step"),context:null,canvas:{},userEvent:{},renderToCanvas:s(async()=>{let te=await this.renderToScreen(q,n);this.teardownRender=te||(()=>{}),b=!0},"renderToCanvas"),mount:s(async(...te)=>{var Q,re;(re=(Q=this.callbacks).showStoryDuringRender)==null||re.call(Q);let Y=null;return await this.runPhase(g,"rendering",async()=>{Y=await o.mount(N)(...te)}),v&&await this.runPhase(g,"playing"),Y},"mount")};N.context=N;let q={componentId:a,title:l,kind:l,id:i,name:u,story:u,tags:c,...this.callbacks,showError:s(te=>(this.phase="errored",this.callbacks.showError(te)),"showError"),showException:s(te=>(this.phase="errored",this.callbacks.showException(te)),"showException"),forceRemount:r||this.notYetRendered,storyContext:N,storyFn:s(()=>f(N),"storyFn"),unboundStoryFn:f};if(await this.runPhase(g,"loading",async()=>{N.loaded=await d(N)}),g.aborted)return;let L=await p(N);if(this.store.addCleanupCallbacks(o,...L),this.checkIfAborted(g)||(!b&&!v&&await N.mount(),this.notYetRendered=!1,g.aborted))return;let O=((T=(S=this.story.parameters)==null?void 0:S.test)==null?void 0:T.dangerouslyIgnoreUnhandledErrors)===!0,k=new Set,M=s(te=>{te.error&&k.add(te.error)},"onError"),G=s(te=>{te.reason&&k.add(te.reason)},"onUnhandledRejection");if(this.renderOptions.autoplay&&r&&m&&this.phase!=="errored"){(P=window==null?void 0:window.addEventListener)==null||P.call(window,"error",M),(C=window==null?void 0:window.addEventListener)==null||C.call(window,"unhandledrejection",G),this.disableKeyListeners=!0;try{if(v?await m(N):(N.mount=async()=>{throw new jb({playFunction:m.toString()})},await this.runPhase(g,"playing",async()=>m(N))),!b)throw new h1;this.checkIfAborted(g),!O&&k.size>0?await this.runPhase(g,"errored"):await this.runPhase(g,"played")}catch(te){if((E=(w=this.callbacks).showStoryDuringRender)==null||E.call(w),await this.runPhase(g,"errored",async()=>{this.channel.emit(iP,Cg(te))}),this.story.parameters.throwPlayFunctionExceptions!==!1)throw te;console.error(te)}if(!O&&k.size>0&&this.channel.emit(aP,Array.from(k).map(Cg)),this.disableKeyListeners=!1,(_=window==null?void 0:window.removeEventListener)==null||_.call(window,"unhandledrejection",G),(R=window==null?void 0:window.removeEventListener)==null||R.call(window,"error",M),g.aborted)return}await this.runPhase(g,"completing",async()=>{L0()?this.store.addCleanupCallbacks(o,th()):await rh(g)}),await this.runPhase(g,"completed",async()=>{this.channel.emit(Vc,i)}),this.phase!=="errored"&&await this.runPhase(g,"afterEach",async()=>{await h(N)});let V=!O&&k.size>0,oe=N.reporting.reports.some(te=>te.status==="failed"),fe=V||oe;await this.runPhase(g,"finished",async()=>this.channel.emit(Em,{storyId:i,status:fe?"error":"success",reporters:N.reporting.reports}))}catch(N){this.phase="errored",this.callbacks.showException(N),await this.runPhase(g,"finished",async()=>this.channel.emit(Em,{storyId:i,status:"error",reporters:[]}))}this.rerenderEnqueued&&(this.rerenderEnqueued=!1,this.render())}async rerender(){if(this.isPending()&&this.phase!=="playing")this.rerenderEnqueued=!0;else return this.render()}async remount(){return await this.teardown(),this.render({forceRemount:!0})}cancelRender(){var t;(t=this.abortController)==null||t.abort()}async teardown(){var t,r;this.torndown=!0,this.cancelRender(),this.story&&await this.store.cleanupStory(this.story);for(let n=0;n<3;n+=1){if(!this.isPending()){await this.teardownRender();return}await new Promise(o=>setTimeout(o,0))}(r=(t=window==null?void 0:window.location)==null?void 0:t.reload)==null||r.call(t),await new Promise(()=>{})}};s(yD,"StoryRender");var _g=yD,{fetch:Wte}=me,Gte="./index.json",gD=class{constructor(t,r,n=br.getChannel(),o=!0){this.importFn=t,this.getProjectAnnotations=r,this.channel=n,this.storyRenders=[],this.storeInitializationPromise=new Promise((i,a)=>{this.resolveStoreInitializationPromise=i,this.rejectStoreInitializationPromise=a}),o&&this.initialize()}get storyStore(){return new Proxy({},{get:s((t,r)=>{if(this.storyStoreValue)return xb("Accessing the Story Store is deprecated and will be removed in 9.0"),this.storyStoreValue[r];throw new u1},"get")})}async initialize(){this.setupListeners();try{let t=await this.getProjectAnnotationsOrRenderError();await this.runBeforeAllHook(t),await this.initializeWithProjectAnnotations(t)}catch(t){this.rejectStoreInitializationPromise(t)}}ready(){return this.storeInitializationPromise}setupListeners(){this.channel.on(fP,this.onStoryIndexChanged.bind(this)),this.channel.on(Eb,this.onUpdateGlobals.bind(this)),this.channel.on(Sb,this.onUpdateArgs.bind(this)),this.channel.on(wP,this.onRequestArgTypesInfo.bind(this)),this.channel.on(vb,this.onResetArgs.bind(this)),this.channel.on(bb,this.onForceReRender.bind(this)),this.channel.on(Hc,this.onForceRemount.bind(this))}async getProjectAnnotationsOrRenderError(){try{let t=await this.getProjectAnnotations();if(this.renderToCanvas=t.renderToCanvas,!this.renderToCanvas)throw new YO;return t}catch(t){throw this.renderPreviewEntryError("Error reading preview.js:",t),t}}async initializeWithProjectAnnotations(t){this.projectAnnotationsBeforeInitialization=t;try{let r=await this.getStoryIndexFromServer();return this.initializeWithStoryIndex(r)}catch(r){throw this.renderPreviewEntryError("Error loading story index:",r),r}}async runBeforeAllHook(t){var r,n;try{await((r=this.beforeAllCleanup)==null?void 0:r.call(this)),this.beforeAllCleanup=await((n=t.beforeAll)==null?void 0:n.call(t))}catch(o){throw this.renderPreviewEntryError("Error in beforeAll hook:",o),o}}async getStoryIndexFromServer(){let t=await Wte(Gte);if(t.status===200)return t.json();throw new ZO({text:await t.text()})}initializeWithStoryIndex(t){if(!this.projectAnnotationsBeforeInitialization)throw new Error("Cannot call initializeWithStoryIndex until project annotations resolve");this.storyStoreValue=new fD(t,this.importFn,this.projectAnnotationsBeforeInitialization),delete this.projectAnnotationsBeforeInitialization,this.setInitialGlobals(),this.resolveStoreInitializationPromise()}async setInitialGlobals(){this.emitGlobals()}emitGlobals(){if(!this.storyStoreValue)throw new _r({methodName:"emitGlobals"});let t={globals:this.storyStoreValue.userGlobals.get()||{},globalTypes:this.storyStoreValue.projectAnnotations.globalTypes||{}};this.channel.emit(uP,t)}async onGetProjectAnnotationsChanged({getProjectAnnotations:t}){delete this.previewEntryError,this.getProjectAnnotations=t;let r=await this.getProjectAnnotationsOrRenderError();if(await this.runBeforeAllHook(r),!this.storyStoreValue){await this.initializeWithProjectAnnotations(r);return}this.storyStoreValue.setProjectAnnotations(r),this.emitGlobals()}async onStoryIndexChanged(){if(delete this.previewEntryError,!(!this.storyStoreValue&&!this.projectAnnotationsBeforeInitialization))try{let t=await this.getStoryIndexFromServer();if(this.projectAnnotationsBeforeInitialization){this.initializeWithStoryIndex(t);return}await this.onStoriesChanged({storyIndex:t})}catch(t){throw this.renderPreviewEntryError("Error loading story index:",t),t}}async onStoriesChanged({importFn:t,storyIndex:r}){if(!this.storyStoreValue)throw new _r({methodName:"onStoriesChanged"});await this.storyStoreValue.onStoriesChanged({importFn:t,storyIndex:r})}async onUpdateGlobals({globals:t,currentStory:r}){if(this.storyStoreValue||await this.storeInitializationPromise,!this.storyStoreValue)throw new _r({methodName:"onUpdateGlobals"});if(this.storyStoreValue.userGlobals.update(t),r){let{initialGlobals:n,storyGlobals:o,userGlobals:i,globals:a}=this.storyStoreValue.getStoryContext(r);this.channel.emit(Pl,{initialGlobals:n,userGlobals:i,storyGlobals:o,globals:a})}else{let{initialGlobals:n,globals:o}=this.storyStoreValue.userGlobals;this.channel.emit(Pl,{initialGlobals:n,userGlobals:o,storyGlobals:{},globals:o})}await Promise.all(this.storyRenders.map(n=>n.rerender()))}async onUpdateArgs({storyId:t,updatedArgs:r}){if(!this.storyStoreValue)throw new _r({methodName:"onUpdateArgs"});this.storyStoreValue.args.update(t,r),await Promise.all(this.storyRenders.filter(n=>n.id===t&&!n.renderOptions.forceInitialArgs).map(n=>n.story&&n.story.usesMount?n.remount():n.rerender())),this.channel.emit(cP,{storyId:t,args:this.storyStoreValue.args.get(t)})}async onRequestArgTypesInfo({id:t,payload:r}){var n;try{await this.storeInitializationPromise;let o=await((n=this.storyStoreValue)==null?void 0:n.loadStory(r));this.channel.emit(Sm,{id:t,success:!0,payload:{argTypes:(o==null?void 0:o.argTypes)||{}},error:null})}catch(o){this.channel.emit(Sm,{id:t,success:!1,error:o==null?void 0:o.message})}}async onResetArgs({storyId:t,argNames:r}){var i;if(!this.storyStoreValue)throw new _r({methodName:"onResetArgs"});let n=((i=this.storyRenders.find(a=>a.id===t))==null?void 0:i.story)||await this.storyStoreValue.loadStory({storyId:t}),o=(r||[...new Set([...Object.keys(n.initialArgs),...Object.keys(this.storyStoreValue.args.get(t))])]).reduce((a,l)=>(a[l]=n.initialArgs[l],a),{});await this.onUpdateArgs({storyId:t,updatedArgs:o})}async onForceReRender(){await Promise.all(this.storyRenders.map(t=>t.rerender()))}async onForceRemount({storyId:t}){await Promise.all(this.storyRenders.filter(r=>r.id===t).map(r=>r.remount()))}renderStoryToElement(t,r,n,o){if(!this.renderToCanvas||!this.storyStoreValue)throw new _r({methodName:"renderStoryToElement"});let i=new _g(this.channel,this.storyStoreValue,this.renderToCanvas,n,t.id,"docs",o,t);return i.renderToElement(r),this.storyRenders.push(i),async()=>{await this.teardownRender(i)}}async teardownRender(t,{viewModeChanged:r}={}){var n;this.storyRenders=this.storyRenders.filter(o=>o!==t),await((n=t==null?void 0:t.teardown)==null?void 0:n.call(t,{viewModeChanged:r}))}async loadStory({storyId:t}){if(!this.storyStoreValue)throw new _r({methodName:"loadStory"});return this.storyStoreValue.loadStory({storyId:t})}getStoryContext(t,{forceInitialArgs:r=!1}={}){if(!this.storyStoreValue)throw new _r({methodName:"getStoryContext"});return this.storyStoreValue.getStoryContext(t,{forceInitialArgs:r})}async extract(t){if(!this.storyStoreValue)throw new _r({methodName:"extract"});if(this.previewEntryError)throw this.previewEntryError;return await this.storyStoreValue.cacheAllCSFFiles(),this.storyStoreValue.extract(t)}renderPreviewEntryError(t,r){this.previewEntryError=r,at.error(t),at.error(r),this.channel.emit(nP,r)}};s(gD,"Preview");var bD=gD,vD=class{constructor(t,r,n,o){this.channel=t,this.store=r,this.renderStoryToElement=n,this.storyIdByName=s(i=>{let a=this.nameToStoryId.get(i);if(a)return a;throw new Error(`No story found with that name: ${i}`)},"storyIdByName"),this.componentStories=s(()=>this.componentStoriesValue,"componentStories"),this.componentStoriesFromCSFFile=s(i=>this.store.componentStoriesFromCSFFile({csfFile:i}),"componentStoriesFromCSFFile"),this.storyById=s(i=>{if(!i){if(!this.primaryStory)throw new Error("No primary story defined for docs entry. Did you forget to use `<Meta>`?");return this.primaryStory}let a=this.storyIdToCSFFile.get(i);if(!a)throw new Error(`Called \`storyById\` for story that was never loaded: ${i}`);return this.store.storyFromCSFFile({storyId:i,csfFile:a})},"storyById"),this.getStoryContext=s(i=>({...this.store.getStoryContext(i),loaded:{},viewMode:"docs"}),"getStoryContext"),this.loadStory=s(i=>this.store.loadStory({storyId:i}),"loadStory"),this.componentStoriesValue=[],this.storyIdToCSFFile=new Map,this.exportToStory=new Map,this.exportsToCSFFile=new Map,this.nameToStoryId=new Map,this.attachedCSFFiles=new Set,o.forEach((i,a)=>{this.referenceCSFFile(i)})}referenceCSFFile(t){this.exportsToCSFFile.set(t.moduleExports,t),this.exportsToCSFFile.set(t.moduleExports.default,t),this.store.componentStoriesFromCSFFile({csfFile:t}).forEach(r=>{let n=t.stories[r.id];this.storyIdToCSFFile.set(n.id,t),this.exportToStory.set(n.moduleExport,r)})}attachCSFFile(t){if(!this.exportsToCSFFile.has(t.moduleExports))throw new Error("Cannot attach a CSF file that has not been referenced");this.attachedCSFFiles.has(t)||(this.attachedCSFFiles.add(t),this.store.componentStoriesFromCSFFile({csfFile:t}).forEach(r=>{this.nameToStoryId.set(r.name,r.id),this.componentStoriesValue.push(r),this.primaryStory||(this.primaryStory=r)}))}referenceMeta(t,r){let n=this.resolveModuleExport(t);if(n.type!=="meta")throw new Error("<Meta of={} /> must reference a CSF file module export or meta export. Did you mistakenly reference your component instead of your CSF file?");r&&this.attachCSFFile(n.csfFile)}get projectAnnotations(){let{projectAnnotations:t}=this.store;if(!t)throw new Error("Can't get projectAnnotations from DocsContext before they are initialized");return t}resolveAttachedModuleExportType(t){if(t==="story"){if(!this.primaryStory)throw new Error("No primary story attached to this docs file, did you forget to use <Meta of={} />?");return{type:"story",story:this.primaryStory}}if(this.attachedCSFFiles.size===0)throw new Error("No CSF file attached to this docs file, did you forget to use <Meta of={} />?");let r=Array.from(this.attachedCSFFiles)[0];if(t==="meta")return{type:"meta",csfFile:r};let{component:n}=r.meta;if(!n)throw new Error("Attached CSF file does not defined a component, did you forget to export one?");return{type:"component",component:n}}resolveModuleExport(t){let r=this.exportsToCSFFile.get(t);if(r)return{type:"meta",csfFile:r};let n=this.exportToStory.get(Zf(t)?t.input:t);return n?{type:"story",story:n}:{type:"component",component:t}}resolveOf(t,r=[]){let n;if(["component","meta","story"].includes(t)){let o=t;n=this.resolveAttachedModuleExportType(o)}else n=this.resolveModuleExport(t);if(r.length&&!r.includes(n.type)){let o=n.type==="component"?"component or unknown":n.type;throw new Error(Ie`Invalid value passed to the 'of' prop. The value was resolved to a '${o}' type but the only types for this block are: ${r.join(", ")}.
|
|
965
|
-
- Did you pass a component to the 'of' prop when the block only supports a story or a meta?
|
|
966
|
-
- ... or vice versa?
|
|
967
|
-
- Did you pass a story, CSF file or meta to the 'of' prop that is not indexed, ie. is not targeted by the 'stories' globs in the main configuration?`)}switch(n.type){case"component":return{...n,projectAnnotations:this.projectAnnotations};case"meta":return{...n,preparedMeta:this.store.preparedMetaFromCSFFile({csfFile:n.csfFile})};case"story":default:return n}}};s(vD,"DocsContext");var H0=vD,wD=class{constructor(t,r,n,o){this.channel=t,this.store=r,this.entry=n,this.callbacks=o,this.type="docs",this.subtype="csf",this.torndown=!1,this.disableKeyListeners=!1,this.preparing=!1,this.id=n.id}isPreparing(){return this.preparing}async prepare(){this.preparing=!0;let{entryExports:t,csfFiles:r=[]}=await this.store.loadEntry(this.id);if(this.torndown)throw nh;let{importPath:n,title:o}=this.entry,i=this.store.processCSFFileWithCache(t,n,o),a=Object.keys(i.stories)[0];this.story=this.store.storyFromCSFFile({storyId:a,csfFile:i}),this.csfFiles=[i,...r],this.preparing=!1}isEqual(t){return!!(this.id===t.id&&this.story&&this.story===t.story)}docsContext(t){if(!this.csfFiles)throw new Error("Cannot render docs before preparing");let r=new H0(this.channel,this.store,t,this.csfFiles);return this.csfFiles.forEach(n=>r.attachCSFFile(n)),r}async renderToElement(t,r){if(!this.story||!this.csfFiles)throw new Error("Cannot render docs before preparing");let n=this.docsContext(r),{docs:o}=this.story.parameters||{};if(!o)throw new Error("Cannot render a story in viewMode=docs if `@storybook/addon-docs` is not installed");let i=await o.renderer(),{render:a}=i,l=s(async()=>{try{await a(n,o,t),this.channel.emit(gb,this.id)}catch(u){this.callbacks.showException(u)}},"renderDocs");return this.rerender=async()=>l(),this.teardownRender=async({viewModeChanged:u})=>{!u||!t||i.unmount(t)},l()}async teardown({viewModeChanged:t}={}){var r;(r=this.teardownRender)==null||r.call(this,{viewModeChanged:t}),this.torndown=!0}};s(wD,"CsfDocsRender");var cC=wD,ED=class{constructor(t,r,n,o){this.channel=t,this.store=r,this.entry=n,this.callbacks=o,this.type="docs",this.subtype="mdx",this.torndown=!1,this.disableKeyListeners=!1,this.preparing=!1,this.id=n.id}isPreparing(){return this.preparing}async prepare(){this.preparing=!0;let{entryExports:t,csfFiles:r=[]}=await this.store.loadEntry(this.id);if(this.torndown)throw nh;this.csfFiles=r,this.exports=t,this.preparing=!1}isEqual(t){return!!(this.id===t.id&&this.exports&&this.exports===t.exports)}docsContext(t){if(!this.csfFiles)throw new Error("Cannot render docs before preparing");return new H0(this.channel,this.store,t,this.csfFiles)}async renderToElement(t,r){if(!this.exports||!this.csfFiles||!this.store.projectAnnotations)throw new Error("Cannot render docs before preparing");let n=this.docsContext(r),{docs:o}=this.store.projectAnnotations.parameters||{};if(!o)throw new Error("Cannot render a story in viewMode=docs if `@storybook/addon-docs` is not installed");let i={...o,page:this.exports.default},a=await o.renderer(),{render:l}=a,u=s(async()=>{try{await l(n,i,t),this.channel.emit(gb,this.id)}catch(c){this.callbacks.showException(c)}},"renderDocs");return this.rerender=async()=>u(),this.teardownRender=async({viewModeChanged:c}={})=>{!c||!t||(a.unmount(t),this.torndown=!0)},u()}async teardown({viewModeChanged:t}={}){var r;(r=this.teardownRender)==null||r.call(this,{viewModeChanged:t}),this.torndown=!0}};s(ED,"MdxDocsRender");var dC=ED,Kte=globalThis;function SD(e){let t=e.composedPath&&e.composedPath()[0]||e.target;return/input|textarea/i.test(t.tagName)||t.getAttribute("contenteditable")!==null}s(SD,"focusInInput");var xD="attached-mdx",Yte="unattached-mdx";function TD({tags:e}){return(e==null?void 0:e.includes(Yte))||(e==null?void 0:e.includes(xD))}s(TD,"isMdxEntry");function Rc(e){return e.type==="story"}s(Rc,"isStoryRender");function CD(e){return e.type==="docs"}s(CD,"isDocsRender");function _D(e){return CD(e)&&e.subtype==="csf"}s(_D,"isCsfDocsRender");var PD=class extends bD{constructor(t,r,n,o){super(t,r,void 0,!1),this.importFn=t,this.getProjectAnnotations=r,this.selectionStore=n,this.view=o,this.initialize()}setupListeners(){super.setupListeners(),Kte.onkeydown=this.onKeydown.bind(this),this.channel.on(wb,this.onSetCurrentStory.bind(this)),this.channel.on(bP,this.onUpdateQueryParams.bind(this)),this.channel.on(sP,this.onPreloadStories.bind(this))}async setInitialGlobals(){if(!this.storyStoreValue)throw new _r({methodName:"setInitialGlobals"});let{globals:t}=this.selectionStore.selectionSpecifier||{};t&&this.storyStoreValue.userGlobals.updateFromPersisted(t),this.emitGlobals()}async initializeWithStoryIndex(t){return await super.initializeWithStoryIndex(t),this.selectSpecifiedStory()}async selectSpecifiedStory(){if(!this.storyStoreValue)throw new _r({methodName:"selectSpecifiedStory"});if(this.selectionStore.selection){await this.renderSelection();return}if(!this.selectionStore.selectionSpecifier){this.renderMissingStory();return}let{storySpecifier:t,args:r}=this.selectionStore.selectionSpecifier,n=this.storyStoreValue.storyIndex.entryFromSpecifier(t);if(!n){t==="*"?this.renderStoryLoadingException(t,new n1):this.renderStoryLoadingException(t,new i1({storySpecifier:t.toString()}));return}let{id:o,type:i}=n;this.selectionStore.setSelection({storyId:o,viewMode:i}),this.channel.emit(mP,this.selectionStore.selection),this.channel.emit(vm,this.selectionStore.selection),await this.renderSelection({persistedArgs:r})}async onGetProjectAnnotationsChanged({getProjectAnnotations:t}){await super.onGetProjectAnnotationsChanged({getProjectAnnotations:t}),this.selectionStore.selection&&this.renderSelection()}async onStoriesChanged({importFn:t,storyIndex:r}){await super.onStoriesChanged({importFn:t,storyIndex:r}),this.selectionStore.selection?await this.renderSelection():await this.selectSpecifiedStory()}onKeydown(t){if(!this.storyRenders.find(r=>r.disableKeyListeners)&&!SD(t)){let{altKey:r,ctrlKey:n,metaKey:o,shiftKey:i,key:a,code:l,keyCode:u}=t;this.channel.emit(lP,{event:{altKey:r,ctrlKey:n,metaKey:o,shiftKey:i,key:a,code:l,keyCode:u}})}}async onSetCurrentStory(t){this.selectionStore.setSelection({viewMode:"story",...t}),await this.storeInitializationPromise,this.channel.emit(vm,this.selectionStore.selection),this.renderSelection()}onUpdateQueryParams(t){this.selectionStore.setQueryParams(t)}async onUpdateGlobals({globals:t}){var n,o;let r=this.currentRender instanceof _g&&this.currentRender.story||void 0;super.onUpdateGlobals({globals:t,currentStory:r}),(this.currentRender instanceof dC||this.currentRender instanceof cC)&&await((o=(n=this.currentRender).rerender)==null?void 0:o.call(n))}async onUpdateArgs({storyId:t,updatedArgs:r}){super.onUpdateArgs({storyId:t,updatedArgs:r})}async onPreloadStories({ids:t}){await this.storeInitializationPromise,this.storyStoreValue&&await Promise.allSettled(t.map(r=>{var n;return(n=this.storyStoreValue)==null?void 0:n.loadEntry(r)}))}async renderSelection({persistedArgs:t}={}){var h,f,m,y;let{renderToCanvas:r}=this;if(!this.storyStoreValue||!r)throw new _r({methodName:"renderSelection"});let{selection:n}=this.selectionStore;if(!n)throw new Error("Cannot call renderSelection as no selection was made");let{storyId:o}=n,i;try{i=await this.storyStoreValue.storyIdToEntry(o)}catch(g){this.currentRender&&await this.teardownRender(this.currentRender),this.renderStoryLoadingException(o,g);return}let a=((h=this.currentSelection)==null?void 0:h.storyId)!==o,l=((f=this.currentRender)==null?void 0:f.type)!==i.type;i.type==="story"?this.view.showPreparingStory({immediate:l}):this.view.showPreparingDocs({immediate:l}),(m=this.currentRender)!=null&&m.isPreparing()&&await this.teardownRender(this.currentRender);let u;i.type==="story"?u=new _g(this.channel,this.storyStoreValue,r,this.mainStoryCallbacks(o),o,"story"):TD(i)?u=new dC(this.channel,this.storyStoreValue,i,this.mainStoryCallbacks(o)):u=new cC(this.channel,this.storyStoreValue,i,this.mainStoryCallbacks(o));let c=this.currentSelection;this.currentSelection=n;let d=this.currentRender;this.currentRender=u;try{await u.prepare()}catch(g){d&&await this.teardownRender(d),g!==nh&&this.renderStoryLoadingException(o,g);return}let p=!a&&d&&!u.isEqual(d);if(t&&Rc(u)&&(xn(!!u.story),this.storyStoreValue.args.updateFromPersisted(u.story,t)),d&&!d.torndown&&!a&&!p&&!l){this.currentRender=d,this.channel.emit(gP,o),this.view.showMain();return}if(d&&await this.teardownRender(d,{viewModeChanged:l}),c&&(a||l)&&this.channel.emit(dP,o),Rc(u)){xn(!!u.story);let{parameters:g,initialArgs:b,argTypes:v,unmappedArgs:S,initialGlobals:T,userGlobals:P,storyGlobals:C,globals:w}=this.storyStoreValue.getStoryContext(u.story);this.channel.emit(hP,{id:o,parameters:g,initialArgs:b,argTypes:v,args:S}),this.channel.emit(Pl,{userGlobals:P,storyGlobals:C,globals:w,initialGlobals:T})}else{let{parameters:g}=this.storyStoreValue.projectAnnotations,{initialGlobals:b,globals:v}=this.storyStoreValue.userGlobals;if(this.channel.emit(Pl,{globals:v,initialGlobals:b,storyGlobals:{},userGlobals:v}),_D(u)||((y=u.entry.tags)==null?void 0:y.includes(xD))){if(!u.csfFiles)throw new t1({storyId:o});({parameters:g}=this.storyStoreValue.preparedMetaFromCSFFile({csfFile:u.csfFiles[0]}))}this.channel.emit(oP,{id:o,parameters:g})}Rc(u)?(xn(!!u.story),this.storyRenders.push(u),this.currentRender.renderToElement(this.view.prepareForStory(u.story))):this.currentRender.renderToElement(this.view.prepareForDocs(),this.renderStoryToElement.bind(this))}async teardownRender(t,{viewModeChanged:r=!1}={}){var n;this.storyRenders=this.storyRenders.filter(o=>o!==t),await((n=t==null?void 0:t.teardown)==null?void 0:n.call(t,{viewModeChanged:r}))}mainStoryCallbacks(t){return{showStoryDuringRender:s(()=>this.view.showStoryDuringRender(),"showStoryDuringRender"),showMain:s(()=>this.view.showMain(),"showMain"),showError:s(r=>this.renderError(t,r),"showError"),showException:s(r=>this.renderException(t,r),"showException")}}renderPreviewEntryError(t,r){super.renderPreviewEntryError(t,r),this.view.showErrorDisplay(r)}renderMissingStory(){this.view.showNoPreview(),this.channel.emit(wm)}renderStoryLoadingException(t,r){at.error(r),this.view.showErrorDisplay(r),this.channel.emit(wm,t)}renderException(t,r){let{name:n="Error",message:o=String(r),stack:i}=r;this.channel.emit(yP,{name:n,message:o,stack:i}),this.channel.emit(Oi,{newPhase:"errored",storyId:t}),this.view.showErrorDisplay(r),at.error(`Error rendering story '${t}':`),at.error(r)}renderError(t,{title:r,description:n}){at.error(`Error rendering story ${r}: ${n}`),this.channel.emit(pP,{title:r,description:n}),this.channel.emit(Oi,{newPhase:"errored",storyId:t}),this.view.showErrorDisplay({message:r,stack:n})}};s(PD,"PreviewWithSelection");var OD=PD,Pg=_t(hb(),1),Xte=_t(hb(),1),pC=/^[a-zA-Z0-9 _-]*$/,AD=/^-?[0-9]+(\.[0-9]+)?$/,Qte=/^#([a-f0-9]{3,4}|[a-f0-9]{6}|[a-f0-9]{8})$/i,RD=/^(rgba?|hsla?)\(([0-9]{1,3}),\s?([0-9]{1,3})%?,\s?([0-9]{1,3})%?,?\s?([0-9](\.[0-9]{1,2})?)?\)$/i,Og=s((e="",t)=>e===null||e===""||!pC.test(e)?!1:t==null||t instanceof Date||typeof t=="number"||typeof t=="boolean"?!0:typeof t=="string"?pC.test(t)||AD.test(t)||Qte.test(t)||RD.test(t):Array.isArray(t)?t.every(r=>Og(e,r)):an(t)?Object.entries(t).every(([r,n])=>Og(r,n)):!1,"validateArgs"),Zte={delimiter:";",nesting:!0,arrayRepeat:!0,arrayRepeatSyntax:"bracket",nestingSyntax:"js",valueDeserializer(e){if(e.startsWith("!")){if(e==="!undefined")return;if(e==="!null")return null;if(e==="!true")return!0;if(e==="!false")return!1;if(e.startsWith("!date(")&&e.endsWith(")"))return new Date(e.replaceAll(" ","+").slice(6,-1));if(e.startsWith("!hex(")&&e.endsWith(")"))return`#${e.slice(5,-1)}`;let t=e.slice(1).match(RD);if(t)return e.startsWith("!rgba")||e.startsWith("!RGBA")?`${t[1]}(${t[2]}, ${t[3]}, ${t[4]}, ${t[5]})`:e.startsWith("!hsla")||e.startsWith("!HSLA")?`${t[1]}(${t[2]}, ${t[3]}%, ${t[4]}%, ${t[5]})`:e.startsWith("!rgb")||e.startsWith("!RGB")?`${t[1]}(${t[2]}, ${t[3]}, ${t[4]})`:`${t[1]}(${t[2]}, ${t[3]}%, ${t[4]}%)`}return AD.test(e)?Number(e):e}},fC=s(e=>{let t=e.split(";").map(r=>r.replace("=","~").replace(":","="));return Object.entries((0,Xte.parse)(t.join(";"),Zte)).reduce((r,[n,o])=>Og(n,o)?Object.assign(r,{[n]:o}):(St.warn(Ie`
|
|
968
|
-
Omitted potentially unsafe URL args.
|
|
969
|
-
|
|
970
|
-
More info: https://storybook.js.org/docs/writing-stories/args#setting-args-through-the-url
|
|
971
|
-
`),r),{})},"parseArgsParam"),{history:ND,document:Cn}=me;function ID(e){let t=(e||"").match(/^\/story\/(.+)/);if(!t)throw new Error(`Invalid path '${e}', must start with '/story/'`);return t[1]}s(ID,"pathToId");var kD=s(({selection:e,extraParams:t})=>{let r=Cn==null?void 0:Cn.location.search.slice(1),{path:n,selectedKind:o,selectedStory:i,...a}=(0,Pg.parse)(r);return`?${(0,Pg.stringify)({...a,...t,...e&&{id:e.storyId,viewMode:e.viewMode}})}`},"getQueryString"),ere=s(e=>{if(!e)return;let t=kD({selection:e}),{hash:r=""}=Cn.location;Cn.title=e.storyId,ND.replaceState({},"",`${Cn.location.pathname}${t}${r}`)},"setPath"),tre=s(e=>e!=null&&typeof e=="object"&&Array.isArray(e)===!1,"isObject"),ml=s(e=>{if(e!==void 0){if(typeof e=="string")return e;if(Array.isArray(e))return ml(e[0]);if(tre(e))return ml(Object.values(e).filter(Boolean))}},"getFirstString"),rre=s(()=>{if(typeof Cn<"u"){let e=Cn.location.search.slice(1),t=(0,Pg.parse)(e),r=typeof t.args=="string"?fC(t.args):void 0,n=typeof t.globals=="string"?fC(t.globals):void 0,o=ml(t.viewMode);(typeof o!="string"||!o.match(/docs|story/))&&(o="story");let i=ml(t.path),a=i?ID(i):ml(t.id);if(a)return{storySpecifier:a,args:r,globals:n,viewMode:o}}return null},"getSelectionSpecifierFromPath"),MD=class{constructor(){this.selectionSpecifier=rre()}setSelection(t){this.selection=t,ere(this.selection)}setQueryParams(t){let r=kD({extraParams:t}),{hash:n=""}=Cn.location;ND.replaceState({},"",`${Cn.location.pathname}${r}${n}`)}};s(MD,"UrlStore");var qD=MD,nre=_t(PW(),1),ore=_t(hb(),1),{document:er}=me,hC=100,jD=(e=>(e.MAIN="MAIN",e.NOPREVIEW="NOPREVIEW",e.PREPARING_STORY="PREPARING_STORY",e.PREPARING_DOCS="PREPARING_DOCS",e.ERROR="ERROR",e))(jD||{}),Xh={PREPARING_STORY:"sb-show-preparing-story",PREPARING_DOCS:"sb-show-preparing-docs",MAIN:"sb-show-main",NOPREVIEW:"sb-show-nopreview",ERROR:"sb-show-errordisplay"},Qh={centered:"sb-main-centered",fullscreen:"sb-main-fullscreen",padded:"sb-main-padded"},mC=new nre.default({escapeXML:!0}),$D=class{constructor(){if(this.testing=!1,typeof er<"u"){let{__SPECIAL_TEST_PARAMETER__:t}=(0,ore.parse)(er.location.search.slice(1));switch(t){case"preparing-story":{this.showPreparingStory(),this.testing=!0;break}case"preparing-docs":{this.showPreparingDocs(),this.testing=!0;break}}}}prepareForStory(t){return this.showStory(),this.applyLayout(t.parameters.layout),er.documentElement.scrollTop=0,er.documentElement.scrollLeft=0,this.storyRoot()}storyRoot(){return er.getElementById("storybook-root")}prepareForDocs(){return this.showMain(),this.showDocs(),this.applyLayout("fullscreen"),er.documentElement.scrollTop=0,er.documentElement.scrollLeft=0,this.docsRoot()}docsRoot(){return er.getElementById("storybook-docs")}applyLayout(t="padded"){if(t==="none"){er.body.classList.remove(this.currentLayoutClass),this.currentLayoutClass=null;return}this.checkIfLayoutExists(t);let r=Qh[t];er.body.classList.remove(this.currentLayoutClass),er.body.classList.add(r),this.currentLayoutClass=r}checkIfLayoutExists(t){Qh[t]||at.warn(Ie`
|
|
972
|
-
The desired layout: ${t} is not a valid option.
|
|
973
|
-
The possible options are: ${Object.keys(Qh).join(", ")}, none.
|
|
974
|
-
`)}showMode(t){clearTimeout(this.preparingTimeout),Object.keys(jD).forEach(r=>{r===t?er.body.classList.add(Xh[r]):er.body.classList.remove(Xh[r])})}showErrorDisplay({message:t="",stack:r=""}){let n=t,o=r,i=t.split(`
|
|
975
|
-
`);i.length>1&&([n]=i,o=i.slice(1).join(`
|
|
976
|
-
`).replace(/^\n/,"")),er.getElementById("error-message").innerHTML=mC.toHtml(n),er.getElementById("error-stack").innerHTML=mC.toHtml(o),this.showMode("ERROR")}showNoPreview(){var t,r;this.testing||(this.showMode("NOPREVIEW"),(t=this.storyRoot())==null||t.setAttribute("hidden","true"),(r=this.docsRoot())==null||r.setAttribute("hidden","true"))}showPreparingStory({immediate:t=!1}={}){clearTimeout(this.preparingTimeout),t?this.showMode("PREPARING_STORY"):this.preparingTimeout=setTimeout(()=>this.showMode("PREPARING_STORY"),hC)}showPreparingDocs({immediate:t=!1}={}){clearTimeout(this.preparingTimeout),t?this.showMode("PREPARING_DOCS"):this.preparingTimeout=setTimeout(()=>this.showMode("PREPARING_DOCS"),hC)}showMain(){this.showMode("MAIN")}showDocs(){this.storyRoot().setAttribute("hidden","true"),this.docsRoot().removeAttribute("hidden")}showStory(){this.docsRoot().setAttribute("hidden","true"),this.storyRoot().removeAttribute("hidden")}showStoryDuringRender(){er.body.classList.add(Xh.MAIN)}};s($D,"WebView");var LD=$D,FD=class extends OD{constructor(t,r){super(t,r,new qD,new LD),this.importFn=t,this.getProjectAnnotations=r,me.__STORYBOOK_PREVIEW__=this}};s(FD,"PreviewWeb");var ire=FD,{document:Ei}=me,are=["application/javascript","application/ecmascript","application/x-ecmascript","application/x-javascript","text/ecmascript","text/javascript","text/javascript1.0","text/javascript1.1","text/javascript1.2","text/javascript1.3","text/javascript1.4","text/javascript1.5","text/jscript","text/livescript","text/x-ecmascript","text/x-javascript","module"],sre="script",yC="scripts-root";function Ud(){let e=Ei.createEvent("Event");e.initEvent("DOMContentLoaded",!0,!0),Ei.dispatchEvent(e)}s(Ud,"simulateDOMContentLoaded");function DD(e,t,r){let n=Ei.createElement("script");n.type=e.type==="module"?"module":"text/javascript",e.src?(n.onload=t,n.onerror=t,n.src=e.src):n.textContent=e.innerText,r?r.appendChild(n):Ei.head.appendChild(n),e.parentNode.removeChild(e),e.src||t()}s(DD,"insertScript");function V0(e,t,r=0){e[r](()=>{r++,r===e.length?t():V0(e,t,r)})}s(V0,"insertScriptsSequentially");function BD(e){let t=Ei.getElementById(yC);t?t.innerHTML="":(t=Ei.createElement("div"),t.id=yC,Ei.body.appendChild(t));let r=Array.from(e.querySelectorAll(sre));if(r.length){let n=[];r.forEach(o=>{let i=o.getAttribute("type");(!i||are.includes(i))&&n.push(a=>DD(o,a,t))}),n.length&&V0(n,Ud,void 0)}else Ud()}s(BD,"simulatePageLoad");var lre="storybook/docs",ure=`${lre}/snippet-rendered`;async function UD(e,t){var l,u,c;let r=(c=(u=(l=t.parameters)==null?void 0:l.docs)==null?void 0:u.source)==null?void 0:c.transform,{id:n,unmappedArgs:o}=t,i=r&&e?r==null?void 0:r(e,t):e,a=i?await i:void 0;br.getChannel().emit(ure,{id:n,source:a,args:o})}s(UD,"emitTransformCode");var Xl={depth:10,clearOnStoryChange:!0,limit:50},cre=s((e={})=>{Object.assign(Xl,e)},"configureActions"),HD=s((e,t)=>{let r=Object.getPrototypeOf(e);return!r||t(r)?r:HD(r,t)},"findProto"),dre=s(e=>!!(typeof e=="object"&&e&&HD(e,t=>/^Synthetic(?:Base)?Event$/.test(t.constructor.name))&&typeof e.persist=="function"),"isReactSyntheticEvent"),pre=s(e=>{if(dre(e)){let t=Object.create(e.constructor.prototype,Object.getOwnPropertyDescriptors(e));t.persist();let r=Object.getOwnPropertyDescriptor(t,"view"),n=r==null?void 0:r.value;return typeof n=="object"&&(n==null?void 0:n.constructor.name)==="Window"&&Object.defineProperty(t,"view",{...r,value:Object.create(n.constructor.prototype)}),t}return e},"serializeArg");function Os(e,t={}){let r={...Xl,...t},n=s(function(...o){var p,h;if(t.implicit){let f=(p="__STORYBOOK_PREVIEW__"in me?me.__STORYBOOK_PREVIEW__:void 0)==null?void 0:p.storyRenders.find(m=>m.phase==="playing"||m.phase==="rendering");if(f){let m=!((h=globalThis==null?void 0:globalThis.FEATURES)!=null&&h.disallowImplicitActionsInRenderV8),y=new zO({phase:f.phase,name:e,deprecated:m});if(m)console.warn(y);else throw y}}let i=br.getChannel(),a=Date.now().toString(36)+Math.random().toString(36).substring(2),l=5,u=o.map(pre),c=o.length>1?u:u[0],d={id:a,count:0,data:{name:e,args:c},options:{...r,maxDepth:l+(r.depth||3)}};i.emit(T1,d)},"actionHandler");return n.isAction=!0,n.implicit=t.implicit,n}s(Os,"action");var fre=s((...e)=>{let t=Xl,r=e;r.length===1&&Array.isArray(r[0])&&([r]=r),r.length!==1&&typeof r[r.length-1]!="string"&&(t={...Xl,...r.pop()});let n=r[0];(r.length!==1||typeof n=="string")&&(n={},r.forEach(i=>{n[i]=i}));let o={};return Object.keys(n).forEach(i=>{o[i]=Os(n[i],t)}),o},"actions"),hre={"@storybook/global":EP,"storybook/test":W1,"storybook/actions":x1,"storybook/preview-api":Cm,"storybook/internal/channels":xP,"storybook/internal/client-logger":CP,"storybook/internal/core-events":mb,"storybook/internal/types":E1,"storybook/internal/preview-errors":FO,"storybook/internal/preview-api":Cm};async function VD(){let e=new URL(window.location.href);if(e.searchParams.get("navigator")!=="true"||globalThis.__STORYBOOK_PREVIEW_NAVIGATOR__)return;globalThis.__STORYBOOK_PREVIEW_NAVIGATOR__=!0;let t=await(await fetch("/index.json")).json(),r=e.searchParams.get("id");if(!r){let n=Object.values(t.entries)[0];n&&(e.searchParams.set("id",n.id),e.searchParams.set("viewMode",n.type),window.location.href=e.toString());return}mre(t,r)}s(VD,"maybeSetupPreviewNavigator");var mre=s(async(e,t)=>{var l,u;let r={entries:{}};for(let c of Object.values(e.entries)){let d=c.title.split("/"),p=r;for(let h of d)p.entries||(p.entries={}),p.entries[h]?t===c.id&&(p.entries[h].isActive=!0):p.entries[h]={title:h,isActive:t===c.id,entries:{}},p=p.entries[h];p.entries||(p.entries={}),p.entries[c.name]={id:c.id,name:c.name,href:`?id=${c.id}&viewMode=${c.type}&navigator=true`,isActive:t===c.id}}let n=s(c=>{if("entries"in c&&"title"in c){let p=c;return`
|
|
977
|
-
<li class="sb-navigator-branch">
|
|
978
|
-
<details${p.isActive?" open":""}>
|
|
979
|
-
<summary class="sb-navigator-title">
|
|
980
|
-
${p.title}
|
|
981
|
-
</summary>
|
|
982
|
-
<ul class="sb-navigator-entries" aria-label="${p.title}">
|
|
983
|
-
${Object.values(p.entries).map(n).join("")}
|
|
984
|
-
</ul>
|
|
985
|
-
</details>
|
|
986
|
-
</li>
|
|
987
|
-
`}let d=c;return`
|
|
988
|
-
<li class="sb-navigator-story-item">
|
|
989
|
-
<a href="${d.href}"
|
|
990
|
-
class="sb-navigator-story-link${d.isActive?" active":""}"
|
|
991
|
-
aria-current="${d.isActive?"location":"false"}">${d.name}</a>
|
|
992
|
-
</li>
|
|
993
|
-
`},"createHtmlForNode"),o=Object.values(r.entries).map(n).join(""),i=document.createElement("nav");i.id="sb-navigator-container",i.setAttribute("role","navigation"),i.setAttribute("aria-label","Story navigation"),i.innerHTML=`
|
|
994
|
-
<ul class="sb-navigator-list">${o}</ul>
|
|
995
|
-
`,document.body.insertBefore(i,document.body.firstChild);let a=document.createElement("style");a.id="sb-navigator-style",a.textContent=`
|
|
996
|
-
body {
|
|
997
|
-
display: grid !important;
|
|
998
|
-
grid-template-columns: 300px 1fr;
|
|
999
|
-
font-family: 'Nunito', sans-serif;
|
|
1000
|
-
height: 100vh;
|
|
1001
|
-
margin: 0;
|
|
1002
|
-
|
|
1003
|
-
--text-color: rgb(46, 52, 56);
|
|
1004
|
-
--bg-color: rgb(246, 249, 252);
|
|
1005
|
-
|
|
1006
|
-
@media (prefers-color-scheme: dark) {
|
|
1007
|
-
--text-color: rgb(201, 205, 207);
|
|
1008
|
-
--bg-color: rgb(34, 36, 37);
|
|
1009
|
-
}
|
|
1010
|
-
}
|
|
1011
|
-
#storybook-root, #storybook-docs {
|
|
1012
|
-
overflow-y: auto;
|
|
1013
|
-
max-height: 100vh;
|
|
1014
|
-
max-width: 100%;
|
|
1015
|
-
}
|
|
1016
|
-
#sb-navigator-container, #sb-navigator-container * {
|
|
1017
|
-
box-sizing: border-box;
|
|
1018
|
-
}
|
|
1019
|
-
#sb-navigator-container {
|
|
1020
|
-
height: 100vh;
|
|
1021
|
-
overflow-y: auto;
|
|
1022
|
-
border-right: 1px solid #eee;
|
|
1023
|
-
padding: 1rem;
|
|
1024
|
-
font-size: 14px;
|
|
1025
|
-
color: var(--text-color);
|
|
1026
|
-
background-color: var(--bg-color);
|
|
1027
|
-
align-self: start;
|
|
1028
|
-
z-index: 1000;
|
|
1029
|
-
}
|
|
1030
|
-
.sb-main-padded #sb-navigator-container {
|
|
1031
|
-
margin: -1rem 1rem -1rem -1rem;
|
|
1032
|
-
}
|
|
1033
|
-
.sb-navigator-list {
|
|
1034
|
-
list-style-type: none;
|
|
1035
|
-
padding: 0;
|
|
1036
|
-
margin: 0;
|
|
1037
|
-
}
|
|
1038
|
-
.sb-navigator-branch {
|
|
1039
|
-
list-style-type: none;
|
|
1040
|
-
}
|
|
1041
|
-
.sb-navigator-item {
|
|
1042
|
-
margin-bottom: 15px;
|
|
1043
|
-
}
|
|
1044
|
-
.sb-navigator-title {
|
|
1045
|
-
color: var(--text-color);
|
|
1046
|
-
text-decoration: none;
|
|
1047
|
-
padding-block: 5px;
|
|
1048
|
-
cursor: pointer;
|
|
1049
|
-
}
|
|
1050
|
-
.sb-navigator-entries {
|
|
1051
|
-
padding-left: 15px;
|
|
1052
|
-
}
|
|
1053
|
-
.sb-navigator-story-item {
|
|
1054
|
-
margin-bottom: 8px;
|
|
1055
|
-
margin-left: 8px;
|
|
1056
|
-
}
|
|
1057
|
-
.sb-navigator-story-link {
|
|
1058
|
-
color: var(--text-color);
|
|
1059
|
-
}
|
|
1060
|
-
.sb-navigator-story-link.active {
|
|
1061
|
-
font-weight: bold;
|
|
1062
|
-
color: rgb(2, 156, 253);
|
|
1063
|
-
}
|
|
1064
|
-
`,document.head.appendChild(a),(u=(l=i.querySelector(".sb-navigator-story-link.active"))==null?void 0:l.closest("details"))==null||u.scrollIntoView({block:"center"})},"setupPreviewNavigator"),yre=_t(OW(),1),Zh;function JD(){var e;return Zh||(Zh=new yre.default((e=me.navigator)==null?void 0:e.userAgent).getBrowserInfo()),Zh}s(JD,"getBrowserInfo");function zD(e){return e.browserInfo=JD(),e}s(zD,"prepareForTelemetry");function WD(e){let t=e.error||e;t.fromStorybook&&me.sendTelemetryError(t)}s(WD,"errorListener");function GD({reason:e}){e.fromStorybook&&me.sendTelemetryError(e)}s(GD,"unhandledRejectionListener");function J0(){eG.forEach(e=>{me[SP[e]]=hre[e]}),me.sendTelemetryError=e=>{me.__STORYBOOK_ADDONS_CHANNEL__.emit(vP,zD(e))},me.addEventListener("error",WD),me.addEventListener("unhandledrejection",GD),VD()}s(J0,"setup");J0();const{createBrowserChannel:gre}=__STORYBOOK_MODULE_CHANNELS__,{addons:bre}=__STORYBOOK_MODULE_PREVIEW_API__,z0=gre({page:"preview"});bre.setChannel(z0);window.__STORYBOOK_ADDONS_CHANNEL__=z0;window.CONFIG_TYPE==="DEVELOPMENT"&&(window.__STORYBOOK_SERVER_CHANNEL__=z0);const vre="modulepreload",wre=function(e){return"/storybook/"+e},gC={},Ia=function(t,r,n){let o=Promise.resolve();if(r&&r.length>0){let a=function(c){return Promise.all(c.map(d=>Promise.resolve(d).then(p=>({status:"fulfilled",value:p}),p=>({status:"rejected",reason:p}))))};document.getElementsByTagName("link");const l=document.querySelector("meta[property=csp-nonce]"),u=(l==null?void 0:l.nonce)||(l==null?void 0:l.getAttribute("nonce"));o=a(r.map(c=>{if(c=wre(c),c in gC)return;gC[c]=!0;const d=c.endsWith(".css"),p=d?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${c}"]${p}`))return;const h=document.createElement("link");if(h.rel=d?"stylesheet":vre,d||(h.as="script"),h.crossOrigin="",h.href=c,u&&h.setAttribute("nonce",u),document.head.appendChild(h),d)return new Promise((f,m)=>{h.addEventListener("load",f),h.addEventListener("error",()=>m(new Error(`Unable to preload CSS for ${c}`)))})}))}function i(a){const l=new Event("vite:preloadError",{cancelable:!0});if(l.payload=a,window.dispatchEvent(l),!l.defaultPrevented)throw a}return o.then(a=>{for(const l of a||[])l.status==="rejected"&&i(l.reason);return t().catch(i)})},Ere={"./src/components/Atoms/Button/Button.stories.ts":()=>Ia(()=>import("./Button.stories-CSVwoLhx.js"),__vite__mapDeps([0,1])),"./src/components/Atoms/Heading/Heading.stories.ts":()=>Ia(()=>import("./Heading.stories-CLjJkHP6.js"),__vite__mapDeps([2,3,4])),"./src/components/Molecules/Title/Title.stories.ts":()=>Ia(()=>import("./Title.stories-Bw8kvqVZ.js"),__vite__mapDeps([5,3,4,6]))};async function Sre(e){return await Ere[e]()}var xre=Object.defineProperty,Tre=(e,t)=>{for(var r in t)xre(e,r,{get:t[r],enumerable:!0})},Cre=Object.create,W0=Object.defineProperty,_re=Object.getOwnPropertyDescriptor,Pre=Object.getOwnPropertyNames,Ore=Object.getPrototypeOf,Are=Object.prototype.hasOwnProperty,j=(e,t)=>W0(e,"name",{value:t,configurable:!0}),Rre=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),Nre=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of Pre(t))!Are.call(e,o)&&o!==r&&W0(e,o,{get:()=>t[o],enumerable:!(n=_re(t,o))||n.enumerable});return e},Ire=(e,t,r)=>(r=e!=null?Cre(Ore(e)):{},Nre(W0(r,"default",{value:e,enumerable:!0}),e)),kre=Rre((e,t)=>{(function(r,n){typeof e=="object"&&typeof t<"u"?n(e):typeof define=="function"&&define.amd?define(["exports"],n):(r=typeof globalThis<"u"?globalThis:r||self,n(r.jtpp={}))})(e,function(r){function n(x){return x.text!==void 0&&x.text!==""?`'${x.type}' with value '${x.text}'`:`'${x.type}'`}j(n,"tokenToString");let o=class KD extends Error{constructor(I){super(`No parslet found for token: ${n(I)}`),this.token=I,Object.setPrototypeOf(this,KD.prototype)}getToken(){return this.token}};j(o,"NoParsletFoundError");let i=o,a=class YD extends Error{constructor(I){super(`The parsing ended early. The next token was: ${n(I)}`),this.token=I,Object.setPrototypeOf(this,YD.prototype)}getToken(){return this.token}};j(a,"EarlyEndOfParseError");let l=a,u=class XD extends Error{constructor(I,B){let X=`Unexpected type: '${I.type}'.`;B!==void 0&&(X+=` Message: ${B}`),super(X),Object.setPrototypeOf(this,XD.prototype)}};j(u,"UnexpectedTypeError");let c=u;function d(x){return I=>I.startsWith(x)?{type:x,text:x}:null}j(d,"makePunctuationRule");function p(x){let I=0,B,X=x[0],he=!1;if(X!=="'"&&X!=='"')return null;for(;I<x.length;){if(I++,B=x[I],!he&&B===X){I++;break}he=!he&&B==="\\"}if(B!==X)throw new Error("Unterminated String");return x.slice(0,I)}j(p,"getQuoted");let h=new RegExp("[$_\\p{ID_Start}]|\\\\u\\p{Hex_Digit}{4}|\\\\u\\{0*(?:\\p{Hex_Digit}{1,5}|10\\p{Hex_Digit}{4})\\}","u"),f=new RegExp("[$\\-\\p{ID_Continue}\\u200C\\u200D]|\\\\u\\p{Hex_Digit}{4}|\\\\u\\{0*(?:\\p{Hex_Digit}{1,5}|10\\p{Hex_Digit}{4})\\}","u");function m(x){let I=x[0];if(!h.test(I))return null;let B=1;do{if(I=x[B],!f.test(I))break;B++}while(B<x.length);return x.slice(0,B)}j(m,"getIdentifier");let y=/^(NaN|-?((\d*\.\d+|\d+)([Ee][+-]?\d+)?|Infinity))/;function g(x){var I,B;return(B=(I=y.exec(x))===null||I===void 0?void 0:I[0])!==null&&B!==void 0?B:null}j(g,"getNumber");let b=j(x=>{let I=m(x);return I==null?null:{type:"Identifier",text:I}},"identifierRule");function v(x){return I=>{if(!I.startsWith(x))return null;let B=I[x.length];return B!==void 0&&f.test(B)?null:{type:x,text:x}}}j(v,"makeKeyWordRule");let S=j(x=>{let I=p(x);return I==null?null:{type:"StringValue",text:I}},"stringValueRule"),T=j(x=>x.length>0?null:{type:"EOF",text:""},"eofRule"),P=j(x=>{let I=g(x);return I===null?null:{type:"Number",text:I}},"numberRule"),C=[T,d("=>"),d("("),d(")"),d("{"),d("}"),d("["),d("]"),d("|"),d("&"),d("<"),d(">"),d(","),d(";"),d("*"),d("?"),d("!"),d("="),d(":"),d("..."),d("."),d("#"),d("~"),d("/"),d("@"),v("undefined"),v("null"),v("function"),v("this"),v("new"),v("module"),v("event"),v("external"),v("typeof"),v("keyof"),v("readonly"),v("import"),v("is"),v("in"),v("asserts"),P,b,S],w=/^\s*\n\s*/,E=class Nc{static create(I){let B=this.read(I);I=B.text;let X=this.read(I);return I=X.text,new Nc(I,void 0,B.token,X.token)}constructor(I,B,X,he){this.text="",this.text=I,this.previous=B,this.current=X,this.next=he}static read(I,B=!1){B=B||w.test(I),I=I.trim();for(let X of C){let he=X(I);if(he!==null){let Ee=Object.assign(Object.assign({},he),{startOfLine:B});return I=I.slice(Ee.text.length),{text:I,token:Ee}}}throw new Error("Unexpected Token "+I)}advance(){let I=Nc.read(this.text);return new Nc(I.text,this.current,this.next,I.token)}};j(E,"Lexer");let _=E;function R(x){if(x===void 0)throw new Error("Unexpected undefined");if(x.type==="JsdocTypeKeyValue"||x.type==="JsdocTypeParameterList"||x.type==="JsdocTypeProperty"||x.type==="JsdocTypeReadonlyProperty"||x.type==="JsdocTypeObjectField"||x.type==="JsdocTypeJsdocObjectField"||x.type==="JsdocTypeIndexSignature"||x.type==="JsdocTypeMappedType")throw new c(x);return x}j(R,"assertRootResult");function N(x){return x.type==="JsdocTypeKeyValue"?L(x):R(x)}j(N,"assertPlainKeyValueOrRootResult");function q(x){return x.type==="JsdocTypeName"?x:L(x)}j(q,"assertPlainKeyValueOrNameResult");function L(x){if(x.type!=="JsdocTypeKeyValue")throw new c(x);return x}j(L,"assertPlainKeyValueResult");function O(x){var I;if(x.type==="JsdocTypeVariadic"){if(((I=x.element)===null||I===void 0?void 0:I.type)==="JsdocTypeName")return x;throw new c(x)}if(x.type!=="JsdocTypeNumber"&&x.type!=="JsdocTypeName")throw new c(x);return x}j(O,"assertNumberOrVariadicNameResult");function k(x){return x.type==="JsdocTypeIndexSignature"||x.type==="JsdocTypeMappedType"}j(k,"isSquaredProperty");var M;(function(x){x[x.ALL=0]="ALL",x[x.PARAMETER_LIST=1]="PARAMETER_LIST",x[x.OBJECT=2]="OBJECT",x[x.KEY_VALUE=3]="KEY_VALUE",x[x.INDEX_BRACKETS=4]="INDEX_BRACKETS",x[x.UNION=5]="UNION",x[x.INTERSECTION=6]="INTERSECTION",x[x.PREFIX=7]="PREFIX",x[x.INFIX=8]="INFIX",x[x.TUPLE=9]="TUPLE",x[x.SYMBOL=10]="SYMBOL",x[x.OPTIONAL=11]="OPTIONAL",x[x.NULLABLE=12]="NULLABLE",x[x.KEY_OF_TYPE_OF=13]="KEY_OF_TYPE_OF",x[x.FUNCTION=14]="FUNCTION",x[x.ARROW=15]="ARROW",x[x.ARRAY_BRACKETS=16]="ARRAY_BRACKETS",x[x.GENERIC=17]="GENERIC",x[x.NAME_PATH=18]="NAME_PATH",x[x.PARENTHESIS=19]="PARENTHESIS",x[x.SPECIAL_TYPES=20]="SPECIAL_TYPES"})(M||(M={}));let G=class{constructor(I,B,X){this.grammar=I,typeof B=="string"?this._lexer=_.create(B):this._lexer=B,this.baseParser=X}get lexer(){return this._lexer}parse(){let I=this.parseType(M.ALL);if(this.lexer.current.type!=="EOF")throw new l(this.lexer.current);return I}parseType(I){return R(this.parseIntermediateType(I))}parseIntermediateType(I){let B=this.tryParslets(null,I);if(B===null)throw new i(this.lexer.current);return this.parseInfixIntermediateType(B,I)}parseInfixIntermediateType(I,B){let X=this.tryParslets(I,B);for(;X!==null;)I=X,X=this.tryParslets(I,B);return I}tryParslets(I,B){for(let X of this.grammar){let he=X(this,B,I);if(he!==null)return he}return null}consume(I){return Array.isArray(I)||(I=[I]),I.includes(this.lexer.current.type)?(this._lexer=this.lexer.advance(),!0):!1}acceptLexerState(I){this._lexer=I.lexer}};j(G,"Parser");let V=G;function oe(x){return x==="EOF"||x==="|"||x===","||x===")"||x===">"}j(oe,"isQuestionMarkUnknownType");let fe=j((x,I,B)=>{let X=x.lexer.current.type,he=x.lexer.next.type;return B==null&&X==="?"&&!oe(he)||B!=null&&X==="?"?(x.consume("?"),B==null?{type:"JsdocTypeNullable",element:x.parseType(M.NULLABLE),meta:{position:"prefix"}}:{type:"JsdocTypeNullable",element:R(B),meta:{position:"suffix"}}):null},"nullableParslet");function te(x){let I=j((B,X,he)=>{let Ee=B.lexer.current.type,Oe=B.lexer.next.type;if(he===null){if("parsePrefix"in x&&x.accept(Ee,Oe))return x.parsePrefix(B)}else if("parseInfix"in x&&x.precedence>X&&x.accept(Ee,Oe))return x.parseInfix(B,he);return null},"parslet");return Object.defineProperty(I,"name",{value:x.name}),I}j(te,"composeParslet");let Y=te({name:"optionalParslet",accept:j(x=>x==="=","accept"),precedence:M.OPTIONAL,parsePrefix:j(x=>(x.consume("="),{type:"JsdocTypeOptional",element:x.parseType(M.OPTIONAL),meta:{position:"prefix"}}),"parsePrefix"),parseInfix:j((x,I)=>(x.consume("="),{type:"JsdocTypeOptional",element:R(I),meta:{position:"suffix"}}),"parseInfix")}),Q=te({name:"numberParslet",accept:j(x=>x==="Number","accept"),parsePrefix:j(x=>{let I=parseFloat(x.lexer.current.text);return x.consume("Number"),{type:"JsdocTypeNumber",value:I}},"parsePrefix")}),re=te({name:"parenthesisParslet",accept:j(x=>x==="(","accept"),parsePrefix:j(x=>{if(x.consume("("),x.consume(")"))return{type:"JsdocTypeParameterList",elements:[]};let I=x.parseIntermediateType(M.ALL);if(!x.consume(")"))throw new Error("Unterminated parenthesis");return I.type==="JsdocTypeParameterList"?I:I.type==="JsdocTypeKeyValue"?{type:"JsdocTypeParameterList",elements:[I]}:{type:"JsdocTypeParenthesis",element:R(I)}},"parsePrefix")}),ce=te({name:"specialTypesParslet",accept:j((x,I)=>x==="?"&&oe(I)||x==="null"||x==="undefined"||x==="*","accept"),parsePrefix:j(x=>{if(x.consume("null"))return{type:"JsdocTypeNull"};if(x.consume("undefined"))return{type:"JsdocTypeUndefined"};if(x.consume("*"))return{type:"JsdocTypeAny"};if(x.consume("?"))return{type:"JsdocTypeUnknown"};throw new Error("Unacceptable token: "+x.lexer.current.text)},"parsePrefix")}),ie=te({name:"notNullableParslet",accept:j(x=>x==="!","accept"),precedence:M.NULLABLE,parsePrefix:j(x=>(x.consume("!"),{type:"JsdocTypeNotNullable",element:x.parseType(M.NULLABLE),meta:{position:"prefix"}}),"parsePrefix"),parseInfix:j((x,I)=>(x.consume("!"),{type:"JsdocTypeNotNullable",element:R(I),meta:{position:"suffix"}}),"parseInfix")});function be({allowTrailingComma:x}){return te({name:"parameterListParslet",accept:j(I=>I===",","accept"),precedence:M.PARAMETER_LIST,parseInfix:j((I,B)=>{let X=[N(B)];I.consume(",");do try{let he=I.parseIntermediateType(M.PARAMETER_LIST);X.push(N(he))}catch(he){if(x&&he instanceof i)break;throw he}while(I.consume(","));if(X.length>0&&X.slice(0,-1).some(he=>he.type==="JsdocTypeVariadic"))throw new Error("Only the last parameter may be a rest parameter");return{type:"JsdocTypeParameterList",elements:X}},"parseInfix")})}j(be,"createParameterListParslet");let we=te({name:"genericParslet",accept:j((x,I)=>x==="<"||x==="."&&I==="<","accept"),precedence:M.GENERIC,parseInfix:j((x,I)=>{let B=x.consume(".");x.consume("<");let X=[];do X.push(x.parseType(M.PARAMETER_LIST));while(x.consume(","));if(!x.consume(">"))throw new Error("Unterminated generic parameter list");return{type:"JsdocTypeGeneric",left:R(I),elements:X,meta:{brackets:"angle",dot:B}}},"parseInfix")}),Ye=te({name:"unionParslet",accept:j(x=>x==="|","accept"),precedence:M.UNION,parseInfix:j((x,I)=>{x.consume("|");let B=[];do B.push(x.parseType(M.UNION));while(x.consume("|"));return{type:"JsdocTypeUnion",elements:[R(I),...B]}},"parseInfix")}),We=[fe,Y,Q,re,ce,ie,be({allowTrailingComma:!0}),we,Ye,Y];function H({allowSquareBracketsOnAnyType:x,allowJsdocNamePaths:I,pathGrammar:B}){return j(function(X,he,Ee){if(Ee==null||he>=M.NAME_PATH)return null;let Oe=X.lexer.current.type,dt=X.lexer.next.type;if(!(Oe==="."&&dt!=="<"||Oe==="["&&(x||Ee.type==="JsdocTypeName")||I&&(Oe==="~"||Oe==="#")))return null;let yt,Zt=!1;X.consume(".")?yt="property":X.consume("[")?(yt="property-brackets",Zt=!0):X.consume("~")?yt="inner":(X.consume("#"),yt="instance");let kn=B!==null?new V(B,X.lexer,X):X,Xr=kn.parseIntermediateType(M.NAME_PATH);X.acceptLexerState(kn);let Ms;switch(Xr.type){case"JsdocTypeName":Ms={type:"JsdocTypeProperty",value:Xr.value,meta:{quote:void 0}};break;case"JsdocTypeNumber":Ms={type:"JsdocTypeProperty",value:Xr.value.toString(10),meta:{quote:void 0}};break;case"JsdocTypeStringValue":Ms={type:"JsdocTypeProperty",value:Xr.value,meta:{quote:Xr.meta.quote}};break;case"JsdocTypeSpecialNamePath":if(Xr.specialType==="event")Ms=Xr;else throw new c(Xr,"Type 'JsdocTypeSpecialNamePath' is only allowed with specialType 'event'");break;default:throw new c(Xr,"Expecting 'JsdocTypeName', 'JsdocTypeNumber', 'JsdocStringValue' or 'JsdocTypeSpecialNamePath'")}if(Zt&&!X.consume("]")){let ax=X.lexer.current;throw new Error(`Unterminated square brackets. Next token is '${ax.type}' with text '${ax.text}'`)}return{type:"JsdocTypeNamePath",left:R(Ee),right:Ms,pathType:yt}},"namePathParslet")}j(H,"createNamePathParslet");function de({allowedAdditionalTokens:x}){return te({name:"nameParslet",accept:j(I=>I==="Identifier"||I==="this"||I==="new"||x.includes(I),"accept"),parsePrefix:j(I=>{let{type:B,text:X}=I.lexer.current;return I.consume(B),{type:"JsdocTypeName",value:X}},"parsePrefix")})}j(de,"createNameParslet");let $=te({name:"stringValueParslet",accept:j(x=>x==="StringValue","accept"),parsePrefix:j(x=>{let I=x.lexer.current.text;return x.consume("StringValue"),{type:"JsdocTypeStringValue",value:I.slice(1,-1),meta:{quote:I[0]==="'"?"single":"double"}}},"parsePrefix")});function U({pathGrammar:x,allowedTypes:I}){return te({name:"specialNamePathParslet",accept:j(B=>I.includes(B),"accept"),parsePrefix:j(B=>{let X=B.lexer.current.type;if(B.consume(X),!B.consume(":"))return{type:"JsdocTypeName",value:X};let he,Ee=B.lexer.current;if(B.consume("StringValue"))he={type:"JsdocTypeSpecialNamePath",value:Ee.text.slice(1,-1),specialType:X,meta:{quote:Ee.text[0]==="'"?"single":"double"}};else{let yt="",Zt=["Identifier","@","/"];for(;Zt.some(kn=>B.consume(kn));)yt+=Ee.text,Ee=B.lexer.current;he={type:"JsdocTypeSpecialNamePath",value:yt,specialType:X,meta:{quote:void 0}}}let Oe=new V(x,B.lexer,B),dt=Oe.parseInfixIntermediateType(he,M.ALL);return B.acceptLexerState(Oe),R(dt)},"parsePrefix")})}j(U,"createSpecialNamePathParslet");let J=[de({allowedAdditionalTokens:["external","module"]}),$,Q,H({allowSquareBracketsOnAnyType:!1,allowJsdocNamePaths:!0,pathGrammar:null})],ee=[...J,U({allowedTypes:["event"],pathGrammar:J})];function Z(x){let I;if(x.type==="JsdocTypeParameterList")I=x.elements;else if(x.type==="JsdocTypeParenthesis")I=[x.element];else throw new c(x);return I.map(B=>N(B))}j(Z,"getParameters");function ne(x){let I=Z(x);if(I.some(B=>B.type==="JsdocTypeKeyValue"))throw new Error("No parameter should be named");return I}j(ne,"getUnnamedParameters");function se({allowNamedParameters:x,allowNoReturnType:I,allowWithoutParenthesis:B,allowNewAsFunctionKeyword:X}){return te({name:"functionParslet",accept:j((he,Ee)=>he==="function"||X&&he==="new"&&Ee==="(","accept"),parsePrefix:j(he=>{let Ee=he.consume("new");he.consume("function");let Oe=he.lexer.current.type==="(";if(!Oe){if(!B)throw new Error("function is missing parameter list");return{type:"JsdocTypeName",value:"function"}}let dt={type:"JsdocTypeFunction",parameters:[],arrow:!1,constructor:Ee,parenthesis:Oe},yt=he.parseIntermediateType(M.FUNCTION);if(x===void 0)dt.parameters=ne(yt);else{if(Ee&&yt.type==="JsdocTypeFunction"&&yt.arrow)return dt=yt,dt.constructor=!0,dt;dt.parameters=Z(yt);for(let Zt of dt.parameters)if(Zt.type==="JsdocTypeKeyValue"&&!x.includes(Zt.key))throw new Error(`only allowed named parameters are ${x.join(", ")} but got ${Zt.type}`)}if(he.consume(":"))dt.returnType=he.parseType(M.PREFIX);else if(!I)throw new Error("function is missing return type");return dt},"parsePrefix")})}j(se,"createFunctionParslet");function le({allowPostfix:x,allowEnclosingBrackets:I}){return te({name:"variadicParslet",accept:j(B=>B==="...","accept"),precedence:M.PREFIX,parsePrefix:j(B=>{B.consume("...");let X=I&&B.consume("[");try{let he=B.parseType(M.PREFIX);if(X&&!B.consume("]"))throw new Error("Unterminated variadic type. Missing ']'");return{type:"JsdocTypeVariadic",element:R(he),meta:{position:"prefix",squareBrackets:X}}}catch(he){if(he instanceof i){if(X)throw new Error("Empty square brackets for variadic are not allowed.");return{type:"JsdocTypeVariadic",meta:{position:void 0,squareBrackets:!1}}}else throw he}},"parsePrefix"),parseInfix:x?(B,X)=>(B.consume("..."),{type:"JsdocTypeVariadic",element:R(X),meta:{position:"suffix",squareBrackets:!1}}):void 0})}j(le,"createVariadicParslet");let ue=te({name:"symbolParslet",accept:j(x=>x==="(","accept"),precedence:M.SYMBOL,parseInfix:j((x,I)=>{if(I.type!=="JsdocTypeName")throw new Error("Symbol expects a name on the left side. (Reacting on '(')");x.consume("(");let B={type:"JsdocTypeSymbol",value:I.value};if(!x.consume(")")){let X=x.parseIntermediateType(M.SYMBOL);if(B.element=O(X),!x.consume(")"))throw new Error("Symbol does not end after value")}return B},"parseInfix")}),ae=te({name:"arrayBracketsParslet",precedence:M.ARRAY_BRACKETS,accept:j((x,I)=>x==="["&&I==="]","accept"),parseInfix:j((x,I)=>(x.consume("["),x.consume("]"),{type:"JsdocTypeGeneric",left:{type:"JsdocTypeName",value:"Array"},elements:[R(I)],meta:{brackets:"square",dot:!1}}),"parseInfix")});function ve({objectFieldGrammar:x,allowKeyTypes:I}){return te({name:"objectParslet",accept:j(B=>B==="{","accept"),parsePrefix:j(B=>{B.consume("{");let X={type:"JsdocTypeObject",meta:{separator:"comma"},elements:[]};if(!B.consume("}")){let he,Ee=new V(x,B.lexer,B);for(;;){Ee.acceptLexerState(B);let Oe=Ee.parseIntermediateType(M.OBJECT);B.acceptLexerState(Ee),Oe===void 0&&I&&(Oe=B.parseIntermediateType(M.OBJECT));let dt=!1;if(Oe.type==="JsdocTypeNullable"&&(dt=!0,Oe=Oe.element),Oe.type==="JsdocTypeNumber"||Oe.type==="JsdocTypeName"||Oe.type==="JsdocTypeStringValue"){let yt;Oe.type==="JsdocTypeStringValue"&&(yt=Oe.meta.quote),X.elements.push({type:"JsdocTypeObjectField",key:Oe.value.toString(),right:void 0,optional:dt,readonly:!1,meta:{quote:yt}})}else if(Oe.type==="JsdocTypeObjectField"||Oe.type==="JsdocTypeJsdocObjectField")X.elements.push(Oe);else throw new c(Oe);if(B.lexer.current.startOfLine)he="linebreak";else if(B.consume(","))he="comma";else if(B.consume(";"))he="semicolon";else break;if(B.lexer.current.type==="}")break}if(X.meta.separator=he??"comma",!B.consume("}"))throw new Error("Unterminated record type. Missing '}'")}return X},"parsePrefix")})}j(ve,"createObjectParslet");function pe({allowSquaredProperties:x,allowKeyTypes:I,allowReadonly:B,allowOptional:X}){return te({name:"objectFieldParslet",precedence:M.KEY_VALUE,accept:j(he=>he===":","accept"),parseInfix:j((he,Ee)=>{var Oe;let dt=!1,yt=!1;X&&Ee.type==="JsdocTypeNullable"&&(dt=!0,Ee=Ee.element),B&&Ee.type==="JsdocTypeReadonlyProperty"&&(yt=!0,Ee=Ee.element);let Zt=(Oe=he.baseParser)!==null&&Oe!==void 0?Oe:he;if(Zt.acceptLexerState(he),Ee.type==="JsdocTypeNumber"||Ee.type==="JsdocTypeName"||Ee.type==="JsdocTypeStringValue"||k(Ee)){if(k(Ee)&&!x)throw new c(Ee);Zt.consume(":");let kn;Ee.type==="JsdocTypeStringValue"&&(kn=Ee.meta.quote);let Xr=Zt.parseType(M.KEY_VALUE);return he.acceptLexerState(Zt),{type:"JsdocTypeObjectField",key:k(Ee)?Ee:Ee.value.toString(),right:Xr,optional:dt,readonly:yt,meta:{quote:kn}}}else{if(!I)throw new c(Ee);Zt.consume(":");let kn=Zt.parseType(M.KEY_VALUE);return he.acceptLexerState(Zt),{type:"JsdocTypeJsdocObjectField",left:R(Ee),right:kn}}},"parseInfix")})}j(pe,"createObjectFieldParslet");function ge({allowOptional:x,allowVariadic:I}){return te({name:"keyValueParslet",precedence:M.KEY_VALUE,accept:j(B=>B===":","accept"),parseInfix:j((B,X)=>{let he=!1,Ee=!1;if(x&&X.type==="JsdocTypeNullable"&&(he=!0,X=X.element),I&&X.type==="JsdocTypeVariadic"&&X.element!==void 0&&(Ee=!0,X=X.element),X.type!=="JsdocTypeName")throw new c(X);B.consume(":");let Oe=B.parseType(M.KEY_VALUE);return{type:"JsdocTypeKeyValue",key:X.value,right:Oe,optional:he,variadic:Ee}},"parseInfix")})}j(ge,"createKeyValueParslet");let Se=[...We,se({allowWithoutParenthesis:!0,allowNamedParameters:["this","new"],allowNoReturnType:!0,allowNewAsFunctionKeyword:!1}),$,U({allowedTypes:["module","external","event"],pathGrammar:ee}),le({allowEnclosingBrackets:!0,allowPostfix:!0}),de({allowedAdditionalTokens:["keyof"]}),ue,ae,H({allowSquareBracketsOnAnyType:!1,allowJsdocNamePaths:!0,pathGrammar:ee})],Ae=[...Se,ve({objectFieldGrammar:[de({allowedAdditionalTokens:["module","in"]}),pe({allowSquaredProperties:!1,allowKeyTypes:!0,allowOptional:!1,allowReadonly:!1}),...Se],allowKeyTypes:!0}),ge({allowOptional:!0,allowVariadic:!0})],De=te({name:"typeOfParslet",accept:j(x=>x==="typeof","accept"),parsePrefix:j(x=>(x.consume("typeof"),{type:"JsdocTypeTypeof",element:R(x.parseType(M.KEY_OF_TYPE_OF))}),"parsePrefix")}),qe=[de({allowedAdditionalTokens:["module","keyof","event","external","in"]}),fe,Y,$,Q,pe({allowSquaredProperties:!1,allowKeyTypes:!1,allowOptional:!1,allowReadonly:!1})],Pt=[...We,ve({allowKeyTypes:!1,objectFieldGrammar:qe}),de({allowedAdditionalTokens:["event","external","in"]}),De,se({allowWithoutParenthesis:!1,allowNamedParameters:["this","new"],allowNoReturnType:!0,allowNewAsFunctionKeyword:!1}),le({allowEnclosingBrackets:!1,allowPostfix:!1}),de({allowedAdditionalTokens:["keyof"]}),U({allowedTypes:["module"],pathGrammar:ee}),H({allowSquareBracketsOnAnyType:!1,allowJsdocNamePaths:!0,pathGrammar:ee}),ge({allowOptional:!1,allowVariadic:!1}),ue],mt=te({name:"assertsParslet",accept:j(x=>x==="asserts","accept"),parsePrefix:j(x=>{x.consume("asserts");let I=x.parseIntermediateType(M.SYMBOL);if(I.type!=="JsdocTypeName")throw new c(I,"A typescript asserts always has to have a name on the left side.");return x.consume("is"),{type:"JsdocTypeAsserts",left:I,right:R(x.parseIntermediateType(M.INFIX))}},"parsePrefix")});function Dt({allowQuestionMark:x}){return te({name:"tupleParslet",accept:j(I=>I==="[","accept"),parsePrefix:j(I=>{I.consume("[");let B={type:"JsdocTypeTuple",elements:[]};if(I.consume("]"))return B;let X=I.parseIntermediateType(M.ALL);if(X.type==="JsdocTypeParameterList"?X.elements[0].type==="JsdocTypeKeyValue"?B.elements=X.elements.map(L):B.elements=X.elements.map(R):X.type==="JsdocTypeKeyValue"?B.elements=[L(X)]:B.elements=[R(X)],!I.consume("]"))throw new Error("Unterminated '['");if(!x&&B.elements.some(he=>he.type==="JsdocTypeUnknown"))throw new Error("Question mark in tuple not allowed");return B},"parsePrefix")})}j(Dt,"createTupleParslet");let At=te({name:"keyOfParslet",accept:j(x=>x==="keyof","accept"),parsePrefix:j(x=>(x.consume("keyof"),{type:"JsdocTypeKeyof",element:R(x.parseType(M.KEY_OF_TYPE_OF))}),"parsePrefix")}),Yr=te({name:"importParslet",accept:j(x=>x==="import","accept"),parsePrefix:j(x=>{if(x.consume("import"),!x.consume("("))throw new Error("Missing parenthesis after import keyword");let I=x.parseType(M.PREFIX);if(I.type!=="JsdocTypeStringValue")throw new Error("Only string values are allowed as paths for imports");if(!x.consume(")"))throw new Error("Missing closing parenthesis after import keyword");return{type:"JsdocTypeImport",element:I}},"parsePrefix")}),fo=te({name:"readonlyPropertyParslet",accept:j(x=>x==="readonly","accept"),parsePrefix:j(x=>(x.consume("readonly"),{type:"JsdocTypeReadonlyProperty",element:x.parseType(M.KEY_VALUE)}),"parsePrefix")}),Rt=te({name:"arrowFunctionParslet",precedence:M.ARROW,accept:j(x=>x==="=>","accept"),parseInfix:j((x,I)=>(x.consume("=>"),{type:"JsdocTypeFunction",parameters:Z(I).map(q),arrow:!0,constructor:!1,parenthesis:!0,returnType:x.parseType(M.OBJECT)}),"parseInfix")}),Qt=te({name:"intersectionParslet",accept:j(x=>x==="&","accept"),precedence:M.INTERSECTION,parseInfix:j((x,I)=>{x.consume("&");let B=[];do B.push(x.parseType(M.INTERSECTION));while(x.consume("&"));return{type:"JsdocTypeIntersection",elements:[R(I),...B]}},"parseInfix")}),ho=te({name:"predicateParslet",precedence:M.INFIX,accept:j(x=>x==="is","accept"),parseInfix:j((x,I)=>{if(I.type!=="JsdocTypeName")throw new c(I,"A typescript predicate always has to have a name on the left side.");return x.consume("is"),{type:"JsdocTypePredicate",left:I,right:R(x.parseIntermediateType(M.INFIX))}},"parseInfix")}),Ns=te({name:"objectSquareBracketPropertyParslet",accept:j(x=>x==="[","accept"),parsePrefix:j(x=>{if(x.baseParser===void 0)throw new Error("Only allowed inside object grammar");x.consume("[");let I=x.lexer.current.text;x.consume("Identifier");let B;if(x.consume(":")){let X=x.baseParser;X.acceptLexerState(x),B={type:"JsdocTypeIndexSignature",key:I,right:X.parseType(M.INDEX_BRACKETS)},x.acceptLexerState(X)}else if(x.consume("in")){let X=x.baseParser;X.acceptLexerState(x),B={type:"JsdocTypeMappedType",key:I,right:X.parseType(M.ARRAY_BRACKETS)},x.acceptLexerState(X)}else throw new Error("Missing ':' or 'in' inside square bracketed property.");if(!x.consume("]"))throw new Error("Unterminated square brackets");return B},"parsePrefix")}),Is=[fo,de({allowedAdditionalTokens:["module","event","keyof","event","external","in"]}),fe,Y,$,Q,pe({allowSquaredProperties:!0,allowKeyTypes:!1,allowOptional:!0,allowReadonly:!0}),Ns],ks=[...We,ve({allowKeyTypes:!1,objectFieldGrammar:Is}),De,At,Yr,$,se({allowWithoutParenthesis:!0,allowNoReturnType:!1,allowNamedParameters:["this","new","args"],allowNewAsFunctionKeyword:!0}),Dt({allowQuestionMark:!1}),le({allowEnclosingBrackets:!1,allowPostfix:!1}),mt,de({allowedAdditionalTokens:["event","external","in"]}),U({allowedTypes:["module"],pathGrammar:ee}),ae,Rt,H({allowSquareBracketsOnAnyType:!0,allowJsdocNamePaths:!1,pathGrammar:ee}),Qt,ho,ge({allowVariadic:!0,allowOptional:!0})];function Zo(x,I){switch(I){case"closure":return new V(Pt,x).parse();case"jsdoc":return new V(Ae,x).parse();case"typescript":return new V(ks,x).parse()}}j(Zo,"parse");function ra(x,I=["typescript","closure","jsdoc"]){let B;for(let X of I)try{return Zo(x,X)}catch(he){B=he}throw B}j(ra,"tryParse");function pn(x,I){let B=x[I.type];if(B===void 0)throw new Error(`In this set of transform rules exists no rule for type ${I.type}.`);return B(I,X=>pn(x,X))}j(pn,"transform");function xt(x){throw new Error("This transform is not available. Are you trying the correct parsing mode?")}j(xt,"notAvailableTransform");function ei(x){let I={params:[]};for(let B of x.parameters)B.type==="JsdocTypeKeyValue"?B.key==="this"?I.this=B.right:B.key==="new"?I.new=B.right:I.params.push(B):I.params.push(B);return I}j(ei,"extractSpecialParams");function Nn(x,I,B){return x==="prefix"?B+I:I+B}j(Nn,"applyPosition");function W(x,I){switch(I){case"double":return`"${x}"`;case"single":return`'${x}'`;case void 0:return x}}j(W,"quote");function ti(){return{JsdocTypeParenthesis:j((x,I)=>`(${x.element!==void 0?I(x.element):""})`,"JsdocTypeParenthesis"),JsdocTypeKeyof:j((x,I)=>`keyof ${I(x.element)}`,"JsdocTypeKeyof"),JsdocTypeFunction:j((x,I)=>{if(x.arrow){if(x.returnType===void 0)throw new Error("Arrow function needs a return type.");let B=`(${x.parameters.map(I).join(", ")}) => ${I(x.returnType)}`;return x.constructor&&(B="new "+B),B}else{let B=x.constructor?"new":"function";return x.parenthesis&&(B+=`(${x.parameters.map(I).join(", ")})`,x.returnType!==void 0&&(B+=`: ${I(x.returnType)}`)),B}},"JsdocTypeFunction"),JsdocTypeName:j(x=>x.value,"JsdocTypeName"),JsdocTypeTuple:j((x,I)=>`[${x.elements.map(I).join(", ")}]`,"JsdocTypeTuple"),JsdocTypeVariadic:j((x,I)=>x.meta.position===void 0?"...":Nn(x.meta.position,I(x.element),"..."),"JsdocTypeVariadic"),JsdocTypeNamePath:j((x,I)=>{let B=I(x.left),X=I(x.right);switch(x.pathType){case"inner":return`${B}~${X}`;case"instance":return`${B}#${X}`;case"property":return`${B}.${X}`;case"property-brackets":return`${B}[${X}]`}},"JsdocTypeNamePath"),JsdocTypeStringValue:j(x=>W(x.value,x.meta.quote),"JsdocTypeStringValue"),JsdocTypeAny:j(()=>"*","JsdocTypeAny"),JsdocTypeGeneric:j((x,I)=>{if(x.meta.brackets==="square"){let B=x.elements[0],X=I(B);return B.type==="JsdocTypeUnion"||B.type==="JsdocTypeIntersection"?`(${X})[]`:`${X}[]`}else return`${I(x.left)}${x.meta.dot?".":""}<${x.elements.map(I).join(", ")}>`},"JsdocTypeGeneric"),JsdocTypeImport:j((x,I)=>`import(${I(x.element)})`,"JsdocTypeImport"),JsdocTypeObjectField:j((x,I)=>{let B="";return x.readonly&&(B+="readonly "),typeof x.key=="string"?B+=W(x.key,x.meta.quote):B+=I(x.key),x.optional&&(B+="?"),x.right===void 0?B:B+`: ${I(x.right)}`},"JsdocTypeObjectField"),JsdocTypeJsdocObjectField:j((x,I)=>`${I(x.left)}: ${I(x.right)}`,"JsdocTypeJsdocObjectField"),JsdocTypeKeyValue:j((x,I)=>{let B=x.key;return x.optional&&(B+="?"),x.variadic&&(B="..."+B),x.right===void 0?B:B+`: ${I(x.right)}`},"JsdocTypeKeyValue"),JsdocTypeSpecialNamePath:j(x=>`${x.specialType}:${W(x.value,x.meta.quote)}`,"JsdocTypeSpecialNamePath"),JsdocTypeNotNullable:j((x,I)=>Nn(x.meta.position,I(x.element),"!"),"JsdocTypeNotNullable"),JsdocTypeNull:j(()=>"null","JsdocTypeNull"),JsdocTypeNullable:j((x,I)=>Nn(x.meta.position,I(x.element),"?"),"JsdocTypeNullable"),JsdocTypeNumber:j(x=>x.value.toString(),"JsdocTypeNumber"),JsdocTypeObject:j((x,I)=>`{${x.elements.map(I).join((x.meta.separator==="comma"?",":";")+" ")}}`,"JsdocTypeObject"),JsdocTypeOptional:j((x,I)=>Nn(x.meta.position,I(x.element),"="),"JsdocTypeOptional"),JsdocTypeSymbol:j((x,I)=>`${x.value}(${x.element!==void 0?I(x.element):""})`,"JsdocTypeSymbol"),JsdocTypeTypeof:j((x,I)=>`typeof ${I(x.element)}`,"JsdocTypeTypeof"),JsdocTypeUndefined:j(()=>"undefined","JsdocTypeUndefined"),JsdocTypeUnion:j((x,I)=>x.elements.map(I).join(" | "),"JsdocTypeUnion"),JsdocTypeUnknown:j(()=>"?","JsdocTypeUnknown"),JsdocTypeIntersection:j((x,I)=>x.elements.map(I).join(" & "),"JsdocTypeIntersection"),JsdocTypeProperty:j(x=>W(x.value,x.meta.quote),"JsdocTypeProperty"),JsdocTypePredicate:j((x,I)=>`${I(x.left)} is ${I(x.right)}`,"JsdocTypePredicate"),JsdocTypeIndexSignature:j((x,I)=>`[${x.key}: ${I(x.right)}]`,"JsdocTypeIndexSignature"),JsdocTypeMappedType:j((x,I)=>`[${x.key} in ${I(x.right)}]`,"JsdocTypeMappedType"),JsdocTypeAsserts:j((x,I)=>`asserts ${I(x.left)} is ${I(x.right)}`,"JsdocTypeAsserts")}}j(ti,"stringifyRules");let mo=ti();function ri(x){return pn(mo,x)}j(ri,"stringify");let QH=["null","true","false","break","case","catch","class","const","continue","debugger","default","delete","do","else","export","extends","finally","for","function","if","import","in","instanceof","new","return","super","switch","this","throw","try","typeof","var","void","while","with","yield"];function In(x){let I={type:"NameExpression",name:x};return QH.includes(x)&&(I.reservedWord=!0),I}j(In,"makeName");let ZH={JsdocTypeOptional:j((x,I)=>{let B=I(x.element);return B.optional=!0,B},"JsdocTypeOptional"),JsdocTypeNullable:j((x,I)=>{let B=I(x.element);return B.nullable=!0,B},"JsdocTypeNullable"),JsdocTypeNotNullable:j((x,I)=>{let B=I(x.element);return B.nullable=!1,B},"JsdocTypeNotNullable"),JsdocTypeVariadic:j((x,I)=>{if(x.element===void 0)throw new Error("dots without value are not allowed in catharsis mode");let B=I(x.element);return B.repeatable=!0,B},"JsdocTypeVariadic"),JsdocTypeAny:j(()=>({type:"AllLiteral"}),"JsdocTypeAny"),JsdocTypeNull:j(()=>({type:"NullLiteral"}),"JsdocTypeNull"),JsdocTypeStringValue:j(x=>In(W(x.value,x.meta.quote)),"JsdocTypeStringValue"),JsdocTypeUndefined:j(()=>({type:"UndefinedLiteral"}),"JsdocTypeUndefined"),JsdocTypeUnknown:j(()=>({type:"UnknownLiteral"}),"JsdocTypeUnknown"),JsdocTypeFunction:j((x,I)=>{let B=ei(x),X={type:"FunctionType",params:B.params.map(I)};return B.this!==void 0&&(X.this=I(B.this)),B.new!==void 0&&(X.new=I(B.new)),x.returnType!==void 0&&(X.result=I(x.returnType)),X},"JsdocTypeFunction"),JsdocTypeGeneric:j((x,I)=>({type:"TypeApplication",applications:x.elements.map(B=>I(B)),expression:I(x.left)}),"JsdocTypeGeneric"),JsdocTypeSpecialNamePath:j(x=>In(x.specialType+":"+W(x.value,x.meta.quote)),"JsdocTypeSpecialNamePath"),JsdocTypeName:j(x=>x.value!=="function"?In(x.value):{type:"FunctionType",params:[]},"JsdocTypeName"),JsdocTypeNumber:j(x=>In(x.value.toString()),"JsdocTypeNumber"),JsdocTypeObject:j((x,I)=>{let B={type:"RecordType",fields:[]};for(let X of x.elements)X.type!=="JsdocTypeObjectField"&&X.type!=="JsdocTypeJsdocObjectField"?B.fields.push({type:"FieldType",key:I(X),value:void 0}):B.fields.push(I(X));return B},"JsdocTypeObject"),JsdocTypeObjectField:j((x,I)=>{if(typeof x.key!="string")throw new Error("Index signatures and mapped types are not supported");return{type:"FieldType",key:In(W(x.key,x.meta.quote)),value:x.right===void 0?void 0:I(x.right)}},"JsdocTypeObjectField"),JsdocTypeJsdocObjectField:j((x,I)=>({type:"FieldType",key:I(x.left),value:I(x.right)}),"JsdocTypeJsdocObjectField"),JsdocTypeUnion:j((x,I)=>({type:"TypeUnion",elements:x.elements.map(B=>I(B))}),"JsdocTypeUnion"),JsdocTypeKeyValue:j((x,I)=>({type:"FieldType",key:In(x.key),value:x.right===void 0?void 0:I(x.right)}),"JsdocTypeKeyValue"),JsdocTypeNamePath:j((x,I)=>{let B=I(x.left),X;x.right.type==="JsdocTypeSpecialNamePath"?X=I(x.right).name:X=W(x.right.value,x.right.meta.quote);let he=x.pathType==="inner"?"~":x.pathType==="instance"?"#":".";return In(`${B.name}${he}${X}`)},"JsdocTypeNamePath"),JsdocTypeSymbol:j(x=>{let I="",B=x.element,X=!1;return(B==null?void 0:B.type)==="JsdocTypeVariadic"&&(B.meta.position==="prefix"?I="...":X=!0,B=B.element),(B==null?void 0:B.type)==="JsdocTypeName"?I+=B.value:(B==null?void 0:B.type)==="JsdocTypeNumber"&&(I+=B.value.toString()),X&&(I+="..."),In(`${x.value}(${I})`)},"JsdocTypeSymbol"),JsdocTypeParenthesis:j((x,I)=>I(R(x.element)),"JsdocTypeParenthesis"),JsdocTypeMappedType:xt,JsdocTypeIndexSignature:xt,JsdocTypeImport:xt,JsdocTypeKeyof:xt,JsdocTypeTuple:xt,JsdocTypeTypeof:xt,JsdocTypeIntersection:xt,JsdocTypeProperty:xt,JsdocTypePredicate:xt,JsdocTypeAsserts:xt};function ex(x){return pn(ZH,x)}j(ex,"catharsisTransform");function yo(x){switch(x){case void 0:return"none";case"single":return"single";case"double":return"double"}}j(yo,"getQuoteStyle");function tx(x){switch(x){case"inner":return"INNER_MEMBER";case"instance":return"INSTANCE_MEMBER";case"property":return"MEMBER";case"property-brackets":return"MEMBER"}}j(tx,"getMemberType");function Wu(x,I){return I.length===2?{type:x,left:I[0],right:I[1]}:{type:x,left:I[0],right:Wu(x,I.slice(1))}}j(Wu,"nestResults");let eV={JsdocTypeOptional:j((x,I)=>({type:"OPTIONAL",value:I(x.element),meta:{syntax:x.meta.position==="prefix"?"PREFIX_EQUAL_SIGN":"SUFFIX_EQUALS_SIGN"}}),"JsdocTypeOptional"),JsdocTypeNullable:j((x,I)=>({type:"NULLABLE",value:I(x.element),meta:{syntax:x.meta.position==="prefix"?"PREFIX_QUESTION_MARK":"SUFFIX_QUESTION_MARK"}}),"JsdocTypeNullable"),JsdocTypeNotNullable:j((x,I)=>({type:"NOT_NULLABLE",value:I(x.element),meta:{syntax:x.meta.position==="prefix"?"PREFIX_BANG":"SUFFIX_BANG"}}),"JsdocTypeNotNullable"),JsdocTypeVariadic:j((x,I)=>{let B={type:"VARIADIC",meta:{syntax:x.meta.position==="prefix"?"PREFIX_DOTS":x.meta.position==="suffix"?"SUFFIX_DOTS":"ONLY_DOTS"}};return x.element!==void 0&&(B.value=I(x.element)),B},"JsdocTypeVariadic"),JsdocTypeName:j(x=>({type:"NAME",name:x.value}),"JsdocTypeName"),JsdocTypeTypeof:j((x,I)=>({type:"TYPE_QUERY",name:I(x.element)}),"JsdocTypeTypeof"),JsdocTypeTuple:j((x,I)=>({type:"TUPLE",entries:x.elements.map(I)}),"JsdocTypeTuple"),JsdocTypeKeyof:j((x,I)=>({type:"KEY_QUERY",value:I(x.element)}),"JsdocTypeKeyof"),JsdocTypeImport:j(x=>({type:"IMPORT",path:{type:"STRING_VALUE",quoteStyle:yo(x.element.meta.quote),string:x.element.value}}),"JsdocTypeImport"),JsdocTypeUndefined:j(()=>({type:"NAME",name:"undefined"}),"JsdocTypeUndefined"),JsdocTypeAny:j(()=>({type:"ANY"}),"JsdocTypeAny"),JsdocTypeFunction:j((x,I)=>{let B=ei(x),X={type:x.arrow?"ARROW":"FUNCTION",params:B.params.map(he=>{if(he.type==="JsdocTypeKeyValue"){if(he.right===void 0)throw new Error("Function parameter without ':' is not expected to be 'KEY_VALUE'");return{type:"NAMED_PARAMETER",name:he.key,typeName:I(he.right)}}else return I(he)}),new:null,returns:null};return B.this!==void 0?X.this=I(B.this):x.arrow||(X.this=null),B.new!==void 0&&(X.new=I(B.new)),x.returnType!==void 0&&(X.returns=I(x.returnType)),X},"JsdocTypeFunction"),JsdocTypeGeneric:j((x,I)=>{let B={type:"GENERIC",subject:I(x.left),objects:x.elements.map(I),meta:{syntax:x.meta.brackets==="square"?"SQUARE_BRACKET":x.meta.dot?"ANGLE_BRACKET_WITH_DOT":"ANGLE_BRACKET"}};return x.meta.brackets==="square"&&x.elements[0].type==="JsdocTypeFunction"&&!x.elements[0].parenthesis&&(B.objects[0]={type:"NAME",name:"function"}),B},"JsdocTypeGeneric"),JsdocTypeObjectField:j((x,I)=>{if(typeof x.key!="string")throw new Error("Index signatures and mapped types are not supported");if(x.right===void 0)return{type:"RECORD_ENTRY",key:x.key,quoteStyle:yo(x.meta.quote),value:null,readonly:!1};let B=I(x.right);return x.optional&&(B={type:"OPTIONAL",value:B,meta:{syntax:"SUFFIX_KEY_QUESTION_MARK"}}),{type:"RECORD_ENTRY",key:x.key.toString(),quoteStyle:yo(x.meta.quote),value:B,readonly:!1}},"JsdocTypeObjectField"),JsdocTypeJsdocObjectField:j(()=>{throw new Error("Keys may not be typed in jsdoctypeparser.")},"JsdocTypeJsdocObjectField"),JsdocTypeKeyValue:j((x,I)=>{if(x.right===void 0)return{type:"RECORD_ENTRY",key:x.key,quoteStyle:"none",value:null,readonly:!1};let B=I(x.right);return x.optional&&(B={type:"OPTIONAL",value:B,meta:{syntax:"SUFFIX_KEY_QUESTION_MARK"}}),{type:"RECORD_ENTRY",key:x.key,quoteStyle:"none",value:B,readonly:!1}},"JsdocTypeKeyValue"),JsdocTypeObject:j((x,I)=>{let B=[];for(let X of x.elements)(X.type==="JsdocTypeObjectField"||X.type==="JsdocTypeJsdocObjectField")&&B.push(I(X));return{type:"RECORD",entries:B}},"JsdocTypeObject"),JsdocTypeSpecialNamePath:j(x=>{if(x.specialType!=="module")throw new Error(`jsdoctypeparser does not support type ${x.specialType} at this point.`);return{type:"MODULE",value:{type:"FILE_PATH",quoteStyle:yo(x.meta.quote),path:x.value}}},"JsdocTypeSpecialNamePath"),JsdocTypeNamePath:j((x,I)=>{let B=!1,X,he;x.right.type==="JsdocTypeSpecialNamePath"&&x.right.specialType==="event"?(B=!0,X=x.right.value,he=yo(x.right.meta.quote)):(X=x.right.value,he=yo(x.right.meta.quote));let Ee={type:tx(x.pathType),owner:I(x.left),name:X,quoteStyle:he,hasEventPrefix:B};if(Ee.owner.type==="MODULE"){let Oe=Ee.owner;return Ee.owner=Ee.owner.value,Oe.value=Ee,Oe}else return Ee},"JsdocTypeNamePath"),JsdocTypeUnion:j((x,I)=>Wu("UNION",x.elements.map(I)),"JsdocTypeUnion"),JsdocTypeParenthesis:j((x,I)=>({type:"PARENTHESIS",value:I(R(x.element))}),"JsdocTypeParenthesis"),JsdocTypeNull:j(()=>({type:"NAME",name:"null"}),"JsdocTypeNull"),JsdocTypeUnknown:j(()=>({type:"UNKNOWN"}),"JsdocTypeUnknown"),JsdocTypeStringValue:j(x=>({type:"STRING_VALUE",quoteStyle:yo(x.meta.quote),string:x.value}),"JsdocTypeStringValue"),JsdocTypeIntersection:j((x,I)=>Wu("INTERSECTION",x.elements.map(I)),"JsdocTypeIntersection"),JsdocTypeNumber:j(x=>({type:"NUMBER_VALUE",number:x.value.toString()}),"JsdocTypeNumber"),JsdocTypeSymbol:xt,JsdocTypeProperty:xt,JsdocTypePredicate:xt,JsdocTypeMappedType:xt,JsdocTypeIndexSignature:xt,JsdocTypeAsserts:xt};function rx(x){return pn(eV,x)}j(rx,"jtpTransform");function nx(){return{JsdocTypeIntersection:j((x,I)=>({type:"JsdocTypeIntersection",elements:x.elements.map(I)}),"JsdocTypeIntersection"),JsdocTypeGeneric:j((x,I)=>({type:"JsdocTypeGeneric",left:I(x.left),elements:x.elements.map(I),meta:{dot:x.meta.dot,brackets:x.meta.brackets}}),"JsdocTypeGeneric"),JsdocTypeNullable:j(x=>x,"JsdocTypeNullable"),JsdocTypeUnion:j((x,I)=>({type:"JsdocTypeUnion",elements:x.elements.map(I)}),"JsdocTypeUnion"),JsdocTypeUnknown:j(x=>x,"JsdocTypeUnknown"),JsdocTypeUndefined:j(x=>x,"JsdocTypeUndefined"),JsdocTypeTypeof:j((x,I)=>({type:"JsdocTypeTypeof",element:I(x.element)}),"JsdocTypeTypeof"),JsdocTypeSymbol:j((x,I)=>{let B={type:"JsdocTypeSymbol",value:x.value};return x.element!==void 0&&(B.element=I(x.element)),B},"JsdocTypeSymbol"),JsdocTypeOptional:j((x,I)=>({type:"JsdocTypeOptional",element:I(x.element),meta:{position:x.meta.position}}),"JsdocTypeOptional"),JsdocTypeObject:j((x,I)=>({type:"JsdocTypeObject",meta:{separator:"comma"},elements:x.elements.map(I)}),"JsdocTypeObject"),JsdocTypeNumber:j(x=>x,"JsdocTypeNumber"),JsdocTypeNull:j(x=>x,"JsdocTypeNull"),JsdocTypeNotNullable:j((x,I)=>({type:"JsdocTypeNotNullable",element:I(x.element),meta:{position:x.meta.position}}),"JsdocTypeNotNullable"),JsdocTypeSpecialNamePath:j(x=>x,"JsdocTypeSpecialNamePath"),JsdocTypeObjectField:j((x,I)=>({type:"JsdocTypeObjectField",key:x.key,right:x.right===void 0?void 0:I(x.right),optional:x.optional,readonly:x.readonly,meta:x.meta}),"JsdocTypeObjectField"),JsdocTypeJsdocObjectField:j((x,I)=>({type:"JsdocTypeJsdocObjectField",left:I(x.left),right:I(x.right)}),"JsdocTypeJsdocObjectField"),JsdocTypeKeyValue:j((x,I)=>({type:"JsdocTypeKeyValue",key:x.key,right:x.right===void 0?void 0:I(x.right),optional:x.optional,variadic:x.variadic}),"JsdocTypeKeyValue"),JsdocTypeImport:j((x,I)=>({type:"JsdocTypeImport",element:I(x.element)}),"JsdocTypeImport"),JsdocTypeAny:j(x=>x,"JsdocTypeAny"),JsdocTypeStringValue:j(x=>x,"JsdocTypeStringValue"),JsdocTypeNamePath:j(x=>x,"JsdocTypeNamePath"),JsdocTypeVariadic:j((x,I)=>{let B={type:"JsdocTypeVariadic",meta:{position:x.meta.position,squareBrackets:x.meta.squareBrackets}};return x.element!==void 0&&(B.element=I(x.element)),B},"JsdocTypeVariadic"),JsdocTypeTuple:j((x,I)=>({type:"JsdocTypeTuple",elements:x.elements.map(I)}),"JsdocTypeTuple"),JsdocTypeName:j(x=>x,"JsdocTypeName"),JsdocTypeFunction:j((x,I)=>{let B={type:"JsdocTypeFunction",arrow:x.arrow,parameters:x.parameters.map(I),constructor:x.constructor,parenthesis:x.parenthesis};return x.returnType!==void 0&&(B.returnType=I(x.returnType)),B},"JsdocTypeFunction"),JsdocTypeKeyof:j((x,I)=>({type:"JsdocTypeKeyof",element:I(x.element)}),"JsdocTypeKeyof"),JsdocTypeParenthesis:j((x,I)=>({type:"JsdocTypeParenthesis",element:I(x.element)}),"JsdocTypeParenthesis"),JsdocTypeProperty:j(x=>x,"JsdocTypeProperty"),JsdocTypePredicate:j((x,I)=>({type:"JsdocTypePredicate",left:I(x.left),right:I(x.right)}),"JsdocTypePredicate"),JsdocTypeIndexSignature:j((x,I)=>({type:"JsdocTypeIndexSignature",key:x.key,right:I(x.right)}),"JsdocTypeIndexSignature"),JsdocTypeMappedType:j((x,I)=>({type:"JsdocTypeMappedType",key:x.key,right:I(x.right)}),"JsdocTypeMappedType"),JsdocTypeAsserts:j((x,I)=>({type:"JsdocTypeAsserts",left:I(x.left),right:I(x.right)}),"JsdocTypeAsserts")}}j(nx,"identityTransformRules");let ox={JsdocTypeAny:[],JsdocTypeFunction:["parameters","returnType"],JsdocTypeGeneric:["left","elements"],JsdocTypeImport:[],JsdocTypeIndexSignature:["right"],JsdocTypeIntersection:["elements"],JsdocTypeKeyof:["element"],JsdocTypeKeyValue:["right"],JsdocTypeMappedType:["right"],JsdocTypeName:[],JsdocTypeNamePath:["left","right"],JsdocTypeNotNullable:["element"],JsdocTypeNull:[],JsdocTypeNullable:["element"],JsdocTypeNumber:[],JsdocTypeObject:["elements"],JsdocTypeObjectField:["right"],JsdocTypeJsdocObjectField:["left","right"],JsdocTypeOptional:["element"],JsdocTypeParenthesis:["element"],JsdocTypeSpecialNamePath:[],JsdocTypeStringValue:[],JsdocTypeSymbol:["element"],JsdocTypeTuple:["elements"],JsdocTypeTypeof:["element"],JsdocTypeUndefined:[],JsdocTypeUnion:["elements"],JsdocTypeUnknown:[],JsdocTypeVariadic:["element"],JsdocTypeProperty:[],JsdocTypePredicate:["left","right"],JsdocTypeAsserts:["left","right"]};function Gu(x,I,B,X,he){X==null||X(x,I,B);let Ee=ox[x.type];for(let Oe of Ee){let dt=x[Oe];if(dt!==void 0)if(Array.isArray(dt))for(let yt of dt)Gu(yt,x,Oe,X,he);else Gu(dt,x,Oe,X,he)}he==null||he(x,I,B)}j(Gu,"_traverse");function ix(x,I,B){Gu(x,void 0,void 0,I,B)}j(ix,"traverse"),r.catharsisTransform=ex,r.identityTransformRules=nx,r.jtpTransform=rx,r.parse=Zo,r.stringify=ri,r.stringifyRules=ti,r.transform=pn,r.traverse=ix,r.tryParse=ra,r.visitorKeys=ox})});const{UnknownArgTypesError:Mre}=__STORYBOOK_MODULE_CORE_EVENTS_PREVIEW_ERRORS__;var qre=j(e=>e.name==="literal","isLiteral"),jre=j(e=>e.value.replace(/['|"]/g,""),"toEnumOption"),$re=j(e=>{switch(e.type){case"function":return{name:"function"};case"object":let t={};return e.signature.properties.forEach(r=>{t[r.key]=yl(r.value)}),{name:"object",value:t};default:throw new Mre({type:e,language:"Flow"})}},"convertSig"),yl=j(e=>{var o,i,a,l;let{name:t,raw:r}=e,n={};switch(typeof r<"u"&&(n.raw=r),e.name){case"literal":return{...n,name:"other",value:e.value};case"string":case"number":case"symbol":case"boolean":return{...n,name:t};case"Array":return{...n,name:"array",value:e.elements.map(yl)};case"signature":return{...n,...$re(e)};case"union":return(o=e.elements)!=null&&o.every(qre)?{...n,name:"enum",value:(i=e.elements)==null?void 0:i.map(jre)}:{...n,name:t,value:(a=e.elements)==null?void 0:a.map(yl)};case"intersection":return{...n,name:t,value:(l=e.elements)==null?void 0:l.map(yl)};default:return{...n,name:"other",value:t}}},"convert");function Ic(e){if(!e||typeof e!="object")return!1;let t=Object.getPrototypeOf(e);return t===null||t===Object.prototype||Object.getPrototypeOf(t)===null?Object.prototype.toString.call(e)==="[object Object]":!1}j(Ic,"isPlainObject");function QD(e,t){let r={},n=Object.keys(e);for(let o=0;o<n.length;o++){let i=n[o],a=e[i];r[i]=t(a,i,e)}return r}j(QD,"mapValues");var ZD=/^['"]|['"]$/g,Lre=j(e=>e.replace(ZD,""),"trimQuotes"),Fre=j(e=>ZD.test(e),"includesQuotes"),eB=j(e=>{let t=Lre(e);return Fre(e)||Number.isNaN(Number(t))?t:Number(t)},"parseLiteral"),Dre=/^\(.*\) => /,Qs=j(e=>{let{name:t,raw:r,computed:n,value:o}=e,i={};switch(typeof r<"u"&&(i.raw=r),t){case"enum":{let l=n?o:o.map(u=>eB(u.value));return{...i,name:t,value:l}}case"string":case"number":case"symbol":return{...i,name:t};case"func":return{...i,name:"function"};case"bool":case"boolean":return{...i,name:"boolean"};case"arrayOf":case"array":return{...i,name:"array",value:o&&Qs(o)};case"object":return{...i,name:t};case"objectOf":return{...i,name:t,value:Qs(o)};case"shape":case"exact":let a=QD(o,l=>Qs(l));return{...i,name:"object",value:a};case"union":return{...i,name:"union",value:o.map(l=>Qs(l))};case"instanceOf":case"element":case"elementType":default:{if((t==null?void 0:t.indexOf("|"))>0)try{let c=t.split("|").map(d=>JSON.parse(d));return{...i,name:"enum",value:c}}catch{}let l=o?`${t}(${o})`:t,u=Dre.test(t)?"function":"other";return{...i,name:u,value:l}}}},"convert");const{UnknownArgTypesError:Bre}=__STORYBOOK_MODULE_CORE_EVENTS_PREVIEW_ERRORS__;var Ure=j(e=>{switch(e.type){case"function":return{name:"function"};case"object":let t={};return e.signature.properties.forEach(r=>{t[r.key]=gl(r.value)}),{name:"object",value:t};default:throw new Bre({type:e,language:"Typescript"})}},"convertSig"),gl=j(e=>{var o,i,a,l;let{name:t,raw:r}=e,n={};switch(typeof r<"u"&&(n.raw=r),e.name){case"string":case"number":case"symbol":case"boolean":return{...n,name:t};case"Array":return{...n,name:"array",value:e.elements.map(gl)};case"signature":return{...n,...Ure(e)};case"union":let u;return(o=e.elements)!=null&&o.every(c=>c.name==="literal")?u={...n,name:"enum",value:(i=e.elements)==null?void 0:i.map(c=>eB(c.value))}:u={...n,name:t,value:(a=e.elements)==null?void 0:a.map(gl)},u;case"intersection":return{...n,name:t,value:(l=e.elements)==null?void 0:l.map(gl)};default:return{...n,name:"other",value:t}}},"convert"),oh=j(e=>{let{type:t,tsType:r,flowType:n}=e;try{if(t!=null)return Qs(t);if(r!=null)return gl(r);if(n!=null)return yl(n)}catch(o){console.error(o)}return null},"convert"),Hre=["null","undefined"];function ih(e){return Hre.some(t=>t===e)}j(ih,"isDefaultValueBlacklisted");var Vre=j(e=>{if(!e)return"";if(typeof e=="string")return e;throw new Error(`Description: expected string, got: ${JSON.stringify(e)}`)},"str");function ah(e){return!!e.__docgenInfo}j(ah,"hasDocgen");function tB(e){return e!=null&&Object.keys(e).length>0}j(tB,"isValidDocgenSection");function rB(e,t){return ah(e)?e.__docgenInfo[t]:null}j(rB,"getDocgenSection");function nB(e){return ah(e)?Vre(e.__docgenInfo.description):""}j(nB,"getDocgenDescription");var jo;(function(e){e.start="/**",e.nostart="/***",e.delim="*",e.end="*/"})(jo=jo||(jo={}));function oB(e){return/^\s+$/.test(e)}j(oB,"isSpace");function iB(e){let t=e.match(/\r+$/);return t==null?["",e]:[e.slice(-t[0].length),e.slice(0,-t[0].length)]}j(iB,"splitCR");function Si(e){let t=e.match(/^\s+/);return t==null?["",e]:[e.slice(0,t[0].length),e.slice(t[0].length)]}j(Si,"splitSpace");function aB(e){return e.split(/\n/)}j(aB,"splitLines");function sB(e={}){return Object.assign({tag:"",name:"",type:"",optional:!1,description:"",problems:[],source:[]},e)}j(sB,"seedSpec");function lB(e={}){return Object.assign({start:"",delimiter:"",postDelimiter:"",tag:"",postTag:"",name:"",postName:"",type:"",postType:"",description:"",end:"",lineEnd:""},e)}j(lB,"seedTokens");var Jre=/^@\S+/;function uB({fence:e="```"}={}){let t=cB(e),r=j((n,o)=>t(n)?!o:o,"toggleFence");return j(function(n){let o=[[]],i=!1;for(let a of n)Jre.test(a.tokens.description)&&!i?o.push([a]):o[o.length-1].push(a),i=r(a.tokens.description,i);return o},"parseBlock")}j(uB,"getParser");function cB(e){return typeof e=="string"?t=>t.split(e).length%2===0:e}j(cB,"getFencer");function dB({startLine:e=0,markers:t=jo}={}){let r=null,n=e;return j(function(o){let i=o,a=lB();if([a.lineEnd,i]=iB(i),[a.start,i]=Si(i),r===null&&i.startsWith(t.start)&&!i.startsWith(t.nostart)&&(r=[],a.delimiter=i.slice(0,t.start.length),i=i.slice(t.start.length),[a.postDelimiter,i]=Si(i)),r===null)return n++,null;let l=i.trimRight().endsWith(t.end);if(a.delimiter===""&&i.startsWith(t.delim)&&!i.startsWith(t.end)&&(a.delimiter=t.delim,i=i.slice(t.delim.length),[a.postDelimiter,i]=Si(i)),l){let u=i.trimRight();a.end=i.slice(u.length-t.end.length),i=u.slice(0,-t.end.length)}if(a.description=i,r.push({number:n,source:o,tokens:a}),n++,l){let u=r.slice();return r=null,u}return null},"parseSource")}j(dB,"getParser");function pB({tokenizers:e}){return j(function(t){var r;let n=sB({source:t});for(let o of e)if(n=o(n),!((r=n.problems[n.problems.length-1])===null||r===void 0)&&r.critical)break;return n},"parseSpec")}j(pB,"getParser");function fB(){return e=>{let{tokens:t}=e.source[0],r=t.description.match(/\s*(@(\S+))(\s*)/);return r===null?(e.problems.push({code:"spec:tag:prefix",message:'tag should start with "@" symbol',line:e.source[0].number,critical:!0}),e):(t.tag=r[1],t.postTag=r[3],t.description=t.description.slice(r[0].length),e.tag=r[2],e)}}j(fB,"tagTokenizer");function hB(e="compact"){let t=mB(e);return r=>{let n=0,o=[];for(let[l,{tokens:u}]of r.source.entries()){let c="";if(l===0&&u.description[0]!=="{")return r;for(let d of u.description)if(d==="{"&&n++,d==="}"&&n--,c+=d,n===0)break;if(o.push([u,c]),n===0)break}if(n!==0)return r.problems.push({code:"spec:type:unpaired-curlies",message:"unpaired curlies",line:r.source[0].number,critical:!0}),r;let i=[],a=o[0][0].postDelimiter.length;for(let[l,[u,c]]of o.entries())u.type=c,l>0&&(u.type=u.postDelimiter.slice(a)+c,u.postDelimiter=u.postDelimiter.slice(0,a)),[u.postType,u.description]=Si(u.description.slice(c.length)),i.push(u.type);return i[0]=i[0].slice(1),i[i.length-1]=i[i.length-1].slice(0,-1),r.type=t(i),r}}j(hB,"typeTokenizer");var zre=j(e=>e.trim(),"trim");function mB(e){return e==="compact"?t=>t.map(zre).join(""):e==="preserve"?t=>t.join(`
|
|
1065
|
-
`):e}j(mB,"getJoiner");var Wre=j(e=>e&&e.startsWith('"')&&e.endsWith('"'),"isQuoted");function yB(){let e=j((t,{tokens:r},n)=>r.type===""?t:n,"typeEnd");return t=>{let{tokens:r}=t.source[t.source.reduce(e,0)],n=r.description.trimLeft(),o=n.split('"');if(o.length>1&&o[0]===""&&o.length%2===1)return t.name=o[1],r.name=`"${o[1]}"`,[r.postName,r.description]=Si(n.slice(r.name.length)),t;let i=0,a="",l=!1,u;for(let d of n){if(i===0&&oB(d))break;d==="["&&i++,d==="]"&&i--,a+=d}if(i!==0)return t.problems.push({code:"spec:name:unpaired-brackets",message:"unpaired brackets",line:t.source[0].number,critical:!0}),t;let c=a;if(a[0]==="["&&a[a.length-1]==="]"){l=!0,a=a.slice(1,-1);let d=a.split("=");if(a=d[0].trim(),d[1]!==void 0&&(u=d.slice(1).join("=").trim()),a==="")return t.problems.push({code:"spec:name:empty-name",message:"empty name",line:t.source[0].number,critical:!0}),t;if(u==="")return t.problems.push({code:"spec:name:empty-default",message:"empty default value",line:t.source[0].number,critical:!0}),t;if(!Wre(u)&&/=(?!>)/.test(u))return t.problems.push({code:"spec:name:invalid-default",message:"invalid default value syntax",line:t.source[0].number,critical:!0}),t}return t.optional=l,t.name=a,r.name=c,u!==void 0&&(t.default=u),[r.postName,r.description]=Si(n.slice(r.name.length)),t}}j(yB,"nameTokenizer");function gB(e="compact",t=jo){let r=G0(e);return n=>(n.description=r(n.source,t),n)}j(gB,"descriptionTokenizer");function G0(e){return e==="compact"?bB:e==="preserve"?vB:e}j(G0,"getJoiner");function bB(e,t=jo){return e.map(({tokens:{description:r}})=>r.trim()).filter(r=>r!=="").join(" ")}j(bB,"compactJoiner");var Gre=j((e,{tokens:t},r)=>t.type===""?e:r,"lineNo"),Kre=j(({tokens:e})=>(e.delimiter===""?e.start:e.postDelimiter.slice(1))+e.description,"getDescription");function vB(e,t=jo){if(e.length===0)return"";e[0].tokens.description===""&&e[0].tokens.delimiter===t.start&&(e=e.slice(1));let r=e[e.length-1];return r!==void 0&&r.tokens.description===""&&r.tokens.end.endsWith(t.end)&&(e=e.slice(0,-1)),e=e.slice(e.reduce(Gre,0)),e.map(Kre).join(`
|
|
1066
|
-
`)}j(vB,"preserveJoiner");function wB({startLine:e=0,fence:t="```",spacing:r="compact",markers:n=jo,tokenizers:o=[fB(),hB(r),yB(),gB(r)]}={}){if(e<0||e%1>0)throw new Error("Invalid startLine");let i=dB({startLine:e,markers:n}),a=uB({fence:t}),l=pB({tokenizers:o}),u=G0(r);return function(c){let d=[];for(let p of aB(c)){let h=i(p);if(h===null)continue;let f=a(h),m=f.slice(1).map(l);d.push({description:u(f[0],n),tags:m,source:h,problems:m.reduce((y,g)=>y.concat(g.problems),[])})}return d}}j(wB,"getParser");function EB(e){return e.start+e.delimiter+e.postDelimiter+e.tag+e.postTag+e.type+e.postType+e.name+e.postName+e.description+e.end+e.lineEnd}j(EB,"join");function Yre(){return e=>e.source.map(({tokens:t})=>EB(t)).join(`
|
|
1067
|
-
`)}j(Yre,"getStringifier");function SB(e,t={}){return wB(t)(e)}j(SB,"parse");var K0=Ire(kre());function xB(e){return e!=null&&e.includes("@")}j(xB,"containsJsDoc");function TB(e){let t=`/**
|
|
1068
|
-
`+(e??"").split(`
|
|
1069
|
-
`).map(n=>` * ${n}`).join(`
|
|
1070
|
-
`)+`
|
|
1071
|
-
*/`,r=SB(t,{spacing:"preserve"});if(!r||r.length===0)throw new Error("Cannot parse JSDoc tags.");return r[0]}j(TB,"parse");var Xre={tags:["param","arg","argument","returns","ignore","deprecated"]},Qre=j((e,t=Xre)=>{if(!xB(e))return{includesJsDoc:!1,ignore:!1};let r=TB(e),n=CB(r,t.tags);return n.ignore?{includesJsDoc:!0,ignore:!0}:{includesJsDoc:!0,ignore:!1,description:r.description.trim(),extractedTags:n}},"parseJsDoc");function CB(e,t){let r={params:null,deprecated:null,returns:null,ignore:!1};for(let n of e.tags)if(!(t!==void 0&&!t.includes(n.tag)))if(n.tag==="ignore"){r.ignore=!0;break}else switch(n.tag){case"param":case"arg":case"argument":{let o=PB(n);o!=null&&(r.params==null&&(r.params=[]),r.params.push(o));break}case"deprecated":{let o=OB(n);o!=null&&(r.deprecated=o);break}case"returns":{let o=AB(n);o!=null&&(r.returns=o);break}}return r}j(CB,"extractJsDocTags");function _B(e){return e.replace(/[\.-]$/,"")}j(_B,"normaliseParamName");function PB(e){if(!e.name||e.name==="-")return null;let t=Q0(e.type);return{name:e.name,type:t,description:X0(e.description),getPrettyName:j(()=>_B(e.name),"getPrettyName"),getTypeName:j(()=>t?Z0(t):null,"getTypeName")}}j(PB,"extractParam");function OB(e){return e.name?Y0(e.name,e.description):null}j(OB,"extractDeprecated");function Y0(e,t){let r=e===""?t:`${e} ${t}`;return X0(r)}j(Y0,"joinNameAndDescription");function X0(e){let t=e.replace(/^- /g,"").trim();return t===""?null:t}j(X0,"normaliseDescription");function AB(e){let t=Q0(e.type);return t?{type:t,description:Y0(e.name,e.description),getTypeName:j(()=>Z0(t),"getTypeName")}:null}j(AB,"extractReturns");var Qo=(0,K0.stringifyRules)(),Zre=Qo.JsdocTypeObject;Qo.JsdocTypeAny=()=>"any";Qo.JsdocTypeObject=(e,t)=>`(${Zre(e,t)})`;Qo.JsdocTypeOptional=(e,t)=>t(e.element);Qo.JsdocTypeNullable=(e,t)=>t(e.element);Qo.JsdocTypeNotNullable=(e,t)=>t(e.element);Qo.JsdocTypeUnion=(e,t)=>e.elements.map(t).join("|");function Q0(e){try{return(0,K0.parse)(e,"typescript")}catch{return null}}j(Q0,"extractType");function Z0(e){return(0,K0.transform)(Qo,e)}j(Z0,"extractTypeName");function eS(e){return e.length>90}j(eS,"isTooLongForTypeSummary");function RB(e){return e.length>50}j(RB,"isTooLongForDefaultValueSummary");function Lt(e,t){return e===t?{summary:e}:{summary:e,detail:t}}j(Lt,"createSummaryValue");function NB(e,t){if(e!=null){let{value:r}=e;if(!ih(r))return RB(r)?Lt(t==null?void 0:t.name,r):Lt(r)}return null}j(NB,"createDefaultValue");function tS({name:e,value:t,elements:r,raw:n}){return t??(r!=null?r.map(tS).join(" | "):n??e)}j(tS,"generateUnionElement");function IB({name:e,raw:t,elements:r}){return r!=null?Lt(r.map(tS).join(" | ")):t!=null?Lt(t.replace(/^\|\s*/,"")):Lt(e)}j(IB,"generateUnion");function kB({type:e,raw:t}){return t!=null?Lt(t):Lt(e)}j(kB,"generateFuncSignature");function MB({type:e,raw:t}){return t!=null?eS(t)?Lt(e,t):Lt(t):Lt(e)}j(MB,"generateObjectSignature");function qB(e){let{type:t}=e;return t==="object"?MB(e):kB(e)}j(qB,"generateSignature");function jB({name:e,raw:t}){return t!=null?eS(t)?Lt(e,t):Lt(t):Lt(e)}j(jB,"generateDefault");function $B(e){if(e==null)return null;switch(e.name){case"union":return IB(e);case"signature":return qB(e);default:return jB(e)}}j($B,"createType");var ene=j((e,t)=>{let{flowType:r,description:n,required:o,defaultValue:i}=t;return{name:e,type:$B(r),required:o,description:n,defaultValue:NB(i??null,r??null)}},"createFlowPropDef");function LB({defaultValue:e}){if(e!=null){let{value:t}=e;if(!ih(t))return Lt(t)}return null}j(LB,"createDefaultValue");function FB({tsType:e,required:t}){if(e==null)return null;let r=e.name;return t||(r=r.replace(" | undefined","")),Lt(["Array","Record","signature"].includes(e.name)?e.raw:r)}j(FB,"createType");var tne=j((e,t)=>{let{description:r,required:n}=t;return{name:e,type:FB(t),required:n,description:r,defaultValue:LB(t)}},"createTsPropDef");function DB(e){return e!=null?Lt(e.name):null}j(DB,"createType");function BB(e){let{computed:t,func:r}=e;return typeof t>"u"&&typeof r>"u"}j(BB,"isReactDocgenTypescript");function UB(e){return e?e.name==="string"?!0:e.name==="enum"?Array.isArray(e.value)&&e.value.every(({value:t})=>typeof t=="string"&&t[0]==='"'&&t[t.length-1]==='"'):!1:!1}j(UB,"isStringValued");function HB(e,t){if(e!=null){let{value:r}=e;if(!ih(r))return BB(e)&&UB(t)?Lt(JSON.stringify(r)):Lt(r)}return null}j(HB,"createDefaultValue");function rS(e,t,r){let{description:n,required:o,defaultValue:i}=r;return{name:e,type:DB(t),required:o,description:n,defaultValue:HB(i,t)}}j(rS,"createBasicPropDef");function $u(e,t){var r;if(t!=null&&t.includesJsDoc){let{description:n,extractedTags:o}=t;n!=null&&(e.description=t.description);let i={...o,params:(r=o==null?void 0:o.params)==null?void 0:r.map(a=>({name:a.getPrettyName(),description:a.description}))};Object.values(i).filter(Boolean).length>0&&(e.jsDocTags=i)}return e}j($u,"applyJsDocResult");var rne=j((e,t,r)=>{let n=rS(e,t.type,t);return n.sbType=oh(t),$u(n,r)},"javaScriptFactory"),nne=j((e,t,r)=>{let n=tne(e,t);return n.sbType=oh(t),$u(n,r)},"tsFactory"),one=j((e,t,r)=>{let n=ene(e,t);return n.sbType=oh(t),$u(n,r)},"flowFactory"),ine=j((e,t,r)=>{let n=rS(e,{name:"unknown"},t);return $u(n,r)},"unknownFactory"),VB=j(e=>{switch(e){case"JavaScript":return rne;case"TypeScript":return nne;case"Flow":return one;default:return ine}},"getPropDefFactory"),JB=j(e=>e.type!=null?"JavaScript":e.flowType!=null?"Flow":e.tsType!=null?"TypeScript":"Unknown","getTypeSystem"),ane=j(e=>{let t=JB(e[0]),r=VB(t);return e.map(n=>{var i;let o=n;return(i=n.type)!=null&&i.elements&&(o={...n,type:{...n.type,value:n.type.elements}}),nS(o.name,o,t,r)})},"extractComponentSectionArray"),sne=j(e=>{let t=Object.keys(e),r=JB(e[t[0]]),n=VB(r);return t.map(o=>{let i=e[o];return i!=null?nS(o,i,r,n):null}).filter(Boolean)},"extractComponentSectionObject"),lne=j((e,t)=>{let r=rB(e,t);return tB(r)?Array.isArray(r)?ane(r):sne(r):[]},"extractComponentProps");function nS(e,t,r,n){let o=Qre(t.description);return o.includesJsDoc&&o.ignore?null:{propDef:n(e,t,o),jsDocTags:o.extractedTags,docgenInfo:t,typeSystem:r}}j(nS,"extractProp");function zB(e){return e!=null?nB(e):""}j(zB,"extractComponentDescription");var WB=j((...e)=>{let t={},r=e.filter(Boolean),n=r.reduce((o,i)=>(Object.entries(i).forEach(([a,l])=>{let u=o[a];Array.isArray(l)||typeof u>"u"?o[a]=l:Ic(l)&&Ic(u)?t[a]=!0:typeof l<"u"&&(o[a]=l)}),o),{});return Object.keys(t).forEach(o=>{let i=r.filter(Boolean).map(a=>a[o]).filter(a=>typeof a<"u");i.every(a=>Ic(a))?n[o]=WB(...i):n[o]=i[i.length-1]}),n},"combineParameters"),une=j(e=>{let{component:t,argTypes:r,parameters:{docs:n={}}}=e,{extractArgTypes:o}=n;if(!o||!t)return r;let i=o(t);return i?WB(i,r):r},"enhanceArgTypes"),cne="storybook/docs",Tde=`${cne}/snippet-rendered`,Ag=(e=>(e.AUTO="auto",e.CODE="code",e.DYNAMIC="dynamic",e))(Ag||{});/**
|
|
1072
|
-
* @vue/shared v3.5.17
|
|
1073
|
-
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
1074
|
-
* @license MIT
|
|
1075
|
-
**//*! #__NO_SIDE_EFFECTS__ */function qr(e){const t=Object.create(null);for(const r of e.split(","))t[r]=1;return r=>r in t}const ke={},ka=[],Gt=()=>{},Zs=()=>!1,Yi=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),oS=e=>e.startsWith("onUpdate:"),Me=Object.assign,iS=(e,t)=>{const r=e.indexOf(t);r>-1&&e.splice(r,1)},dne=Object.prototype.hasOwnProperty,He=(e,t)=>dne.call(e,t),ye=Array.isArray,Ma=e=>As(e)==="[object Map]",Xi=e=>As(e)==="[object Set]",bC=e=>As(e)==="[object Date]",pne=e=>As(e)==="[object RegExp]",xe=e=>typeof e=="function",Te=e=>typeof e=="string",Sr=e=>typeof e=="symbol",Qe=e=>e!==null&&typeof e=="object",aS=e=>(Qe(e)||xe(e))&&xe(e.then)&&xe(e.catch),GB=Object.prototype.toString,As=e=>GB.call(e),fne=e=>As(e).slice(8,-1),sh=e=>As(e)==="[object Object]",sS=e=>Te(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,$o=qr(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),hne=qr("bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo"),lh=e=>{const t=Object.create(null);return r=>t[r]||(t[r]=e(r))},mne=/-(\w)/g,lt=lh(e=>e.replace(mne,(t,r)=>r?r.toUpperCase():"")),yne=/\B([A-Z])/g,gr=lh(e=>e.replace(yne,"-$1").toLowerCase()),Qi=lh(e=>e.charAt(0).toUpperCase()+e.slice(1)),qa=lh(e=>e?`on${Qi(e)}`:""),cr=(e,t)=>!Object.is(e,t),ja=(e,...t)=>{for(let r=0;r<e.length;r++)e[r](...t)},Rg=(e,t,r,n=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:n,value:r})},Hd=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Vd=e=>{const t=Te(e)?Number(e):NaN;return isNaN(t)?e:t};let vC;const uh=()=>vC||(vC=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function gne(e,t){return e+JSON.stringify(t,(r,n)=>typeof n=="function"?n.toString():n)}const bne="Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt,console,Error,Symbol",vne=qr(bne);function Lu(e){if(ye(e)){const t={};for(let r=0;r<e.length;r++){const n=e[r],o=Te(n)?KB(n):Lu(n);if(o)for(const i in o)t[i]=o[i]}return t}else if(Te(e)||Qe(e))return e}const wne=/;(?![^(]*\))/g,Ene=/:([^]+)/,Sne=/\/\*[^]*?\*\//g;function KB(e){const t={};return e.replace(Sne,"").split(wne).forEach(r=>{if(r){const n=r.split(Ene);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}function Fu(e){let t="";if(Te(e))t=e;else if(ye(e))for(let r=0;r<e.length;r++){const n=Fu(e[r]);n&&(t+=n+" ")}else if(Qe(e))for(const r in e)e[r]&&(t+=r+" ");return t.trim()}function xne(e){if(!e)return null;let{class:t,style:r}=e;return t&&!Te(t)&&(e.class=Fu(t)),r&&(e.style=Lu(r)),e}const Tne="html,body,base,head,link,meta,style,title,address,article,aside,footer,header,hgroup,h1,h2,h3,h4,h5,h6,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,summary,template,blockquote,iframe,tfoot",Cne="svg,animate,animateMotion,animateTransform,circle,clipPath,color-profile,defs,desc,discard,ellipse,feBlend,feColorMatrix,feComponentTransfer,feComposite,feConvolveMatrix,feDiffuseLighting,feDisplacementMap,feDistantLight,feDropShadow,feFlood,feFuncA,feFuncB,feFuncG,feFuncR,feGaussianBlur,feImage,feMerge,feMergeNode,feMorphology,feOffset,fePointLight,feSpecularLighting,feSpotLight,feTile,feTurbulence,filter,foreignObject,g,hatch,hatchpath,image,line,linearGradient,marker,mask,mesh,meshgradient,meshpatch,meshrow,metadata,mpath,path,pattern,polygon,polyline,radialGradient,rect,set,solidcolor,stop,switch,symbol,text,textPath,title,tspan,unknown,use,view",_ne="annotation,annotation-xml,maction,maligngroup,malignmark,math,menclose,merror,mfenced,mfrac,mfraction,mglyph,mi,mlabeledtr,mlongdiv,mmultiscripts,mn,mo,mover,mpadded,mphantom,mprescripts,mroot,mrow,ms,mscarries,mscarry,msgroup,msline,mspace,msqrt,msrow,mstack,mstyle,msub,msubsup,msup,mtable,mtd,mtext,mtr,munder,munderover,none,semantics",Pne="area,base,br,col,embed,hr,img,input,link,meta,param,source,track,wbr",One=qr(Tne),Ane=qr(Cne),Rne=qr(_ne),Nne=qr(Pne),Ine="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",kne=qr(Ine);function YB(e){return!!e||e===""}function Mne(e,t){if(e.length!==t.length)return!1;let r=!0;for(let n=0;r&&n<e.length;n++)r=zo(e[n],t[n]);return r}function zo(e,t){if(e===t)return!0;let r=bC(e),n=bC(t);if(r||n)return r&&n?e.getTime()===t.getTime():!1;if(r=Sr(e),n=Sr(t),r||n)return e===t;if(r=ye(e),n=ye(t),r||n)return r&&n?Mne(e,t):!1;if(r=Qe(e),n=Qe(t),r||n){if(!r||!n)return!1;const o=Object.keys(e).length,i=Object.keys(t).length;if(o!==i)return!1;for(const a in e){const l=e.hasOwnProperty(a),u=t.hasOwnProperty(a);if(l&&!u||!l&&u||!zo(e[a],t[a]))return!1}}return String(e)===String(t)}function ch(e,t){return e.findIndex(r=>zo(r,t))}const XB=e=>!!(e&&e.__v_isRef===!0),QB=e=>Te(e)?e:e==null?"":ye(e)||Qe(e)&&(e.toString===GB||!xe(e.toString))?XB(e)?QB(e.value):JSON.stringify(e,ZB,2):String(e),ZB=(e,t)=>XB(t)?ZB(e,t.value):Ma(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((r,[n,o],i)=>(r[em(n,i)+" =>"]=o,r),{})}:Xi(t)?{[`Set(${t.size})`]:[...t.values()].map(r=>em(r))}:Sr(t)?em(t):Qe(t)&&!ye(t)&&!sh(t)?String(t):t,em=(e,t="")=>{var r;return Sr(e)?`Symbol(${(r=e.description)!=null?r:t})`:e};/**
|
|
1076
|
-
* @vue/reactivity v3.5.17
|
|
1077
|
-
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
1078
|
-
* @license MIT
|
|
1079
|
-
**/let rr;class lS{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=rr,!t&&rr&&(this.index=(rr.scopes||(rr.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,r;if(this.scopes)for(t=0,r=this.scopes.length;t<r;t++)this.scopes[t].pause();for(t=0,r=this.effects.length;t<r;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let t,r;if(this.scopes)for(t=0,r=this.scopes.length;t<r;t++)this.scopes[t].resume();for(t=0,r=this.effects.length;t<r;t++)this.effects[t].resume()}}run(t){if(this._active){const r=rr;try{return rr=this,t()}finally{rr=r}}}on(){++this._on===1&&(this.prevScope=rr,rr=this)}off(){this._on>0&&--this._on===0&&(rr=this.prevScope,this.prevScope=void 0)}stop(t){if(this._active){this._active=!1;let r,n;for(r=0,n=this.effects.length;r<n;r++)this.effects[r].stop();for(this.effects.length=0,r=0,n=this.cleanups.length;r<n;r++)this.cleanups[r]();if(this.cleanups.length=0,this.scopes){for(r=0,n=this.scopes.length;r<n;r++)this.scopes[r].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!t){const o=this.parent.scopes.pop();o&&o!==this&&(this.parent.scopes[this.index]=o,o.index=this.index)}this.parent=void 0}}}function qne(e){return new lS(e)}function e2(){return rr}function jne(e,t=!1){rr&&rr.cleanups.push(e)}let tt;const tm=new WeakSet;class Ql{constructor(t){this.fn=t,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,rr&&rr.active&&rr.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,tm.has(this)&&(tm.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||r2(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,wC(this),n2(this);const t=tt,r=sn;tt=this,sn=!0;try{return this.fn()}finally{o2(this),tt=t,sn=r,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)dS(t);this.deps=this.depsTail=void 0,wC(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?tm.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){Ng(this)&&this.run()}get dirty(){return Ng(this)}}let t2=0,bl,vl;function r2(e,t=!1){if(e.flags|=8,t){e.next=vl,vl=e;return}e.next=bl,bl=e}function uS(){t2++}function cS(){if(--t2>0)return;if(vl){let t=vl;for(vl=void 0;t;){const r=t.next;t.next=void 0,t.flags&=-9,t=r}}let e;for(;bl;){let t=bl;for(bl=void 0;t;){const r=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(n){e||(e=n)}t=r}}if(e)throw e}function n2(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function o2(e){let t,r=e.depsTail,n=r;for(;n;){const o=n.prevDep;n.version===-1?(n===r&&(r=o),dS(n),$ne(n)):t=n,n.dep.activeLink=n.prevActiveLink,n.prevActiveLink=void 0,n=o}e.deps=t,e.depsTail=r}function Ng(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(i2(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function i2(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Zl)||(e.globalVersion=Zl,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!Ng(e))))return;e.flags|=2;const t=e.dep,r=tt,n=sn;tt=e,sn=!0;try{n2(e);const o=e.fn(e._value);(t.version===0||cr(o,e._value))&&(e.flags|=128,e._value=o,t.version++)}catch(o){throw t.version++,o}finally{tt=r,sn=n,o2(e),e.flags&=-3}}function dS(e,t=!1){const{dep:r,prevSub:n,nextSub:o}=e;if(n&&(n.nextSub=o,e.prevSub=void 0),o&&(o.prevSub=n,e.nextSub=void 0),r.subs===e&&(r.subs=n,!n&&r.computed)){r.computed.flags&=-5;for(let i=r.computed.deps;i;i=i.nextDep)dS(i,!0)}!t&&!--r.sc&&r.map&&r.map.delete(r.key)}function $ne(e){const{prevDep:t,nextDep:r}=e;t&&(t.nextDep=r,e.prevDep=void 0),r&&(r.prevDep=t,e.nextDep=void 0)}function Lne(e,t){e.effect instanceof Ql&&(e=e.effect.fn);const r=new Ql(e);t&&Me(r,t);try{r.run()}catch(o){throw r.stop(),o}const n=r.run.bind(r);return n.effect=r,n}function Fne(e){e.effect.stop()}let sn=!0;const a2=[];function no(){a2.push(sn),sn=!1}function oo(){const e=a2.pop();sn=e===void 0?!0:e}function wC(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const r=tt;tt=void 0;try{t()}finally{tt=r}}}let Zl=0;class Dne{constructor(t,r){this.sub=t,this.dep=r,this.version=r.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class dh{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(t){if(!tt||!sn||tt===this.computed)return;let r=this.activeLink;if(r===void 0||r.sub!==tt)r=this.activeLink=new Dne(tt,this),tt.deps?(r.prevDep=tt.depsTail,tt.depsTail.nextDep=r,tt.depsTail=r):tt.deps=tt.depsTail=r,s2(r);else if(r.version===-1&&(r.version=this.version,r.nextDep)){const n=r.nextDep;n.prevDep=r.prevDep,r.prevDep&&(r.prevDep.nextDep=n),r.prevDep=tt.depsTail,r.nextDep=void 0,tt.depsTail.nextDep=r,tt.depsTail=r,tt.deps===r&&(tt.deps=n)}return r}trigger(t){this.version++,Zl++,this.notify(t)}notify(t){uS();try{for(let r=this.subs;r;r=r.prevSub)r.sub.notify()&&r.sub.dep.notify()}finally{cS()}}}function s2(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let n=t.deps;n;n=n.nextDep)s2(n)}const r=e.dep.subs;r!==e&&(e.prevSub=r,r&&(r.nextSub=e)),e.dep.subs=e}}const Jd=new WeakMap,xi=Symbol(""),Ig=Symbol(""),eu=Symbol("");function or(e,t,r){if(sn&&tt){let n=Jd.get(e);n||Jd.set(e,n=new Map);let o=n.get(r);o||(n.set(r,o=new dh),o.map=n,o.key=r),o.track()}}function zn(e,t,r,n,o,i){const a=Jd.get(e);if(!a){Zl++;return}const l=u=>{u&&u.trigger()};if(uS(),t==="clear")a.forEach(l);else{const u=ye(e),c=u&&sS(r);if(u&&r==="length"){const d=Number(n);a.forEach((p,h)=>{(h==="length"||h===eu||!Sr(h)&&h>=d)&&l(p)})}else switch((r!==void 0||a.has(void 0))&&l(a.get(r)),c&&l(a.get(eu)),t){case"add":u?c&&l(a.get("length")):(l(a.get(xi)),Ma(e)&&l(a.get(Ig)));break;case"delete":u||(l(a.get(xi)),Ma(e)&&l(a.get(Ig)));break;case"set":Ma(e)&&l(a.get(xi));break}}cS()}function Bne(e,t){const r=Jd.get(e);return r&&r.get(t)}function ia(e){const t=Le(e);return t===e?t:(or(t,"iterate",eu),Nr(e)?t:t.map(Jt))}function ph(e){return or(e=Le(e),"iterate",eu),e}const Une={__proto__:null,[Symbol.iterator](){return rm(this,Symbol.iterator,Jt)},concat(...e){return ia(this).concat(...e.map(t=>ye(t)?ia(t):t))},entries(){return rm(this,"entries",e=>(e[1]=Jt(e[1]),e))},every(e,t){return jn(this,"every",e,t,void 0,arguments)},filter(e,t){return jn(this,"filter",e,t,r=>r.map(Jt),arguments)},find(e,t){return jn(this,"find",e,t,Jt,arguments)},findIndex(e,t){return jn(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return jn(this,"findLast",e,t,Jt,arguments)},findLastIndex(e,t){return jn(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return jn(this,"forEach",e,t,void 0,arguments)},includes(...e){return nm(this,"includes",e)},indexOf(...e){return nm(this,"indexOf",e)},join(e){return ia(this).join(e)},lastIndexOf(...e){return nm(this,"lastIndexOf",e)},map(e,t){return jn(this,"map",e,t,void 0,arguments)},pop(){return Ds(this,"pop")},push(...e){return Ds(this,"push",e)},reduce(e,...t){return EC(this,"reduce",e,t)},reduceRight(e,...t){return EC(this,"reduceRight",e,t)},shift(){return Ds(this,"shift")},some(e,t){return jn(this,"some",e,t,void 0,arguments)},splice(...e){return Ds(this,"splice",e)},toReversed(){return ia(this).toReversed()},toSorted(e){return ia(this).toSorted(e)},toSpliced(...e){return ia(this).toSpliced(...e)},unshift(...e){return Ds(this,"unshift",e)},values(){return rm(this,"values",Jt)}};function rm(e,t,r){const n=ph(e),o=n[t]();return n!==e&&!Nr(e)&&(o._next=o.next,o.next=()=>{const i=o._next();return i.value&&(i.value=r(i.value)),i}),o}const Hne=Array.prototype;function jn(e,t,r,n,o,i){const a=ph(e),l=a!==e&&!Nr(e),u=a[t];if(u!==Hne[t]){const p=u.apply(e,i);return l?Jt(p):p}let c=r;a!==e&&(l?c=function(p,h){return r.call(this,Jt(p),h,e)}:r.length>2&&(c=function(p,h){return r.call(this,p,h,e)}));const d=u.call(a,c,n);return l&&o?o(d):d}function EC(e,t,r,n){const o=ph(e);let i=r;return o!==e&&(Nr(e)?r.length>3&&(i=function(a,l,u){return r.call(this,a,l,u,e)}):i=function(a,l,u){return r.call(this,a,Jt(l),u,e)}),o[t](i,...n)}function nm(e,t,r){const n=Le(e);or(n,"iterate",eu);const o=n[t](...r);return(o===-1||o===!1)&&mh(r[0])?(r[0]=Le(r[0]),n[t](...r)):o}function Ds(e,t,r=[]){no(),uS();const n=Le(e)[t].apply(e,r);return cS(),oo(),n}const Vne=qr("__proto__,__v_isRef,__isVue"),l2=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Sr));function Jne(e){Sr(e)||(e=String(e));const t=Le(this);return or(t,"has",e),t.hasOwnProperty(e)}class u2{constructor(t=!1,r=!1){this._isReadonly=t,this._isShallow=r}get(t,r,n){if(r==="__v_skip")return t.__v_skip;const o=this._isReadonly,i=this._isShallow;if(r==="__v_isReactive")return!o;if(r==="__v_isReadonly")return o;if(r==="__v_isShallow")return i;if(r==="__v_raw")return n===(o?i?m2:h2:i?f2:p2).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(n)?t:void 0;const a=ye(t);if(!o){let u;if(a&&(u=Une[r]))return u;if(r==="hasOwnProperty")return Jne}const l=Reflect.get(t,r,Ft(t)?t:n);return(Sr(r)?l2.has(r):Vne(r))||(o||or(t,"get",r),i)?l:Ft(l)?a&&sS(r)?l:l.value:Qe(l)?o?pS(l):Fi(l):l}}class c2 extends u2{constructor(t=!1){super(!1,t)}set(t,r,n,o){let i=t[r];if(!this._isShallow){const u=io(i);if(!Nr(n)&&!io(n)&&(i=Le(i),n=Le(n)),!ye(t)&&Ft(i)&&!Ft(n))return u?!1:(i.value=n,!0)}const a=ye(t)&&sS(r)?Number(r)<t.length:He(t,r),l=Reflect.set(t,r,n,Ft(t)?t:o);return t===Le(o)&&(a?cr(n,i)&&zn(t,"set",r,n):zn(t,"add",r,n)),l}deleteProperty(t,r){const n=He(t,r);t[r];const o=Reflect.deleteProperty(t,r);return o&&n&&zn(t,"delete",r,void 0),o}has(t,r){const n=Reflect.has(t,r);return(!Sr(r)||!l2.has(r))&&or(t,"has",r),n}ownKeys(t){return or(t,"iterate",ye(t)?"length":xi),Reflect.ownKeys(t)}}class d2 extends u2{constructor(t=!1){super(!0,t)}set(t,r){return!0}deleteProperty(t,r){return!0}}const zne=new c2,Wne=new d2,Gne=new c2(!0),Kne=new d2(!0),kg=e=>e,rc=e=>Reflect.getPrototypeOf(e);function Yne(e,t,r){return function(...n){const o=this.__v_raw,i=Le(o),a=Ma(i),l=e==="entries"||e===Symbol.iterator&&a,u=e==="keys"&&a,c=o[e](...n),d=r?kg:t?zd:Jt;return!t&&or(i,"iterate",u?Ig:xi),{next(){const{value:p,done:h}=c.next();return h?{value:p,done:h}:{value:l?[d(p[0]),d(p[1])]:d(p),done:h}},[Symbol.iterator](){return this}}}}function nc(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function Xne(e,t){const r={get(o){const i=this.__v_raw,a=Le(i),l=Le(o);e||(cr(o,l)&&or(a,"get",o),or(a,"get",l));const{has:u}=rc(a),c=t?kg:e?zd:Jt;if(u.call(a,o))return c(i.get(o));if(u.call(a,l))return c(i.get(l));i!==a&&i.get(o)},get size(){const o=this.__v_raw;return!e&&or(Le(o),"iterate",xi),Reflect.get(o,"size",o)},has(o){const i=this.__v_raw,a=Le(i),l=Le(o);return e||(cr(o,l)&&or(a,"has",o),or(a,"has",l)),o===l?i.has(o):i.has(o)||i.has(l)},forEach(o,i){const a=this,l=a.__v_raw,u=Le(l),c=t?kg:e?zd:Jt;return!e&&or(u,"iterate",xi),l.forEach((d,p)=>o.call(i,c(d),c(p),a))}};return Me(r,e?{add:nc("add"),set:nc("set"),delete:nc("delete"),clear:nc("clear")}:{add(o){!t&&!Nr(o)&&!io(o)&&(o=Le(o));const i=Le(this);return rc(i).has.call(i,o)||(i.add(o),zn(i,"add",o,o)),this},set(o,i){!t&&!Nr(i)&&!io(i)&&(i=Le(i));const a=Le(this),{has:l,get:u}=rc(a);let c=l.call(a,o);c||(o=Le(o),c=l.call(a,o));const d=u.call(a,o);return a.set(o,i),c?cr(i,d)&&zn(a,"set",o,i):zn(a,"add",o,i),this},delete(o){const i=Le(this),{has:a,get:l}=rc(i);let u=a.call(i,o);u||(o=Le(o),u=a.call(i,o)),l&&l.call(i,o);const c=i.delete(o);return u&&zn(i,"delete",o,void 0),c},clear(){const o=Le(this),i=o.size!==0,a=o.clear();return i&&zn(o,"clear",void 0,void 0),a}}),["keys","values","entries",Symbol.iterator].forEach(o=>{r[o]=Yne(o,e,t)}),r}function fh(e,t){const r=Xne(e,t);return(n,o,i)=>o==="__v_isReactive"?!e:o==="__v_isReadonly"?e:o==="__v_raw"?n:Reflect.get(He(r,o)&&o in n?r:n,o,i)}const Qne={get:fh(!1,!1)},Zne={get:fh(!1,!0)},eoe={get:fh(!0,!1)},toe={get:fh(!0,!0)},p2=new WeakMap,f2=new WeakMap,h2=new WeakMap,m2=new WeakMap;function roe(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function noe(e){return e.__v_skip||!Object.isExtensible(e)?0:roe(fne(e))}function Fi(e){return io(e)?e:hh(e,!1,zne,Qne,p2)}function y2(e){return hh(e,!1,Gne,Zne,f2)}function pS(e){return hh(e,!0,Wne,eoe,h2)}function ooe(e){return hh(e,!0,Kne,toe,m2)}function hh(e,t,r,n,o){if(!Qe(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=noe(e);if(i===0)return e;const a=o.get(e);if(a)return a;const l=new Proxy(e,i===2?n:r);return o.set(e,l),l}function eo(e){return io(e)?eo(e.__v_raw):!!(e&&e.__v_isReactive)}function io(e){return!!(e&&e.__v_isReadonly)}function Nr(e){return!!(e&&e.__v_isShallow)}function mh(e){return e?!!e.__v_raw:!1}function Le(e){const t=e&&e.__v_raw;return t?Le(t):e}function g2(e){return!He(e,"__v_skip")&&Object.isExtensible(e)&&Rg(e,"__v_skip",!0),e}const Jt=e=>Qe(e)?Fi(e):e,zd=e=>Qe(e)?pS(e):e;function Ft(e){return e?e.__v_isRef===!0:!1}function wl(e){return v2(e,!1)}function b2(e){return v2(e,!0)}function v2(e,t){return Ft(e)?e:new ioe(e,t)}class ioe{constructor(t,r){this.dep=new dh,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=r?t:Le(t),this._value=r?t:Jt(t),this.__v_isShallow=r}get value(){return this.dep.track(),this._value}set value(t){const r=this._rawValue,n=this.__v_isShallow||Nr(t)||io(t);t=n?t:Le(t),cr(t,r)&&(this._rawValue=t,this._value=n?t:Jt(t),this.dep.trigger())}}function aoe(e){e.dep&&e.dep.trigger()}function yh(e){return Ft(e)?e.value:e}function soe(e){return xe(e)?e():yh(e)}const loe={get:(e,t,r)=>t==="__v_raw"?e:yh(Reflect.get(e,t,r)),set:(e,t,r,n)=>{const o=e[t];return Ft(o)&&!Ft(r)?(o.value=r,!0):Reflect.set(e,t,r,n)}};function fS(e){return eo(e)?e:new Proxy(e,loe)}class uoe{constructor(t){this.__v_isRef=!0,this._value=void 0;const r=this.dep=new dh,{get:n,set:o}=t(r.track.bind(r),r.trigger.bind(r));this._get=n,this._set=o}get value(){return this._value=this._get()}set value(t){this._set(t)}}function w2(e){return new uoe(e)}function coe(e){const t=ye(e)?new Array(e.length):{};for(const r in e)t[r]=E2(e,r);return t}class doe{constructor(t,r,n){this._object=t,this._key=r,this._defaultValue=n,this.__v_isRef=!0,this._value=void 0}get value(){const t=this._object[this._key];return this._value=t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return Bne(Le(this._object),this._key)}}class poe{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function foe(e,t,r){return Ft(e)?e:xe(e)?new poe(e):Qe(e)&&arguments.length>1?E2(e,t,r):wl(e)}function E2(e,t,r){const n=e[t];return Ft(n)?n:new doe(e,t,r)}class hoe{constructor(t,r,n){this.fn=t,this.setter=r,this._value=void 0,this.dep=new dh(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Zl-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!r,this.isSSR=n}notify(){if(this.flags|=16,!(this.flags&8)&&tt!==this)return r2(this,!0),!0}get value(){const t=this.dep.track();return i2(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function moe(e,t,r=!1){let n,o;return xe(e)?n=e:(n=e.get,o=e.set),new hoe(n,o,r)}const yoe={GET:"get",HAS:"has",ITERATE:"iterate"},goe={SET:"set",ADD:"add",DELETE:"delete",CLEAR:"clear"},oc={},Wd=new WeakMap;let Po;function boe(){return Po}function S2(e,t=!1,r=Po){if(r){let n=Wd.get(r);n||Wd.set(r,n=[]),n.push(e)}}function voe(e,t,r=ke){const{immediate:n,deep:o,once:i,scheduler:a,augmentJob:l,call:u}=r,c=T=>o?T:Nr(T)||o===!1||o===0?Wn(T,1):Wn(T);let d,p,h,f,m=!1,y=!1;if(Ft(e)?(p=()=>e.value,m=Nr(e)):eo(e)?(p=()=>c(e),m=!0):ye(e)?(y=!0,m=e.some(T=>eo(T)||Nr(T)),p=()=>e.map(T=>{if(Ft(T))return T.value;if(eo(T))return c(T);if(xe(T))return u?u(T,2):T()})):xe(e)?t?p=u?()=>u(e,2):e:p=()=>{if(h){no();try{h()}finally{oo()}}const T=Po;Po=d;try{return u?u(e,3,[f]):e(f)}finally{Po=T}}:p=Gt,t&&o){const T=p,P=o===!0?1/0:o;p=()=>Wn(T(),P)}const g=e2(),b=()=>{d.stop(),g&&g.active&&iS(g.effects,d)};if(i&&t){const T=t;t=(...P)=>{T(...P),b()}}let v=y?new Array(e.length).fill(oc):oc;const S=T=>{if(!(!(d.flags&1)||!d.dirty&&!T))if(t){const P=d.run();if(o||m||(y?P.some((C,w)=>cr(C,v[w])):cr(P,v))){h&&h();const C=Po;Po=d;try{const w=[P,v===oc?void 0:y&&v[0]===oc?[]:v,f];v=P,u?u(t,3,w):t(...w)}finally{Po=C}}}else d.run()};return l&&l(S),d=new Ql(p),d.scheduler=a?()=>a(S,!1):S,f=T=>S2(T,!1,d),h=d.onStop=()=>{const T=Wd.get(d);if(T){if(u)u(T,4);else for(const P of T)P();Wd.delete(d)}},t?n?S(!0):v=d.run():a?a(S.bind(null,!0),!0):d.run(),b.pause=d.pause.bind(d),b.resume=d.resume.bind(d),b.stop=b,b}function Wn(e,t=1/0,r){if(t<=0||!Qe(e)||e.__v_skip||(r=r||new Set,r.has(e)))return e;if(r.add(e),t--,Ft(e))Wn(e.value,t,r);else if(ye(e))for(let n=0;n<e.length;n++)Wn(e[n],t,r);else if(Xi(e)||Ma(e))e.forEach(n=>{Wn(n,t,r)});else if(sh(e)){for(const n in e)Wn(e[n],t,r);for(const n of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,n)&&Wn(e[n],t,r)}return e}/**
|
|
1080
|
-
* @vue/runtime-core v3.5.17
|
|
1081
|
-
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
1082
|
-
* @license MIT
|
|
1083
|
-
**/const x2=[];function woe(e){x2.push(e)}function Eoe(){x2.pop()}function Soe(e,t){}const xoe={SETUP_FUNCTION:0,0:"SETUP_FUNCTION",RENDER_FUNCTION:1,1:"RENDER_FUNCTION",NATIVE_EVENT_HANDLER:5,5:"NATIVE_EVENT_HANDLER",COMPONENT_EVENT_HANDLER:6,6:"COMPONENT_EVENT_HANDLER",VNODE_HOOK:7,7:"VNODE_HOOK",DIRECTIVE_HOOK:8,8:"DIRECTIVE_HOOK",TRANSITION_HOOK:9,9:"TRANSITION_HOOK",APP_ERROR_HANDLER:10,10:"APP_ERROR_HANDLER",APP_WARN_HANDLER:11,11:"APP_WARN_HANDLER",FUNCTION_REF:12,12:"FUNCTION_REF",ASYNC_COMPONENT_LOADER:13,13:"ASYNC_COMPONENT_LOADER",SCHEDULER:14,14:"SCHEDULER",COMPONENT_UPDATE:15,15:"COMPONENT_UPDATE",APP_UNMOUNT_CLEANUP:16,16:"APP_UNMOUNT_CLEANUP"},Toe={sp:"serverPrefetch hook",bc:"beforeCreate hook",c:"created hook",bm:"beforeMount hook",m:"mounted hook",bu:"beforeUpdate hook",u:"updated",bum:"beforeUnmount hook",um:"unmounted hook",a:"activated hook",da:"deactivated hook",ec:"errorCaptured hook",rtc:"renderTracked hook",rtg:"renderTriggered hook",0:"setup function",1:"render function",2:"watcher getter",3:"watcher callback",4:"watcher cleanup function",5:"native event handler",6:"component event handler",7:"vnode hook",8:"directive hook",9:"transition hook",10:"app errorHandler",11:"app warnHandler",12:"ref function",13:"async component loader",14:"scheduler flush",15:"component update",16:"app unmount cleanup function"};function Rs(e,t,r,n){try{return n?e(...n):e()}catch(o){Zi(o,t,r)}}function Gr(e,t,r,n){if(xe(e)){const o=Rs(e,t,r,n);return o&&aS(o)&&o.catch(i=>{Zi(i,t,r)}),o}if(ye(e)){const o=[];for(let i=0;i<e.length;i++)o.push(Gr(e[i],t,r,n));return o}}function Zi(e,t,r,n=!0){const o=t?t.vnode:null,{errorHandler:i,throwUnhandledErrorInProduction:a}=t&&t.appContext.config||ke;if(t){let l=t.parent;const u=t.proxy,c=`https://vuejs.org/error-reference/#runtime-${r}`;for(;l;){const d=l.ec;if(d){for(let p=0;p<d.length;p++)if(d[p](e,u,c)===!1)return}l=l.parent}if(i){no(),Rs(i,null,10,[e,u,c]),oo();return}}Coe(e,r,o,n,a)}function Coe(e,t,r,n=!0,o=!1){if(o)throw e;console.error(e)}const dr=[];let bn=-1;const $a=[];let Oo=null,ma=0;const T2=Promise.resolve();let Gd=null;function gh(e){const t=Gd||T2;return e?t.then(this?e.bind(this):e):t}function _oe(e){let t=bn+1,r=dr.length;for(;t<r;){const n=t+r>>>1,o=dr[n],i=ru(o);i<e||i===e&&o.flags&2?t=n+1:r=n}return t}function hS(e){if(!(e.flags&1)){const t=ru(e),r=dr[dr.length-1];!r||!(e.flags&2)&&t>=ru(r)?dr.push(e):dr.splice(_oe(t),0,e),e.flags|=1,C2()}}function C2(){Gd||(Gd=T2.then(_2))}function tu(e){ye(e)?$a.push(...e):Oo&&e.id===-1?Oo.splice(ma+1,0,e):e.flags&1||($a.push(e),e.flags|=1),C2()}function SC(e,t,r=bn+1){for(;r<dr.length;r++){const n=dr[r];if(n&&n.flags&2){if(e&&n.id!==e.uid)continue;dr.splice(r,1),r--,n.flags&4&&(n.flags&=-2),n(),n.flags&4||(n.flags&=-2)}}}function Kd(e){if($a.length){const t=[...new Set($a)].sort((r,n)=>ru(r)-ru(n));if($a.length=0,Oo){Oo.push(...t);return}for(Oo=t,ma=0;ma<Oo.length;ma++){const r=Oo[ma];r.flags&4&&(r.flags&=-2),r.flags&8||r(),r.flags&=-2}Oo=null,ma=0}}const ru=e=>e.id==null?e.flags&2?-1:1/0:e.id;function _2(e){try{for(bn=0;bn<dr.length;bn++){const t=dr[bn];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),Rs(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;bn<dr.length;bn++){const t=dr[bn];t&&(t.flags&=-2)}bn=-1,dr.length=0,Kd(),Gd=null,(dr.length||$a.length)&&_2()}}let ya,ic=[];function P2(e,t){var r,n;ya=e,ya?(ya.enabled=!0,ic.forEach(({event:o,args:i})=>ya.emit(o,...i)),ic=[]):typeof window<"u"&&window.HTMLElement&&!((n=(r=window.navigator)==null?void 0:r.userAgent)!=null&&n.includes("jsdom"))?((t.__VUE_DEVTOOLS_HOOK_REPLAY__=t.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(i=>{P2(i,t)}),setTimeout(()=>{ya||(t.__VUE_DEVTOOLS_HOOK_REPLAY__=null,ic=[])},3e3)):ic=[]}let $t=null,bh=null;function nu(e){const t=$t;return $t=e,bh=e&&e.type.__scopeId||null,t}function Poe(e){bh=e}function Ooe(){bh=null}const Aoe=e=>mS;function mS(e,t=$t,r){if(!t||e._n)return e;const n=(...o)=>{n._d&&Bg(-1);const i=nu(t);let a;try{a=e(...o)}finally{nu(i),n._d&&Bg(1)}return a};return n._n=!0,n._c=!0,n._d=!0,n}function Roe(e,t){if($t===null)return e;const r=Hu($t),n=e.dirs||(e.dirs=[]);for(let o=0;o<t.length;o++){let[i,a,l,u=ke]=t[o];i&&(xe(i)&&(i={mounted:i,updated:i}),i.deep&&Wn(a),n.push({dir:i,instance:r,value:a,oldValue:void 0,arg:l,modifiers:u}))}return e}function vn(e,t,r,n){const o=e.dirs,i=t&&t.dirs;for(let a=0;a<o.length;a++){const l=o[a];i&&(l.oldValue=i[a].value);let u=l.dir[n];u&&(no(),Gr(u,r,8,[e.el,l,e,t]),oo())}}const O2=Symbol("_vte"),A2=e=>e.__isTeleport,El=e=>e&&(e.disabled||e.disabled===""),xC=e=>e&&(e.defer||e.defer===""),TC=e=>typeof SVGElement<"u"&&e instanceof SVGElement,CC=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,Mg=(e,t)=>{const r=e&&e.to;return Te(r)?t?t(r):null:r},R2={name:"Teleport",__isTeleport:!0,process(e,t,r,n,o,i,a,l,u,c){const{mc:d,pc:p,pbc:h,o:{insert:f,querySelector:m,createText:y,createComment:g}}=c,b=El(t.props);let{shapeFlag:v,children:S,dynamicChildren:T}=t;if(e==null){const P=t.el=y(""),C=t.anchor=y("");f(P,r,n),f(C,r,n);const w=(_,R)=>{v&16&&(o&&o.isCE&&(o.ce._teleportTarget=_),d(S,_,R,o,i,a,l,u))},E=()=>{const _=t.target=Mg(t.props,m),R=N2(_,t,y,f);_&&(a!=="svg"&&TC(_)?a="svg":a!=="mathml"&&CC(_)&&(a="mathml"),b||(w(_,R),kc(t,!1)))};b&&(w(r,C),kc(t,!0)),xC(t.props)?(t.el.__isMounted=!1,It(()=>{E(),delete t.el.__isMounted},i)):E()}else{if(xC(t.props)&&e.el.__isMounted===!1){It(()=>{R2.process(e,t,r,n,o,i,a,l,u,c)},i);return}t.el=e.el,t.targetStart=e.targetStart;const P=t.anchor=e.anchor,C=t.target=e.target,w=t.targetAnchor=e.targetAnchor,E=El(e.props),_=E?r:C,R=E?P:w;if(a==="svg"||TC(C)?a="svg":(a==="mathml"||CC(C))&&(a="mathml"),T?(h(e.dynamicChildren,T,_,o,i,a,l),PS(e,t,!0)):u||p(e,t,_,R,o,i,a,l,!1),b)E?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):ac(t,r,P,c,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const N=t.target=Mg(t.props,m);N&&ac(t,N,null,c,0)}else E&&ac(t,C,w,c,1);kc(t,b)}},remove(e,t,r,{um:n,o:{remove:o}},i){const{shapeFlag:a,children:l,anchor:u,targetStart:c,targetAnchor:d,target:p,props:h}=e;if(p&&(o(c),o(d)),i&&o(u),a&16){const f=i||!El(h);for(let m=0;m<l.length;m++){const y=l[m];n(y,t,r,f,!!y.dynamicChildren)}}},move:ac,hydrate:Noe};function ac(e,t,r,{o:{insert:n},m:o},i=2){i===0&&n(e.targetAnchor,t,r);const{el:a,anchor:l,shapeFlag:u,children:c,props:d}=e,p=i===2;if(p&&n(a,t,r),(!p||El(d))&&u&16)for(let h=0;h<c.length;h++)o(c[h],t,r,2);p&&n(l,t,r)}function Noe(e,t,r,n,o,i,{o:{nextSibling:a,parentNode:l,querySelector:u,insert:c,createText:d}},p){const h=t.target=Mg(t.props,u);if(h){const f=El(t.props),m=h._lpa||h.firstChild;if(t.shapeFlag&16)if(f)t.anchor=p(a(e),t,l(e),r,n,o,i),t.targetStart=m,t.targetAnchor=m&&a(m);else{t.anchor=a(e);let y=m;for(;y;){if(y&&y.nodeType===8){if(y.data==="teleport start anchor")t.targetStart=y;else if(y.data==="teleport anchor"){t.targetAnchor=y,h._lpa=t.targetAnchor&&a(t.targetAnchor);break}}y=a(y)}t.targetAnchor||N2(h,t,d,c),p(m&&a(m),t,h,r,n,o,i)}kc(t,f)}return t.anchor&&a(t.anchor)}const Ioe=R2;function kc(e,t){const r=e.ctx;if(r&&r.ut){let n,o;for(t?(n=e.el,o=e.anchor):(n=e.targetStart,o=e.targetAnchor);n&&n!==o;)n.nodeType===1&&n.setAttribute("data-v-owner",r.uid),n=n.nextSibling;r.ut()}}function N2(e,t,r,n){const o=t.targetStart=r(""),i=t.targetAnchor=r("");return o[O2]=i,e&&(n(o,e),n(i,e)),i}const Ao=Symbol("_leaveCb"),sc=Symbol("_enterCb");function yS(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Bu(()=>{e.isMounted=!0}),Sh(()=>{e.isUnmounting=!0}),e}const Lr=[Function,Array],gS={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Lr,onEnter:Lr,onAfterEnter:Lr,onEnterCancelled:Lr,onBeforeLeave:Lr,onLeave:Lr,onAfterLeave:Lr,onLeaveCancelled:Lr,onBeforeAppear:Lr,onAppear:Lr,onAfterAppear:Lr,onAppearCancelled:Lr},I2=e=>{const t=e.subTree;return t.component?I2(t.component):t},koe={name:"BaseTransition",props:gS,setup(e,{slots:t}){const r=Kr(),n=yS();return()=>{const o=t.default&&vh(t.default(),!0);if(!o||!o.length)return;const i=k2(o),a=Le(e),{mode:l}=a;if(n.isLeaving)return om(i);const u=_C(i);if(!u)return om(i);let c=ss(u,a,n,r,p=>c=p);u.type!==Ct&&ao(u,c);let d=r.subTree&&_C(r.subTree);if(d&&d.type!==Ct&&!rn(u,d)&&I2(r).type!==Ct){let p=ss(d,a,n,r);if(ao(d,p),l==="out-in"&&u.type!==Ct)return n.isLeaving=!0,p.afterLeave=()=>{n.isLeaving=!1,r.job.flags&8||r.update(),delete p.afterLeave,d=void 0},om(i);l==="in-out"&&u.type!==Ct?p.delayLeave=(h,f,m)=>{const y=q2(n,d);y[String(d.key)]=d,h[Ao]=()=>{f(),h[Ao]=void 0,delete c.delayedLeave,d=void 0},c.delayedLeave=()=>{m(),delete c.delayedLeave,d=void 0}}:d=void 0}else d&&(d=void 0);return i}}};function k2(e){let t=e[0];if(e.length>1){for(const r of e)if(r.type!==Ct){t=r;break}}return t}const M2=koe;function q2(e,t){const{leavingVNodes:r}=e;let n=r.get(t.type);return n||(n=Object.create(null),r.set(t.type,n)),n}function ss(e,t,r,n,o){const{appear:i,mode:a,persisted:l=!1,onBeforeEnter:u,onEnter:c,onAfterEnter:d,onEnterCancelled:p,onBeforeLeave:h,onLeave:f,onAfterLeave:m,onLeaveCancelled:y,onBeforeAppear:g,onAppear:b,onAfterAppear:v,onAppearCancelled:S}=t,T=String(e.key),P=q2(r,e),C=(_,R)=>{_&&Gr(_,n,9,R)},w=(_,R)=>{const N=R[1];C(_,R),ye(_)?_.every(q=>q.length<=1)&&N():_.length<=1&&N()},E={mode:a,persisted:l,beforeEnter(_){let R=u;if(!r.isMounted)if(i)R=g||u;else return;_[Ao]&&_[Ao](!0);const N=P[T];N&&rn(e,N)&&N.el[Ao]&&N.el[Ao](),C(R,[_])},enter(_){let R=c,N=d,q=p;if(!r.isMounted)if(i)R=b||c,N=v||d,q=S||p;else return;let L=!1;const O=_[sc]=k=>{L||(L=!0,k?C(q,[_]):C(N,[_]),E.delayedLeave&&E.delayedLeave(),_[sc]=void 0)};R?w(R,[_,O]):O()},leave(_,R){const N=String(e.key);if(_[sc]&&_[sc](!0),r.isUnmounting)return R();C(h,[_]);let q=!1;const L=_[Ao]=O=>{q||(q=!0,R(),O?C(y,[_]):C(m,[_]),_[Ao]=void 0,P[N]===e&&delete P[N])};P[N]=e,f?w(f,[_,L]):L()},clone(_){const R=ss(_,t,r,n,o);return o&&o(R),R}};return E}function om(e){if(Du(e))return e=Pn(e),e.children=null,e}function _C(e){if(!Du(e))return A2(e.type)&&e.children?k2(e.children):e;if(e.component)return e.component.subTree;const{shapeFlag:t,children:r}=e;if(r){if(t&16)return r[0];if(t&32&&xe(r.default))return r.default()}}function ao(e,t){e.shapeFlag&6&&e.component?(e.transition=t,ao(e.component.subTree,t)):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function vh(e,t=!1,r){let n=[],o=0;for(let i=0;i<e.length;i++){let a=e[i];const l=r==null?a.key:String(r)+String(a.key!=null?a.key:i);a.type===Ut?(a.patchFlag&128&&o++,n=n.concat(vh(a.children,t,l))):(t||a.type!==Ct)&&n.push(l!=null?Pn(a,{key:l}):a)}if(o>1)for(let i=0;i<n.length;i++)n[i].patchFlag=-2;return n}/*! #__NO_SIDE_EFFECTS__ */function bS(e,t){return xe(e)?Me({name:e.name},t,{setup:e}):e}function Moe(){const e=Kr();return e?(e.appContext.config.idPrefix||"v")+"-"+e.ids[0]+e.ids[1]++:""}function vS(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function qoe(e){const t=Kr(),r=b2(null);if(t){const o=t.refs===ke?t.refs={}:t.refs;Object.defineProperty(o,e,{enumerable:!0,get:()=>r.value,set:i=>r.value=i})}return r}function La(e,t,r,n,o=!1){if(ye(e)){e.forEach((m,y)=>La(m,t&&(ye(t)?t[y]:t),r,n,o));return}if(Lo(n)&&!o){n.shapeFlag&512&&n.type.__asyncResolved&&n.component.subTree.component&&La(e,t,r,n.component.subTree);return}const i=n.shapeFlag&4?Hu(n.component):n.el,a=o?null:i,{i:l,r:u}=e,c=t&&t.r,d=l.refs===ke?l.refs={}:l.refs,p=l.setupState,h=Le(p),f=p===ke?()=>!1:m=>He(h,m);if(c!=null&&c!==u&&(Te(c)?(d[c]=null,f(c)&&(p[c]=null)):Ft(c)&&(c.value=null)),xe(u))Rs(u,l,12,[a,d]);else{const m=Te(u),y=Ft(u);if(m||y){const g=()=>{if(e.f){const b=m?f(u)?p[u]:d[u]:u.value;o?ye(b)&&iS(b,i):ye(b)?b.includes(i)||b.push(i):m?(d[u]=[i],f(u)&&(p[u]=d[u])):(u.value=[i],e.k&&(d[e.k]=u.value))}else m?(d[u]=a,f(u)&&(p[u]=a)):y&&(u.value=a,e.k&&(d[e.k]=a))};a?(g.id=-1,It(g,r)):g()}}}let PC=!1;const aa=()=>{PC||(console.error("Hydration completed but contains mismatches."),PC=!0)},joe=e=>e.namespaceURI.includes("svg")&&e.tagName!=="foreignObject",$oe=e=>e.namespaceURI.includes("MathML"),lc=e=>{if(e.nodeType===1){if(joe(e))return"svg";if($oe(e))return"mathml"}},Ta=e=>e.nodeType===8;function Loe(e){const{mt:t,p:r,o:{patchProp:n,createText:o,nextSibling:i,parentNode:a,remove:l,insert:u,createComment:c}}=e,d=(S,T)=>{if(!T.hasChildNodes()){r(null,S,T),Kd(),T._vnode=S;return}p(T.firstChild,S,null,null,null),Kd(),T._vnode=S},p=(S,T,P,C,w,E=!1)=>{E=E||!!T.dynamicChildren;const _=Ta(S)&&S.data==="[",R=()=>y(S,T,P,C,w,_),{type:N,ref:q,shapeFlag:L,patchFlag:O}=T;let k=S.nodeType;T.el=S,O===-2&&(E=!1,T.dynamicChildren=null);let M=null;switch(N){case Fo:k!==3?T.children===""?(u(T.el=o(""),a(S),S),M=S):M=R():(S.data!==T.children&&(aa(),S.data=T.children),M=i(S));break;case Ct:v(S)?(M=i(S),b(T.el=S.content.firstChild,S,P)):k!==8||_?M=R():M=i(S);break;case Ci:if(_&&(S=i(S),k=S.nodeType),k===1||k===3){M=S;const G=!T.children.length;for(let V=0;V<T.staticCount;V++)G&&(T.children+=M.nodeType===1?M.outerHTML:M.data),V===T.staticCount-1&&(T.anchor=M),M=i(M);return _?i(M):M}else R();break;case Ut:_?M=m(S,T,P,C,w,E):M=R();break;default:if(L&1)(k!==1||T.type.toLowerCase()!==S.tagName.toLowerCase())&&!v(S)?M=R():M=h(S,T,P,C,w,E);else if(L&6){T.slotScopeIds=w;const G=a(S);if(_?M=g(S):Ta(S)&&S.data==="teleport start"?M=g(S,S.data,"teleport end"):M=i(S),t(T,G,null,P,C,lc(G),E),Lo(T)&&!T.type.__asyncResolved){let V;_?(V=st(Ut),V.anchor=M?M.previousSibling:G.lastChild):V=S.nodeType===3?AS(""):st("div"),V.el=S,T.component.subTree=V}}else L&64?k!==8?M=R():M=T.type.hydrate(S,T,P,C,w,E,e,f):L&128&&(M=T.type.hydrate(S,T,P,C,lc(a(S)),w,E,e,p))}return q!=null&&La(q,null,C,T),M},h=(S,T,P,C,w,E)=>{E=E||!!T.dynamicChildren;const{type:_,props:R,patchFlag:N,shapeFlag:q,dirs:L,transition:O}=T,k=_==="input"||_==="option";if(k||N!==-1){L&&vn(T,null,P,"created");let M=!1;if(v(S)){M=aU(null,O)&&P&&P.vnode.props&&P.vnode.props.appear;const V=S.content.firstChild;if(M){const oe=V.getAttribute("class");oe&&(V.$cls=oe),O.beforeEnter(V)}b(V,S,P),T.el=S=V}if(q&16&&!(R&&(R.innerHTML||R.textContent))){let V=f(S.firstChild,T,S,P,C,w,E);for(;V;){uc(S,1)||aa();const oe=V;V=V.nextSibling,l(oe)}}else if(q&8){let V=T.children;V[0]===`
|
|
1084
|
-
`&&(S.tagName==="PRE"||S.tagName==="TEXTAREA")&&(V=V.slice(1)),S.textContent!==V&&(uc(S,0)||aa(),S.textContent=T.children)}if(R){if(k||!E||N&48){const V=S.tagName.includes("-");for(const oe in R)(k&&(oe.endsWith("value")||oe==="indeterminate")||Yi(oe)&&!$o(oe)||oe[0]==="."||V)&&n(S,oe,null,R[oe],void 0,P)}else if(R.onClick)n(S,"onClick",null,R.onClick,void 0,P);else if(N&4&&eo(R.style))for(const V in R.style)R.style[V]}let G;(G=R&&R.onVnodeBeforeMount)&&mr(G,P,T),L&&vn(T,null,P,"beforeMount"),((G=R&&R.onVnodeMounted)||L||M)&&mU(()=>{G&&mr(G,P,T),M&&O.enter(S),L&&vn(T,null,P,"mounted")},C)}return S.nextSibling},f=(S,T,P,C,w,E,_)=>{_=_||!!T.dynamicChildren;const R=T.children,N=R.length;for(let q=0;q<N;q++){const L=_?R[q]:R[q]=yr(R[q]),O=L.type===Fo;S?(O&&!_&&q+1<N&&yr(R[q+1]).type===Fo&&(u(o(S.data.slice(L.children.length)),P,i(S)),S.data=L.children),S=p(S,L,C,w,E,_)):O&&!L.children?u(L.el=o(""),P):(uc(P,1)||aa(),r(null,L,P,null,C,w,lc(P),E))}return S},m=(S,T,P,C,w,E)=>{const{slotScopeIds:_}=T;_&&(w=w?w.concat(_):_);const R=a(S),N=f(i(S),T,R,P,C,w,E);return N&&Ta(N)&&N.data==="]"?i(T.anchor=N):(aa(),u(T.anchor=c("]"),R,N),N)},y=(S,T,P,C,w,E)=>{if(uc(S.parentElement,1)||aa(),T.el=null,E){const N=g(S);for(;;){const q=i(S);if(q&&q!==N)l(q);else break}}const _=i(S),R=a(S);return l(S),r(null,T,R,_,P,C,lc(R),w),P&&(P.vnode.el=T.el,Ch(P,T.el)),_},g=(S,T="[",P="]")=>{let C=0;for(;S;)if(S=i(S),S&&Ta(S)&&(S.data===T&&C++,S.data===P)){if(C===0)return i(S);C--}return S},b=(S,T,P)=>{const C=T.parentNode;C&&C.replaceChild(S,T);let w=P;for(;w;)w.vnode.el===T&&(w.vnode.el=w.subTree.el=S),w=w.parent},v=S=>S.nodeType===1&&S.tagName==="TEMPLATE";return[d,p]}const OC="data-allow-mismatch",Foe={0:"text",1:"children",2:"class",3:"style",4:"attribute"};function uc(e,t){if(t===0||t===1)for(;e&&!e.hasAttribute(OC);)e=e.parentElement;const r=e&&e.getAttribute(OC);if(r==null)return!1;if(r==="")return!0;{const n=r.split(",");return t===0&&n.includes("children")?!0:n.includes(Foe[t])}}const Doe=uh().requestIdleCallback||(e=>setTimeout(e,1)),Boe=uh().cancelIdleCallback||(e=>clearTimeout(e)),Uoe=(e=1e4)=>t=>{const r=Doe(t,{timeout:e});return()=>Boe(r)};function Hoe(e){const{top:t,left:r,bottom:n,right:o}=e.getBoundingClientRect(),{innerHeight:i,innerWidth:a}=window;return(t>0&&t<i||n>0&&n<i)&&(r>0&&r<a||o>0&&o<a)}const Voe=e=>(t,r)=>{const n=new IntersectionObserver(o=>{for(const i of o)if(i.isIntersecting){n.disconnect(),t();break}},e);return r(o=>{if(o instanceof Element){if(Hoe(o))return t(),n.disconnect(),!1;n.observe(o)}}),()=>n.disconnect()},Joe=e=>t=>{if(e){const r=matchMedia(e);if(r.matches)t();else return r.addEventListener("change",t,{once:!0}),()=>r.removeEventListener("change",t)}},zoe=(e=[])=>(t,r)=>{Te(e)&&(e=[e]);let n=!1;const o=a=>{n||(n=!0,i(),t(),a.target.dispatchEvent(new a.constructor(a.type,a)))},i=()=>{r(a=>{for(const l of e)a.removeEventListener(l,o)})};return r(a=>{for(const l of e)a.addEventListener(l,o,{once:!0})}),i};function Woe(e,t){if(Ta(e)&&e.data==="["){let r=1,n=e.nextSibling;for(;n;){if(n.nodeType===1){if(t(n)===!1)break}else if(Ta(n))if(n.data==="]"){if(--r===0)break}else n.data==="["&&r++;n=n.nextSibling}}else t(e)}const Lo=e=>!!e.type.__asyncLoader;/*! #__NO_SIDE_EFFECTS__ */function Goe(e){xe(e)&&(e={loader:e});const{loader:t,loadingComponent:r,errorComponent:n,delay:o=200,hydrate:i,timeout:a,suspensible:l=!0,onError:u}=e;let c=null,d,p=0;const h=()=>(p++,c=null,f()),f=()=>{let m;return c||(m=c=t().catch(y=>{if(y=y instanceof Error?y:new Error(String(y)),u)return new Promise((g,b)=>{u(y,()=>g(h()),()=>b(y),p+1)});throw y}).then(y=>m!==c&&c?c:(y&&(y.__esModule||y[Symbol.toStringTag]==="Module")&&(y=y.default),d=y,y)))};return bS({name:"AsyncComponentWrapper",__asyncLoader:f,__asyncHydrate(m,y,g){const b=i?()=>{const S=i(()=>{g()},T=>Woe(m,T));S&&(y.bum||(y.bum=[])).push(S),(y.u||(y.u=[])).push(()=>!0)}:g;d?b():f().then(()=>!y.isUnmounted&&b())},get __asyncResolved(){return d},setup(){const m=qt;if(vS(m),d)return()=>im(d,m);const y=S=>{c=null,Zi(S,m,13,!n)};if(l&&m.suspense||ls)return f().then(S=>()=>im(S,m)).catch(S=>(y(S),()=>n?st(n,{error:S}):null));const g=wl(!1),b=wl(),v=wl(!!o);return o&&setTimeout(()=>{v.value=!1},o),a!=null&&setTimeout(()=>{if(!g.value&&!b.value){const S=new Error(`Async component timed out after ${a}ms.`);y(S),b.value=S}},a),f().then(()=>{g.value=!0,m.parent&&Du(m.parent.vnode)&&m.parent.update()}).catch(S=>{y(S),b.value=S}),()=>{if(g.value&&d)return im(d,m);if(b.value&&n)return st(n,{error:b.value});if(r&&!v.value)return st(r)}}})}function im(e,t){const{ref:r,props:n,children:o,ce:i}=t.vnode,a=st(e,n,o);return a.ref=r,a.ce=i,delete t.vnode.ce,a}const Du=e=>e.type.__isKeepAlive,Koe={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const r=Kr(),n=r.ctx;if(!n.renderer)return()=>{const v=t.default&&t.default();return v&&v.length===1?v[0]:v};const o=new Map,i=new Set;let a=null;const l=r.suspense,{renderer:{p:u,m:c,um:d,o:{createElement:p}}}=n,h=p("div");n.activate=(v,S,T,P,C)=>{const w=v.component;c(v,S,T,0,l),u(w.vnode,v,S,T,w,l,P,v.slotScopeIds,C),It(()=>{w.isDeactivated=!1,w.a&&ja(w.a);const E=v.props&&v.props.onVnodeMounted;E&&mr(E,w.parent,v)},l)},n.deactivate=v=>{const S=v.component;Xd(S.m),Xd(S.a),c(v,h,null,1,l),It(()=>{S.da&&ja(S.da);const T=v.props&&v.props.onVnodeUnmounted;T&&mr(T,S.parent,v),S.isDeactivated=!0},l)};function f(v){am(v),d(v,r,l,!0)}function m(v){o.forEach((S,T)=>{const P=zg(S.type);P&&!v(P)&&y(T)})}function y(v){const S=o.get(v);S&&(!a||!rn(S,a))?f(S):a&&am(a),o.delete(v),i.delete(v)}Fa(()=>[e.include,e.exclude],([v,S])=>{v&&m(T=>el(v,T)),S&&m(T=>!el(S,T))},{flush:"post",deep:!0});let g=null;const b=()=>{g!=null&&(Qd(r.subTree.type)?It(()=>{o.set(g,cc(r.subTree))},r.subTree.suspense):o.set(g,cc(r.subTree)))};return Bu(b),Eh(b),Sh(()=>{o.forEach(v=>{const{subTree:S,suspense:T}=r,P=cc(S);if(v.type===P.type&&v.key===P.key){am(P);const C=P.component.da;C&&It(C,T);return}f(v)})}),()=>{if(g=null,!t.default)return a=null;const v=t.default(),S=v[0];if(v.length>1)return a=null,v;if(!un(S)||!(S.shapeFlag&4)&&!(S.shapeFlag&128))return a=null,S;let T=cc(S);if(T.type===Ct)return a=null,T;const P=T.type,C=zg(Lo(T)?T.type.__asyncResolved||{}:P),{include:w,exclude:E,max:_}=e;if(w&&(!C||!el(w,C))||E&&C&&el(E,C))return T.shapeFlag&=-257,a=T,S;const R=T.key==null?P:T.key,N=o.get(R);return T.el&&(T=Pn(T),S.shapeFlag&128&&(S.ssContent=T)),g=R,N?(T.el=N.el,T.component=N.component,T.transition&&ao(T,T.transition),T.shapeFlag|=512,i.delete(R),i.add(R)):(i.add(R),_&&i.size>parseInt(_,10)&&y(i.values().next().value)),T.shapeFlag|=256,a=T,Qd(S.type)?S:T}}},Yoe=Koe;function el(e,t){return ye(e)?e.some(r=>el(r,t)):Te(e)?e.split(",").includes(t):pne(e)?(e.lastIndex=0,e.test(t)):!1}function j2(e,t){L2(e,"a",t)}function $2(e,t){L2(e,"da",t)}function L2(e,t,r=qt){const n=e.__wdc||(e.__wdc=()=>{let o=r;for(;o;){if(o.isDeactivated)return;o=o.parent}return e()});if(wh(t,n,r),r){let o=r.parent;for(;o&&o.parent;)Du(o.parent.vnode)&&Xoe(n,t,r,o),o=o.parent}}function Xoe(e,t,r,n){const o=wh(t,e,n,!0);xh(()=>{iS(n[t],o)},r)}function am(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function cc(e){return e.shapeFlag&128?e.ssContent:e}function wh(e,t,r=qt,n=!1){if(r){const o=r[e]||(r[e]=[]),i=t.__weh||(t.__weh=(...a)=>{no();const l=Bi(r),u=Gr(t,r,e,a);return l(),oo(),u});return n?o.unshift(i):o.push(i),i}}const po=e=>(t,r=qt)=>{(!ls||e==="sp")&&wh(e,(...n)=>t(...n),r)},F2=po("bm"),Bu=po("m"),wS=po("bu"),Eh=po("u"),Sh=po("bum"),xh=po("um"),D2=po("sp"),B2=po("rtg"),U2=po("rtc");function H2(e,t=qt){wh("ec",e,t)}const ES="components",Qoe="directives";function Zoe(e,t){return SS(ES,e,!0,t)||e}const V2=Symbol.for("v-ndc");function eie(e){return Te(e)?SS(ES,e,!1)||e:e||V2}function tie(e){return SS(Qoe,e)}function SS(e,t,r=!0,n=!1){const o=$t||qt;if(o){const i=o.type;if(e===ES){const l=zg(i,!1);if(l&&(l===t||l===lt(t)||l===Qi(lt(t))))return i}const a=AC(o[e]||i[e],t)||AC(o.appContext[e],t);return!a&&n?i:a}}function AC(e,t){return e&&(e[t]||e[lt(t)]||e[Qi(lt(t))])}function rie(e,t,r,n){let o;const i=r&&r[n],a=ye(e);if(a||Te(e)){const l=a&&eo(e);let u=!1,c=!1;l&&(u=!Nr(e),c=io(e),e=ph(e)),o=new Array(e.length);for(let d=0,p=e.length;d<p;d++)o[d]=t(u?c?zd(Jt(e[d])):Jt(e[d]):e[d],d,void 0,i&&i[d])}else if(typeof e=="number"){o=new Array(e);for(let l=0;l<e;l++)o[l]=t(l+1,l,void 0,i&&i[l])}else if(Qe(e))if(e[Symbol.iterator])o=Array.from(e,(l,u)=>t(l,u,void 0,i&&i[u]));else{const l=Object.keys(e);o=new Array(l.length);for(let u=0,c=l.length;u<c;u++){const d=l[u];o[u]=t(e[d],d,u,i&&i[u])}}else o=[];return r&&(r[n]=o),o}function nie(e,t){for(let r=0;r<t.length;r++){const n=t[r];if(ye(n))for(let o=0;o<n.length;o++)e[n[o].name]=n[o].fn;else n&&(e[n.name]=n.key?(...o)=>{const i=n.fn(...o);return i&&(i.key=n.key),i}:n.fn)}return e}function oie(e,t,r={},n,o){if($t.ce||$t.parent&&Lo($t.parent)&&$t.parent.ce)return t!=="default"&&(r.name=t),au(),Zd(Ut,null,[st("slot",r,n&&n())],64);let i=e[t];i&&i._c&&(i._d=!1),au();const a=i&&xS(i(r)),l=r.key||a&&a.key,u=Zd(Ut,{key:(l&&!Sr(l)?l:`_${t}`)+(!a&&n?"_fb":"")},a||(n?n():[]),a&&e._===1?64:-2);return!o&&u.scopeId&&(u.slotScopeIds=[u.scopeId+"-s"]),i&&i._c&&(i._d=!0),u}function xS(e){return e.some(t=>un(t)?!(t.type===Ct||t.type===Ut&&!xS(t.children)):!0)?e:null}function iie(e,t){const r={};for(const n in e)r[t&&/[A-Z]/.test(n)?`on:${n}`:qa(n)]=e[n];return r}const qg=e=>e?SU(e)?Hu(e):qg(e.parent):null,Sl=Me(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>qg(e.parent),$root:e=>qg(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>TS(e),$forceUpdate:e=>e.f||(e.f=()=>{hS(e.update)}),$nextTick:e=>e.n||(e.n=gh.bind(e.proxy)),$watch:e=>$ie.bind(e)}),sm=(e,t)=>e!==ke&&!e.__isScriptSetup&&He(e,t),jg={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:r,setupState:n,data:o,props:i,accessCache:a,type:l,appContext:u}=e;let c;if(t[0]!=="$"){const f=a[t];if(f!==void 0)switch(f){case 1:return n[t];case 2:return o[t];case 4:return r[t];case 3:return i[t]}else{if(sm(n,t))return a[t]=1,n[t];if(o!==ke&&He(o,t))return a[t]=2,o[t];if((c=e.propsOptions[0])&&He(c,t))return a[t]=3,i[t];if(r!==ke&&He(r,t))return a[t]=4,r[t];$g&&(a[t]=0)}}const d=Sl[t];let p,h;if(d)return t==="$attrs"&&or(e.attrs,"get",""),d(e);if((p=l.__cssModules)&&(p=p[t]))return p;if(r!==ke&&He(r,t))return a[t]=4,r[t];if(h=u.config.globalProperties,He(h,t))return h[t]},set({_:e},t,r){const{data:n,setupState:o,ctx:i}=e;return sm(o,t)?(o[t]=r,!0):n!==ke&&He(n,t)?(n[t]=r,!0):He(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(i[t]=r,!0)},has({_:{data:e,setupState:t,accessCache:r,ctx:n,appContext:o,propsOptions:i}},a){let l;return!!r[a]||e!==ke&&He(e,a)||sm(t,a)||(l=i[0])&&He(l,a)||He(n,a)||He(Sl,a)||He(o.config.globalProperties,a)},defineProperty(e,t,r){return r.get!=null?e._.accessCache[t]=0:He(r,"value")&&this.set(e,t,r.value,null),Reflect.defineProperty(e,t,r)}},aie=Me({},jg,{get(e,t){if(t!==Symbol.unscopables)return jg.get(e,t,e)},has(e,t){return t[0]!=="_"&&!vne(t)}});function sie(){return null}function lie(){return null}function uie(e){}function cie(e){}function die(){return null}function pie(){}function fie(e,t){return null}function hie(){return J2().slots}function mie(){return J2().attrs}function J2(){const e=Kr();return e.setupContext||(e.setupContext=_U(e))}function ou(e){return ye(e)?e.reduce((t,r)=>(t[r]=null,t),{}):e}function yie(e,t){const r=ou(e);for(const n in t){if(n.startsWith("__skip"))continue;let o=r[n];o?ye(o)||xe(o)?o=r[n]={type:o,default:t[n]}:o.default=t[n]:o===null&&(o=r[n]={default:t[n]}),o&&t[`__skip_${n}`]&&(o.skipFactory=!0)}return r}function gie(e,t){return!e||!t?e||t:ye(e)&&ye(t)?e.concat(t):Me({},ou(e),ou(t))}function bie(e,t){const r={};for(const n in e)t.includes(n)||Object.defineProperty(r,n,{enumerable:!0,get:()=>e[n]});return r}function vie(e){const t=Kr();let r=e();return Hg(),aS(r)&&(r=r.catch(n=>{throw Bi(t),n})),[r,()=>Bi(t)]}let $g=!0;function wie(e){const t=TS(e),r=e.proxy,n=e.ctx;$g=!1,t.beforeCreate&&RC(t.beforeCreate,e,"bc");const{data:o,computed:i,methods:a,watch:l,provide:u,inject:c,created:d,beforeMount:p,mounted:h,beforeUpdate:f,updated:m,activated:y,deactivated:g,beforeDestroy:b,beforeUnmount:v,destroyed:S,unmounted:T,render:P,renderTracked:C,renderTriggered:w,errorCaptured:E,serverPrefetch:_,expose:R,inheritAttrs:N,components:q,directives:L,filters:O}=t;if(c&&Eie(c,n,null),a)for(const G in a){const V=a[G];xe(V)&&(n[G]=V.bind(r))}if(o){const G=o.call(r,r);Qe(G)&&(e.data=Fi(G))}if($g=!0,i)for(const G in i){const V=i[G],oe=xe(V)?V.bind(r,r):xe(V.get)?V.get.bind(r,r):Gt,fe=!xe(V)&&xe(V.set)?V.set.bind(r):Gt,te=PU({get:oe,set:fe});Object.defineProperty(n,G,{enumerable:!0,configurable:!0,get:()=>te.value,set:Y=>te.value=Y})}if(l)for(const G in l)z2(l[G],n,r,G);if(u){const G=xe(u)?u.call(r):u;Reflect.ownKeys(G).forEach(V=>{G2(V,G[V])})}d&&RC(d,e,"c");function M(G,V){ye(V)?V.forEach(oe=>G(oe.bind(r))):V&&G(V.bind(r))}if(M(F2,p),M(Bu,h),M(wS,f),M(Eh,m),M(j2,y),M($2,g),M(H2,E),M(U2,C),M(B2,w),M(Sh,v),M(xh,T),M(D2,_),ye(R))if(R.length){const G=e.exposed||(e.exposed={});R.forEach(V=>{Object.defineProperty(G,V,{get:()=>r[V],set:oe=>r[V]=oe})})}else e.exposed||(e.exposed={});P&&e.render===Gt&&(e.render=P),N!=null&&(e.inheritAttrs=N),q&&(e.components=q),L&&(e.directives=L),_&&vS(e)}function Eie(e,t,r=Gt){ye(e)&&(e=Lg(e));for(const n in e){const o=e[n];let i;Qe(o)?"default"in o?i=xl(o.from||n,o.default,!0):i=xl(o.from||n):i=xl(o),Ft(i)?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>i.value,set:a=>i.value=a}):t[n]=i}}function RC(e,t,r){Gr(ye(e)?e.map(n=>n.bind(t.proxy)):e.bind(t.proxy),t,r)}function z2(e,t,r,n){let o=n.includes(".")?dU(r,n):()=>r[n];if(Te(e)){const i=t[e];xe(i)&&Fa(o,i)}else if(xe(e))Fa(o,e.bind(r));else if(Qe(e))if(ye(e))e.forEach(i=>z2(i,t,r,n));else{const i=xe(e.handler)?e.handler.bind(r):t[e.handler];xe(i)&&Fa(o,i,e)}}function TS(e){const t=e.type,{mixins:r,extends:n}=t,{mixins:o,optionsCache:i,config:{optionMergeStrategies:a}}=e.appContext,l=i.get(t);let u;return l?u=l:!o.length&&!r&&!n?u=t:(u={},o.length&&o.forEach(c=>Yd(u,c,a,!0)),Yd(u,t,a)),Qe(t)&&i.set(t,u),u}function Yd(e,t,r,n=!1){const{mixins:o,extends:i}=t;i&&Yd(e,i,r,!0),o&&o.forEach(a=>Yd(e,a,r,!0));for(const a in t)if(!(n&&a==="expose")){const l=Sie[a]||r&&r[a];e[a]=l?l(e[a],t[a]):t[a]}return e}const Sie={data:NC,props:IC,emits:IC,methods:tl,computed:tl,beforeCreate:ur,created:ur,beforeMount:ur,mounted:ur,beforeUpdate:ur,updated:ur,beforeDestroy:ur,beforeUnmount:ur,destroyed:ur,unmounted:ur,activated:ur,deactivated:ur,errorCaptured:ur,serverPrefetch:ur,components:tl,directives:tl,watch:Tie,provide:NC,inject:xie};function NC(e,t){return t?e?function(){return Me(xe(e)?e.call(this,this):e,xe(t)?t.call(this,this):t)}:t:e}function xie(e,t){return tl(Lg(e),Lg(t))}function Lg(e){if(ye(e)){const t={};for(let r=0;r<e.length;r++)t[e[r]]=e[r];return t}return e}function ur(e,t){return e?[...new Set([].concat(e,t))]:t}function tl(e,t){return e?Me(Object.create(null),e,t):t}function IC(e,t){return e?ye(e)&&ye(t)?[...new Set([...e,...t])]:Me(Object.create(null),ou(e),ou(t??{})):t}function Tie(e,t){if(!e)return t;if(!t)return e;const r=Me(Object.create(null),e);for(const n in t)r[n]=ur(e[n],t[n]);return r}function W2(){return{app:null,config:{isNativeTag:Zs,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let Cie=0;function _ie(e,t){return function(n,o=null){xe(n)||(n=Me({},n)),o!=null&&!Qe(o)&&(o=null);const i=W2(),a=new WeakSet,l=[];let u=!1;const c=i.app={_uid:Cie++,_component:n,_props:o,_container:null,_context:i,_instance:null,version:AU,get config(){return i.config},set config(d){},use(d,...p){return a.has(d)||(d&&xe(d.install)?(a.add(d),d.install(c,...p)):xe(d)&&(a.add(d),d(c,...p))),c},mixin(d){return i.mixins.includes(d)||i.mixins.push(d),c},component(d,p){return p?(i.components[d]=p,c):i.components[d]},directive(d,p){return p?(i.directives[d]=p,c):i.directives[d]},mount(d,p,h){if(!u){const f=c._ceVNode||st(n,o);return f.appContext=i,h===!0?h="svg":h===!1&&(h=void 0),p&&t?t(f,d):e(f,d,h),u=!0,c._container=d,d.__vue_app__=c,Hu(f.component)}},onUnmount(d){l.push(d)},unmount(){u&&(Gr(l,c._instance,16),e(null,c._container),delete c._container.__vue_app__)},provide(d,p){return i.provides[d]=p,c},runWithContext(d){const p=Ti;Ti=c;try{return d()}finally{Ti=p}}};return c}}let Ti=null;function G2(e,t){if(qt){let r=qt.provides;const n=qt.parent&&qt.parent.provides;n===r&&(r=qt.provides=Object.create(n)),r[e]=t}}function xl(e,t,r=!1){const n=qt||$t;if(n||Ti){let o=Ti?Ti._context.provides:n?n.parent==null||n.ce?n.vnode.appContext&&n.vnode.appContext.provides:n.parent.provides:void 0;if(o&&e in o)return o[e];if(arguments.length>1)return r&&xe(t)?t.call(n&&n.proxy):t}}function Pie(){return!!(qt||$t||Ti)}const K2={},Y2=()=>Object.create(K2),X2=e=>Object.getPrototypeOf(e)===K2;function Oie(e,t,r,n=!1){const o={},i=Y2();e.propsDefaults=Object.create(null),Q2(e,t,o,i);for(const a in e.propsOptions[0])a in o||(o[a]=void 0);r?e.props=n?o:y2(o):e.type.props?e.props=o:e.props=i,e.attrs=i}function Aie(e,t,r,n){const{props:o,attrs:i,vnode:{patchFlag:a}}=e,l=Le(o),[u]=e.propsOptions;let c=!1;if((n||a>0)&&!(a&16)){if(a&8){const d=e.vnode.dynamicProps;for(let p=0;p<d.length;p++){let h=d[p];if(Th(e.emitsOptions,h))continue;const f=t[h];if(u)if(He(i,h))f!==i[h]&&(i[h]=f,c=!0);else{const m=lt(h);o[m]=Fg(u,l,m,f,e,!1)}else f!==i[h]&&(i[h]=f,c=!0)}}}else{Q2(e,t,o,i)&&(c=!0);let d;for(const p in l)(!t||!He(t,p)&&((d=gr(p))===p||!He(t,d)))&&(u?r&&(r[p]!==void 0||r[d]!==void 0)&&(o[p]=Fg(u,l,p,void 0,e,!0)):delete o[p]);if(i!==l)for(const p in i)(!t||!He(t,p))&&(delete i[p],c=!0)}c&&zn(e.attrs,"set","")}function Q2(e,t,r,n){const[o,i]=e.propsOptions;let a=!1,l;if(t)for(let u in t){if($o(u))continue;const c=t[u];let d;o&&He(o,d=lt(u))?!i||!i.includes(d)?r[d]=c:(l||(l={}))[d]=c:Th(e.emitsOptions,u)||(!(u in n)||c!==n[u])&&(n[u]=c,a=!0)}if(i){const u=Le(r),c=l||ke;for(let d=0;d<i.length;d++){const p=i[d];r[p]=Fg(o,u,p,c[p],e,!He(c,p))}}return a}function Fg(e,t,r,n,o,i){const a=e[r];if(a!=null){const l=He(a,"default");if(l&&n===void 0){const u=a.default;if(a.type!==Function&&!a.skipFactory&&xe(u)){const{propsDefaults:c}=o;if(r in c)n=c[r];else{const d=Bi(o);n=c[r]=u.call(null,t),d()}}else n=u;o.ce&&o.ce._setProp(r,n)}a[0]&&(i&&!l?n=!1:a[1]&&(n===""||n===gr(r))&&(n=!0))}return n}const Rie=new WeakMap;function Z2(e,t,r=!1){const n=r?Rie:t.propsCache,o=n.get(e);if(o)return o;const i=e.props,a={},l=[];let u=!1;if(!xe(e)){const d=p=>{u=!0;const[h,f]=Z2(p,t,!0);Me(a,h),f&&l.push(...f)};!r&&t.mixins.length&&t.mixins.forEach(d),e.extends&&d(e.extends),e.mixins&&e.mixins.forEach(d)}if(!i&&!u)return Qe(e)&&n.set(e,ka),ka;if(ye(i))for(let d=0;d<i.length;d++){const p=lt(i[d]);kC(p)&&(a[p]=ke)}else if(i)for(const d in i){const p=lt(d);if(kC(p)){const h=i[d],f=a[p]=ye(h)||xe(h)?{type:h}:Me({},h),m=f.type;let y=!1,g=!0;if(ye(m))for(let b=0;b<m.length;++b){const v=m[b],S=xe(v)&&v.name;if(S==="Boolean"){y=!0;break}else S==="String"&&(g=!1)}else y=xe(m)&&m.name==="Boolean";f[0]=y,f[1]=g,(y||He(f,"default"))&&l.push(p)}}const c=[a,l];return Qe(e)&&n.set(e,c),c}function kC(e){return e[0]!=="$"&&!$o(e)}const CS=e=>e[0]==="_"||e==="$stable",_S=e=>ye(e)?e.map(yr):[yr(e)],Nie=(e,t,r)=>{if(t._n)return t;const n=mS((...o)=>_S(t(...o)),r);return n._c=!1,n},eU=(e,t,r)=>{const n=e._ctx;for(const o in e){if(CS(o))continue;const i=e[o];if(xe(i))t[o]=Nie(o,i,n);else if(i!=null){const a=_S(i);t[o]=()=>a}}},tU=(e,t)=>{const r=_S(t);e.slots.default=()=>r},rU=(e,t,r)=>{for(const n in t)(r||!CS(n))&&(e[n]=t[n])},Iie=(e,t,r)=>{const n=e.slots=Y2();if(e.vnode.shapeFlag&32){const o=t.__;o&&Rg(n,"__",o,!0);const i=t._;i?(rU(n,t,r),r&&Rg(n,"_",i,!0)):eU(t,n)}else t&&tU(e,t)},kie=(e,t,r)=>{const{vnode:n,slots:o}=e;let i=!0,a=ke;if(n.shapeFlag&32){const l=t._;l?r&&l===1?i=!1:rU(o,t,r):(i=!t.$stable,eU(t,o)),a=t}else t&&(tU(e,t),a={default:1});if(i)for(const l in o)!CS(l)&&a[l]==null&&delete o[l]},It=mU;function nU(e){return iU(e)}function oU(e){return iU(e,Loe)}function iU(e,t){const r=uh();r.__VUE__=!0;const{insert:n,remove:o,patchProp:i,createElement:a,createText:l,createComment:u,setText:c,setElementText:d,parentNode:p,nextSibling:h,setScopeId:f=Gt,insertStaticContent:m}=e,y=($,U,J,ee=null,Z=null,ne=null,se=void 0,le=null,ue=!!U.dynamicChildren)=>{if($===U)return;$&&!rn($,U)&&(ee=be($),Y($,Z,ne,!0),$=null),U.patchFlag===-2&&(ue=!1,U.dynamicChildren=null);const{type:ae,ref:ve,shapeFlag:pe}=U;switch(ae){case Fo:g($,U,J,ee);break;case Ct:b($,U,J,ee);break;case Ci:$==null&&v(U,J,ee,se);break;case Ut:q($,U,J,ee,Z,ne,se,le,ue);break;default:pe&1?P($,U,J,ee,Z,ne,se,le,ue):pe&6?L($,U,J,ee,Z,ne,se,le,ue):(pe&64||pe&128)&&ae.process($,U,J,ee,Z,ne,se,le,ue,We)}ve!=null&&Z?La(ve,$&&$.ref,ne,U||$,!U):ve==null&&$&&$.ref!=null&&La($.ref,null,ne,$,!0)},g=($,U,J,ee)=>{if($==null)n(U.el=l(U.children),J,ee);else{const Z=U.el=$.el;U.children!==$.children&&c(Z,U.children)}},b=($,U,J,ee)=>{$==null?n(U.el=u(U.children||""),J,ee):U.el=$.el},v=($,U,J,ee)=>{[$.el,$.anchor]=m($.children,U,J,ee,$.el,$.anchor)},S=({el:$,anchor:U},J,ee)=>{let Z;for(;$&&$!==U;)Z=h($),n($,J,ee),$=Z;n(U,J,ee)},T=({el:$,anchor:U})=>{let J;for(;$&&$!==U;)J=h($),o($),$=J;o(U)},P=($,U,J,ee,Z,ne,se,le,ue)=>{U.type==="svg"?se="svg":U.type==="math"&&(se="mathml"),$==null?C(U,J,ee,Z,ne,se,le,ue):_($,U,Z,ne,se,le,ue)},C=($,U,J,ee,Z,ne,se,le)=>{let ue,ae;const{props:ve,shapeFlag:pe,transition:ge,dirs:Se}=$;if(ue=$.el=a($.type,ne,ve&&ve.is,ve),pe&8?d(ue,$.children):pe&16&&E($.children,ue,null,ee,Z,lm($,ne),se,le),Se&&vn($,null,ee,"created"),w(ue,$,$.scopeId,se,ee),ve){for(const De in ve)De!=="value"&&!$o(De)&&i(ue,De,null,ve[De],ne,ee);"value"in ve&&i(ue,"value",null,ve.value,ne),(ae=ve.onVnodeBeforeMount)&&mr(ae,ee,$)}Se&&vn($,null,ee,"beforeMount");const Ae=aU(Z,ge);Ae&&ge.beforeEnter(ue),n(ue,U,J),((ae=ve&&ve.onVnodeMounted)||Ae||Se)&&It(()=>{ae&&mr(ae,ee,$),Ae&&ge.enter(ue),Se&&vn($,null,ee,"mounted")},Z)},w=($,U,J,ee,Z)=>{if(J&&f($,J),ee)for(let ne=0;ne<ee.length;ne++)f($,ee[ne]);if(Z){let ne=Z.subTree;if(U===ne||Qd(ne.type)&&(ne.ssContent===U||ne.ssFallback===U)){const se=Z.vnode;w($,se,se.scopeId,se.slotScopeIds,Z.parent)}}},E=($,U,J,ee,Z,ne,se,le,ue=0)=>{for(let ae=ue;ae<$.length;ae++){const ve=$[ae]=le?Ro($[ae]):yr($[ae]);y(null,ve,U,J,ee,Z,ne,se,le)}},_=($,U,J,ee,Z,ne,se)=>{const le=U.el=$.el;let{patchFlag:ue,dynamicChildren:ae,dirs:ve}=U;ue|=$.patchFlag&16;const pe=$.props||ke,ge=U.props||ke;let Se;if(J&&oi(J,!1),(Se=ge.onVnodeBeforeUpdate)&&mr(Se,J,U,$),ve&&vn(U,$,J,"beforeUpdate"),J&&oi(J,!0),(pe.innerHTML&&ge.innerHTML==null||pe.textContent&&ge.textContent==null)&&d(le,""),ae?R($.dynamicChildren,ae,le,J,ee,lm(U,Z),ne):se||V($,U,le,null,J,ee,lm(U,Z),ne,!1),ue>0){if(ue&16)N(le,pe,ge,J,Z);else if(ue&2&&pe.class!==ge.class&&i(le,"class",null,ge.class,Z),ue&4&&i(le,"style",pe.style,ge.style,Z),ue&8){const Ae=U.dynamicProps;for(let De=0;De<Ae.length;De++){const qe=Ae[De],Pt=pe[qe],mt=ge[qe];(mt!==Pt||qe==="value")&&i(le,qe,Pt,mt,Z,J)}}ue&1&&$.children!==U.children&&d(le,U.children)}else!se&&ae==null&&N(le,pe,ge,J,Z);((Se=ge.onVnodeUpdated)||ve)&&It(()=>{Se&&mr(Se,J,U,$),ve&&vn(U,$,J,"updated")},ee)},R=($,U,J,ee,Z,ne,se)=>{for(let le=0;le<U.length;le++){const ue=$[le],ae=U[le],ve=ue.el&&(ue.type===Ut||!rn(ue,ae)||ue.shapeFlag&198)?p(ue.el):J;y(ue,ae,ve,null,ee,Z,ne,se,!0)}},N=($,U,J,ee,Z)=>{if(U!==J){if(U!==ke)for(const ne in U)!$o(ne)&&!(ne in J)&&i($,ne,U[ne],null,Z,ee);for(const ne in J){if($o(ne))continue;const se=J[ne],le=U[ne];se!==le&&ne!=="value"&&i($,ne,le,se,Z,ee)}"value"in J&&i($,"value",U.value,J.value,Z)}},q=($,U,J,ee,Z,ne,se,le,ue)=>{const ae=U.el=$?$.el:l(""),ve=U.anchor=$?$.anchor:l("");let{patchFlag:pe,dynamicChildren:ge,slotScopeIds:Se}=U;Se&&(le=le?le.concat(Se):Se),$==null?(n(ae,J,ee),n(ve,J,ee),E(U.children||[],J,ve,Z,ne,se,le,ue)):pe>0&&pe&64&&ge&&$.dynamicChildren?(R($.dynamicChildren,ge,J,Z,ne,se,le),(U.key!=null||Z&&U===Z.subTree)&&PS($,U,!0)):V($,U,J,ve,Z,ne,se,le,ue)},L=($,U,J,ee,Z,ne,se,le,ue)=>{U.slotScopeIds=le,$==null?U.shapeFlag&512?Z.ctx.activate(U,J,ee,se,ue):O(U,J,ee,Z,ne,se,ue):k($,U,ue)},O=($,U,J,ee,Z,ne,se)=>{const le=$.component=EU($,ee,Z);if(Du($)&&(le.ctx.renderer=We),xU(le,!1,se),le.asyncDep){if(Z&&Z.registerDep(le,M,se),!$.el){const ue=le.subTree=st(Ct);b(null,ue,U,J)}}else M(le,$,U,J,Z,ne,se)},k=($,U,J)=>{const ee=U.component=$.component;if(Hie($,U,J))if(ee.asyncDep&&!ee.asyncResolved){G(ee,U,J);return}else ee.next=U,ee.update();else U.el=$.el,ee.vnode=U},M=($,U,J,ee,Z,ne,se)=>{const le=()=>{if($.isMounted){let{next:pe,bu:ge,u:Se,parent:Ae,vnode:De}=$;{const At=sU($);if(At){pe&&(pe.el=De.el,G($,pe,se)),At.asyncDep.then(()=>{$.isUnmounted||le()});return}}let qe=pe,Pt;oi($,!1),pe?(pe.el=De.el,G($,pe,se)):pe=De,ge&&ja(ge),(Pt=pe.props&&pe.props.onVnodeBeforeUpdate)&&mr(Pt,Ae,pe,De),oi($,!0);const mt=Mc($),Dt=$.subTree;$.subTree=mt,y(Dt,mt,p(Dt.el),be(Dt),$,Z,ne),pe.el=mt.el,qe===null&&Ch($,mt.el),Se&&It(Se,Z),(Pt=pe.props&&pe.props.onVnodeUpdated)&&It(()=>mr(Pt,Ae,pe,De),Z)}else{let pe;const{el:ge,props:Se}=U,{bm:Ae,m:De,parent:qe,root:Pt,type:mt}=$,Dt=Lo(U);if(oi($,!1),Ae&&ja(Ae),!Dt&&(pe=Se&&Se.onVnodeBeforeMount)&&mr(pe,qe,U),oi($,!0),ge&&de){const At=()=>{$.subTree=Mc($),de(ge,$.subTree,$,Z,null)};Dt&&mt.__asyncHydrate?mt.__asyncHydrate(ge,$,At):At()}else{Pt.ce&&Pt.ce._def.shadowRoot!==!1&&Pt.ce._injectChildStyle(mt);const At=$.subTree=Mc($);y(null,At,J,ee,$,Z,ne),U.el=At.el}if(De&&It(De,Z),!Dt&&(pe=Se&&Se.onVnodeMounted)){const At=U;It(()=>mr(pe,qe,At),Z)}(U.shapeFlag&256||qe&&Lo(qe.vnode)&&qe.vnode.shapeFlag&256)&&$.a&&It($.a,Z),$.isMounted=!0,U=J=ee=null}};$.scope.on();const ue=$.effect=new Ql(le);$.scope.off();const ae=$.update=ue.run.bind(ue),ve=$.job=ue.runIfDirty.bind(ue);ve.i=$,ve.id=$.uid,ue.scheduler=()=>hS(ve),oi($,!0),ae()},G=($,U,J)=>{U.component=$;const ee=$.vnode.props;$.vnode=U,$.next=null,Aie($,U.props,ee,J),kie($,U.children,J),no(),SC($),oo()},V=($,U,J,ee,Z,ne,se,le,ue=!1)=>{const ae=$&&$.children,ve=$?$.shapeFlag:0,pe=U.children,{patchFlag:ge,shapeFlag:Se}=U;if(ge>0){if(ge&128){fe(ae,pe,J,ee,Z,ne,se,le,ue);return}else if(ge&256){oe(ae,pe,J,ee,Z,ne,se,le,ue);return}}Se&8?(ve&16&&ie(ae,Z,ne),pe!==ae&&d(J,pe)):ve&16?Se&16?fe(ae,pe,J,ee,Z,ne,se,le,ue):ie(ae,Z,ne,!0):(ve&8&&d(J,""),Se&16&&E(pe,J,ee,Z,ne,se,le,ue))},oe=($,U,J,ee,Z,ne,se,le,ue)=>{$=$||ka,U=U||ka;const ae=$.length,ve=U.length,pe=Math.min(ae,ve);let ge;for(ge=0;ge<pe;ge++){const Se=U[ge]=ue?Ro(U[ge]):yr(U[ge]);y($[ge],Se,J,null,Z,ne,se,le,ue)}ae>ve?ie($,Z,ne,!0,!1,pe):E(U,J,ee,Z,ne,se,le,ue,pe)},fe=($,U,J,ee,Z,ne,se,le,ue)=>{let ae=0;const ve=U.length;let pe=$.length-1,ge=ve-1;for(;ae<=pe&&ae<=ge;){const Se=$[ae],Ae=U[ae]=ue?Ro(U[ae]):yr(U[ae]);if(rn(Se,Ae))y(Se,Ae,J,null,Z,ne,se,le,ue);else break;ae++}for(;ae<=pe&&ae<=ge;){const Se=$[pe],Ae=U[ge]=ue?Ro(U[ge]):yr(U[ge]);if(rn(Se,Ae))y(Se,Ae,J,null,Z,ne,se,le,ue);else break;pe--,ge--}if(ae>pe){if(ae<=ge){const Se=ge+1,Ae=Se<ve?U[Se].el:ee;for(;ae<=ge;)y(null,U[ae]=ue?Ro(U[ae]):yr(U[ae]),J,Ae,Z,ne,se,le,ue),ae++}}else if(ae>ge)for(;ae<=pe;)Y($[ae],Z,ne,!0),ae++;else{const Se=ae,Ae=ae,De=new Map;for(ae=Ae;ae<=ge;ae++){const Rt=U[ae]=ue?Ro(U[ae]):yr(U[ae]);Rt.key!=null&&De.set(Rt.key,ae)}let qe,Pt=0;const mt=ge-Ae+1;let Dt=!1,At=0;const Yr=new Array(mt);for(ae=0;ae<mt;ae++)Yr[ae]=0;for(ae=Se;ae<=pe;ae++){const Rt=$[ae];if(Pt>=mt){Y(Rt,Z,ne,!0);continue}let Qt;if(Rt.key!=null)Qt=De.get(Rt.key);else for(qe=Ae;qe<=ge;qe++)if(Yr[qe-Ae]===0&&rn(Rt,U[qe])){Qt=qe;break}Qt===void 0?Y(Rt,Z,ne,!0):(Yr[Qt-Ae]=ae+1,Qt>=At?At=Qt:Dt=!0,y(Rt,U[Qt],J,null,Z,ne,se,le,ue),Pt++)}const fo=Dt?Mie(Yr):ka;for(qe=fo.length-1,ae=mt-1;ae>=0;ae--){const Rt=Ae+ae,Qt=U[Rt],ho=Rt+1<ve?U[Rt+1].el:ee;Yr[ae]===0?y(null,Qt,J,ho,Z,ne,se,le,ue):Dt&&(qe<0||ae!==fo[qe]?te(Qt,J,ho,2):qe--)}}},te=($,U,J,ee,Z=null)=>{const{el:ne,type:se,transition:le,children:ue,shapeFlag:ae}=$;if(ae&6){te($.component.subTree,U,J,ee);return}if(ae&128){$.suspense.move(U,J,ee);return}if(ae&64){se.move($,U,J,We);return}if(se===Ut){n(ne,U,J);for(let pe=0;pe<ue.length;pe++)te(ue[pe],U,J,ee);n($.anchor,U,J);return}if(se===Ci){S($,U,J);return}if(ee!==2&&ae&1&&le)if(ee===0)le.beforeEnter(ne),n(ne,U,J),It(()=>le.enter(ne),Z);else{const{leave:pe,delayLeave:ge,afterLeave:Se}=le,Ae=()=>{$.ctx.isUnmounted?o(ne):n(ne,U,J)},De=()=>{pe(ne,()=>{Ae(),Se&&Se()})};ge?ge(ne,Ae,De):De()}else n(ne,U,J)},Y=($,U,J,ee=!1,Z=!1)=>{const{type:ne,props:se,ref:le,children:ue,dynamicChildren:ae,shapeFlag:ve,patchFlag:pe,dirs:ge,cacheIndex:Se}=$;if(pe===-2&&(Z=!1),le!=null&&(no(),La(le,null,J,$,!0),oo()),Se!=null&&(U.renderCache[Se]=void 0),ve&256){U.ctx.deactivate($);return}const Ae=ve&1&&ge,De=!Lo($);let qe;if(De&&(qe=se&&se.onVnodeBeforeUnmount)&&mr(qe,U,$),ve&6)ce($.component,J,ee);else{if(ve&128){$.suspense.unmount(J,ee);return}Ae&&vn($,null,U,"beforeUnmount"),ve&64?$.type.remove($,U,J,We,ee):ae&&!ae.hasOnce&&(ne!==Ut||pe>0&&pe&64)?ie(ae,U,J,!1,!0):(ne===Ut&&pe&384||!Z&&ve&16)&&ie(ue,U,J),ee&&Q($)}(De&&(qe=se&&se.onVnodeUnmounted)||Ae)&&It(()=>{qe&&mr(qe,U,$),Ae&&vn($,null,U,"unmounted")},J)},Q=$=>{const{type:U,el:J,anchor:ee,transition:Z}=$;if(U===Ut){re(J,ee);return}if(U===Ci){T($);return}const ne=()=>{o(J),Z&&!Z.persisted&&Z.afterLeave&&Z.afterLeave()};if($.shapeFlag&1&&Z&&!Z.persisted){const{leave:se,delayLeave:le}=Z,ue=()=>se(J,ne);le?le($.el,ne,ue):ue()}else ne()},re=($,U)=>{let J;for(;$!==U;)J=h($),o($),$=J;o(U)},ce=($,U,J)=>{const{bum:ee,scope:Z,job:ne,subTree:se,um:le,m:ue,a:ae,parent:ve,slots:{__:pe}}=$;Xd(ue),Xd(ae),ee&&ja(ee),ve&&ye(pe)&&pe.forEach(ge=>{ve.renderCache[ge]=void 0}),Z.stop(),ne&&(ne.flags|=8,Y(se,$,U,J)),le&&It(le,U),It(()=>{$.isUnmounted=!0},U),U&&U.pendingBranch&&!U.isUnmounted&&$.asyncDep&&!$.asyncResolved&&$.suspenseId===U.pendingId&&(U.deps--,U.deps===0&&U.resolve())},ie=($,U,J,ee=!1,Z=!1,ne=0)=>{for(let se=ne;se<$.length;se++)Y($[se],U,J,ee,Z)},be=$=>{if($.shapeFlag&6)return be($.component.subTree);if($.shapeFlag&128)return $.suspense.next();const U=h($.anchor||$.el),J=U&&U[O2];return J?h(J):U};let we=!1;const Ye=($,U,J)=>{$==null?U._vnode&&Y(U._vnode,null,null,!0):y(U._vnode||null,$,U,null,null,null,J),U._vnode=$,we||(we=!0,SC(),Kd(),we=!1)},We={p:y,um:Y,m:te,r:Q,mt:O,mc:E,pc:V,pbc:R,n:be,o:e};let H,de;return t&&([H,de]=t(We)),{render:Ye,hydrate:H,createApp:_ie(Ye,H)}}function lm({type:e,props:t},r){return r==="svg"&&e==="foreignObject"||r==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:r}function oi({effect:e,job:t},r){r?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function aU(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function PS(e,t,r=!1){const n=e.children,o=t.children;if(ye(n)&&ye(o))for(let i=0;i<n.length;i++){const a=n[i];let l=o[i];l.shapeFlag&1&&!l.dynamicChildren&&((l.patchFlag<=0||l.patchFlag===32)&&(l=o[i]=Ro(o[i]),l.el=a.el),!r&&l.patchFlag!==-2&&PS(a,l)),l.type===Fo&&(l.el=a.el),l.type===Ct&&!l.el&&(l.el=a.el)}}function Mie(e){const t=e.slice(),r=[0];let n,o,i,a,l;const u=e.length;for(n=0;n<u;n++){const c=e[n];if(c!==0){if(o=r[r.length-1],e[o]<c){t[n]=o,r.push(n);continue}for(i=0,a=r.length-1;i<a;)l=i+a>>1,e[r[l]]<c?i=l+1:a=l;c<e[r[i]]&&(i>0&&(t[n]=r[i-1]),r[i]=n)}}for(i=r.length,a=r[i-1];i-- >0;)r[i]=a,a=t[a];return r}function sU(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:sU(t)}function Xd(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}const lU=Symbol.for("v-scx"),uU=()=>xl(lU);function qie(e,t){return Uu(e,null,t)}function jie(e,t){return Uu(e,null,{flush:"post"})}function cU(e,t){return Uu(e,null,{flush:"sync"})}function Fa(e,t,r){return Uu(e,t,r)}function Uu(e,t,r=ke){const{immediate:n,deep:o,flush:i,once:a}=r,l=Me({},r),u=t&&n||!t&&i!=="post";let c;if(ls){if(i==="sync"){const f=uU();c=f.__watcherHandles||(f.__watcherHandles=[])}else if(!u){const f=()=>{};return f.stop=Gt,f.resume=Gt,f.pause=Gt,f}}const d=qt;l.call=(f,m,y)=>Gr(f,d,m,y);let p=!1;i==="post"?l.scheduler=f=>{It(f,d&&d.suspense)}:i!=="sync"&&(p=!0,l.scheduler=(f,m)=>{m?f():hS(f)}),l.augmentJob=f=>{t&&(f.flags|=4),p&&(f.flags|=2,d&&(f.id=d.uid,f.i=d))};const h=voe(e,t,l);return ls&&(c?c.push(h):u&&h()),h}function $ie(e,t,r){const n=this.proxy,o=Te(e)?e.includes(".")?dU(n,e):()=>n[e]:e.bind(n,n);let i;xe(t)?i=t:(i=t.handler,r=t);const a=Bi(this),l=Uu(o,i.bind(n),r);return a(),l}function dU(e,t){const r=t.split(".");return()=>{let n=e;for(let o=0;o<r.length&&n;o++)n=n[r[o]];return n}}function Lie(e,t,r=ke){const n=Kr(),o=lt(t),i=gr(t),a=pU(e,o),l=w2((u,c)=>{let d,p=ke,h;return cU(()=>{const f=e[o];cr(d,f)&&(d=f,c())}),{get(){return u(),r.get?r.get(d):d},set(f){const m=r.set?r.set(f):f;if(!cr(m,d)&&!(p!==ke&&cr(f,p)))return;const y=n.vnode.props;y&&(t in y||o in y||i in y)&&(`onUpdate:${t}`in y||`onUpdate:${o}`in y||`onUpdate:${i}`in y)||(d=f,c()),n.emit(`update:${t}`,m),cr(f,m)&&cr(f,p)&&!cr(m,h)&&c(),p=f,h=m}}});return l[Symbol.iterator]=()=>{let u=0;return{next(){return u<2?{value:u++?a||ke:l,done:!1}:{done:!0}}}},l}const pU=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${lt(t)}Modifiers`]||e[`${gr(t)}Modifiers`];function Fie(e,t,...r){if(e.isUnmounted)return;const n=e.vnode.props||ke;let o=r;const i=t.startsWith("update:"),a=i&&pU(n,t.slice(7));a&&(a.trim&&(o=r.map(d=>Te(d)?d.trim():d)),a.number&&(o=r.map(Hd)));let l,u=n[l=qa(t)]||n[l=qa(lt(t))];!u&&i&&(u=n[l=qa(gr(t))]),u&&Gr(u,e,6,o);const c=n[l+"Once"];if(c){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,Gr(c,e,6,o)}}function fU(e,t,r=!1){const n=t.emitsCache,o=n.get(e);if(o!==void 0)return o;const i=e.emits;let a={},l=!1;if(!xe(e)){const u=c=>{const d=fU(c,t,!0);d&&(l=!0,Me(a,d))};!r&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}return!i&&!l?(Qe(e)&&n.set(e,null),null):(ye(i)?i.forEach(u=>a[u]=null):Me(a,i),Qe(e)&&n.set(e,a),a)}function Th(e,t){return!e||!Yi(t)?!1:(t=t.slice(2).replace(/Once$/,""),He(e,t[0].toLowerCase()+t.slice(1))||He(e,gr(t))||He(e,t))}function Mc(e){const{type:t,vnode:r,proxy:n,withProxy:o,propsOptions:[i],slots:a,attrs:l,emit:u,render:c,renderCache:d,props:p,data:h,setupState:f,ctx:m,inheritAttrs:y}=e,g=nu(e);let b,v;try{if(r.shapeFlag&4){const T=o||n,P=T;b=yr(c.call(P,T,d,p,f,h,m)),v=l}else{const T=t;b=yr(T.length>1?T(p,{attrs:l,slots:a,emit:u}):T(p,null)),v=t.props?l:Bie(l)}}catch(T){Tl.length=0,Zi(T,e,1),b=st(Ct)}let S=b;if(v&&y!==!1){const T=Object.keys(v),{shapeFlag:P}=S;T.length&&P&7&&(i&&T.some(oS)&&(v=Uie(v,i)),S=Pn(S,v,!1,!0))}return r.dirs&&(S=Pn(S,null,!1,!0),S.dirs=S.dirs?S.dirs.concat(r.dirs):r.dirs),r.transition&&ao(S,r.transition),b=S,nu(g),b}function Die(e,t=!0){let r;for(let n=0;n<e.length;n++){const o=e[n];if(un(o)){if(o.type!==Ct||o.children==="v-if"){if(r)return;r=o}}else return}return r}const Bie=e=>{let t;for(const r in e)(r==="class"||r==="style"||Yi(r))&&((t||(t={}))[r]=e[r]);return t},Uie=(e,t)=>{const r={};for(const n in e)(!oS(n)||!(n.slice(9)in t))&&(r[n]=e[n]);return r};function Hie(e,t,r){const{props:n,children:o,component:i}=e,{props:a,children:l,patchFlag:u}=t,c=i.emitsOptions;if(t.dirs||t.transition)return!0;if(r&&u>=0){if(u&1024)return!0;if(u&16)return n?MC(n,a,c):!!a;if(u&8){const d=t.dynamicProps;for(let p=0;p<d.length;p++){const h=d[p];if(a[h]!==n[h]&&!Th(c,h))return!0}}}else return(o||l)&&(!l||!l.$stable)?!0:n===a?!1:n?a?MC(n,a,c):!0:!!a;return!1}function MC(e,t,r){const n=Object.keys(t);if(n.length!==Object.keys(e).length)return!0;for(let o=0;o<n.length;o++){const i=n[o];if(t[i]!==e[i]&&!Th(r,i))return!0}return!1}function Ch({vnode:e,parent:t},r){for(;t;){const n=t.subTree;if(n.suspense&&n.suspense.activeBranch===e&&(n.el=e.el),n===e)(e=t.vnode).el=r,t=t.parent;else break}}const Qd=e=>e.__isSuspense;let Dg=0;const Vie={name:"Suspense",__isSuspense:!0,process(e,t,r,n,o,i,a,l,u,c){if(e==null)zie(t,r,n,o,i,a,l,u,c);else{if(i&&i.deps>0&&!e.suspense.isInFallback){t.suspense=e.suspense,t.suspense.vnode=t,t.el=e.el;return}Wie(e,t,r,n,o,a,l,u,c)}},hydrate:Gie,normalize:Kie},Jie=Vie;function iu(e,t){const r=e.props&&e.props[t];xe(r)&&r()}function zie(e,t,r,n,o,i,a,l,u){const{p:c,o:{createElement:d}}=u,p=d("div"),h=e.suspense=hU(e,o,n,t,p,r,i,a,l,u);c(null,h.pendingBranch=e.ssContent,p,null,n,h,i,a),h.deps>0?(iu(e,"onPending"),iu(e,"onFallback"),c(null,e.ssFallback,t,r,n,null,i,a),Da(h,e.ssFallback)):h.resolve(!1,!0)}function Wie(e,t,r,n,o,i,a,l,{p:u,um:c,o:{createElement:d}}){const p=t.suspense=e.suspense;p.vnode=t,t.el=e.el;const h=t.ssContent,f=t.ssFallback,{activeBranch:m,pendingBranch:y,isInFallback:g,isHydrating:b}=p;if(y)p.pendingBranch=h,rn(h,y)?(u(y,h,p.hiddenContainer,null,o,p,i,a,l),p.deps<=0?p.resolve():g&&(b||(u(m,f,r,n,o,null,i,a,l),Da(p,f)))):(p.pendingId=Dg++,b?(p.isHydrating=!1,p.activeBranch=y):c(y,o,p),p.deps=0,p.effects.length=0,p.hiddenContainer=d("div"),g?(u(null,h,p.hiddenContainer,null,o,p,i,a,l),p.deps<=0?p.resolve():(u(m,f,r,n,o,null,i,a,l),Da(p,f))):m&&rn(h,m)?(u(m,h,r,n,o,p,i,a,l),p.resolve(!0)):(u(null,h,p.hiddenContainer,null,o,p,i,a,l),p.deps<=0&&p.resolve()));else if(m&&rn(h,m))u(m,h,r,n,o,p,i,a,l),Da(p,h);else if(iu(t,"onPending"),p.pendingBranch=h,h.shapeFlag&512?p.pendingId=h.component.suspenseId:p.pendingId=Dg++,u(null,h,p.hiddenContainer,null,o,p,i,a,l),p.deps<=0)p.resolve();else{const{timeout:v,pendingId:S}=p;v>0?setTimeout(()=>{p.pendingId===S&&p.fallback(f)},v):v===0&&p.fallback(f)}}function hU(e,t,r,n,o,i,a,l,u,c,d=!1){const{p,m:h,um:f,n:m,o:{parentNode:y,remove:g}}=c;let b;const v=Yie(e);v&&t&&t.pendingBranch&&(b=t.pendingId,t.deps++);const S=e.props?Vd(e.props.timeout):void 0,T=i,P={vnode:e,parent:t,parentComponent:r,namespace:a,container:n,hiddenContainer:o,deps:0,pendingId:Dg++,timeout:typeof S=="number"?S:-1,activeBranch:null,pendingBranch:null,isInFallback:!d,isHydrating:d,isUnmounted:!1,effects:[],resolve(C=!1,w=!1){const{vnode:E,activeBranch:_,pendingBranch:R,pendingId:N,effects:q,parentComponent:L,container:O}=P;let k=!1;P.isHydrating?P.isHydrating=!1:C||(k=_&&R.transition&&R.transition.mode==="out-in",k&&(_.transition.afterLeave=()=>{N===P.pendingId&&(h(R,O,i===T?m(_):i,0),tu(q))}),_&&(y(_.el)===O&&(i=m(_)),f(_,L,P,!0)),k||h(R,O,i,0)),Da(P,R),P.pendingBranch=null,P.isInFallback=!1;let M=P.parent,G=!1;for(;M;){if(M.pendingBranch){M.effects.push(...q),G=!0;break}M=M.parent}!G&&!k&&tu(q),P.effects=[],v&&t&&t.pendingBranch&&b===t.pendingId&&(t.deps--,t.deps===0&&!w&&t.resolve()),iu(E,"onResolve")},fallback(C){if(!P.pendingBranch)return;const{vnode:w,activeBranch:E,parentComponent:_,container:R,namespace:N}=P;iu(w,"onFallback");const q=m(E),L=()=>{P.isInFallback&&(p(null,C,R,q,_,null,N,l,u),Da(P,C))},O=C.transition&&C.transition.mode==="out-in";O&&(E.transition.afterLeave=L),P.isInFallback=!0,f(E,_,null,!0),O||L()},move(C,w,E){P.activeBranch&&h(P.activeBranch,C,w,E),P.container=C},next(){return P.activeBranch&&m(P.activeBranch)},registerDep(C,w,E){const _=!!P.pendingBranch;_&&P.deps++;const R=C.vnode.el;C.asyncDep.catch(N=>{Zi(N,C,0)}).then(N=>{if(C.isUnmounted||P.isUnmounted||P.pendingId!==C.suspenseId)return;C.asyncResolved=!0;const{vnode:q}=C;Vg(C,N,!1),R&&(q.el=R);const L=!R&&C.subTree.el;w(C,q,y(R||C.subTree.el),R?null:m(C.subTree),P,a,E),L&&g(L),Ch(C,q.el),_&&--P.deps===0&&P.resolve()})},unmount(C,w){P.isUnmounted=!0,P.activeBranch&&f(P.activeBranch,r,C,w),P.pendingBranch&&f(P.pendingBranch,r,C,w)}};return P}function Gie(e,t,r,n,o,i,a,l,u){const c=t.suspense=hU(t,n,r,e.parentNode,document.createElement("div"),null,o,i,a,l,!0),d=u(e,c.pendingBranch=t.ssContent,r,c,i,a);return c.deps===0&&c.resolve(!1,!0),d}function Kie(e){const{shapeFlag:t,children:r}=e,n=t&32;e.ssContent=qC(n?r.default:r),e.ssFallback=n?qC(r.fallback):st(Ct)}function qC(e){let t;if(xe(e)){const r=Di&&e._c;r&&(e._d=!1,au()),e=e(),r&&(e._d=!0,t=ir,yU())}return ye(e)&&(e=Die(e)),e=yr(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(r=>r!==e)),e}function mU(e,t){t&&t.pendingBranch?ye(e)?t.effects.push(...e):t.effects.push(e):tu(e)}function Da(e,t){e.activeBranch=t;const{vnode:r,parentComponent:n}=e;let o=t.el;for(;!o&&t.component;)t=t.component.subTree,o=t.el;r.el=o,n&&n.subTree===r&&(n.vnode.el=o,Ch(n,o))}function Yie(e){const t=e.props&&e.props.suspensible;return t!=null&&t!==!1}const Ut=Symbol.for("v-fgt"),Fo=Symbol.for("v-txt"),Ct=Symbol.for("v-cmt"),Ci=Symbol.for("v-stc"),Tl=[];let ir=null;function au(e=!1){Tl.push(ir=e?null:[])}function yU(){Tl.pop(),ir=Tl[Tl.length-1]||null}let Di=1;function Bg(e,t=!1){Di+=e,e<0&&ir&&t&&(ir.hasOnce=!0)}function gU(e){return e.dynamicChildren=Di>0?ir||ka:null,yU(),Di>0&&ir&&ir.push(e),e}function Xie(e,t,r,n,o,i){return gU(OS(e,t,r,n,o,i,!0))}function Zd(e,t,r,n,o){return gU(st(e,t,r,n,o,!0))}function un(e){return e?e.__v_isVNode===!0:!1}function rn(e,t){return e.type===t.type&&e.key===t.key}function Qie(e){}const bU=({key:e})=>e??null,qc=({ref:e,ref_key:t,ref_for:r})=>(typeof e=="number"&&(e=""+e),e!=null?Te(e)||Ft(e)||xe(e)?{i:$t,r:e,k:t,f:!!r}:e:null);function OS(e,t=null,r=null,n=0,o=null,i=e===Ut?0:1,a=!1,l=!1){const u={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&bU(t),ref:t&&qc(t),scopeId:bh,slotScopeIds:null,children:r,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:n,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:$t};return l?(RS(u,r),i&128&&e.normalize(u)):r&&(u.shapeFlag|=Te(r)?8:16),Di>0&&!a&&ir&&(u.patchFlag>0||i&6)&&u.patchFlag!==32&&ir.push(u),u}const st=Zie;function Zie(e,t=null,r=null,n=0,o=null,i=!1){if((!e||e===V2)&&(e=Ct),un(e)){const l=Pn(e,t,!0);return r&&RS(l,r),Di>0&&!i&&ir&&(l.shapeFlag&6?ir[ir.indexOf(e)]=l:ir.push(l)),l.patchFlag=-2,l}if(sae(e)&&(e=e.__vccOpts),t){t=vU(t);let{class:l,style:u}=t;l&&!Te(l)&&(t.class=Fu(l)),Qe(u)&&(mh(u)&&!ye(u)&&(u=Me({},u)),t.style=Lu(u))}const a=Te(e)?1:Qd(e)?128:A2(e)?64:Qe(e)?4:xe(e)?2:0;return OS(e,t,r,n,o,a,i,!0)}function vU(e){return e?mh(e)||X2(e)?Me({},e):e:null}function Pn(e,t,r=!1,n=!1){const{props:o,ref:i,patchFlag:a,children:l,transition:u}=e,c=t?wU(o||{},t):o,d={__v_isVNode:!0,__v_skip:!0,type:e.type,props:c,key:c&&bU(c),ref:t&&t.ref?r&&i?ye(i)?i.concat(qc(t)):[i,qc(t)]:qc(t):i,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:l,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Ut?a===-1?16:a|16:a,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:u,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Pn(e.ssContent),ssFallback:e.ssFallback&&Pn(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return u&&n&&ao(d,u.clone(d)),d}function AS(e=" ",t=0){return st(Fo,null,e,t)}function eae(e,t){const r=st(Ci,null,e);return r.staticCount=t,r}function tae(e="",t=!1){return t?(au(),Zd(Ct,null,e)):st(Ct,null,e)}function yr(e){return e==null||typeof e=="boolean"?st(Ct):ye(e)?st(Ut,null,e.slice()):un(e)?Ro(e):st(Fo,null,String(e))}function Ro(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Pn(e)}function RS(e,t){let r=0;const{shapeFlag:n}=e;if(t==null)t=null;else if(ye(t))r=16;else if(typeof t=="object")if(n&65){const o=t.default;o&&(o._c&&(o._d=!1),RS(e,o()),o._c&&(o._d=!0));return}else{r=32;const o=t._;!o&&!X2(t)?t._ctx=$t:o===3&&$t&&($t.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else xe(t)?(t={default:t,_ctx:$t},r=32):(t=String(t),n&64?(r=16,t=[AS(t)]):r=8);e.children=t,e.shapeFlag|=r}function wU(...e){const t={};for(let r=0;r<e.length;r++){const n=e[r];for(const o in n)if(o==="class")t.class!==n.class&&(t.class=Fu([t.class,n.class]));else if(o==="style")t.style=Lu([t.style,n.style]);else if(Yi(o)){const i=t[o],a=n[o];a&&i!==a&&!(ye(i)&&i.includes(a))&&(t[o]=i?[].concat(i,a):a)}else o!==""&&(t[o]=n[o])}return t}function mr(e,t,r,n=null){Gr(e,t,7,[r,n])}const rae=W2();let nae=0;function EU(e,t,r){const n=e.type,o=(t?t.appContext:e.appContext)||rae,i={uid:nae++,vnode:e,type:n,parent:t,appContext:o,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new lS(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(o.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Z2(n,o),emitsOptions:fU(n,o),emit:null,emitted:null,propsDefaults:ke,inheritAttrs:n.inheritAttrs,ctx:ke,data:ke,props:ke,attrs:ke,slots:ke,refs:ke,setupState:ke,setupContext:null,suspense:r,suspenseId:r?r.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return i.ctx={_:i},i.root=t?t.root:i,i.emit=Fie.bind(null,i),e.ce&&e.ce(i),i}let qt=null;const Kr=()=>qt||$t;let ep,Ug;{const e=uh(),t=(r,n)=>{let o;return(o=e[r])||(o=e[r]=[]),o.push(n),i=>{o.length>1?o.forEach(a=>a(i)):o[0](i)}};ep=t("__VUE_INSTANCE_SETTERS__",r=>qt=r),Ug=t("__VUE_SSR_SETTERS__",r=>ls=r)}const Bi=e=>{const t=qt;return ep(e),e.scope.on(),()=>{e.scope.off(),ep(t)}},Hg=()=>{qt&&qt.scope.off(),ep(null)};function SU(e){return e.vnode.shapeFlag&4}let ls=!1;function xU(e,t=!1,r=!1){t&&Ug(t);const{props:n,children:o}=e.vnode,i=SU(e);Oie(e,n,i,t),Iie(e,o,r||t);const a=i?oae(e,t):void 0;return t&&Ug(!1),a}function oae(e,t){const r=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,jg);const{setup:n}=r;if(n){no();const o=e.setupContext=n.length>1?_U(e):null,i=Bi(e),a=Rs(n,e,0,[e.props,o]),l=aS(a);if(oo(),i(),(l||e.sp)&&!Lo(e)&&vS(e),l){if(a.then(Hg,Hg),t)return a.then(u=>{Vg(e,u,t)}).catch(u=>{Zi(u,e,0)});e.asyncDep=a}else Vg(e,a,t)}else CU(e,t)}function Vg(e,t,r){xe(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Qe(t)&&(e.setupState=fS(t)),CU(e,r)}let tp,Jg;function TU(e){tp=e,Jg=t=>{t.render._rc&&(t.withProxy=new Proxy(t.ctx,aie))}}const iae=()=>!tp;function CU(e,t,r){const n=e.type;if(!e.render){if(!t&&tp&&!n.render){const o=n.template||TS(e).template;if(o){const{isCustomElement:i,compilerOptions:a}=e.appContext.config,{delimiters:l,compilerOptions:u}=n,c=Me(Me({isCustomElement:i,delimiters:l},a),u);n.render=tp(o,c)}}e.render=n.render||Gt,Jg&&Jg(e)}{const o=Bi(e);no();try{wie(e)}finally{oo(),o()}}}const aae={get(e,t){return or(e,"get",""),e[t]}};function _U(e){const t=r=>{e.exposed=r||{}};return{attrs:new Proxy(e.attrs,aae),slots:e.slots,emit:e.emit,expose:t}}function Hu(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(fS(g2(e.exposed)),{get(t,r){if(r in t)return t[r];if(r in Sl)return Sl[r](e)},has(t,r){return r in t||r in Sl}})):e.proxy}function zg(e,t=!0){return xe(e)?e.displayName||e.name:e.name||t&&e.__name}function sae(e){return xe(e)&&"__vccOpts"in e}const PU=(e,t)=>moe(e,t,ls);function ea(e,t,r){const n=arguments.length;return n===2?Qe(t)&&!ye(t)?un(t)?st(e,null,[t]):st(e,t):st(e,null,t):(n>3?r=Array.prototype.slice.call(arguments,2):n===3&&un(r)&&(r=[r]),st(e,t,r))}function lae(){}function uae(e,t,r,n){const o=r[n];if(o&&OU(o,e))return o;const i=t();return i.memo=e.slice(),i.cacheIndex=n,r[n]=i}function OU(e,t){const r=e.memo;if(r.length!=t.length)return!1;for(let n=0;n<r.length;n++)if(cr(r[n],t[n]))return!1;return Di>0&&ir&&ir.push(e),!0}const AU="3.5.17",cae=Gt,dae=Toe,pae=ya,fae=P2,hae={createComponentInstance:EU,setupComponent:xU,renderComponentRoot:Mc,setCurrentRenderingInstance:nu,isVNode:un,normalizeVNode:yr,getComponentPublicInstance:Hu,ensureValidVNode:xS,pushWarningContext:woe,popWarningContext:Eoe},mae=hae,yae=null,gae=null,bae=null;/**
|
|
1085
|
-
* @vue/runtime-dom v3.5.17
|
|
1086
|
-
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
1087
|
-
* @license MIT
|
|
1088
|
-
**/let Wg;const jC=typeof window<"u"&&window.trustedTypes;if(jC)try{Wg=jC.createPolicy("vue",{createHTML:e=>e})}catch{}const RU=Wg?e=>Wg.createHTML(e):e=>e,vae="http://www.w3.org/2000/svg",wae="http://www.w3.org/1998/Math/MathML",Hn=typeof document<"u"?document:null,$C=Hn&&Hn.createElement("template"),Eae={insert:(e,t,r)=>{t.insertBefore(e,r||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,r,n)=>{const o=t==="svg"?Hn.createElementNS(vae,e):t==="mathml"?Hn.createElementNS(wae,e):r?Hn.createElement(e,{is:r}):Hn.createElement(e);return e==="select"&&n&&n.multiple!=null&&o.setAttribute("multiple",n.multiple),o},createText:e=>Hn.createTextNode(e),createComment:e=>Hn.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Hn.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,r,n,o,i){const a=r?r.previousSibling:t.lastChild;if(o&&(o===i||o.nextSibling))for(;t.insertBefore(o.cloneNode(!0),r),!(o===i||!(o=o.nextSibling)););else{$C.innerHTML=RU(n==="svg"?`<svg>${e}</svg>`:n==="mathml"?`<math>${e}</math>`:e);const l=$C.content;if(n==="svg"||n==="mathml"){const u=l.firstChild;for(;u.firstChild;)l.appendChild(u.firstChild);l.removeChild(u)}t.insertBefore(l,r)}return[a?a.nextSibling:t.firstChild,r?r.previousSibling:t.lastChild]}},go="transition",Bs="animation",us=Symbol("_vtc"),NU={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},IU=Me({},gS,NU),Sae=e=>(e.displayName="Transition",e.props=IU,e),xae=Sae((e,{slots:t})=>ea(M2,kU(e),t)),ii=(e,t=[])=>{ye(e)?e.forEach(r=>r(...t)):e&&e(...t)},LC=e=>e?ye(e)?e.some(t=>t.length>1):e.length>1:!1;function kU(e){const t={};for(const q in e)q in NU||(t[q]=e[q]);if(e.css===!1)return t;const{name:r="v",type:n,duration:o,enterFromClass:i=`${r}-enter-from`,enterActiveClass:a=`${r}-enter-active`,enterToClass:l=`${r}-enter-to`,appearFromClass:u=i,appearActiveClass:c=a,appearToClass:d=l,leaveFromClass:p=`${r}-leave-from`,leaveActiveClass:h=`${r}-leave-active`,leaveToClass:f=`${r}-leave-to`}=e,m=Tae(o),y=m&&m[0],g=m&&m[1],{onBeforeEnter:b,onEnter:v,onEnterCancelled:S,onLeave:T,onLeaveCancelled:P,onBeforeAppear:C=b,onAppear:w=v,onAppearCancelled:E=S}=t,_=(q,L,O,k)=>{q._enterCancelled=k,xo(q,L?d:l),xo(q,L?c:a),O&&O()},R=(q,L)=>{q._isLeaving=!1,xo(q,p),xo(q,f),xo(q,h),L&&L()},N=q=>(L,O)=>{const k=q?w:v,M=()=>_(L,q,O);ii(k,[L,M]),FC(()=>{xo(L,q?u:i),gn(L,q?d:l),LC(k)||DC(L,n,y,M)})};return Me(t,{onBeforeEnter(q){ii(b,[q]),gn(q,i),gn(q,a)},onBeforeAppear(q){ii(C,[q]),gn(q,u),gn(q,c)},onEnter:N(!1),onAppear:N(!0),onLeave(q,L){q._isLeaving=!0;const O=()=>R(q,L);gn(q,p),q._enterCancelled?(gn(q,h),Gg()):(Gg(),gn(q,h)),FC(()=>{q._isLeaving&&(xo(q,p),gn(q,f),LC(T)||DC(q,n,g,O))}),ii(T,[q,O])},onEnterCancelled(q){_(q,!1,void 0,!0),ii(S,[q])},onAppearCancelled(q){_(q,!0,void 0,!0),ii(E,[q])},onLeaveCancelled(q){R(q),ii(P,[q])}})}function Tae(e){if(e==null)return null;if(Qe(e))return[um(e.enter),um(e.leave)];{const t=um(e);return[t,t]}}function um(e){return Vd(e)}function gn(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.add(r)),(e[us]||(e[us]=new Set)).add(t)}function xo(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.remove(n));const r=e[us];r&&(r.delete(t),r.size||(e[us]=void 0))}function FC(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let Cae=0;function DC(e,t,r,n){const o=e._endId=++Cae,i=()=>{o===e._endId&&n()};if(r!=null)return setTimeout(i,r);const{type:a,timeout:l,propCount:u}=MU(e,t);if(!a)return n();const c=a+"end";let d=0;const p=()=>{e.removeEventListener(c,h),i()},h=f=>{f.target===e&&++d>=u&&p()};setTimeout(()=>{d<u&&p()},l+1),e.addEventListener(c,h)}function MU(e,t){const r=window.getComputedStyle(e),n=m=>(r[m]||"").split(", "),o=n(`${go}Delay`),i=n(`${go}Duration`),a=BC(o,i),l=n(`${Bs}Delay`),u=n(`${Bs}Duration`),c=BC(l,u);let d=null,p=0,h=0;t===go?a>0&&(d=go,p=a,h=i.length):t===Bs?c>0&&(d=Bs,p=c,h=u.length):(p=Math.max(a,c),d=p>0?a>c?go:Bs:null,h=d?d===go?i.length:u.length:0);const f=d===go&&/\b(transform|all)(,|$)/.test(n(`${go}Property`).toString());return{type:d,timeout:p,propCount:h,hasTransform:f}}function BC(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((r,n)=>UC(r)+UC(e[n])))}function UC(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function Gg(){return document.body.offsetHeight}function _ae(e,t,r){const n=e[us];n&&(t=(t?[t,...n]:[...n]).join(" ")),t==null?e.removeAttribute("class"):r?e.setAttribute("class",t):e.className=t}const rp=Symbol("_vod"),qU=Symbol("_vsh"),jU={beforeMount(e,{value:t},{transition:r}){e[rp]=e.style.display==="none"?"":e.style.display,r&&t?r.beforeEnter(e):Us(e,t)},mounted(e,{value:t},{transition:r}){r&&t&&r.enter(e)},updated(e,{value:t,oldValue:r},{transition:n}){!t!=!r&&(n?t?(n.beforeEnter(e),Us(e,!0),n.enter(e)):n.leave(e,()=>{Us(e,!1)}):Us(e,t))},beforeUnmount(e,{value:t}){Us(e,t)}};function Us(e,t){e.style.display=t?e[rp]:"none",e[qU]=!t}function Pae(){jU.getSSRProps=({value:e})=>{if(!e)return{style:{display:"none"}}}}const $U=Symbol("");function Oae(e){const t=Kr();if(!t)return;const r=t.ut=(o=e(t.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${t.uid}"]`)).forEach(i=>np(i,o))},n=()=>{const o=e(t.proxy);t.ce?np(t.ce,o):Kg(t.subTree,o),r(o)};wS(()=>{tu(n)}),Bu(()=>{Fa(n,Gt,{flush:"post"});const o=new MutationObserver(n);o.observe(t.subTree.el.parentNode,{childList:!0}),xh(()=>o.disconnect())})}function Kg(e,t){if(e.shapeFlag&128){const r=e.suspense;e=r.activeBranch,r.pendingBranch&&!r.isHydrating&&r.effects.push(()=>{Kg(r.activeBranch,t)})}for(;e.component;)e=e.component.subTree;if(e.shapeFlag&1&&e.el)np(e.el,t);else if(e.type===Ut)e.children.forEach(r=>Kg(r,t));else if(e.type===Ci){let{el:r,anchor:n}=e;for(;r&&(np(r,t),r!==n);)r=r.nextSibling}}function np(e,t){if(e.nodeType===1){const r=e.style;let n="";for(const o in t)r.setProperty(`--${o}`,t[o]),n+=`--${o}: ${t[o]};`;r[$U]=n}}const Aae=/(^|;)\s*display\s*:/;function Rae(e,t,r){const n=e.style,o=Te(r);let i=!1;if(r&&!o){if(t)if(Te(t))for(const a of t.split(";")){const l=a.slice(0,a.indexOf(":")).trim();r[l]==null&&jc(n,l,"")}else for(const a in t)r[a]==null&&jc(n,a,"");for(const a in r)a==="display"&&(i=!0),jc(n,a,r[a])}else if(o){if(t!==r){const a=n[$U];a&&(r+=";"+a),n.cssText=r,i=Aae.test(r)}}else t&&e.removeAttribute("style");rp in e&&(e[rp]=i?n.display:"",e[qU]&&(n.display="none"))}const HC=/\s*!important$/;function jc(e,t,r){if(ye(r))r.forEach(n=>jc(e,t,n));else if(r==null&&(r=""),t.startsWith("--"))e.setProperty(t,r);else{const n=Nae(e,t);HC.test(r)?e.setProperty(gr(n),r.replace(HC,""),"important"):e[n]=r}}const VC=["Webkit","Moz","ms"],cm={};function Nae(e,t){const r=cm[t];if(r)return r;let n=lt(t);if(n!=="filter"&&n in e)return cm[t]=n;n=Qi(n);for(let o=0;o<VC.length;o++){const i=VC[o]+n;if(i in e)return cm[t]=i}return t}const JC="http://www.w3.org/1999/xlink";function zC(e,t,r,n,o,i=kne(t)){n&&t.startsWith("xlink:")?r==null?e.removeAttributeNS(JC,t.slice(6,t.length)):e.setAttributeNS(JC,t,r):r==null||i&&!YB(r)?e.removeAttribute(t):e.setAttribute(t,i?"":Sr(r)?String(r):r)}function WC(e,t,r,n,o){if(t==="innerHTML"||t==="textContent"){r!=null&&(e[t]=t==="innerHTML"?RU(r):r);return}const i=e.tagName;if(t==="value"&&i!=="PROGRESS"&&!i.includes("-")){const l=i==="OPTION"?e.getAttribute("value")||"":e.value,u=r==null?e.type==="checkbox"?"on":"":String(r);(l!==u||!("_value"in e))&&(e.value=u),r==null&&e.removeAttribute(t),e._value=r;return}let a=!1;if(r===""||r==null){const l=typeof e[t];l==="boolean"?r=YB(r):r==null&&l==="string"?(r="",a=!0):l==="number"&&(r=0,a=!0)}try{e[t]=r}catch{}a&&e.removeAttribute(o||t)}function Gn(e,t,r,n){e.addEventListener(t,r,n)}function Iae(e,t,r,n){e.removeEventListener(t,r,n)}const GC=Symbol("_vei");function kae(e,t,r,n,o=null){const i=e[GC]||(e[GC]={}),a=i[t];if(n&&a)a.value=n;else{const[l,u]=Mae(t);if(n){const c=i[t]=$ae(n,o);Gn(e,l,c,u)}else a&&(Iae(e,l,a,u),i[t]=void 0)}}const KC=/(?:Once|Passive|Capture)$/;function Mae(e){let t;if(KC.test(e)){t={};let n;for(;n=e.match(KC);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):gr(e.slice(2)),t]}let dm=0;const qae=Promise.resolve(),jae=()=>dm||(qae.then(()=>dm=0),dm=Date.now());function $ae(e,t){const r=n=>{if(!n._vts)n._vts=Date.now();else if(n._vts<=r.attached)return;Gr(Lae(n,r.value),t,5,[n])};return r.value=e,r.attached=jae(),r}function Lae(e,t){if(ye(t)){const r=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{r.call(e),e._stopped=!0},t.map(n=>o=>!o._stopped&&n&&n(o))}else return t}const YC=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Fae=(e,t,r,n,o,i)=>{const a=o==="svg";t==="class"?_ae(e,n,a):t==="style"?Rae(e,r,n):Yi(t)?oS(t)||kae(e,t,r,n,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Dae(e,t,n,a))?(WC(e,t,n),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&zC(e,t,n,a,i,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!Te(n))?WC(e,lt(t),n,i,t):(t==="true-value"?e._trueValue=n:t==="false-value"&&(e._falseValue=n),zC(e,t,n,a))};function Dae(e,t,r,n){if(n)return!!(t==="innerHTML"||t==="textContent"||t in e&&YC(t)&&xe(r));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="autocorrect"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const o=e.tagName;if(o==="IMG"||o==="VIDEO"||o==="CANVAS"||o==="SOURCE")return!1}return YC(t)&&Te(r)?!1:t in e}const XC={};/*! #__NO_SIDE_EFFECTS__ */function LU(e,t,r){const n=bS(e,t);sh(n)&&Me(n,t);class o extends _h{constructor(a){super(n,a,r)}}return o.def=n,o}/*! #__NO_SIDE_EFFECTS__ */const Bae=(e,t)=>LU(e,t,YU),Uae=typeof HTMLElement<"u"?HTMLElement:class{};class _h extends Uae{constructor(t,r={},n=ap){super(),this._def=t,this._props=r,this._createApp=n,this._isVueCE=!0,this._instance=null,this._app=null,this._nonce=this._def.nonce,this._connected=!1,this._resolved=!1,this._numberProps=null,this._styleChildren=new WeakSet,this._ob=null,this.shadowRoot&&n!==ap?this._root=this.shadowRoot:t.shadowRoot!==!1?(this.attachShadow({mode:"open"}),this._root=this.shadowRoot):this._root=this}connectedCallback(){if(!this.isConnected)return;!this.shadowRoot&&!this._resolved&&this._parseSlots(),this._connected=!0;let t=this;for(;t=t&&(t.parentNode||t.host);)if(t instanceof _h){this._parent=t;break}this._instance||(this._resolved?this._mount(this._def):t&&t._pendingResolve?this._pendingResolve=t._pendingResolve.then(()=>{this._pendingResolve=void 0,this._resolveDef()}):this._resolveDef())}_setParent(t=this._parent){t&&(this._instance.parent=t._instance,this._inheritParentContext(t))}_inheritParentContext(t=this._parent){t&&this._app&&Object.setPrototypeOf(this._app._context.provides,t._instance.provides)}disconnectedCallback(){this._connected=!1,gh(()=>{this._connected||(this._ob&&(this._ob.disconnect(),this._ob=null),this._app&&this._app.unmount(),this._instance&&(this._instance.ce=void 0),this._app=this._instance=null)})}_resolveDef(){if(this._pendingResolve)return;for(let n=0;n<this.attributes.length;n++)this._setAttr(this.attributes[n].name);this._ob=new MutationObserver(n=>{for(const o of n)this._setAttr(o.attributeName)}),this._ob.observe(this,{attributes:!0});const t=(n,o=!1)=>{this._resolved=!0,this._pendingResolve=void 0;const{props:i,styles:a}=n;let l;if(i&&!ye(i))for(const u in i){const c=i[u];(c===Number||c&&c.type===Number)&&(u in this._props&&(this._props[u]=Vd(this._props[u])),(l||(l=Object.create(null)))[lt(u)]=!0)}this._numberProps=l,this._resolveProps(n),this.shadowRoot&&this._applyStyles(a),this._mount(n)},r=this._def.__asyncLoader;r?this._pendingResolve=r().then(n=>{n.configureApp=this._def.configureApp,t(this._def=n,!0)}):t(this._def)}_mount(t){this._app=this._createApp(t),this._inheritParentContext(),t.configureApp&&t.configureApp(this._app),this._app._ceVNode=this._createVNode(),this._app.mount(this._root);const r=this._instance&&this._instance.exposed;if(r)for(const n in r)He(this,n)||Object.defineProperty(this,n,{get:()=>yh(r[n])})}_resolveProps(t){const{props:r}=t,n=ye(r)?r:Object.keys(r||{});for(const o of Object.keys(this))o[0]!=="_"&&n.includes(o)&&this._setProp(o,this[o]);for(const o of n.map(lt))Object.defineProperty(this,o,{get(){return this._getProp(o)},set(i){this._setProp(o,i,!0,!0)}})}_setAttr(t){if(t.startsWith("data-v-"))return;const r=this.hasAttribute(t);let n=r?this.getAttribute(t):XC;const o=lt(t);r&&this._numberProps&&this._numberProps[o]&&(n=Vd(n)),this._setProp(o,n,!1,!0)}_getProp(t){return this._props[t]}_setProp(t,r,n=!0,o=!1){if(r!==this._props[t]&&(r===XC?delete this._props[t]:(this._props[t]=r,t==="key"&&this._app&&(this._app._ceVNode.key=r)),o&&this._instance&&this._update(),n)){const i=this._ob;i&&i.disconnect(),r===!0?this.setAttribute(gr(t),""):typeof r=="string"||typeof r=="number"?this.setAttribute(gr(t),r+""):r||this.removeAttribute(gr(t)),i&&i.observe(this,{attributes:!0})}}_update(){const t=this._createVNode();this._app&&(t.appContext=this._app._context),KU(t,this._root)}_createVNode(){const t={};this.shadowRoot||(t.onVnodeMounted=t.onVnodeUpdated=this._renderSlots.bind(this));const r=st(this._def,Me(t,this._props));return this._instance||(r.ce=n=>{this._instance=n,n.ce=this,n.isCE=!0;const o=(i,a)=>{this.dispatchEvent(new CustomEvent(i,sh(a[0])?Me({detail:a},a[0]):{detail:a}))};n.emit=(i,...a)=>{o(i,a),gr(i)!==i&&o(gr(i),a)},this._setParent()}),r}_applyStyles(t,r){if(!t)return;if(r){if(r===this._def||this._styleChildren.has(r))return;this._styleChildren.add(r)}const n=this._nonce;for(let o=t.length-1;o>=0;o--){const i=document.createElement("style");n&&i.setAttribute("nonce",n),i.textContent=t[o],this.shadowRoot.prepend(i)}}_parseSlots(){const t=this._slots={};let r;for(;r=this.firstChild;){const n=r.nodeType===1&&r.getAttribute("slot")||"default";(t[n]||(t[n]=[])).push(r),this.removeChild(r)}}_renderSlots(){const t=(this._teleportTarget||this).querySelectorAll("slot"),r=this._instance.type.__scopeId;for(let n=0;n<t.length;n++){const o=t[n],i=o.getAttribute("name")||"default",a=this._slots[i],l=o.parentNode;if(a)for(const u of a){if(r&&u.nodeType===1){const c=r+"-s",d=document.createTreeWalker(u,1);u.setAttribute(c,"");let p;for(;p=d.nextNode();)p.setAttribute(c,"")}l.insertBefore(u,o)}else for(;o.firstChild;)l.insertBefore(o.firstChild,o);l.removeChild(o)}}_injectChildStyle(t){this._applyStyles(t.styles,t)}_removeChildStyle(t){}}function FU(e){const t=Kr(),r=t&&t.ce;return r||null}function Hae(){const e=FU();return e&&e.shadowRoot}function Vae(e="$style"){{const t=Kr();if(!t)return ke;const r=t.type.__cssModules;if(!r)return ke;const n=r[e];return n||ke}}const DU=new WeakMap,BU=new WeakMap,op=Symbol("_moveCb"),QC=Symbol("_enterCb"),Jae=e=>(delete e.props.mode,e),zae=Jae({name:"TransitionGroup",props:Me({},IU,{tag:String,moveClass:String}),setup(e,{slots:t}){const r=Kr(),n=yS();let o,i;return Eh(()=>{if(!o.length)return;const a=e.moveClass||`${e.name||"v"}-move`;if(!Xae(o[0].el,r.vnode.el,a)){o=[];return}o.forEach(Gae),o.forEach(Kae);const l=o.filter(Yae);Gg(),l.forEach(u=>{const c=u.el,d=c.style;gn(c,a),d.transform=d.webkitTransform=d.transitionDuration="";const p=c[op]=h=>{h&&h.target!==c||(!h||/transform$/.test(h.propertyName))&&(c.removeEventListener("transitionend",p),c[op]=null,xo(c,a))};c.addEventListener("transitionend",p)}),o=[]}),()=>{const a=Le(e),l=kU(a);let u=a.tag||Ut;if(o=[],i)for(let c=0;c<i.length;c++){const d=i[c];d.el&&d.el instanceof Element&&(o.push(d),ao(d,ss(d,l,n,r)),DU.set(d,d.el.getBoundingClientRect()))}i=t.default?vh(t.default()):[];for(let c=0;c<i.length;c++){const d=i[c];d.key!=null&&ao(d,ss(d,l,n,r))}return st(u,null,i)}}}),Wae=zae;function Gae(e){const t=e.el;t[op]&&t[op](),t[QC]&&t[QC]()}function Kae(e){BU.set(e,e.el.getBoundingClientRect())}function Yae(e){const t=DU.get(e),r=BU.get(e),n=t.left-r.left,o=t.top-r.top;if(n||o){const i=e.el.style;return i.transform=i.webkitTransform=`translate(${n}px,${o}px)`,i.transitionDuration="0s",e}}function Xae(e,t,r){const n=e.cloneNode(),o=e[us];o&&o.forEach(l=>{l.split(/\s+/).forEach(u=>u&&n.classList.remove(u))}),r.split(/\s+/).forEach(l=>l&&n.classList.add(l)),n.style.display="none";const i=t.nodeType===1?t:t.parentNode;i.appendChild(n);const{hasTransform:a}=MU(n);return i.removeChild(n),a}const Wo=e=>{const t=e.props["onUpdate:modelValue"]||!1;return ye(t)?r=>ja(t,r):t};function Qae(e){e.target.composing=!0}function ZC(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Jr=Symbol("_assign"),ip={created(e,{modifiers:{lazy:t,trim:r,number:n}},o){e[Jr]=Wo(o);const i=n||o.props&&o.props.type==="number";Gn(e,t?"change":"input",a=>{if(a.target.composing)return;let l=e.value;r&&(l=l.trim()),i&&(l=Hd(l)),e[Jr](l)}),r&&Gn(e,"change",()=>{e.value=e.value.trim()}),t||(Gn(e,"compositionstart",Qae),Gn(e,"compositionend",ZC),Gn(e,"change",ZC))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:r,modifiers:{lazy:n,trim:o,number:i}},a){if(e[Jr]=Wo(a),e.composing)return;const l=(i||e.type==="number")&&!/^0\d/.test(e.value)?Hd(e.value):e.value,u=t??"";l!==u&&(document.activeElement===e&&e.type!=="range"&&(n&&t===r||o&&e.value.trim()===u)||(e.value=u))}},NS={deep:!0,created(e,t,r){e[Jr]=Wo(r),Gn(e,"change",()=>{const n=e._modelValue,o=cs(e),i=e.checked,a=e[Jr];if(ye(n)){const l=ch(n,o),u=l!==-1;if(i&&!u)a(n.concat(o));else if(!i&&u){const c=[...n];c.splice(l,1),a(c)}}else if(Xi(n)){const l=new Set(n);i?l.add(o):l.delete(o),a(l)}else a(HU(e,i))})},mounted:e_,beforeUpdate(e,t,r){e[Jr]=Wo(r),e_(e,t,r)}};function e_(e,{value:t,oldValue:r},n){e._modelValue=t;let o;if(ye(t))o=ch(t,n.props.value)>-1;else if(Xi(t))o=t.has(n.props.value);else{if(t===r)return;o=zo(t,HU(e,!0))}e.checked!==o&&(e.checked=o)}const IS={created(e,{value:t},r){e.checked=zo(t,r.props.value),e[Jr]=Wo(r),Gn(e,"change",()=>{e[Jr](cs(e))})},beforeUpdate(e,{value:t,oldValue:r},n){e[Jr]=Wo(n),t!==r&&(e.checked=zo(t,n.props.value))}},UU={deep:!0,created(e,{value:t,modifiers:{number:r}},n){const o=Xi(t);Gn(e,"change",()=>{const i=Array.prototype.filter.call(e.options,a=>a.selected).map(a=>r?Hd(cs(a)):cs(a));e[Jr](e.multiple?o?new Set(i):i:i[0]),e._assigning=!0,gh(()=>{e._assigning=!1})}),e[Jr]=Wo(n)},mounted(e,{value:t}){t_(e,t)},beforeUpdate(e,t,r){e[Jr]=Wo(r)},updated(e,{value:t}){e._assigning||t_(e,t)}};function t_(e,t){const r=e.multiple,n=ye(t);if(!(r&&!n&&!Xi(t))){for(let o=0,i=e.options.length;o<i;o++){const a=e.options[o],l=cs(a);if(r)if(n){const u=typeof l;u==="string"||u==="number"?a.selected=t.some(c=>String(c)===String(l)):a.selected=ch(t,l)>-1}else a.selected=t.has(l);else if(zo(cs(a),t)){e.selectedIndex!==o&&(e.selectedIndex=o);return}}!r&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function cs(e){return"_value"in e?e._value:e.value}function HU(e,t){const r=t?"_trueValue":"_falseValue";return r in e?e[r]:t}const VU={created(e,t,r){dc(e,t,r,null,"created")},mounted(e,t,r){dc(e,t,r,null,"mounted")},beforeUpdate(e,t,r,n){dc(e,t,r,n,"beforeUpdate")},updated(e,t,r,n){dc(e,t,r,n,"updated")}};function JU(e,t){switch(e){case"SELECT":return UU;case"TEXTAREA":return ip;default:switch(t){case"checkbox":return NS;case"radio":return IS;default:return ip}}}function dc(e,t,r,n,o){const a=JU(e.tagName,r.props&&r.props.type)[o];a&&a(e,t,r,n)}function Zae(){ip.getSSRProps=({value:e})=>({value:e}),IS.getSSRProps=({value:e},t)=>{if(t.props&&zo(t.props.value,e))return{checked:!0}},NS.getSSRProps=({value:e},t)=>{if(ye(e)){if(t.props&&ch(e,t.props.value)>-1)return{checked:!0}}else if(Xi(e)){if(t.props&&e.has(t.props.value))return{checked:!0}}else if(e)return{checked:!0}},VU.getSSRProps=(e,t)=>{if(typeof t.type!="string")return;const r=JU(t.type.toUpperCase(),t.props&&t.props.type);if(r.getSSRProps)return r.getSSRProps(e,t)}}const ese=["ctrl","shift","alt","meta"],tse={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>ese.some(r=>e[`${r}Key`]&&!t.includes(r))},rse=(e,t)=>{const r=e._withMods||(e._withMods={}),n=t.join(".");return r[n]||(r[n]=(o,...i)=>{for(let a=0;a<t.length;a++){const l=tse[t[a]];if(l&&l(o,t))return}return e(o,...i)})},nse={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},ose=(e,t)=>{const r=e._withKeys||(e._withKeys={}),n=t.join(".");return r[n]||(r[n]=o=>{if(!("key"in o))return;const i=gr(o.key);if(t.some(a=>a===i||nse[a]===i))return e(o)})},zU=Me({patchProp:Fae},Eae);let Cl,r_=!1;function WU(){return Cl||(Cl=nU(zU))}function GU(){return Cl=r_?Cl:oU(zU),r_=!0,Cl}const KU=(...e)=>{WU().render(...e)},ise=(...e)=>{GU().hydrate(...e)},ap=(...e)=>{const t=WU().createApp(...e),{mount:r}=t;return t.mount=n=>{const o=QU(n);if(!o)return;const i=t._component;!xe(i)&&!i.render&&!i.template&&(i.template=o.innerHTML),o.nodeType===1&&(o.textContent="");const a=r(o,!1,XU(o));return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),a},t},YU=(...e)=>{const t=GU().createApp(...e),{mount:r}=t;return t.mount=n=>{const o=QU(n);if(o)return r(o,!0,XU(o))},t};function XU(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function QU(e){return Te(e)?document.querySelector(e):e}let n_=!1;const ase=()=>{n_||(n_=!0,Zae(),Pae())},sse=Object.freeze(Object.defineProperty({__proto__:null,BaseTransition:M2,BaseTransitionPropsValidators:gS,Comment:Ct,DeprecationTypes:bae,EffectScope:lS,ErrorCodes:xoe,ErrorTypeStrings:dae,Fragment:Ut,KeepAlive:Yoe,ReactiveEffect:Ql,Static:Ci,Suspense:Jie,Teleport:Ioe,Text:Fo,TrackOpTypes:yoe,Transition:xae,TransitionGroup:Wae,TriggerOpTypes:goe,VueElement:_h,assertNumber:Soe,callWithAsyncErrorHandling:Gr,callWithErrorHandling:Rs,camelize:lt,capitalize:Qi,cloneVNode:Pn,compatUtils:gae,computed:PU,createApp:ap,createBlock:Zd,createCommentVNode:tae,createElementBlock:Xie,createElementVNode:OS,createHydrationRenderer:oU,createPropsRestProxy:bie,createRenderer:nU,createSSRApp:YU,createSlots:nie,createStaticVNode:eae,createTextVNode:AS,createVNode:st,customRef:w2,defineAsyncComponent:Goe,defineComponent:bS,defineCustomElement:LU,defineEmits:lie,defineExpose:uie,defineModel:pie,defineOptions:cie,defineProps:sie,defineSSRCustomElement:Bae,defineSlots:die,devtools:pae,effect:Lne,effectScope:qne,getCurrentInstance:Kr,getCurrentScope:e2,getCurrentWatcher:boe,getTransitionRawChildren:vh,guardReactiveProps:vU,h:ea,handleError:Zi,hasInjectionContext:Pie,hydrate:ise,hydrateOnIdle:Uoe,hydrateOnInteraction:zoe,hydrateOnMediaQuery:Joe,hydrateOnVisible:Voe,initCustomFormatter:lae,initDirectivesForSSR:ase,inject:xl,isMemoSame:OU,isProxy:mh,isReactive:eo,isReadonly:io,isRef:Ft,isRuntimeOnly:iae,isShallow:Nr,isVNode:un,markRaw:g2,mergeDefaults:yie,mergeModels:gie,mergeProps:wU,nextTick:gh,normalizeClass:Fu,normalizeProps:xne,normalizeStyle:Lu,onActivated:j2,onBeforeMount:F2,onBeforeUnmount:Sh,onBeforeUpdate:wS,onDeactivated:$2,onErrorCaptured:H2,onMounted:Bu,onRenderTracked:U2,onRenderTriggered:B2,onScopeDispose:jne,onServerPrefetch:D2,onUnmounted:xh,onUpdated:Eh,onWatcherCleanup:S2,openBlock:au,popScopeId:Ooe,provide:G2,proxyRefs:fS,pushScopeId:Poe,queuePostFlushCb:tu,reactive:Fi,readonly:pS,ref:wl,registerRuntimeCompiler:TU,render:KU,renderList:rie,renderSlot:oie,resolveComponent:Zoe,resolveDirective:tie,resolveDynamicComponent:eie,resolveFilter:yae,resolveTransitionHooks:ss,setBlockTracking:Bg,setDevtoolsHook:fae,setTransitionHooks:ao,shallowReactive:y2,shallowReadonly:ooe,shallowRef:b2,ssrContextKey:lU,ssrUtils:mae,stop:Fne,toDisplayString:QB,toHandlerKey:qa,toHandlers:iie,toRaw:Le,toRef:foe,toRefs:coe,toValue:soe,transformVNodeArgs:Qie,triggerRef:aoe,unref:yh,useAttrs:mie,useCssModule:Vae,useCssVars:Oae,useHost:FU,useId:Moe,useModel:Lie,useSSRContext:uU,useShadowRoot:Hae,useSlots:hie,useTemplateRef:qoe,useTransitionState:yS,vModelCheckbox:NS,vModelDynamic:VU,vModelRadio:IS,vModelSelect:UU,vModelText:ip,vShow:jU,version:AU,warn:cae,watch:Fa,watchEffect:qie,watchPostEffect:jie,watchSyncEffect:cU,withAsyncContext:vie,withCtx:mS,withDefaults:fie,withDirectives:Roe,withKeys:ose,withMemo:uae,withModifiers:rse,withScopeId:Aoe},Symbol.toStringTag,{value:"Module"}));/**
|
|
1089
|
-
* @vue/compiler-core v3.5.17
|
|
1090
|
-
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
1091
|
-
* @license MIT
|
|
1092
|
-
**/const su=Symbol(""),_l=Symbol(""),kS=Symbol(""),sp=Symbol(""),ZU=Symbol(""),Ui=Symbol(""),eH=Symbol(""),tH=Symbol(""),MS=Symbol(""),qS=Symbol(""),Vu=Symbol(""),jS=Symbol(""),rH=Symbol(""),$S=Symbol(""),LS=Symbol(""),FS=Symbol(""),DS=Symbol(""),BS=Symbol(""),US=Symbol(""),nH=Symbol(""),oH=Symbol(""),Ph=Symbol(""),lp=Symbol(""),HS=Symbol(""),VS=Symbol(""),lu=Symbol(""),Ju=Symbol(""),JS=Symbol(""),Yg=Symbol(""),lse=Symbol(""),Xg=Symbol(""),up=Symbol(""),use=Symbol(""),cse=Symbol(""),zS=Symbol(""),dse=Symbol(""),pse=Symbol(""),WS=Symbol(""),iH=Symbol(""),ds={[su]:"Fragment",[_l]:"Teleport",[kS]:"Suspense",[sp]:"KeepAlive",[ZU]:"BaseTransition",[Ui]:"openBlock",[eH]:"createBlock",[tH]:"createElementBlock",[MS]:"createVNode",[qS]:"createElementVNode",[Vu]:"createCommentVNode",[jS]:"createTextVNode",[rH]:"createStaticVNode",[$S]:"resolveComponent",[LS]:"resolveDynamicComponent",[FS]:"resolveDirective",[DS]:"resolveFilter",[BS]:"withDirectives",[US]:"renderList",[nH]:"renderSlot",[oH]:"createSlots",[Ph]:"toDisplayString",[lp]:"mergeProps",[HS]:"normalizeClass",[VS]:"normalizeStyle",[lu]:"normalizeProps",[Ju]:"guardReactiveProps",[JS]:"toHandlers",[Yg]:"camelize",[lse]:"capitalize",[Xg]:"toHandlerKey",[up]:"setBlockTracking",[use]:"pushScopeId",[cse]:"popScopeId",[zS]:"withCtx",[dse]:"unref",[pse]:"isRef",[WS]:"withMemo",[iH]:"isMemoSame"};function fse(e){Object.getOwnPropertySymbols(e).forEach(t=>{ds[t]=e[t]})}const jr={start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0},source:""};function hse(e,t=""){return{type:0,source:t,children:e,helpers:new Set,components:[],directives:[],hoists:[],imports:[],cached:[],temps:0,codegenNode:void 0,loc:jr}}function uu(e,t,r,n,o,i,a,l=!1,u=!1,c=!1,d=jr){return e&&(l?(e.helper(Ui),e.helper(hs(e.inSSR,c))):e.helper(fs(e.inSSR,c)),a&&e.helper(BS)),{type:13,tag:t,props:r,children:n,patchFlag:o,dynamicProps:i,directives:a,isBlock:l,disableTracking:u,isComponent:c,loc:d}}function _i(e,t=jr){return{type:17,loc:t,elements:e}}function Hr(e,t=jr){return{type:15,loc:t,properties:e}}function Et(e,t){return{type:16,loc:jr,key:Te(e)?_e(e,!0):e,value:t}}function _e(e,t=!1,r=jr,n=0){return{type:4,loc:r,content:e,isStatic:t,constType:t?3:n}}function ln(e,t=jr){return{type:8,loc:t,children:e}}function Mt(e,t=[],r=jr){return{type:14,loc:r,callee:e,arguments:t}}function ps(e,t=void 0,r=!1,n=!1,o=jr){return{type:18,params:e,returns:t,newline:r,isSlot:n,loc:o}}function Qg(e,t,r,n=!0){return{type:19,test:e,consequent:t,alternate:r,newline:n,loc:jr}}function mse(e,t,r=!1,n=!1){return{type:20,index:e,value:t,needPauseTracking:r,inVOnce:n,needArraySpread:!1,loc:jr}}function yse(e){return{type:21,body:e,loc:jr}}function fs(e,t){return e||t?MS:qS}function hs(e,t){return e||t?eH:tH}function GS(e,{helper:t,removeHelper:r,inSSR:n}){e.isBlock||(e.isBlock=!0,r(fs(n,e.isComponent)),t(Ui),t(hs(n,e.isComponent)))}const o_=new Uint8Array([123,123]),i_=new Uint8Array([125,125]);function a_(e){return e>=97&&e<=122||e>=65&&e<=90}function Or(e){return e===32||e===10||e===9||e===12||e===13}function bo(e){return e===47||e===62||Or(e)}function cp(e){const t=new Uint8Array(e.length);for(let r=0;r<e.length;r++)t[r]=e.charCodeAt(r);return t}const tr={Cdata:new Uint8Array([67,68,65,84,65,91]),CdataEnd:new Uint8Array([93,93,62]),CommentEnd:new Uint8Array([45,45,62]),ScriptEnd:new Uint8Array([60,47,115,99,114,105,112,116]),StyleEnd:new Uint8Array([60,47,115,116,121,108,101]),TitleEnd:new Uint8Array([60,47,116,105,116,108,101]),TextareaEnd:new Uint8Array([60,47,116,101,120,116,97,114,101,97])};class gse{constructor(t,r){this.stack=t,this.cbs=r,this.state=1,this.buffer="",this.sectionStart=0,this.index=0,this.entityStart=0,this.baseState=1,this.inRCDATA=!1,this.inXML=!1,this.inVPre=!1,this.newlines=[],this.mode=0,this.delimiterOpen=o_,this.delimiterClose=i_,this.delimiterIndex=-1,this.currentSequence=void 0,this.sequenceIndex=0}get inSFCRoot(){return this.mode===2&&this.stack.length===0}reset(){this.state=1,this.mode=0,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=1,this.inRCDATA=!1,this.currentSequence=void 0,this.newlines.length=0,this.delimiterOpen=o_,this.delimiterClose=i_}getPos(t){let r=1,n=t+1;for(let o=this.newlines.length-1;o>=0;o--){const i=this.newlines[o];if(t>i){r=o+2,n=t-i;break}}return{column:n,line:r,offset:t}}peek(){return this.buffer.charCodeAt(this.index+1)}stateText(t){t===60?(this.index>this.sectionStart&&this.cbs.ontext(this.sectionStart,this.index),this.state=5,this.sectionStart=this.index):!this.inVPre&&t===this.delimiterOpen[0]&&(this.state=2,this.delimiterIndex=0,this.stateInterpolationOpen(t))}stateInterpolationOpen(t){if(t===this.delimiterOpen[this.delimiterIndex])if(this.delimiterIndex===this.delimiterOpen.length-1){const r=this.index+1-this.delimiterOpen.length;r>this.sectionStart&&this.cbs.ontext(this.sectionStart,r),this.state=3,this.sectionStart=r}else this.delimiterIndex++;else this.inRCDATA?(this.state=32,this.stateInRCDATA(t)):(this.state=1,this.stateText(t))}stateInterpolation(t){t===this.delimiterClose[0]&&(this.state=4,this.delimiterIndex=0,this.stateInterpolationClose(t))}stateInterpolationClose(t){t===this.delimiterClose[this.delimiterIndex]?this.delimiterIndex===this.delimiterClose.length-1?(this.cbs.oninterpolation(this.sectionStart,this.index+1),this.inRCDATA?this.state=32:this.state=1,this.sectionStart=this.index+1):this.delimiterIndex++:(this.state=3,this.stateInterpolation(t))}stateSpecialStartSequence(t){const r=this.sequenceIndex===this.currentSequence.length;if(!(r?bo(t):(t|32)===this.currentSequence[this.sequenceIndex]))this.inRCDATA=!1;else if(!r){this.sequenceIndex++;return}this.sequenceIndex=0,this.state=6,this.stateInTagName(t)}stateInRCDATA(t){if(this.sequenceIndex===this.currentSequence.length){if(t===62||Or(t)){const r=this.index-this.currentSequence.length;if(this.sectionStart<r){const n=this.index;this.index=r,this.cbs.ontext(this.sectionStart,r),this.index=n}this.sectionStart=r+2,this.stateInClosingTagName(t),this.inRCDATA=!1;return}this.sequenceIndex=0}(t|32)===this.currentSequence[this.sequenceIndex]?this.sequenceIndex+=1:this.sequenceIndex===0?this.currentSequence===tr.TitleEnd||this.currentSequence===tr.TextareaEnd&&!this.inSFCRoot?!this.inVPre&&t===this.delimiterOpen[0]&&(this.state=2,this.delimiterIndex=0,this.stateInterpolationOpen(t)):this.fastForwardTo(60)&&(this.sequenceIndex=1):this.sequenceIndex=+(t===60)}stateCDATASequence(t){t===tr.Cdata[this.sequenceIndex]?++this.sequenceIndex===tr.Cdata.length&&(this.state=28,this.currentSequence=tr.CdataEnd,this.sequenceIndex=0,this.sectionStart=this.index+1):(this.sequenceIndex=0,this.state=23,this.stateInDeclaration(t))}fastForwardTo(t){for(;++this.index<this.buffer.length;){const r=this.buffer.charCodeAt(this.index);if(r===10&&this.newlines.push(this.index),r===t)return!0}return this.index=this.buffer.length-1,!1}stateInCommentLike(t){t===this.currentSequence[this.sequenceIndex]?++this.sequenceIndex===this.currentSequence.length&&(this.currentSequence===tr.CdataEnd?this.cbs.oncdata(this.sectionStart,this.index-2):this.cbs.oncomment(this.sectionStart,this.index-2),this.sequenceIndex=0,this.sectionStart=this.index+1,this.state=1):this.sequenceIndex===0?this.fastForwardTo(this.currentSequence[0])&&(this.sequenceIndex=1):t!==this.currentSequence[this.sequenceIndex-1]&&(this.sequenceIndex=0)}startSpecial(t,r){this.enterRCDATA(t,r),this.state=31}enterRCDATA(t,r){this.inRCDATA=!0,this.currentSequence=t,this.sequenceIndex=r}stateBeforeTagName(t){t===33?(this.state=22,this.sectionStart=this.index+1):t===63?(this.state=24,this.sectionStart=this.index+1):a_(t)?(this.sectionStart=this.index,this.mode===0?this.state=6:this.inSFCRoot?this.state=34:this.inXML?this.state=6:t===116?this.state=30:this.state=t===115?29:6):t===47?this.state=8:(this.state=1,this.stateText(t))}stateInTagName(t){bo(t)&&this.handleTagName(t)}stateInSFCRootTagName(t){if(bo(t)){const r=this.buffer.slice(this.sectionStart,this.index);r!=="template"&&this.enterRCDATA(cp("</"+r),0),this.handleTagName(t)}}handleTagName(t){this.cbs.onopentagname(this.sectionStart,this.index),this.sectionStart=-1,this.state=11,this.stateBeforeAttrName(t)}stateBeforeClosingTagName(t){Or(t)||(t===62?(this.state=1,this.sectionStart=this.index+1):(this.state=a_(t)?9:27,this.sectionStart=this.index))}stateInClosingTagName(t){(t===62||Or(t))&&(this.cbs.onclosetag(this.sectionStart,this.index),this.sectionStart=-1,this.state=10,this.stateAfterClosingTagName(t))}stateAfterClosingTagName(t){t===62&&(this.state=1,this.sectionStart=this.index+1)}stateBeforeAttrName(t){t===62?(this.cbs.onopentagend(this.index),this.inRCDATA?this.state=32:this.state=1,this.sectionStart=this.index+1):t===47?this.state=7:t===60&&this.peek()===47?(this.cbs.onopentagend(this.index),this.state=5,this.sectionStart=this.index):Or(t)||this.handleAttrStart(t)}handleAttrStart(t){t===118&&this.peek()===45?(this.state=13,this.sectionStart=this.index):t===46||t===58||t===64||t===35?(this.cbs.ondirname(this.index,this.index+1),this.state=14,this.sectionStart=this.index+1):(this.state=12,this.sectionStart=this.index)}stateInSelfClosingTag(t){t===62?(this.cbs.onselfclosingtag(this.index),this.state=1,this.sectionStart=this.index+1,this.inRCDATA=!1):Or(t)||(this.state=11,this.stateBeforeAttrName(t))}stateInAttrName(t){(t===61||bo(t))&&(this.cbs.onattribname(this.sectionStart,this.index),this.handleAttrNameEnd(t))}stateInDirName(t){t===61||bo(t)?(this.cbs.ondirname(this.sectionStart,this.index),this.handleAttrNameEnd(t)):t===58?(this.cbs.ondirname(this.sectionStart,this.index),this.state=14,this.sectionStart=this.index+1):t===46&&(this.cbs.ondirname(this.sectionStart,this.index),this.state=16,this.sectionStart=this.index+1)}stateInDirArg(t){t===61||bo(t)?(this.cbs.ondirarg(this.sectionStart,this.index),this.handleAttrNameEnd(t)):t===91?this.state=15:t===46&&(this.cbs.ondirarg(this.sectionStart,this.index),this.state=16,this.sectionStart=this.index+1)}stateInDynamicDirArg(t){t===93?this.state=14:(t===61||bo(t))&&(this.cbs.ondirarg(this.sectionStart,this.index+1),this.handleAttrNameEnd(t))}stateInDirModifier(t){t===61||bo(t)?(this.cbs.ondirmodifier(this.sectionStart,this.index),this.handleAttrNameEnd(t)):t===46&&(this.cbs.ondirmodifier(this.sectionStart,this.index),this.sectionStart=this.index+1)}handleAttrNameEnd(t){this.sectionStart=this.index,this.state=17,this.cbs.onattribnameend(this.index),this.stateAfterAttrName(t)}stateAfterAttrName(t){t===61?this.state=18:t===47||t===62?(this.cbs.onattribend(0,this.sectionStart),this.sectionStart=-1,this.state=11,this.stateBeforeAttrName(t)):Or(t)||(this.cbs.onattribend(0,this.sectionStart),this.handleAttrStart(t))}stateBeforeAttrValue(t){t===34?(this.state=19,this.sectionStart=this.index+1):t===39?(this.state=20,this.sectionStart=this.index+1):Or(t)||(this.sectionStart=this.index,this.state=21,this.stateInAttrValueNoQuotes(t))}handleInAttrValue(t,r){(t===r||this.fastForwardTo(r))&&(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(r===34?3:2,this.index+1),this.state=11)}stateInAttrValueDoubleQuotes(t){this.handleInAttrValue(t,34)}stateInAttrValueSingleQuotes(t){this.handleInAttrValue(t,39)}stateInAttrValueNoQuotes(t){Or(t)||t===62?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(1,this.index),this.state=11,this.stateBeforeAttrName(t)):(t===39||t===60||t===61||t===96)&&this.cbs.onerr(18,this.index)}stateBeforeDeclaration(t){t===91?(this.state=26,this.sequenceIndex=0):this.state=t===45?25:23}stateInDeclaration(t){(t===62||this.fastForwardTo(62))&&(this.state=1,this.sectionStart=this.index+1)}stateInProcessingInstruction(t){(t===62||this.fastForwardTo(62))&&(this.cbs.onprocessinginstruction(this.sectionStart,this.index),this.state=1,this.sectionStart=this.index+1)}stateBeforeComment(t){t===45?(this.state=28,this.currentSequence=tr.CommentEnd,this.sequenceIndex=2,this.sectionStart=this.index+1):this.state=23}stateInSpecialComment(t){(t===62||this.fastForwardTo(62))&&(this.cbs.oncomment(this.sectionStart,this.index),this.state=1,this.sectionStart=this.index+1)}stateBeforeSpecialS(t){t===tr.ScriptEnd[3]?this.startSpecial(tr.ScriptEnd,4):t===tr.StyleEnd[3]?this.startSpecial(tr.StyleEnd,4):(this.state=6,this.stateInTagName(t))}stateBeforeSpecialT(t){t===tr.TitleEnd[3]?this.startSpecial(tr.TitleEnd,4):t===tr.TextareaEnd[3]?this.startSpecial(tr.TextareaEnd,4):(this.state=6,this.stateInTagName(t))}startEntity(){}stateInEntity(){}parse(t){for(this.buffer=t;this.index<this.buffer.length;){const r=this.buffer.charCodeAt(this.index);switch(r===10&&this.state!==33&&this.newlines.push(this.index),this.state){case 1:{this.stateText(r);break}case 2:{this.stateInterpolationOpen(r);break}case 3:{this.stateInterpolation(r);break}case 4:{this.stateInterpolationClose(r);break}case 31:{this.stateSpecialStartSequence(r);break}case 32:{this.stateInRCDATA(r);break}case 26:{this.stateCDATASequence(r);break}case 19:{this.stateInAttrValueDoubleQuotes(r);break}case 12:{this.stateInAttrName(r);break}case 13:{this.stateInDirName(r);break}case 14:{this.stateInDirArg(r);break}case 15:{this.stateInDynamicDirArg(r);break}case 16:{this.stateInDirModifier(r);break}case 28:{this.stateInCommentLike(r);break}case 27:{this.stateInSpecialComment(r);break}case 11:{this.stateBeforeAttrName(r);break}case 6:{this.stateInTagName(r);break}case 34:{this.stateInSFCRootTagName(r);break}case 9:{this.stateInClosingTagName(r);break}case 5:{this.stateBeforeTagName(r);break}case 17:{this.stateAfterAttrName(r);break}case 20:{this.stateInAttrValueSingleQuotes(r);break}case 18:{this.stateBeforeAttrValue(r);break}case 8:{this.stateBeforeClosingTagName(r);break}case 10:{this.stateAfterClosingTagName(r);break}case 29:{this.stateBeforeSpecialS(r);break}case 30:{this.stateBeforeSpecialT(r);break}case 21:{this.stateInAttrValueNoQuotes(r);break}case 7:{this.stateInSelfClosingTag(r);break}case 23:{this.stateInDeclaration(r);break}case 22:{this.stateBeforeDeclaration(r);break}case 25:{this.stateBeforeComment(r);break}case 24:{this.stateInProcessingInstruction(r);break}case 33:{this.stateInEntity();break}}this.index++}this.cleanup(),this.finish()}cleanup(){this.sectionStart!==this.index&&(this.state===1||this.state===32&&this.sequenceIndex===0?(this.cbs.ontext(this.sectionStart,this.index),this.sectionStart=this.index):(this.state===19||this.state===20||this.state===21)&&(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=this.index))}finish(){this.handleTrailingData(),this.cbs.onend()}handleTrailingData(){const t=this.buffer.length;this.sectionStart>=t||(this.state===28?this.currentSequence===tr.CdataEnd?this.cbs.oncdata(this.sectionStart,t):this.cbs.oncomment(this.sectionStart,t):this.state===6||this.state===11||this.state===18||this.state===17||this.state===12||this.state===13||this.state===14||this.state===15||this.state===16||this.state===20||this.state===19||this.state===21||this.state===9||this.cbs.ontext(this.sectionStart,t))}emitCodePoint(t,r){}}function s_(e,{compatConfig:t}){const r=t&&t[e];return e==="MODE"?r||3:r}function Pi(e,t){const r=s_("MODE",t),n=s_(e,t);return r===3?n===!0:n!==!1}function cu(e,t,r,...n){return Pi(e,t)}function KS(e){throw e}function aH(e){}function ct(e,t,r,n){const o=`https://vuejs.org/error-reference/#compiler-${e}`,i=new SyntaxError(String(o));return i.code=e,i.loc=t,i}const vr=e=>e.type===4&&e.isStatic;function sH(e){switch(e){case"Teleport":case"teleport":return _l;case"Suspense":case"suspense":return kS;case"KeepAlive":case"keep-alive":return sp;case"BaseTransition":case"base-transition":return ZU}}const bse=/^\d|[^\$\w\xA0-\uFFFF]/,YS=e=>!bse.test(e),vse=/[A-Za-z_$\xA0-\uFFFF]/,wse=/[\.\?\w$\xA0-\uFFFF]/,Ese=/\s+[.[]\s*|\s*[.[]\s+/g,lH=e=>e.type===4?e.content:e.loc.source,Sse=e=>{const t=lH(e).trim().replace(Ese,l=>l.trim());let r=0,n=[],o=0,i=0,a=null;for(let l=0;l<t.length;l++){const u=t.charAt(l);switch(r){case 0:if(u==="[")n.push(r),r=1,o++;else if(u==="(")n.push(r),r=2,i++;else if(!(l===0?vse:wse).test(u))return!1;break;case 1:u==="'"||u==='"'||u==="`"?(n.push(r),r=3,a=u):u==="["?o++:u==="]"&&(--o||(r=n.pop()));break;case 2:if(u==="'"||u==='"'||u==="`")n.push(r),r=3,a=u;else if(u==="(")i++;else if(u===")"){if(l===t.length-1)return!1;--i||(r=n.pop())}break;case 3:u===a&&(r=n.pop(),a=null);break}}return!o&&!i},uH=Sse,xse=/^\s*(async\s*)?(\([^)]*?\)|[\w$_]+)\s*(:[^=]+)?=>|^\s*(async\s+)?function(?:\s+[\w$]+)?\s*\(/,Tse=e=>xse.test(lH(e)),Cse=Tse;function Ur(e,t,r=!1){for(let n=0;n<e.props.length;n++){const o=e.props[n];if(o.type===7&&(r||o.exp)&&(Te(t)?o.name===t:t.test(o.name)))return o}}function Oh(e,t,r=!1,n=!1){for(let o=0;o<e.props.length;o++){const i=e.props[o];if(i.type===6){if(r)continue;if(i.name===t&&(i.value||n))return i}else if(i.name==="bind"&&(i.exp||n)&&yi(i.arg,t))return i}}function yi(e,t){return!!(e&&vr(e)&&e.content===t)}function _se(e){return e.props.some(t=>t.type===7&&t.name==="bind"&&(!t.arg||t.arg.type!==4||!t.arg.isStatic))}function pm(e){return e.type===5||e.type===2}function Pse(e){return e.type===7&&e.name==="slot"}function dp(e){return e.type===1&&e.tagType===3}function pp(e){return e.type===1&&e.tagType===2}const Ose=new Set([lu,Ju]);function cH(e,t=[]){if(e&&!Te(e)&&e.type===14){const r=e.callee;if(!Te(r)&&Ose.has(r))return cH(e.arguments[0],t.concat(e))}return[e,t]}function fp(e,t,r){let n,o=e.type===13?e.props:e.arguments[2],i=[],a;if(o&&!Te(o)&&o.type===14){const l=cH(o);o=l[0],i=l[1],a=i[i.length-1]}if(o==null||Te(o))n=Hr([t]);else if(o.type===14){const l=o.arguments[0];!Te(l)&&l.type===15?l_(t,l)||l.properties.unshift(t):o.callee===JS?n=Mt(r.helper(lp),[Hr([t]),o]):o.arguments.unshift(Hr([t])),!n&&(n=o)}else o.type===15?(l_(t,o)||o.properties.unshift(t),n=o):(n=Mt(r.helper(lp),[Hr([t]),o]),a&&a.callee===Ju&&(a=i[i.length-2]));e.type===13?a?a.arguments[0]=n:e.props=n:a?a.arguments[0]=n:e.arguments[2]=n}function l_(e,t){let r=!1;if(e.key.type===4){const n=e.key.content;r=t.properties.some(o=>o.key.type===4&&o.key.content===n)}return r}function du(e,t){return`_${t}_${e.replace(/[^\w]/g,(r,n)=>r==="-"?"_":e.charCodeAt(n).toString())}`}function Ase(e){return e.type===14&&e.callee===WS?e.arguments[1].returns:e}const Rse=/([\s\S]*?)\s+(?:in|of)\s+(\S[\s\S]*)/,dH={parseMode:"base",ns:0,delimiters:["{{","}}"],getNamespace:()=>0,isVoidTag:Zs,isPreTag:Zs,isIgnoreNewlineTag:Zs,isCustomElement:Zs,onError:KS,onWarn:aH,comments:!1,prefixIdentifiers:!1};let Ve=dH,pu=null,to="",nr=null,$e=null,hr="",Un=-1,li=-1,XS=0,No=!1,Zg=null;const ut=[],wt=new gse(ut,{onerr:$n,ontext(e,t){pc(Vt(e,t),e,t)},ontextentity(e,t,r){pc(e,t,r)},oninterpolation(e,t){if(No)return pc(Vt(e,t),e,t);let r=e+wt.delimiterOpen.length,n=t-wt.delimiterClose.length;for(;Or(to.charCodeAt(r));)r++;for(;Or(to.charCodeAt(n-1));)n--;let o=Vt(r,n);o.includes("&")&&(o=Ve.decodeEntities(o,!1)),eb({type:5,content:Lc(o,!1,Tt(r,n)),loc:Tt(e,t)})},onopentagname(e,t){const r=Vt(e,t);nr={type:1,tag:r,ns:Ve.getNamespace(r,ut[0],Ve.ns),tagType:0,props:[],children:[],loc:Tt(e-1,t),codegenNode:void 0}},onopentagend(e){c_(e)},onclosetag(e,t){const r=Vt(e,t);if(!Ve.isVoidTag(r)){let n=!1;for(let o=0;o<ut.length;o++)if(ut[o].tag.toLowerCase()===r.toLowerCase()){n=!0,o>0&&$n(24,ut[0].loc.start.offset);for(let a=0;a<=o;a++){const l=ut.shift();$c(l,t,a<o)}break}n||$n(23,pH(e,60))}},onselfclosingtag(e){const t=nr.tag;nr.isSelfClosing=!0,c_(e),ut[0]&&ut[0].tag===t&&$c(ut.shift(),e)},onattribname(e,t){$e={type:6,name:Vt(e,t),nameLoc:Tt(e,t),value:void 0,loc:Tt(e)}},ondirname(e,t){const r=Vt(e,t),n=r==="."||r===":"?"bind":r==="@"?"on":r==="#"?"slot":r.slice(2);if(!No&&n===""&&$n(26,e),No||n==="")$e={type:6,name:r,nameLoc:Tt(e,t),value:void 0,loc:Tt(e)};else if($e={type:7,name:n,rawName:r,exp:void 0,arg:void 0,modifiers:r==="."?[_e("prop")]:[],loc:Tt(e)},n==="pre"){No=wt.inVPre=!0,Zg=nr;const o=nr.props;for(let i=0;i<o.length;i++)o[i].type===7&&(o[i]=Bse(o[i]))}},ondirarg(e,t){if(e===t)return;const r=Vt(e,t);if(No)$e.name+=r,gi($e.nameLoc,t);else{const n=r[0]!=="[";$e.arg=Lc(n?r:r.slice(1,-1),n,Tt(e,t),n?3:0)}},ondirmodifier(e,t){const r=Vt(e,t);if(No)$e.name+="."+r,gi($e.nameLoc,t);else if($e.name==="slot"){const n=$e.arg;n&&(n.content+="."+r,gi(n.loc,t))}else{const n=_e(r,!0,Tt(e,t));$e.modifiers.push(n)}},onattribdata(e,t){hr+=Vt(e,t),Un<0&&(Un=e),li=t},onattribentity(e,t,r){hr+=e,Un<0&&(Un=t),li=r},onattribnameend(e){const t=$e.loc.start.offset,r=Vt(t,e);$e.type===7&&($e.rawName=r),nr.props.some(n=>(n.type===7?n.rawName:n.name)===r)&&$n(2,t)},onattribend(e,t){if(nr&&$e){if(gi($e.loc,t),e!==0)if(hr.includes("&")&&(hr=Ve.decodeEntities(hr,!0)),$e.type===6)$e.name==="class"&&(hr=hH(hr).trim()),e===1&&!hr&&$n(13,t),$e.value={type:2,content:hr,loc:e===1?Tt(Un,li):Tt(Un-1,li+1)},wt.inSFCRoot&&nr.tag==="template"&&$e.name==="lang"&&hr&&hr!=="html"&&wt.enterRCDATA(cp("</template"),0);else{let r=0;$e.exp=Lc(hr,!1,Tt(Un,li),0,r),$e.name==="for"&&($e.forParseResult=Ise($e.exp));let n=-1;$e.name==="bind"&&(n=$e.modifiers.findIndex(o=>o.content==="sync"))>-1&&cu("COMPILER_V_BIND_SYNC",Ve,$e.loc,$e.arg.loc.source)&&($e.name="model",$e.modifiers.splice(n,1))}($e.type!==7||$e.name!=="pre")&&nr.props.push($e)}hr="",Un=li=-1},oncomment(e,t){Ve.comments&&eb({type:3,content:Vt(e,t),loc:Tt(e-4,t+3)})},onend(){const e=to.length;for(let t=0;t<ut.length;t++)$c(ut[t],e-1),$n(24,ut[t].loc.start.offset)},oncdata(e,t){ut[0].ns!==0?pc(Vt(e,t),e,t):$n(1,e-9)},onprocessinginstruction(e){(ut[0]?ut[0].ns:Ve.ns)===0&&$n(21,e-1)}}),u_=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,Nse=/^\(|\)$/g;function Ise(e){const t=e.loc,r=e.content,n=r.match(Rse);if(!n)return;const[,o,i]=n,a=(p,h,f=!1)=>{const m=t.start.offset+h,y=m+p.length;return Lc(p,!1,Tt(m,y),0,f?1:0)},l={source:a(i.trim(),r.indexOf(i,o.length)),value:void 0,key:void 0,index:void 0,finalized:!1};let u=o.trim().replace(Nse,"").trim();const c=o.indexOf(u),d=u.match(u_);if(d){u=u.replace(u_,"").trim();const p=d[1].trim();let h;if(p&&(h=r.indexOf(p,c+u.length),l.key=a(p,h,!0)),d[2]){const f=d[2].trim();f&&(l.index=a(f,r.indexOf(f,l.key?h+p.length:c+u.length),!0))}}return u&&(l.value=a(u,c,!0)),l}function Vt(e,t){return to.slice(e,t)}function c_(e){wt.inSFCRoot&&(nr.innerLoc=Tt(e+1,e+1)),eb(nr);const{tag:t,ns:r}=nr;r===0&&Ve.isPreTag(t)&&XS++,Ve.isVoidTag(t)?$c(nr,e):(ut.unshift(nr),(r===1||r===2)&&(wt.inXML=!0)),nr=null}function pc(e,t,r){{const i=ut[0]&&ut[0].tag;i!=="script"&&i!=="style"&&e.includes("&")&&(e=Ve.decodeEntities(e,!1))}const n=ut[0]||pu,o=n.children[n.children.length-1];o&&o.type===2?(o.content+=e,gi(o.loc,r)):n.children.push({type:2,content:e,loc:Tt(t,r)})}function $c(e,t,r=!1){r?gi(e.loc,pH(t,60)):gi(e.loc,kse(t,62)+1),wt.inSFCRoot&&(e.children.length?e.innerLoc.end=Me({},e.children[e.children.length-1].loc.end):e.innerLoc.end=Me({},e.innerLoc.start),e.innerLoc.source=Vt(e.innerLoc.start.offset,e.innerLoc.end.offset));const{tag:n,ns:o,children:i}=e;if(No||(n==="slot"?e.tagType=2:d_(e)?e.tagType=3:qse(e)&&(e.tagType=1)),wt.inRCDATA||(e.children=fH(i)),o===0&&Ve.isIgnoreNewlineTag(n)){const a=i[0];a&&a.type===2&&(a.content=a.content.replace(/^\r?\n/,""))}o===0&&Ve.isPreTag(n)&&XS--,Zg===e&&(No=wt.inVPre=!1,Zg=null),wt.inXML&&(ut[0]?ut[0].ns:Ve.ns)===0&&(wt.inXML=!1);{const a=e.props;if(!wt.inSFCRoot&&Pi("COMPILER_NATIVE_TEMPLATE",Ve)&&e.tag==="template"&&!d_(e)){const u=ut[0]||pu,c=u.children.indexOf(e);u.children.splice(c,1,...e.children)}const l=a.find(u=>u.type===6&&u.name==="inline-template");l&&cu("COMPILER_INLINE_TEMPLATE",Ve,l.loc)&&e.children.length&&(l.value={type:2,content:Vt(e.children[0].loc.start.offset,e.children[e.children.length-1].loc.end.offset),loc:l.loc})}}function kse(e,t){let r=e;for(;to.charCodeAt(r)!==t&&r<to.length-1;)r++;return r}function pH(e,t){let r=e;for(;to.charCodeAt(r)!==t&&r>=0;)r--;return r}const Mse=new Set(["if","else","else-if","for","slot"]);function d_({tag:e,props:t}){if(e==="template"){for(let r=0;r<t.length;r++)if(t[r].type===7&&Mse.has(t[r].name))return!0}return!1}function qse({tag:e,props:t}){if(Ve.isCustomElement(e))return!1;if(e==="component"||jse(e.charCodeAt(0))||sH(e)||Ve.isBuiltInComponent&&Ve.isBuiltInComponent(e)||Ve.isNativeTag&&!Ve.isNativeTag(e))return!0;for(let r=0;r<t.length;r++){const n=t[r];if(n.type===6){if(n.name==="is"&&n.value){if(n.value.content.startsWith("vue:"))return!0;if(cu("COMPILER_IS_ON_ELEMENT",Ve,n.loc))return!0}}else if(n.name==="bind"&&yi(n.arg,"is")&&cu("COMPILER_IS_ON_ELEMENT",Ve,n.loc))return!0}return!1}function jse(e){return e>64&&e<91}const $se=/\r\n/g;function fH(e){const t=Ve.whitespace!=="preserve";let r=!1;for(let n=0;n<e.length;n++){const o=e[n];if(o.type===2)if(XS)o.content=o.content.replace($se,`
|
|
1093
|
-
`);else if(Lse(o.content)){const i=e[n-1]&&e[n-1].type,a=e[n+1]&&e[n+1].type;!i||!a||t&&(i===3&&(a===3||a===1)||i===1&&(a===3||a===1&&Fse(o.content)))?(r=!0,e[n]=null):o.content=" "}else t&&(o.content=hH(o.content))}return r?e.filter(Boolean):e}function Lse(e){for(let t=0;t<e.length;t++)if(!Or(e.charCodeAt(t)))return!1;return!0}function Fse(e){for(let t=0;t<e.length;t++){const r=e.charCodeAt(t);if(r===10||r===13)return!0}return!1}function hH(e){let t="",r=!1;for(let n=0;n<e.length;n++)Or(e.charCodeAt(n))?r||(t+=" ",r=!0):(t+=e[n],r=!1);return t}function eb(e){(ut[0]||pu).children.push(e)}function Tt(e,t){return{start:wt.getPos(e),end:t==null?t:wt.getPos(t),source:t==null?t:Vt(e,t)}}function Dse(e){return Tt(e.start.offset,e.end.offset)}function gi(e,t){e.end=wt.getPos(t),e.source=Vt(e.start.offset,t)}function Bse(e){const t={type:6,name:e.rawName,nameLoc:Tt(e.loc.start.offset,e.loc.start.offset+e.rawName.length),value:void 0,loc:e.loc};if(e.exp){const r=e.exp.loc;r.end.offset<e.loc.end.offset&&(r.start.offset--,r.start.column--,r.end.offset++,r.end.column++),t.value={type:2,content:e.exp.content,loc:r}}return t}function Lc(e,t=!1,r,n=0,o=0){return _e(e,t,r,n)}function $n(e,t,r){Ve.onError(ct(e,Tt(t,t)))}function Use(){wt.reset(),nr=null,$e=null,hr="",Un=-1,li=-1,ut.length=0}function Hse(e,t){if(Use(),to=e,Ve=Me({},dH),t){let o;for(o in t)t[o]!=null&&(Ve[o]=t[o])}wt.mode=Ve.parseMode==="html"?1:Ve.parseMode==="sfc"?2:0,wt.inXML=Ve.ns===1||Ve.ns===2;const r=t&&t.delimiters;r&&(wt.delimiterOpen=cp(r[0]),wt.delimiterClose=cp(r[1]));const n=pu=hse([],e);return wt.parse(to),n.loc=Tt(0,e.length),n.children=fH(n.children),pu=null,n}function Vse(e,t){Fc(e,void 0,t,!!mH(e))}function mH(e){const t=e.children.filter(r=>r.type!==3);return t.length===1&&t[0].type===1&&!pp(t[0])?t[0]:null}function Fc(e,t,r,n=!1,o=!1){const{children:i}=e,a=[];for(let p=0;p<i.length;p++){const h=i[p];if(h.type===1&&h.tagType===0){const f=n?0:Rr(h,r);if(f>0){if(f>=2){h.codegenNode.patchFlag=-1,a.push(h);continue}}else{const m=h.codegenNode;if(m.type===13){const y=m.patchFlag;if((y===void 0||y===512||y===1)&&gH(h,r)>=2){const g=bH(h);g&&(m.props=r.hoist(g))}m.dynamicProps&&(m.dynamicProps=r.hoist(m.dynamicProps))}}}else if(h.type===12&&(n?0:Rr(h,r))>=2){a.push(h);continue}if(h.type===1){const f=h.tagType===1;f&&r.scopes.vSlot++,Fc(h,e,r,!1,o),f&&r.scopes.vSlot--}else if(h.type===11)Fc(h,e,r,h.children.length===1,!0);else if(h.type===9)for(let f=0;f<h.branches.length;f++)Fc(h.branches[f],e,r,h.branches[f].children.length===1,o)}let l=!1;const u=[];if(a.length===i.length&&e.type===1){if(e.tagType===0&&e.codegenNode&&e.codegenNode.type===13&&ye(e.codegenNode.children))e.codegenNode.children=c(_i(e.codegenNode.children)),l=!0;else if(e.tagType===1&&e.codegenNode&&e.codegenNode.type===13&&e.codegenNode.children&&!ye(e.codegenNode.children)&&e.codegenNode.children.type===15){const p=d(e.codegenNode,"default");p&&(u.push(r.cached.length),p.returns=c(_i(p.returns)),l=!0)}else if(e.tagType===3&&t&&t.type===1&&t.tagType===1&&t.codegenNode&&t.codegenNode.type===13&&t.codegenNode.children&&!ye(t.codegenNode.children)&&t.codegenNode.children.type===15){const p=Ur(e,"slot",!0),h=p&&p.arg&&d(t.codegenNode,p.arg);h&&(u.push(r.cached.length),h.returns=c(_i(h.returns)),l=!0)}}if(!l)for(const p of a)u.push(r.cached.length),p.codegenNode=r.cache(p.codegenNode);u.length&&e.type===1&&e.tagType===1&&e.codegenNode&&e.codegenNode.type===13&&e.codegenNode.children&&!ye(e.codegenNode.children)&&e.codegenNode.children.type===15&&e.codegenNode.children.properties.push(Et("__",_e(JSON.stringify(u),!1)));function c(p){const h=r.cache(p);return o&&r.hmr&&(h.needArraySpread=!0),h}function d(p,h){if(p.children&&!ye(p.children)&&p.children.type===15){const f=p.children.properties.find(m=>m.key===h||m.key.content===h);return f&&f.value}}a.length&&r.transformHoist&&r.transformHoist(i,r,e)}function Rr(e,t){const{constantCache:r}=t;switch(e.type){case 1:if(e.tagType!==0)return 0;const n=r.get(e);if(n!==void 0)return n;const o=e.codegenNode;if(o.type!==13||o.isBlock&&e.tag!=="svg"&&e.tag!=="foreignObject"&&e.tag!=="math")return 0;if(o.patchFlag===void 0){let a=3;const l=gH(e,t);if(l===0)return r.set(e,0),0;l<a&&(a=l);for(let u=0;u<e.children.length;u++){const c=Rr(e.children[u],t);if(c===0)return r.set(e,0),0;c<a&&(a=c)}if(a>1)for(let u=0;u<e.props.length;u++){const c=e.props[u];if(c.type===7&&c.name==="bind"&&c.exp){const d=Rr(c.exp,t);if(d===0)return r.set(e,0),0;d<a&&(a=d)}}if(o.isBlock){for(let u=0;u<e.props.length;u++)if(e.props[u].type===7)return r.set(e,0),0;t.removeHelper(Ui),t.removeHelper(hs(t.inSSR,o.isComponent)),o.isBlock=!1,t.helper(fs(t.inSSR,o.isComponent))}return r.set(e,a),a}else return r.set(e,0),0;case 2:case 3:return 3;case 9:case 11:case 10:return 0;case 5:case 12:return Rr(e.content,t);case 4:return e.constType;case 8:let i=3;for(let a=0;a<e.children.length;a++){const l=e.children[a];if(Te(l)||Sr(l))continue;const u=Rr(l,t);if(u===0)return 0;u<i&&(i=u)}return i;case 20:return 2;default:return 0}}const Jse=new Set([HS,VS,lu,Ju]);function yH(e,t){if(e.type===14&&!Te(e.callee)&&Jse.has(e.callee)){const r=e.arguments[0];if(r.type===4)return Rr(r,t);if(r.type===14)return yH(r,t)}return 0}function gH(e,t){let r=3;const n=bH(e);if(n&&n.type===15){const{properties:o}=n;for(let i=0;i<o.length;i++){const{key:a,value:l}=o[i],u=Rr(a,t);if(u===0)return u;u<r&&(r=u);let c;if(l.type===4?c=Rr(l,t):l.type===14?c=yH(l,t):c=0,c===0)return c;c<r&&(r=c)}}return r}function bH(e){const t=e.codegenNode;if(t.type===13)return t.props}function zse(e,{filename:t="",prefixIdentifiers:r=!1,hoistStatic:n=!1,hmr:o=!1,cacheHandlers:i=!1,nodeTransforms:a=[],directiveTransforms:l={},transformHoist:u=null,isBuiltInComponent:c=Gt,isCustomElement:d=Gt,expressionPlugins:p=[],scopeId:h=null,slotted:f=!0,ssr:m=!1,inSSR:y=!1,ssrCssVars:g="",bindingMetadata:b=ke,inline:v=!1,isTS:S=!1,onError:T=KS,onWarn:P=aH,compatConfig:C}){const w=t.replace(/\?.*$/,"").match(/([^/\\]+)\.\w+$/),E={filename:t,selfName:w&&Qi(lt(w[1])),prefixIdentifiers:r,hoistStatic:n,hmr:o,cacheHandlers:i,nodeTransforms:a,directiveTransforms:l,transformHoist:u,isBuiltInComponent:c,isCustomElement:d,expressionPlugins:p,scopeId:h,slotted:f,ssr:m,inSSR:y,ssrCssVars:g,bindingMetadata:b,inline:v,isTS:S,onError:T,onWarn:P,compatConfig:C,root:e,helpers:new Map,components:new Set,directives:new Set,hoists:[],imports:[],cached:[],constantCache:new WeakMap,temps:0,identifiers:Object.create(null),scopes:{vFor:0,vSlot:0,vPre:0,vOnce:0},parent:null,grandParent:null,currentNode:e,childIndex:0,inVOnce:!1,helper(_){const R=E.helpers.get(_)||0;return E.helpers.set(_,R+1),_},removeHelper(_){const R=E.helpers.get(_);if(R){const N=R-1;N?E.helpers.set(_,N):E.helpers.delete(_)}},helperString(_){return`_${ds[E.helper(_)]}`},replaceNode(_){E.parent.children[E.childIndex]=E.currentNode=_},removeNode(_){const R=E.parent.children,N=_?R.indexOf(_):E.currentNode?E.childIndex:-1;!_||_===E.currentNode?(E.currentNode=null,E.onNodeRemoved()):E.childIndex>N&&(E.childIndex--,E.onNodeRemoved()),E.parent.children.splice(N,1)},onNodeRemoved:Gt,addIdentifiers(_){},removeIdentifiers(_){},hoist(_){Te(_)&&(_=_e(_)),E.hoists.push(_);const R=_e(`_hoisted_${E.hoists.length}`,!1,_.loc,2);return R.hoisted=_,R},cache(_,R=!1,N=!1){const q=mse(E.cached.length,_,R,N);return E.cached.push(q),q}};return E.filters=new Set,E}function Wse(e,t){const r=zse(e,t);Ah(e,r),t.hoistStatic&&Vse(e,r),t.ssr||Gse(e,r),e.helpers=new Set([...r.helpers.keys()]),e.components=[...r.components],e.directives=[...r.directives],e.imports=r.imports,e.hoists=r.hoists,e.temps=r.temps,e.cached=r.cached,e.transformed=!0,e.filters=[...r.filters]}function Gse(e,t){const{helper:r}=t,{children:n}=e;if(n.length===1){const o=mH(e);if(o&&o.codegenNode){const i=o.codegenNode;i.type===13&&GS(i,t),e.codegenNode=i}else e.codegenNode=n[0]}else if(n.length>1){let o=64;e.codegenNode=uu(t,r(su),void 0,e.children,o,void 0,void 0,!0,void 0,!1)}}function Kse(e,t){let r=0;const n=()=>{r--};for(;r<e.children.length;r++){const o=e.children[r];Te(o)||(t.grandParent=t.parent,t.parent=e,t.childIndex=r,t.onNodeRemoved=n,Ah(o,t))}}function Ah(e,t){t.currentNode=e;const{nodeTransforms:r}=t,n=[];for(let i=0;i<r.length;i++){const a=r[i](e,t);if(a&&(ye(a)?n.push(...a):n.push(a)),t.currentNode)e=t.currentNode;else return}switch(e.type){case 3:t.ssr||t.helper(Vu);break;case 5:t.ssr||t.helper(Ph);break;case 9:for(let i=0;i<e.branches.length;i++)Ah(e.branches[i],t);break;case 10:case 11:case 1:case 0:Kse(e,t);break}t.currentNode=e;let o=n.length;for(;o--;)n[o]()}function vH(e,t){const r=Te(e)?n=>n===e:n=>e.test(n);return(n,o)=>{if(n.type===1){const{props:i}=n;if(n.tagType===3&&i.some(Pse))return;const a=[];for(let l=0;l<i.length;l++){const u=i[l];if(u.type===7&&r(u.name)){i.splice(l,1),l--;const c=t(n,u,o);c&&a.push(c)}}return a}}}const Rh="/*@__PURE__*/",wH=e=>`${ds[e]}: _${ds[e]}`;function Yse(e,{mode:t="function",prefixIdentifiers:r=t==="module",sourceMap:n=!1,filename:o="template.vue.html",scopeId:i=null,optimizeImports:a=!1,runtimeGlobalName:l="Vue",runtimeModuleName:u="vue",ssrRuntimeModuleName:c="vue/server-renderer",ssr:d=!1,isTS:p=!1,inSSR:h=!1}){const f={mode:t,prefixIdentifiers:r,sourceMap:n,filename:o,scopeId:i,optimizeImports:a,runtimeGlobalName:l,runtimeModuleName:u,ssrRuntimeModuleName:c,ssr:d,isTS:p,inSSR:h,source:e.source,code:"",column:1,line:1,offset:0,indentLevel:0,pure:!1,map:void 0,helper(y){return`_${ds[y]}`},push(y,g=-2,b){f.code+=y},indent(){m(++f.indentLevel)},deindent(y=!1){y?--f.indentLevel:m(--f.indentLevel)},newline(){m(f.indentLevel)}};function m(y){f.push(`
|
|
1094
|
-
`+" ".repeat(y),0)}return f}function Xse(e,t={}){const r=Yse(e,t);t.onContextCreated&&t.onContextCreated(r);const{mode:n,push:o,prefixIdentifiers:i,indent:a,deindent:l,newline:u,scopeId:c,ssr:d}=r,p=Array.from(e.helpers),h=p.length>0,f=!i&&n!=="module";Qse(e,r);const y=d?"ssrRender":"render",b=(d?["_ctx","_push","_parent","_attrs"]:["_ctx","_cache"]).join(", ");if(o(`function ${y}(${b}) {`),a(),f&&(o("with (_ctx) {"),a(),h&&(o(`const { ${p.map(wH).join(", ")} } = _Vue
|
|
1095
|
-
`,-1),u())),e.components.length&&(fm(e.components,"component",r),(e.directives.length||e.temps>0)&&u()),e.directives.length&&(fm(e.directives,"directive",r),e.temps>0&&u()),e.filters&&e.filters.length&&(u(),fm(e.filters,"filter",r),u()),e.temps>0){o("let ");for(let v=0;v<e.temps;v++)o(`${v>0?", ":""}_temp${v}`)}return(e.components.length||e.directives.length||e.temps)&&(o(`
|
|
1096
|
-
`,0),u()),d||o("return "),e.codegenNode?lr(e.codegenNode,r):o("null"),f&&(l(),o("}")),l(),o("}"),{ast:e,code:r.code,preamble:"",map:r.map?r.map.toJSON():void 0}}function Qse(e,t){const{ssr:r,prefixIdentifiers:n,push:o,newline:i,runtimeModuleName:a,runtimeGlobalName:l,ssrRuntimeModuleName:u}=t,c=l,d=Array.from(e.helpers);if(d.length>0&&(o(`const _Vue = ${c}
|
|
1097
|
-
`,-1),e.hoists.length)){const p=[MS,qS,Vu,jS,rH].filter(h=>d.includes(h)).map(wH).join(", ");o(`const { ${p} } = _Vue
|
|
1098
|
-
`,-1)}Zse(e.hoists,t),i(),o("return ")}function fm(e,t,{helper:r,push:n,newline:o,isTS:i}){const a=r(t==="filter"?DS:t==="component"?$S:FS);for(let l=0;l<e.length;l++){let u=e[l];const c=u.endsWith("__self");c&&(u=u.slice(0,-6)),n(`const ${du(u,t)} = ${a}(${JSON.stringify(u)}${c?", true":""})${i?"!":""}`),l<e.length-1&&o()}}function Zse(e,t){if(!e.length)return;t.pure=!0;const{push:r,newline:n}=t;n();for(let o=0;o<e.length;o++){const i=e[o];i&&(r(`const _hoisted_${o+1} = `),lr(i,t),n())}t.pure=!1}function QS(e,t){const r=e.length>3||!1;t.push("["),r&&t.indent(),zu(e,t,r),r&&t.deindent(),t.push("]")}function zu(e,t,r=!1,n=!0){const{push:o,newline:i}=t;for(let a=0;a<e.length;a++){const l=e[a];Te(l)?o(l,-3):ye(l)?QS(l,t):lr(l,t),a<e.length-1&&(r?(n&&o(","),i()):n&&o(", "))}}function lr(e,t){if(Te(e)){t.push(e,-3);return}if(Sr(e)){t.push(t.helper(e));return}switch(e.type){case 1:case 9:case 11:lr(e.codegenNode,t);break;case 2:ele(e,t);break;case 4:EH(e,t);break;case 5:tle(e,t);break;case 12:lr(e.codegenNode,t);break;case 8:SH(e,t);break;case 3:nle(e,t);break;case 13:ole(e,t);break;case 14:ale(e,t);break;case 15:sle(e,t);break;case 17:lle(e,t);break;case 18:ule(e,t);break;case 19:cle(e,t);break;case 20:dle(e,t);break;case 21:zu(e.body,t,!0,!1);break}}function ele(e,t){t.push(JSON.stringify(e.content),-3,e)}function EH(e,t){const{content:r,isStatic:n}=e;t.push(n?JSON.stringify(r):r,-3,e)}function tle(e,t){const{push:r,helper:n,pure:o}=t;o&&r(Rh),r(`${n(Ph)}(`),lr(e.content,t),r(")")}function SH(e,t){for(let r=0;r<e.children.length;r++){const n=e.children[r];Te(n)?t.push(n,-3):lr(n,t)}}function rle(e,t){const{push:r}=t;if(e.type===8)r("["),SH(e,t),r("]");else if(e.isStatic){const n=YS(e.content)?e.content:JSON.stringify(e.content);r(n,-2,e)}else r(`[${e.content}]`,-3,e)}function nle(e,t){const{push:r,helper:n,pure:o}=t;o&&r(Rh),r(`${n(Vu)}(${JSON.stringify(e.content)})`,-3,e)}function ole(e,t){const{push:r,helper:n,pure:o}=t,{tag:i,props:a,children:l,patchFlag:u,dynamicProps:c,directives:d,isBlock:p,disableTracking:h,isComponent:f}=e;let m;u&&(m=String(u)),d&&r(n(BS)+"("),p&&r(`(${n(Ui)}(${h?"true":""}), `),o&&r(Rh);const y=p?hs(t.inSSR,f):fs(t.inSSR,f);r(n(y)+"(",-2,e),zu(ile([i,a,l,m,c]),t),r(")"),p&&r(")"),d&&(r(", "),lr(d,t),r(")"))}function ile(e){let t=e.length;for(;t--&&e[t]==null;);return e.slice(0,t+1).map(r=>r||"null")}function ale(e,t){const{push:r,helper:n,pure:o}=t,i=Te(e.callee)?e.callee:n(e.callee);o&&r(Rh),r(i+"(",-2,e),zu(e.arguments,t),r(")")}function sle(e,t){const{push:r,indent:n,deindent:o,newline:i}=t,{properties:a}=e;if(!a.length){r("{}",-2,e);return}const l=a.length>1||!1;r(l?"{":"{ "),l&&n();for(let u=0;u<a.length;u++){const{key:c,value:d}=a[u];rle(c,t),r(": "),lr(d,t),u<a.length-1&&(r(","),i())}l&&o(),r(l?"}":" }")}function lle(e,t){QS(e.elements,t)}function ule(e,t){const{push:r,indent:n,deindent:o}=t,{params:i,returns:a,body:l,newline:u,isSlot:c}=e;c&&r(`_${ds[zS]}(`),r("(",-2,e),ye(i)?zu(i,t):i&&lr(i,t),r(") => "),(u||l)&&(r("{"),n()),a?(u&&r("return "),ye(a)?QS(a,t):lr(a,t)):l&&lr(l,t),(u||l)&&(o(),r("}")),c&&(e.isNonScopedSlot&&r(", undefined, true"),r(")"))}function cle(e,t){const{test:r,consequent:n,alternate:o,newline:i}=e,{push:a,indent:l,deindent:u,newline:c}=t;if(r.type===4){const p=!YS(r.content);p&&a("("),EH(r,t),p&&a(")")}else a("("),lr(r,t),a(")");i&&l(),t.indentLevel++,i||a(" "),a("? "),lr(n,t),t.indentLevel--,i&&c(),i||a(" "),a(": ");const d=o.type===19;d||t.indentLevel++,lr(o,t),d||t.indentLevel--,i&&u(!0)}function dle(e,t){const{push:r,helper:n,indent:o,deindent:i,newline:a}=t,{needPauseTracking:l,needArraySpread:u}=e;u&&r("[...("),r(`_cache[${e.index}] || (`),l&&(o(),r(`${n(up)}(-1`),e.inVOnce&&r(", true"),r("),"),a(),r("(")),r(`_cache[${e.index}] = `),lr(e.value,t),l&&(r(`).cacheIndex = ${e.index},`),a(),r(`${n(up)}(1),`),a(),r(`_cache[${e.index}]`),i()),r(")"),u&&r(")]")}new RegExp("\\b"+"arguments,await,break,case,catch,class,const,continue,debugger,default,delete,do,else,export,extends,finally,for,function,if,import,let,new,return,super,switch,throw,try,var,void,while,with,yield".split(",").join("\\b|\\b")+"\\b");const ple=vH(/^(if|else|else-if)$/,(e,t,r)=>fle(e,t,r,(n,o,i)=>{const a=r.parent.children;let l=a.indexOf(n),u=0;for(;l-->=0;){const c=a[l];c&&c.type===9&&(u+=c.branches.length)}return()=>{if(i)n.codegenNode=f_(o,u,r);else{const c=hle(n.codegenNode);c.alternate=f_(o,u+n.branches.length-1,r)}}}));function fle(e,t,r,n){if(t.name!=="else"&&(!t.exp||!t.exp.content.trim())){const o=t.exp?t.exp.loc:e.loc;r.onError(ct(28,t.loc)),t.exp=_e("true",!1,o)}if(t.name==="if"){const o=p_(e,t),i={type:9,loc:Dse(e.loc),branches:[o]};if(r.replaceNode(i),n)return n(i,o,!0)}else{const o=r.parent.children;let i=o.indexOf(e);for(;i-->=-1;){const a=o[i];if(a&&a.type===3){r.removeNode(a);continue}if(a&&a.type===2&&!a.content.trim().length){r.removeNode(a);continue}if(a&&a.type===9){t.name==="else-if"&&a.branches[a.branches.length-1].condition===void 0&&r.onError(ct(30,e.loc)),r.removeNode();const l=p_(e,t);a.branches.push(l);const u=n&&n(a,l,!1);Ah(l,r),u&&u(),r.currentNode=null}else r.onError(ct(30,e.loc));break}}}function p_(e,t){const r=e.tagType===3;return{type:10,loc:e.loc,condition:t.name==="else"?void 0:t.exp,children:r&&!Ur(e,"for")?e.children:[e],userKey:Oh(e,"key"),isTemplateIf:r}}function f_(e,t,r){return e.condition?Qg(e.condition,h_(e,t,r),Mt(r.helper(Vu),['""',"true"])):h_(e,t,r)}function h_(e,t,r){const{helper:n}=r,o=Et("key",_e(`${t}`,!1,jr,2)),{children:i}=e,a=i[0];if(i.length!==1||a.type!==1)if(i.length===1&&a.type===11){const u=a.codegenNode;return fp(u,o,r),u}else return uu(r,n(su),Hr([o]),i,64,void 0,void 0,!0,!1,!1,e.loc);else{const u=a.codegenNode,c=Ase(u);return c.type===13&&GS(c,r),fp(c,o,r),u}}function hle(e){for(;;)if(e.type===19)if(e.alternate.type===19)e=e.alternate;else return e;else e.type===20&&(e=e.value)}const mle=(e,t,r)=>{const{modifiers:n,loc:o}=e,i=e.arg;let{exp:a}=e;if(a&&a.type===4&&!a.content.trim()&&(a=void 0),!a){if(i.type!==4||!i.isStatic)return r.onError(ct(52,i.loc)),{props:[Et(i,_e("",!0,o))]};xH(e),a=e.exp}return i.type!==4?(i.children.unshift("("),i.children.push(') || ""')):i.isStatic||(i.content=`${i.content} || ""`),n.some(l=>l.content==="camel")&&(i.type===4?i.isStatic?i.content=lt(i.content):i.content=`${r.helperString(Yg)}(${i.content})`:(i.children.unshift(`${r.helperString(Yg)}(`),i.children.push(")"))),r.inSSR||(n.some(l=>l.content==="prop")&&m_(i,"."),n.some(l=>l.content==="attr")&&m_(i,"^")),{props:[Et(i,a)]}},xH=(e,t)=>{const r=e.arg,n=lt(r.content);e.exp=_e(n,!1,r.loc)},m_=(e,t)=>{e.type===4?e.isStatic?e.content=t+e.content:e.content=`\`${t}\${${e.content}}\``:(e.children.unshift(`'${t}' + (`),e.children.push(")"))},yle=vH("for",(e,t,r)=>{const{helper:n,removeHelper:o}=r;return gle(e,t,r,i=>{const a=Mt(n(US),[i.source]),l=dp(e),u=Ur(e,"memo"),c=Oh(e,"key",!1,!0);c&&c.type===7&&!c.exp&&xH(c);let p=c&&(c.type===6?c.value?_e(c.value.content,!0):void 0:c.exp);const h=c&&p?Et("key",p):null,f=i.source.type===4&&i.source.constType>0,m=f?64:c?128:256;return i.codegenNode=uu(r,n(su),void 0,a,m,void 0,void 0,!0,!f,!1,e.loc),()=>{let y;const{children:g}=i,b=g.length!==1||g[0].type!==1,v=pp(e)?e:l&&e.children.length===1&&pp(e.children[0])?e.children[0]:null;if(v?(y=v.codegenNode,l&&h&&fp(y,h,r)):b?y=uu(r,n(su),h?Hr([h]):void 0,e.children,64,void 0,void 0,!0,void 0,!1):(y=g[0].codegenNode,l&&h&&fp(y,h,r),y.isBlock!==!f&&(y.isBlock?(o(Ui),o(hs(r.inSSR,y.isComponent))):o(fs(r.inSSR,y.isComponent))),y.isBlock=!f,y.isBlock?(n(Ui),n(hs(r.inSSR,y.isComponent))):n(fs(r.inSSR,y.isComponent))),u){const S=ps(tb(i.parseResult,[_e("_cached")]));S.body=yse([ln(["const _memo = (",u.exp,")"]),ln(["if (_cached",...p?[" && _cached.key === ",p]:[],` && ${r.helperString(iH)}(_cached, _memo)) return _cached`]),ln(["const _item = ",y]),_e("_item.memo = _memo"),_e("return _item")]),a.arguments.push(S,_e("_cache"),_e(String(r.cached.length))),r.cached.push(null)}else a.arguments.push(ps(tb(i.parseResult),y,!0))}})});function gle(e,t,r,n){if(!t.exp){r.onError(ct(31,t.loc));return}const o=t.forParseResult;if(!o){r.onError(ct(32,t.loc));return}TH(o);const{addIdentifiers:i,removeIdentifiers:a,scopes:l}=r,{source:u,value:c,key:d,index:p}=o,h={type:11,loc:t.loc,source:u,valueAlias:c,keyAlias:d,objectIndexAlias:p,parseResult:o,children:dp(e)?e.children:[e]};r.replaceNode(h),l.vFor++;const f=n&&n(h);return()=>{l.vFor--,f&&f()}}function TH(e,t){e.finalized||(e.finalized=!0)}function tb({value:e,key:t,index:r},n=[]){return ble([e,t,r,...n])}function ble(e){let t=e.length;for(;t--&&!e[t];);return e.slice(0,t+1).map((r,n)=>r||_e("_".repeat(n+1),!1))}const y_=_e("undefined",!1),vle=(e,t)=>{if(e.type===1&&(e.tagType===1||e.tagType===3)){const r=Ur(e,"slot");if(r)return r.exp,t.scopes.vSlot++,()=>{t.scopes.vSlot--}}},wle=(e,t,r,n)=>ps(e,r,!1,!0,r.length?r[0].loc:n);function Ele(e,t,r=wle){t.helper(zS);const{children:n,loc:o}=e,i=[],a=[];let l=t.scopes.vSlot>0||t.scopes.vFor>0;const u=Ur(e,"slot",!0);if(u){const{arg:g,exp:b}=u;g&&!vr(g)&&(l=!0),i.push(Et(g||_e("default",!0),r(b,void 0,n,o)))}let c=!1,d=!1;const p=[],h=new Set;let f=0;for(let g=0;g<n.length;g++){const b=n[g];let v;if(!dp(b)||!(v=Ur(b,"slot",!0))){b.type!==3&&p.push(b);continue}if(u){t.onError(ct(37,v.loc));break}c=!0;const{children:S,loc:T}=b,{arg:P=_e("default",!0),exp:C,loc:w}=v;let E;vr(P)?E=P?P.content:"default":l=!0;const _=Ur(b,"for"),R=r(C,_,S,T);let N,q;if(N=Ur(b,"if"))l=!0,a.push(Qg(N.exp,fc(P,R,f++),y_));else if(q=Ur(b,/^else(-if)?$/,!0)){let L=g,O;for(;L--&&(O=n[L],!(O.type!==3&&rb(O))););if(O&&dp(O)&&Ur(O,/^(else-)?if$/)){let k=a[a.length-1];for(;k.alternate.type===19;)k=k.alternate;k.alternate=q.exp?Qg(q.exp,fc(P,R,f++),y_):fc(P,R,f++)}else t.onError(ct(30,q.loc))}else if(_){l=!0;const L=_.forParseResult;L?(TH(L),a.push(Mt(t.helper(US),[L.source,ps(tb(L),fc(P,R),!0)]))):t.onError(ct(32,_.loc))}else{if(E){if(h.has(E)){t.onError(ct(38,w));continue}h.add(E),E==="default"&&(d=!0)}i.push(Et(P,R))}}if(!u){const g=(b,v)=>{const S=r(b,void 0,v,o);return t.compatConfig&&(S.isNonScopedSlot=!0),Et("default",S)};c?p.length&&p.some(b=>rb(b))&&(d?t.onError(ct(39,p[0].loc)):i.push(g(void 0,p))):i.push(g(void 0,n))}const m=l?2:Dc(e.children)?3:1;let y=Hr(i.concat(Et("_",_e(m+"",!1))),o);return a.length&&(y=Mt(t.helper(oH),[y,_i(a)])),{slots:y,hasDynamicSlots:l}}function fc(e,t,r){const n=[Et("name",e),Et("fn",t)];return r!=null&&n.push(Et("key",_e(String(r),!0))),Hr(n)}function Dc(e){for(let t=0;t<e.length;t++){const r=e[t];switch(r.type){case 1:if(r.tagType===2||Dc(r.children))return!0;break;case 9:if(Dc(r.branches))return!0;break;case 10:case 11:if(Dc(r.children))return!0;break}}return!1}function rb(e){return e.type!==2&&e.type!==12?!0:e.type===2?!!e.content.trim():rb(e.content)}const CH=new WeakMap,Sle=(e,t)=>function(){if(e=t.currentNode,!(e.type===1&&(e.tagType===0||e.tagType===1)))return;const{tag:n,props:o}=e,i=e.tagType===1;let a=i?xle(e,t):`"${n}"`;const l=Qe(a)&&a.callee===LS;let u,c,d=0,p,h,f,m=l||a===_l||a===kS||!i&&(n==="svg"||n==="foreignObject"||n==="math");if(o.length>0){const y=_H(e,t,void 0,i,l);u=y.props,d=y.patchFlag,h=y.dynamicPropNames;const g=y.directives;f=g&&g.length?_i(g.map(b=>Cle(b,t))):void 0,y.shouldUseBlock&&(m=!0)}if(e.children.length>0)if(a===sp&&(m=!0,d|=1024),i&&a!==_l&&a!==sp){const{slots:g,hasDynamicSlots:b}=Ele(e,t);c=g,b&&(d|=1024)}else if(e.children.length===1&&a!==_l){const g=e.children[0],b=g.type,v=b===5||b===8;v&&Rr(g,t)===0&&(d|=1),v||b===2?c=g:c=e.children}else c=e.children;h&&h.length&&(p=_le(h)),e.codegenNode=uu(t,a,u,c,d===0?void 0:d,p,f,!!m,!1,i,e.loc)};function xle(e,t,r=!1){let{tag:n}=e;const o=nb(n),i=Oh(e,"is",!1,!0);if(i)if(o||Pi("COMPILER_IS_ON_ELEMENT",t)){let l;if(i.type===6?l=i.value&&_e(i.value.content,!0):(l=i.exp,l||(l=_e("is",!1,i.arg.loc))),l)return Mt(t.helper(LS),[l])}else i.type===6&&i.value.content.startsWith("vue:")&&(n=i.value.content.slice(4));const a=sH(n)||t.isBuiltInComponent(n);return a?(r||t.helper(a),a):(t.helper($S),t.components.add(n),du(n,"component"))}function _H(e,t,r=e.props,n,o,i=!1){const{tag:a,loc:l,children:u}=e;let c=[];const d=[],p=[],h=u.length>0;let f=!1,m=0,y=!1,g=!1,b=!1,v=!1,S=!1,T=!1;const P=[],C=R=>{c.length&&(d.push(Hr(g_(c),l)),c=[]),R&&d.push(R)},w=()=>{t.scopes.vFor>0&&c.push(Et(_e("ref_for",!0),_e("true")))},E=({key:R,value:N})=>{if(vr(R)){const q=R.content,L=Yi(q);if(L&&(!n||o)&&q.toLowerCase()!=="onclick"&&q!=="onUpdate:modelValue"&&!$o(q)&&(v=!0),L&&$o(q)&&(T=!0),L&&N.type===14&&(N=N.arguments[0]),N.type===20||(N.type===4||N.type===8)&&Rr(N,t)>0)return;q==="ref"?y=!0:q==="class"?g=!0:q==="style"?b=!0:q!=="key"&&!P.includes(q)&&P.push(q),n&&(q==="class"||q==="style")&&!P.includes(q)&&P.push(q)}else S=!0};for(let R=0;R<r.length;R++){const N=r[R];if(N.type===6){const{loc:q,name:L,nameLoc:O,value:k}=N;let M=!0;if(L==="ref"&&(y=!0,w()),L==="is"&&(nb(a)||k&&k.content.startsWith("vue:")||Pi("COMPILER_IS_ON_ELEMENT",t)))continue;c.push(Et(_e(L,!0,O),_e(k?k.content:"",M,k?k.loc:q)))}else{const{name:q,arg:L,exp:O,loc:k,modifiers:M}=N,G=q==="bind",V=q==="on";if(q==="slot"){n||t.onError(ct(40,k));continue}if(q==="once"||q==="memo"||q==="is"||G&&yi(L,"is")&&(nb(a)||Pi("COMPILER_IS_ON_ELEMENT",t))||V&&i)continue;if((G&&yi(L,"key")||V&&h&&yi(L,"vue:before-update"))&&(f=!0),G&&yi(L,"ref")&&w(),!L&&(G||V)){if(S=!0,O)if(G){if(C(),Pi("COMPILER_V_BIND_OBJECT_ORDER",t)){d.unshift(O);continue}w(),C(),d.push(O)}else C({type:14,loc:k,callee:t.helper(JS),arguments:n?[O]:[O,"true"]});else t.onError(ct(G?34:35,k));continue}G&&M.some(fe=>fe.content==="prop")&&(m|=32);const oe=t.directiveTransforms[q];if(oe){const{props:fe,needRuntime:te}=oe(N,e,t);!i&&fe.forEach(E),V&&L&&!vr(L)?C(Hr(fe,l)):c.push(...fe),te&&(p.push(N),Sr(te)&&CH.set(N,te))}else hne(q)||(p.push(N),h&&(f=!0))}}let _;if(d.length?(C(),d.length>1?_=Mt(t.helper(lp),d,l):_=d[0]):c.length&&(_=Hr(g_(c),l)),S?m|=16:(g&&!n&&(m|=2),b&&!n&&(m|=4),P.length&&(m|=8),v&&(m|=32)),!f&&(m===0||m===32)&&(y||T||p.length>0)&&(m|=512),!t.inSSR&&_)switch(_.type){case 15:let R=-1,N=-1,q=!1;for(let k=0;k<_.properties.length;k++){const M=_.properties[k].key;vr(M)?M.content==="class"?R=k:M.content==="style"&&(N=k):M.isHandlerKey||(q=!0)}const L=_.properties[R],O=_.properties[N];q?_=Mt(t.helper(lu),[_]):(L&&!vr(L.value)&&(L.value=Mt(t.helper(HS),[L.value])),O&&(b||O.value.type===4&&O.value.content.trim()[0]==="["||O.value.type===17)&&(O.value=Mt(t.helper(VS),[O.value])));break;case 14:break;default:_=Mt(t.helper(lu),[Mt(t.helper(Ju),[_])]);break}return{props:_,directives:p,patchFlag:m,dynamicPropNames:P,shouldUseBlock:f}}function g_(e){const t=new Map,r=[];for(let n=0;n<e.length;n++){const o=e[n];if(o.key.type===8||!o.key.isStatic){r.push(o);continue}const i=o.key.content,a=t.get(i);a?(i==="style"||i==="class"||Yi(i))&&Tle(a,o):(t.set(i,o),r.push(o))}return r}function Tle(e,t){e.value.type===17?e.value.elements.push(t.value):e.value=_i([e.value,t.value],e.loc)}function Cle(e,t){const r=[],n=CH.get(e);n?r.push(t.helperString(n)):(t.helper(FS),t.directives.add(e.name),r.push(du(e.name,"directive")));const{loc:o}=e;if(e.exp&&r.push(e.exp),e.arg&&(e.exp||r.push("void 0"),r.push(e.arg)),Object.keys(e.modifiers).length){e.arg||(e.exp||r.push("void 0"),r.push("void 0"));const i=_e("true",!1,o);r.push(Hr(e.modifiers.map(a=>Et(a,i)),o))}return _i(r,e.loc)}function _le(e){let t="[";for(let r=0,n=e.length;r<n;r++)t+=JSON.stringify(e[r]),r<n-1&&(t+=", ");return t+"]"}function nb(e){return e==="component"||e==="Component"}const Ple=(e,t)=>{if(pp(e)){const{children:r,loc:n}=e,{slotName:o,slotProps:i}=Ole(e,t),a=[t.prefixIdentifiers?"_ctx.$slots":"$slots",o,"{}","undefined","true"];let l=2;i&&(a[2]=i,l=3),r.length&&(a[3]=ps([],r,!1,!1,n),l=4),t.scopeId&&!t.slotted&&(l=5),a.splice(l),e.codegenNode=Mt(t.helper(nH),a,n)}};function Ole(e,t){let r='"default"',n;const o=[];for(let i=0;i<e.props.length;i++){const a=e.props[i];if(a.type===6)a.value&&(a.name==="name"?r=JSON.stringify(a.value.content):(a.name=lt(a.name),o.push(a)));else if(a.name==="bind"&&yi(a.arg,"name")){if(a.exp)r=a.exp;else if(a.arg&&a.arg.type===4){const l=lt(a.arg.content);r=a.exp=_e(l,!1,a.arg.loc)}}else a.name==="bind"&&a.arg&&vr(a.arg)&&(a.arg.content=lt(a.arg.content)),o.push(a)}if(o.length>0){const{props:i,directives:a}=_H(e,t,o,!1,!1);n=i,a.length&&t.onError(ct(36,a[0].loc))}return{slotName:r,slotProps:n}}const PH=(e,t,r,n)=>{const{loc:o,modifiers:i,arg:a}=e;!e.exp&&!i.length&&r.onError(ct(35,o));let l;if(a.type===4)if(a.isStatic){let p=a.content;p.startsWith("vue:")&&(p=`vnode-${p.slice(4)}`);const h=t.tagType!==0||p.startsWith("vnode")||!/[A-Z]/.test(p)?qa(lt(p)):`on:${p}`;l=_e(h,!0,a.loc)}else l=ln([`${r.helperString(Xg)}(`,a,")"]);else l=a,l.children.unshift(`${r.helperString(Xg)}(`),l.children.push(")");let u=e.exp;u&&!u.content.trim()&&(u=void 0);let c=r.cacheHandlers&&!u&&!r.inVOnce;if(u){const p=uH(u),h=!(p||Cse(u)),f=u.content.includes(";");(h||c&&p)&&(u=ln([`${h?"$event":"(...args)"} => ${f?"{":"("}`,u,f?"}":")"]))}let d={props:[Et(l,u||_e("() => {}",!1,o))]};return n&&(d=n(d)),c&&(d.props[0].value=r.cache(d.props[0].value)),d.props.forEach(p=>p.key.isHandlerKey=!0),d},Ale=(e,t)=>{if(e.type===0||e.type===1||e.type===11||e.type===10)return()=>{const r=e.children;let n,o=!1;for(let i=0;i<r.length;i++){const a=r[i];if(pm(a)){o=!0;for(let l=i+1;l<r.length;l++){const u=r[l];if(pm(u))n||(n=r[i]=ln([a],a.loc)),n.children.push(" + ",u),r.splice(l,1),l--;else{n=void 0;break}}}}if(!(!o||r.length===1&&(e.type===0||e.type===1&&e.tagType===0&&!e.props.find(i=>i.type===7&&!t.directiveTransforms[i.name])&&e.tag!=="template")))for(let i=0;i<r.length;i++){const a=r[i];if(pm(a)||a.type===8){const l=[];(a.type!==2||a.content!==" ")&&l.push(a),!t.ssr&&Rr(a,t)===0&&l.push("1"),r[i]={type:12,content:a,loc:a.loc,codegenNode:Mt(t.helper(jS),l)}}}}},b_=new WeakSet,Rle=(e,t)=>{if(e.type===1&&Ur(e,"once",!0))return b_.has(e)||t.inVOnce||t.inSSR?void 0:(b_.add(e),t.inVOnce=!0,t.helper(up),()=>{t.inVOnce=!1;const r=t.currentNode;r.codegenNode&&(r.codegenNode=t.cache(r.codegenNode,!0,!0))})},OH=(e,t,r)=>{const{exp:n,arg:o}=e;if(!n)return r.onError(ct(41,e.loc)),hc();const i=n.loc.source.trim(),a=n.type===4?n.content:i,l=r.bindingMetadata[i];if(l==="props"||l==="props-aliased")return r.onError(ct(44,n.loc)),hc();if(!a.trim()||!uH(n))return r.onError(ct(42,n.loc)),hc();const u=o||_e("modelValue",!0),c=o?vr(o)?`onUpdate:${lt(o.content)}`:ln(['"onUpdate:" + ',o]):"onUpdate:modelValue";let d;const p=r.isTS?"($event: any)":"$event";d=ln([`${p} => ((`,n,") = $event)"]);const h=[Et(u,e.exp),Et(c,d)];if(e.modifiers.length&&t.tagType===1){const f=e.modifiers.map(y=>y.content).map(y=>(YS(y)?y:JSON.stringify(y))+": true").join(", "),m=o?vr(o)?`${o.content}Modifiers`:ln([o,' + "Modifiers"']):"modelModifiers";h.push(Et(m,_e(`{ ${f} }`,!1,e.loc,2)))}return hc(h)};function hc(e=[]){return{props:e}}const Nle=/[\w).+\-_$\]]/,Ile=(e,t)=>{Pi("COMPILER_FILTERS",t)&&(e.type===5?hp(e.content,t):e.type===1&&e.props.forEach(r=>{r.type===7&&r.name!=="for"&&r.exp&&hp(r.exp,t)}))};function hp(e,t){if(e.type===4)v_(e,t);else for(let r=0;r<e.children.length;r++){const n=e.children[r];typeof n=="object"&&(n.type===4?v_(n,t):n.type===8?hp(e,t):n.type===5&&hp(n.content,t))}}function v_(e,t){const r=e.content;let n=!1,o=!1,i=!1,a=!1,l=0,u=0,c=0,d=0,p,h,f,m,y=[];for(f=0;f<r.length;f++)if(h=p,p=r.charCodeAt(f),n)p===39&&h!==92&&(n=!1);else if(o)p===34&&h!==92&&(o=!1);else if(i)p===96&&h!==92&&(i=!1);else if(a)p===47&&h!==92&&(a=!1);else if(p===124&&r.charCodeAt(f+1)!==124&&r.charCodeAt(f-1)!==124&&!l&&!u&&!c)m===void 0?(d=f+1,m=r.slice(0,f).trim()):g();else{switch(p){case 34:o=!0;break;case 39:n=!0;break;case 96:i=!0;break;case 40:c++;break;case 41:c--;break;case 91:u++;break;case 93:u--;break;case 123:l++;break;case 125:l--;break}if(p===47){let b=f-1,v;for(;b>=0&&(v=r.charAt(b),v===" ");b--);(!v||!Nle.test(v))&&(a=!0)}}m===void 0?m=r.slice(0,f).trim():d!==0&&g();function g(){y.push(r.slice(d,f).trim()),d=f+1}if(y.length){for(f=0;f<y.length;f++)m=kle(m,y[f],t);e.content=m,e.ast=void 0}}function kle(e,t,r){r.helper(DS);const n=t.indexOf("(");if(n<0)return r.filters.add(t),`${du(t,"filter")}(${e})`;{const o=t.slice(0,n),i=t.slice(n+1);return r.filters.add(o),`${du(o,"filter")}(${e}${i!==")"?","+i:i}`}}const w_=new WeakSet,Mle=(e,t)=>{if(e.type===1){const r=Ur(e,"memo");return!r||w_.has(e)?void 0:(w_.add(e),()=>{const n=e.codegenNode||t.currentNode.codegenNode;n&&n.type===13&&(e.tagType!==1&&GS(n,t),e.codegenNode=Mt(t.helper(WS),[r.exp,ps(void 0,n),"_cache",String(t.cached.length)]),t.cached.push(null))})}};function qle(e){return[[Rle,ple,Mle,yle,Ile,Ple,Sle,vle,Ale],{on:PH,bind:mle,model:OH}]}function jle(e,t={}){const r=t.onError||KS,n=t.mode==="module";t.prefixIdentifiers===!0?r(ct(47)):n&&r(ct(48));const o=!1;t.cacheHandlers&&r(ct(49)),t.scopeId&&!n&&r(ct(50));const i=Me({},t,{prefixIdentifiers:o}),a=Te(e)?Hse(e,i):e,[l,u]=qle();return Wse(a,Me({},i,{nodeTransforms:[...l,...t.nodeTransforms||[]],directiveTransforms:Me({},u,t.directiveTransforms||{})})),Xse(a,i)}const $le=()=>({props:[]});/**
|
|
1099
|
-
* @vue/compiler-dom v3.5.17
|
|
1100
|
-
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
1101
|
-
* @license MIT
|
|
1102
|
-
**/const AH=Symbol(""),RH=Symbol(""),NH=Symbol(""),IH=Symbol(""),ob=Symbol(""),kH=Symbol(""),MH=Symbol(""),qH=Symbol(""),jH=Symbol(""),$H=Symbol("");fse({[AH]:"vModelRadio",[RH]:"vModelCheckbox",[NH]:"vModelText",[IH]:"vModelSelect",[ob]:"vModelDynamic",[kH]:"withModifiers",[MH]:"withKeys",[qH]:"vShow",[jH]:"Transition",[$H]:"TransitionGroup"});let sa;function Lle(e,t=!1){return sa||(sa=document.createElement("div")),t?(sa.innerHTML=`<div foo="${e.replace(/"/g,""")}">`,sa.children[0].getAttribute("foo")):(sa.innerHTML=e,sa.textContent)}const Fle={parseMode:"html",isVoidTag:Nne,isNativeTag:e=>One(e)||Ane(e)||Rne(e),isPreTag:e=>e==="pre",isIgnoreNewlineTag:e=>e==="pre"||e==="textarea",decodeEntities:Lle,isBuiltInComponent:e=>{if(e==="Transition"||e==="transition")return jH;if(e==="TransitionGroup"||e==="transition-group")return $H},getNamespace(e,t,r){let n=t?t.ns:r;if(t&&n===2)if(t.tag==="annotation-xml"){if(e==="svg")return 1;t.props.some(o=>o.type===6&&o.name==="encoding"&&o.value!=null&&(o.value.content==="text/html"||o.value.content==="application/xhtml+xml"))&&(n=0)}else/^m(?:[ions]|text)$/.test(t.tag)&&e!=="mglyph"&&e!=="malignmark"&&(n=0);else t&&n===1&&(t.tag==="foreignObject"||t.tag==="desc"||t.tag==="title")&&(n=0);if(n===0){if(e==="svg")return 1;if(e==="math")return 2}return n}},Dle=e=>{e.type===1&&e.props.forEach((t,r)=>{t.type===6&&t.name==="style"&&t.value&&(e.props[r]={type:7,name:"bind",arg:_e("style",!0,t.loc),exp:Ble(t.value.content,t.loc),modifiers:[],loc:t.loc})})},Ble=(e,t)=>{const r=KB(e);return _e(JSON.stringify(r),!1,t,3)};function Do(e,t){return ct(e,t)}const Ule=(e,t,r)=>{const{exp:n,loc:o}=e;return n||r.onError(Do(53,o)),t.children.length&&(r.onError(Do(54,o)),t.children.length=0),{props:[Et(_e("innerHTML",!0,o),n||_e("",!0))]}},Hle=(e,t,r)=>{const{exp:n,loc:o}=e;return n||r.onError(Do(55,o)),t.children.length&&(r.onError(Do(56,o)),t.children.length=0),{props:[Et(_e("textContent",!0),n?Rr(n,r)>0?n:Mt(r.helperString(Ph),[n],o):_e("",!0))]}},Vle=(e,t,r)=>{const n=OH(e,t,r);if(!n.props.length||t.tagType===1)return n;e.arg&&r.onError(Do(58,e.arg.loc));const{tag:o}=t,i=r.isCustomElement(o);if(o==="input"||o==="textarea"||o==="select"||i){let a=NH,l=!1;if(o==="input"||i){const u=Oh(t,"type");if(u){if(u.type===7)a=ob;else if(u.value)switch(u.value.content){case"radio":a=AH;break;case"checkbox":a=RH;break;case"file":l=!0,r.onError(Do(59,e.loc));break}}else _se(t)&&(a=ob)}else o==="select"&&(a=IH);l||(n.needRuntime=r.helper(a))}else r.onError(Do(57,e.loc));return n.props=n.props.filter(a=>!(a.key.type===4&&a.key.content==="modelValue")),n},Jle=qr("passive,once,capture"),zle=qr("stop,prevent,self,ctrl,shift,alt,meta,exact,middle"),Wle=qr("left,right"),LH=qr("onkeyup,onkeydown,onkeypress"),Gle=(e,t,r,n)=>{const o=[],i=[],a=[];for(let l=0;l<t.length;l++){const u=t[l].content;u==="native"&&cu("COMPILER_V_ON_NATIVE",r)||Jle(u)?a.push(u):Wle(u)?vr(e)?LH(e.content.toLowerCase())?o.push(u):i.push(u):(o.push(u),i.push(u)):zle(u)?i.push(u):o.push(u)}return{keyModifiers:o,nonKeyModifiers:i,eventOptionModifiers:a}},E_=(e,t)=>vr(e)&&e.content.toLowerCase()==="onclick"?_e(t,!0):e.type!==4?ln(["(",e,`) === "onClick" ? "${t}" : (`,e,")"]):e,Kle=(e,t,r)=>PH(e,t,r,n=>{const{modifiers:o}=e;if(!o.length)return n;let{key:i,value:a}=n.props[0];const{keyModifiers:l,nonKeyModifiers:u,eventOptionModifiers:c}=Gle(i,o,r,e.loc);if(u.includes("right")&&(i=E_(i,"onContextmenu")),u.includes("middle")&&(i=E_(i,"onMouseup")),u.length&&(a=Mt(r.helper(kH),[a,JSON.stringify(u)])),l.length&&(!vr(i)||LH(i.content.toLowerCase()))&&(a=Mt(r.helper(MH),[a,JSON.stringify(l)])),c.length){const d=c.map(Qi).join("");i=vr(i)?_e(`${i.content}${d}`,!0):ln(["(",i,`) + "${d}"`])}return{props:[Et(i,a)]}}),Yle=(e,t,r)=>{const{exp:n,loc:o}=e;return n||r.onError(Do(61,o)),{props:[],needRuntime:r.helper(qH)}},Xle=(e,t)=>{e.type===1&&e.tagType===0&&(e.tag==="script"||e.tag==="style")&&t.removeNode()},Qle=[Dle],Zle={cloak:$le,html:Ule,text:Hle,model:Vle,on:Kle,show:Yle};function eue(e,t={}){return jle(e,Me({},Fle,t,{nodeTransforms:[Xle,...Qle,...t.nodeTransforms||[]],directiveTransforms:Me({},Zle,t.directiveTransforms||{}),transformHoist:null}))}/**
|
|
1103
|
-
* vue v3.5.17
|
|
1104
|
-
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
1105
|
-
* @license MIT
|
|
1106
|
-
**/const S_=Object.create(null);function tue(e,t){if(!Te(e))if(e.nodeType)e=e.innerHTML;else return Gt;const r=gne(e,t),n=S_[r];if(n)return n;if(e[0]==="#"){const l=document.querySelector(e);e=l?l.innerHTML:""}const o=Me({hoistStatic:!0,onError:void 0,onWarn:Gt},t);!o.isCustomElement&&typeof customElements<"u"&&(o.isCustomElement=l=>!!customElements.get(l));const{code:i}=eue(e,o),a=new Function("Vue",i)(sse);return a._rc=!0,S_[r]=a}TU(tue);const{sanitizeStoryContextUpdate:rue}=__STORYBOOK_MODULE_PREVIEW_API__;var nue={};Tre(nue,{applyDecorators:()=>BH,argTypesEnhancers:()=>VH,mount:()=>UH,parameters:()=>HH,render:()=>FH,renderToCanvas:()=>DH});var oue=["props","events","slots","exposed","expose"],iue=e=>{if(!ah(e))return null;let t="exposed"in e.__docgenInfo?"vue-component-meta":"vue-docgen-api",r={};return oue.forEach(n=>{lne(e,n).forEach(o=>{let i;if(t==="vue-docgen-api"){let a=o.docgenInfo;i=aue(a,n,o)}else{let a=o.docgenInfo;i=sue(a,n)}!i||r[i.name]||(["events","expose","exposed"].includes(n)&&(i.control={disable:!0}),r[i.name]=i)})}),r},aue=(e,t,r)=>{var a,l,u;let n,o;if(t==="events"&&(n=(a=e.type)==null?void 0:a.names.join(),o={name:"other",value:n??"",required:!1}),t==="slots"){let c=(l=e.bindings)==null?void 0:l.filter(d=>!!d.name).map(d=>{var p;return`${d.name}: ${((p=d.type)==null?void 0:p.name)??"unknown"}`}).join("; ");n=c?`{ ${c} }`:void 0,o={name:"other",value:n??"",required:!1}}if(t==="props"){let c=e;if(n=(u=c.type)==null?void 0:u.name,o=r?oh(r.docgenInfo):{name:"other",value:n},c.type&&"elements"in c.type&&Array.isArray(c.type.elements)&&c.type.elements.length>0){let d=c.type.elements.map(p=>p.name);n==="Array"&&(n=`${d.length===1?d[0]:`(${d.join(" | ")})`}[]`),n==="union"?n=d.join(" | "):n==="intersection"&&(n=d.join(" & "))}}let i="required"in e?e.required??!1:!1;return{name:e.name,description:e.description,type:o?{...o,required:i}:{name:"other",value:n??""},table:{type:n?{summary:n}:void 0,defaultValue:(r==null?void 0:r.propDef.defaultValue)??void 0,jsDocTags:r==null?void 0:r.propDef.jsDocTags,category:t}}},sue=(e,t)=>{if("global"in e&&e.global)return;let r={summary:e.type.replace(" | undefined","")};if(t==="props"){let n=e,o=n.default?{summary:n.default}:void 0;return{name:n.name,description:lue(n.description,n.tags),defaultValue:o,type:rl(n),table:{type:r,defaultValue:o,category:t}}}else return{name:e.name,description:"description"in e?e.description:"",type:{name:"other",value:e.type},table:{type:r,category:t}}},rl=e=>{var i,a;let t=e.schema,r=e.required,n={name:"other",value:e.type,required:r},o=["string","number","function","boolean","symbol"];if(typeof t=="string")return o.includes(t)?{name:t,required:r}:n;switch(t.kind){case"enum":{let l=((i=t.schema)==null?void 0:i.filter(u=>u!=="undefined"))??[];return due(l)?{name:"boolean",required:r}:uue(l)||cue(l)?{name:"enum",value:l.map(u=>u.replace(/"/g,"")),required:r}:l.length===1?rl({schema:l[0],type:e.type,required:r}):(l.length>2&&l.includes("true")&&l.includes("false")&&(l=l.filter(u=>u!=="true"&&u!=="false"),l.push("boolean")),{name:"union",value:l.map(u=>rl(typeof u=="object"?{schema:u,type:u.type,required:!1}:{schema:u,type:u,required:!1})),required:r})}case"array":{let l=((a=t.schema)==null?void 0:a.filter(u=>u!=="undefined"))??[];return l.length===0?n:l.length===1?{name:"array",value:rl({schema:l[0],type:e.type,required:!1}),required:r}:{name:"union",value:l.map(u=>rl(typeof u=="object"?{schema:u,type:u.type,required:!1}:{schema:u,type:u,required:!1})),required:r}}case"object":return{name:"object",value:{},required:r};default:return n}},lue=(e,t)=>!(t!=null&&t.length)||!e?e??"":`${t.map(r=>`@${r.name}: ${r.text}`).join("<br>")}<br><br>${e}`,uue=e=>e.every(t=>typeof t=="string"&&t.startsWith('"')&&t.endsWith('"')),cue=e=>e.every(t=>typeof t=="string"&&t.includes(".")),due=e=>e.length===2&&e.includes("true")&&e.includes("false"),FH=(e,t)=>{let{id:r,component:n}=t;if(!n)throw new Error(`Unable to render story ${r} as the component annotation is missing from the default export`);return()=>ea(n,e,fue(e,t))},pue=async(e,t)=>{globalThis&&globalThis.PLUGINS_SETUP_FUNCTIONS&&await Promise.all([...globalThis.PLUGINS_SETUP_FUNCTIONS].map(r=>r(e,t)))},mp=new Map;async function DH({storyFn:e,forceRemount:t,showMain:r,showException:n,storyContext:o,id:i},a){let l=mp.get(a);if(l&&!t){let c=e(),d=x_(c,o);return hue(l.reactiveArgs,d),()=>{hm(l.vueApp,a)}}l&&t&&hm(l.vueApp,a);let u=ap({setup(){o.args=Fi(o.args);let c=e(),d=x_(c,o),p={vueApp:u,reactiveArgs:Fi(d)};return mp.set(a,p),()=>ea(c)}});return u.config.errorHandler=(c,d,p)=>{var h;(h=window.__STORYBOOK_PREVIEW__)!=null&&h.storyRenders.some(f=>f.id===i&&f.phase==="playing")?setTimeout(()=>{throw c},0):n(c)},await pue(u,o),u.mount(a),r(),()=>{hm(u,a)}}function fue(e,t){let{argTypes:r}=t,n=Object.entries(e).filter(([o])=>{var i,a;return((a=(i=r[o])==null?void 0:i.table)==null?void 0:a.category)==="slots"}).map(([o,i])=>[o,typeof i=="function"?i:()=>i]);return Object.fromEntries(n)}function x_(e,t){return e.props&&un(e)?e.props:t.args}function hue(e,t){if(Object.keys(t).length===0)return;let r=eo(e)?e:Fi(e);Object.keys(r).forEach(n=>{n in t||delete r[n]}),Object.assign(r,t)}function hm(e,t){e==null||e.unmount(),mp.has(t)&&mp.delete(t)}function mue(e){return typeof e=="function"?{render:e,name:e.name}:e}function T_(e,t){let r=e;return r===null?null:typeof r=="function"?r:t?{...mue(r),components:{...r.components||{},story:t}}:{render(){return ea(r)}}}function BH(e,t){return t.reduce((r,n)=>o=>{let i,a=n(l=>{let u=rue(l);return l&&(u.args=Object.assign(o.args,u.args)),i=r({...o,...u}),i},o);return i||(i=r(o)),a===i?i:T_(a,()=>ea(i))},r=>T_(e(r)))}var UH=e=>async(t,r)=>(t&&(e.originalStoryFn=()=>()=>ea(t,r==null?void 0:r.props,r==null?void 0:r.slots)),await e.renderToCanvas(),e.canvas),HH={renderer:"vue3",docs:{story:{inline:!0},extractArgTypes:iue,extractComponentDescription:zB}},VH=[une];const yue=Object.freeze(Object.defineProperty({__proto__:null,applyDecorators:BH,argTypesEnhancers:VH,mount:UH,parameters:HH,render:FH,renderToCanvas:DH},Symbol.toStringTag,{value:"Module"})),{useEffect:gue,emitTransformCode:bue}=__STORYBOOK_MODULE_PREVIEW_API__;var Bc=Symbol("DEEP_ACCESS_SYMBOL"),vue=e=>!!(e&&typeof e=="object"&&Bc in e),wue=(e,t)=>{let r=e();return gue(()=>{let n=Eue(t);Sue(t)||bue(n,t)}),r},Eue=e=>{let t={imports:{},scriptVariables:{}},{displayName:r,slotNames:n,eventNames:o}=xue(e.component),i=JH(e.args,n,o,t),a=zH(e.args,n,t),l=r||e.title.split("/").at(-1),u=a?`<${l} ${i}> ${a} </${l}>`:`<${l} ${i} />`,c=Object.entries(t.scriptVariables).map(([h,f])=>`const ${h} = ${f};`).join(`
|
|
1107
|
-
|
|
1108
|
-
`),d=Object.entries(t.imports).map(([h,f])=>`import { ${Array.from(f.values()).sort().join(", ")} } from "${h}";`).join(`
|
|
1109
|
-
`),p=`<template>
|
|
1110
|
-
${u}
|
|
1111
|
-
</template>`;return!d&&!c?p:`<script lang="ts" setup>
|
|
1112
|
-
${d?`${d}
|
|
1113
|
-
|
|
1114
|
-
${c}`:c}
|
|
1115
|
-
<\/script>
|
|
1116
|
-
|
|
1117
|
-
${p}`},Sue=e=>{var r;let t=(r=e==null?void 0:e.parameters.docs)==null?void 0:r.source;return(t==null?void 0:t.type)===Ag.DYNAMIC?!1:!(e!=null&&e.parameters.__isArgsStory)||(t==null?void 0:t.code)||(t==null?void 0:t.type)===Ag.CODE},xue=e=>{if(!e||!("__docgenInfo"in e)||!e.__docgenInfo||typeof e.__docgenInfo!="object")return{displayName:e==null?void 0:e.__name,eventNames:[],slotNames:[]};let t=e.__docgenInfo,r="displayName"in t&&typeof t.displayName=="string"?t.displayName:void 0,n=o=>!(o in t)||!Array.isArray(t[o])?[]:t[o].map(i=>i&&typeof i=="object"&&"name"in i?i.name:void 0).filter(i=>typeof i=="string");return{displayName:r||e.__name,slotNames:n("slots").sort((o,i)=>o==="default"?-1:i==="default"?1:o.localeCompare(i)),eventNames:n("events")}},JH=(e,t,r,n)=>{let o=[];Object.entries(e).forEach(([a,l])=>{if(!t.includes(a)&&l!=null)switch(vue(l)&&(l=l.toString()),typeof l){case"string":if(l==="")return;o.push({name:a,value:l.includes('"')?`'${l}'`:`"${l}"`,templateFn:(u,c)=>`${u}=${c}`});break;case"number":o.push({name:a,value:l.toString(),templateFn:(u,c)=>`:${u}="${c}"`});break;case"bigint":o.push({name:a,value:`BigInt(${l.toString()})`,templateFn:(u,c)=>`:${u}="${c}"`});break;case"boolean":o.push({name:a,value:l?"true":"false",templateFn:(u,c)=>c==="true"?u:`:${u}="false"`});break;case"symbol":o.push({name:a,value:`Symbol(${l.description?`'${l.description}'`:""})`,templateFn:(u,c)=>`:${u}="${c}"`});break;case"object":{o.push({name:a,value:Pue(l??{}),templateFn:void 0});break}}}),o.sort((a,l)=>a.name.localeCompare(l.name));let i=[];return o.forEach(a=>{let l=r.includes(`update:${a.name}`);if(!l&&a.templateFn){i.push(a.templateFn(a.name,a.value));return}let u=a.name;if(u in n.scriptVariables){let c=1;do u=`${a.name}${c}`,c++;while(u in n.scriptVariables)}if(!l){n.scriptVariables[u]=a.value,i.push(`:${a.name}="${u}"`);return}n.scriptVariables[u]=`ref(${a.value})`,n.imports.vue||(n.imports.vue=new Set),n.imports.vue.add("ref"),a.name==="modelValue"?i.push(`v-model="${u}"`):i.push(`v-model:${a.name}="${u}"`)}),i.join(" ")},zH=(e,t,r)=>{let n=[];return t.forEach(o=>{let i=e[o];if(!i)return;let a=ZS([i],r);if(!a)return;let l=typeof i=="function"?WH(i):[];o==="default"&&!l.length?n.push(a):n.push(`<template ${_ue(o,l)}>${a}</template>`)}),n.join(`
|
|
1118
|
-
|
|
1119
|
-
`)},ZS=(e,t)=>{let r=[],n=o=>{if(un(o))return Tue(o,t);switch(typeof o){case"string":case"number":case"boolean":return o.toString();case"object":return o===null?"":Array.isArray(o)?o.map(n).filter(i=>i!=="").join(`
|
|
1120
|
-
`):JSON.stringify(o);case"function":{let i=WH(o).filter(u=>!["{","}"].includes(u)),a={};i.forEach(u=>{a[u]=new Proxy({[Bc]:!0},{get:(c,d)=>d===Bc?c[Bc]:[Symbol.toPrimitive,Symbol.toStringTag,"toString"].includes(d)?()=>`{{ ${u} }}`:d==="v-bind"?`${u}`:`{{ ${u}.${d.toString()} }}`,ownKeys:()=>["v-bind"],getOwnPropertyDescriptor:()=>({configurable:!0,enumerable:!0,value:u,writable:!0})})});let l=o(a);return ZS([l],t).replaceAll(/ (\S+)="{{ (\S+) }}"/g,' :$1="$2"')}case"bigint":return`{{ BigInt(${o.toString()}) }}`;default:return""}};return e.forEach(o=>{let i=n(o);i!==""&&r.push(i)}),r.join(`
|
|
1121
|
-
`)},Tue=(e,t)=>{let r=Cue(e),n="";typeof e.children=="string"?n=e.children:Array.isArray(e.children)?n=ZS(e.children,t):e.children&&(n=zH(e.children,Object.keys(e.children).filter(i=>i!=="$stable"),t));let o=e.props?JH(e.props,[],[],t):"";return n?`<${r}${o?` ${o}`:""}>${n}</${r}>`:`<${r}${o?` ${o}`:""} />`},Cue=e=>{if(typeof e.type=="string")return e.type;if(typeof e.type=="object"){if("name"in e.type&&e.type.name)return e.type.name;if("__name"in e.type&&e.type.__name)return e.type.__name}return"component"},WH=e=>{let t=/((\/\/.*$)|(\/\*[\s\S]*?\*\/))/gm,r=/([^\s,]+)/g,n=e.toString().replace(t,""),o=n.slice(n.indexOf("(")+1,n.indexOf(")")).match(r);return o?o.flatMap(i=>{if(["{","}"].includes(i))return i;let a=i.split(":")[0].trim();return a.startsWith("{")?["{",a.substring(1)]:i.endsWith("}")&&!a.endsWith("}")?[a,"}"]:a}):[]},_ue=(e,t)=>t.length?t.length===1?`#${e}="${t[0]}"`:`#${e}="{ ${t.filter(r=>!["{","}"].includes(r)).join(", ")} }"`:`#${e}`,Pue=e=>Object.values(e).every(t=>t==null||typeof t!="object")?JSON.stringify(e):JSON.stringify(e,null,2),Oue=[wue];const Aue=Object.freeze(Object.defineProperty({__proto__:null,decorators:Oue},Symbol.toStringTag,{value:"Module"}));var Rue=Object.entries(globalThis.TAGS_OPTIONS??{}).reduce((e,t)=>{let[r,n]=t;return n.excludeFromDocsStories&&(e[r]=!0),e},{}),Nue={docs:{renderer:async()=>{let{DocsRenderer:e}=await Ia(()=>import("./DocsRenderer-PQXLIZUC-B03cbZIO.js").then(t=>t.D),__vite__mapDeps([7,8]));return new e},stories:{filter:e=>{var t;return(e.tags||[]).filter(r=>Rue[r]).length===0&&!((t=e.parameters.docs)!=null&&t.disable)}}}};const Iue=Object.freeze(Object.defineProperty({__proto__:null,parameters:Nue},Symbol.toStringTag,{value:"Module"})),{expect:C_}=__STORYBOOK_MODULE_TEST__,{ElementA11yParameterError:kue}=__STORYBOOK_MODULE_CORE_EVENTS_PREVIEW_ERRORS__,{global:GH}=__STORYBOOK_MODULE_GLOBAL__,{addons:Mue,waitForAnimations:que}=__STORYBOOK_MODULE_PREVIEW_API__;var ta="storybook/a11y",jue=`${ta}/panel`,$ue=`${ta}/result`,Lue=`${ta}/request`,Fue=`${ta}/running`,Due=`${ta}/error`,Bue=`${ta}/manual`,Uue=`${ta}/select`,mm={RESULT:$ue,REQUEST:Lue,RUNNING:Fue,ERROR:Due,MANUAL:Bue,SELECT:Uue},{document:Hue}=GH,Vue=(e,t)=>{let r=Hue.location.pathname.replace(/iframe\.html$/,""),n={...e};return["incomplete","passes","violations"].forEach(o=>{Array.isArray(e[o])&&(n[o]=e[o].map(i=>({...i,nodes:i.nodes.map((a,l)=>{let u=`${o}.${i.id}.${l+1}`,c=`${r}?path=/story/${t}&addonPanel=${jue}&a11ySelection=${u}`;return{id:u,...a,linkPath:c}})})))}),n},{document:la}=GH,ym=Mue.getChannel(),KH={config:{},options:{}},Jue=["region"],ib=[],ab=!1,YH=async()=>{if(ib.length===0){ab=!1;return}ab=!0;let e=ib.shift();e&&await e(),YH()},XH=async(e=KH,t)=>{var l;let r=((l=await Ia(async()=>{const{default:u}=await import("./axe-CGjeO0Ii.js").then(c=>c.a);return{default:u}},__vite__mapDeps([9,8])))==null?void 0:l.default)||globalThis.axe,{config:n={},options:o={}}=e;if(e.element)throw new kue;let i={include:la==null?void 0:la.body,exclude:[".sb-wrapper","#storybook-docs","#storybook-highlights-root"]};if(e.context){let u=typeof e.context=="object"&&"include"in e.context&&e.context.include!==void 0,c=typeof e.context=="object"&&"exclude"in e.context&&e.context.exclude!==void 0;u?i.include=e.context.include:!u&&!c&&(i.include=e.context),c&&(i.exclude=i.exclude.concat(e.context.exclude))}r.reset();let a={...n,rules:[...Jue.map(u=>({id:u,enabled:!1})),...(n==null?void 0:n.rules)??[]]};return r.configure(a),new Promise((u,c)=>{let d=la==null?void 0:la.getElementById("storybook-highlights-root");d&&(d.style.display="none");let p=async()=>{try{let h=await r.run(i,o),f=Vue(h,t);u(f)}catch(h){c(h)}};ib.push(p),ab||YH(),d&&(d.style.display="")})};ym.on(mm.MANUAL,async(e,t=KH)=>{try{await que();let r=await XH(t,e),n=JSON.parse(JSON.stringify(r));ym.emit(mm.RESULT,n,e)}catch(r){ym.emit(mm.ERROR,r)}});function __(){try{return!1}catch{return!1}}var P_=!1,zue=async({id:e,reporting:t,parameters:r,globals:n,viewMode:o})=>{let i=r.a11y,a=n.a11y,l=(i==null?void 0:i.disable)!==!0&&(i==null?void 0:i.test)!=="off"&&(a==null?void 0:a.manual)!==!0,u=()=>{switch(i==null?void 0:i.test){case"todo":return"warning";case"error":default:return"failed"}};if(l&&o==="story")try{let c=await XH(i,e);if(c){let d=((c==null?void 0:c.violations.length)??0)>0;if(t.addReport({type:"a11y",version:1,result:c,status:d?u():"passed"}),__()&&d&&u()==="failed"){if(!P_){let{toHaveNoViolations:p}=await Ia(async()=>{const{toHaveNoViolations:h}=await import("./matchers-7Z3WT2CE-T3xScrR7.js");return{toHaveNoViolations:h}},[]);C_.extend({toHaveNoViolations:p}),P_=!0}C_(c).toHaveNoViolations()}}}catch(c){if(t.addReport({type:"a11y",version:1,result:{error:c},status:"failed"}),__())throw c}},Wue={a11y:{manual:!1}},Gue={a11y:{test:"todo"}};const Kue=Object.freeze(Object.defineProperty({__proto__:null,afterEach:zue,initialGlobals:Wue,parameters:Gue},Symbol.toStringTag,{value:"Module"})),Yue={parameters:{controls:{matchers:{color:/(background|color)$/i,date:/Date$/i}}}},Xue=Object.freeze(Object.defineProperty({__proto__:null,default:Yue},Symbol.toStringTag,{value:"Module"}));J0();const{composeConfigs:Que,PreviewWeb:Zue}=__STORYBOOK_MODULE_PREVIEW_API__,ece=(e=[])=>{const t=[e[0]??yue,e[1]??Aue,e[2]??Iue,e[3]??Kue,e[4]??Xue];return Que(t)};window.__STORYBOOK_PREVIEW__=window.__STORYBOOK_PREVIEW__||new Zue(Sre,ece);window.__STORYBOOK_STORY_STORE__=window.__STORYBOOK_STORY_STORE__||window.__STORYBOOK_PREVIEW__.storyStore;export{Ut as F,Ag as T,Ia as _,Xie as a,st as b,PU as c,bS as d,OS as e,tae as f,Tde as h,Fu as n,au as o,oie as r,yh as u,mS as w};
|